@progress/telerik-jquery-report-viewer
Version:
Progress® Telerik® Report Viewer for jQuery
714 lines • 1.5 MB
JavaScript
/*!
* Copyright 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
!function(e) {
"function" == typeof define && define.amd ? define(["jquery"], e) : e();
}(function() {
var e = { name: "@progress/kendo-ui", productName: "Kendo UI", productCodes: ["KENDOUICOMPLETE", "KENDOUI", "KENDOUI", "KENDOUICOMPLETE"], publishDate: 0, version: "2022.3.2112".replace(/^\s+|\s+$/g, ""), licensingDocsUrl: "https://docs.telerik.com/kendo-ui/intro/installation/using-license-code" };
!function(t2, n2, i2) {
var a2, r2 = n2.kendo = n2.kendo || { cultures: {} }, o2 = t2.extend, s2 = t2.each, l2 = Array.isArray, d2 = t2.noop, u2 = Math, c2 = n2.JSON || {}, p2 = {}, h2 = /%/, f2 = /\{(\d+)(:[^\}]+)?\}/g, m2 = /(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i, g2 = /^(\+|-?)\d+(\.?)\d*$/, v2 = "function", _2 = "string", b2 = "number", k2 = "object", w = "null", y = "boolean", x = "undefined", C = "aria-labelledby", T = "aria-label", S = {}, I = {}, D = [].slice, E = ["themeColor", "fillMode", "shape", "size", "rounded", "positionMode"], A = function() {
var e2, t3, n3, a3, r3, o3, s3 = arguments, l3 = arguments[0] || {}, d3 = 1, u3 = arguments.length, c3 = false;
for ("boolean" == typeof l3 && (c3 = l3, l3 = arguments[d3] || {}, d3++), "object" != typeof l3 && "function" != typeof l3 && (l3 = {}), d3 === u3 && (l3 = this, d3--); d3 < u3; d3++)
if (null != (r3 = s3[d3]))
for (a3 in r3)
"filters" != a3 && "concat" != a3 && ":" != a3 && (e2 = l3[a3], l3 !== (n3 = r3[a3]) && (c3 && n3 && (jQuery.isPlainObject(n3) || (t3 = Array.isArray(n3))) ? (t3 ? (t3 = false, o3 = e2 && Array.isArray(e2) ? e2 : []) : o3 = e2 && jQuery.isPlainObject(e2) ? e2 : {}, l3[a3] = A(c3, o3, n3)) : n3 !== i2 && (l3[a3] = n3)));
return l3;
};
function F() {
}
r2.version = "2022.3.2112".replace(/^\s+|\s+$/g, ""), F.extend = function(e2) {
var t3, n3, i3 = function() {
}, a3 = this, r3 = e2 && e2.init ? e2.init : function() {
a3.apply(this, arguments);
};
for (t3 in i3.prototype = a3.prototype, n3 = r3.fn = r3.prototype = new i3(), e2)
null != e2[t3] && e2[t3].constructor === Object ? n3[t3] = o2(true, {}, i3.prototype[t3], e2[t3]) : n3[t3] = e2[t3];
return n3.constructor = r3, r3.extend = a3.extend, r3;
}, F.prototype._initOptions = function(e2) {
this.options = G({}, this.options, e2);
};
var z = r2.isFunction = function(e2) {
return "function" == typeof e2;
}, P = function() {
this._defaultPrevented = true;
}, H = function() {
return true === this._defaultPrevented;
}, N = F.extend({ init: function() {
this._events = {};
}, bind: function(e2, t3, n3) {
var a3, r3, o3, s3, l3 = this, d3 = typeof e2 === _2 ? [e2] : e2, u3 = typeof t3 === v2;
if (t3 === i2) {
for (a3 in e2)
l3.bind(a3, e2[a3]);
return l3;
}
for (a3 = 0, r3 = d3.length; a3 < r3; a3++)
e2 = d3[a3], (s3 = u3 ? t3 : t3[e2]) && (n3 && (o3 = s3, s3 = function() {
l3.unbind(e2, s3), o3.apply(l3, arguments);
}, s3.original = o3), (l3._events[e2] = l3._events[e2] || []).push(s3));
return l3;
}, one: function(e2, t3) {
return this.bind(e2, t3, true);
}, first: function(e2, t3) {
var n3, i3, a3, r3 = this, o3 = typeof e2 === _2 ? [e2] : e2, s3 = typeof t3 === v2;
for (n3 = 0, i3 = o3.length; n3 < i3; n3++)
e2 = o3[n3], (a3 = s3 ? t3 : t3[e2]) && (r3._events[e2] = r3._events[e2] || []).unshift(a3);
return r3;
}, trigger: function(e2, t3) {
var n3, i3, a3 = this, r3 = a3._events[e2];
if (r3) {
for ((t3 = t3 || {}).sender = a3, t3._defaultPrevented = false, t3.preventDefault = P, t3.isDefaultPrevented = H, n3 = 0, i3 = (r3 = r3.slice()).length; n3 < i3; n3++)
r3[n3].call(a3, t3);
return true === t3._defaultPrevented;
}
return false;
}, unbind: function(e2, t3) {
var n3, a3 = this, r3 = a3._events[e2];
if (e2 === i2)
a3._events = {};
else if (r3)
if (t3)
for (n3 = r3.length - 1; n3 >= 0; n3--)
r3[n3] !== t3 && r3[n3].original !== t3 || r3.splice(n3, 1);
else
a3._events[e2] = [];
return a3;
} });
function R(e2, t3) {
if (t3)
return "'" + e2.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t") + "'";
var n3 = e2.charAt(0), i3 = e2.substring(1);
return "=" === n3 ? "+(" + i3 + ")+" : ":" === n3 ? "+$kendoHtmlEncode(" + i3 + ")+" : ";" + e2 + ";$kendoOutput+=";
}
var O = /^\w+/, M = /\$\{([^}]*)\}/g, B = /\\\}/g, L = /__CURLY__/g, V = /\\#/g, U = /__SHARP__/g, W = ["", "0", "00", "000", "0000"];
function j(e2, t3, n3) {
return (n3 = (t3 = t3 || 2) - (e2 += "").length) ? W[t3].substring(0, n3) + e2 : e2;
}
function q(e2, t3) {
var n3 = r2._outerWidth, i3 = r2._outerHeight, a3 = e2.parent(".k-animation-container"), o3 = a3[0].style;
a3.is(":hidden") && a3.css({ display: "", position: "" }), h2.test(o3.width) || h2.test(o3.height) || a3.css({ width: t3 ? n3(e2) + 1 : n3(e2), height: i3(e2), boxSizing: "content-box", mozBoxSizing: "content-box", webkitBoxSizing: "content-box" });
}
function G(e2) {
var t3 = arguments, n3 = 1, i3 = arguments.length;
for (n3 = 1; n3 < i3; n3++)
K(e2, t3[n3]);
return e2;
}
function K(e2, t3) {
var i3, a3, o3, s3, l3, d3 = r2.data.ObservableArray, u3 = r2.data.LazyObservableArray, c3 = r2.data.DataSource, p3 = r2.data.HierarchicalDataSource;
for (i3 in t3)
!(s3 = (o3 = typeof (a3 = t3[i3])) === k2 && null !== a3 ? a3.constructor : null) || s3 === Array || s3 === d3 || s3 === u3 || s3 === c3 || s3 === p3 || s3 === RegExp || r2.isFunction(n2.ArrayBuffer) && s3 === ArrayBuffer || a3 instanceof HTMLElement ? o3 !== x && (e2[i3] = a3) : a3 instanceof Date ? e2[i3] = new Date(a3.getTime()) : z(a3.clone) ? e2[i3] = a3.clone() : (l3 = e2[i3], e2[i3] = typeof l3 === k2 && l3 || {}, K(e2[i3], a3));
return e2;
}
function $(e2, t3, n3) {
for (var a3 in t3)
if (t3.hasOwnProperty(a3) && t3[a3].test(e2))
return a3;
return n3 !== i2 ? n3 : e2;
}
function Y(e2) {
return e2.replace(/\-(\w)/g, function(e3, t3) {
return t3.toUpperCase();
});
}
function Q(e2, n3) {
var i3, a3 = {};
return document.defaultView && document.defaultView.getComputedStyle ? (i3 = document.defaultView.getComputedStyle(e2, ""), n3 && t2.each(n3, function(e3, t3) {
a3[t3] = i3.getPropertyValue(t3);
})) : (i3 = e2.currentStyle, n3 && t2.each(n3, function(e3, t3) {
a3[t3] = i3[Y(t3)];
})), r2.size(a3) || (a3 = i3), a3;
}
a2 = { paramName: "data", useWithBlock: true, render: function(e2, t3) {
var n3, i3, a3 = "";
for (n3 = 0, i3 = t3.length; n3 < i3; n3++)
a3 += e2(t3[n3]);
return a3;
}, compile: function(e2, t3) {
var n3, i3, a3, s3 = o2({}, this, t3), l3 = s3.paramName, d3 = l3.match(O)[0], u3 = s3.useWithBlock, c3 = "var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";
if (z(e2))
return e2;
for (c3 += u3 ? "with(" + l3 + "){" : "", c3 += "$kendoOutput=", i3 = e2.replace(B, "__CURLY__").replace(M, "#=$kendoHtmlEncode($1)#").replace(L, "}").replace(V, "__SHARP__").split("#"), a3 = 0; a3 < i3.length; a3++)
c3 += R(i3[a3], a3 % 2 == 0);
c3 += u3 ? ";}" : ";", c3 = (c3 += "return $kendoOutput;").replace(U, "#");
try {
return (n3 = new Function(d3, c3))._slotCount = Math.floor(i3.length / 2), n3;
} catch (t4) {
throw new Error(r2.format("Invalid template:'{0}' Generated code:'{1}'", e2, c3));
}
} }, function() {
var e2, t3, n3, i3 = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, a3 = { "\b": "\\b", " ": "\\t", "\n": "\\n", "\f": "\\f", "\r": "\\r", '"': '\\"', "\\": "\\\\" }, r3 = {}.toString;
function o3(e3) {
return i3.lastIndex = 0, i3.test(e3) ? '"' + e3.replace(i3, function(e4) {
var t4 = a3[e4];
return typeof t4 === _2 ? t4 : "\\u" + ("0000" + e4.charCodeAt(0).toString(16)).slice(-4);
}) + '"' : '"' + e3 + '"';
}
function s3(i4, a4) {
var l3, d3, u3, c3, p3, h3, f3 = e2, m3 = a4[i4];
if (m3 && typeof m3 === k2 && typeof m3.toJSON === v2 && (m3 = m3.toJSON(i4)), typeof n3 === v2 && (m3 = n3.call(a4, i4, m3)), (h3 = typeof m3) === _2)
return o3(m3);
if (h3 === b2)
return isFinite(m3) ? String(m3) : w;
if (h3 === y || h3 === w)
return String(m3);
if (h3 === k2) {
if (!m3)
return w;
if (e2 += t3, p3 = [], "[object Array]" === r3.apply(m3)) {
for (c3 = m3.length, l3 = 0; l3 < c3; l3++)
p3[l3] = s3(l3, m3) || w;
return u3 = 0 === p3.length ? "[]" : e2 ? "[\n" + e2 + p3.join(",\n" + e2) + "\n" + f3 + "]" : "[" + p3.join(",") + "]", e2 = f3, u3;
}
if (n3 && typeof n3 === k2)
for (c3 = n3.length, l3 = 0; l3 < c3; l3++)
typeof n3[l3] === _2 && (u3 = s3(d3 = n3[l3], m3)) && p3.push(o3(d3) + (e2 ? ": " : ":") + u3);
else
for (d3 in m3)
Object.hasOwnProperty.call(m3, d3) && (u3 = s3(d3, m3)) && p3.push(o3(d3) + (e2 ? ": " : ":") + u3);
return u3 = 0 === p3.length ? "{}" : e2 ? "{\n" + e2 + p3.join(",\n" + e2) + "\n" + f3 + "}" : "{" + p3.join(",") + "}", e2 = f3, u3;
}
}
typeof Date.prototype.toJSON !== v2 && (Date.prototype.toJSON = function() {
var e3 = this;
return isFinite(e3.valueOf()) ? j(e3.getUTCFullYear(), 4) + "-" + j(e3.getUTCMonth() + 1) + "-" + j(e3.getUTCDate()) + "T" + j(e3.getUTCHours()) + ":" + j(e3.getUTCMinutes()) + ":" + j(e3.getUTCSeconds()) + "Z" : null;
}, String.prototype.toJSON = Number.prototype.toJSON = Boolean.prototype.toJSON = function() {
return this.valueOf();
}), typeof c2.stringify !== v2 && (c2.stringify = function(i4, a4, r4) {
var o4;
if (e2 = "", t3 = "", typeof r4 === b2)
for (o4 = 0; o4 < r4; o4 += 1)
t3 += " ";
else
typeof r4 === _2 && (t3 = r4);
if (n3 = a4, a4 && typeof a4 !== v2 && (typeof a4 !== k2 || typeof a4.length !== b2))
throw new Error("JSON.stringify");
return s3("", { "": i4 });
});
}(), function() {
var e2 = /dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|zzz|zz|z|"[^"]*"|'[^']*'/g, n3 = /^(n|c|p|e)(\d*)$/i, a3 = /(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g, o3 = /\,/g, s3 = "", l3 = ".", d3 = "#", c3 = "0", p3 = "en-US", h3 = {}.toString;
function m3(e3) {
if (e3) {
if (e3.numberFormat)
return e3;
if (typeof e3 === _2) {
var t3 = r2.cultures;
return t3[e3] || t3[e3.split("-")[0]] || null;
}
return null;
}
return null;
}
function g3(e3) {
return e3 && (e3 = m3(e3)), e3 || r2.cultures.current;
}
r2.cultures["en-US"] = { name: p3, numberFormat: { pattern: ["-n"], decimals: 2, ",": ",", ".": ".", groupSize: [3], percent: { pattern: ["-n %", "n %"], decimals: 2, ",": ",", ".": ".", groupSize: [3], symbol: "%" }, currency: { name: "US Dollar", abbr: "USD", pattern: ["($n)", "$n"], decimals: 2, ",": ",", ".": ".", groupSize: [3], symbol: "$" } }, calendars: { standard: { days: { names: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], namesAbbr: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], namesShort: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"] }, months: { names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], namesAbbr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] }, AM: ["AM", "am", "AM"], PM: ["PM", "pm", "PM"], patterns: { d: "M/d/yyyy", D: "dddd, MMMM dd, yyyy", F: "dddd, MMMM dd, yyyy h:mm:ss tt", g: "M/d/yyyy h:mm tt", G: "M/d/yyyy h:mm:ss tt", m: "MMMM dd", M: "MMMM dd", s: "yyyy'-'MM'-'ddTHH':'mm':'ss", t: "h:mm tt", T: "h:mm:ss tt", u: "yyyy'-'MM'-'dd HH':'mm':'ss'Z'", y: "MMMM, yyyy", Y: "MMMM, yyyy" }, "/": "/", ":": ":", firstDay: 0, twoDigitYearMax: 2029 } } }, r2.culture = function(e3) {
var t3, n4 = r2.cultures;
if (e3 === i2)
return n4.current;
(t3 = m3(e3) || n4[p3]).calendar = t3.calendars.standard, n4.current = t3;
}, r2.findCulture = m3, r2.getCulture = g3, r2.culture(p3);
var v3 = function(e3, t3, n4, a4) {
var r3, o4, s4, l4, d4, u3, c4 = e3.indexOf(a4["."]), p4 = a4.groupSize.slice(), h4 = p4.shift();
if (n4 = -1 !== c4 ? c4 : n4 + 1, (o4 = (r3 = e3.substring(t3, n4)).length) >= h4) {
for (s4 = o4, l4 = []; s4 > -1; )
if ((d4 = r3.substring(s4 - h4, s4)) && l4.push(d4), s4 -= h4, 0 === (h4 = (u3 = p4.shift()) !== i2 ? u3 : h4)) {
s4 > 0 && l4.push(r3.substring(0, s4));
break;
}
r3 = l4.reverse().join(a4[","]), e3 = e3.substring(0, t3) + r3 + e3.substring(n4);
}
return e3;
}, k3 = function(e3, t3, n4) {
return t3 = t3 || 0, e3 = e3.toString().split("e"), e3 = Math.round(+(e3[0] + "e" + (e3[1] ? +e3[1] + t3 : t3))), n4 && (e3 = -e3), (e3 = +((e3 = e3.toString().split("e"))[0] + "e" + (e3[1] ? +e3[1] - t3 : -t3))).toFixed(Math.min(t3, 20));
}, w2 = function(t3, r3, p4) {
if (r3) {
if ("[object Date]" === h3.call(t3))
return function(t4, n4, a4) {
var r4 = (a4 = g3(a4)).calendars.standard, o4 = r4.days, s4 = r4.months;
return (n4 = r4.patterns[n4] || n4).replace(e2, function(e3) {
var n5, a5, l4;
return "d" === e3 ? a5 = t4.getDate() : "dd" === e3 ? a5 = j(t4.getDate()) : "ddd" === e3 ? a5 = o4.namesAbbr[t4.getDay()] : "dddd" === e3 ? a5 = o4.names[t4.getDay()] : "M" === e3 ? a5 = t4.getMonth() + 1 : "MM" === e3 ? a5 = j(t4.getMonth() + 1) : "MMM" === e3 ? a5 = s4.namesAbbr[t4.getMonth()] : "MMMM" === e3 ? a5 = s4.names[t4.getMonth()] : "yy" === e3 ? a5 = j(t4.getFullYear() % 100) : "yyyy" === e3 ? a5 = j(t4.getFullYear(), 4) : "h" === e3 ? a5 = t4.getHours() % 12 || 12 : "hh" === e3 ? a5 = j(t4.getHours() % 12 || 12) : "H" === e3 ? a5 = t4.getHours() : "HH" === e3 ? a5 = j(t4.getHours()) : "m" === e3 ? a5 = t4.getMinutes() : "mm" === e3 ? a5 = j(t4.getMinutes()) : "s" === e3 ? a5 = t4.getSeconds() : "ss" === e3 ? a5 = j(t4.getSeconds()) : "f" === e3 ? a5 = u2.floor(t4.getMilliseconds() / 100) : "ff" === e3 ? ((a5 = t4.getMilliseconds()) > 99 && (a5 = u2.floor(a5 / 10)), a5 = j(a5)) : "fff" === e3 ? a5 = j(t4.getMilliseconds(), 3) : "tt" === e3 ? a5 = t4.getHours() < 12 ? r4.AM[0] : r4.PM[0] : "zzz" === e3 ? (l4 = (n5 = t4.getTimezoneOffset()) < 0, a5 = u2.abs(n5 / 60).toString().split(".")[0], n5 = u2.abs(n5) - 60 * a5, a5 = (l4 ? "+" : "-") + j(a5), a5 += ":" + j(n5)) : "zz" !== e3 && "z" !== e3 || (l4 = (a5 = t4.getTimezoneOffset() / 60) < 0, a5 = u2.abs(a5).toString().split(".")[0], a5 = (l4 ? "+" : "-") + ("zz" === e3 ? j(a5) : a5)), a5 !== i2 ? a5 : e3.slice(1, e3.length - 1);
});
}(t3, r3, p4);
if (typeof t3 === b2)
return function(e3, t4, r4) {
var u3, p5, h4, f3, m4, _3, b3, w3, y2, x2, C2, T2, S2, I2, D2, E2, A2, F2, z2, P2, H2 = (r4 = g3(r4)).numberFormat, N2 = H2["."], R2 = H2.decimals, O2 = H2.pattern[0], M2 = [], B2 = e3 < 0, L2 = s3, V2 = s3, U2 = -1;
if (e3 === i2)
return s3;
if (!isFinite(e3))
return e3;
if (!t4)
return r4.name.length ? e3.toLocaleString() : e3.toString();
if (m4 = n3.exec(t4)) {
if (h4 = "p" === (t4 = m4[1].toLowerCase()), ((p5 = "c" === t4) || h4) && (N2 = (H2 = p5 ? H2.currency : H2.percent)["."], R2 = H2.decimals, u3 = H2.symbol, O2 = H2.pattern[B2 ? 0 : 1]), (f3 = m4[2]) && (R2 = +f3), "e" === t4)
return (f3 ? e3.toExponential(R2) : e3.toExponential()).replace(l3, H2["."]);
if (h4 && (e3 *= 100), B2 = (e3 = k3(e3, R2)) < 0, _3 = (e3 = e3.split(l3))[0], b3 = e3[1], B2 && (_3 = _3.substring(1)), V2 = v3(_3, 0, _3.length, H2), b3 && (V2 += N2 + b3), "n" === t4 && !B2)
return V2;
for (e3 = s3, y2 = 0, x2 = O2.length; y2 < x2; y2++)
e3 += "n" === (C2 = O2.charAt(y2)) ? V2 : "$" === C2 || "%" === C2 ? u3 : C2;
return e3;
}
if ((t4.indexOf("'") > -1 || t4.indexOf('"') > -1 || t4.indexOf("\\") > -1) && (t4 = t4.replace(a3, function(e4) {
var t5 = e4.charAt(0).replace("\\", ""), n4 = e4.slice(1).replace(t5, "");
return M2.push(n4), "??";
})), t4 = t4.split(";"), B2 && t4[1])
t4 = t4[1], S2 = true;
else if (0 === e3 && t4[2]) {
if (-1 == (t4 = t4[2]).indexOf(d3) && -1 == t4.indexOf(c3))
return t4;
} else
t4 = t4[0];
if ((h4 = -1 != t4.indexOf("%")) && (e3 *= 100), (p5 = -1 != (z2 = t4.indexOf("$"))) && "\\" === t4[z2 - 1] && (t4 = t4.split("\\").join(""), p5 = false), (p5 || h4) && (N2 = (H2 = p5 ? H2.currency : H2.percent)["."], R2 = H2.decimals, u3 = H2.symbol), (T2 = t4.indexOf(",") > -1) && (t4 = t4.replace(o3, s3)), I2 = t4.indexOf(l3), x2 = t4.length, -1 != I2) {
if (b3 = (b3 = (b3 = e3.toString().split("e"))[1] ? k3(e3, Math.abs(b3[1])) : b3[0]).split(l3)[1] || s3, A2 = (E2 = t4.lastIndexOf(c3) - I2) > -1, F2 = (D2 = t4.lastIndexOf(d3) - I2) > -1, y2 = b3.length, A2 || F2 || (x2 = (t4 = t4.substring(0, I2) + t4.substring(I2 + 1)).length, I2 = -1, y2 = 0), A2 && E2 > D2)
y2 = E2;
else if (D2 > E2)
if (F2 && y2 > D2) {
for (var W2 = k3(e3, D2, B2); W2.charAt(W2.length - 1) === c3 && D2 > 0 && D2 > E2; )
D2--, W2 = k3(e3, D2, B2);
y2 = D2;
} else
A2 && y2 < E2 && (y2 = E2);
}
if (e3 = k3(e3, y2, B2), D2 = t4.indexOf(d3), E2 = t4.indexOf(c3), U2 = -1 == D2 && -1 != E2 ? E2 : -1 != D2 && -1 == E2 ? D2 : D2 > E2 ? E2 : D2, D2 = t4.lastIndexOf(d3), E2 = t4.lastIndexOf(c3), P2 = -1 == D2 && -1 != E2 ? E2 : -1 != D2 && -1 == E2 || D2 > E2 ? D2 : E2, U2 == x2 && (P2 = U2), -1 != U2) {
for (_3 = (V2 = e3.toString().split(l3))[0], b3 = V2[1] || s3, w3 = _3.length, b3.length, B2 && -1 * e3 >= 0 && (B2 = false), e3 = t4.substring(0, U2), B2 && !S2 && (e3 += "-"), y2 = U2; y2 < x2; y2++) {
if (C2 = t4.charAt(y2), -1 == I2) {
if (P2 - y2 < w3) {
e3 += _3;
break;
}
} else if (-1 != E2 && E2 < y2 && (L2 = s3), I2 - y2 <= w3 && I2 - y2 > -1 && (e3 += _3, y2 = I2), I2 === y2) {
e3 += (b3 ? N2 : s3) + b3, y2 += P2 - I2 + 1;
continue;
}
C2 === c3 ? (e3 += C2, L2 = C2) : C2 === d3 && (e3 += L2);
}
if (T2 && (e3 = v3(e3, U2 + (B2 && !S2 ? 1 : 0), Math.max(P2, w3 + U2), H2)), P2 >= U2 && (e3 += t4.substring(P2 + 1)), p5 || h4) {
for (V2 = s3, y2 = 0, x2 = e3.length; y2 < x2; y2++)
V2 += "$" === (C2 = e3.charAt(y2)) || "%" === C2 ? u3 : C2;
e3 = V2;
}
if (x2 = M2.length)
for (y2 = 0; y2 < x2; y2++)
e3 = e3.replace("??", M2[y2]);
}
return e3;
}(t3, r3, p4);
}
return t3 !== i2 ? t3 : "";
};
r2.format = function(e3) {
var t3 = arguments;
return e3.replace(f2, function(e4, n4, i3) {
var a4 = t3[parseInt(n4, 10) + 1];
return w2(a4, i3 ? i3.substring(1) : "");
});
}, r2._extractFormat = function(e3) {
return "{0:" === e3.slice(0, 3) && (e3 = e3.slice(3, e3.length - 1)), e3;
}, r2._activeElement = function() {
try {
return document.activeElement;
} catch (e3) {
return document.documentElement.activeElement;
}
}, r2._round = k3, r2._outerWidth = function(e3, n4) {
return t2(e3).outerWidth(n4 || false) || 0;
}, r2._outerHeight = function(e3, n4) {
return t2(e3).outerHeight(n4 || false) || 0;
}, r2.toString = w2;
}(), function() {
var e2 = /\u00A0/g, n3 = /\s/g, a3 = /[eE][\-+]?[0-9]+/, o3 = /[+|\-]\d{1,2}/, s3 = /[+|\-]\d{1,2}:?\d{2}/, d3 = /^\/Date\((.*?)\)\/$/, c3 = /[+-]\d*/, p3 = [[], ["G", "g", "F"], ["D", "d", "y", "m", "T", "t"]], h3 = [["yyyy-MM-ddTHH:mm:ss.fffffffzzz", "yyyy-MM-ddTHH:mm:ss.fffffff", "yyyy-MM-ddTHH:mm:ss.fffzzz", "yyyy-MM-ddTHH:mm:ss.fff", "ddd MMM dd yyyy HH:mm:ss", "yyyy-MM-ddTHH:mm:sszzz", "yyyy-MM-ddTHH:mmzzz", "yyyy-MM-ddTHH:mmzz", "yyyy-MM-ddTHH:mm:ss", "yyyy-MM-dd HH:mm:ss", "yyyy/MM/dd HH:mm:ss"], ["yyyy-MM-ddTHH:mm", "yyyy-MM-dd HH:mm", "yyyy/MM/dd HH:mm"], ["yyyy/MM/dd", "yyyy-MM-dd", "HH:mm:ss", "HH:mm"]], f3 = { 2: /^\d{1,2}/, 3: /^\d{1,3}/, 4: /^\d{4}/ }, m3 = {}.toString;
function g3(e3, t3, n4) {
return !(e3 >= t3 && e3 <= n4);
}
function v3(e3) {
return e3.charAt(0);
}
function _3(e3) {
return t2.map(e3, v3);
}
function k3(e3) {
for (var t3 = 0, n4 = e3.length, i3 = []; t3 < n4; t3++)
i3[t3] = (e3[t3] + "").toLowerCase();
return i3;
}
function w2(e3) {
var t3, n4 = {};
for (t3 in e3)
n4[t3] = k3(e3[t3]);
return n4;
}
function y2(e3, t3, n4, a4) {
if (!e3)
return null;
var l3, d4, u3, c4, p4, h4, m4, v4, b3, k4, y3, x3, C2 = function(e4) {
for (var n5 = 0; t3[R2] === e4; )
n5++, R2++;
return n5 > 0 && (R2 -= 1), n5;
}, T2 = function(t4) {
var n5 = f3[t4] || new RegExp("^\\d{1," + t4 + "}"), i3 = e3.substr(O2, t4).match(n5);
return i3 ? (i3 = i3[0], O2 += i3.length, parseInt(i3, 10)) : null;
}, S2 = function(t4, n5) {
for (var i3, a5, r3, o4 = 0, s4 = t4.length, l4 = 0, d5 = 0; o4 < s4; o4++)
a5 = (i3 = t4[o4]).length, r3 = e3.substr(O2, a5), n5 && (r3 = r3.toLowerCase()), r3 == i3 && a5 > l4 && (l4 = a5, d5 = o4);
return l4 ? (O2 += l4, d5 + 1) : null;
}, I2 = function() {
var n5 = false;
return e3.charAt(O2) === t3[R2] && (O2++, n5 = true), n5;
}, D2 = n4.calendars.standard, E2 = null, A2 = null, F2 = null, z2 = null, P2 = null, H2 = null, N2 = null, R2 = 0, O2 = 0, M2 = false, B2 = /* @__PURE__ */ new Date(), L2 = D2.twoDigitYearMax || 2029, V2 = B2.getFullYear();
for (t3 || (t3 = "d"), (c4 = D2.patterns[t3]) && (t3 = c4), u3 = (t3 = t3.split("")).length; R2 < u3; R2++)
if (l3 = t3[R2], M2)
"'" === l3 ? M2 = false : I2();
else if ("d" === l3) {
if (d4 = C2("d"), D2._lowerDays || (D2._lowerDays = w2(D2.days)), null !== F2 && d4 > 2)
continue;
if (null === (F2 = d4 < 3 ? T2(2) : S2(D2._lowerDays[3 == d4 ? "namesAbbr" : "names"], true)) || g3(F2, 1, 31))
return null;
} else if ("M" === l3) {
if (d4 = C2("M"), D2._lowerMonths || (D2._lowerMonths = w2(D2.months)), null === (A2 = d4 < 3 ? T2(2) : S2(D2._lowerMonths[3 == d4 ? "namesAbbr" : "names"], true)) || g3(A2, 1, 12))
return null;
A2 -= 1;
} else if ("y" === l3) {
if (null === (E2 = T2(d4 = C2("y"))))
return null;
2 == d4 && ("string" == typeof L2 && (L2 = V2 + parseInt(L2, 10)), (E2 = V2 - V2 % 100 + E2) > L2 && (E2 -= 100));
} else if ("h" === l3) {
if (C2("h"), 12 == (z2 = T2(2)) && (z2 = 0), null === z2 || g3(z2, 0, 11))
return null;
} else if ("H" === l3) {
if (C2("H"), null === (z2 = T2(2)) || g3(z2, 0, 23))
return null;
} else if ("m" === l3) {
if (C2("m"), null === (P2 = T2(2)) || g3(P2, 0, 59))
return null;
} else if ("s" === l3) {
if (C2("s"), null === (H2 = T2(2)) || g3(H2, 0, 59))
return null;
} else if ("f" === l3) {
if (d4 = C2("f"), x3 = e3.substr(O2, d4).match(f3[3]), null !== (N2 = T2(d4)) && (N2 = parseFloat("0." + x3[0], 10), N2 = r2._round(N2, 3), N2 *= 1e3), null === N2 || g3(N2, 0, 999))
return null;
} else if ("t" === l3) {
if (d4 = C2("t"), v4 = D2.AM, b3 = D2.PM, 1 === d4 && (v4 = _3(v4), b3 = _3(b3)), !(p4 = S2(b3)) && !S2(v4))
return null;
} else if ("z" === l3) {
if (h4 = true, d4 = C2("z"), "Z" === e3.substr(O2, 1)) {
I2();
continue;
}
if (!(m4 = e3.substr(O2, 6).match(d4 > 2 ? s3 : o3)))
return null;
if (k4 = (m4 = m4[0].split(":"))[0], !(y3 = m4[1]) && k4.length > 3 && (O2 = k4.length - 2, y3 = k4.substring(O2), k4 = k4.substring(0, O2)), g3(k4 = parseInt(k4, 10), -12, 13))
return null;
if (d4 > 2 && (y3 = m4[0][0] + y3, y3 = parseInt(y3, 10), isNaN(y3) || g3(y3, -59, 59)))
return null;
} else if ("'" === l3)
M2 = true, I2();
else if (!I2())
return null;
return a4 && !/^\s*$/.test(e3.substr(O2)) ? null : (null === E2 && null === A2 && null === F2 && (null !== z2 || null !== P2 || H2 || null) ? (E2 = V2, A2 = B2.getMonth(), F2 = B2.getDate()) : (null === E2 && (E2 = V2), null === F2 && (F2 = 1)), p4 && z2 < 12 && (z2 += 12), h4 ? (k4 && (z2 += -k4), y3 && (P2 += -y3), e3 = new Date(Date.UTC(E2, A2, F2, z2, P2, H2, N2))) : function(e4, t4) {
t4 || 23 !== e4.getHours() || e4.setHours(e4.getHours() + 2);
}(e3 = new Date(E2, A2, F2, z2, P2, H2, N2), z2), E2 < 100 && e3.setFullYear(E2), e3.getDate() !== F2 && h4 === i2 ? null : e3);
}
function x2(e3, t3, n4, i3) {
if ("[object Date]" === m3.call(e3))
return e3;
var a4, o4, s4, f4, g4 = 0, v4 = null;
if (e3 && 0 === e3.indexOf("/D") && (v4 = d3.exec(e3)))
return v4 = v4[1], o4 = c3.exec(v4.substring(1)), v4 = new Date(parseInt(v4, 10)), o4 && (s4 = o4[0], f4 = "-" === s4.substr(0, 1) ? -1 : 1, s4 = s4.substring(1), o4 = f4 * (60 * parseInt(s4.substr(0, 2), 10) + parseInt(s4.substring(2), 10)), v4 = r2.timezone.apply(v4, 0), v4 = r2.timezone.convert(v4, 0, -1 * o4)), v4;
for (n4 = r2.getCulture(n4), t3 || (t3 = function(e4) {
var t4, n5, i4, a5 = u2.max(p3.length, h3.length), r3 = (e4.calendar || e4.calendars.standard).patterns, o5 = [];
for (i4 = 0; i4 < a5; i4++) {
for (t4 = p3[i4], n5 = 0; n5 < t4.length; n5++)
o5.push(r3[t4[n5]]);
o5 = o5.concat(h3[i4]);
}
return o5;
}(n4)), a4 = (t3 = l2(t3) ? t3 : [t3]).length; g4 < a4; g4++)
if (v4 = y2(e3, t3[g4], n4, i3))
return v4;
return v4;
}
r2.parseDate = function(e3, t3, n4) {
return x2(e3, t3, n4, false);
}, r2.parseExactDate = function(e3, t3, n4) {
return x2(e3, t3, n4, true);
}, r2.parseInt = function(e3, t3) {
var n4 = r2.parseFloat(e3, t3);
return n4 && (n4 |= 0), n4;
}, r2.parseFloat = function(t3, i3, o4) {
if (!t3 && 0 !== t3)
return null;
if (typeof t3 === b2)
return t3;
t3 = t3.toString();
var s4, l3, d4 = (i3 = r2.getCulture(i3)).numberFormat, u3 = d4.percent, c4 = d4.currency, p4 = c4.symbol, h4 = u3.symbol, f4 = t3.indexOf("-");
return a3.test(t3) ? (t3 = parseFloat(t3.replace(d4["."], ".")), isNaN(t3) && (t3 = null), t3) : f4 > 0 ? null : (f4 = f4 > -1, t3.indexOf(p4) > -1 || o4 && o4.toLowerCase().indexOf("c") > -1 ? (s4 = (d4 = c4).pattern[0].replace("$", p4).split("n"), t3.indexOf(s4[0]) > -1 && t3.indexOf(s4[1]) > -1 && (t3 = t3.replace(s4[0], "").replace(s4[1], ""), f4 = true)) : t3.indexOf(h4) > -1 && (l3 = true, d4 = u3, p4 = h4), t3 = t3.replace("-", "").replace(p4, "").replace(e2, " ").split(d4[","].replace(e2, " ")).join("").replace(n3, "").replace(d4["."], "."), t3 = parseFloat(t3), isNaN(t3) ? t3 = null : f4 && (t3 *= -1), t3 && l3 && (t3 /= 100), t3);
};
}(), function() {
p2._scrollbar = i2, p2.scrollbar = function(e3) {
if (isNaN(p2._scrollbar) || e3) {
var t3, n3 = document.createElement("div");
return n3.style.cssText = "overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block", n3.innerHTML = " ", document.body.appendChild(n3), p2._scrollbar = t3 = n3.offsetWidth - n3.scrollWidth, document.body.removeChild(n3), t3;
}
return p2._scrollbar;
}, p2.isRtl = function(e3) {
return t2(e3).closest(".k-rtl").length > 0;
};
var e2 = document.createElement("table");
try {
e2.innerHTML = "<tr><td></td></tr>", p2.tbodyInnerHtml = true;
} catch (e3) {
p2.tbodyInnerHtml = false;
}
p2.touch = "ontouchstart" in n2;
var a3 = document.documentElement.style, r3 = p2.transitions = false, o3 = p2.transforms = false, l3 = "HTMLElement" in n2 ? HTMLElement.prototype : [];
p2.hasHW3D = "WebKitCSSMatrix" in n2 && "m11" in new n2.WebKitCSSMatrix() || "MozPerspective" in a3 || "msPerspective" in a3, p2.cssFlexbox = "flexWrap" in a3 || "WebkitFlexWrap" in a3 || "msFlexWrap" in a3, s2(["Moz", "webkit", "O", "ms"], function() {
var t3 = this.toString(), n3 = typeof e2.style[t3 + "Transition"] === _2;
if (n3 || typeof e2.style[t3 + "Transform"] === _2) {
var i3 = t3.toLowerCase();
return o3 = { css: "ms" != i3 ? "-" + i3 + "-" : "", prefix: t3, event: "o" === i3 || "webkit" === i3 ? i3 : "" }, n3 && ((r3 = o3).event = r3.event ? r3.event + "TransitionEnd" : "transitionend"), false;
}
}), e2 = null, p2.transforms = o3, p2.transitions = r3, p2.devicePixelRatio = n2.devicePixelRatio === i2 ? 1 : n2.devicePixelRatio;
try {
p2.screenWidth = n2.outerWidth || n2.screen ? n2.screen.availWidth : n2.innerWidth, p2.screenHeight = n2.outerHeight || n2.screen ? n2.screen.availHeight : n2.innerHeight;
} catch (e3) {
p2.screenWidth = n2.screen.availWidth, p2.screenHeight = n2.screen.availHeight;
}
p2.detectOS = function(e3) {
var t3, i3 = false, a4 = [], r4 = !/mobile safari/i.test(e3), o4 = { wp: /(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/, fire: /(Silk)\/(\d+)\.(\d+(\.\d+)?)/, android: /(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/, iphone: /(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/, ipad: /(iPad).*OS\s+(\d+)[\._]([\d_]+)/, meego: /(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/, webos: /(webOS)\/(\d+)\.(\d+(\.\d+)?)/, blackberry: /(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/, playbook: /(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/, windows: /(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/, tizen: /(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i, sailfish: /(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i, ffos: /(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/ }, s3 = { ios: /^i(phone|pad|pod)$/i, android: /^android|fire$/i, blackberry: /^blackberry|playbook/i, windows: /windows/, wp: /wp/, flat: /sailfish|ffos|tizen/i, meego: /meego/ }, l4 = { tablet: /playbook|ipad|fire/i }, d4 = { omini: /Opera\sMini/i, omobile: /Opera\sMobi/i, firefox: /Firefox|Fennec/i, mobilesafari: /version\/.*safari/i, ie: /MSIE|Windows\sPhone/i, chrome: /chrome|crios/i, webkit: /webkit/i };
for (var u4 in o4)
if (o4.hasOwnProperty(u4) && (a4 = e3.match(o4[u4]))) {
if ("windows" == u4 && "plugins" in navigator)
return false;
(i3 = {}).device = u4, i3.tablet = $(u4, l4, false), i3.browser = $(e3, d4, "default"), i3.name = $(u4, s3), i3[i3.name] = true, i3.majorVersion = a4[2], i3.minorVersion = (a4[3] || "0").replace("_", "."), t3 = i3.minorVersion.replace(".", "").substr(0, 2), i3.flatVersion = i3.majorVersion + t3 + new Array(3 - (t3.length < 3 ? t3.length : 2)).join("0"), i3.cordova = typeof n2.PhoneGap !== x || typeof n2.cordova !== x, i3.appMode = n2.navigator.standalone || /file|local|wmapp/.test(n2.location.protocol) || i3.cordova, i3.android && (p2.devicePixelRatio < 1.5 && i3.flatVersion < 400 || r4) && (p2.screenWidth > 800 || p2.screenHeight > 800) && (i3.tablet = u4);
break;
}
return i3;
};
var d3 = p2.mobileOS = p2.detectOS(navigator.userAgent);
p2.wpDevicePixelRatio = d3.wp ? screen.width / 320 : 0, p2.hasNativeScrolling = false, (d3.ios || d3.android && d3.majorVersion > 2 || d3.wp) && (p2.hasNativeScrolling = d3), p2.delayedClick = function() {
if (p2.touch) {
if (d3.ios)
return true;
if (d3.android)
return !p2.browser.chrome || !(p2.browser.version < 32) && !(t2("meta[name=viewport]").attr("content") || "").match(/user-scalable=no/i);
}
return false;
}, p2.mouseAndTouchPresent = p2.touch && !(p2.mobileOS.ios || p2.mobileOS.android), p2.detectBrowser = function(e3) {
var t3 = false, n3 = [], i3 = { edge: /(edge)[ \/]([\w.]+)/i, webkit: /(chrome|crios)[ \/]([\w.]+)/i, safari: /(webkit)[ \/]([\w.]+)/i, opera: /(opera)(?:.*version|)[ \/]([\w.]+)/i, msie: /(msie\s|trident.*? rv:)([\w.]+)/i, mozilla: /(mozilla)(?:.*? rv:([\w.]+)|)/i };
for (var a4 in i3)
if (i3.hasOwnProperty(a4) && (n3 = e3.match(i3[a4]))) {
(t3 = {})[a4] = true, t3[n3[1].toLowerCase().split(" ")[0].split("/")[0]] = true, t3.version = parseInt(document.documentMode || n3[2], 10), t3.chrome && e3.match(/(edg)[ \/]([\w.]+)/i) && (t3.chromiumEdge = true);
break;
}
return t3;
}, p2.browser = p2.detectBrowser(navigator.userAgent), !d3 && p2.touch && p2.browser.safari && (d3 = p2.mobileOS = { ios: true, tablet: "tablet", device: "ipad" }), p2.detectClipboardAccess = function() {
var e3 = { copy: !!document.queryCommandSupported && document.queryCommandSupported("copy"), cut: !!document.queryCommandSupported && document.queryCommandSupported("cut"), paste: !!document.queryCommandSupported && document.queryCommandSupported("paste") };
return p2.browser.chrome && (e3.paste = false, p2.browser.version >= 43 && (e3.copy = true, e3.cut = true)), e3;
}, p2.clipboard = p2.detectClipboardAccess(), p2.zoomLevel = function() {
try {
var e3 = p2.browser, t3 = 0, i3 = document.documentElement;
return e3.msie && 11 == e3.version && i3.scrollHeight > i3.clientHeight && !p2.touch && (t3 = p2.scrollbar()), p2.touch ? i3.clientWidth / n2.innerWidth : e3.msie && e3.version >= 10 ? ((top || n2).document.documentElement.offsetWidth + t3) / (top || n2).innerWidth : 1;
} catch (e4) {
return 1;
}
}, function(e3) {
var n3 = "", i3 = t2(document.documentElement), a4 = parseInt(e3.version, 10);
e3.msie ? n3 = "ie" : e3.mozilla ? n3 = "ff" : e3.safari ? n3 = "safari" : e3.webkit ? n3 = "webkit" : e3.opera ? n3 = "opera" : e3.edge && (n3 = "edge"), n3 && (n3 = "k-" + n3 + " k-" + n3 + a4), p2.mobileOS && (n3 += " k-mobile"), p2.cssFlexbox || (n3 += " k-no-flexbox"), i3.addClass(n3);
}(p2.browser), p2.eventCapture = document.documentElement.addEventListener;
var u3 = document.createElement("input");
p2.placeholder = "placeholder" in u3, p2.propertyChangeEvent = "onpropertychange" in u3, p2.input = function() {
for (var e3, t3 = ["number", "date", "time", "month", "week", "datetime", "datetime-local"], n3 = t3.length, i3 = "test", a4 = {}, r4 = 0; r4 < n3; r4++)
e3 = t3[r4], u3.setAttribute("type", e3), u3.value = i3, a4[e3.replace("-", "")] = "text" !== u3.type && u3.value !== i3;
return a4;
}(), u3.style.cssText = "float:left;", p2.cssFloat = !!u3.style.cssFloat, u3 = null, p2.stableSort = function() {
for (var e3 = [{ index: 0, field: "b" }], t3 = 1; t3 < 513; t3++)
e3.push({ index: t3, field: "a" });
return e3.sort(function(e4, t4) {
return e4.field > t4.field ? 1 : e4.field < t4.field ? -1 : 0;
}), 1 === e3[0].index;
}(), p2.matchesSelector = l3.webkitMatchesSelector || l3.mozMatchesSelector || l3.msMatchesSelector || l3.oMatchesSelector || l3.matchesSelector || l3.matches || function(e3) {
for (var n3 = document.querySelectorAll ? (this.parentNode || document).querySelectorAll(e3) || [] : t2(e3), i3 = n3.length; i3--; )
if (n3[i3] == this)
return true;
return false;
}, p2.matchMedia = "matchMedia" in n2, p2.pushState = n2.history && n2.history.pushState, p2.hashChange = "onhashchange" in n2, p2.customElements = "registerElement" in n2.document;
var c3 = p2.browser.chrome, h3 = p2.browser.crios, f3 = p2.browser.mozilla, m3 = p2.browser.safari;
p2.msPointers = !c3 && n2.MSPointerEvent, p2.pointers = !c3 && !h3 && !f3 && !m3 && n2.PointerEvent, p2.kineticScrollNeeded = d3 && (p2.touch || p2.msPointers || p2.pointers);
}();
var X = {};
function J(e2, t3, n3, i3) {
return typeof e2 === _2 && (z(t3) && (i3 = t3, t3 = 400, n3 = false), z(n3) && (i3 = n3, n3 = false), typeof t3 === y && (n3 = t3, t3 = 400), e2 = { effects: e2, duration: t3, reverse: n3, complete: i3 }), o2({ effects: {}, duration: 400, reverse: false, init: d2, teardown: d2, hide: false }, e2, { completeCallback: e2.complete, complete: d2 });
}
function Z(e2, n3, i3, a3, r3) {
for (var o3, s3 = 0, l3 = e2.length; s3 < l3; s3++)
(o3 = t2(e2[s3])).queue(function() {
X.promise(o3, J(n3, i3, a3, r3));
});
return e2;
}
t2.extend(X, { enabled: true, Element: function(e2) {
this.element = t2(e2);
}, promise: function(e2, t3) {
e2.is(":visible") || e2.css({ display: e2.data("olddisplay") || "block" }).css("display"), t3.hide && e2.data("olddisplay", e2.css("display")).hide(), t3.init && t3.init(), t3.completeCallback && t3.completeCallback(e2), e2.dequeue();
}, disable: function() {
this.enabled = false, this.promise = this.promiseShim;
}, enable: function() {
this.enabled = true, this.promise = this.animatedPromise;
} }), X.promiseShim = X.promise, "kendoAnimate" in t2.fn || o2(t2.fn, { kendoStop: function(e2, t3) {
return this.stop(e2, t3);
}, kendoAnimate: function(e2, t3, n3, i3) {
return Z(this, e2, t3, n3, i3);
}, kendoAddClass: function(e2, t3) {
return r2.toggleClass(this, e2, t3, true);
}, kendoRemoveClass: function(e2, t3) {
return r2.toggleClass(this, e2, t3, false);
}, kendoToggleClass: function(e2, t3, n3) {
return r2.toggleClass(this, e2, t3, n3);
} });
var ee = /&/g, te = /</g, ne = /"/g, ie = /'/g, ae = />/g;
var re = function(e2) {
return e2.target;
};
p2.touch && (re = function(e2) {
var t3 = "originalEvent" in e2 ? e2.originalEvent.changedTouches : "changedTouches" in e2 ? e2.changedTouches : null;
return t3 ? document.elementFromPoint(t3[0].clientX, t3[0].clientY) : e2.target;
}, s2(["swipe", "swipeLeft", "swipeRight", "swipeUp", "swipeDown", "doubleTap", "tap"], function(e2, n3) {
t2.fn[n3] = function(e3) {
return this.on(n3, e3);
};
})), p2.touch ? p2.mobileOS ? (p2.mousedown = "touchstart", p2.mouseup = "touchend", p2.mousemove = "touchmove", p2.mousecancel = "touchcancel", p2.click = "touchend", p2.resize = "orientationchange") : (p2.mousedown = "mousedown touchstart", p2.mouseup = "mouseup touchend", p2.mousemove = "mousemove touchmove", p2.mousecancel = "mouseleave touchcancel", p2.click = "click", p2.resize = "resize") : p2.pointers ? (p2.mousemove = "pointermove", p2.mousedown = "pointerdown", p2.mouseup = "pointerup", p2.mousecancel = "pointercancel", p2.click = "pointerup", p2.resize = "orientationchange resize") : p2.msPointers ? (p2.mousemove = "MSPointerMove", p2.mousedown = "MSPointerDown", p2.mouseup = "MSPointerUp", p2.mousecancel = "MSPointerCancel", p2.click = "MSPointerUp", p2.resize = "orientationchange resize") : (p2.mousemove = "mousemove", p2.mousedown = "mousedown", p2.mouseup = "mouseup", p2.mousecancel = "mouseleave", p2.click = "click", p2.resize = "resize");
var oe = /^([a-z]+:)?\/\//i;
o2(r2, { widgets: [], _widgetRegisteredCallbacks: [], ui: r2.ui || {}, fx: r2.fx || function(e2) {
return new r2.effects.Element(e2);
}, effects: r2.effects || X, mobile: r2.mobile || {}, data: r2.data || {}, dataviz: r2.dataviz || {}, drawing: r2.drawing || {}, spreadsheet: { messages: {} }, keys: { INSERT: 45, DELETE: 46, BACKSPACE: 8, TAB: 9, ENTER: 13, ESC: 27, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, END: 35, HOME: 36, SPACEBAR: 32, PAGEUP: 33, PAGEDOWN: 34, F2: 113, F10: 121, F12: 123, NUMPAD_PLUS: 107, NUMPAD_MINUS: 109, NUMPAD_DOT: 110 }, support: r2.support || p2, animate: r2.animate || Z, ns: "", attr: function(e2) {
return "data-" + r2.ns + e2;
}, getShadows: function(e2) {
var t3 = e2.css(r2.support.transitions.css + "box-shadow") || e2.css("box-shadow"), n3 = t3 && t3.match(m2) || [0, 0, 0, 0, 0], i3 = u2.max(+n3[3], +(n3[4] || 0));
return { left: -n3[1] + i3, right: +n3[1] + i3, bottom: +n3[2] + i3 };
}, wrap: function(e2, i3) {
var a3, o3 = r2._outerWidth, s3 = r2._outerHeight, l3 = e2.parent(), d3 = o3(n2);
if (l3.removeClass("k-animation-container-sm"), l3.hasClass("k-animation-container"))
q(e2, i3);
else {
var u3 = e2[0].style.width, c3 = e2[0].style.height, p3 = h2.test(u3), f3 = h2.test(c3), m3 = e2.hasClass("k-tooltip") || e2.is(".k-menu-horizontal.k-context-menu");
a3 = p3 || f3, !p3 && (!i3 || i3 && u3 || m3) && (u3 = i3 ? o3(e2) + 1 : o3(e2)), (!f3 && (!i3 || i3 && c3) || e2.is(".k-menu-horizontal.k-context-menu")) && (c3 = s3(e2)), e2.wrap(t2("<div/>").addClass("k-animation-container").attr("role", "region").css({ width: u3, height: c3 })), l3 = e2.parent(), a3 && e2.css({ width: "100%", height: "100%", boxSizing: "border-box", mozBoxSizing: "border-box", webkitBoxSizing: "border-box" });
}
return d3 < o3(l3) && (l3.addClass("k-animation-container-sm"), q(e2, i3)), l3;
}, deepExtend: G, getComputedStyles: Q, isScrollable: function(e2) {
if ("false" === e2.dataset[r2.ns + "scrollable"])
return false;
if (e2 && e2.className && "string" == typeof e2.className && e2.className.indexOf("k-auto-scrollable") > -1)
return true;
var t3 = Q(e2, ["overflow"]).overflow;
return t3.indexOf("auto") > -1 || t3.indexOf("scroll") > -1;
}, scrollLeft: function e2(n3, a3) {
var r3, o3, s3 = p2.browser.webkit, l3 = p2.browser.mozilla, d3 = p2.browser.version;
if (n3 instanceof t2 && a3 !== i2)
n3.each(function(t3, n4) {
e2(n4, a3);
});
else if (r3 = n3 instanceof t2 ? n3[0] : n3) {
if (o3 = p2.isRtl(n3), a3 === i2)
return o3 && s3 && (d3 < 85 || p2.browser.safari) ? r3.scrollWidth - r3.clientWidth - r3.scrollLeft : Math.abs(r3.scrollLeft);
o3 && s3 && (d3 < 85 || p2.browser.safari) ? r3.scrollLeft = r3.scrollWidth - r3.clientWidth - a3 : r3.scrollLeft = o3 && (l3 || s3) && a3 > 0 ? -a3 : a3;
}
}, size: function(e2) {
var t3, n3 = 0;
for (t3 in e2)
e2.hasOwnProperty(t3) && "toJSON" != t3 && n3++;
return n3;
}, toCamelCase: Y, toHyphens: function(e2) {
return e2.replace(/([a-z][A-Z])/g, function(e3) {
return e3.charAt(0) + "-" + e3.charAt(1).toLowerCase();
});
}, getOffset: r2.getOffset || function(e2, t3, i3) {
t3 || (t3 = "offset");
var a3 = e2[t3](), r3 = { top: a3.top, right: a3.right, bottom: a3.bottom, left: a3.left };
if (p2.browser.msie && (p2.pointers || p2.msPointers) && !i3) {
var o3 = p2.isRtl(e2) ? 1 : -1;
r3.top -= n2.pageYOffset - document.documentElement.scrollTop, r3.left -= n2.pageXOffset + o3 * document.documentElement.scrollLeft;
}
return r3;
}, parseEffects: r2.parseEffects || function(e2) {
var t3 = {};
return s2("string" == typeof e2 ? e2.split(" ") : e2, function(e3) {
t3[e3] = this;
}), t3;
}, toggleClass: r2.toggleClass || function(e2, t3, n3, i3) {
return t3 && (t3 = t3.split(" "), s2(t3, function(t4, n4) {
e2.toggleClass(n4, i3);
})), e2;
}, directions: r2.directions || { left: { reverse: "right" }, right: { reverse: "left" }, down: { reverse: "up" }, up: { reverse: "down" }, top: { reverse: "bottom" }, bottom: { reverse: "top" }, in: { reverse: "out" }, out: { reverse: "in" } }, Observable: N, Class: F, Template: a2, template: a2.compile.bind(a2), render: a2.render.bind(a2), stringify: c2.stringify.bind(c2), eventTarget: re, htmlEncode: function(e2) {
return ("" + e2).replace(ee, "&").replace(te, "<").replace(ae, ">").replace(ne, """).replace(ie, "'");
}, unescape: function(e2) {
var t3;
try {
t3 = n2.decodeURIComponent(e2);
} catch (n3) {
t3 = e2.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi, function(e3, t4, n4) {
return String.fromCharCode(parseInt("0x" + (t4 || n4), 16));
});
}
return t3;
}, isLocalUrl: function(e2) {
return e2 && !oe.test(e2);
}, expr: function(e2, t3, n3) {
return typeof t3 == _2 && (n3 = t3, t3 = false), n3 = n3 || "d", (e2 = e2 || "") && "[" !== e2.charAt(0) && (e2 = "." + e2), t3 ? (e2 = function(e3, t4) {
var n4, i3, a3, r3, o3 = t4 || "d", s3 = 1;
for (i3 = 0, a3 = e3.length; i3 < a3; i3++)
"" !== (r3 = e3[i3]) && (0 !== (n4 = r3.indexOf("[")) && (-1 == n4 ? r3 = "." + r3 : (s3++, r3 = "." + r3.substring(0, n4) + " || {})" + r3.substring(n4))), s3++, o3 += r3 + (i3 < a3 - 1 ? " || {})" : ")"));
return new Array(s3).join("(") + o3;
}((e2 = (e2 = e2.replace(/"([^.]*)\.([^"]*)"/g, '"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g, "'$1_$DOT$_$2'")).split("."), n3), e2 = e2.replace(/_\$DOT\$_/g, ".")) : e2 = n3 + e2, e2;
}, getter: function(e2, t3) {
var n3 = e2 + t3;
return S[n3] = S[n3] || new Function("d", "return " + r2.expr(e2, t3));
}, setter: function(e2) {
return I[e2] = I[e2] || new Function("d,value", r2.expr(e2) + "=value");
}, accessor: function(e2) {
return { get: r2.getter(e2), set: r2.setter(e2) };
}, guid: function() {
var e2, t3, n3 = "", i3 = "abcdef";
for (n3 += i3[Math.floor(Math.random() * Math.floor(i3.length))], e2 = 1; e2 < 32; e2++)
t3 = 16 * u2.random() | 0, 8 != e2 && 12 != e2 && 16 != e2 && 20 != e2 || (n3 += "-"), n3 += (12 == e2 ? 4 : 16 == e2 ? 3 & t3 | 8 : t3).toString(16);
return n3;
}, roleSelector: function(e2) {
return e2.replace(/(\S+)/g, "[" + r2.attr("role") + "=$1],").slice(0, -1);
}, directiveSelector: function(e2) {
var t3 = e2.split(" ");
if (t3)
for (var n3 = 0; n3 < t3.length; n3++)
"view" != t3[n3] && (t3[n3] = t3[n3].replace(/(\w*)(view|bar|strip|over)$/, "$1-$2"));
return t3.join(" ").replace(/(\S+)/g, "kendo-mobile-$1,").slice(0, -1);
}, triggeredByInput: function(e2) {
return /^(label|input|textarea|select)$/i.test(e2.target.tagName);
}, onWidgetRegistered: function(e2) {
for (var t3 = 0, n3 = r2.widgets.length; t3 < n3; t3++)
e2(r2.widgets[t3]);
r2._widgetRegisteredCallbacks.push(e2);
}, logToConsole: function(e2, t3) {
var i3 = n2.console;
!r2.suppressLog && void 0 !== i3 && i3.log && i3[t3 || "log"](e2);
} });
var se = N.extend({ init: function(t3, n3) {
var i3 = this;
KendoLicensing.validatePackage(e), i3.element = r2.jQuery(t3).handler(i3), i3.angular("init", n3), N.fn.init.call(i3);
var a3, s3 = n3 ? n3.dataSource : null;
n3 && (a3 = (i3.componentTypes || {})[(n3 || {}).componentType]), s3 && (n3 = o2({}, n3, { dataSource: {} })), n3 = i3.options = o2(true, {}, i3.options, i3.defaults, a3 || {}, n3), s3 && (n3.dataSource = s3), i3.element.attr(r2.attr("role")) || i3.element.attr(r2.attr("role"), (n3.name || "").toLowerCase()), i3.element.data("kendo" + n3.prefix + n3.name, i3), i3.bind(i3.events, n3);
}, events: [], options: { prefix: "" }, _hasBindingTarget: function() {
return !!this.element[0].kendoBindingTarget;
}, _tabindex: function(e2) {
e2 = e2 || this.wrapper;
var t3 = this.element, n3 = "tabindex",