define(["Marionette","base/BaseCtrl","./views/ProcessiongView"],function(a,b,c){var d=a.Controller.extend({initialize:function(){b.applyMixin.call(this),this.ctrls={},this.views={},this.isShown=!0,this.views.processingView=componentUtils.destroy(this.views.processingView),this.views.processingView=new c,regionManager.get("processiongRegion").show(this.views.processingView)},showEl:function(a,b){this.isShown||(this.isShown=!this.isShown,this.views.processingView.showEl()),a&&_.delay(a,1e3,b)},hideEl:function(){this.isShown&&(this.isShown=!this.isShown,this.views.processingView.hideEl())}});return _.extend(d.prototype,b),d});