var Um=M.U(M,"AdfDhtmlGoImageLinkPeer");v("AdfDhtmlGoImageLinkPeer",Um);Um.m=function(){z.kb(AdfRichGoImageLink);M.ha(this,I.jb,I.Xc,I.Xf);w.b.cd()[w.Vc]==w.Wc&&M.ha(this,I.Qd,I.Ve);M.hb(this,AdfRichGoImageLink.TEXT);M.$b(this,AdfRichGoImageLink.TEXT);this.Zf="p_AFDepressed";this.uw="data-afr-tlen"};v("AdfDhtmlGoImageLinkPeer.InitSubclass",Um.m);Um.prototype.C=function(a){var b=this.d(),d=this.h().getAttribute("target");Tm.g1(b,a,d)};z.a("AdfDhtmlGoImageLinkPeer.prototype.HandleComponentClick",{C:Um.prototype.C});
Um.prototype.Ka=function(){this.d().getDisabled()||this.wk(this.d())};z.a("AdfDhtmlGoImageLinkPeer.prototype.HandleComponentMouseOver",{Ka:Um.prototype.Ka});Um.prototype.vb=function(){var a=this.d();a.getDisabled()||(this.Hb(a,p),this.Gh(this.d()))};z.a("AdfDhtmlGoImageLinkPeer.prototype.HandleComponentMouseOut",{vb:Um.prototype.vb});Um.prototype.cc=function(){var a=this.d();a.getDisabled()||(this.Hb(a,p),this.wk(a))};z.a("AdfDhtmlGoImageLinkPeer.prototype.HandleComponentMouseUp",{cc:Um.prototype.cc});
Um.prototype.qa=function(a){var b=this.d();a=a.Jb();!b.getDisabled()&&a&&(this.Hb(b,l),this.vk(b))};z.a("AdfDhtmlGoImageLinkPeer.prototype.HandleComponentMouseDown",{qa:Um.prototype.qa});Um.prototype.Xb=function(a,b){var d=b.getAttribute(Um.uw);if(d==n)return n;if(0==d)return"";var e=H.Ua(b,"span");if(e)return w.b.Mb(e).slice(0,d);B.assert(p,"Unable to find the element containing the text")};z.a("AdfDhtmlGoImageLinkPeer.prototype.GetComponentText",{Xb:Um.prototype.Xb});u=Um.prototype;
u.zk=function(a){a=a.e();a=M.g(a,"icon");return w.b.getElementById(a)};u.Gh=function(a){var b=a.getIcon();b&&(this.zk(a).src=b)};u.vk=function(a){this.$c(a,a.getDepressedIcon())};u.wk=function(a){this.$c(a,a.getHoverIcon())};u.Yw=function(a){this.$c(a,a.getDisabledIcon())};u.$c=function(a,b){var d=a.getIcon();d&&(this.zk(a).src=b||d)};u.Hb=function(a,b){var d=M.Ib(a),e=Um.Zf;b?H.n(d,e):H.F(d,e)};u.Qf=H.yA;