UNPKG

@progress/telerik-react-report-viewer

Version:

Progress® Telerik® Report Viewer for React

17 lines 1.84 MB
var jQuery = require('jquery'); /*! * Copyright 2025 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(){const e=()=>{},t={version:"2025.1.227".replace(/^\s+|\s+$/g,"")};let n;const i="change",o={small:"(max-width: 500px)",medium:"(min-width: 500.1px) and (max-width: 768px)",large:"(min-width: 768.1px)"};function r(e){if(e)return n=n||Object.assign({},o,kendo.defaults.breakpoints),e in n&&(e=n[e]),function(e){let t=window.matchMedia(e),n=[],o=[],r=[],a={mediaQueryList:t};const s=e=>{r.forEach((t=>t(e))),e.matches?n.forEach((t=>t(e))):o.forEach((t=>t(e)))};return t.addEventListener(i,s),a.onChange=e=>(r.push(e),a),a.onEnter=e=>{if(n.push(e),t.matches){const n=t.media;e(new MediaQueryListEvent(i,{media:n,matches:!0}))}return a},a.onLeave=e=>(o.push(e),a),a.destroy=()=>{t&&t.removeEventListener(i,s),n=null,o=null,r=null,t=null,a=null},a}(e)}function a(e){class t extends e{static extend(e){const n=class extends t{constructor(){super(),e&&e.init&&e.init.apply(this,arguments)}};return Object.assign(n.prototype,e),s(n.prototype),n.fn=n.prototype,n}}return s(t.prototype),t.fn=t.prototype,t}function s(e){Object.defineProperty(e,"_instance",{get:function(){return this}})}!function(n,i,s){var l,c=i.kendo=i.kendo||{cultures:{}},d=n.extend,u=n.each,h=Array.isArray,p=n.noop,f=Math,m=i.crypto,v=i.JSON||{},g={},_=/%/,b=/\{(\d+)(:[^\}]+)?\}/g,y=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,w=/^(\+|-?)\d+(\.?)\d*$/,k="month",x="hour",C="zone",z="weekday",S="quarter",T={G:"era",y:"year",q:S,Q:S,M:k,L:k,d:"day",E:z,c:z,e:z,h:x,H:x,k:x,K:x,m:"minute",s:"second",a:"dayperiod",t:"dayperiod",x:C,X:C,z:C,Z:C},M={month:{type:"months",minLength:3,standAlone:"L"},quarter:{type:"quarters",minLength:3,standAlone:"q"},weekday:{type:"days",minLength:{E:0,c:3,e:3},standAlone:"c"},dayperiod:{type:"dayPeriods",minLength:0},era:{type:"eras",minLength:0}},I="function",H="string",D="number",E="object",A="null",V="boolean",P="undefined",B="prefix",F="aria-labelledby",O="aria-label",L={},R={},N=[].slice,U=["themeColor","fillMode","shape","size","rounded","positionMode"],j=function(){var e,t,n,i,o,r,a=arguments[0]||{},l=1,c=arguments.length,d=!1;for("boolean"==typeof a&&(d=a,a=arguments[l]||{},l++),"object"!=typeof a&&"function"!=typeof a&&(a={}),l===c&&(a=this,l--);l<c;l++)if(null!=(o=arguments[l]))for(i in o)"filters"!=i&&"concat"!=i&&":"!=i&&"cssNumber"!=i&&(e=a[i],a!==(n=o[i])&&(d&&n&&(jQuery.isPlainObject(n)||(t=Array.isArray(n)))?(t?(t=!1,r=e&&Array.isArray(e)?e:[]):r=e&&jQuery.isPlainObject(e)?e:{},a[i]=j(d,r,n)):n!==s&&(a[i]=n)));return a};function W(){}c.version=t.version,W.extend=function(e){var t,n,i=function(){},o=this,r=e&&e.init?e.init:function(){o.apply(this,arguments)};for(t in i.prototype=o.prototype,n=r.fn=r.prototype=new i,e)null!=e[t]&&e[t].constructor===Object?n[t]=d(!0,{},i.prototype[t],e[t]):n[t]=e[t];return n.constructor=r,r.extend=o.extend,r},W.prototype._initOptions=function(e){this.options=ae({},this.options,e)},c.createProxyMember=function(e,t){e.fn[t]=function(){var e=this._instance;if(e)return e[t].apply(e,arguments)}},c.getBaseClass=function(e){if(e instanceof Function){let t=e;const n=Object.getPrototypeOf(t);if(n&&n!==Object&&n.name)return n}return null},c.getAllMethods=function(e){const t=Object.getOwnPropertyNames(e).filter((t=>"function"==typeof e[t])),n=Object.getOwnPropertyNames(Object.getPrototypeOf(new e({}))).filter((e=>"constructor"!==e));return t.concat(n)},c.convertPromiseToDeferred=function(e){let t=n.Deferred();return e.finally(t.always).then(t.resolve).catch(t.reject),t.promise()},c.ConvertClass=a;c.isPresent=e=>null!==e&&e!==s,c.isBlank=e=>null===e||e===s,c.isEmpty=e=>0===e.length,c.isString=e=>"string"==typeof e,c.isInteger=e=>Number.isInteger(e),c.isNumeric=e=>!isNaN(e-parseFloat(e)),c.isDate=e=>e&&e.getTime;const $=c.isFunction=e=>"function"==typeof e;var q=function(){this._defaultPrevented=!0},G=function(){return!0===this._defaultPrevented},K=W.extend({init:function(){this._events={}},bind:function(e,t,n){var i,o,r,a,l=this,c=typeof e===H?[e]:e,d=typeof t===I;if(t===s){for(i in e)l.bind(i,e[i]);return l}for(i=0,o=c.length;i<o;i++)e=c[i],(a=d?t:t[e])&&(n&&(r=a,a=function(){l.unbind(e,a),r.apply(l,arguments)},a.original=r),(l._events[e]=l._events[e]||[]).push(a));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,i,o,r=this,a=typeof e===H?[e]:e,s=typeof t===I;for(n=0,i=a.length;n<i;n++)e=a[n],(o=s?t:t[e])&&(r._events[e]=r._events[e]||[]).unshift(o);return r},trigger:function(e,t){var n,i,o=this,r=o._events[e];if(r){for((t=t||{}).sender=o,t._defaultPrevented=!1,t.preventDefault=q,t.isDefaultPrevented=G,n=0,i=(r=r.slice()).length;n<i;n++)r[n].call(o,t);return!0===t._defaultPrevented}return!1},unbind:function(e,t){var n,i=this,o=i._events[e];if(e===s)i._events={};else if(o)if(t)for(n=o.length-1;n>=0;n--)o[n]!==t&&o[n].original!==t||o.splice(n,1);else i._events[e]=[];return i}});function Y(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),i=e.substring(1);return"="===n?"+("+i+")+":":"===n?"+$kendoHtmlEncode("+i+")+":";"+e+";$kendoOutput+="}var Q=/^\w+/,X=/\$\{([^}]*)\}/g,Z=/\\\}/g,J=/__CURLY__/g,ee=/\\#/g,te=/__SHARP__/g,ne=["","0","00","000","0000"];function ie(e,t,n){return(n=(t=t||2)-(e+="").length)?ne[t].substring(0,n)+e:e}function oe(e,t){var i,o,r;return(i=e.clone()).css("display",""),i.css("visibility","hidden"),i.appendTo(n("body")),o=i.outerWidth(t||!1),r=i.outerHeight(t||!1),i.remove(),{width:o||0,height:r||0}}function re(e,t,n){var i=c._outerWidth,o=c._outerHeight,r=e.parent(),a=e.closest(".k-animation-container"),s=e.hasClass("k-tooltip"),l=e.is(":visible"),d=r[0].style,u=e[0].style.height;a.is(":hidden")&&a.css({display:"",position:""}),_.test(d.width)||_.test(d.height)||(l||e.add(r).show(),n&&r.css("width",""),r.css({width:t?i(e,!1,s)+1:i(e,!1,s)}),"auto"===u?e.css({height:o(r)}):r.css({height:o(e)}),l||e.hide())}function ae(e){var t=1,n=arguments.length;for(t=1;t<n;t++)se(e,arguments[t]);return e}function se(e,t){var n,o,r,a,s,l=c.data.ObservableArray,d=c.data.LazyObservableArray,u=c.data.DataSource,h=c.data.HierarchicalDataSource;for(n in t)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(!(a=(r=typeof(o=t[n]))===E&&null!==o?o.constructor:null)||a===Array||a===l||a===d||a===u||a===h||a===RegExp||c.isFunction(i.ArrayBuffer)&&a===ArrayBuffer||o instanceof HTMLElement?r!==P&&(e[n]=o):o instanceof Date?e[n]=new Date(o.getTime()):$(o.clone)?e[n]=o.clone():(s=e[n],e[n]=typeof s===E&&s||{},se(e[n],o)));return e}function le(e,t,n){for(var i in t)if(t.hasOwnProperty(i)&&t[i].test(e))return i;return n!==s?n:e}function ce(e){return e.replace(/\-(\w)/g,(function(e,t){return t.toUpperCase()}))}function de(e,t){var i,o={};return document.defaultView&&document.defaultView.getComputedStyle?(i=document.defaultView.getComputedStyle(e,""),t&&n.each(t,(function(e,t){o[t]=i.getPropertyValue(t)}))):(i=e.currentStyle,t&&n.each(t,(function(e,t){o[t]=i[ce(t)]}))),c.size(o)||(o=i),o}l={paramName:"data",useWithBlock:!0,render:function(e,t){var n,i,o="";for(n=0,i=t.length;n<i;n++)o+=e(t[n]);return o},compile:function(e,t){var n,o,r,a=d({},this,t),s=a.paramName,l=s.match(Q)[0],u=a.useWithBlock,h="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if($(e))return e;for(h+=u?"with("+s+"){":"",h+="$kendoOutput=",o=e.replace(Z,"__CURLY__").replace(X,"#=$kendoHtmlEncode($1)#").replace(J,"}").replace(ee,"__SHARP__").split("#"),r=0;r<o.length;r++)h+=Y(o[r],r%2==0);h+=u?";}":";",h=(h+="return $kendoOutput;").replace(te,"#");try{return(n=new Function(l,h))._slotCount=Math.floor(o.length/2),n}catch(t){if(!c.debugTemplates)throw new Error(c.format("Invalid template:'{0}' Generated code:'{1}'",e,h));i.console.warn(`Invalid template:'${e}' Generated code:'${h}'`)}}},function(){var e,t,n,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,o={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},r={}.toString;function a(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=o[e];return typeof t===H?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(i,o){var l,c,d,u,h,p,f=e,m=o[i];if(m&&typeof m===E&&typeof m.toJSON===I&&(m=m.toJSON(i)),typeof n===I&&(m=n.call(o,i,m)),(p=typeof m)===H)return a(m);if(p===D)return isFinite(m)?String(m):A;if(p===V||p===A)return String(m);if(p===E){if(!m)return A;if(e+=t,h=[],"[object Array]"===r.apply(m)){for(u=m.length,l=0;l<u;l++)h[l]=s(l,m)||A;return d=0===h.length?"[]":e?"[\n"+e+h.join(",\n"+e)+"\n"+f+"]":"["+h.join(",")+"]",e=f,d}if(n&&typeof n===E)for(u=n.length,l=0;l<u;l++)typeof n[l]===H&&(d=s(c=n[l],m))&&h.push(a(c)+(e?": ":":")+d);else for(c in m)Object.hasOwnProperty.call(m,c)&&(d=s(c,m))&&h.push(a(c)+(e?": ":":")+d);return d=0===h.length?"{}":e?"{\n"+e+h.join(",\n"+e)+"\n"+f+"}":"{"+h.join(",")+"}",e=f,d}}typeof Date.prototype.toJSON!==I&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?ie(e.getUTCFullYear(),4)+"-"+ie(e.getUTCMonth()+1)+"-"+ie(e.getUTCDate())+"T"+ie(e.getUTCHours())+":"+ie(e.getUTCMinutes())+":"+ie(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof v.stringify!==I&&(v.stringify=function(i,o,r){var a;if(e="",t="",typeof r===D)for(a=0;a<r;a+=1)t+=" ";else typeof r===H&&(t=r);if(n=o,o&&typeof o!==I&&(typeof o!==E||typeof o.length!==D))throw new Error("JSON.stringify");return s("",{"":i})})}(),function(){var e=/EEEE|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,t=/^(n|c|p|e)(\d*)$/i,i=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,o=/\,/g,r="",a=".",l="#",d="0",u="en-US",h={}.toString;function p(e){if(e){if(e.numberFormat)return e;if(typeof e===H){var t=c.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function m(e){return e&&(e=p(e)),e||c.cultures.current}c.cultures=c.cultures||{},c.cultures["en-US"]={name:u,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}}},c.culture=function(e){var t,n,i=c.cultures;if(e===s)return(n=i.current.calendars).standard.AM&&n.standard.AM.length&&n.standard.PM&&n.standard.PM.length&&n.standard.AM.indexOf("PMA0")<0&&(n.standard.AM.indexOf("AM")>-1||n.standard.PM.indexOf("PM")>-1)&&(n.standard.AM.push("a","A","PMa","PMA","PMa0","PMA0"),n.standard.PM.push("p","P","AMp","AMP","AMp0","AMP0")),i.current;(t=p(e)||i[u]).calendar=t.calendars.standard,i.current=t},c.findCulture=p,c.getCulture=m,c.kendoCultureToIntl=function(e){e=m(e)||c.cultures.current;let t={};t[e.numberFormat.currency.abbr]=e.numberFormat.currency;const n={},[i,o]=e.name.split("-");if(n.name=i,n.identity={language:i},o&&(n.territory=o),e.numberFormat&&(n.numbers={symbols:{decimal:e.numberFormat["."],group:e.numberFormat[","],percentSign:e.numberFormat.percent?.symbol||"%"},decimal:{patterns:e.numberFormat.pattern,groupSize:e.numberFormat.groupSize},currency:{patterns:e.numberFormat.currency?.pattern,groupSize:e.numberFormat.currency?.groupSize},percent:{patterns:e.numberFormat.percent?.pattern,groupSize:e.numberFormat.percent?.groupSize,decimals:e.numberFormat.percent?.decimals}},e.numberFormat.currency&&(n.numbers.currencies={[e.numberFormat.currency.abbr]:e.numberFormat.currency},n.numbers.localeCurrency=e.numberFormat.currency.abbr)),e.calendars&&e.calendars.standard){const t=e.calendars.standard;n.calendar={patterns:{d:t.patterns.d,D:t.patterns.D,F:t.patterns.F,g:t.patterns.g,G:t.patterns.G,m:t.patterns.m,M:t.patterns.M,s:t.patterns.s,t:t.patterns.t,T:t.patterns.T,u:t.patterns.u,y:t.patterns.y,Y:t.patterns.Y},days:{format:{wide:t.days.names,abbreviated:t.days.namesAbbr,short:t.days.namesShort},"stand-alone":{wide:t.days.names,abbreviated:t.days.namesAbbr,short:t.days.namesShort}},months:{format:{wide:t.months.names,abbreviated:t.months.namesAbbr,narrow:t.months.namesAbbr.map((e=>e.charAt(0)))},"stand-alone":{wide:t.months.names,abbreviated:t.months.namesAbbr,narrow:t.months.namesAbbr.map((e=>e.charAt(0)))}},dayPeriods:{format:{abbreviated:{am:t.AM[0],pm:t.PM[0]},narrow:{am:t.AM[1],pm:t.PM[1]},wide:{am:t.AM[0],pm:t.PM[0]}},"stand-alone":{abbreviated:{am:t.AM[0],pm:t.PM[0]},narrow:{am:t.AM[1],pm:t.PM[1]},wide:{am:t.AM[0],pm:t.PM[0]}}}},"firstDay"in t&&(n.firstDay=t.firstDay)}return{localeInfo:()=>({numbers:{localeCurrency:e.numberFormat.currency.abbr,currencies:t,symbols:{group:e.numberFormat[","],decimal:e.numberFormat["."],percentSign:e.numberFormat.percent.symbol}},calendar:{patterns:e.calendars.standard.patterns,months:{format:{wide:e.calendars.standard.months.names,abbreviated:e.calendars.standard.months.namesAbbr}},days:{format:{wide:e.calendars.standard.days.names,abbreviated:e.calendars.standard.days.namesAbbr}}}}),parseDate:(e,t)=>c.parseExactDate(e,t),toString:(e,t)=>_(e,t),format:(e,...t)=>c.format(e,t)}},c.culture(u);var v=function(e,t,n,i){var o,r,l,c,d,u,h=e.indexOf(i[a]),p=i.groupSize.slice(),f=p.shift();if(n=-1!==h?h:n+1,(r=(o=e.substring(t,n)).length)>=f){for(l=r,c=[];l>-1;)if((d=o.substring(l-f,l))&&c.push(d),l-=f,0===(f=(u=p.shift())!==s?u:f)){l>0&&c.push(o.substring(0,l));break}o=c.reverse().join(i[","]),e=e.substring(0,t)+o+e.substring(n)}return e},g=function(e,t,n){return t=t||0,e=e.toString().split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),n&&(e=-e),(e=+((e=e.toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(Math.min(t,20))},_=function(n,c,u){if(c){if("[object Date]"===h.call(n))return function(t,n,i){var o=(i=m(i)).calendars.standard,r=o.days,a=o.months;return(n=n.pattern||o.patterns[n]||n).replace(e,(function(e){var n,i,l;return"d"===e?i=t.getDate():"dd"===e?i=ie(t.getDate()):"ddd"===e?i=r.namesAbbr[t.getDay()]:"dddd"===e||"EEEE"===e?i=r.names[t.getDay()]:"M"===e?i=t.getMonth()+1:"MM"===e?i=ie(t.getMonth()+1):"MMM"===e?i=a.namesAbbr[t.getMonth()]:"MMMM"===e?i=a.names[t.getMonth()]:"yy"===e?i=ie(t.getFullYear()%100):"yyyy"===e?i=ie(t.getFullYear(),4):"h"===e?i=t.getHours()%12||12:"hh"===e?i=ie(t.getHours()%12||12):"H"===e?i=t.getHours():"HH"===e?i=ie(t.getHours()):"m"===e?i=t.getMinutes():"mm"===e?i=ie(t.getMinutes()):"s"===e?i=t.getSeconds():"ss"===e?i=ie(t.getSeconds()):"f"===e?i=f.floor(t.getMilliseconds()/100):"ff"===e?((i=t.getMilliseconds())>99&&(i=f.floor(i/10)),i=ie(i)):"fff"===e?i=ie(t.getMilliseconds(),3):"tt"===e||"aa"===e?i=t.getHours()<12?o.AM[0]:o.PM[0]:"zzz"===e?(l=(n=t.getTimezoneOffset())<0,i=f.abs(n/60).toString().split(".")[0],n=f.abs(n)-60*i,i=(l?"+":"-")+ie(i),i+=":"+ie(n)):"zz"!==e&&"z"!==e||(l=(i=t.getTimezoneOffset()/60)<0,i=f.abs(i).toString().split(".")[0],i=(l?"+":"-")+("zz"===e?ie(i):i)),i!==s?i:e.slice(1,e.length-1)}))}(n,c,u);if(typeof n===D)return function(e,n,c){var u,h,p,f,_,b,y,w,k,x,C,z,S,T,M,I,H,D,E,A,V=(c=m(c)).numberFormat,P=V[a],B=V.decimals,F=V.pattern[0],O=[],L=e<0,R=r,N=r,U=-1;if(e===s)return r;if(!isFinite(e))return e;if(!n)return c.name.length?e.toLocaleString():e.toString();if(_=t.exec(n)){if(p="p"===(n=_[1].toLowerCase()),((h="c"===n)||p)&&(P=(V=h?V.currency:V.percent)[a],B=V.decimals,u=V.symbol,F=V.pattern[L?0:1]),(f=_[2])&&(B=+f),"e"===n)return(f?e.toExponential(B):e.toExponential()).replace(a,V[a]);if(p&&(e*=100),L=(e=g(e,B))<0,b=(e=e.split(a))[0],y=e[1],L&&(b=b.substring(1)),N=v(b,0,b.length,V),y&&(N+=P+y),"n"===n&&!L)return N;for(e=r,k=0,x=F.length;k<x;k++)e+="n"===(C=F.charAt(k))?N:"$"===C||"%"===C?u:C;return e}if((n.indexOf("'")>-1||n.indexOf('"')>-1||n.indexOf("\\")>-1)&&(n=n.replace(i,(function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return O.push(n),"??"}))),n=n.split(";"),L&&n[1])n=n[1],S=!0;else if(0===e&&n[2]){if(-1==(n=n[2]).indexOf(l)&&-1==n.indexOf(d))return n}else n=n[0];if((p=-1!=n.indexOf("%"))&&(e*=100),(h=-1!=(E=n.indexOf("$")))&&"\\"===n[E-1]&&(n=n.split("\\").join(""),h=!1),(h||p)&&(P=(V=h?V.currency:V.percent)[a],B=V.decimals,u=V.symbol),(z=n.indexOf(",")>-1)&&(n=n.replace(o,r)),T=n.indexOf(a),x=n.length,-1!=T)if(y=(y=(y=e.toString().split("e"))[1]?g(e,Math.abs(y[1])):y[0]).split(a)[1]||r,H=(I=n.lastIndexOf(d)-T)>-1,D=(M=n.lastIndexOf(l)-T)>-1,k=y.length,H||D||(x=(n=n.substring(0,T)+n.substring(T+1)).length,T=-1,k=0),H&&I>M)k=I;else if(M>I)if(D&&k>M){for(var j=g(e,M,L);j.charAt(j.length-1)===d&&M>0&&M>I;)M--,j=g(e,M,L);k=M}else H&&k<I&&(k=I);if(e=g(e,k,L),M=n.indexOf(l),I=n.indexOf(d),U=-1==M&&-1!=I?I:-1!=M&&-1==I?M:M>I?I:M,M=n.lastIndexOf(l),I=n.lastIndexOf(d),A=-1==M&&-1!=I?I:-1!=M&&-1==I||M>I?M:I,U==x&&(A=U),-1!=U){for(b=(N=e.toString().split(a))[0],y=N[1]||r,w=b.length,y.length,L&&-1*e>=0&&(L=!1),e=n.substring(0,U),L&&!S&&(e+="-"),k=U;k<x;){if(C=n.charAt(k),-1==T){if(A-k<w){e+=b;break}}else if(-1!=I&&I<k&&(R=r),T-k<=w&&T-k>-1&&(e+=b,k=T),T===k){e+=(y?P:r)+y,k+=A-T+1;continue}C===d?(e+=C,R=C):C===l&&(e+=R),k++}if(z&&(e=v(e,U+(L&&!S?1:0),Math.max(A,w+U),V)),A>=U&&(e+=n.substring(A+1)),h||p){for(N=r,k=0,x=e.length;k<x;k++)N+="$"===(C=e.charAt(k))||"%"===C?u:C;e=N}if(x=O.length)for(k=0;k<x;k++)e=e.replace("??",O[k])}return e}(n,c,u)}return n!==s?n:""};c.format=function(e){var t=arguments;return e.replace(b,(function(e,n,i){var o=t[parseInt(n,10)+1];return _(o,i?i.substring(1):"")}))},c._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},c._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},c._round=g,c._outerWidth=function(e,t,i){return e=n(e),i?oe(e,t).width:n(e).outerWidth(t||!1)||0},c._outerHeight=function(e,t,i){return e=n(e),i?oe(e,t).height:n(e).outerHeight(t||!1)||0},c.toString=_}(),function(){var e=/\u00A0/g,t=/\s/g,i=/[eE][\-+]?[0-9]+/,o=/[+|\-]\d{1,2}/,r=/[+|\-]\d{1,2}:?\d{2}/,a=/^\/Date\((.*?)\)\/$/,l=/[+-]\d*/,d=[[],["G","g","F"],["D","d","y","m","T","t"]],u=[["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"]],p={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/,exact3:/^\d{3}/},m={}.toString;function v(e,t,n){return!(e>=t&&e<=n)}function g(e){return e.charAt(0)}function _(e){return n.map(e,g)}function b(e){for(var t=0,n=e.length,i=[];t<n;t++)i[t]=(e[t]+"").toLowerCase();return i}function y(e){var t,n={};for(t in e)n[t]=b(e[t]);return n}function w(e){return Array.from(e).sort(((e,t)=>t.length-e.length))[0].length}function k(e,t,n,i,a){if(!e)return null;var l,d,u,h,f,m,g,b,k,x,C,z,S=function(e){for(var n=0;t[O]===e;)n++,O++;return n>0&&(O-=1),n},T=function(t){var n,i,o="";if(2===t)for(let n=0;n<=t;n++)o+=e[L+n]||"";return o=a&&o.match(p.exact3)&&Number.isInteger(Number(o))&&Number(o)>0?function(e){return e.replace(/^0*/,"")}(o):e.substr(L,t),n=p[t]||new RegExp("^\\d{1,"+t+"}"),(i=o.match(n))?(i=i[0],L+=i.length,parseInt(i,10)):null},M=function(t,n,i){for(var o,r,a,s=0,l=t.length,c=0,d=0;s<l;s++)r=(o=t[s]).length,a=e.substr(L,i||r),n&&(a=a.toLowerCase()),a==o&&r>c&&(c=r,d=s);return c?(L+=c,d+1):null},I=function(){var n=!1;return e.charAt(L)===t[O]&&(L++,n=!0),n},H=n.calendars.standard,D=null,E=null,A=null,V=null,P=null,B=null,F=null,O=0,L=0,R=!1,N=new Date,U=H.twoDigitYearMax||2029,j=N.getFullYear();for(t||(t="d"),(h=H.patterns[t])&&(t=h),u=(t=t.split("")).length;O<u;O++)if(l=t[O],R)"'"===l?R=!1:I();else if("d"===l){if(d=S("d"),H._lowerDays||(H._lowerDays=y(H.days)),null!==A&&d>2)continue;if(null===(A=d<3?T(2):M(H._lowerDays[3==d?"namesAbbr":"names"],!0))||v(A,1,31))return null}else if("M"===l){if(d=S("M"),H._lowerMonths||(H._lowerMonths=y(H.months)),null===(E=d<3?T(2):M(H._lowerMonths[3==d?"namesAbbr":"names"],!0))||v(E,1,12))return null;E-=1}else if("y"===l){if(null===(D=T(d=S("y"))))return null;2==d&&("string"==typeof U&&(U=j+parseInt(U,10)),(D=j-j%100+D)>U&&(D-=100))}else if("h"===l){if(S("h"),12==(V=T(2))&&(V=0),null===V||v(V,0,11))return null}else if("H"===l){if(S("H"),null===(V=T(2))||v(V,0,23))return null}else if("m"===l){if(S("m"),null===(P=T(2))||v(P,0,59))return null}else if("s"===l){if(S("s"),null===(B=T(2))||v(B,0,59))return null}else if("f"===l){if(d=S("f"),z=e.substr(L,d).match(p[3]),null!==(F=T(d))&&(F=parseFloat("0."+z[0],10),F=c._round(F,3),F*=1e3),null===F||v(F,0,999))return null}else if("t"===l){if(d=S("t"),b=H.AM,k=H.PM,1===d&&(b=_(b),k=_(k)),!(f=M(k,!1,w(k)))&&!M(b,!1,w(b)))return null}else if("z"===l){if(m=!0,d=S("z"),"Z"===e.substr(L,1)){I();continue}if(!(g=e.substr(L,6).match(d>2?r:o)))return null;if(x=(g=g[0].split(":"))[0],!(C=g[1])&&x.length>3&&(L=x.length-2,C=x.substring(L),x=x.substring(0,L)),v(x=parseInt(x,10),-12,13))return null;if(d>2&&(C=g[0][0]+C,C=parseInt(C,10),isNaN(C)||v(C,-59,59)))return null}else if("'"===l)R=!0,I();else if(!I())return null;return i&&!/^\s*$/.test(e.substr(L))?null:(null===D&&null===E&&null===A&&(null!==V||null!==P||B||null)?(D=j,E=N.getMonth(),A=N.getDate()):(null===D&&(D=j),null===A&&(A=1)),f&&V<12&&(V+=12),m?(x&&(V+=-x),C&&(P+=-C),e=new Date(Date.UTC(D,E,A,V,P,B,F))):function(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}(e=new Date(D,E,A,V,P,B,F),V),D<100&&e.setFullYear(D),e.getDate()!==A&&m===s?null:e)}function x(e,t,n,i,o){if("[object Date]"===m.call(e))return e;var r,s,p=0,v=null;if(e&&0===e.indexOf("/D")&&(v=a.exec(e)))return v=v[1],s=l.exec(v.substring(1)),v=new Date(parseInt(v,10)),s&&(s=function(e){var t="-"===e.substr(0,1)?-1:1;return e=e.substring(1),t*(60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10))}(s[0]),v=c.timezone.apply(v,0),v=c.timezone.convert(v,0,-1*s)),v;for(n=c.getCulture(n),t||(t=function(e){var t,n,i,o=f.max(d.length,u.length),r=(e.calendar||e.calendars.standard).patterns,a=[];for(i=0;i<o;i++){for(t=d[i],n=0;n<t.length;n++)a.push(r[t[n]]);a=a.concat(u[i])}return a}(n)),r=(t=h(t)?t:[t]).length;p<r;p++)if(v=k(e,t[p],n,i,o))return v;return v}c.parseDate=function(e,t,n,i){return x(e,t,n,!1,i)},c.parseExactDate=function(e,t,n){return x(e,t,n,!0)},c.parseInt=function(e,t){var n=c.parseFloat(e,t);return n&&(n|=0),n},c.parseFloat=function(n,o,r){if(!n&&0!==n)return null;if(typeof n===D)return n;n=n.toString();var a,s,l=(o=c.getCulture(o)).numberFormat,d=l.percent,u=l.currency,h=u.symbol,p=d.symbol,f=n.indexOf("-");return i.test(n)?(n=parseFloat(n.replace(l["."],".")),isNaN(n)&&(n=null),n):f>0?null:(f=f>-1,n.indexOf(h)>-1||r&&r.toLowerCase().indexOf("c")>-1?(a=(l=u).pattern[0].replace("$",h).split("n"),n.indexOf(a[0])>-1&&n.indexOf(a[1])>-1&&(n=n.replace(a[0],"").replace(a[1],""),f=!0)):n.indexOf(p)>-1&&(s=!0,l=d,h=p),n=n.replace("-","").replace(h,"").replace(e," ").split(l[","].replace(e," ")).join("").replace(t,"").replace(l["."],"."),n=parseFloat(n),isNaN(n)?n=null:f&&(n*=-1),n&&s&&(n/=100),n)}}(),function(){g._scrollbar=s,g.scrollbar=function(e){if(isNaN(g._scrollbar)||e){var t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",document.body.appendChild(n),g._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return g._scrollbar},g.isRtl=function(e){return n(e).closest(".k-rtl").length>0};var e=document.createElement("table");try{e.innerHTML="<tr><td></td></tr>",g.tbodyInnerHtml=!0}catch(e){g.tbodyInnerHtml=!1}g.touch="ontouchstart"in i;let t=document.documentElement.style,o="HTMLElement"in i?HTMLElement.prototype:[];g.transforms=g.transitions={css:"",prefix:"",event:"transitionend"},g.hasHW3D="WebKitCSSMatrix"in i&&"m11"in new i.WebKitCSSMatrix||"MozPerspective"in t||"msPerspective"in t,g.cssFlexbox="flexWrap"in t||"WebkitFlexWrap"in t||"msFlexWrap"in t,e=null,g.devicePixelRatio=i.devicePixelRatio===s?1:i.devicePixelRatio;try{g.screenWidth=i.outerWidth||i.screen?i.screen.availWidth:i.innerWidth,g.screenHeight=i.outerHeight||i.screen?i.screen.availHeight:i.innerHeight}catch(e){g.screenWidth=i.screen.availWidth,g.screenHeight=i.screen.availHeight}g.detectOS=function(e){var t,n=!1,o=[],r=!/mobile safari/i.test(e),a={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/},s={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/},l={tablet:/playbook|ipad|fire/i},c={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,edge:/edge|edg|edgios|edga/i};for(var d in a)if(a.hasOwnProperty(d)&&(o=e.match(a[d]))){if("windows"==d&&"plugins"in navigator)return!1;(n={}).device=d,n.tablet=le(d,l,!1),n.browser=le(e,c,"default"),n.name=le(d,s),n[n.name]=!0,n.majorVersion=o[2],n.minorVersion=(o[3]||"0").replace("_","."),t=n.minorVersion.replace(".","").substr(0,2),n.flatVersion=n.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),n.cordova=typeof i.PhoneGap!==P||typeof i.cordova!==P,n.appMode=i.navigator.standalone||/file|local|wmapp/.test(i.location.protocol)||n.cordova,n.android&&(g.devicePixelRatio<1.5&&n.flatVersion<400||r)&&(g.screenWidth>800||g.screenHeight>800)&&(n.tablet=d);break}return n};var r=g.mobileOS=g.detectOS(navigator.userAgent);g.wpDevicePixelRatio=r.wp?screen.width/320:0,g.hasNativeScrolling=!1,(r.ios||r.android&&r.majorVersion>2||r.wp)&&(g.hasNativeScrolling=r),g.delayedClick=function(){if(g.touch){if(r.ios)return!0;if(r.android)return!g.browser.chrome||!(g.browser.version<32)&&!(n("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},g.mouseAndTouchPresent=g.touch&&!(g.mobileOS.ios||g.mobileOS.android),g.detectBrowser=function(e){var t=!1,n=[],i={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 o in i)if(i.hasOwnProperty(o)&&(n=e.match(i[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10),t.chrome&&e.match(/(edg)[ \/]([\w.]+)/i)&&(t.chromiumEdge=!0);break}return t},g.browser=g.detectBrowser(navigator.userAgent),!r&&g.touch&&g.browser.safari&&(r=g.mobileOS={ios:!0,tablet:"tablet",device:"ipad",majorVersion:13}),g.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return g.browser.chrome&&(e.paste=!1,g.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},g.clipboard=g.detectClipboardAccess(),g.zoomLevel=function(){try{var e=g.browser,t=0,n=document.documentElement;return e.msie&&11==e.version&&n.scrollHeight>n.clientHeight&&!g.touch&&(t=g.scrollbar()),g.touch?n.clientWidth/i.innerWidth:e.msie&&e.version>=10?((top||i).document.documentElement.offsetWidth+t)/(top||i).innerWidth:1}catch(e){return 1}},function(e){var t="",i=n(document.documentElement),o=parseInt(e.version,10);e.msie?t="ie":e.mozilla?t="ff":e.safari?t="safari":e.webkit?t="webkit":e.opera?t="opera":e.edge&&(t="edge"),t&&(t="k-"+t+" k-"+t+o),g.mobileOS&&(t+=" k-mobile"),g.cssFlexbox||(t+=" k-no-flexbox"),i.addClass(t)}(g.browser),g.eventCapture=document.documentElement.addEventListener;var a=document.createElement("input");g.placeholder="placeholder"in a,g.propertyChangeEvent="onpropertychange"in a,g.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,i="test",o={},r=0;r<n;r++)e=t[r],a.setAttribute("type",e),a.value=i,o[e.replace("-","")]="text"!==a.type&&a.value!==i;return o}(),a.style.cssText="float:left;",g.cssFloat=!!a.style.cssFloat,a=null,g.stableSort=function(){for(var e=[{index:0,field:"b"}],t=1;t<513;t++)e.push({index:t,field:"a"});return e.sort((function(e,t){return e.field>t.field?1:e.field<t.field?-1:0})),1===e[0].index}(),g.matchesSelector=o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.matchesSelector||o.matches||function(e){for(var t=document.querySelectorAll?(this.parentNode||document).querySelectorAll(e)||[]:n(e),i=t.length;i--;)if(t[i]==this)return!0;return!1},g.matchMedia="matchMedia"in i,g.pushState=i.history&&i.history.pushState,g.hashChange="onhashchange"in i,g.customElements="registerElement"in i.document;var l=g.browser.chrome,c=g.browser.crios,d=g.browser.mozilla,u=g.browser.safari;g.msPointers=!l&&i.MSPointerEvent,g.pointers=!l&&!c&&!d&&!u&&i.PointerEvent,g.kineticScrollNeeded=r&&("ipad"!==r.device||r.majorVersion<13)&&(g.touch||g.msPointers||g.pointers)}();var ue={};function he(e,t,n,i){return typeof e===H&&($(t)&&(i=t,t=400,n=!1),$(n)&&(i=n,n=!1),typeof t===V&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:i}),d({effects:{},duration:400,reverse:!1,init:p,teardown:p,hide:!1},e,{completeCallback:e.complete,complete:p})}function pe(e,t,i,o,r){for(var a,s=0,l=e.length;s<l;s++)(a=n(e[s])).queue((function(){ue.promise(a,he(t,i,o,r))}));return e}n.extend(ue,{enabled:!0,Element:function(e){this.element=n(e)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),ue.promiseShim=ue.promise,"kendoAnimate"in n.fn||d(n.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,i){return pe(this,e,t,n,i)},kendoAddClass:function(e,t){return c.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return c.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return c.toggleClass(this,e,t,n)}});var fe=/&/g,me=/</g,ve=/"/g,ge=/'/g,_e=/>/g;function be(e,t){return!0===t&&(e=function(e){var t={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"};return e.replace(/&(?:amp|lt|gt|quot|#39);/g,(function(e){return t[e]}))}(e)),(""+e).replace(fe,"&amp;").replace(me,"&lt;").replace(_e,"&gt;").replace(ve,"&quot;").replace(ge,"&#39;")}var ye=function(e){return e.target};g.touch&&(ye=function(e){var t="originalEvent"in e?e.originalEvent.changedTouches:"changedTouches"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},u(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],(function(e,t){n.fn[t]=function(e){return this.on(t,e)}}))),g.touch?g.mobileOS?(g.mousedown="touchstart",g.mouseup="touchend",g.mousemove="touchmove",g.mousecancel="touchcancel",g.click="touchend",g.resize="orientationchange"):(g.mousedown="mousedown touchstart",g.mouseup="mouseup touchend",g.mousemove="mousemove touchmove",g.mousecancel="mouseleave touchcancel",g.click="click",g.resize="resize"):g.pointers?(g.mousemove="pointermove",g.mousedown="pointerdown",g.mouseup="pointerup",g.mousecancel="pointercancel",g.click="pointerup",g.resize="orientationchange resize"):g.msPointers?(g.mousemove="MSPointerMove",g.mousedown="MSPointerDown",g.mouseup="MSPointerUp",g.mousecancel="MSPointerCancel",g.click="MSPointerUp",g.resize="orientationchange resize"):(g.mousemove="mousemove",g.mousedown="mousedown",g.mouseup="mouseup",g.mousecancel="mouseleave",g.click="click",g.resize="resize");var we=/^([a-z]+:)?\/\//i;d(c,{widgets:[],_widgetRegisteredCallbacks:[],ui:c.ui||{},fx:c.fx||function(e){return new c.effects.Element(e)},effects:c.effects||ue,mobile:c.mobile||{},data:c.data||{},dataviz:c.dataviz||{},drawing:c.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,SHIFT:16,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:c.support||g,animate:c.animate||pe,ns:"",attr:function(e){return"data-"+c.ns+e},getShadows:function(e){var t=e.css("box-shadow"),n=t&&t.match(y)||[0,0,0,0,0],i=f.max(+n[3],+(n[4]||0));return{left:-n[1]+i,right:+n[1]+i,bottom:+n[2]+i}},wrap:function(e,t,o,r=!0,a){var s,l=c._outerWidth,d=c._outerHeight,u=e.parent(),h=l(i);if(u.parent().removeClass("k-animation-container-sm"),u.hasClass("k-child-animation-container"))re(e,t,r);else{var p=e[0].style.width,f=e[0].style.height,m=_.test(p),v=_.test(f),g=e.hasClass("k-tooltip")||e.is(".k-menu-horizontal.k-context-menu"),b=e.hasClass("k-tooltip");s=m||v,!m&&(!t||t&&p||g)&&(p=t?l(e,!1,b)+1:l(e,!1,b)),(!v&&(!t||t&&f)||g)&&(f=d(e,!1,b)),e.wrap(n("<div/>").addClass("k-child-animation-container").css({width:a?"auto":p,height:f})),(u=e.parent()).wrap(n("<div/>").addClass("k-animation-container").attr("role","region")),s&&e.css({width:"100%",height:"100%"})}return h<l(u=u.parent())&&(u.addClass("k-animation-container-sm"),o=!0),o&&re(e,t,r),u},deepExtend:ae,getComputedStyles:de,isScrollable:function(e){if("false"===e.dataset[c.ns+"scrollable"])return!1;if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=de(e,["overflow"]).overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},scrollLeft:function e(t,i){var o,r,a=g.browser.webkit,l=g.browser.mozilla,c=g.browser.version;if(t instanceof n&&i!==s)t.each((function(t,n){e(n,i)}));else if(o=t instanceof n?t[0]:t){if(r=g.isRtl(t),i===s)return r&&a&&(c<85||g.browser.safari)?o.scrollWidth-o.clientWidth-o.scrollLeft:Math.abs(o.scrollLeft);r&&a&&(c<85||g.browser.safari)?o.scrollLeft=o.scrollWidth-o.clientWidth-i:o.scrollLeft=r&&(l||a)&&i>0?-i:i}},size:function(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n},toCamelCase:ce,toHyphens:function(e){return e.replace(/([a-z][A-Z])/g,(function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()}))},getOffset:c.getOffset||function(e,t,n){t||(t="offset");var o=e[t](),r={top:o.top,right:o.right,bottom:o.bottom,left:o.left};if(g.browser.msie&&(g.pointers||g.msPointers)&&!n){var a=g.isRtl(e)?1:-1;r.top-=i.pageYOffset-document.documentElement.scrollTop,r.left-=i.pageXOffset+a*document.documentElement.scrollLeft}return r},parseEffects:c.parseEffects||function(e){var t={};return u("string"==typeof e?e.split(" "):e,(function(e){t[e]=this})),t},toggleClass:c.toggleClass||function(e,t,n,i){return t&&(t=t.split(" "),u(t,(function(t,n){e.toggleClass(n,i)}))),e},directions:c.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:K,Class:W,Template:l,template:l.compile.bind(l),render:l.render.bind(l),stringify:v.stringify.bind(v),eventTarget:ye,htmlEncode:be,sanitizeLink:function(e){const t=["http:","https:"];let n="";try{const o=new URL(e,i.location.origin);if(!t.includes(o.protocol))throw new Error("Invalid protocol");n=e}catch{n="#INVALIDLINK"}return be(n)},unescape:function(e){var t;try{t=i.decodeURIComponent(e)}catch(n){t=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,(function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))}))}return t},isLocalUrl:function(e){return e&&!we.test(e)},mediaQuery:r,expr:function(e,t,n){return typeof t==H&&(n=t,t=!1),n=n||"d",(e=e||"")&&"["!==e.charAt(0)&&(e="."+e),t?(e=function(e,t){var n,i,o,r,a=t||"d",s=1;for(i=0,o=e.length;i<o;i++)""!==(r=e[i])&&(0!==(n=r.indexOf("["))&&(-1==n?r="."+r:(s++,r="."+r.substring(0,n)+" || {})"+r.substring(n))),s++,a+=r+(i<o-1?" || {})":")"));return new Array(s).join("(")+a}((e=(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),n),e=e.replace(/_\$DOT\$_/g,".")):e=n+e,e},exprToArray:(e,t)=>(e=e||"").indexOf(".")>=0||e.indexOf("[")>=0?e.split(/[[\].]/).map((e=>e.replace(/["']/g,""))).filter((e=>e)):""===e?[]:[e],getter:function(e,t){var n=e+t;return L[n]=L[n]||(n=>{const i=c.exprToArray(e,t);let o=n;for(let e=0;e<i.length;e++)if(o=o[i[e]],!c.isPresent(o)&&t)return o;return o})},setter:function(e){return R[e]=R[e]||((t,n)=>{const i=c.exprToArray(e),o=({parent:e,val:t,prop:n,props:i})=>{i.length?(e=e[i.shift()],o({parent:e,val:t,prop:n,props:i})):e[n]=t};o({parent:t,val:n,prop:i.pop(),props:i})})},accessor:function(e){return{get:c.getter(e),set:c.setter(e)}},guid:function(){try{return m.randomUUID()}catch(e){return m.getRandomValues(new Uint8Array(16)).reduce(((e,t,n)=>(4!==n&&6!==n&&8!==n&&10!==n||(e+="-"),e+=t.toString(16).padStart(2,"0"))),"")}},roleSelector:function(e){return e.replace(/(\S+)/g,"["+c.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(e){var t=e.split(" ");if(t)for(var n=0;n<t.length;n++)"view"!=t[n]&&(t[n]=t[n].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return t.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=c.widgets.length;t<n;t++)e(c.widgets[t]);c._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,t){var n=i.console;!c.suppressLog&&void 0!==n&&n.log&&n[t||"log"](e)}});var ke=K.extend({init:function(t,n){var i=this;i._showWatermarkOverlay=e,i.element=c.jQuery(t).handler(i),K.fn.init.call(i);var o,r=n?n.dataSource:null;n&&(o=(i.componentTypes||{})[(n||{}).componentType]),r&&(n=d({},n,{dataSource:{}})),n=i.options=d(!0,{},i.options,i.defaults,o||{},n),r&&(n.dataSource=r),i.element.attr(c.attr("role"))||i.element.attr(c.attr("role"),(n.name||"").toLowerCase()),i.element.data("kendo"+n.prefix+n.name,i),i.bind(i.events,n)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",i=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(i)?0:i)},setOptions:function(e){this._clearCssClasses(e),this._setEvents(e),n.extend(this.options,e),this._applyCssClasses()},_setEvents:function(e){for(var t,n=this,i=0,o=n.events.length;i<o;i++)t=n.events[i],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))},getSize:function(){return c.dimensions(this.element)},size:function(e){if(!e)return this.getSize();this.setSize(e)},setSize:n.noop,_resize:n.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()},_destroy:function(){this.destroy()},_applyCssClasses:function(e){var t,n,i,o,r=this.__proto__.options,a=this.options,s=e||this.wrapper||this.element,l=[];if(c.cssProperties.propertyDictionary[r.name]){for(t=0;t<U.length;t++)n=U[t],o=this.options._altname||r.name,r.hasOwnProperty(n)&&("themeColor"===n?(i=c.cssProperties.getValidClass({widget:o,propName:"fillMode",value:a.fillMode}))&&i.length&&l.push(c.cssProperties.getValidClass({widget:o,propName:n,value:a[n],fill:a.fillMode})):l.push(c.cssProperties.getValidClass({widget:o,propName:n,value:a[n]})));s.addClass(l.join(" "))}},_ariaLabel:function(e){var t,i=this.element,o=i.attr("id"),r=n('label[for="'+o+'"]'),a=i.attr(O),s=i.attr(F);e[0]!==i[0]&&(a?e.attr(O,a):s?e.attr(F,s):r.length&&(t=r.attr("id")||this._generateLabelId(r,o||c.guid()),e.attr(F,t)))},_clearCssClasses:function(e,t){var n,i,o,r=this.__proto__.options,a=this.options,s=t||this.wrapper||this.element;if(c.cssProperties.propertyDictionary[r.name])for(n=0;n<U.length;n++)i=U[n],o=this.options._altname||r.name,r.hasOwnProperty(i)&&e.hasOwnProperty(i)&&("themeColor"===i?s.removeClass(c.cssProperties.getValidClass({widget:o,propName:i,value:a[i],fill:a.fillMode})):("fillMode"===i&&s.removeClass(c.cssProperties.getValidClass({widget:o,propName:"themeColor",value:a.themeColor,fill:a.fillMode})),s.removeClass(c.cssProperties.getValidClass({widget:o,propName:i,value:a[i]}))))},_generateLabelId:function(e,t){var n=t+"_label";return e.attr("id",n),n}}),xe=ke.extend({dataItems:function(){return this.dataSource.flatView()}});c.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},c.notify=p;var Ce=/template$/i,ze=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,Se=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,Te=/([A-Z])/g;function Me(e,t,n){let i,o=!1;if(0===t.indexOf("data")&&(t=(t=t.substring(4)).charAt(0).toLowerCase()+t.substring(1)),t=t.replace(Te,"-$1"),i=e.getAttribute("data-"+c.ns+t),null===i&&(i=e.getAttribute("bind:data-"+c.ns+t),o=!0),null===i)i=s;else if("null"===i)i=null;else if("true"===i)i=!0;else if("false"===i)i=!1;else if(w.test(i)&&"mask"!=t&&"format"!=t)i=parseFloat(i);else if(ze.test(i)&&!Se.test(i))try{i=v.parse(i)}catch(e){i=new Function("return ("+i+")")()}else o&&(i=n[i],i instanceof K&&(i=i.toJSON(!0)));return i}function Ie(e,t,i){var o,r,a={},l=e.getAttribute("data-"+c.ns+"role");for(o in t)(r=Me(e,o,i))!==s&&(Ce.test(o)&&"drawer"!=l&&("string"==typeof r?r=He(r)?c.template(n("#"+r).html()):i&&i[r]?c.template(i[r]):c.template(r):$(r)||(r=e.getAttribute(o))),a[o]=r);return a}function He(e){try{return n("#"+e).length}catch(e){}return!1}function De(e,t){return n.contains(e,t)?-1:1}function Ee(){var e=n(this);return n.inArray(e.attr("data-"+c.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||e.is(":visible")}c.initWidget=function(e,t,o,r){var a,l,d,u,h,p,f,m,v,g;if(o?o.roles&&(o=o.roles):o=c.ui.roles,p=(e=e.nodeType?e:e[0]).getAttribute("data-"+c.ns+"role")){d=(v=-1===p.indexOf("."))?o[p]:c.getter(p)(i);var _=n(e).data(),b=d?"kendo"+d.fn.options.prefix+d.fn.options.name:"";for(var y in g=v?new RegExp("^kendo.*"+p+"$","i"):new RegExp("^"+b+"$","i"),_)if(y.match(g)){if(y!==b)return _[y];a=_[y]}if(d){for(m=Me(e,"dataSource"),t=n.extend({},Ie(e,n.extend({},d.fn.options,d.fn.defaults),r),t),m&&(t.dataSource=typeof m===H?c.getter(m)(i):m),u=0,h=d.fn.events.length;u<h;u++)(f=Me(e,l=d.fn.events[u]))!==s&&(t[l]=c.getter(f)(i));return a?n.isEmptyObject(t)||a.setOptions(t):a=new d(e,t),a}}},c.rolesFromNamespaces=function(e){var t,n,i=[];for(e[0]||(e=[c.ui,c.dataviz.ui]),t=0,n=e.length;t<n;t++)i[t]=e[t].roles;return d.apply(null,[{}].concat(i.reverse()))},c.init=function(e){var t=c.rolesFromNamespaces(N.call(arguments,1));n(e).find("[data-"+c.ns+"role]").addBack().each((function(){c.initWidget(this,{},t)}))},c.destroy=function(e){n(e).find("[data-"+c.ns+"role]").addBack().each((function(){var e=n(this).data();for(var t in e)0===t.indexOf("kendo")&&typeof e[t].destroy===I&&e[t].destroy()}))},c.resize=function(e,t){var i=n(e).find("[data-"+c.ns+"role]").addBack().filter(Ee);if(i.length){var o=n.makeArray(i);o.sort(De),n.each(o,(function(){var e=c.widgetInstance(n(this));e&&e.resize(t)}))}},c.parseOptions=Ie,d(c.ui,{Widget:ke,DataBoundWidget:xe,roles:{},progress:function(e,t,i){var o,r,a,s,l,d=e.find(".k-loading-mask"),u=c.support,h=u.browser;l=(i=n.extend({},{width:"100%",height:"100%",top:e.scrollTop(),opacity:!1},i)).opacity?"k-loading-mask k-opaque":"k-loading-mask",t?d.length||(r=(o=u.isRtl(e))?"right":"left",s=c.scrollLeft(e),a=h.webkit&&o?e[0].scrollWidth-e.width()-2*s:0,d=n(c.format("<div class='{0}'><span role='alert' aria-live='polite' class='k-loading-text'>{1}</span><div class='k-loading-image'></div><div class='k-loading-color'></div></div>",l,c.ui.progress.messages.loading)).width(i.width).height(i.height).css("top",i.top).css(r,Math.abs(s)+a).prependTo(e)):d&&d.remove()},plugin:function(e,t,i){var o,r=e.fn.options.name;i=i||"",(t=t||c.ui)[r]=e,t.roles[r.toLowerCase()]=e,o="getKendo"+i+r;var a={name:r="kendo"+i+r,widget:e,prefix:i||""};c.widgets.push(a);for(var l=0,d=c._widgetRegisteredCallbacks.length;l<d;l++)c._widgetRegisteredCallbacks[l](a);n.fn[r]=function(t){var i,o=this;return typeof t===H?(i=N.call(arguments,1),this.each((function(){var e,a,l=n.data(this,r);if(!l)throw new Error(c.format("Cannot call method '{0}' of {1} before it is initialized",t,r));if(typeof(e=l[t])!==I)throw new Error(c.format("Cannot find method '{0}' of {1}",t,r));if((a=e.apply(l,i))!==s)return o=a,!1}))):this.each((function(){return new e(this,t)})),o},n.fn[r].widget=e,n.fn[o]=function(){return this.data(r)}}}),c.ui.progress.messages={loading:"Loading..."};var Ae={bind:function(){return this},nullObject:!0,options:{}},Ve=ke.extend({init:function(e,t){ke.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){ke.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(c.roleSelector("view splitview modalview drawer"));return c.widgetInstance(e,c.mobile.ui)||Ae},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(c.roleSelector("view layout modalview drawer splitview"));return c.widgetInstance(e.eq(0),c.mobile.ui)||Ae}});function Pe(e,t){var i=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(i)?!e.disabled:"a"===i&&e.href||t)&&function(e){return n.expr.pseudos.visible(e)&&!n(e).parents().addBack().filter((function(){return"hidden"===n.css(this,"visibility")})).length}(e)}d(c.mobile,{init:function(e){c.init(e,c.mobile.ui,c.ui,c.dataviz.ui)},roles:{},ui:{Widget:Ve,DataBoundWidget:xe.extend(Ve.prototype),roles:{},plugin:function(e){c.ui.plugin(e,c.mobile.ui,"Mobile")}}}),ae(c.dataviz,{init:function(e){c.init(e,c.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){c.ui.plugin(e,c.dataviz.ui)}},roles:{}}),c.touchScroller=function(e,t){return t||(t={}),t.useNative=!0,n(e).map((function(e,i){return i=n(i),!(!g.kineticScrollNeeded||!c.mobile.ui.Scroller||i.data("kendoMobileScroller"))&&(i.kendoMobileScroller(t),i.data("kendoMobileScroller"))}))[0]},c.preventDefault=function(e){e.preventDefault()},c.widgetInstance=function(e,t){var n,o,r=e.data(c.ns+"role"),a=[],s=e.data("kendoView");if(r){if("content"===r&&(r="scroller"),"view"===r&&s)return s;if(t)if(t[0])for(n=0,o=t.length;n<o;n++)a.push(t[n].roles[r]);else a.push(t.roles[r]);else a=[c.ui.roles[r],c.dataviz.ui.roles[r],c.mobile.ui.roles[r]];for(r.indexOf(".")>=0&&(a=[c.getter(r)(i)]),n=0,o=a.length;n<o;n++){var l=a[n];if(l){var d=e.data("kendo"+l.fn.options.prefix+l.fn.options.name);if(d)return d}}}},c.onResize=function(e){var t=e;return g.mobileOS.android&&(t=function(){setTimeout(e,600)}),n(i).on(g.resize,t),t},c.unbindResize=function(e){n(i).off(g.resize,e)},c.attrValue=function(e,t){return e.data(c.ns+t)},c.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},n.extend(n.expr.pseudos,{kendoFocusable:function(e){var t=n.attr(e,"tabindex");return Pe(e,!isNaN(t)&&t>-1)}});var Be=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],Fe={setupMouseMute:function(){var e=0,t=Be.length,i=document.documentElement;if(!Fe.mouseTrap&&g.eventCapture){Fe.mouseTrap=!0,Fe.bustClick=!1,Fe.captureMouse=!1;for(var o=function(e){Fe.captureMouse&&("click"===e.type?Fe.bustClick&&!n(e.target).is("label, input, [data-rel=external]")&&(e.preventDefault(),e.stopPropagation()):e.stopPropagation())};e<t;e++)i.addEventListener(Be[e],o,!0)}},muteMouse:function(e){Fe.captureMouse=!0,e.data.bustClick&&(Fe.bustClick=!0),clearTimeout(Fe.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(Fe.mouseTrapTimeoutID),Fe.mouseTrapTimeoutID=setTimeout((function(){Fe.captureMouse=!1,Fe.bustClick=!1}),400)}},Oe={down:"touchstart mousedown",move:"mous