/*! phoscon-app 2024-10-07 */

export const getEmptyView=constants=>{return new(Backbone.View.extend({el:"#empty",template:_.template(document.getElementById("group-scenes-empty-template").innerHTML),initialize:function(){this.el.innerHTML=this.template(),this.navEmptyInfo=document.querySelector(".nav-empty-info"),this.listenTo(this.collection,"add",this.addOne),this.listenTo(this.collection,"remove",this.removeOne)},show:function(){this.el.classList.remove("hide"),this.navEmptyInfo.style.display="block"},hide:function(){this.el.classList.add("hide"),this.navEmptyInfo.style.display="none"},addOne:function(){this.hide},events:{}}))};