var CC=I.ea(R,"AdfSingleSelectInputSearchPeer",!1);m("AdfSingleSelectInputSearchPeer",CC);CC.C=function(){r.bb(Ei);this.lS="af_inputSearch.AUTOCOMPLETE_ANNOUNCE_MSG";this.O2a="af_inputSearch.MSG_AUTOCOMPLETE_FAILED";this.N2a="af_inputSearch.MSG_AUTOCOMPLETE_FAILED_DETAIL"};m("AdfSingleSelectInputSearchPeer.InitSubclass",CC.C);CC.prototype.G=function(a,b){CC.h.G.call(this,a,b);this.bpa=new Ei(this)};r.a("AdfSingleSelectInputSearchPeer.prototype.InitDomElement",{G:CC.prototype.G});
CC.prototype.yqa=function(a){var b=this.f();a.Aa()?b.K(R.cza)&&R.hda(b,null):(a=a.hra())?(this.HT(b,a),a=A.c,a.Zj(a.H().Z(CC.lS,O.uJ(b),O.mC(b)))):wi(b,Ba.hg,CC.O2a,CC.N2a);this.ye().clear()};r.a("AdfSingleSelectInputSearchPeer.prototype.delayedHandleAutoCompletingEvent",{yqa:CC.prototype.yqa});CC.prototype.nd=function(a,b,d){CC.h.nd.call(this,a,b,d);this.rR(a)};r.a("AdfSingleSelectInputSearchPeer.prototype.RunValidation",{nd:CC.prototype.nd});
CC.prototype.cc=function(a,b){if(b)if("string"===typeof b){var d;d=(d=this.ye().Pp())&&1==d.length?d.Gp(0).key:void 0;eb.F(a,b,d);this.vQa=!0}else u.Mb(b),CC.h.cc.call(this,a,b);else this.HT(a,null)};r.a("AdfSingleSelectInputSearchPeer.prototype.Validate",{cc:CC.prototype.cc});CC.prototype.Hf=function(a,b){var d=[],e=O.mC(a,b).trim();e&&d.push(e);return d};r.a("AdfSingleSelectInputSearchPeer.prototype.GetDisplayValue",{Hf:CC.prototype.Hf});CC.prototype.lD=function(){CC.h.lD.call(this);this.vQa=null};
r.a("AdfSingleSelectInputSearchPeer.prototype.ClearTemporaryStorage",{lD:CC.prototype.lD});CC.prototype.Wv=function(a){return 0<a.length?a[0]:""};r.a("AdfSingleSelectInputSearchPeer.prototype.GetCombinedDisplayValue",{Wv:CC.prototype.Wv});CC.prototype.ew=function(a,b){return(a.length?a[0]:null)==(b.length?b[0]:null)?E.wD:a};r.a("AdfSingleSelectInputSearchPeer.prototype.GetRealNewValues",{ew:CC.prototype.ew});CC.prototype.Ho=function(){var a=this.ye().Pp();a||(a=this.$Q());return a};
r.a("AdfSingleSelectInputSearchPeer.prototype.GetSuggestionMapContainingSelections",{Ho:CC.prototype.Ho});CC.prototype.ye=function(){return this.bpa};r.a("AdfSingleSelectInputSearchPeer.prototype.GetSuggestionsPanel",{ye:CC.prototype.ye});CC.prototype.wt=function(){u.assert(!1,"not expected to be invoked on single select inputSearch")};r.a("AdfSingleSelectInputSearchPeer.prototype.ShowSelectionsPopup",{wt:CC.prototype.wt});CC.prototype.pw=function(){return this.vQa};
r.a("AdfSingleSelectInputSearchPeer.prototype.IsUnderAutocompletion",{pw:CC.prototype.pw});CC.prototype.xw=function(a,b,d){var e=$e.ks(d);if(""===e&&(d=R.et(a),0!==d.length)){e=d[0];this.Ho().get(e)&&this.eJ(a,b,d);return}this.Ba(a,b,[e])};r.a("AdfSingleSelectInputSearchPeer.prototype.RestoreSelectionOnEscape",{xw:CC.prototype.xw});CC.prototype.Wz=function(a,b,d){this.Gv(b,"",d);CC.h.Wz.call(this,a,b,d);this.Lq(a)||this.Gv(null)};
r.a("AdfSingleSelectInputSearchPeer.prototype.SetDisplayValueOnPrefetch",{Wz:CC.prototype.Wz});CC.prototype.Qq=function(){u.assert(!1,"not expected to be invoked on single select inputSearch")};r.a("AdfSingleSelectInputSearchPeer.prototype.RenderSelections",{Qq:CC.prototype.Qq});CC.prototype.So=function(){};r.a("AdfSingleSelectInputSearchPeer.prototype.ToggleDisplayValueToFiltering",{So:CC.prototype.So});
CC.prototype.Uq=function(a,b,d,e,f){e.get(d[0])&&(this.Gv(e,"",f),CC.h.Uq.call(this,a,b,d,e,f),this.Gv(null))};r.a("AdfSingleSelectInputSearchPeer.prototype.UpdateDisplayValueAndSelection",{Uq:CC.prototype.Uq});CC.prototype.HT=function(a,b){var d=R.et(a),e=null===b?[]:[b];(d.length?d[0]:null)!=b?CC.h.cc.call(this,a,e):(this.eJ(a,this.i(),e),A.c.Ne(a.g()));this.rR(a)};r.a("AdfSingleSelectInputSearchPeer.prototype.__setComponentValue",{HT:CC.prototype.HT});
CC.Nub=function(a,b,d,e){return""==O.mC(a,b)?!0:!!d.get(e[0])};