!function(e){formintorjs.define(["admin/models/answer-model"],function(e){return Backbone.Collection.extend({model:e,get_by_name:function(e){e=e.toLowerCase();var t=!1;return this.each(function(n){n.get("name").toLowerCase()==e&&(t=n)}),t},model_index:function(e){return this.indexOf(e)},get_by_index:function(e){return this.at(e)},move_to:function(e,t){if(e===t)return this;var n=this.at(t);return this.remove(n,{silent:!0}),this.add(n,{at:e,silent:!0}),this}})})}(jQuery);