var So=I.ea(I,"AdfDhtmlFormPeer");m("AdfDhtmlFormPeer",So);So.C=function(){I.ii(this,"defaultCommand");I.ra(this,D.hh)};m("AdfDhtmlFormPeer.InitSubclass",So.C);So.prototype.nc=function(a){var b=this.f().g(),b=I.la(b,"postscript");return a.id==b?null:a};r.a("AdfDhtmlFormPeer.prototype.DomReplaceNotify",{nc:So.prototype.nc});So.prototype.G=function(a,b){So.h.G.call(this,a,b);A.c.Y()["_"+a.g()+"Validator"]=function(){return!0}};r.a("AdfDhtmlFormPeer.prototype.InitDomElement",{G:So.prototype.G});
So.prototype.Yb=function(a){if(a.na()==w.jb&&(a=So.vT(a,!0),null!=a)){a=To.Ara(a);var b;a||(a=this.f());if(b=a.getDefaultCommand()){var d=a.m(b);d?d.o().td()||ab.F(d,d.getPartialSubmit()):v.l.warning("DefaultCommand with the ID of '"+b+"' is not found for component: "+a)}}};r.a("AdfDhtmlFormPeer.prototype.HandleComponentKeyPress",{Yb:So.prototype.Yb});
So.vT=function(a,b){var d=a.X();if(d){var e=d.tagName;if("A"==e||"BUTTON"==e||"TEXTAREA"==e||"IFRAME"==e||"INPUT"==e&&("submit"==d.type||"reset"==d.type))return null;"SELECT"!=e&&b&&a.cancel();for(e=d.id;!e;)d=d.parentNode,e=d.id;return e}return null};