text: (function(){"use strict";var a=this;a.define(["backbone","communicator","models/NavBarItemModel","hbs!tmpl/NavBarItem"],function(a,b,c,d){var e=a.Marionette.ItemView.extend({model:c,template:{type:"handlebars",template:d},tagName:"li",cursor:"pointer",itemClicked:function(){b.mediator.trigger(this.model.get("eventToRaise"),this)},initialize:function(a){var b=this;if(this.model.get("subitems"))this.$el.attr("class","dropdown");else if(this.model.get("url"))this.$el.on("click",function(){window.location.href=b.model.get("url")});else{var c=this.model.get("eventToRaise").split(":");c&&"modal"===c[0]?this.$el.on("click",function(){$("#"+c[1]).modal("show")}):this.$el.on("click",$.proxy(this.itemClicked,this))}}});return{NavBarItemView:e}})}).call(this);