var sx=I.ea(ox,"AdfDhtmlSelectOneRadioPeer");m("AdfDhtmlSelectOneRadioPeer",sx);sx.C=function(){I.hc(this,AdfUIEditableValue.SUBMITTED_VALUE,AdfUISelectOne.rt,AdfRichSelectOneRadio.LABEL);I.sb(this,AdfRichSelectOneRadio.LABEL);I.ra(this,D.wb);this.aj="_adfIV"};m("AdfDhtmlSelectOneRadioPeer.InitSubclass",sx.C);sx.prototype.M=function(a){sx.h.M.call(this,a);var b=this.f(),d=null;(a=a.X())&&"LABEL"==a.tagName&&(a=a.getAttribute("for"))&&-1!=a.indexOf(b.g())&&(d=a);this.cc(b,this.Wa(b,this.i(),d))};
r.a("AdfDhtmlSelectOneRadioPeer.prototype.HandleComponentClick",{M:sx.prototype.M});sx.prototype.Xd=function(a,b){b||(b=this.i());var d=b.getElementsByTagName("input")[0];return d?"0"===q.b.getComputedStyle(d).opacity?d.parentElement:d:sx.h.Xd.call(this,a,b)};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetNoteWindowAlignmentNode",{Xd:sx.prototype.Xd});
sx.prototype.uk=function(a,b){var d=O.da(a,b);if(null!=d){var d=d.getElementsByTagName("input"),e=[],f=null;if(null!=d)for(var g=d.length,h=0;h<g;h++)f=d[h],e[h]=new kb(f.value,O.Fo(f).textContent,f.disabled,"t"===f.getAttribute(ox.Dca));return e}};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetComponentSelectItems",{uk:sx.prototype.uk});
sx.prototype.Wa=function(a,b,d){b=O.da(a,b);if(a.getReadOnly())return b.getAttribute(sx.aj);if(d)return q.b.getElementById(d).value;a=b.getElementsByTagName("input");for(d=0;d<a.length;d++)if(a[d].checked)return a[d].value;return""};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetSubmittedValue",{Wa:sx.prototype.Wa});
sx.prototype.Ba=function(a,b,d){b=O.da(a,b);if(null!=b)if(a=a.getReadOnly(),u.J(d),a)q.b.bc(b,d);else if(a=b.getElementsByTagName("input"),null!=a){b=a.length;for(var e=0;e<b;e++)a[e].value==d&&(a[e].checked=!0)}};r.a("AdfDhtmlSelectOneRadioPeer.prototype.SetDisplayValue",{Ba:sx.prototype.Ba});sx.prototype.Oa=function(){return gi.jd()};r.a("AdfDhtmlSelectOneRadioPeer.prototype.GetInlineEditor",{Oa:sx.prototype.Oa});