var Ax=I.ea(Ft,"AdfDhtmlShowDetailPeer",!1);m("AdfDhtmlShowDetailPeer",Ax);Ax.C=function(){Ax.J5a="af|showDetail::child-container";Ax.K5a="af|showDetail::header-text";Tq.Vs(this,{crb:"af|showDetail::disclosed-icon",drb:"af|showDetail::undisclosed-icon",Grb:"af|showDetail::disclosed-icon:rtl",Hrb:"af|showDetail::undisclosed-icon:rtl"})};m("AdfDhtmlShowDetailPeer.InitSubclass",Ax.C);
Ax.prototype.Oh=function(a){if(Ax.h.Oh.call(this,a)){var b=this.bB();null!=b?(b.style.display=a?"":"none",a=!0):a=!1}else a=!1;return a};r.a("AdfDhtmlShowDetailPeer.prototype.HandleClientSideToggle",{Oh:Ax.prototype.Oh});Ax.prototype.Hz=function(){var a=this.f(),b;a.getDisclosed()?b=a.K("disclosedText"):(b=a.K("undisclosedText"),null==b&&(b=a.K("disclosedText")));return b};r.a("AdfDhtmlShowDetailPeer.prototype.GetTitle",{Hz:Ax.prototype.Hz});
Ax.prototype.gD=function(a){Ax.h.gD.call(this,a);a=this.Hz();if(null!=a){var b=A.c.H().qa(Ax.K5a),d=this.i(),d=C.Pu(d,!0,function(a){return C.sa(a,b)?a:null});null!=d&&(C.jI(d),d.appendChild(document.createTextNode(a)))}};r.a("AdfDhtmlShowDetailPeer.prototype.ApplyTitle",{gD:Ax.prototype.gD});Ax.prototype.fh=function(a){var b=Ax.h.fh.call(this);if(0==b){var d=this.f();"lazy"==d.getPropertyValue("contentDelivery")&&null==this.bB()&&(b=!0);0==b&&0==a&&(b=A.c.ge.QH(d))}return b};
r.a("AdfDhtmlShowDetailPeer.prototype.EventPropagatesToServer",{fh:Ax.prototype.fh});Ax.prototype.bB=function(){var a=this.i(),b=A.c.H().getStyleClass(Ax.J5a);return C.Pu(a,!0,C.sa,b)};