var fm=M.U(M,"AdfDhtmlCommandLinkPeer");v("AdfDhtmlCommandLinkPeer",fm);fm.m=function(){z.kb(AdfRichCommandLink);M.ha(this,I.jb);M.$b(this,AdfRichCommandLink.TEXT);M.hb(this,AdfRichCommandLink.TEXT);this.dIa="_adfClc";this.ve="_busy";this.uw="data-afr-tlen"};v("AdfDhtmlCommandLinkPeer.InitSubclass",fm.m);
fm.prototype.C=function(a){var b=l;if(a.dd()!=Ta.ue){var d=a.Q();H.o0(this.h(),d,fm.dIa)&&(b=p)}if(b){b=this.d();d=b.r(fm.ve);if(a.Jb()&&!b.getDisabled()&&!d){var d=new bb(b),e=b.r("_F_PARAMS");e&&R.tV(d,e);d.v(b.getPartialSubmit())}a.cancel()}};z.a("AdfDhtmlCommandLinkPeer.prototype.HandleComponentClick",{C:fm.prototype.C});fm.prototype.Te=function(){return this.d().getText()};z.a("AdfDhtmlCommandLinkPeer.prototype.GetAccessibleName",{Te:fm.prototype.Te});
fm.prototype.Xb=function(a,b){"SPAN"==b.tagName&&(b=H.Tj(b,1,1));if(b){B.assert("A"==b.tagName,"Anchor element is expected root of link component");var d=b.getAttribute(fm.uw);return d==n?n:0==d?"":w.b.Mb(b).slice(0,d)}B.assert(p,"Unable to find the element containing the text")};z.a("AdfDhtmlCommandLinkPeer.prototype.GetComponentText",{Xb:fm.prototype.Xb});fm.prototype.Aa=function(){return ng.Hc()};z.a("AdfDhtmlCommandLinkPeer.prototype.GetInlineEditor",{Aa:fm.prototype.Aa});fm.prototype.Qf=H.yA;
fm.prototype.gd=function(a){var b=this.d(),d=this.h(),e=H.Se(d);e&&(e=H.ZC(e),!b.getDisabled()&&(!e&&!F.c.Dg())&&(H.td(a,d,M.gb),b.setProperty(fm.ve,a,p,J.Pc)))};z.a("AdfDhtmlCommandLinkPeer.prototype.SetBusy",{gd:fm.prototype.gd});fm.prototype.od=function(){var a=this.d();return a&&a.r(fm.ve)};z.a("AdfDhtmlCommandLinkPeer.prototype.isBusy",{od:fm.prototype.od});