var en=M.U(dn,"AdfDhtmlInputComboboxListOfValuesPeer");v("AdfDhtmlInputComboboxListOfValuesPeer",en);en.m=function(){z.kb(dn);M.$b(this,AdfRichInputComboboxListOfValues.LABEL);M.ha(this,I.ec,I.qd,I.jb,I.Xc,I.Dd,bb.Lc,ab.ga,Ub.HE);this.SU="_afrDropDownPopup";this.Opa="_afrPopupSearch";this.yIa="cntnr";this.M5="_afrDropDownContent";this.HJa="lovIconId";this.Zf="p_AFDepressed";this.qpa="_afrSeparator";this.nA="_afrLovInternalEventQueued";this.zIa="lazyUncached";this.QL="select";this.X4="af_inputComboboxListOfValues.AUTOCOMPLETE_ANNOUNCE_MSG"};
v("AdfDhtmlInputComboboxListOfValuesPeer.InitSubclass",en.m);en.prototype.Xn=function(){var a=this.d(),b=F.c;b.Jr(b.u().V(en.X4,fn.z3(a),a.getValue()))};v("AdfDhtmlInputComboboxListOfValuesPeer.prototype.AnnounceAutoComplete",en.prototype.Xn);z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.AnnounceAutoComplete",{Xn:en.prototype.Xn});en.prototype.gi=function(a){var b=this.d(),d=b.e(),e=F.c.j(en.NA(d));e&&e.rb();d+=en.Opa;a.getSource().e()==d&&(a.cancel(),Ib.v(b,l))};
z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentAction",{gi:en.prototype.gi});en.prototype.Eb=function(a){var b=this.d();b.r(en.nA)&&b.setProperty(en.nA,p,p,J.Pc);en.f.Eb.call(this,a)};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentBlur",{Eb:en.prototype.Eb});en.prototype.qa=function(a){var b=this.d();b.getDisabled()||(a=a.Q(),b=gn(b),(a==b||a.parentNode==b)&&this.hv())};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentMouseDown",{qa:en.prototype.qa});
en.prototype.C=function(a){en.f.C.call(this,a);var b=this.d();if(a.Jb()&&!b.getDisabled()){var d=a.Q(),e=gn(b);if(d==e||d.parentNode==e)en.NH(b);else if(hn(this,d)&&(b=w.b,a=a.L(),d=b.T(a),e=this.d().e(),a=en.NA(e),e=w.b.getElementById(e+en.M5),!b.getAttribute(d,en.qpa)&&(b=jn(d,e),b!=n))){if(b!=n){var f=[];f.push(b)}b=this.d();a=F.c.j(a);a!=n&&a.rb();$b.v(b,f,l);fn.k3(b)}}};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentClick",{C:en.prototype.C});
en.prototype.vq=function(a){var b=this.d();b.getDisabled()||(a=a.Q(),b.getEditMode()==en.QL&&a==U.W(b)&&en.NH(b))};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentClickOrTouch",{vq:en.prototype.vq});
en.prototype.pa=function(a){en.f.pa.call(this,a);if(!a.na()){var b=a.ia();if(b==E.zd||b==E.$a){var d=this.d(),e=d.e();if(!this.Mz(d,a)){var f=F.c.j(en.NA(e));if(f&&f.Qa()){var e=F.c.j(e+en.M5),g=e.k(),h=g.ho();if(h&&(g=g.Ob(h),g=H.ca(g.Vb),h=w.b,g&&h.getAttribute(g,en.qpa)))return;f.rb();en.i0a(e,d);b==E.$a&&(a.cancel(),a.dc())}}}}};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentKeyUp",{pa:en.prototype.pa});
en.prototype.ba=function(a){en.f.ba.call(this,a);if(!a.na()){var b=a.ia(),d=this.d();switch(b){case E.Df:case E.$a:this.Mz(d,a)&&(a=d.e(),(a=F.c.j(en.NA(a)))&&a.Qa()&&a.rb());break;case E.Ja:b=a.L(),d==a.getSource()&&(b.altKey&&!d.getDisabled()&&!b.ctrlKey&&!b.shiftKey)&&(en.NH(d),this.hv(),a.cancel())}}};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentKeyDown",{ba:en.prototype.ba});en.prototype.et=function(a,b){var d=b.Q();return this.Mz(a,b)||hn(this,d)||d.id==a.e()+en.Opa};
z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.IsCancelBackSpaceKeyEvent",{et:en.prototype.et});en.prototype.Ad=function(a){a=a.e();return this.ZK(a)?l:(a=F.c.j(en.NA(a)))&&a.Qa()?l:en.f.Ad.call(this)};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.VetoShowNoteWindow",{Ad:en.prototype.Ad});
en.prototype.qm=function(a){en.f.qm.call(this,a);var b=a.getSource(),d=this.d(),e=d.e(),f=en.NA(e);if(b&&b.e()==f){this.sm();var b=F.c,f=w.b,g=gn(d).parentNode;H.n(g,en.Zf);a=a.zn();f.G()==w.aa&&b.Ma().Oa()||(a[AdfRichPopup.pf]=M.g(d.e(),en.yIa));a.closeOnEscape=l;a.focus=l;a[AdfRichPopup.Cf]=e;a.type="lovCombobox";a.closeHandler=this.o(this.LSa)}};z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.HandleComponentPopupOpening",{qm:en.prototype.qm});en.prototype.Qs=function(a){O.Ud(a)};
z.a("AdfDhtmlInputComboboxListOfValuesPeer.prototype.FocusNextElement",{Qs:en.prototype.Qs});en.NH=function(a){var b=a.e(),d=F.c.j(en.NA(b));B.zc(d);var e=d.getContentDelivery();d.Qa()?d.rb():e==en.zIa?Sf.v(a,Sf.sja,l):(e={},e[AdfRichPopup.pf]=U.eE(a),e[AdfRichPopup.fd]=AdfRichPopup.of,e[AdfRichPopup.Cf]=b,d.show(e))};en.prototype.LSa=function(){var a=gn(this.d()).parentNode;H.F(a,en.Zf)};function hn(a,b){for(var d=a.d().e()+en.M5,e=b;e!=n;){if(e.id==d)return l;e=e.parentNode}return p}
function jn(a,b){B.p(a);var d=a,e=w.fa();if(d==n||1!=d.nodeType)return n;for(var f=e.getAttribute(d,V.Ba);f==n;){if(d==n||d==b)return n;d=d.parentNode;if(d==n||1!=d.nodeType)return n;f=e.getAttribute(d,V.Ba)}return f}function gn(a){a=M.g(a.e(),en.HJa);return w.b.getElementById(a)}en.NA=function(a){return a+en.SU};en.i0a=function(a,b){var d=a.getSelectedRowKeys(),e=[],f;for(f in d)e.push(f);$b.v(b,e,l)};