text: /*
  * Kendo UI Complete v2012.3.1114 (http://kendoui.com)
  * Copyright 2012 Telerik AD. All rights reserved.
  *
  * Kendo UI Complete commercial licenses may be obtained at
  * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx
  * If you do not own a commercial license, this file shall be governed by the trial license terms.
  */
  (function(t){function e(e,n,i){t(n.target).closest(".km-button,.km-detail").toggleClass("km-state-active",i),c&&e.deactivateTimeoutID&&(clearTimeout(e.deactivateTimeoutID),e.deactivateTimeoutID=0)}var n=window.kendo,i=n.mobile,a=i.ui,o=a.Widget,s=n.support,l=s.mobileOS,c=l.android&&l.flatVersion>=300,m="click",d=o.extend({init:function(t,e){var n=this;o.fn.init.call(n,t,e),n._wrap(),n._style(),n.element.on("up","_release").on("down","_activate").on("up cancel","_deactivate"),c&&n.element.on("move","_timeoutDeactivate")},events:[m],options:{name:"Button",icon:"",style:""},_timeoutDeactivate:function(t){this.deactivateTimeoutID||(this.deactivateTimeoutID=setTimeout(e,500,this,t,!1))},_activate:function(t){e(this,t,!0),document.activeElement.blur()},_deactivate:function(t){e(this,t,!1)},_release:function(e){var n=this;e.which>1||n.trigger(m,{target:t(e.target),button:n.element})&&e.preventDefault()},_style:function(){var e,n=this.options.style,i=this.element;n&&(e=n.split(" "),t.each(e,function(){i.addClass("km-"+this)}))},_wrap:function(){var e=this,n=e.options.icon,i='<span class="km-icon km-'+n,a=e.element.addClass("km-button"),o=a.children("span:not(.km-icon)").addClass("km-text"),s=a.find("img").addClass("km-image");!o[0]&&a.html()&&(o=a.wrapInner('<span class="km-text" />').children("span.km-text")),!s[0]&&n&&(o[0]||(i+=" km-notext"),a.prepend(t(i+'" />')))}}),u=d.extend({options:{name:"BackButton",style:"back"},init:function(t,e){var n=this;d.fn.init.call(n,t,e),n.element.attr("href")===undefined&&n.element.attr("href","#:back")}}),r=d.extend({options:{name:"DetailButton",style:""},init:function(t,e){d.fn.init.call(this,t,e)},_style:function(){var e=this.options.style+" detail",n=this.element;if(e){var i=e.split(" ");t.each(i,function(){n.addClass("km-"+this)})}},_wrap:function(){var e=this,n=e.options.icon,i='<span class="km-icon km-'+n,a=e.element,o=a.children("span"),s=a.find("img").addClass("km-image");!s[0]&&n&&(o[0]||(i+=" km-notext"),a.prepend(t(i+'" />')))}});a.plugin(d),a.plugin(u),a.plugin(r)})(window.kendo.jQuery);