define(["Marionette"],function(a){return a.LayoutView.extend({initialize:function(b){a.LayoutView.prototype.initialize.apply(this,arguments),this.lessonsModel=b.lessonsModel,this.settingsModel=b.settingsModel,_.bindAll(this,"template")},template:function(){return window.Tmpl.layoutLesson({lesson:this.lessonsModel.getLessonJSON(),hidePic:"hide"===this.settingsModel.getPictureLessonSelected().id,audioPlayer:window.myConfigApp.display.audioPlayer.show})},regions:{picRegion:".picRegion",textRegion:".textRegion",handMenuRegion:".handMenuRegion",prevLesson:".prevLesson",nextLesson:".nextLesson"}})});