define(["Marionette","base/BaseCtrl","./views/LayoutView","showcase/ShowcaseCtrl","model/LessonsModel","model/SettingsModel"],function(a,b,c,d,e,f){var g=a.Controller.extend({initialize:function(){b.applyMixin.call(this),this.ctrls={},this.views={},this.settingsModel=new f,this.lessonsModel=new e({settingsModel:this.settingsModel}),this.settingsModel.lessonsModel=this.lessonsModel},show:function(){this.views.layoutView=componentUtils.destroy(this.views.layoutView),this.views.layoutView=new c,regionManager.get("homeRegion").show(this.views.layoutView),this.showShowcase()},showShowcase:function(){this.ctrls.showcaseCtrl=componentUtils.destroy(this.ctrls.showcaseCtrl),this.ctrls.showcaseCtrl=new d({lessonsModel:this.lessonsModel,settingsModel:this.settingsModel,region:this.views.layoutView.homeShowcaseRegion}),this.ctrls.showcaseCtrl.show()}});return _.extend(g.prototype,b),g});