YUI.add("moodle-mod_attendance-groupfilter",function(a,e){M.mod_attendance=M.mod_attendance||{},M.mod_attendance.groupfilter={groupmappings:null,init:function(e){"use strict";this.groupmappings=e.groupmappings,a.one("#id_group").after("change",this.update_user_list,this)},update_user_list:function(){"use strict";var e,t,n=a.one("#id_group").get("value"),o=this.groupmappings[n],i=a.one("#id_users");if(i.get("options").remove(),o!==undefined)for(e in o)o.hasOwnProperty(e)&&((t=a.Node.create("<option></option>")).set("value",e),t.set("text",o[e]),i.appendChild(t))}}},"@VERSION@",{requires:["base","node"]});