/** 
 * 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.application.min",["kendo.mobile.pane.min","kendo.router.min"],e)}(function(){return function(e,i){function t(e,i){var t=[];return u&&t.push("km-on-"+u.name),t.push(e.skin?"km-"+e.skin:"ios"==e.name&&e.majorVersion>6?"km-ios7":"km-"+e.name),("ios"==e.name&&e.majorVersion<7||"ios"!=e.name)&&t.push("km-"+e.name+e.majorVersion),t.push("km-"+e.majorVersion),t.push("km-m"+(e.minorVersion?e.minorVersion[0]:0)),e.variant&&(e.skin&&e.skin===e.name||!e.skin||e.setDefaultPlatform===!1)&&t.push("km-"+(e.skin?e.skin:e.name)+"-"+e.variant),e.cordova&&t.push("km-cordova"),t.push(e.appMode?"km-app":"km-web"),i&&i.statusBarStyle&&t.push("km-"+i.statusBarStyle+"-status-bar"),t.join(" ")}function n(i){return"km-wp-"+(i.noVariantSet?0===parseInt(e("<div style='background: Background' />").css("background-color").split(",")[1],10)?"dark":"light":i.variant+" km-wp-"+i.variant+"-force")}function o(e){return u.wp?"-kendo-landscape"==e.css("animation-name"):Math.abs(window.orientation)/90==1}function a(e){return o(e)?y:g}function s(e){e.parent().addBack().css("min-height",window.innerHeight)}function r(){e("meta[name=viewport]").remove(),D.append(x({height:", width=device-width"+(o()?", height="+window.innerHeight+"px":d.mobileOS.flatVersion>=600&&d.mobileOS.flatVersion<700?", height="+window.innerWidth+"px":", height=device-height")}))}var l=window.kendo,p=l.mobile,d=l.support,c=p.ui.Widget,h=p.ui.Pane,m="ios7",u=d.mobileOS,f="blackberry"==u.device&&u.flatVersion>=600&&u.flatVersion<1e3&&u.appMode,v=.93,g="km-vertical",k="chrome"===u.browser,w=u.ios&&u.flatVersion>=700&&u.flatVersion<800&&(u.appMode||k),b=Math.abs(window.orientation)/90==1,y="km-horizontal",V={ios7:{ios:!0,browser:"default",device:"iphone",flatVersion:"700",majorVersion:"7",minorVersion:"0.0",name:"ios",tablet:!1},ios:{ios:!0,browser:"default",device:"iphone",flatVersion:"612",majorVersion:"6",minorVersion:"1.2",name:"ios",tablet:!1},android:{android:!0,browser:"default",device:"android",flatVersion:"442",majorVersion:"4",minorVersion:"4.2",name:"android",tablet:!1},blackberry:{blackberry:!0,browser:"default",device:"blackberry",flatVersion:"710",majorVersion:"7",minorVersion:"1.0",name:"blackberry",tablet:!1},meego:{meego:!0,browser:"default",device:"meego",flatVersion:"850",majorVersion:"8",minorVersion:"5.0",name:"meego",tablet:!1},wp:{wp:!0,browser:"default",device:"wp",flatVersion:"800",majorVersion:"8",minorVersion:"0.0",name:"wp",tablet:!1}},x=l.template('<meta content="initial-scale=#: data.scale #, maximum-scale=#: data.scale #, user-scalable=no#=data.height#" name="viewport" />',{usedWithBlock:!1}),B=l.template('<meta name="apple-mobile-web-app-capable" content="#= data.webAppCapable === false ? \'no\' : \'yes\' #" /> <meta name="apple-mobile-web-app-status-bar-style" content="#=data.statusBarStyle#" /> <meta name="msapplication-tap-highlight" content="no" /> ',{usedWithBlock:!1}),C=l.template("<style>.km-view { clip: rect(0 #= data.width #px #= data.height #px 0); }</style>",{usedWithBlock:!1}),S=u.android&&"chrome"!=u.browser||u.blackberry,H=l.template('<link rel="apple-touch-icon'+(u.android?"-precomposed":"")+'" # if(data.size) { # sizes="#=data.size#" #}# href="#=data.icon#" />',{usedWithBlock:!1}),_=("iphone"==u.device||"ipod"==u.device)&&u.majorVersion<7,P=("iphone"==u.device||"ipod"==u.device)&&u.majorVersion>=7,T=P?"none":null,z="mobilesafari"==u.browser?60:0,j=20,M=e(window),W=window.screen,D=e("head"),E="init",R=e.proxy,N=c.extend({init:function(i,t){p.application=this,e(e.proxy(this,"bootstrap",i,t))},bootstrap:function(i,t){var n,o,a;i=e(i),i[0]||(i=e(document.body)),c.fn.init.call(this,i,t),this.element.removeAttr("data-"+l.ns+"role"),this._setupPlatform(),this._attachMeta(),this._setupElementClass(),this._attachHideBarHandlers(),n=e.extend({},this.options),delete n.name,o=this,a=function(){o.pane=new h(o.element,n),o.pane.navigateToInitial(),o.options.updateDocumentTitle&&o._setupDocumentTitle(),o._startHistory(),o.trigger(E)},this.options.$angular?setTimeout(a):a()},options:{name:"Application",hideAddressBar:!0,browserHistory:!0,historyTransition:T,modelScope:window,statusBarStyle:"black",transition:"",retina:!1,platform:null,skin:null,updateDocumentTitle:!0,useNativeScrolling:!1},events:[E],navigate:function(e,i){this.pane.navigate(e,i)},replace:function(e,i){this.pane.replace(e,i)},scroller:function(){return this.view().scroller},hideLoading:function(){if(!this.pane)throw Error("The mobile application instance is not fully instantiated. Please consider activating loading in the application init event handler.");this.pane.hideLoading()},showLoading:function(){if(!this.pane)throw Error("The mobile application instance is not fully instantiated. Please consider activating loading in the application init event handler.");this.pane.showLoading()},changeLoadingMessage:function(e){if(!this.pane)throw Error("The mobile application instance is not fully instantiated. Please consider changing the message in the application init event handler.");this.pane.changeLoadingMessage(e)},view:function(){return this.pane.view()},skin:function(e){var i=this;return arguments.length?(i.options.skin=e||"",i.element[0].className="km-pane",i._setupPlatform(),i._setupElementClass(),i.options.skin):i.options.skin},destroy:function(){c.fn.destroy.call(this),this.pane.destroy(),this.options.browserHistory&&this.router.destroy()},_setupPlatform:function(){var i=this,o=i.options.platform,a=i.options.skin,s=[],r=u||V[m];o&&(r.setDefaultPlatform=!0,"string"==typeof o?(s=o.split("-"),r=e.extend({variant:s[1]},r,V[s[0]])):r=o),a&&(s=a.split("-"),u||(r.setDefaultPlatform=!1),r=e.extend({},r,{skin:s[0],variant:s[1]})),r.variant||(r.noVariantSet=!0,r.variant="dark"),i.os=r,i.osCssClass=t(i.os,i.options),"wp"==r.name&&(i.refreshBackgroundColorProxy||(i.refreshBackgroundColorProxy=e.proxy(function(){(i.os.variant&&i.os.skin&&i.os.skin===i.os.name||!i.os.skin)&&i.element.removeClass("km-wp-dark km-wp-light km-wp-dark-force km-wp-light-force").addClass(n(i.os))},i)),e(document).off("visibilitychange",i.refreshBackgroundColorProxy),e(document).off("resume",i.refreshBackgroundColorProxy),r.skin||(i.element.parent().css("overflow","hidden"),e(document).on("visibilitychange",i.refreshBackgroundColorProxy),e(document).on("resume",i.refreshBackgroundColorProxy),i.refreshBackgroundColorProxy()))},_startHistory:function(){this.options.browserHistory?(this.router=new l.Router({pushState:this.options.pushState,root:this.options.root,hashBang:this.options.hashBang}),this.pane.bindToRouter(this.router),this.router.start()):this.options.initial||this.pane.navigate("")},_resizeToScreenHeight:function(){var i,t=e("meta[name=apple-mobile-web-app-status-bar-style]").attr("content").match(/black-translucent|hidden/),n=this.element;i=k?window.innerHeight:o(n)?t?b?W.availWidth+j:W.availWidth:b?W.availWidth:W.availWidth-j:t?b?W.availHeight:W.availHeight+j:b?W.availHeight-j:W.availHeight,n.height(i)},_setupElementClass:function(){var i,t=this,n=t.element;n.parent().addClass("km-root km-"+(t.os.tablet?"tablet":"phone")),n.addClass(t.osCssClass+" "+a(n)),this.options.useNativeScrolling&&n.parent().addClass("km-native-scrolling"),k&&n.addClass("km-ios-chrome"),d.wpDevicePixelRatio&&n.parent().css("font-size",d.wpDevicePixelRatio+"em"),this.options.retina&&(n.parent().addClass("km-retina"),n.parent().css("font-size",d.devicePixelRatio*v+"em")),f&&r(),t.options.useNativeScrolling?n.parent().addClass("km-native-scrolling"):S&&(i=(screen.availWidth>screen.availHeight?screen.availWidth:screen.availHeight)+200,e(C({width:i,height:i})).appendTo(D)),w&&t._resizeToScreenHeight(),l.onResize(function(){n.removeClass("km-horizontal km-vertical").addClass(a(n)),t.options.useNativeScrolling&&s(n),w&&t._resizeToScreenHeight(),f&&r(),l.resize(n)})},_clearExistingMeta:function(){D.find("meta").filter("[name|='apple-mobile-web-app'],[name|='msapplication-tap'],[name='viewport']").remove()},_attachMeta:function(){var e,i=this.options,t=i.icon;if(this._clearExistingMeta(),f||D.prepend(x({height:"",scale:this.options.retina?1/d.devicePixelRatio:"1.0"})),D.prepend(B(i)),t){"string"==typeof t&&(t={"":t});for(e in t)D.prepend(H({icon:t[e],size:e}))}i.useNativeScrolling&&s(this.element)},_attachHideBarHandlers:function(){var e=this,i=R(e,"_hideBar");!d.mobileOS.appMode&&e.options.hideAddressBar&&_&&!e.options.useNativeScrolling&&(e._initialHeight={},M.on("load",i),l.onResize(function(){setTimeout(window.scrollTo,0,0,1)}))},_setupDocumentTitle:function(){var e=this,t=document.title;e.pane.bind("viewShow",function(e){var n=e.view.title;document.title=n!==i?n:t})},_hideBar:function(){var i=this,t=i.element;t.height(l.support.transforms.css+"calc(100% + "+z+"px)"),e(window).trigger(l.support.resize)}});l.mobile.Application=N,l.ui.plugin(N,l.mobile,"Mobile")}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,i,t){(t||i)()});
//# sourceMappingURL=kendo.mobile.application.min.js.map
