@progress/kendo-ui
Version:
This package is part of the [Kendo UI for jQuery](http://www.telerik.com/kendo-ui) suite.
1 lines • 1.83 MB
JavaScript
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t()}((function(){var t={name:"@progress/kendo-ui",productName:"Kendo UI",productCodes:["KENDOUICOMPLETE","KENDOUI","KENDOUI","KENDOUICOMPLETE"],publishDate: 1678810437,version:"2023.1.314".replace(/^\s+|\s+$/g,""),licensingDocsUrl:"https://docs.telerik.com/kendo-ui/intro/installation/using-license-code"};!function(e,i,n){var o,r=i.kendo=i.kendo||{cultures:{}},a=e.extend,s=e.each,l=Array.isArray,h=e.noop,c=Math,u=i.JSON||{},d={},p=/%/,f=/\{(\d+)(:[^\}]+)?\}/g,v=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,m=/^(\+|-?)\d+(\.?)\d*$/,g="function",_="string",b="number",w="object",y="null",x="boolean",k="undefined",C="aria-labelledby",z="aria-label",S={},M={},T=[].slice,A=["themeColor","fillMode","shape","size","rounded","positionMode"],I=function(){var t,e,i,o,r,a,s=arguments,l=arguments[0]||{},h=1,c=arguments.length,u=!1;for("boolean"==typeof l&&(u=l,l=arguments[h]||{},h++),"object"!=typeof l&&"function"!=typeof l&&(l={}),h===c&&(l=this,h--);h<c;h++)if(null!=(r=s[h]))for(o in r)"filters"!=o&&"concat"!=o&&":"!=o&&(t=l[o],l!==(i=r[o])&&(u&&i&&(jQuery.isPlainObject(i)||(e=Array.isArray(i)))?(e?(e=!1,a=t&&Array.isArray(t)?t:[]):a=t&&jQuery.isPlainObject(t)?t:{},l[o]=I(u,a,i)):i!==n&&(l[o]=i)));return l};function H(){}r.version="2023.1.314".replace(/^\s+|\s+$/g,""),H.extend=function(t){var e,i,n=function(){},o=this,r=t&&t.init?t.init:function(){o.apply(this,arguments)};for(e in n.prototype=o.prototype,i=r.fn=r.prototype=new n,t)null!=t[e]&&t[e].constructor===Object?i[e]=a(!0,{},n.prototype[e],t[e]):i[e]=t[e];return i.constructor=r,r.extend=o.extend,r},H.prototype._initOptions=function(t){this.options=q({},this.options,t)};r.isPresent=function(t){return null!==t&&t!==n},r.isBlank=function(t){return null===t||t===n},r.isString=function(t){return"string"==typeof t},r.isNumeric=function(t){return!isNaN(t-parseFloat(t))},r.isDate=function(t){return t&&t.getTime};var V=r.isFunction=function(t){return"function"==typeof t},B=function(){this._defaultPrevented=!0},D=function(){return!0===this._defaultPrevented},E=H.extend({init:function(){this._events={}},bind:function(t,e,i){var o,r,a,s,l=this,h=typeof t===_?[t]:t,c=typeof e===g;if(e===n){for(o in t)l.bind(o,t[o]);return l}for(o=0,r=h.length;o<r;o++)t=h[o],(s=c?e:e[t])&&(i&&(a=s,s=function(){l.unbind(t,s),a.apply(l,arguments)},s.original=a),(l._events[t]=l._events[t]||[]).push(s));return l},one:function(t,e){return this.bind(t,e,!0)},first:function(t,e){var i,n,o,r=this,a=typeof t===_?[t]:t,s=typeof e===g;for(i=0,n=a.length;i<n;i++)t=a[i],(o=s?e:e[t])&&(r._events[t]=r._events[t]||[]).unshift(o);return r},trigger:function(t,e){var i,n,o=this,r=o._events[t];if(r){for((e=e||{}).sender=o,e._defaultPrevented=!1,e.preventDefault=B,e.isDefaultPrevented=D,i=0,n=(r=r.slice()).length;i<n;i++)r[i].call(o,e);return!0===e._defaultPrevented}return!1},unbind:function(t,e){var i,o=this,r=o._events[t];if(t===n)o._events={};else if(r)if(e)for(i=r.length-1;i>=0;i--)r[i]!==e&&r[i].original!==e||r.splice(i,1);else o._events[t]=[];return o}});function P(t,e){if(e)return"'"+t.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var i=t.charAt(0),n=t.substring(1);return"="===i?"+("+n+")+":":"===i?"+$kendoHtmlEncode("+n+")+":";"+t+";$kendoOutput+="}var L=/^\w+/,O=/\$\{([^}]*)\}/g,R=/\\\}/g,F=/__CURLY__/g,N=/\\#/g,j=/__SHARP__/g,U=["","0","00","000","0000"];function G(t,e,i){return(i=(e=e||2)-(t+="").length)?U[e].substring(0,i)+t:t}function W(t,e){var i=r._outerWidth,n=r._outerHeight,o=t.parent(),a=t.closest(".k-animation-container"),s=t.is(":visible"),l=o[0].style,h=t[0].style.height;a.is(":hidden")&&a.css({display:"",position:""}),p.test(l.width)||p.test(l.height)||(s||t.add(o).show(),o.css("width",""),o.css({width:e?i(t)+1:i(t)}),"auto"===h?t.css({height:n(o)}):o.css({height:n(t)}),s||t.hide())}function q(t){var e=arguments,i=1,n=arguments.length;for(i=1;i<n;i++)$(t,e[i]);return t}function $(t,e){var n,o,a,s,l,h=r.data.ObservableArray,c=r.data.LazyObservableArray,u=r.data.DataSource,d=r.data.HierarchicalDataSource;for(n in e)!(s=(a=typeof(o=e[n]))===w&&null!==o?o.constructor:null)||s===Array||s===h||s===c||s===u||s===d||s===RegExp||r.isFunction(i.ArrayBuffer)&&s===ArrayBuffer||o instanceof HTMLElement?a!==k&&(t[n]=o):o instanceof Date?t[n]=new Date(o.getTime()):V(o.clone)?t[n]=o.clone():(l=t[n],t[n]=typeof l===w&&l||{},$(t[n],o));return t}function Y(t,e,i){for(var o in e)if(e.hasOwnProperty(o)&&e[o].test(t))return o;return i!==n?i:t}function X(t){return t.replace(/\-(\w)/g,(function(t,e){return e.toUpperCase()}))}function Q(t,i){var n,o={};return document.defaultView&&document.defaultView.getComputedStyle?(n=document.defaultView.getComputedStyle(t,""),i&&e.each(i,(function(t,e){o[e]=n.getPropertyValue(e)}))):(n=t.currentStyle,i&&e.each(i,(function(t,e){o[e]=n[X(e)]}))),r.size(o)||(o=n),o}o={paramName:"data",useWithBlock:!0,render:function(t,e){var i,n,o="";for(i=0,n=e.length;i<n;i++)o+=t(e[i]);return o},compile:function(t,e){var n,o,s,l=a({},this,e),h=l.paramName,c=h.match(L)[0],u=l.useWithBlock,d="var $kendoOutput, $kendoHtmlEncode = kendo.htmlEncode;";if(V(t))return t;for(d+=u?"with("+h+"){":"",d+="$kendoOutput=",o=t.replace(R,"__CURLY__").replace(O,"#=$kendoHtmlEncode($1)#").replace(F,"}").replace(N,"__SHARP__").split("#"),s=0;s<o.length;s++)d+=P(o[s],s%2==0);d+=u?";}":";",d=(d+="return $kendoOutput;").replace(j,"#");try{return(n=new Function(c,d))._slotCount=Math.floor(o.length/2),n}catch(e){if(!r.debugTemplates)throw new Error(r.format("Invalid template:'{0}' Generated code:'{1}'",t,d));i.console.warn("Invalid template:'"+t+"' Generated code:'"+d+"'")}}},function(){var t,e,i,n=/[\\\"\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(t){return n.lastIndex=0,n.test(t)?'"'+t.replace(n,(function(t){var e=o[t];return typeof e===_?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function s(n,o){var l,h,c,u,d,p,f=t,v=o[n];if(v&&typeof v===w&&typeof v.toJSON===g&&(v=v.toJSON(n)),typeof i===g&&(v=i.call(o,n,v)),(p=typeof v)===_)return a(v);if(p===b)return isFinite(v)?String(v):y;if(p===x||p===y)return String(v);if(p===w){if(!v)return y;if(t+=e,d=[],"[object Array]"===r.apply(v)){for(u=v.length,l=0;l<u;l++)d[l]=s(l,v)||y;return c=0===d.length?"[]":t?"[\n"+t+d.join(",\n"+t)+"\n"+f+"]":"["+d.join(",")+"]",t=f,c}if(i&&typeof i===w)for(u=i.length,l=0;l<u;l++)typeof i[l]===_&&(c=s(h=i[l],v))&&d.push(a(h)+(t?": ":":")+c);else for(h in v)Object.hasOwnProperty.call(v,h)&&(c=s(h,v))&&d.push(a(h)+(t?": ":":")+c);return c=0===d.length?"{}":t?"{\n"+t+d.join(",\n"+t)+"\n"+f+"}":"{"+d.join(",")+"}",t=f,c}}typeof Date.prototype.toJSON!==g&&(Date.prototype.toJSON=function(){var t=this;return isFinite(t.valueOf())?G(t.getUTCFullYear(),4)+"-"+G(t.getUTCMonth()+1)+"-"+G(t.getUTCDate())+"T"+G(t.getUTCHours())+":"+G(t.getUTCMinutes())+":"+G(t.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof u.stringify!==g&&(u.stringify=function(n,o,r){var a;if(t="",e="",typeof r===b)for(a=0;a<r;a+=1)e+=" ";else typeof r===_&&(e=r);if(i=o,o&&typeof o!==g&&(typeof o!==w||typeof o.length!==b))throw new Error("JSON.stringify");return s("",{"":n})})}(),function(){var t=/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,i=/^(n|c|p|e)(\d*)$/i,o=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,a=/\,/g,s="",l=".",h="#",u="0",d="en-US",p={}.toString;function v(t){if(t){if(t.numberFormat)return t;if(typeof t===_){var e=r.cultures;return e[t]||e[t.split("-")[0]]||null}return null}return null}function m(t){return t&&(t=v(t)),t||r.cultures.current}r.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}}},r.culture=function(t){var e,i=r.cultures;if(t===n)return i.current;(e=v(t)||i[d]).calendar=e.calendars.standard,i.current=e},r.findCulture=v,r.getCulture=m,r.culture(d);var g=function(t,e,i,o){var r,a,s,l,h,c,u=t.indexOf(o["."]),d=o.groupSize.slice(),p=d.shift();if(i=-1!==u?u:i+1,(a=(r=t.substring(e,i)).length)>=p){for(s=a,l=[];s>-1;)if((h=r.substring(s-p,s))&&l.push(h),s-=p,0===(p=(c=d.shift())!==n?c:p)){s>0&&l.push(r.substring(0,s));break}r=l.reverse().join(o[","]),t=t.substring(0,e)+r+t.substring(i)}return t},w=function(t,e,i){return e=e||0,t=t.toString().split("e"),t=Math.round(+(t[0]+"e"+(t[1]?+t[1]+e:e))),i&&(t=-t),(t=+((t=t.toString().split("e"))[0]+"e"+(t[1]?+t[1]-e:-e))).toFixed(Math.min(e,20))},y=function(e,r,d){if(r){if("[object Date]"===p.call(e))return function(e,i,o){var r=(o=m(o)).calendars.standard,a=r.days,s=r.months;return(i=r.patterns[i]||i).replace(t,(function(t){var i,o,l;return"d"===t?o=e.getDate():"dd"===t?o=G(e.getDate()):"ddd"===t?o=a.namesAbbr[e.getDay()]:"dddd"===t?o=a.names[e.getDay()]:"M"===t?o=e.getMonth()+1:"MM"===t?o=G(e.getMonth()+1):"MMM"===t?o=s.namesAbbr[e.getMonth()]:"MMMM"===t?o=s.names[e.getMonth()]:"yy"===t?o=G(e.getFullYear()%100):"yyyy"===t?o=G(e.getFullYear(),4):"h"===t?o=e.getHours()%12||12:"hh"===t?o=G(e.getHours()%12||12):"H"===t?o=e.getHours():"HH"===t?o=G(e.getHours()):"m"===t?o=e.getMinutes():"mm"===t?o=G(e.getMinutes()):"s"===t?o=e.getSeconds():"ss"===t?o=G(e.getSeconds()):"f"===t?o=c.floor(e.getMilliseconds()/100):"ff"===t?((o=e.getMilliseconds())>99&&(o=c.floor(o/10)),o=G(o)):"fff"===t?o=G(e.getMilliseconds(),3):"tt"===t?o=e.getHours()<12?r.AM[0]:r.PM[0]:"zzz"===t?(l=(i=e.getTimezoneOffset())<0,o=c.abs(i/60).toString().split(".")[0],i=c.abs(i)-60*o,o=(l?"+":"-")+G(o),o+=":"+G(i)):"zz"!==t&&"z"!==t||(l=(o=e.getTimezoneOffset()/60)<0,o=c.abs(o).toString().split(".")[0],o=(l?"+":"-")+("zz"===t?G(o):o)),o!==n?o:t.slice(1,t.length-1)}))}(e,r,d);if(typeof e===b)return function(t,e,r){var c,d,p,f,v,_,b,y,x,k,C,z,S,M,T,A,I,H,V,B,D=(r=m(r)).numberFormat,E=D["."],P=D.decimals,L=D.pattern[0],O=[],R=t<0,F=s,N=s,j=-1;if(t===n)return s;if(!isFinite(t))return t;if(!e)return r.name.length?t.toLocaleString():t.toString();if(v=i.exec(e)){if(p="p"===(e=v[1].toLowerCase()),((d="c"===e)||p)&&(E=(D=d?D.currency:D.percent)["."],P=D.decimals,c=D.symbol,L=D.pattern[R?0:1]),(f=v[2])&&(P=+f),"e"===e)return(f?t.toExponential(P):t.toExponential()).replace(l,D["."]);if(p&&(t*=100),R=(t=w(t,P))<0,_=(t=t.split(l))[0],b=t[1],R&&(_=_.substring(1)),N=g(_,0,_.length,D),b&&(N+=E+b),"n"===e&&!R)return N;for(t=s,x=0,k=L.length;x<k;x++)t+="n"===(C=L.charAt(x))?N:"$"===C||"%"===C?c:C;return t}if((e.indexOf("'")>-1||e.indexOf('"')>-1||e.indexOf("\\")>-1)&&(e=e.replace(o,(function(t){var e=t.charAt(0).replace("\\",""),i=t.slice(1).replace(e,"");return O.push(i),"??"}))),e=e.split(";"),R&&e[1])e=e[1],S=!0;else if(0===t&&e[2]){if(-1==(e=e[2]).indexOf(h)&&-1==e.indexOf(u))return e}else e=e[0];if((p=-1!=e.indexOf("%"))&&(t*=100),(d=-1!=(V=e.indexOf("$")))&&"\\"===e[V-1]&&(e=e.split("\\").join(""),d=!1),(d||p)&&(E=(D=d?D.currency:D.percent)["."],P=D.decimals,c=D.symbol),(z=e.indexOf(",")>-1)&&(e=e.replace(a,s)),M=e.indexOf(l),k=e.length,-1!=M)if(b=(b=(b=t.toString().split("e"))[1]?w(t,Math.abs(b[1])):b[0]).split(l)[1]||s,I=(A=e.lastIndexOf(u)-M)>-1,H=(T=e.lastIndexOf(h)-M)>-1,x=b.length,I||H||(k=(e=e.substring(0,M)+e.substring(M+1)).length,M=-1,x=0),I&&A>T)x=A;else if(T>A)if(H&&x>T){for(var U=w(t,T,R);U.charAt(U.length-1)===u&&T>0&&T>A;)T--,U=w(t,T,R);x=T}else I&&x<A&&(x=A);if(t=w(t,x,R),T=e.indexOf(h),A=e.indexOf(u),j=-1==T&&-1!=A?A:-1!=T&&-1==A?T:T>A?A:T,T=e.lastIndexOf(h),A=e.lastIndexOf(u),B=-1==T&&-1!=A?A:-1!=T&&-1==A||T>A?T:A,j==k&&(B=j),-1!=j){for(_=(N=t.toString().split(l))[0],b=N[1]||s,y=_.length,b.length,R&&-1*t>=0&&(R=!1),t=e.substring(0,j),R&&!S&&(t+="-"),x=j;x<k;x++){if(C=e.charAt(x),-1==M){if(B-x<y){t+=_;break}}else if(-1!=A&&A<x&&(F=s),M-x<=y&&M-x>-1&&(t+=_,x=M),M===x){t+=(b?E:s)+b,x+=B-M+1;continue}C===u?(t+=C,F=C):C===h&&(t+=F)}if(z&&(t=g(t,j+(R&&!S?1:0),Math.max(B,y+j),D)),B>=j&&(t+=e.substring(B+1)),d||p){for(N=s,x=0,k=t.length;x<k;x++)N+="$"===(C=t.charAt(x))||"%"===C?c:C;t=N}if(k=O.length)for(x=0;x<k;x++)t=t.replace("??",O[x])}return t}(e,r,d)}return e!==n?e:""};r.format=function(t){var e=arguments;return t.replace(f,(function(t,i,n){var o=e[parseInt(i,10)+1];return y(o,n?n.substring(1):"")}))},r._extractFormat=function(t){return"{0:"===t.slice(0,3)&&(t=t.slice(3,t.length-1)),t},r._activeElement=function(){try{return document.activeElement}catch(t){return document.documentElement.activeElement}},r._round=w,r._outerWidth=function(t,i){return e(t).outerWidth(i||!1)||0},r._outerHeight=function(t,i){return e(t).outerHeight(i||!1)||0},r.toString=y}(),function(){var t=/\u00A0/g,i=/\s/g,o=/[eE][\-+]?[0-9]+/,a=/[+|\-]\d{1,2}/,s=/[+|\-]\d{1,2}:?\d{2}/,h=/^\/Date\((.*?)\)\/$/,u=/[+-]\d*/,d=[[],["G","g","F"],["D","d","y","m","T","t"]],p=[["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"]],f={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},v={}.toString;function m(t,e,i){return!(t>=e&&t<=i)}function g(t){return t.charAt(0)}function _(t){return e.map(t,g)}function w(t){for(var e=0,i=t.length,n=[];e<i;e++)n[e]=(t[e]+"").toLowerCase();return n}function y(t){var e,i={};for(e in t)i[e]=w(t[e]);return i}function x(t,e,i,o){if(!t)return null;var l,h,c,u,d,p,v,g,b,w,x,k,C=function(t){for(var i=0;e[P]===t;)i++,P++;return i>0&&(P-=1),i},z=function(e){var i=f[e]||new RegExp("^\\d{1,"+e+"}"),n=t.substr(L,e).match(i);return n?(n=n[0],L+=n.length,parseInt(n,10)):null},S=function(e,i){for(var n,o,r,a=0,s=e.length,l=0,h=0;a<s;a++)o=(n=e[a]).length,r=t.substr(L,o),i&&(r=r.toLowerCase()),r==n&&o>l&&(l=o,h=a);return l?(L+=l,h+1):null},M=function(){var i=!1;return t.charAt(L)===e[P]&&(L++,i=!0),i},T=i.calendars.standard,A=null,I=null,H=null,V=null,B=null,D=null,E=null,P=0,L=0,O=!1,R=new Date,F=T.twoDigitYearMax||2029,N=R.getFullYear();for(e||(e="d"),(u=T.patterns[e])&&(e=u),c=(e=e.split("")).length;P<c;P++)if(l=e[P],O)"'"===l?O=!1:M();else if("d"===l){if(h=C("d"),T._lowerDays||(T._lowerDays=y(T.days)),null!==H&&h>2)continue;if(null===(H=h<3?z(2):S(T._lowerDays[3==h?"namesAbbr":"names"],!0))||m(H,1,31))return null}else if("M"===l){if(h=C("M"),T._lowerMonths||(T._lowerMonths=y(T.months)),null===(I=h<3?z(2):S(T._lowerMonths[3==h?"namesAbbr":"names"],!0))||m(I,1,12))return null;I-=1}else if("y"===l){if(null===(A=z(h=C("y"))))return null;2==h&&("string"==typeof F&&(F=N+parseInt(F,10)),(A=N-N%100+A)>F&&(A-=100))}else if("h"===l){if(C("h"),12==(V=z(2))&&(V=0),null===V||m(V,0,11))return null}else if("H"===l){if(C("H"),null===(V=z(2))||m(V,0,23))return null}else if("m"===l){if(C("m"),null===(B=z(2))||m(B,0,59))return null}else if("s"===l){if(C("s"),null===(D=z(2))||m(D,0,59))return null}else if("f"===l){if(h=C("f"),k=t.substr(L,h).match(f[3]),null!==(E=z(h))&&(E=parseFloat("0."+k[0],10),E=r._round(E,3),E*=1e3),null===E||m(E,0,999))return null}else if("t"===l){if(h=C("t"),g=T.AM,b=T.PM,1===h&&(g=_(g),b=_(b)),!(d=S(b))&&!S(g))return null}else if("z"===l){if(p=!0,h=C("z"),"Z"===t.substr(L,1)){M();continue}if(!(v=t.substr(L,6).match(h>2?s:a)))return null;if(w=(v=v[0].split(":"))[0],!(x=v[1])&&w.length>3&&(L=w.length-2,x=w.substring(L),w=w.substring(0,L)),m(w=parseInt(w,10),-12,13))return null;if(h>2&&(x=v[0][0]+x,x=parseInt(x,10),isNaN(x)||m(x,-59,59)))return null}else if("'"===l)O=!0,M();else if(!M())return null;return o&&!/^\s*$/.test(t.substr(L))?null:(null===A&&null===I&&null===H&&(null!==V||null!==B||D||null)?(A=N,I=R.getMonth(),H=R.getDate()):(null===A&&(A=N),null===H&&(H=1)),d&&V<12&&(V+=12),p?(w&&(V+=-w),x&&(B+=-x),t=new Date(Date.UTC(A,I,H,V,B,D,E))):function(t,e){e||23!==t.getHours()||t.setHours(t.getHours()+2)}(t=new Date(A,I,H,V,B,D,E),V),A<100&&t.setFullYear(A),t.getDate()!==H&&p===n?null:t)}function k(t,e,i,n){if("[object Date]"===v.call(t))return t;var o,a,s,f,m=0,g=null;if(t&&0===t.indexOf("/D")&&(g=h.exec(t)))return g=g[1],a=u.exec(g.substring(1)),g=new Date(parseInt(g,10)),a&&(s=a[0],f="-"===s.substr(0,1)?-1:1,s=s.substring(1),a=f*(60*parseInt(s.substr(0,2),10)+parseInt(s.substring(2),10)),g=r.timezone.apply(g,0),g=r.timezone.convert(g,0,-1*a)),g;for(i=r.getCulture(i),e||(e=function(t){var e,i,n,o=c.max(d.length,p.length),r=(t.calendar||t.calendars.standard).patterns,a=[];for(n=0;n<o;n++){for(e=d[n],i=0;i<e.length;i++)a.push(r[e[i]]);a=a.concat(p[n])}return a}(i)),o=(e=l(e)?e:[e]).length;m<o;m++)if(g=x(t,e[m],i,n))return g;return g}r.parseDate=function(t,e,i){return k(t,e,i,!1)},r.parseExactDate=function(t,e,i){return k(t,e,i,!0)},r.parseInt=function(t,e){var i=r.parseFloat(t,e);return i&&(i|=0),i},r.parseFloat=function(e,n,a){if(!e&&0!==e)return null;if(typeof e===b)return e;e=e.toString();var s,l,h=(n=r.getCulture(n)).numberFormat,c=h.percent,u=h.currency,d=u.symbol,p=c.symbol,f=e.indexOf("-");return o.test(e)?(e=parseFloat(e.replace(h["."],".")),isNaN(e)&&(e=null),e):f>0?null:(f=f>-1,e.indexOf(d)>-1||a&&a.toLowerCase().indexOf("c")>-1?(s=(h=u).pattern[0].replace("$",d).split("n"),e.indexOf(s[0])>-1&&e.indexOf(s[1])>-1&&(e=e.replace(s[0],"").replace(s[1],""),f=!0)):e.indexOf(p)>-1&&(l=!0,h=c,d=p),e=e.replace("-","").replace(d,"").replace(t," ").split(h[","].replace(t," ")).join("").replace(i,"").replace(h["."],"."),e=parseFloat(e),isNaN(e)?e=null:f&&(e*=-1),e&&l&&(e/=100),e)}}(),function(){d._scrollbar=n,d.scrollbar=function(t){if(isNaN(d._scrollbar)||t){var e,i=document.createElement("div");return i.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",i.innerHTML=" ",document.body.appendChild(i),d._scrollbar=e=i.offsetWidth-i.scrollWidth,document.body.removeChild(i),e}return d._scrollbar},d.isRtl=function(t){return e(t).closest(".k-rtl").length>0};var t=document.createElement("table");try{t.innerHTML="<tr><td></td></tr>",d.tbodyInnerHtml=!0}catch(t){d.tbodyInnerHtml=!1}d.touch="ontouchstart"in i;var o=document.documentElement.style,r=d.transitions=!1,a=d.transforms=!1,l="HTMLElement"in i?HTMLElement.prototype:[];d.hasHW3D="WebKitCSSMatrix"in i&&"m11"in new i.WebKitCSSMatrix||"MozPerspective"in o||"msPerspective"in o,d.cssFlexbox="flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,s(["Moz","webkit","O","ms"],(function(){var e=this.toString(),i=typeof t.style[e+"Transition"]===_;if(i||typeof t.style[e+"Transform"]===_){var n=e.toLowerCase();return a={css:"ms"!=n?"-"+n+"-":"",prefix:e,event:"o"===n||"webkit"===n?n:""},i&&((r=a).event=r.event?r.event+"TransitionEnd":"transitionend"),!1}})),t=null,d.transforms=a,d.transitions=r,d.devicePixelRatio=i.devicePixelRatio===n?1:i.devicePixelRatio;try{d.screenWidth=i.outerWidth||i.screen?i.screen.availWidth:i.innerWidth,d.screenHeight=i.outerHeight||i.screen?i.screen.availHeight:i.innerHeight}catch(t){d.screenWidth=i.screen.availWidth,d.screenHeight=i.screen.availHeight}d.detectOS=function(t){var e,n=!1,o=[],r=!/mobile safari/i.test(t),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},h={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(var c in a)if(a.hasOwnProperty(c)&&(o=t.match(a[c]))){if("windows"==c&&"plugins"in navigator)return!1;(n={}).device=c,n.tablet=Y(c,l,!1),n.browser=Y(t,h,"default"),n.name=Y(c,s),n[n.name]=!0,n.majorVersion=o[2],n.minorVersion=(o[3]||"0").replace("_","."),e=n.minorVersion.replace(".","").substr(0,2),n.flatVersion=n.majorVersion+e+new Array(3-(e.length<3?e.length:2)).join("0"),n.cordova=typeof i.PhoneGap!==k||typeof i.cordova!==k,n.appMode=i.navigator.standalone||/file|local|wmapp/.test(i.location.protocol)||n.cordova,n.android&&(d.devicePixelRatio<1.5&&n.flatVersion<400||r)&&(d.screenWidth>800||d.screenHeight>800)&&(n.tablet=c);break}return n};var h=d.mobileOS=d.detectOS(navigator.userAgent);d.wpDevicePixelRatio=h.wp?screen.width/320:0,d.hasNativeScrolling=!1,(h.ios||h.android&&h.majorVersion>2||h.wp)&&(d.hasNativeScrolling=h),d.delayedClick=function(){if(d.touch){if(h.ios)return!0;if(h.android)return!d.browser.chrome||!(d.browser.version<32)&&!(e("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},d.mouseAndTouchPresent=d.touch&&!(d.mobileOS.ios||d.mobileOS.android),d.detectBrowser=function(t){var e=!1,i=[],n={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 n)if(n.hasOwnProperty(o)&&(i=t.match(n[o]))){(e={})[o]=!0,e[i[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,e.version=parseInt(document.documentMode||i[2],10),e.chrome&&t.match(/(edg)[ \/]([\w.]+)/i)&&(e.chromiumEdge=!0);break}return e},d.browser=d.detectBrowser(navigator.userAgent),!h&&d.touch&&d.browser.safari&&(h=d.mobileOS={ios:!0,tablet:"tablet",device:"ipad",majorVersion:13}),d.detectClipboardAccess=function(){var t={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return d.browser.chrome&&(t.paste=!1,d.browser.version>=43&&(t.copy=!0,t.cut=!0)),t},d.clipboard=d.detectClipboardAccess(),d.zoomLevel=function(){try{var t=d.browser,e=0,n=document.documentElement;return t.msie&&11==t.version&&n.scrollHeight>n.clientHeight&&!d.touch&&(e=d.scrollbar()),d.touch?n.clientWidth/i.innerWidth:t.msie&&t.version>=10?((top||i).document.documentElement.offsetWidth+e)/(top||i).innerWidth:1}catch(t){return 1}},function(t){var i="",n=e(document.documentElement),o=parseInt(t.version,10);t.msie?i="ie":t.mozilla?i="ff":t.safari?i="safari":t.webkit?i="webkit":t.opera?i="opera":t.edge&&(i="edge"),i&&(i="k-"+i+" k-"+i+o),d.mobileOS&&(i+=" k-mobile"),d.cssFlexbox||(i+=" k-no-flexbox"),n.addClass(i)}(d.browser),d.eventCapture=document.documentElement.addEventListener;var c=document.createElement("input");d.placeholder="placeholder"in c,d.propertyChangeEvent="onpropertychange"in c,d.input=function(){for(var t,e=["number","date","time","month","week","datetime","datetime-local"],i=e.length,n="test",o={},r=0;r<i;r++)t=e[r],c.setAttribute("type",t),c.value=n,o[t.replace("-","")]="text"!==c.type&&c.value!==n;return o}(),c.style.cssText="float:left;",d.cssFloat=!!c.style.cssFloat,c=null,d.stableSort=function(){for(var t=[{index:0,field:"b"}],e=1;e<513;e++)t.push({index:e,field:"a"});return t.sort((function(t,e){return t.field>e.field?1:t.field<e.field?-1:0})),1===t[0].index}(),d.matchesSelector=l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.matchesSelector||l.matches||function(t){for(var i=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),n=i.length;n--;)if(i[n]==this)return!0;return!1},d.matchMedia="matchMedia"in i,d.pushState=i.history&&i.history.pushState,d.hashChange="onhashchange"in i,d.customElements="registerElement"in i.document;var u=d.browser.chrome,p=d.browser.crios,f=d.browser.mozilla,v=d.browser.safari;d.msPointers=!u&&i.MSPointerEvent,d.pointers=!u&&!p&&!f&&!v&&i.PointerEvent,d.kineticScrollNeeded=h&&("ipad"!==h.device||h.majorVersion<13)&&(d.touch||d.msPointers||d.pointers)}();var K={};function Z(t,e,i,n){return typeof t===_&&(V(e)&&(n=e,e=400,i=!1),V(i)&&(n=i,i=!1),typeof e===x&&(i=e,e=400),t={effects:t,duration:e,reverse:i,complete:n}),a({effects:{},duration:400,reverse:!1,init:h,teardown:h,hide:!1},t,{completeCallback:t.complete,complete:h})}function J(t,i,n,o,r){for(var a,s=0,l=t.length;s<l;s++)(a=e(t[s])).queue((function(){K.promise(a,Z(i,n,o,r))}));return t}e.extend(K,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(t,e){t.is(":visible")||t.css({display:t.data("olddisplay")||"block"}).css("display"),e.hide&&t.data("olddisplay",t.css("display")).hide(),e.init&&e.init(),e.completeCallback&&e.completeCallback(t),t.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),K.promiseShim=K.promise,"kendoAnimate"in e.fn||a(e.fn,{kendoStop:function(t,e){return this.stop(t,e)},kendoAnimate:function(t,e,i,n){return J(this,t,e,i,n)},kendoAddClass:function(t,e){return r.toggleClass(this,t,e,!0)},kendoRemoveClass:function(t,e){return r.toggleClass(this,t,e,!1)},kendoToggleClass:function(t,e,i){return r.toggleClass(this,t,e,i)}});var tt=/&/g,et=/</g,it=/"/g,nt=/'/g,ot=/>/g;var rt=function(t){return t.target};d.touch&&(rt=function(t){var e="originalEvent"in t?t.originalEvent.changedTouches:"changedTouches"in t?t.changedTouches:null;return e?document.elementFromPoint(e[0].clientX,e[0].clientY):t.target},s(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],(function(t,i){e.fn[i]=function(t){return this.on(i,t)}}))),d.touch?d.mobileOS?(d.mousedown="touchstart",d.mouseup="touchend",d.mousemove="touchmove",d.mousecancel="touchcancel",d.click="touchend",d.resize="orientationchange"):(d.mousedown="mousedown touchstart",d.mouseup="mouseup touchend",d.mousemove="mousemove touchmove",d.mousecancel="mouseleave touchcancel",d.click="click",d.resize="resize"):d.pointers?(d.mousemove="pointermove",d.mousedown="pointerdown",d.mouseup="pointerup",d.mousecancel="pointercancel",d.click="pointerup",d.resize="orientationchange resize"):d.msPointers?(d.mousemove="MSPointerMove",d.mousedown="MSPointerDown",d.mouseup="MSPointerUp",d.mousecancel="MSPointerCancel",d.click="MSPointerUp",d.resize="orientationchange resize"):(d.mousemove="mousemove",d.mousedown="mousedown",d.mouseup="mouseup",d.mousecancel="mouseleave",d.click="click",d.resize="resize");var at=/^([a-z]+:)?\/\//i;a(r,{widgets:[],_widgetRegisteredCallbacks:[],ui:r.ui||{},fx:r.fx||function(t){return new r.effects.Element(t)},effects:r.effects||K,mobile:r.mobile||{},data:r.data||{},dataviz:r.dataviz||{},drawing:r.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:r.support||d,animate:r.animate||J,ns:"",attr:function(t){return"data-"+r.ns+t},getShadows:function(t){var e=t.css(r.support.transitions.css+"box-shadow")||t.css("box-shadow"),i=e&&e.match(v)||[0,0,0,0,0],n=c.max(+i[3],+(i[4]||0));return{left:-i[1]+n,right:+i[1]+n,bottom:+i[2]+n}},wrap:function(t,n){var o,a=r._outerWidth,s=r._outerHeight,l=t.parent(),h=a(i);if(l.parent().removeClass("k-animation-container-sm"),l.hasClass("k-child-animation-container"))W(t,n);else{var c=t[0].style.width,u=t[0].style.height,d=p.test(c),f=p.test(u),v=t.hasClass("k-tooltip")||t.is(".k-menu-horizontal.k-context-menu");o=d||f,!d&&(!n||n&&c||v)&&(c=n?a(t)+1:a(t)),(!f&&(!n||n&&u)||t.is(".k-menu-horizontal.k-context-menu"))&&(u=s(t)),t.wrap(e("<div/>").addClass("k-child-animation-container").css({width:c,height:u})),(l=t.parent()).wrap(e("<div/>").addClass("k-animation-container").attr("role","region")),o&&t.css({width:"100%",height:"100%"})}return h<a(l=l.parent())&&(l.addClass("k-animation-container-sm"),W(t,n)),l},deepExtend:q,getComputedStyles:Q,isScrollable:function(t){if("false"===t.dataset[r.ns+"scrollable"])return!1;if(t&&t.className&&"string"==typeof t.className&&t.className.indexOf("k-auto-scrollable")>-1)return!0;var e=Q(t,["overflow"]).overflow;return e.indexOf("auto")>-1||e.indexOf("scroll")>-1},scrollLeft:function t(i,o){var r,a,s=d.browser.webkit,l=d.browser.mozilla,h=d.browser.version;if(i instanceof e&&o!==n)i.each((function(e,i){t(i,o)}));else if(r=i instanceof e?i[0]:i){if(a=d.isRtl(i),o===n)return a&&s&&(h<85||d.browser.safari)?r.scrollWidth-r.clientWidth-r.scrollLeft:Math.abs(r.scrollLeft);a&&s&&(h<85||d.browser.safari)?r.scrollLeft=r.scrollWidth-r.clientWidth-o:r.scrollLeft=a&&(l||s)&&o>0?-o:o}},size:function(t){var e,i=0;for(e in t)t.hasOwnProperty(e)&&"toJSON"!=e&&i++;return i},toCamelCase:X,toHyphens:function(t){return t.replace(/([a-z][A-Z])/g,(function(t){return t.charAt(0)+"-"+t.charAt(1).toLowerCase()}))},getOffset:r.getOffset||function(t,e,n){e||(e="offset");var o=t[e](),r={top:o.top,right:o.right,bottom:o.bottom,left:o.left};if(d.browser.msie&&(d.pointers||d.msPointers)&&!n){var a=d.isRtl(t)?1:-1;r.top-=i.pageYOffset-document.documentElement.scrollTop,r.left-=i.pageXOffset+a*document.documentElement.scrollLeft}return r},parseEffects:r.parseEffects||function(t){var e={};return s("string"==typeof t?t.split(" "):t,(function(t){e[t]=this})),e},toggleClass:r.toggleClass||function(t,e,i,n){return e&&(e=e.split(" "),s(e,(function(e,i){t.toggleClass(i,n)}))),t},directions:r.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:E,Class:H,Template:o,template:o.compile.bind(o),render:o.render.bind(o),stringify:u.stringify.bind(u),eventTarget:rt,htmlEncode:function(t){return(""+t).replace(tt,"&").replace(et,"<").replace(ot,">").replace(it,""").replace(nt,"'")},unescape:function(t){var e;try{e=i.decodeURIComponent(t)}catch(i){e=t.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,(function(t,e,i){return String.fromCharCode(parseInt("0x"+(e||i),16))}))}return e},isLocalUrl:function(t){return t&&!at.test(t)},expr:function(t,e,i){return typeof e==_&&(i=e,e=!1),i=i||"d",(t=t||"")&&"["!==t.charAt(0)&&(t="."+t),e?(t=function(t,e){var i,n,o,r,a=e||"d",s=1;for(n=0,o=t.length;n<o;n++)""!==(r=t[n])&&(0!==(i=r.indexOf("["))&&(-1==i?r="."+r:(s++,r="."+r.substring(0,i)+" || {})"+r.substring(i))),s++,a+=r+(n<o-1?" || {})":")"));return new Array(s).join("(")+a}((t=(t=t.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"')).replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'")).split("."),i),t=t.replace(/_\$DOT\$_/g,".")):t=i+t,t},exprToArray:function(t,e){var i=[];return(t=t||"").replace(/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,(function(t,e,o,a){return i.push(r.isPresent(e)?e:o||a),n})),i},getter:function(t,e){var i=t+e;return S[i]=S[i]||function(i){for(var n=r.exprToArray(t,e),o=i,a=0;a<n.length;a++)if(o=o[n[a]],!r.isPresent(o)&&e)return o;return o}},setter:function(t){return M[t]=M[t]||function(e,i){var n=r.exprToArray(t),o=function(t){var e=t.parent,i=t.val,n=t.prop,r=t.props;r.length?(e=e[r.shift()],o({parent:e,val:i,prop:n,props:r})):e[n]=i};o({parent:e,val:i,prop:n.pop(),props:n})}},accessor:function(t){return{get:r.getter(t),set:r.setter(t)}},guid:function(){var t,e,i="",n="abcdef";for(i+=n[Math.floor(Math.random()*Math.floor(n.length))],t=1;t<32;t++)e=16*c.random()|0,8!=t&&12!=t&&16!=t&&20!=t||(i+="-"),i+=(12==t?4:16==t?3&e|8:e).toString(16);return i},roleSelector:function(t){return t.replace(/(\S+)/g,"["+r.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(t){var e=t.split(" ");if(e)for(var i=0;i<e.length;i++)"view"!=e[i]&&(e[i]=e[i].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return e.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(t){return/^(label|input|textarea|select)$/i.test(t.target.tagName)},onWidgetRegistered:function(t){for(var e=0,i=r.widgets.length;e<i;e++)t(r.widgets[e]);r._widgetRegisteredCallbacks.push(t)},logToConsole:function(t,e){var n=i.console;!r.suppressLog&&void 0!==n&&n.log&&n[e||"log"](t)}});var st=E.extend({init:function(e,i){var n=this;KendoLicensing.validatePackage(t),n.element=r.jQuery(e).handler(n),n.angular("init",i),E.fn.init.call(n);var o,s=i?i.dataSource:null;i&&(o=(n.componentTypes||{})[(i||{}).componentType]),s&&(i=a({},i,{dataSource:{}})),i=n.options=a(!0,{},n.options,n.defaults,o||{},i),s&&(i.dataSource=s),n.element.attr(r.attr("role"))||n.element.attr(r.attr("role"),(i.name||"").toLowerCase()),n.element.data("kendo"+i.prefix+i.name,n),n.bind(n.events,i)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(t){t=t||this.wrapper;var e=this.element,i="tabindex",n=t.attr(i)||e.attr(i);e.removeAttr(i),t.attr(i,isNaN(n)?0:n)},setOptions:function(t){this._clearCssClasses(t),this._setEvents(t),e.extend(this.options,t),this._applyCssClasses()},_setEvents:function(t){for(var e,i=this,n=0,o=i.events.length;n<o;n++)e=i.events[n],i.options[e]&&t[e]&&(i.unbind(e,i.options[e]),i._events&&i._events[e]&&delete i._events[e]);i.bind(i.events,t)},resize:function(t){var e=this.getSize(),i=this._size;(t||(e.width>0||e.height>0)&&(!i||e.width!==i.width||e.height!==i.height))&&(this._size=e,this._resize(e,t),this.trigger("resize",e))},getSize:function(){return r.dimensions(this.element)},size:function(t){if(!t)return this.getSize();this.setSize(t)},setSize:e.noop,_resize:e.noop,destroy:function(){var t=this;t.element.removeData("kendo"+t.options.prefix+t.options.name),t.element.removeData("handler"),t.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(t){this._muteRebind=!0,t.call(this),this._muteRebind=!1},_applyCssClasses:function(t){var e,i,n,o,a=this.__proto__.options,s=this.options,l=t||this.wrapper||this.element,h=[];if(r.cssProperties.propertyDictionary[a.name]){for(e=0;e<A.length;e++)i=A[e],o=this.options._altname||a.name,a.hasOwnProperty(i)&&("themeColor"===i?(n=r.cssProperties.getValidClass({widget:o,propName:"fillMode",value:s.fillMode}))&&n.length&&h.push(r.cssProperties.getValidClass({widget:o,propName:i,value:s[i],fill:s.fillMode})):h.push(r.cssProperties.getValidClass({widget:o,propName:i,value:s[i]})));l.addClass(h.join(" "))}},_ariaLabel:function(t){var i,n=this.element,o=n.attr("id"),a=e('label[for="'+o+'"]'),s=n.attr(z),l=n.attr(C);t[0]!==n[0]&&(s?t.attr(z,s):l?t.attr(C,l):a.length&&(i=a.attr("id")||this._generateLabelId(a,o||r.guid()),t.attr(C,i)))},_clearCssClasses:function(t,e){var i,n,o,a=this.__proto__.options,s=this.options,l=e||this.wrapper||this.element;if(r.cssProperties.propertyDictionary[a.name])for(i=0;i<A.length;i++)n=A[i],o=this.options._altname||a.name,a.hasOwnProperty(n)&&t.hasOwnProperty(n)&&("themeColor"===n?l.removeClass(r.cssProperties.getValidClass({widget:o,propName:n,value:s[n],fill:s.fillMode})):("fillMode"===n&&l.removeClass(r.cssProperties.getValidClass({widget:o,propName:"themeColor",value:s.themeColor,fill:s.fillMode})),l.removeClass(r.cssProperties.getValidClass({widget:o,propName:n,value:s[n]}))))},_generateLabelId:function(t,e){var i=e+"_label";return t.attr("id",i),i}}),lt=st.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(t){var i=this;i.angular(t,(function(){return{elements:i.items(),data:e.map(i.dataItems(),(function(t){return{dataItem:t}}))}}))}});r.dimensions=function(t,e){var i=t[0];return e&&t.css(e),{width:i.offsetWidth,height:i.offsetHeight}},r.notify=h;var ht=/template$/i,ct=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,ut=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,dt=/([A-Z])/g;function pt(t,e){var i;if(0===e.indexOf("data")&&(e=(e=e.substring(4)).charAt(0).toLowerCase()+e.substring(1)),e=e.replace(dt,"-$1"),null===(i=t.getAttribute("data-"+r.ns+e)))i=n;else if("null"===i)i=null;else if("true"===i)i=!0;else if("false"===i)i=!1;else if(m.test(i)&&"mask"!=e&&"format"!=e)i=parseFloat(i);else if(ct.test(i)&&!ut.test(i))try{i=u.parse(i)}catch(t){i=new Function("return ("+i+")")()}return i}function ft(t,i,o){var a,s,l={},h=t.getAttribute("data-"+r.ns+"role");for(a in i)(s=pt(t,a))!==n&&(ht.test(a)&&"drawer"!=h&&("string"==typeof s?e("#"+s).length?s=r.template(e("#"+s).html()):o&&(s=r.template(o[s])):s=t.getAttribute(a)),l[a]=s);return l}function vt(t,i){return e.contains(t,i)?-1:1}function mt(){var t=e(this);return e.inArray(t.attr("data-"+r.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||t.is(":visible")}r.initWidget=function(t,o,a){var s,l,h,c,u,d,p,f,v,m;if(a?a.roles&&(a=a.roles):a=r.ui.roles,d=(t=t.nodeType?t:t[0]).getAttribute("data-"+r.ns+"role")){h=(v=-1===d.indexOf("."))?a[d]:r.getter(d)(i);var g=e(t).data(),b=h?"kendo"+h.fn.options.prefix+h.fn.options.name:"";for(var w in m=v?new RegExp("^kendo.*"+d+"$","i"):new RegExp("^"+b+"$","i"),g)if(w.match(m)){if(w!==b)return g[w];s=g[w]}if(h){for(f=pt(t,"dataSource"),o=e.extend({},ft(t,e.extend({},h.fn.options,h.fn.defaults)),o),f&&(o.dataSource=typeof f===_?r.getter(f)(i):f),c=0,u=h.fn.events.length;c<u;c++)(p=pt(t,l=h.fn.events[c]))!==n&&(o[l]=r.getter(p)(i));return s?e.isEmptyObject(o)||s.setOptions(o):s=new h(t,o),s}}},r.rolesFromNamespaces=function(t){var e,i,n=[];for(t[0]||(t=[r.ui,r.dataviz.ui]),e=0,i=t.length;e<i;e++)n[e]=t[e].roles;return a.apply(null,[{}].concat(n.reverse()))},r.init=function(t){var i=r.rolesFromNamespaces(T.call(arguments,1));e(t).find("[data-"+r.ns+"role]").addBack().each((function(){r.initWidget(this,{},i)}))},r.destroy=function(t){e(t).find("[data-"+r.ns+"role]").addBack().each((function(){var t=e(this).data();for(var i in t)0===i.indexOf("kendo")&&typeof t[i].destroy===g&&t[i].destroy()}))},r.resize=function(t,i){var n=e(t).find("[data-"+r.ns+"role]").addBack().filter(mt);if(n.length){var o=e.makeArray(n);o.sort(vt),e.each(o,(function(){var t=r.widgetInstance(e(this));t&&t.resize(i)}))}},r.parseOptions=ft,a(r.ui,{Widget:st,DataBoundWidget:lt,roles:{},progress:function(t,i,n){var o,a,s,l,h,c=t.find(".k-loading-mask"),u=r.support,d=u.browser;h=(n=e.extend({},{width:"100%",height:"100%",top:t.scrollTop(),opacity:!1},n)).opacity?"k-loading-mask k-opaque":"k-loading-mask",i?c.length||(a=(o=u.isRtl(t))?"right":"left",l=r.scrollLeft(t),s=d.webkit&&o?t[0].scrollWidth-t.width()-2*l:0,c=e(r.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>",h,r.ui.progress.messages.loading)).width(n.width).height(n.height).css("top",n.top).css(a,Math.abs(l)+s).prependTo(t)):c&&c.remove()},plugin:function(t,i,o){var a,s=t.fn.options.name;o=o||"",(i=i||r.ui)[s]=t,i.roles[s.toLowerCase()]=t,a="getKendo"+o+s;var l={name:s="kendo"+o+s,widget:t,prefix:o||""};r.widgets.push(l);for(var h=0,c=r._widgetRegisteredCallbacks.length;h<c;h++)r._widgetRegisteredCallbacks[h](l);e.fn[s]=function(i){var o,a=this;return typeof i===_?(o=T.call(arguments,1),this.each((function(){var t,l,h=e.data(this,s);if(!h)throw new Error(r.format("Cannot call method '{0}' of {1} before it is initialized",i,s));if(typeof(t=h[i])!==g)throw new Error(r.format("Cannot find method '{0}' of {1}",i,s));if((l=t.apply(h,o))!==n)return a=l,!1}))):this.each((function(){return new t(this,i)})),a},e.fn[s].widget=t,e.fn[a]=function(){return this.data(s)}}}),r.ui.progress.messages={loading:"Loading..."};var gt={bind:function(){return this},nullObject:!0,options:{}},_t=st.extend({init:function(t,e){st.fn.init.call(this,t,e),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){st.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var t=this.element.closest(r.roleSelector("view splitview modalview drawer"));return r.widgetInstance(t,r.mobile.ui)||gt},viewHasNativeScrolling:function(){var t=this.view();return t&&t.options.useNativeScrolling},container:function(){var t=this.element.closest(r.roleSelector("view layout modalview drawer splitview"));return r.widgetInstance(t.eq(0),r.mobile.ui)||gt}});function bt(t,i){var n=t.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!t.disabled:"a"===n&&t.href||i)&&function(t){return e.expr.pseudos.visible(t)&&!e(t).parents().addBack().filter((function(){return"hidden"===e.css(this,"visibility")})).length}(t)}a(r.mobile,{init:function(t){r.init(t,r.mobile.ui,r.ui,r.dataviz.ui)},appLevelNativeScrolling:function(){return r.mobile.application&&r.mobile.application.options&&r.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:_t,DataBoundWidget:lt.extend(_t.prototype),roles:{},plugin:function(t){r.ui.plugin(t,r.mobile.ui,"Mobile")}}}),q(r.dataviz,{init:function(t){r.init(t,r.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(t){r.ui.plugin(t,r.dataviz.ui)}},roles:{}}),r.touchScroller=function(t,i){return i||(i={}),i.useNative=!0,e(t).map((function(t,n){return n=e(n),!(!d.kineticScrollNeeded||!r.mobile.ui.Scroller||n.data("kendoMobileScroller"))&&(n.kendoMobileScroller(i),n.data("kendoMobileScroller"))}))[0]},r.preventDefault=function(t){t.preventDefault()},r.widgetInstance=function(t,e){var n,o,a=t.data(r.ns+"role"),s=[],l=t.data("kendoView");if(a){if("content"===a&&(a="scroller"),"view"===a&&l)return l;if(e)if(e[0])for(n=0,o=e.length;n<o;n++)s.push(e[n].roles[a]);else s.push(e.roles[a]);else s=[r.ui.roles[a],r.dataviz.ui.roles[a],r.mobile.ui.roles[a]];for(a.indexOf(".")>=0&&(s=[r.getter(a)(i)]),n=0,o=s.length;n<o;n++){var h=s[n];if(h){var c=t.data("kendo"+h.fn.options.prefix+h.fn.options.name);if(c)return c}}}},r.onResize=function(t){var n=t;return d.mobileOS.android&&(n=function(){setTimeout(t,600)}),e(i).on(d.resize,n),n},r.unbindResize=function(t){e(i).off(d.resize,t)},r.attrValue=function(t,e){return t.data(r.ns+e)},r.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr.pseudos,{kendoFocusable:function(t){var i=e.attr(t,"tabindex");return bt(t,!isNaN(i)&&i>-1)}});var wt=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],yt={setupMouseMute:function(){var t=0,i=wt.length,n=document.documentElement;if(!yt.mouseTrap&&d.eventCapture){yt.mouseTrap=!0,yt.bustClick=!1,yt.captureMouse=!1;for(var o=function(t){yt.captureMouse&&("click"===t.type?yt.bustClick&&!e(t.target).is("label, input, [data-rel=external]")&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};t<i;t++)n.addEventListener(wt[t],o,!0)}},muteMouse:function(t){yt.captureMouse=!0,t.data.bustClick&&(yt.bustClick=!0),clearTimeout(yt.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(yt.mouseTrapTimeoutID),yt.mouseTrapTimeoutID=setTimeout((function(){yt.captureMouse=!1,yt.bustClick=!1}),400)}},xt={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"};d.touch&&(d.mobileOS.ios||d.mobileOS.android)?xt={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:d.pointers?xt={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:d.msPointers&&(xt={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),d.msPointers&&!("onmspointerenter"in i)&&e.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},(function(t,i){e.event.special[t]={delegateType:i,bindType:i,handle:function(t){var n,o=this,r=t.relatedTarget,a=t.handleObj;return r&&(r===o||e.contains(o,r))||(t.type=a.origType,n=a.handler.apply(this,arguments),t.type=i),n}}}));var kt=function(t){return xt[t]||t},Ct=/([^ ]+)/g;r.applyEventMap=function(t,e){return t=t.replace(Ct,kt),e&&(t=t.replace(Ct,"$1."+e)),t},r.keyDownHandler=function(t,e){var i=e._events.kendoKeydown;if(!i)return!0;i=i.slice(),t.sender=e,t.preventKendoKeydown=!1;for(var n=0,o=i.length;n<o;n++)i[n].call(e,t);return!t.preventKendoKeydown};var zt=e.fn.on;function St(t,e){return new St.fn.init(t,e)}I(!0,St,e),St.fn=St.prototype=new e,St.fn.constructor=St,St.fn.init=function(t,i){return i&&i instanceof e&&!(i instanceof St)&&(i=St(i)),e.fn.init.call(this,t,i,Mt)},St.fn.init.prototype=St.fn;var Mt=St(document);a(St.fn,{handler:function(t){return this.data("handler",t),this},autoApplyNS:function(t){return this.data("kendoNS",t||r.guid()),this},on:function(){var t=this,e=t.data("kendoNS");if(1===arguments.length)return zt.call(t,arguments[0]);var i=t,n=T.call(arguments);typeof n[n.length-1]===k&&n.pop();var o=n[n.length-1],a=r.applyEventMap(n[0],e);if(d.mouseAndTouchPresent&&a.search(/mouse|click/)>-1&&this[0]!==document.documentElement){yt.setupMouseMute();var s=2===n.length?null:n[1],l=a.indexOf("click")>-1&&a.indexOf("touchend")>-1;zt.call(this,{touchstart:yt.muteMouse,touchend:yt.unMuteMouse},s,{bustClick:l})}if(-1!==arguments[0].indexOf("keydown")&&n[1]&&n[1].options){n[0]=a;var h=n[1],c=n[n.length-1];return n[n.length-1]=function(t){if(r.keyDownHandler(t,h))return c.apply(this,[t])},zt.apply(t,n),t}return typeof o===_&&(i=t.data("handler"),o=i[o],n[n.length-1]=function(t){o.call(i,t)}),n[0]=a,zt.apply(t,n),t},kendoDestroy:function(t){return(t=t||this.data("kendoNS"))&&this.off("."+t),this}}),r.jQuery=St,r.eventMap=xt,r.timezone=function(){var t={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},e={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};function i(i,n){var o,r,a,s=n[3],l=n[4],h=n[5],c=n[8];return c||(n[8]=c={}),c[i]?c[i]:(isNaN(l)?0===l.indexOf("last")?(o=new Date(Date.UTC(i,t[s]+1,1,h[0]-24,h[1],h[2],0)),r=e[l.substr(4,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a-(r>a?7:0))):l.indexOf(">=")>=0?(o=new Date(Date.UTC(i,t[s],l.substr(5),h[0],h[1],h[2],0)),r=e[l.substr(0,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a+(r<a?7:0))):l.indexOf("<=")>=0&&(o=new Date(Date.UTC(i,t[s],l.substr(5),h[0],h[1],h[2],0)),r=e[l.substr(0,3)],a=o.getUTCDay(),o.setUTCDate(o.getUTCDate()+r-a-(r>a?7:0))):o=new Date(Date.UTC(i,t[s],l,h[0],h[1],h[2],0)),c[i]=o)}function n(t,e,n){if(!(e=e[n])){var o=n.split(":"),r=0;return o.length>1&&(r=60*o[0]+Number(o[1])),[-1e6,"max","-","Jan",1,[0,0,0],r,"-"]}var a=new Date(t).getUTCFullYear();e=jQuery.grep(e,(function(t){var e=t[0],i=t[1];return e<=a&&(i>=a||e==a&&"only"==i||"max"==i)})),e.push(t),e.sort((function(t,e){return"number"!=typeof t&&(t=Number(i(a,t))),"number"!=typeof e&&(e=Number(i(a,e))),t-e}));var s=e[jQuery.inArray(t,e)-1]||e[e.length-1];return isNaN(s)?s:null}function o(t,e,i,o){typeof t!=b&&(t=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));var r=function(t,e,i){var n=e[i];if("string"==typeof n&&(n=e[n]),!n)throw new Error('Timezone "'+i+'" is either incorrect, or kendo.timezones.min.js is not included.');for(var o=n.length-1;o>=0;o--){var r=n[o][3];if(r&&t>r)break}var a=n[o+1];if(!a)throw new Error('Timezone "'+i+'" not found on '+t+".");return a}(t,e,o);return{zone:r,rule:n(t,i,r[1])}}return{zones:{},rules:{},offset:function(t,e){if("Etc/UTC"==e||"Etc/GMT"==e)return 0;var i=o(t,this.zones,this.rules,e),n=i.zone,a=i.rule;return r.parseFloat(a?n[0]-a[6]:n[0])},convert:function(t,e,i){var n,o=i;typeof e==_&&(e=this.offset(t,e)),typeof i==_&&(i=this.offset(t,i));var r=t.getTimezoneOffset(),a=(t=new Date(t.getTime()+6e4*(e-i))).getTimezoneOffset();return typeof o==_&&(o=this.offset(t,o)),n=a-r+(i-o),new Date(t.getTime()+6e4*n)},apply:function(t,e){return this.convert(t,t.getTimezoneOffset(),e)},remove:function(t,e){return this.convert(t,e,t.getTimezoneOffset())},abbr:function(t,e){var i=o(t,this.zones,this.rules,e),n=i.zone,r=i.rule,a=n[2];return a.indexOf("/")>=0?a.split("/")[r&&+r[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",r&&"-"!=r[7]?r[7]:""):a},toLocalDate:function(t){return this.apply(new Date(t),"Etc/UTC")}}}(),r.date=function(){var t=6e4,e=864e5;function i(t,e){return 0===e&&23===t.getHours()&&(t.setHours(t.getHours()+2),!0)}function o(t,e,n){var o=t.getHours();n=n||1,e=(e-t.getDay()+7*n)%7,t.setDate(t.getDate()+e),i(t,o)}function a(t,e,i){return o(t=new Date(t),e,i),t}function s(t){return new Date(t.getFullYear(),t.getMonth(),1)}function l(t,i){var n=new Date(t.getFullYear(),0,1,-6),o=function(t,e){return 1!==e?u(a(t,e,-1),4):u(t,4-(t.getDay()||7))}(t,i),r=o.getTime()-n.getTime(),s=Math.floor(r/e);return 1+Math.floor(s/7)}function h(t){return i(t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),0),t}function c(t){return f(t).getTime()-h(f(t))}function u(t,n){var o=t.getHours();return d(t=new Date(t),