(function(n,t){"use strict";function i(){this._id="_members"+this.id();this.$id="#_members";this.$selectorId="#_filters";this.dom=null}i.prototype={constructor:i,onChange:function(n){var i=n.currentTarget.value,r=/all/i.test(i),u;this.dom.$find("tr").each(function(n,u){t(u).toggle(r||t(u).is("._"+i)).removeClass("dual").addClass(r?"dual":"")});u=this.applyStyle().size()===0;this.dom.$$("#_noresult").toggle(u)},applyStyle:function(){return this.dom.$find("tr:visible").each(function(n,i){t(i).removeClass("even odd").addClass(n%2==0?"even":"odd")})},init:function(){return this.dom=new n.DomHelper(this).init(),this.dom.$$(this.$selectorId).on("change","input",this.onChange.bind(this)).toggle(!0),this.sub("/event/ready",this.applyStyle.bind(this)),this}};t.extend(i.prototype,n.MP.pubSub,n.MP.helpers);n.Toggle=i})(window,jQuery),function(n){"use strict";n.MP.membersToggle=(new n.Toggle).init();n.MP.pubSub.pub("/event/ready")}(window,jQuery)