#:data#<\/td><\/tr>":"ul"==r||"ol"==r?"#:data#<\/li>":"#:data#",t=i.template(t)),t},add:function(t,r){var s,u,h,f,e=this.container(),o=e.cloneNode(!1),c=e.children[t];if(n(o).html(i.render(this.template(),r)),o.children.length)for(s=this.bindings.source._parents(),u=0,h=r.length;u-1?n.splice(r,1):n.push(t)}else this.bindings[a].set(t)},refresh:function(){var o,r,n=this.bindings[a].get(),u=n,s=this.dataType(),f=this.element;if("checkbox"==f.type)if(u instanceof e){if(o=-1,n=this.parsedValue(),n instanceof Date){for(r=0;r=0}else f.checked=u;else"radio"==f.type&&("date"==s?n=i.toString(n,"yyyy-MM-dd"):"datetime-local"==s&&(n=i.toString(n,"yyyy-MM-ddTHH:mm:ss")),f.checked=null!==n&&t!==n&&f.value===""+n)},value:function(){var n=this.element,t=n.value;return"checkbox"==n.type&&(t=n.checked),t},destroy:function(){n(this.element).off(u,this._change)}})};f.select={source:f.source.extend({refresh:function(r){var f,u=this,o=u.bindings.source.get();o instanceof e||o instanceof i.data.DataSource?(r=r||{},"add"==r.action?u.add(r.index,r.items):"remove"==r.action?u.remove(r.index,r.items):"itemchange"!=r.action&&r.action!==t||(u.render(),u.bindings.value&&u.bindings.value&&(f=ut(u.bindings.value.get(),n(u.element).data("valueField")),null===f?u.element.selectedIndex=-1:u.element.value=f))):u.render()}}),value:v.extend({init:function(t,i,r){v.fn.init.call(this,t,i,r);this._change=c(this.change,this);n(this.element).change(this._change)},parsedValue:function(){for(var n,t,f=this.dataType(),u=[],i=0,r=this.element.options.length;i1&&(e.direction=t&&o?c[f].reverse:f);i[u[0]]=e}):a(n,function(n){var r=this.direction;r&&t&&!fi.test(n)&&(this.direction=c[r].reverse);i[n]=this}),i};o&&u(r,{transition:function(t,i,r){var h,f,c,e,a=0,l=t.data("keys")||[];r=u({duration:200,ease:"ease-out",complete:null,exclusive:"all"},r);c=!1;e=function(){c||(c=!0,f&&(clearTimeout(f),f=null),t.removeData(oi).dequeue().css(y,"").css(y),r.complete.call(t))};r.duration=n.fx?n.fx.speeds[r.duration]||r.duration:r.duration;h=ut(t,i);n.merge(l,li(h));n.hasOwnProperty("uniqueSort")?t.data("keys",n.uniqueSort(l)).height():t.data("keys",n.unique(l)).height();t.css(y,r.exclusive+" "+r.duration+"ms "+r.ease).css(y);t.css(h).css(s);o.event&&(t.one(o.event,e),0!==r.duration&&(a=500));f=setTimeout(e,r.duration+a);t.data(oi,f);t.data(si,e)},stopQueue:function(n,t,r){var u,f=n.data("keys"),e=!r&&f,o=n.data(si);return e&&(u=i.getComputedStyles(n[0],f)),o&&o(),e&&n.css(u),n.removeData("keys").stop(t)}});et=i.Class.extend({init:function(n,t){var i=this;i.element=n;i.effects=[];i.options=t;i.restore=[]},run:function(t){var l,h,v,p,w,k,d,a=this,g=t.length,c=a.element,i=a.options,b=n.Deferred(),e={},y={};for(a.effects=t,b.done(n.proxy(a,"complete")),c.data("animating",!0),h=0;h=this.duration},timePassed:function(){return Math.min(this.duration,new Date-this.startDate)},moveTo:function(n){var t=this,i=t.movable;t.initial=i[t.axis];t.delta=n.location-t.initial;t.duration="number"==typeof n.duration?n.duration:300;t.tick=t._easeProxy(n.ease);t.startDate=new Date;t.start()},_easeProxy:function(n){var t=this;return function(){t.movable.moveAxis(t.axis,n(t.timePassed(),t.initial,t.delta,t.duration))}}});u(st,{easeOutExpo:function(n,t,i,r){return n==r?t+i:i*(-Math.pow(2,-10*n/r)+1)+t},easeOutBack:function(n,t,i,r,u){return u=1.70158,i*((n=n/r-1)*n*((u+1)*n+u)+1)+t}});r.Animation=k;r.Transition=st;r.createEffect=e;r.box=function(t){t=n(t);var r=t.offset();return r.width=i._outerWidth(t),r.height=i._outerHeight(t),r};r.transformOrigin=function(n,t){var i=(n.left-t.left)*t.width/(t.width-n.width),r=(n.top-t.top)*t.height/(t.height-n.height);return{x:isNaN(i)?0:i,y:isNaN(r)?0:r}};r.fillScale=function(n,t){return Math.min(n.width/t.width,n.height/t.height)};r.fitScale=function(n,t){return Math.max(n.width/t.width,n.height/t.height)}}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.view.min",["kendo.core.min","kendo.binder.min","kendo.fx.min"],n)}(function(){return function(n){function g(n){if(!n)return{};var t=n.match(ct)||[];return{type:t[1],direction:t[3],reverse:"reverse"===t[5]}}var t=window.kendo,e=t.attr,nt=t.ui,tt=t.attrValue,it=t.directiveSelector,u=t.Observable,h=t.ui.Widget,i=t.roleSelector,rt="SCRIPT",c="init",l="transitionStart",a="transitionEnd",v="show",y="hide",ut="attach",ft="detach",et=/unrecognized expression/,ot=/]*>(([\u000a\u000d\u2028\u2029]|.)*)<\/body>/i,o="showStart",p="sameViewRequested",w="viewShow",b="viewTypeDetermined",s="after",r={content:"k-content",view:"k-view",stretchedView:"k-stretched-view",widget:"k-widget",header:"k-header",footer:"k-footer"},f=t.ui.Widget.extend({init:function(i,r){var f=this;r=r||{};f.id=t.guid();u.fn.init.call(f);this.options=n.extend({},this.options,r);f.content=i;f.options.renderOnInit&&h.fn.init.call(f,f._createElement(),r);f.options.wrapInSections&&f._renderSections();f.tagName=r.tagName||"div";f.model=r.model;f._wrap=r.wrap!==!1;this._evalTemplate=r.evalTemplate||!1;this._useWithBlock=r.useWithBlock;f._fragments={};f.bind([c,v,y,l,a],r)},options:{name:"View",renderOnInit:!1,wrapInSections:!1,detachOnHide:!0,detachOnDestroy:!0},render:function(i){var r=this,u=!r.element;return u&&(r.element=r._createElement()),i&&n(i).append(r.element),u&&(t.bind(r.element,r.model),r.trigger(c)),i&&(r._eachFragment(ut),r.trigger(v)),r.element},clone:function(){return new k(this)},triggerBeforeShow:function(){return!0},triggerBeforeHide:function(){return!0},showStart:function(){var t=this,n=t.render();n&&n.css("display","");this.trigger(o,{view:this})},showEnd:function(){},hideEnd:function(){this.hide()},beforeTransition:function(n){this.trigger(l,{type:n})},afterTransition:function(n){this.trigger(a,{type:n})},hide:function(){this.options.detachOnHide&&(this._eachFragment(ft),n(this.element).detach());this.trigger(y)},destroy:function(){var i=this,n=i.element;n&&(h.fn.destroy.call(i),t.unbind(n),t.destroy(n),i.options.detachOnDestroy&&n.remove())},purge:function(){var t=this;t.destroy();n(t.element).add(t.content).add(t.wrapper).off().remove()},fragments:function(t){n.extend(this._fragments,t)},_eachFragment:function(n){for(var t in this._fragments)this._fragments[t][n](this,t)},_createElement:function(){var u,i,f,r=this,e="<"+r.tagName+">";try{i=n(document.getElementById(r.content)||r.content);i[0].tagName===rt&&(i=i.html())}catch(o){et.test(o.message)&&(i=r.content)}return"string"==typeof i?(i=i.replace(/^\s+|\s+$/g,""),r._evalTemplate&&(i=t.template(i,{useWithBlock:r._useWithBlock})(r.model||{})),u=n(e).append(i),r._wrap||(u=u.contents())):(u=i,r._evalTemplate&&(f=n(t.template(n("").append(u.clone(!0)).html(),{useWithBlock:r._useWithBlock})(r.model||{})),n.contains(document,u[0])&&u.replaceWith(f),u=f),r._wrap&&(u=u.wrapAll(e).parent())),u},_renderSections:function(){var n=this;n.options.wrapInSections&&(n._wrapper(),n._createContent(),n._createHeader(),n._createFooter())},_wrapper:function(){var n,u=this,f=u.content;u.wrapper=f.is(i("view"))?u.content:f.wrap("<\/div>').parent();n=u.wrapper;n.attr("id",u.id);n.addClass(r.view);n.addClass(r.widget);n.attr("role","view")},_createContent:function(){var u,f=this,t=n(f.wrapper),o=i("content");t.children(o)[0]||(u=t.children().filter(function(){var t=n(this);if(!t.is(i("header"))&&!t.is(i("footer")))return t}),u.wrap(" <\/div>'));this.contentElement=t.children(i("content"));this.contentElement.addClass(r.stretchedView).addClass(r.content)},_createHeader:function(){var n=this,t=n.wrapper;this.header=t.children(i("header")).addClass(r.header)},_createFooter:function(){var n=this,t=n.wrapper;this.footer=t.children(i("footer")).addClass(r.footer)}}),k=t.Class.extend({init:function(t){n.extend(this,{element:t.element.clone(!0),transition:t.transition,id:t.id});t.element.parent().append(this.element)},hideEnd:function(){this.element.remove()},beforeTransition:n.noop,afterTransition:n.noop}),st=f.extend({init:function(n,t){f.fn.init.call(this,n,t);this.containers={}},container:function(n){var t=this.containers[n];return t||(t=this._createContainer(n),this.containers[n]=t),t},showIn:function(n,t,i){this.container(n).show(t,i)},_createContainer:function(n){var r,t=this.render(),i=t.find(n);if(!i.length&&t.is(n)){if(!t.is(n))throw Error("can't find a container with the specified "+n+" selector");i=t}return r=new d(i),r.bind("accepted",function(n){n.view.render(i)}),r}}),ht=f.extend({attach:function(n,t){n.element.find(t).replaceWith(this.render())},detach:function(){}}),ct=/^(\w+)(:(\w+))?( (\w+))?$/,d=u.extend({init:function(n){u.fn.init.call(this);this.container=n;this.history=[];this.view=null;this.running=!1},after:function(){this.running=!1;this.trigger("complete",{view:this.view});this.trigger("after")},end:function(){this.view.showEnd();this.previous.hideEnd();this.after()},show:function(n,i,r){if(!n.triggerBeforeShow()||this.view&&!this.view.triggerBeforeHide())return this.trigger("after"),!1;r=r||n.id;var u=this,e=n===u.view?n.clone():u.view,f=u.history,c=f[f.length-2]||{},h=c.id===r,o=i||(h?f[f.length-1].transition:n.transition),s=g(o);return u.running&&u.effect.stop(),"none"===o&&(o=null),u.trigger("accepted",{view:n}),u.view=n,u.previous=e,u.running=!0,h?f.pop():f.push({id:r,transition:o}),e?(o&&t.effects.enabled?(n.element.addClass("k-fx-hidden"),n.showStart(),h&&!i&&(s.reverse=!s.reverse),u.effect=t.fx(n.element).replace(e.element,s.type).beforeTransition(function(){n.beforeTransition("show");e.beforeTransition("hide")}).afterTransition(function(){n.afterTransition("show");e.afterTransition("hide")}).direction(s.direction).setReverse(s.reverse),u.effect.run().then(function(){u.end()})):(n.showStart(),u.end()),!0):(n.showStart(),n.showEnd(),u.after(),!0)},destroy:function(){var t=this,n=t.view;n&&n.destroy&&n.destroy()}}),lt=u.extend({init:function(i){var f,e,r=this;u.fn.init.call(r);r.options=i;n.extend(r,i);r.sandbox=n(" ");e=r.container;f=r._hideViews(e);r.rootView=f.first();r.layouts={};r.viewContainer=new t.ViewContainer(r.container);r.viewContainer.bind("accepted",function(n){n.view.params=r.params});r.viewContainer.bind("complete",function(n){r.trigger(w,{view:n.view})});r.viewContainer.bind(s,function(){r.trigger(s)});this.bind(this.events,i)},events:[o,s,w,"loadStart","loadComplete",p,b],destroy:function(){var i,n=this,r=n.viewContainer;t.destroy(n.container);for(i in n.layouts)this.layouts[i].destroy();r&&r.destroy()},view:function(){return this.viewContainer.view},showView:function(n,i,r){if(n=n.replace(RegExp("^"+this.remoteViewURLPrefix),""),""===n&&this.remoteViewURLPrefix&&(n="/"),n.replace(/^#/,"")===this.url)return this.trigger(p),!1;this.trigger(o);var f=this,e=f._findViewElement(n),u=t.widgetInstance(e);return f.url=n.replace(/^#/,""),f.params=r,u&&u.reload&&(u.purge(),e=[]),this.trigger(b,{remote:0===e.length,url:n}),!e[0]||(u||(u=f._createView(e)),f.viewContainer.show(u,i,n))},append:function(n,t){var r,i,u=this.sandbox,f=(t||"").split("?")[0],o=this.container;return ot.test(n)&&(n=RegExp.$1),u[0].innerHTML=n,o.append(u.children("script, style")),r=this._hideViews(u),i=r.first(),i.length||(r=i=u.wrapInner(" ").children()),f&&i.hide().attr(e("url"),f),o.append(r),this._createView(i)},_locate:function(n){return this.$angular?it(n):i(n)},_findViewElement:function(n){var t,i=n.split("?")[0];return i?(t=this.container.children("["+e("url")+"='"+i+"']"),t[0]||i.indexOf("/")!==-1||(t=this.container.children("#"===i.charAt(0)?i:"#"+i)),t[0]||(t=this._findViewElementById(n)),t):this.rootView},_findViewElementById:function(n){return this.container.children("[id='"+n+"']")},_createView:function(n){return this._createSpaView(n)},_createMobileView:function(n){return t.initWidget(n,{defaultTransition:this.transition,loader:this.loader,container:this.container,getLayout:this.getLayoutProxy,modelScope:this.modelScope,reload:tt(n,"reload")},nt.roles)},_createSpaView:function(n){var i=(this.options||{}).viewOptions||{};return new t.View(n,{renderOnInit:i.renderOnInit,wrap:i.wrap||!1,wrapInSections:i.wrapInSections,detachOnHide:i.detachOnHide,detachOnDestroy:i.detachOnDestroy})},_hideViews:function(n){return n.children(this._locate("view")).hide()}});t.ViewEngine=lt;t.ViewContainer=d;t.Fragment=ht;t.Layout=st;t.View=f;t.ViewClone=k}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.dom.min",["kendo.core.min"],n)}(function(){return function(n){function u(){this.node=null}function e(){}function t(n,t,i){this.nodeName=n;this.attr=t||{};this.children=i||[]}function r(n){this.nodeValue=n+""}function o(n){this.html=n}function a(n,t){for(f.innerHTML=t;f.firstChild;)n.appendChild(f.firstChild)}function s(n){return new o(n)}function h(n,i,r){return new t(n,i,r)}function c(n){return new r(n)}function l(n){this.root=n;this.children=[]}var i,f;u.prototype={remove:function(){this.node.parentNode&&this.node.parentNode.removeChild(this.node);this.attr={}},attr:{},text:function(){return""}};e.prototype={nodeName:"#null",attr:{style:{}},children:[],remove:function(){}};i=new e;t.prototype=new u;t.prototype.appendTo=function(n){for(var r=document.createElement(this.nodeName),u=this.children,t=0;t 2)return void this.render({appendChild:function(i){n.replaceChild(i,t.node)}},i);for(r=0;r/g,">").replace(/\"/g,""").replace(/\'/g,"'")}function ft(n,t){for(var r="",i=0;i"+t(n)+"<\/f>":''+t(n.src)+"<\/f>"}function p(n){var t=Math.floor(n/26)-1;return(t>=0?p(t):"")+String.fromCharCode(65+n%26)}function e(n,t){return p(t)+(n+1)}function c(n,t){return"$"+p(t)+"$"+(n+1)}function l(n){var t=n.frozenRows||(n.freezePane||{}).rowSplit||1;return t-1}function w(n){var t=7;return n/t-Math.floor(128/t)/256}function nr(n){return.75*n}function tr(n){return(n+"").replace(/[\x00-\x09\x0B\x0C\x0E-\x1F]/g,"").replace(/\r?\n/g,"\r\n")}function et(n){var t=n.length;return n.forEach(function(n){n.index&&n.index>=t&&(t=n.index+1)}),t}function b(n){var t=n;return t.length<6&&(t=t.replace(/(\w)/g,function(n,t){return t+t})),t=t.substring(1).toUpperCase(),t.length<8&&(t="FF"+t),t}function ir(n){var t="thin";return 2===n?t="medium":3===n&&(t="thick"),t}function a(n,t){var i="";return t&&(i+="<"+n+' style="'+ir(t.size)+'">',t.color&&(i+=''),i+="<\/"+n+">"),i}function rr(n){return""+a("left",n.left)+a("right",n.right)+a("top",n.top)+a("bottom",n.bottom)+"<\/border>"}function ur(n,t){var r,f,i,u=[],e=[];for(fr(n,function(n,t){var i={_source:n,index:t,height:n.height,level:n.level,cells:[]};u.push(i);e[t]=i}),r=ot(u).slice(0),f={rowData:u,rowsByIndex:e,mergedCells:t},i=0;i1||r>1)&&er(t.mergedCells,a+":"+e(l+i-1,o+r-1)),i>1)for(f=l+1;f\r';wt=r+'\n \n \n \n \n <\/Relationships>';bt=function(n){var i=n.creator,u=n.lastModifiedBy,f=n.created,e=n.modified;return r+'\n \n '+t(i)+"<\/dc:creator>\n "+t(u)+'<\/cp:lastModifiedBy>\n '+t(f)+'<\/dcterms:created>\n '+t(e)+"<\/dcterms:modified>\n<\/cp:coreProperties>"};kt=function(n){var u=n.sheets;return r+'\n\n Microsoft Excel<\/Application>\n 0<\/DocSecurity>\n false<\/ScaleCrop>\n \n \n \n Worksheets<\/vt:lpstr>\n <\/vt:variant>\n \n '+u.length+'<\/vt:i4>\n <\/vt:variant>\n <\/vt:vector>\n <\/HeadingPairs>\n \n '+i(u,function(n,i){return n.options.title?""+t(n.options.title)+"<\/vt:lpstr>":"Sheet"+(i+1)+"<\/vt:lpstr>"})+"<\/vt:vector>\n <\/TitlesOfParts>\n false<\/LinksUpToDate>\n false<\/SharedDoc>\n false<\/HyperlinksChanged>\n 14.0300<\/AppVersion>\n<\/Properties>"};dt=function(n){var t=n.sheetCount,u=n.commentFiles,f=n.drawingFiles;return r+'\n\n \n \n \n \n \n \n \n \n \n '+ft(t,function(n){return''})+"\n "+i(u,function(n){return''})+"\n "+i(f,function(n){return''})+'\n \n \n<\/Types>'};gt=function(n){var e=n.sheets,u=n.filterNames,f=n.userNames;return r+'\n\n \n \n \n \n <\/bookViews>\n \n '+i(e,function(n,i){var r=n.options,u=r.name||r.title||"Sheet"+(i+1);return''})+"\n <\/sheets>\n "+(u.length||f.length?"\n \n "+i(u,function(n){return'\n '+t(lr(n.name))+"!"+t(n.from)+":"+t(n.to)+"<\/definedName>"})+"\n "+i(f,function(n){return'\n "+t(n.value)+"<\/definedName>"})+"\n <\/definedNames>":"")+'\n \n<\/workbook>'};ni=function(n){var h=n.frozenColumns,c=n.frozenRows,s=n.columns,u=n.defaults,nt=n.data,tt=n.index,l=n.mergeCells,a=n.autoFilter,v=n.filter,it=n.showGridLines,y=n.hyperlinks,p=n.validations,o=n.defaultCellStyleId,rt=n.rtl,b=n.legacyDrawing,k=n.drawing,d=n.lastRow,g=n.lastCol;return r+'\n\n '+(d&&g?'':"")+"\n\n \n \n "+(c||h?'\n ':"")+'\n <\/sheetView>\n <\/sheetViews>\n\n \n\n "+(null!=o||s&&s.length>0?"\n \n "+(s&&s.length?"":'\n ")+"\n "+i(s,function(n,t){var i="number"==typeof n.index?n.index+1:t+1;return 0===n.width?"':""})+"\n <\/cols>":"")+"\n\n \n "+i(nt,function(n,r){var u="number"==typeof n.index?n.index+1:r+1;return'\n \n "+i(n.data,function(n){return'\n \n "+(null!=n.formula?gi(n.formula):"")+"\n "+(null!=n.value?""+t(n.value)+"<\/v>":"")+"\n <\/c>"})+"\n <\/row>\n "})+"\n <\/sheetData>\n\n "+(a?'':v?f(v):"")+"\n\n "+(l.length?'\n \n '+i(l,function(n){return''})+"\n <\/mergeCells>":"")+"\n\n "+(p.length?"\n \n "+i(p,function(n){return'\n \n "+(n.formula1?""+t(n.formula1)+"<\/formula1>":"")+"\n "+(n.formula2?""+t(n.formula2)+"<\/formula2>":"")+"\n <\/dataValidation>"})+"\n <\/dataValidations>":"")+"\n\n "+(y.length?"\n \n "+i(y,function(n){return'\n '})+"\n <\/hyperlinks>":"")+'\n\n \n '+(k?'':"")+"\n "+(b?'':"")+"\n<\/worksheet>"};ti=function(n){var t=n.count;return r+'\n\n '+ft(t,function(n){return'\n '})+'\n \n \n<\/Relationships>'};ii=function(n){var f=n.hyperlinks,e=n.comments,u=n.sheetIndex,o=n.drawings;return r+'\n\n '+i(f,function(n){return'\n '})+"\n "+(e.length?'\n \n ':"")+"\n "+(o.length?'\n ':"")+"\n<\/Relationships>"};ri=function(n){var u=n.comments;return r+'\n\n \n <\/author>\n <\/authors>\n \n '+i(u,function(n){return'\n \n \n \n \n \n \n \n \n <\/rPr>\n '+t(n.text)+"<\/t>\n <\/r>\n <\/text>\n <\/comment>"})+"\n <\/commentList>\n<\/comments>"};ui=function(n){var t=n.comments;return'\n \n \n \n <\/v:shapetype>\n '+i(t,function(n){return'\n \n \n \n \n \n '+n.anchor+"<\/x:Anchor>\n False<\/x:AutoFill>\n "+n.row+"<\/x:Row>\n "+n.col+"<\/x:Column>\n <\/x:ClientData>\n <\/v:shape>"})+"\n<\/xml>"};fi=function(n){return r+'\n\n '+i(n,function(n,t){return'\n \n \n '+n.col+"<\/xdr:col>\n "+n.colOffset+"<\/xdr:colOff>\n "+n.row+"<\/xdr:row>\n "+n.rowOffset+'<\/xdr:rowOff>\n <\/xdr:from>\n \n \n \n \n \n <\/xdr:nvPicPr>\n \n \n \n \n <\/a:stretch>\n <\/xdr:blipFill>\n \n \n \n <\/a:prstGeom>\n <\/xdr:spPr>\n <\/xdr:pic>\n \n <\/xdr:oneCellAnchor>'})+"\n<\/xdr:wsDr>"};ei=function(n){return r+'\n\n '+i(n,function(n){return'\n '})+"\n<\/Relationships>"};oi=function(n){var u=n.count,f=n.uniqueCount,e=n.indexes;return r+'\n\n '+i(Object.keys(e),function(n){return'\n '+t(n.substring(1))+"<\/t><\/si>"})+"\n<\/sst>"};si=function(n){var u=n.formats,f=n.fonts,e=n.fills,o=n.borders,s=n.styles;return r+'\n\n \n '+i(u,function(n,i){return'\n '})+'\n <\/numFmts>\n \n \n \n \n \n \n \n <\/font>\n '+i(f,function(n){return"\n \n "+(n.bold?"":"")+"\n "+(n.italic?"":"")+"\n "+(n.underline?"":"")+'\n \n '+(n.color?'':'')+"\n "+(n.fontFamily?'\n \n \n ':'\n \n \n \n ')+"\n <\/font>"})+'\n <\/fonts>\n \n <\/fill>\n <\/fill>\n '+i(e,function(n){return"\n "+(n.background?'\n \n \n \n <\/patternFill>\n <\/fill>\n ':"")})+'\n <\/fills>\n \n <\/border>\n '+i(o,rr)+'\n <\/borders>\n \n \n <\/cellStyleXfs>\n \n \n '+i(s,function(n){return'\n \n "+(n.textAlign||n.verticalAlign||n.wrap?"\n \n ":"")+"\n <\/xf>\n "})+'\n <\/cellXfs>\n \n \n <\/cellStyles>\n \n \n<\/styleSheet>'};tt=kendo.Class.extend({init:function(t,i,r,u){this.options=t;this._strings=i;this._styles=r;this._borders=u;this._validations={};this._comments=[];this._drawings=t.drawings||[];this._hyperlinks=(this.options.hyperlinks||[]).map(function(t,i){return n.extend({},t,{rId:"link"+i})})},relsToXML:function(){var n=this._hyperlinks,t=this._comments,i=this._drawings;if(n.length||t.length||i.length)return ii({hyperlinks:n,comments:t,sheetIndex:this.options.sheetIndex,drawings:i})},toXML:function(n){var t,s,i,r,u,f,o,h,c,a=this,v=this.options.mergedCells||[],p=this.options.rows||[],y=ur(p,v);this._readCells(y);t=this.options.filter;t&&"number"==typeof t.from&&"number"==typeof t.to?t={from:e(l(this.options),t.from),to:e(l(this.options),t.to)}:t&&t.ref&&t.columns&&(s=t,t=null);i=[];for(r in this._validations)Object.prototype.hasOwnProperty.call(a._validations,r)&&i.push(a._validations[r]);return u=null,this.options.defaultCellStyle&&(u=this._lookupStyle(this.options.defaultCellStyle)),f=this.options.freezePane||{},o=this.options.defaults||{},h=this.options.rows?this._getLastRow():1,c=this.options.rows?this._getLastCol():1,ni({frozenColumns:this.options.frozenColumns||f.colSplit,frozenRows:this.options.frozenRows||f.rowSplit,columns:this.options.columns,defaults:o,data:y,index:n,mergeCells:v,autoFilter:t,filter:s,showGridLines:this.options.showGridLines,hyperlinks:this._hyperlinks,validations:i,defaultCellStyleId:u,rtl:void 0!==this.options.rtl?this.options.rtl:o.rtl,legacyDrawing:this._comments.length?"vml"+this.options.sheetIndex:null,drawing:this._drawings.length?"drw"+this.options.sheetIndex:null,lastRow:h,lastCol:c})},commentsXML:function(){if(this._comments.length)return ri({comments:this._comments})},drawingsXML:function(n){var t,i;if(this._drawings.length)return t={},i=this._drawings.map(function(i){var u=s(i.topLeftCell),r=t[i.image];return r||(r=t[i.image]={rId:"img"+i.image,target:n[i.image].target}),{col:u.col,colOffset:v(i.offsetX),row:u.row,rowOffset:v(i.offsetY),width:v(i.width),height:v(i.height),imageId:r.rId}}),{main:fi(i),rels:ei(t)}},legacyDrawing:function(){if(this._comments.length)return ui({comments:this._comments})},_lookupString:function(n){var t,i="$"+n,r=this._strings.indexes[i];return void 0!==r?t=r:(t=this._strings.indexes[i]=this._strings.uniqueCount,this._strings.uniqueCount++),this._strings.count++,t},_lookupStyle:function(n){var t,i=JSON.stringify(n);return"{}"===i?0:(t=o(i,this._styles),t<0&&(t=this._styles.push(i)-1),t+1)},_lookupBorder:function(n){var t,i=JSON.stringify(n);if("{}"!==i)return t=o(i,this._borders),t<0&&(t=this._borders.push(i)-1),t+1},_readCells:function(n){for(var t,u,i,f,e=this,r=0;r\n '+i(r,function(n){return'\n \n '+u[n.filter](n)+"\n <\/filterColumn>\n "})+"\n<\/autoFilter>"};vi=function(n){var t=n.logic,r=n.criteria;return"\n\n"+i(r,function(n){var t=f.customOperator(n),i=f.customValue(n);return"'})+"\n<\/customFilters>"};yi=function(n){var t=n.type;return''};pi=function(n){var t=n.type,i=n.value;return''};wi=function(n){var t=n.blanks,r=n.values;return"\n "+i(r,function(n){return'\n '})+"\n <\/filters>"};f.customOperator=function(n){return{eq:"equal",gt:"greaterThan",gte:"greaterThanOrEqual",lt:"lessThan",lte:"lessThanOrEqual",ne:"notEqual",doesnotstartwith:"notEqual",doesnotendwith:"notEqual",doesnotcontain:"notEqual",doesnotmatch:"notEqual"}[n.operator.toLowerCase()]};f.customValue=function(n){function t(n){return n.replace(/([*?])/g,"~$1")}switch(n.operator.toLowerCase()){case"startswith":case"doesnotstartwith":return t(n.value)+"*";case"endswith":case"doesnotendwith":return"*"+t(n.value);case"contains":case"doesnotcontain":return"*"+t(n.value)+"*";default:return n.value}};f.dynamicFilterType=function(n){return{quarter1:"Q1",quarter2:"Q2",quarter3:"Q3",quarter4:"Q4",january:"M1",february:"M2",march:"M3",april:"M4",may:"M5",june:"M6",july:"M7",august:"M8",september:"M9",october:"M10",november:"M11",december:"M12"}[n.toLowerCase()]||n};kendo.deepExtend(kendo.ooxml,{IntlService:h,Workbook:li,Worksheet:tt})}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("ooxml/main.min",["kendo.core.min","ooxml/kendo-ooxml.min"],n)}(function(){!function(n){var t=kendo.ooxml.Workbook;kendo.ooxml.IntlService.register({toString:kendo.toString});kendo.ooxml.Workbook=t.extend({toDataURL:function(){var n=t.fn.toDataURL.call(this);if("string"!=typeof n)throw Error("The toDataURL method can be used only with jsZip 2. Either include jsZip 2 or use the toDataURLAsync method.");return n},toDataURLAsync:function(){var r=n.Deferred(),i=t.fn.toDataURL.call(this);return"string"==typeof i?i=r.resolve(i):i&&i.then&&i.then(function(n){r.resolve(n)},function(){r.reject()}),r.promise()}})}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.ooxml.min",["ooxml/main.min"],n)}(function(){},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("excel/kendo-excel.min",["kendo.core.min"],n)}(function(){!function(n){function o(n){return n.title+": "+n.value}function i(n,t){for(var r=[],i=0;i0;this.hierarchy=n.hierarchy;this.hasGroupHeaderColumn=this.columns.some(function(n){return n.groupHeaderColumnTemplate});this.collapsible=this.options.collapsible},workbook:function(){return{sheets:[{columns:this._columns(),rows:this.hierarchy?this._hierarchyRows():this._rows(),freezePane:this._freezePane(),filter:this._filter()}]}},_trimColumns:function(n){var t=this;return n.filter(function(n){var i=!!n.field;return!i&&n.columns&&(i=t._trimColumns(n.columns).length>0),i})},_leafColumns:function(n){for(var r=this,i=[],t=0;t0&&f.push(n.extend({background:"#dfdfdf",color:"#333",value:i.groupHeaderColumnTemplate?i.groupHeaderColumnTemplate(n.extend({group:e},e,t.aggregates[i.field])):void 0},i.groupHeaderCellOptions))}),f},_dataRows:function(n,t){for(var u=this,f=this._depth(),r=[],i=0;ie?h.push({id:c,level:e}):i=t;)r=n.pop(),f.push(u._hierarchyFooter(u.aggregates[r.id],r.level+1,i));return f},_hasFooterTemplate:function(){for(var t=this.columns,n=0;n0&&(n.field||n.columns)},_visibleColumns:function(n){var t=this;return n.filter(function(n){var u,f,i,r=n.exportable;return"object"==typeof r&&(r=n.exportable.excel),u=!n.hidden&&r!==!1,f=n.hidden&&r===!0,i=u||f,i&&n.columns&&(i=t._visibleColumns(n.columns).length>0),i})},_headerRow:function(t,r){var f=this,u=t.cells.map(function(i){return n.extend(i,{colSpan:i.colSpan>1?i.colSpan:1,rowSpan:t.rowSpan>1&&!i.colSpan?t.rowSpan:1})});return this.hierarchy&&u[0].firstCell&&(u[0].colSpan+=this._depth()),{type:"header",cells:i(r.length,function(){return n.extend({background:"#7a7a7a",color:"#fff"},f.options.headerPaddingCellOptions)}).concat(u)}},_prependHeaderRows:function(n){var t,r=this,u=this.groups,i=[{rowSpan:1,cells:[],index:0}];for(this._prepareHeaderRows(i,this.options.columns),t=i.length-1;t>=0;t--)n.unshift(r._headerRow(i[t],u))},_prepareHeaderRows:function(t,i,r,u){for(var f,o,s=this,h=u||t[t.length-1],c=t[h.index+1],l=0,e=0;er&&(r=i));return 1+r},_freezePane:function(){var n=this._visibleColumns(this.options.columns||[]),t=this._visibleColumns(this._trimColumns(this._leafColumns(n.filter(function(n){return n.locked})))).length;return{rowSplit:this._headerDepth(n),colSplit:t?t+this.groups.length:0}},_cell:function(t,i){return n.extend({value:i.value(t)},i.cellOptions)},_depth:function(){return this.hierarchy?this.hierarchy.depth:this.groups.length},_columns:function(){var n=this._depth(),t=i(n,function(){return{width:20}});return t.concat(this.columns.map(function(n){return{width:parseInt(n.width,10),autoWidth:!n.width}}))}});kendo.deepExtend(kendo.excel,{ExcelExporter:e,TemplateService:t})}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("excel/main.min",["kendo.core.min","kendo.data.min","excel/kendo-excel.min"],n)}(function(){return function(n,t){var r=t.excel.ExcelExporter,i=n.extend;t.excel.TemplateService.register({compile:t.template});t.ExcelExporter=t.Class.extend({init:function(n){var r,u,f,e;if(this.options=n,r=n.dataSource,r instanceof t.data.DataSource){if(r.filter()||(r.options.filter=void 0),this.dataSource=new r.constructor(i({},r.options,{page:n.allPages?0:r.page(),filter:r.filter(),pageSize:n.allPages?r.total():r.pageSize()||r.total(),sort:r.sort(),group:r.group(),aggregate:r.aggregate()})),u=r.data(),u.length>0){if(n.hierarchy)for(f=0;ft&&(t=f);n.depth=t+1}else n=!1;return{hierarchy:n}},workbook:function(){return n.Deferred(n.proxy(function(t){this.dataSource.fetch().then(n.proxy(function(){var n=new r(i({},this.options,this._hierarchy(),{data:this.dataSource.view(),groups:this.dataSource.group(),aggregates:this.dataSource.aggregates()})).workbook();t.resolve(n,this.dataSource.view())},this))},this)).promise()}})}(kendo.jQuery,kendo),kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("excel/mixins.min",["excel/main.min","kendo.ooxml.min"],n)}(function(){return function(n,t){t.ExcelMixin={extend:function(t){t.events.push("excelExport");t.options.excel=n.extend(t.options.excel,this.options);t.saveAsExcel=this.saveAsExcel},options:{proxyURL:"",allPages:!1,filterable:!1,fileName:"Export.xlsx",collapsible:!1},saveAsExcel:function(){var i=this.options.excel||{},r=new t.ExcelExporter({columns:this.columns,dataSource:this.dataSource,allPages:i.allPages,filterable:i.filterable,hierarchy:i.hierarchy,collapsible:i.collapsible});r.workbook().then(n.proxy(function(n,r){if(!this.trigger("excelExport",{workbook:n,data:r})){var u=new t.ooxml.Workbook(n);u.options||(u.options={});u.options.skipCustomHeight=!0;u.toDataURLAsync().then(function(r){t.saveAs({dataURI:r,fileName:n.fileName||i.fileName,proxyURL:i.proxyURL,forceProxy:i.forceProxy})})}},this))}}}(kendo.jQuery,kendo),kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.excel.min",["excel/main.min","excel/mixins.min"],n)}(function(){},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.data.signalr.min",["kendo.data.min"],n)}(function(){return function(n){function r(n){return n&&i(n.done)&&i(n.fail)}function u(n){return n&&i(n.then)&&i(n["catch"])}var t=window.kendo,i=t.isFunction,f=t.data.RemoteTransport.extend({init:function(n){var i,e=n&&n.signalr?n.signalr:{},f=e.promise;if(!f)throw Error('The "promise" option must be set.');if(!r(f)&&!u(f))throw Error('The "promise" option must be a Promise.');if(this.promise=f,i=e.hub,!i)throw Error('The "hub" option must be set.');if("function"!=typeof i.on||"function"!=typeof i.invoke)throw Error('The "hub" option is not a valid SignalR hub proxy.');this.hub=i;t.data.RemoteTransport.fn.init.call(this,n)},push:function(n){var t=this.options.signalr.client||{};t.create&&this.hub.on(t.create,n.pushCreate);t.update&&this.hub.on(t.update,n.pushUpdate);t.destroy&&this.hub.on(t.destroy,n.pushDestroy)},_crud:function(i,f){var e,h,o=this.hub,s=this.promise,c=this.options.signalr.server;if(!c||!c[f])throw Error(t.format('The "server.{0}" option must be set.',f));e=[c[f]];h=this.parameterMap(i.data,f);n.isEmptyObject(h)||e.push(h);r(s)?s.done(function(){o.invoke.apply(o,e).done(i.success).fail(i.error)}):u(s)&&s.then(function(){o.invoke.apply(o,e).then(i.success)["catch"](i.error)})},read:function(n){this._crud(n,"read")},create:function(n){this._crud(n,"create")},update:function(n){this._crud(n,"update")},destroy:function(n){this._crud(n,"destroy")}});n.extend(!0,t.data,{transports:{signalr:f}})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("drawing/util.min",["kendo.core.min"],n)}(function(){return function(n){function t(){return n.Deferred()}function i(t){return n.when.apply(n,t)}function r(n,t){if(t)if("function"==typeof t.__proto__)n.__proto__=t;else for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i])}kendo.drawing.util=kendo.drawing.util||{};kendo.deepExtend(kendo.drawing.util,{createPromise:t,promiseAll:i,extendStatic:r})}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("kendo.color.min",["kendo.core.min"],n)}(function(){function f(n,t,i){void 0===i&&(i="0");for(var r=n.toString(16);t>r.length;)r=i+r;return r}function o(n,t,i){var r=i;return r<0&&(r+=1),r>1&&(r-=1),r<1/6?n+6*(t-n)*r:r<.5?t:r<2/3?n+(t-n)*(2/3-r)*6:n}function v(n){return parseFloat(parseFloat(parseInt(n,16)/255).toFixed(3))}function s(i,f){var e,h,o;if(null==i||"none"===i)return null;if(i instanceof r)return i;if(o=i.toLowerCase(),e=l(o))return o="transparent"===e[1]?new n(1,1,1,0):s(u[e[1]],f),o.match=[e[1]],o;if((e=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(o))?h=new t(parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),1):(e=/^#?([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(o))?h=new t(parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),1):(e=/^#?([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])\b/i.exec(o))?h=new t(parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),v(e[4]+e[4])):(e=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})\b/i.exec(o))?h=new t(parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),v(e[4])):(e=/^rgb\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/.exec(o))?h=new t(parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),1):(e=/^rgba\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9.]+)\s*\)/.exec(o))?h=new t(parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3],10),parseFloat(e[4])):(e=/^rgb\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*\)/.exec(o))?h=new n(parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])/100,1):(e=/^rgba\(\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9]*\.?[0-9]+)%\s*,\s*([0-9.]+)\s*\)/.exec(o))&&(h=new n(parseFloat(e[1])/100,parseFloat(e[2])/100,parseFloat(e[3])/100,parseFloat(e[4]))),h)h.match=e;else if(!f)throw Error("Cannot parse color: "+o);return h}var h,y,u,c,l,r,n,t,e,a,p,i;window.kendo=window.kendo||{};h=kendo.Class;y=kendo.support;u={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgrey:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",grey:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightslategrey:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};c=y.browser;l=function(n){var t,i=Object.keys(u);return i.push("transparent"),t=RegExp("^("+i.join("|")+")(\\W|$)","i"),l=function(n){return t.exec(n)},t.exec(n)};r=h.extend({init:function(){},toHSV:function(){return this},toRGB:function(){return this},toHex:function(n){return this.toBytes().toHex(n)},toBytes:function(){return this},toCss:function(n){return"#"+this.toHex(n)},toCssRgba:function(){var n=this.toBytes();return"rgba("+n.r+", "+n.g+", "+n.b+", "+parseFloat((+this.a).toFixed(3))+")"},toDisplay:function(){return c.msie&&c.version<9?this.toCss():this.toCssRgba()},equals:function(n){return n===this||null!==n&&this.toCssRgba()===s(n).toCssRgba()},diff:function(n){var t,i;return null===n?NaN:(t=this.toBytes(),i=n.toBytes(),Math.sqrt(Math.pow(.3*(t.r-i.r),2)+Math.pow(.59*(t.g-i.g),2)+Math.pow(.11*(t.b-i.b),2)))},clone:function(){var n=this.toBytes();return n===this&&(n=new t(n.r,n.g,n.b,n.a)),n}});n=r.extend({init:function(n,t,i,u){r.fn.init.call(this);this.r=n;this.g=t;this.b=i;this.a=u},toHSV:function(){var n,o,s=this,i=s.r,r=s.g,f=s.b,c=Math.min(i,r,f),t=Math.max(i,r,f),u=t-c,h=t;return 0===u?new e(0,0,h,this.a):(0!==t?(o=u/t,n=i===t?(r-f)/u:r===t?2+(f-i)/u:4+(i-r)/u,n*=60,n<0&&(n+=360)):(o=0,n=-1),new e(n,o,h,this.a))},toHSL:function(){var u,o,n,s=this,f=s.r,t=s.g,i=s.b,r=Math.max(f,t,i),e=Math.min(f,t,i),h=(r+e)/2;if(r===e)u=o=0;else switch(n=r-e,o=h>.5?n/(2-r-e):n/(r+e),r){case f:u=(t-i)/n+(t255?255:n},padDigit:function(n){return 1===n.length?"0"+n:n},brightness:function(n){var t=Math.round;return this.r=t(this.normalizeByte(this.r*n)),this.g=t(this.normalizeByte(this.g*n)),this.b=t(this.normalizeByte(this.b*n)),this},percBrightness:function(){return Math.sqrt(.241*this.r*this.r+.691*this.g*this.g+.068*this.b*this.b)},isDark:function(){return this.percBrightness()>>0}function o(){return{width:0,height:0,baseline:0}}function l(n,i,r){return t.current.measure(n,i,r)}var i,s,h,c,r,t;window.kendo.util=window.kendo.util||{};i=kendo.Class.extend({init:function(n){this._size=n;this._length=0;this._map={}},put:function(n,t){var r=this._map,i={key:n,value:t};r[n]=i;this._head?(this._tail.newer=i,i.older=this._tail,this._tail=i):this._head=this._tail=i;this._length>=this._size?(r[this._head.key]=null,this._head=this._head.newer,this._head.older=null):this._length++},get:function(n){var t=this._map[n];if(t)return t===this._head&&t!==this._tail&&(this._head=t.newer,this._head.older=null),t!==this._tail&&(t.older&&(t.older.newer=t.newer,t.newer.older=t.older),t.older=this._tail,t.newer=null,this._tail.newer=t,this._tail=t),t.value}});s=/\r?\n|\r|\t/g;h=" ";c={baselineMarkerSize:1};"undefined"!=typeof document&&(r=document.createElement("div"),r.style.cssText="position: absolute !important; top: -4000px !important; width: auto !important; height: auto !important;padding: 0 !important; margin: 0 !important; border: 0 !important;line-height: normal !important; visibility: hidden !important; white-space: pre!important;");t=kendo.Class.extend({init:function(t){this._cache=new i(1e3);this.options=n.extend({},c,t)},measure:function(n,t,i){var p,c,w,h,s,l,a,v,y;if(void 0===i&&(i={}),void 0===n||null===n)return o();if(p=f(t),c=e(n+p),w=this._cache.get(c))return w;h=o();s=i.box||r;l=this._baselineMarker().cloneNode(!1);for(a in t)v=t[a],void 0!==v&&(s.style[a]=v);return y=i.normalizeText!==!1?u(n):n+"",s.textContent=y,s.appendChild(l),document.body.appendChild(s),y.length&&(h.width=s.offsetWidth-this.options.baselineMarkerSize,h.height=s.offsetHeight,h.baseline=l.offsetTop+this.options.baselineMarkerSize),h.width>0&&h.height>0&&this._cache.put(c,h),s.parentNode.removeChild(s),h},_baselineMarker:function(){var n=document.createElement("div");return n.style.cssText="display: inline-block; vertical-align: baseline;width: "+this.options.baselineMarkerSize+"px; height: "+this.options.baselineMarkerSize+"px;overflow: hidden;",n}});t.current=new t;kendo.deepExtend(kendo.util,{LRUCache:i,TextMetrics:t,measureText:l,objectKey:f,hashKey:e,normalizeText:u})}(window.kendo.jQuery)},"function"==typeof define&&define.amd?define:function(n,t,i){(i||t)()}),function(n,t){t("drawing/kendo-drawing.min",["drawing/util.min","kendo.color.min","util/text-metrics.min"],n)}(function(){!function(n){function ci(n,t){return n.push.apply(n,t),n}function sr(n){for(var t=[1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],i="";n>0;)n>>6),i+=k(128|63&t)):t<65536?(i+=k(224|t>>>12),i+=k(128|t>>>6&63),i+=k(128|63&t)):t<1114111&&(i+=k(240|t>>>18),i+=k(128|t>>>12&63),i+=k(128|t>>>6&63),i+=k(128|63&t));return i}function tf(n){for(var e,t,i,h,c,o,r,s="",u=0,f=ga(n);u>2,c=(3&e)<<4|t>>4,o=(15&t)<<2|i>>6,r=63&i,isNaN(t)?o=r=64:isNaN(i)&&(r=64),s=s+di.charAt(h)+di.charAt(c)+di.charAt(o)+di.charAt(r);return s}function us(n){return u((n.x||{}).location)?{x:n.x.location,y:n.y.location}:{x:n.pageX||n.clientX||0,y:n.pageY||n.clientY||0}}function fs(n){return void 0===n&&(n={}),n.touch?n.touch.initialTouch:n.target}function yt(n){return""===n||null===n||"none"===n||"transparent"===n||!u(n)}function p(n){if(n)return n[n.length-1]}function cr(n,t,i){return Math.max(Math.min(n,i),t)}function lr(n,t){function r(n,i){for(var r=[],u=0,f=0,e=0;u=0&&v<=1&&f>=0&&f<=1)return new r(n.x+f*e,n.y+f*o)}function vs(n,t,i,r,u,f){var o=e((u-n)/i,3),s=e((f-t)/r,3);return e(ct(Math.atan2(s,o)))}function sv(n){var ut,c,l,a,v,at,y,p,o,s,w,b,k,d,vt,yt,u,f,g,tt,ft,pt,h,it,wt,et=n.x1,ot=n.y1,st=n.x2,ht=n.y2,t=n.rx,i=n.ry,bt=n.largeArc,lt=n.swipe,rt=n.rotation;return void 0===rt&&(rt=0),ut=nt(rt),c=Math.cos(ut),l=Math.sin(ut),a=c*(et-st)/2+l*(ot-ht)/2,v=-l*(et-st)/2+c*(ot-ht)/2,at=bt!==lt?1:-1,y=Math.pow(a,2),p=Math.pow(v,2),o=Math.pow(t,2),s=Math.pow(i,2),w=y/o+p/s,w>1&&(w=Math.sqrt(y/o+p/s),t=w*t,o=Math.pow(t,2),i=w*i,s=Math.pow(i,2)),b=at*Math.sqrt((o*s-o*p-s*y)/(o*p+s*y)),isNaN(b)&&(b=0),k=b*t*v/i,d=-b*i*a/t,vt=c*k-l*d+(et+st)/2,yt=l*k+c*d+(ot+ht)/2,u=(a-k)/t,f=(v-d)/i,g=-(a+k)/t,tt=-(v+d)/i,ft=(f>=0?1:-1)*ct(Math.acos(u/Math.sqrt(u*u+f*f))),pt=e((u*g+f*tt)/(Math.sqrt(u*u+f*f)*Math.sqrt(g*g+tt*tt)),10),h=(u*tt-f*g>=0?1:-1)*ct(Math.acos(pt)),!lt&&h>0&&(h-=360),lt&&h<0&&(h+=360),it=ft+h,wt=it>=0?1:-1,it=Math.abs(it)%360*wt,{center:new r(vt,yt),startAngle:ft,endAngle:it,radiusX:t,radiusY:i,xRotation:rt}}function ys(n,t){for(var i=n;it.y,o&&((0===u[r]||1===u[r])&&i.bottomRight().x>t.x||00?i.x-u:f-i.x)/(f-u)+r-i.y>=0),s?1:0}function lv(n){var t="_"+n;return function(n){return u(n)?(this._observerField(t,r.create(n)),this.geometryChange(),this):this[t]}}function av(n,t){for(var i=0;i2&&(o="l",s.splice(0,2))),ie[o])ie[o](n,{parameters:s,position:i,isRelative:h,previousCommand:u}),e&&e.toLowerCase()===el&&n.close();else if(o!==ue)throw Error("Error while parsing SVG path. Unsupported command: "+o);u=o}),n}function pr(n,t,i){for(var r,f,e,u=0;u1)for(f=new r,s=n[0].bbox,e=1;el?r.length?(o.push(r),r=[],c(),s=e):(c(),o.push(r),r=[],s=0):(c(),s+=e));return r.length&&o.push(r),o}function eh(n,t,i,r,u){for(var e,o,s,l=dv(n,t,u),h=t.origin.clone(),c=[],f=0;ft._zIndex?-1:0}function cy(n,t){for(var r,u,i=0;i |