R.ha={button:"btn",selectionsButton:"selBtn"};R.prototype.N=function(a){var b=this.f(),d=this.i(),e=b.g(),f=pi.I9(a,d);f?(a=pi.BC(e),f=f.getAttribute("id"),f=parseInt(f.substring(a.length)),f=(a=this.ye().Qp())?"suggestion["+a.qra(f)+"]":null):f=this.pw(b)&&Ei.G9(b,a,d)?"selectedHeader":Mh.qm(a,this,R.ha,R);return f};r.a("AdfDhtmlInputSearchPeer.prototype.GetBestMatchSubId",{N:R.prototype.N});
R.prototype.L=function(a){var b=this.f(),d=b.g();if(0==a.indexOf("suggestion["))b=parseInt(a.substring(11,a.length-1)),(a=this.ye().Qp())?(b=a.i9(b),b=pi.BC(d)+b,b=document.getElementById(b)):b=null;else if("selectedHeader"==a)a:{if(this.pw(b)&&(d=pi.BC(d)+"0",d=document.getElementById(d),b=Ei.G9(b,d,this.i())))break a;b=null}else b=Mh.Yu(a,R.ha,b,this,R);return b};r.a("AdfDhtmlInputSearchPeer.prototype.GetSubIdDomElement",{L:R.prototype.L});