var L=M.U(Dn,"AdfDhtmlInputFilePeer",p);v("AdfDhtmlInputFilePeer",L);
L.m=function(){this.yra="upBtn";this.HF="uplBtn";this.Dm="cnlBtn";this.Oq="rtBtn";this.AF="stpBtn";this.Gm="delBtn";this.Ara="upVal";this.GF="dlg";this.zra="dlgCont";this.HKa="if";this.SJa="iff";this.tF="p";this.N5="da";this.l7a="tb";this.$L="icn";this.Ioa="icn_ovr";this.POa="t";this.oqa="r";this.U5="fn";this.wU="fs";this.nF="fd";this.vw="ff";this.zna="dc";this.Ana="df";this.Jm="_afrProgressDet";this.vt="_afrProgressIndet";this.cM="maximumFiles";this.RNa="rows";this.Z4="autoHeightRows";this.Bra="uploadType";
this.U7="submit";this.T7="auto";this.UPa="autoIfMultiple";this.VPa="manual";this.kF="displayMode";this.mF="none";this.lF="dropArea";this.hi="_afrItemId";this.rM="_afrRowUploaded";this.X6a="_afrRowDeleted";this.xF="_afrFilename";this.nqa="_afrFilesize";this.AL="_adfFileBtn";this.AJa="dlgAddBtn";this.CJa="dlgUpdBtn";this.BJa="dlgDelBtn";this.tKa="UPDATE";this.rKa="ADD";this.sKa="DELETE";this.BF="none";this.kV="inline";this.A7="visible";this.lV="hidden";this.Lq="display";this.eA="visibility";this.lU=
"overflowY";this.JOa="af|inputFile::multiple-upload-drag";this.i7a="af|inputFile::multiple-upload-filelist";this.wM="af|inputFile::multiple-upload-dropzone";this.zLa="_afrFileSize";this.yLa="_afrDiskSpace";this.IA;M.ha(this,I.jb,ab.ga);this.pn="old"!=F.c.u().ka("af|dialog-tr-button-type");this.pn=p};v("AdfDhtmlInputFilePeer.InitSubclass",L.m);
L.prototype.q=function(a,b){L.f.q.call(this,a,b);if(L.ox(a)){var d=w.b,e=F.c.u(),f=a.e(),g=M.g(f,L.tF),h=M.g(f,L.N5),m=M.g(g,L.$L),f=M.g(g,L.Ioa),g=d.getElementById(g),h=d.getElementById(h),m=d.getElementById(m),d=d.getElementById(f);m&&(this.Ae=m);d&&(this.Fj=d);this.Fl=g;this.SA=h;this.Lj=[];this.Oi=a.r(L.Z4);this.Oi||(this.Oi=0);this.nQ=L.OVa(a);this.fP=a.r(L.cM);this.Hf=a.r(L.RNa);a.getAutoSubmit()&&(a.setProperty("autoSubmit",p,p,J.Pc),this.ZM=l);this.on="undefined"!=typeof File?l:p;w.b.slice()===
k?this.$F=p:this.$F=l;this.Oj="undefined"!=typeof FormData?l:p;if((this.Ir=!("draggable"in b)||!this.Oj||!this.$F?p:l)&&!a.getDisabled())this.I9=e.getStyleClass(L.JOa),this.Fl!=n?(w.b.S(this.Fl,"dragenter",this.o(this.Uva)),w.b.S(this.Fl,"dragleave",this.o(this.$$)),w.b.S(this.Fl,"dragover",this.o(this.Vva))):this.SA!=n&&(w.b.S(this.SA,"dragenter",this.o(this.Uva)),w.b.S(this.SA,"dragleave",this.o(this.$$)),w.b.S(this.SA,"dragover",this.o(this.Vva)));F.c.HDa(a,"always");En(this,a,b)}this.nua=p;this.MW=
[]};z.a("AdfDhtmlInputFilePeer.prototype.InitDomElement",{q:L.prototype.q});L.prototype.ja=t(l);z.a("AdfDhtmlInputFilePeer.prototype.needsResizeNotify",{ja:L.prototype.ja});L.prototype.se=function(a){var b=this.h();L.ox(a)&&En(this,a,b)};z.a("AdfDhtmlInputFilePeer.prototype.resizeNotify",{se:L.prototype.se});L.prototype.eg=ca();z.a("AdfDhtmlInputFilePeer.prototype.getConvertedValue",{eg:L.prototype.eg});L.prototype.SI=function(){this.Vua==n&&(this.Vua=new Pc(this.d()));return this.Vua};
z.a("AdfDhtmlInputFilePeer.prototype.getFileUploadManager",{SI:L.prototype.SI});L.prototype.Pb=r("Wua");z.a("AdfDhtmlInputFilePeer.prototype.getFileUploadUtils",{Pb:L.prototype.Pb});L.prototype.Bc=function(a){return Fn(this)?p:L.f.Bc.call(this,a)};z.a("AdfDhtmlInputFilePeer.prototype.isEmpty",{Bc:L.prototype.Bc});L.prototype.W0=function(){return 0<this.Pb().Ku().length?p:l};z.a("AdfDhtmlInputFilePeer.prototype.isUploadQueueEmpty",{W0:L.prototype.W0});
L.prototype.X0=function(){for(var a=this.Pb().zp(),b=0;b<a.length;b++)if(!a.item(b).Nx)return l;return p};z.a("AdfDhtmlInputFilePeer.prototype.isUploadResultFailed",{X0:L.prototype.X0});L.prototype.Oc=function(a,b){L.f.Oc.call(this,a,b);if(a.r(L.kF)!=L.mF){var d=n;L.ox(a)||(d=U.W(a,b),Fn(this)&&(this.IA=d.cloneNode(l)),M.Sx(L,d,"change"))}};z.a("AdfDhtmlInputFilePeer.prototype.LazyInitialize",{Oc:L.prototype.Oc});L.prototype.$k=t(l);z.a("AdfDhtmlInputFilePeer.prototype.ComponentValueChanged",{$k:L.prototype.$k});
L.prototype.pg=function(){var a=Fn(this);a!=n?O.ra(a):L.f.pg.call(this)};z.a("AdfDhtmlInputFilePeer.prototype.Focus",{pg:L.prototype.pg});L.prototype.pd=function(a,b){var d=a.e(),d=M.g(d,L.Ara),d=w.b.getElementById(d);return d!=n?d:L.f.pd.call(this,a,b)};z.a("AdfDhtmlInputFilePeer.prototype.GetNoteWindowAlignmentNode",{pd:L.prototype.pd});
L.prototype.C=function(a){L.f.C.call(this,a);var b=this.d(),d=b.k(),e=w.b,f=F.c;if(!b.getDisabled()&&a.Jb()){a=a.L();var g=e.T(a),h=e.getAttribute(g,L.hi),m=b.e(),q=M.g(m,L.yra),s=M.g(m,L.HF),y=M.g(m,L.AF);if("LABEL"==e.Ga(g))return this.focus(b),e.va(a),l;if(g.id==q){d=M.g(m,L.GF);if(d=e.getElementById(d)){for(d=d.firstChild;d&&1!=d.nodeType;)d=d.nextSibling;if(d!=n&&(this.sm(),f.ff(m),b.getValid()==p&&b.setProperty("valid",l),this.fe(b,d,n,L.GF),!this.nua)){this.nua=l;var A=Gn(this);if(A&&(b=Bg.Ot(A,
Bg.P6))){var C=this;e.S(b,I.jb,function(){if(w.b.getElementById(A).getElementsByTagName("input")[0].value){f.ff(m);var a=C.d();a.getValid()==p&&a.setProperty("valid",l)}})}}}e.va(a);return l}if(g.id==s)return f.ff(m),Hn(this,b),e.va(a),l;if(g.id==y)return L.fH(b,L.AF),"auto"!=this.nQ&&L.$Z(b,L.HF),d.Pb().qC(l),e.va(a),l;if(h!=n){f.ff(m);var q=L.zl(m,h),s=M.g(q,L.Dm),y=M.g(q,L.Gm),G=M.g(q,L.Oq);if(g.id==s)d.Pb().Vx(p);else if(g.id==y){b=e.getElementById(y);if(b!=n&&b.getAttribute("disabled"))return;
b=e.getElementById(q);g=e.getAttribute(b,L.rM);!g||"false"==g?d.Pb().Zx(e.getAttribute(b,L.xF)):d.Pb().zC(e.getAttribute(b,L.xF))}else g.id==G&&(this.FG(h)!=n&&!this.FG(h).Nx)&&(d.Pb().xea(this.FG(h)),L.tf(b,L.Oq,h),L.Pl(b,L.Gm,h),L.tf(b,L.Dm,h),L.tf(b,L.vw,h),In(this,h),d.Pb().od()||L.b_(b));e.va(a);return l}if(g.getAttribute(L.AL)!=n&&(e=g.getAttribute(L.AL),a=this.jX(b)))e==L.CJa?a.value=L.tKa:e==L.AJa?a.value=L.rKa:e==L.BJa&&(a.value=L.sKa)}};
z.a("AdfDhtmlInputFilePeer.prototype.HandleComponentClick",{C:L.prototype.C});function Gn(a){a=a.d().e();return L.pn?a+"_"+L.zra:M.g(a,L.zra)}
L.prototype.qf=function(a){var b=this.d(),d=a.Xj(),e=w.b;if(d==ab.fl){b.e();var d=Gn(this),f=e.getElementById(d).getElementsByTagName("input")[0];if(f.value){var d=M.g(b.e(),L.Ara),d=e.getElementById(d),f=f.value,g=-1;if(0<=(g=f.lastIndexOf("\\"))||0<=(g=f.lastIndexOf("/")))f=f.substr(g+1);"INPUT"==w.b.Ga(d)?d.value=f:e.yb(d,f);Jn(this,b,f)}else return}else d==ab.vm&&(b=U.W(b,this.h()),d=b.parentNode,d.removeChild(b),d.appendChild(this.IA),e.wa(this.IA),this.IA=this.IA.cloneNode(l));a.cancel();this.ob(this.d(),
L.GF)};z.a("AdfDhtmlInputFilePeer.prototype.HandleComponentDialog",{qf:L.prototype.qf});L.prototype.zb=function(a){var b=a.L(),b=w.b.ia(b),d=U.W(this.d());F.c.Qc==d&&b!==E.Df&&a.cancel();b==E.$a&&(w.b.G()==w.aa?D.i.info("Due to a bug in IE, the enter key press will not invoke the 'Choose File to Upload' dialog."):a.Q().click())};z.a("AdfDhtmlInputFilePeer.prototype.HandleComponentKeyPress",{zb:L.prototype.zb});
function Kn(a,b){var d=a.d();if(b&&b.files&&1===b.files.length&&b.files[0]instanceof File&&b.files[0].size!==k){var e=b.files[0].size;if(!Ln.oja(d,e,e,function(a){F.c.rn(d.e(),a)}))return p}return l}L.prototype.tE=function(a,b){var d=w.b,e=w.b.T(b);a.focus();if(L.ox(a))if(this.Oj&&this.on){for(var d=e.files,f=0;f<d.length;f++)g=d[f],this.Pb().kp(g);this.nG!=L.mF&&Mn(this.Pb(),e)}else this.Pb().kp(e);else{d.G()==w.aa&&(d=Fn(this),f=U.W(a),(d==n?f:d).select());var g=e.value;Kn(this,e)&&Jn(this,a,g)}};
z.a("AdfDhtmlInputFilePeer.prototype.HandleDomChange",{tE:L.prototype.tE});L.prototype.L3=function(a,b){var d=w.b,e=b.dataTransfer.files;if(e)for(var f=0;f<e.length;f++){var g=e[f];this.Pb().kp(g)}this.nG!=L.mF&&this.$$(b);d.va(b)};z.a("AdfDhtmlInputFilePeer.prototype.HandleDomDrop",{L3:L.prototype.L3});L.prototype.gha=function(){if(F.c.Xt)return p;var a=this.Pb().zp();if(a!=n)for(var b=0;b<a.length;b++)if(a.item(b).Nx)return l;return this.Pb().od()};
z.a("AdfDhtmlInputFilePeer.prototype.isDataDirty",{gha:L.prototype.gha});L.prototype.S0=function(){return L.ox(this.d())};z.a("AdfDhtmlInputFilePeer.prototype.isMultipleUpload",{S0:L.prototype.S0});L.prototype.Va=function(a,b,d){L.f.Va.call(this,a,b);if(d==L.GF){d=a.e();d=M.g(d,L.GF);d=w.b.getElementById(d);var e=Fn(this);O.ra(e);d&&d.appendChild(b);L.ox(a)||(a=U.W(a))&&Kn(this,a)}};z.a("AdfDhtmlInputFilePeer.prototype.PopupClosed",{Va:L.prototype.Va});L.prototype.lw=t(l);
z.a("AdfDhtmlInputFilePeer.prototype.VetoBlurValidation",{lw:L.prototype.lw});L.prototype.Ad=function(a){return this.Qa(a,L.GF)?l:L.f.Ad.call(this)};z.a("AdfDhtmlInputFilePeer.prototype.VetoShowNoteWindow",{Ad:L.prototype.Ad});
function En(a,b,d){var e=w.b,f=b.e();a.Wua||(a.Wua=new Ln(a,b,d));Ln.RO(b)==l&&!a.yca&&(a.yca=Ln.Dva(b),a.yca.addEventListener(Rb.qo,a.o(a.OWa)),a.yca.addEventListener(Sb.gL,a.o(a.PWa)));a.nG=b.r(L.kF);if(a.nG!=L.mF&&b.getVisible())if(a.nG==L.lF){var g=M.g(f,L.N5),e=e.getElementById(g);Nn(a,b);On(a,g,e.offsetWidth,e.offsetHeight)}else{var g=M.g(f,L.tF),h=a.Ae.children[0].height;"auto"==a.nQ&&L.fH(b,L.HF);L.fH(b,L.AF);for(var m=0;m<a.Oi;m++){var q=L.zl(f,m),q=e.getElementById(q);if(q!=n){var s=e.getAttribute(q,
L.hi);s==n&&L.rXa(b,m)}}L.tf(b,L.vt,n);L.tf(b,L.Dm,n);L.tf(b,L.Oq,n);L.tf(b,L.nF,n);s=L.zl(f,n);q=e.getElementById(s);m=0;0<q.offsetWidth&&(m=q.offsetWidth);!a.m0a&&0<q.offsetHeight&&(a.m0a=q.offsetHeight);a.UF||(0<a.Oi?0<q.offsetHeight&&(a.UF=q.offsetHeight*a.Oi):a.UF=0);0<m&&L.mu(s,L.Lq,L.BF);a.UF&&0<a.UF&&a.UF>h?a.iH=a.UF:0<h&&(a.iH=h);L.mu(g,L.lU,"scroll");s=a.Fl.offsetWidth-a.Fl.clientWidth;if(0<m)0===s?(m=M.g(f,"pane"),a.Yo=e.getElementById(m).offsetWidth):a.Yo=m+s;else if(!a.Yo||0==a.Yo||!a.iH){setTimeout(function(){En(a,
b,d)},1E3);return}L.mu(g,L.lU,"auto");s=e.getAttribute(a.Fl,L.hi);a.rRa||(a.Pb().addEventListener(Pc.Os,function(b){if(b.Rk()!=n){var d=b.Rk().hf();b=b.Yj();var e=a.d(),d=Pn(a,d).getAttribute(L.hi),d=L.Oe(e,L.Jm,d),d=F.c.j(d);d!=n&&d.k().M4(b)}}),a.Pb().addEventListener(Pc.Lg,function(b){if(b.Cg()==Pc.kt&&b.Ld()!=Pc.f3){var d=b.Rk().hf(),e=b.Ld()==Pc.jj,f=w.b;b=a.d();var d=Pn(a,d),g=d.getAttribute(L.hi);e?(L.jB(b,L.Jm,g),L.jB(b,L.vt,g),L.Pl(b,L.nF,g),L.tf(b,L.Dm,g),L.Pl(b,L.Gm,g),e=w.b,g=L.Oe(b,L.Gm,
g),e=e.getElementById(g),e!=n&&(e.setAttribute("disabled","disabled"),a.MW.push(g)),f.setAttribute(d,L.rM,"true"),F.c.ZDa(l)):(L.tf(b,L.Dm,g),L.Pl(b,L.Oq,g),L.jB(b,L.Jm,g),L.Pl(b,L.vw,g));L.b_(b)}else b.Cg()==Pc.zq?(f=b.Rk().hf(),b=b.Ld()==Pc.jj,d=a.d(),f=Pn(a,f),b&&L.Yya(d,f)):b.Cg()==Pc.po?Qn(a,b.Rk().hf(),b.Ld()==Pc.jj):b.Cg()==Pc.pT&&Qn(a,b.Rk().hf(),b.Ld()==Pc.jj)}),a.Pb().addEventListener(Pc.Kg,function(d){if(d.fJ()==Pc.Nv){var e=d.Rk();d.Cg()==Pc.zq?L.Yya(b,Pn(a,e.hf())):d.Cg()==Pc.Sz&&(d.getMessage()!=
n?(d=d.getMessage(),db.Fea(f,b,d)):(d=L.iRa(b,e.hf(),e.Yfa(),e.Vj()),a.Lj.push(d)))}}),a.rRa=l);Nn(a,b);if(s!=n)for(m=0;m<=s;m++)if(q=L.zl(f,m),q=e.getElementById(q),L.tf(b,L.Dm,m),L.tf(b,L.Oq,m),L.jB(b,L.Jm,m),L.tf(b,L.vt,m),L.tf(b,L.vw,m),g=L.zG(b,L.Gm,m),e.setAttribute(g,L.hi,m),g=e.getAttribute(q,L.xF),h=e.getAttribute(q,L.nqa),a.Lj.push(q),"true"==e.getAttribute(q,L.rM)){q=l;if(h==n||0>h)q=p,L.Pl(b,L.vw,m),L.tf(b,L.nF,m),L.tf(b,L.wU,m);L.LV(b,new Pc.j3(m,g,h,n,q))}a.Yo&&0<a.Yo&&Rn(b)}}
function Rn(a){var b=w.b,d=F.c.u(),e=a.k();a=a.e();a=M.g(a,L.tF);var f=M.g(a,L.$L),g=b.getElementById(a),f=b.getElementById(f);L.nu(g,"height:"+e.iH+"px;width:"+e.Yo+"px;overflow-y:hidden");On(e,a,e.Yo,e.iH);e.Jaa=0<e.Oi?e.Oi:0;e.Ir&&H.n(g,d.getStyleClass(L.wM));if(0<Sn(e.Pb())||!e.Ir)f&&f.parentNode&&(f.parentNode.removeChild(f),b.gc(f)),H.F(g,d.getStyleClass(L.wM))}
function On(a,b,d,e){var f=w.b,g=M.g(b,L.$L);b=M.g(b,L.Ioa);g=f.getElementById(g);b=f.getElementById(b);if(g){var h=g.children[0],m=h.width,h=h.height,q=e/2-h/2,q=0>q?0:q,s=d/2-m/2,s=0>s?0:s;a.nG==L.lF?L.nu(g,"width:"+m+"px;height:"+h+"px;position:relative;top:"+q+"px;left:"+s+"px"):L.nu(g,"width:"+m+"px;height:"+h+"px;position:absolute;top:"+q+"px;left:"+s+"px")}b&&(h=b.children[0],m=h.width,h=h.height,q=e/2-h/2,q=0>q?0:q,s=d/2-m/2,s=0>s?0:s,a.nG==L.lF?L.nu(b,"width:"+m+"px;height:"+h+"px;position:relative;top:"+
q+"px;left:"+s+"px"):L.nu(b,"width:"+m+"px;height:"+h+"px;position:absolute;top:"+q+"px;left:"+s+"px"),b&&b.parentNode&&(b.parentNode.removeChild(b),f.gc(b)))}function Pn(a,b){var d=w.b;if(a.Lj)for(var e=0;e<a.Lj.length;e++)if(d.getAttribute(a.Lj[e],L.xF)==b)return a.Lj[e];return n}u=L.prototype;u.jX=function(a){a=M.g(a.e(),"hiddendata");return w.b.getElementsByName(a)[0]};function Fn(a){a=a.d().e();a=M.g(a,L.yra);return w.b.getElementById(a)}
u.FG=function(a){for(var b=this.Pb().zp(),d=0;d<b.length;d++)if(b.item(d).Vj()==a)return b.item(d);return n};u.Uva=function(a){var b=w.b;if(a!=n&&!this.TW){var d=this.Fl==n?this.SA:this.Fl;H.n(d,this.I9);this.Fj&&this.Ir&&(this.Ae&&this.Ae.parentNode&&(this.Ae.parentNode.removeChild(this.Ae),b.gc(this.Ae)),d.appendChild(this.Fj),b.wa(this.Fj));this.TW=l}b.va(a)};
u.$$=function(a){var b=w.b;if(a!=n){var d=this.Fl==n?this.SA:this.Fl,e=Sn(this.Pb());H.F(d,this.I9);this.Ae&&(0<e?(this.Ae.parentNode&&(this.Ae.parentNode.removeChild(this.Ae),b.gc(this.Ae)),this.Fj.parentNode&&(this.Fj.parentNode.removeChild(this.Fj),b.gc(this.Fj))):this.Ae&&this.Ir&&(d.appendChild(this.Ae),b.wa(this.Ae)));this.TW=p}b.va(a)};
u.Vva=function(a){var b=w.b;if(a!=n&&!this.TW){var d=this.Fl==n?this.SA:this.Fl;H.n(d,this.I9);this.Fj&&this.Ir&&(this.Ae&&this.Ae.parentNode&&(this.Ae.parentNode.removeChild(this.Ae),b.gc(this.Ae)),d.appendChild(this.Fj),b.wa(this.Fj));this.TW=l}b.va(a)};function Jn(a,b,d){d&&" "==d.charAt(0)?(b.setProperty("valid",p),db.k_(b.e())):a.Yb(b,d)}u.OWa=function(){this.d().e();var a=this.yN;a!=n&&(this.SH=l,this.h8a(a,l,l),Tn(this));this.Pb().hja()};u.PWa=function(){En(this,this.d(),this.h())};
function Qn(a,b,d){var e=a.d();b=Pn(a,b).getAttribute(L.hi);d?(a.Qca(b),Tn(a)):(L.Pl(e,L.Gm,b),L.tf(e,L.Dm,b))}u.Qca=function(a){var b=w.b,d=this.d();d.getValid()==p&&d.setProperty("valid",l);for(d=0;d<this.Lj.length;d++)if(this.Lj[d].getAttribute(L.hi)==a){this.Pb().Zx(b.getAttribute(this.Lj[d],L.xF));break}};
function Nn(a,b){var d=b.e(),e=n;if(a.yda)e=a.yda;else{a.yda=[];var e=a.yda,f=n;b.r(L.kF)==L.lF?(f=M.g(d,L.N5),e.dropAreaId=f,e.fallbackInputId=M.g(d,L.SJa)):f=M.g(d,L.tF);b.r(L.kF)!=L.lF&&(e.inputId=M.g(d,L.HKa));e.dropAreaId=f}a.Pb().load(e)}function In(a,b){var d=n,d=a.on&&a.Oj?L.Jm:L.vt;L.R0a(a.d(),d,b)}
function Hn(a,b,d){var e=w.b,f=b.e();if(Sn(a.Pb())>a.fP&&0<a.fP)db.GQ(f,b,"af_inputFile.MSG_UPLOAD_MAXIMUM_FILES_ERROR","af_inputFile.MSG_UPLOAD_MAXIMUM_FILES_ERROR_DETAIL");else{L.fH(b,L.HF);a.SH=p;for(f=0;f<a.Lj.length;f++){var g=e.getAttribute(a.Lj[f],L.rM);if(!g||"false"==g)g=a.Lj[f].getAttribute(L.hi),In(a,g)}L.$Z(b,L.AF);d!=n?L.gp(b,d):L.b_(b)}}L.LV=function(a,b){var d=a.k();a.getValid()==p&&a.setProperty("valid",l);d.FG(b.Vj())||d.Pb().yea(b)};
L.iRa=function(a,b,d,e){var f=w.b,g=F.c.u(),h=a.k(),m=h.w(),q=a.e(),s=L.Kva(q);h.Ae&&h.Ae.parentNode&&(h.Ae.parentNode.removeChild(h.Ae),f.gc(h.Ae),H.F(s,g.getStyleClass(L.wM)));h.Fj&&h.Fj.parentNode&&(h.Fj.parentNode.removeChild(h.Fj),f.gc(h.Fj),H.F(s,g.getStyleClass(L.wM)));e==n&&(e=f.getAttribute(s,L.hi),e=e!=n?parseInt(e)+1:0);f.setAttribute(s,L.hi,e);q=L.zl(q,e);q=f.getElementById(q);q==n&&(q=L.qTa(a,e));L.S0a(a,e);var y=L.zG(a,L.Dm,e),A=L.zG(a,L.Gm,e),C=L.zG(a,L.Oq,e);f.setAttribute(q,L.hi,
e);f.setAttribute(q,L.xF,b);f.setAttribute(y,L.hi,e);f.setAttribute(A,L.hi,e);f.setAttribute(C,L.hi,e);f.setAttribute(y,"aria-label",g.V("af_inputFile.LABEL_FILE_CANCEL_BUTTON_ACC",b));f.setAttribute(A,"aria-label",g.V("af_inputFile.LABEL_FILE_CANCEL_BUTTON_ACC",b));f.setAttribute(C,"aria-label",g.V("af_inputFile.LABEL_FILE_RETRY_BUTTON_ACC",b));g=L.zG(a,L.U5,e);y=L.zG(a,L.wU,e);A=m.createElement("a");g.appendChild(A);A.setAttribute("title",b);16<b.length?A.appendChild(m.createTextNode(b.substr(0,
15)+"...")):A.appendChild(m.createTextNode(b));d!=n&&(y.appendChild(m.createTextNode(L.qVa(d))),f.setAttribute(q,L.nqa,d));f.setAttribute(q,L.rM,"false");L.Pl(a,L.Gm,e);L.tf(a,L.Dm,e);L.tf(a,L.Oq,e);L.tf(a,L.nF,e);L.tf(a,L.vw,e);!h.on||!h.Oj?(L.tf(a,L.Jm,e),L.Pl(a,L.vt,e),h.Pb().od()||L.jB(a,L.vt,e)):(L.tf(a,L.vt,e),h.Pb().od()||L.jB(a,L.Jm,e));a=Sn(h.Pb())+1;b=q.offsetHeight;d=a*parseInt(b);a>h.Jaa&&a<=h.Hf?(d=1==a?parseInt(b):a*parseInt(b),L.nu(s,"height:"+d+"px;width:"+h.Yo+"px;overflow-y:hidden")):
a>h.Hf&&(d=h.Hf*parseInt(b),L.nu(s,"height:"+d+"px;width:"+h.Yo+"px;overflow-y:auto;margin-right: 0px;"));return q};
L.qTa=function(a,b){var d=w.b,e=a.e(),f=L.zl(e,n),g=d.getElementById(f),e=L.zl(e,b),h=g.cloneNode(g),m=L.Oe(a,L.U5,n),q=L.Oe(a,L.wU,n),s=L.Oe(a,L.nF,n),y=L.Oe(a,L.vw,n),A=L.Oe(a,L.Dm,n),C=L.Oe(a,L.Gm,n),G=L.Oe(a,L.Oq,n),K=L.Oe(a,L.Jm,n),N=L.Oe(a,L.vt,n);d.setAttribute(g,"id",e);d.setAttribute(g,L.hi,b);var Q=L.Oe(a,L.U5,b),T=L.Oe(a,L.wU,b),Y=L.Oe(a,L.nF,b),ra=L.Oe(a,L.vw,b),wa=L.Oe(a,L.Dm,b),Ca=L.Oe(a,L.Gm,b),La=L.Oe(a,L.Oq,b),Ba=L.Oe(a,L.Jm,b),sb=L.Oe(a,L.vt,b),m=d.getElementById(m),q=d.getElementById(q),
s=d.getElementById(s),gc=d.getElementById(y),y=d.getElementById(K),N=d.getElementById(N),A=d.getElementById(A),C=d.getElementById(C),G=d.getElementById(G);d.setAttribute(m,"id",Q);d.setAttribute(q,"id",T);d.setAttribute(s,"id",Y);d.setAttribute(gc,"id",ra);d.setAttribute(A,"id",wa);d.setAttribute(C,"id",Ca);d.setAttribute(G,"id",La);d.setAttribute(y,"id",Ba);d.setAttribute(N,"id",sb);Q=M.g(K,Un.mM);Y=M.g(K,"content");ra=M.g(Ba,Un.mM);T=M.g(Ba,"content");Q=d.getElementById(Q);d.setAttribute(Q,"id",
ra);Y=d.getElementById(Y);d.setAttribute(Y,"id",T);d=F.c.j(K);K=d.Kf();K.Init(d.getComponentType(),Ba);F.c.KR(K.e(),K);w.b.wa(y);w.b.wa(Q);w.b.wa(Y);K.pK();g.parentNode.appendChild(h);w.b.wa(h);w.b.wa(g);L.mu(f,L.Lq,L.BF);L.mu(e,L.Lq,n);return g};
L.qVa=function(a){var b=F.c.u(),d=b.V("af_inputFile.TEXT_FILE_SIZE_GB"),e=b.V("af_inputFile.TEXT_FILE_SIZE_MB"),f=b.V("af_inputFile.TEXT_FILE_SIZE_KB"),b=[b.V("af_inputFile.TEXT_FILE_SIZE_B"),f,e,d],d=n;return 0<a?(e=Math.floor(Math.log(a)/Math.log(1024)),d=3<e?b[3]:b[e],(a/Math.pow(1024,Math.floor(e))).toFixed(2)+" "+d):a!=n?a+" "+b[0]:n};L.zG=function(a,b,d){return w.b.getElementById(this.Oe(a,b,d))};L.Oe=function(a,b,d){a=a.e();var e=L.zl(a,d),f=n;return f=b!=L.Jm?M.g(e,b):d!=n?a+b+d:a+b};
L.OVa=function(a){var b=a.r(L.Bra);a=a.r(L.cM);return L.T7==b||(1>a||1<a)&&L.UPa==b?L.T7:L.U7};L.zl=function(a,b){var d=n,d=M.g(a,L.tF),d=M.g(d,L.POa);return d=b!=n?M.g(d,L.oqa)+b:M.g(d,L.oqa)};L.Kva=function(a){var b=w.b;a=M.g(a,L.tF);return b.getElementById(a)};L.jB=function(a,b,d){var e=w.b,f=L.Oe(a,b,d);e.getElementById(f)!=n&&L.uZ(a,b,d,L.eA,L.lV)};L.y8a=function(a,b){var d=w.b,e=a.e(),e=L.zl(e,b);d.getElementById(e)!=n&&L.vZ(a,b,L.eA,L.lV)};
L.rXa=function(a,b){var d=w.b,e=a.e(),e=L.zl(e,b);d.getElementById(e)!=n&&L.mu(e,L.eA,L.lV)};L.ox=function(a){var b=a.r(L.Bra),d=a.r(L.cM);return(1>d||1<d)&&L.U7!=b||1==d&&(L.T7==b||L.VPa==b)||L.TXa(a)&&L.U7!=b?l:p};L.TXa=function(a){a=a.r(L.kF);return a==L.mF||a==L.lF?l:p};L.tf=function(a,b,d){var e=w.b,f=L.Oe(a,b,d);e.getElementById(f)!=n&&L.uZ(a,b,d,L.Lq,L.BF)};L.I8a=function(a,b){var d=w.b,e=a.e(),e=L.zl(e,b);d.getElementById(e)!=n&&L.vZ(a,b,L.Lq,L.BF)};L.fH=function(a,b){L.Lza(a,b,L.BF)};
L.Yya=function(a,b){var d=w.b,e=a.k(),f=b.offsetHeight,g=b.getAttribute(L.hi),g=L.Oe(a,L.Jm,g);b.parentNode.removeChild(b);d.gc(b);F.c.Bv(g);for(d=0;d<e.Lj.length;d++)if(e.Lj[d]==b){e.Lj.splice(d,1);break}d=L.Kva(a.e());g=Sn(e.Pb());if(g>e.Jaa||0==e.Jaa)f=g*parseInt(f),f>=e.iH?L.nu(d,"height:"+f+"px;width:"+e.Yo+"px"):L.nu(d,"height:"+e.iH+"px;width:"+e.Yo+"px");1>g&&(e.Ae&&e.Ir&&(d.appendChild(e.Ae),f=F.c.u(),H.n(d,f.getStyleClass(L.wM))),L.fH(a,L.AF),"auto"!=e.nQ&&L.$Z(a,L.HF))};
L.Lza=function(a,b,d){var e=L.Lq;a=a.e();L.mu(M.g(a,b),e,d)};L.mu=function(a,b,d){a=w.b.getElementById(a);d==n&&(d="");if(a!=n)switch(b){case L.Lq:a.style.display=d;break;case L.eA:a.style.visibility=d;break;case L.lU:a.style.overflowY=d}};L.nu=function(a,b){var d=w.b;d.G()==w.aa?a.style.cssText=b:d.setAttribute(a,"style",b)};L.uZ=function(a,b,d,e,f){var g=w.b,h=a.e(),h=L.zl(h,d);g.getElementById(h)!=n&&L.mu(this.Oe(a,b,d),e,f)};
L.vZ=function(a,b,d,e){var f=w.b;a=a.e();b=L.zl(a,b);f.getElementById(b)!=n&&L.mu(b,d,e)};L.R0a=function(a,b,d){L.uZ(a,b,d,L.eA,L.A7)};L.S0a=function(a,b){L.vZ(a,b,L.eA,L.A7)};L.Pl=function(a,b,d){L.uZ(a,b,d,L.Lq,L.kV)};L.g9a=function(a,b){L.vZ(a,b,L.Lq,L.kV)};L.$Z=function(a,b){L.Lza(a,b,L.kV)};
L.gp=function(a,b){var d=a.k(),e=d.Pb().Ku();d.jN=p;if(0<e.length){for(var f=n,g=0;g<e.length;g++)if(e.item(g).hf()==b){f=e.item(g);break}f!=n&&(e=f.Vj(),(g=f.getData())&&(d.Oj&&d.on)&&g.size!=f.Yfa()?(L.Pl(a,L.vw,e),L.Pl(a,L.Oq,e),L.jB(a,L.Jm,e),L.b_(a)):(d.Pb().AD(f.hf()),L.tf(a,L.Gm,e),L.Pl(a,L.Dm,e)))}};
L.b_=function(a){var b=a.k(),d=b.Pb().Ku(),e=b.Pb().zp();b.jN=p;if(0<d.length)b=d.item(0),L.gp(a,b.hf());else{"auto"!=b.nQ&&L.$Z(a,L.HF);L.fH(a,L.AF);for(d=0;d<e.length;d++)if(!e.item(d).Nx){var f=e.item(d).Vj();L.Pl(a,L.Gm,f)}Tn(b)}};function Tn(a){var b=w.b;for(i=0;i<a.MW.length;i++){var d=b.getElementById(a.MW[i]);d!=n&&d.removeAttribute("disabled")}a.MW=[]};