function Hi(a){this.Init(a)}m("AdfSuggestionsContainer",Hi);r.v(Hi);Hi.ga=function(){this.rCa="loadingIndicator";this.p6a="sgstnCntnr";this.o6a="scph";this.M1a="af|inputSearch::loading-indicator"};m("AdfSuggestionsContainer.InitClass",Hi.ga);Hi.prototype.Init=function(a){Hi.h.Init.call(this);this.nb=a};r.a("AdfSuggestionsContainer.prototype.Init",{Init:Hi.prototype.Init});Hi.Ha=function(a){a=a.g();a=I.la(a,Hi.p6a);a=document.getElementById(a);u.u(a);return a};
m("AdfSuggestionsContainer.getElement",Hi.Ha);Hi.setHeight=function(a,b){62>b&&(b=62);Hi.Ha(a).style.maxHeight=b};m("AdfSuggestionsContainer.setHeight",Hi.setHeight);Hi.lva=function(a,b,d){d||(d=Hi.Ha(a));d.replaceChild(b,d.firstElementChild)};m("AdfSuggestionsContainer.showSuggestions",Hi.lva);Hi.Mta=function(a){return null!=Hi.Qeb(a)||pi.pTa(a)};m("AdfSuggestionsContainer.needsUpdate",Hi.Mta);
Hi.prototype.lH=function(a,b){var d=Hi.Ha(a);Hi.Dhb(a,d);Hi.QOa(a,d);var e=document.createElement("div");e.setAttribute("style","position: relative");e.appendChild(d);b.appendChild(e)};r.a("AdfSuggestionsContainer.prototype.attach",{lH:Hi.prototype.lH});Hi.prototype.detach=function(a,b,d,e){var f=Hi.Ha(a);document.getElementById(I.la(a.g(),Hi.o6a)).appendChild(f);Hi.lU(b,f,d,e)};r.a("AdfSuggestionsContainer.prototype.detach",{detach:Hi.prototype.detach});
Hi.prototype.reset=function(a,b,d){var e=Hi.Ha(a),f=e.offsetWidth,g=e.offsetHeight;Hi.lU(b,e,d);Hi.QOa(a,e,f,g)};r.a("AdfSuggestionsContainer.prototype.reset",{reset:Hi.prototype.reset});Hi.lU=function(a,b,d,e){d.clear(a,e);b.innerHTML=""};Hi.Dhb=function(a,b){var d=Ci(a);C.jm(b,"min-width:"+d.offsetWidth+"px;")};Hi.Qeb=function(a){a=a.g();a=I.la(a,Hi.rCa);return document.getElementById(a)};
Hi.QOa=function(a,b,d,e){var f=a.g(),g=A.c.H();a=document.createElement("div");f=I.la(f,Hi.rCa);a.setAttribute("id",f);g=g.getStyleClass(Hi.M1a);C.w(a,g);g=a.style;d&&(g.minWidth=d-1+"px");e&&(g.minHeight=e-1+"px");b.appendChild(a)};