!function(s){formintorjs.define(["admin/models/base-model","admin/models/results-collection","admin/models/questions-collection"],function(s,e,t){return s.extend({defaults:{results:!1,questions:!1,results_behav:"after",msg_correct:"Correct! It was %UserAnswer%.",msg_incorrect:"Wrong! It was %CorrectAnswer%, sorry...",msg_count:"You got %YourNum%/%Total% correct!"},initialize:function(){var s=arguments;!1===this.get("questions")&&this.set("questions",new t),!1===this.get("results")&&this.set("results",new e),s&&s[0]&&s[0].results&&(s.results=s[0].results instanceof e?s[0].results:new e(s[0].results),this.set("results",s.results)),s&&s[0]&&s[0].questions&&(s.questions=s[0].questions instanceof t?s[0].questions:new t(s[0].questions),this.set("questions",s.questions))}})})}(jQuery);