//>>built
require({cache:{"url:dojox/form/resources/UploaderFileList.html":'\x3cdiv class\x3d"dojoxUploaderFileList"\x3e\n\t\x3cdiv data-dojo-attach-point\x3d"progressNode" class\x3d"dojoxUploaderFileListProgress"\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"percentBarNode" class\x3d"dojoxUploaderFileListProgressBar"\x3e\x3c/div\x3e\n\t\t\x3cdiv data-dojo-attach-point\x3d"percentTextNode" class\x3d"dojoxUploaderFileListPercentText"\x3e0%\x3c/div\x3e\n\t\x3c/div\x3e\n\t\x3ctable class\x3d"dojoxUploaderFileListTable"\x3e\n\t\t\x3cthead\x3e\n\t\t\t\x3ctr class\x3d"dojoxUploaderFileListHeader"\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderIndex"\x3e${headerIndex}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderIcon"\x3e${headerType}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderFileName"\x3e${headerFilename}\x3c/th\x3e\n\t\t\t\t\x3cth class\x3d"dojoxUploaderFileSize" data-dojo-attach-point\x3d"sizeHeader"\x3e${headerFilesize}\x3c/th\x3e\n\t\t\t\x3c/tr\x3e\n\t\t\x3c/thead\x3e\n\t\t\x3ctbody class\x3d"dojoxUploaderFileListContent" data-dojo-attach-point\x3d"listNode"\x3e\x3c/tbody\x3e\n\t\x3c/table\x3e\n\x3cdiv\x3e'}});
define("dojox/form/uploader/FileList","dojo/_base/fx dojo/dom-style dojo/dom-class dojo/_base/declare dojo/_base/lang dojo/_base/array dijit/_base/manager dojox/form/uploader/_Base dojo/text!../resources/UploaderFileList.html".split(" "),function(k,g,e,l,h,m,n,p,q){return l("dojox.form.uploader.FileList",p,{uploaderId:"",uploader:null,headerIndex:"#",headerType:"Type",headerFilename:"File Name",headerFilesize:"Size",_upCheckCnt:0,rowAmt:0,templateString:q,postCreate:function(){this.setUploader();
this.hideProgress()},reset:function(){for(var a=0;a<this.rowAmt;a++)this.listNode.deleteRow(0);this.rowAmt=0},setUploader:function(){if(this.uploaderId||this.uploader)if(this.uploaderId&&!this.uploader)this.uploader=n.byId(this.uploaderId);else if(4<this._upCheckCnt)return;this.uploader?(this.connect(this.uploader,"onChange","_onUploaderChange"),this.connect(this.uploader,"reset","reset"),this.connect(this.uploader,"onBegin",function(){this.showProgress(!0)}),this.connect(this.uploader,"onProgress",
"_progress"),this.connect(this.uploader,"onComplete",function(){setTimeout(h.hitch(this,function(){this.hideProgress(!0)}),1250)}),(this._fileSizeAvail={html5:1,flash:1}[this.uploader.uploadType])||(this.sizeHeader.style.display="none")):(this._upCheckCnt++,setTimeout(h.hitch(this,"setUploader"),250))},hideProgress:function(a){this._hideShowProgress(a?{ani:!0,endDisp:"none",beg:15,end:0}:{endDisp:"none",ani:!1})},showProgress:function(a){this._hideShowProgress(a?{ani:!0,endDisp:"block",beg:0,end:15}:
{endDisp:"block",ani:!1})},_progress:function(a){this.percentTextNode.innerHTML=a.percent;g.set(this.percentBarNode,"width",a.percent)},_hideShowProgress:function(a){var c=this.progressNode,d=function(){g.set(c,"display",a.endDisp)};a.ani?(g.set(c,"display","block"),k.animateProperty({node:c,properties:{height:{start:a.beg,end:a.end,units:"px"}},onEnd:d}).play()):d()},_onUploaderChange:function(a){this.reset();m.forEach(a,function(c,d){this._addRow(d+1,this.getFileType(c.name),c.name,c.size)},this)},
_addRow:function(a,c,d,r){var f=this.listNode.insertRow(-1);var b=f.insertCell(-1);e.add(b,"dojoxUploaderIndex");b.innerHTML=a;b=f.insertCell(-1);e.add(b,"dojoxUploaderIcon");b.innerHTML=c;b=f.insertCell(-1);e.add(b,"dojoxUploaderFileName");b.innerHTML=d;this._fileSizeAvail&&(b=f.insertCell(-1),e.add(b,"dojoxUploaderSize"),b.innerHTML=this.convertBytes(r).value);this.rowAmt++}})});