define(["ember"],function(a){return a.Component.extend({tagName:"input",attributeBindings:["type","multiple","accept"],type:"file",multiple:!1,change:function(a){for(var b=a.target,c=[],d=0;d<b.files.length;d++)c.push(b.files[d]);this.set("files",c),this.set("value",b.value),b.files.clear&&b.files.clear()}})});