var fu=M.U(Pr,"AdfDhtmlRegionPeer",p);v("AdfDhtmlRegionPeer",fu);fu.mA=M.xC(Qr,"InnerRegionShowDetailPeer",Pr.RS);InnerRegionShowDetailPeer.m=function(){Xo.kq(this,{sS:"af|region::disclosed-icon-style",yS:"af|region::undisclosed-icon-style"})};InnerRegionShowDetailPeer.prototype.Qg=function(a){return this.ai.Ng()&&InnerRegionShowDetailPeer.f.Qg.call(this,a)?(this.ai.ql(a),l):p};Pr.EE="_afrMax";v("AdfDhtmlPanelBoxPeer.MAXIMIZE_SUB_ID",Pr.EE);fu.q6=M.xC(Yo,"InnerRegionMaximizePeer",Pr.EE);
InnerRegionMaximizePeer.m=function(){Xo.kq(this,{sS:"af|region::maximized-icon-style",yS:"af|region::unmaximized-icon-style"})};InnerRegionMaximizePeer.prototype.Qg=function(a){var b=this.ai,d=b.Ng();return d&&InnerRegionMaximizePeer.f.Qg.call(this,a)?(b.GM(b.h(),d,a),l):p};InnerRegionMaximizePeer.prototype.Iv=function(a,b,d,e){b=InnerRegionMaximizePeer.f.Iv.call(this,a,b,d,e);d&&a.setDisclosed(l);return b};InnerRegionMaximizePeer.prototype.og=function(){return!this.ai.Ng()};
fu.prototype.SD=function(a){return new fu.mA(a,this)};z.a("AdfDhtmlRegionPeer.prototype.CreateDisclosurePeer",{SD:fu.prototype.SD});fu.prototype.TD=function(a){return new fu.q6(a,this)};z.a("AdfDhtmlRegionPeer.prototype.CreateMaximizePeer",{TD:fu.prototype.TD});fu.prototype.q=function(a,b){fu.f.q.call(this,a,b);if("DIV"==b.tagName){var d=this.Ng(b),d=fu.Cva(d);d!=n&&gu(b)&&w.fa().Nn(d,"0")}this.xda(a)};z.a("AdfDhtmlRegionPeer.prototype.InitDomElement",{q:fu.prototype.q});
fu.prototype.gf=function(a){F.c.lsa(a.e());fu.f.gf.call(this,a)};z.a("AdfDhtmlRegionPeer.prototype.componentRemoved",{gf:fu.prototype.gf});fu.prototype.vla=ca();z.a("AdfDhtmlRegionPeer.prototype.InitDirtyTracking",{vla:fu.prototype.vla});fu.prototype.zfa=t("af|region-tr-animation-duration");z.a("AdfDhtmlRegionPeer.prototype.getAnimationDurationKey",{zfa:fu.prototype.zfa});fu.prototype.Rb=function(a){var b=this.h();if("DIV"==b.tagName){var d=this.Ng();fu.Cva(d)==a&&a!=n&&gu(b)&&w.fa().Nn(a,"0")}return a};
z.a("AdfDhtmlRegionPeer.prototype.DomReplaceNotify",{Rb:fu.prototype.Rb});fu.prototype.Ng=function(a){var b=fu.f.Ng.call(this,a);b==n&&(a==n&&(a=this.h()),b=a);return b};z.a("AdfDhtmlRegionPeer.prototype.GetContentDomElement",{Ng:fu.prototype.Ng});fu.prototype.Cm=function(a,b,d,e){b=d.split(":");a=a.e();a=xa.count(a,":")+1;(b=b[a])&&(isNaN(b)||e.push(a))};z.a("AdfDhtmlRegionPeer.prototype.TruncateClientId",{Cm:fu.prototype.Cm});
fu.prototype.xda=function(a){var b=a.getUncommittedDataWarning();b&&"on"==b.toLowerCase()&&F.c.dsa(a.e())};fu.prototype.eo=function(){var a=parseInt(F.c.u().ka(this.zfa()));isNaN(a)&&(a=0);return a};z.a("AdfDhtmlRegionPeer.prototype.GetAnimationDuration",{eo:fu.prototype.eo});
fu.Cva=function(a){var b=n;if(a=a.childNodes)for(var d=a.length,e=0;e<d;e++){var f=a[e],g=f.nodeType;if(8!=g)if(3==g){if(0<f.data.replace(/\s*/,"").length)return n}else if(1==g){if(f.style==n||"none"!=f.style.display)if((f.id==n||""==f.id)&&(f.className==n||""==f.className)){if(0!=H.pga(f)){f=H.ny(f);if(f==n||b)return n;b=f}}else{if(b)return n;b=f}}else return n}return b};
function gu(a){var b=p;a=a.style;if(a!=n&&"absolute"==a.position){var d=a.width;if(d==a.height)if("100%"==d)b=l;else if("auto"==d){var d=a.bottom,e=a.left,f=a.right;"auto"!=a.top&&("auto"!=d&&"auto"!=e&&"auto"!=f)&&(b=l)}}return b}fu.prototype.Fd=function(a,b,d,e){a=a.e();a=xa.count(a,":");e.push([a+1,n])};z.a("AdfDhtmlRegionPeer.prototype.ConvertClientIdToLocator",{Fd:fu.prototype.Fd});