/** 
 * Kendo UI v2016.3.1118 (http://www.telerik.com/kendo-ui)                                                                                                                                              
 * Copyright 2016 Telerik AD. All rights reserved.                                                                                                                                                      
 *                                                                                                                                                                                                      
 * Kendo UI commercial licenses may be obtained at                                                                                                                                                      
 * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete                                                                                                                                  
 * If you do not own a commercial license, this file shall be governed by the trial license terms.                                                                                                      
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       
                                                                                                                                                                                                       

*/
!function(e,define){define("kendo.mobile.actionsheet.min",["kendo.mobile.popover.min","kendo.mobile.shim.min"],e)}(function(){return function(e,t){var n=window.kendo,i=n.support,o=n.mobile.ui,s=o.Shim,a=o.Popup,c=o.Widget,r="open",l="close",h="command",p="li>a",d="actionsheetContext",u='<div class="km-actionsheet-wrapper" />',m=n.template('<li class="km-actionsheet-cancel"><a href="\\#">#:cancel#</a></li>'),f=c.extend({init:function(t,r){var l,h,d,f=this,g=i.mobileOS;c.fn.init.call(f,t,r),r=f.options,d=r.type,t=f.element,h="auto"===d?g&&g.tablet:"tablet"===d,l=h?a:s,r.cancelTemplate&&(m=n.template(r.cancelTemplate)),t.addClass("km-actionsheet").append(m({cancel:f.options.cancel})).wrap(u).on("up",p,"_click").on("click",p,n.preventDefault),f.view().bind("destroy",function(){f.destroy()}),f.wrapper=t.parent().addClass(d?" km-actionsheet-"+d:""),f.shim=new l(f.wrapper,e.extend({modal:g.ios&&g.majorVersion<7,className:"km-actionsheet-root"},f.options.popup)),f._closeProxy=e.proxy(f,"_close"),f._shimHideProxy=e.proxy(f,"_shimHide"),f.shim.bind("hide",f._shimHideProxy),h&&n.onResize(f._closeProxy),n.notify(f,o)},events:[r,l,h],options:{name:"ActionSheet",cancel:"Cancel",type:"auto",popup:{height:"auto"}},open:function(t,n){var i=this;i.target=e(t),i.context=n,i.shim.show(t)},close:function(){this.context=this.target=null,this.shim.hide()},openFor:function(e){var t=this,n=e.data(d);t.open(e,n),t.trigger(r,{target:e,context:n})},destroy:function(){c.fn.destroy.call(this),n.unbindResize(this._closeProxy),this.shim.destroy()},_click:function(t){var i,o,s,a;t.isDefaultPrevented()||(i=e(t.currentTarget),o=i.data("action"),o&&(s={target:this.target,context:this.context},a=this.options.$angular,a?this.element.injector().get("$parse")(o)(a[0])(s):n.getter(o)(window)(s)),this.trigger(h,{target:this.target,context:this.context,currentTarget:i}),t.preventDefault(),this._close())},_shimHide:function(e){this.trigger(l)?e.preventDefault():this.context=this.target=null},_close:function(e){this.trigger(l)?e.preventDefault():this.close()}});o.plugin(f)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
//# sourceMappingURL=kendo.mobile.actionsheet.min.js.map
