(function(){var e,t;App.Views.NowPlayFullView=Backbone.View.extend({className:"swipablePanel swipeY",initialize:function(){this.$el.addClass(this.className),this.updatePanelLimits(),this.render();var e=this;showDebug==2&&console.log("NowPlayFullView initialize")},render:function(){},updatePanelLimits:function(){var t=$("body").height()-parseInt($("body").css("fontSize").split("px")[0])*6;e=[t,0]},getLimits:function(){return e},getState:function(){var n=this.$el.css("transform");return Math.floor(parseInt(App.Utils.PanelSwipe.matrixToArray(n)[5]))===Math.floor(e[1])?t=!0:t=!1,t},swipePanel:function(t,n,r){if(r=="swipeup"||r=="swipedown"){n?(this.$el.addClass("animate"),this.$el.css("transform","")):(this.$el.removeClass("animate"),isA4V||this.$el.css("transform","translate3d(0,"+t+"px,0)")),(e[0]<e[1]&&r=="swipedown"||e[0]>e[1]&&r=="swipeup")&&app.Models.MainLayoutModel.get("currentScenario")!=this.$el[0].id&&this.trigger("UPDATE_MAIN_VIEW",{scenario:"main_play"});if(e[0]>e[1]&&r=="swipedown"||e[0]<e[1]&&r=="swipeup")app.Models.MainLayoutModel.get("currentScenario")!=this.$el[0].id?this.$el.css("transform",""):this.trigger("UPDATE_MAIN_VIEW",{scenario:"main_play"})}else r=="none"&&($("#viewport").hasClass("device_tray")?!moved&&!outside&&funcObj.deviceTray.toggleTray(!1,!1):this.trigger("UPDATE_MAIN_VIEW",{scenario:"main_play"}));var i=app.Models.MainLayoutModel.get("currentScenario")[0];i=="main_play"?$("#main_play").addClass("open"):$("#main_play").removeClass("open")}})})();