UNPKG

@progress/kendo-ui

Version:

This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.

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