var vt=M.U(M,"AdfDhtmlPanelStretchLayoutPeer",p);v("AdfDhtmlPanelStretchLayoutPeer",vt);vt.prototype.ja=t(l);z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.needsResizeNotify",{ja:vt.prototype.ja});vt.prototype.Md=t(l);z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.needsChildVisibilityChanges",{Md:vt.prototype.Md});vt.prototype.Z=function(a){F.c.Nm(a)};z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.ComponentRemoved",{Z:vt.prototype.Z});
vt.prototype.Za=function(a,b){vt.f.Za.call(this,a,b);var d=a.e(),e=M.g(d,"c"),f=M.g(d,"m"),g=M.g(d,"t"),h=M.g(d,"b"),m=M.g(d,"l"),d=M.g(d,"r"),q=w.b;this.o9=q.getElementById(e);this.Mba=q.getElementById(f);this.Tda=q.getElementById(g);this.e9=q.getElementById(h);this.xba=q.getElementById(m);this.eda=q.getElementById(d)};z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.BindToComponent",{Za:vt.prototype.Za});
vt.prototype.jl=function(){vt.f.jl.call(this);this.eda=this.xba=this.e9=this.Tda=this.Mba=this.o9=n};z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.UnbindFromComponent",{jl:vt.prototype.jl});
vt.prototype.Ia=function(a,b,d,e){a==d&&b==e&&(b=a=k);var f=this.h(),f=H.ca(f);if(f!=n){var f=this.So(f),g=this.Tda,h=this.xba,m=this.o9,q=this.eda,s=this.e9,y=this.yl(g,"height"),A=this.yl(h,"width"),C=this.yl(q,"width"),G=this.yl(s,"height"),K=p;g&&H.hc(g)&&!y&&(y=g.offsetHeight,K=l);h&&H.hc(h)&&!A&&(K=l);m&&H.hc(m)&&!f&&wt(this)&&(K=l);q&&H.hc(q)&&!C&&(K=l);s&&H.hc(s)&&!G&&(G=s.offsetHeight,K=l);K&&(this.gn(),F.c.Go(this.d()));A=this.yl(h,"width");C=this.yl(q,"width");y=e-(y+G);A=d-(A+C);d!=a&&
(xt(g,d,k),xt(s,d,k));f&&(e!=b&&(xt(h,k,y),xt(q,k,y)),xt(m,A,y))}};z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.ResizeNotify",{Ia:vt.prototype.Ia});
vt.prototype.Rb=function(a){if(this.PX(a)){var b=p,d=a.parentNode,e=H.hc(d),f=H.hc(a);f!=e&&(H.setVisible(d,f),this.gn(),b=l);var e=l,f=p,g=this.h(),h=H.ca(g);if(h==n)return g;var h=this.So(h),m=d.id;-1!=m.indexOf("::t")||-1!=m.indexOf("::b")?this.yl(d,"height")||(b=f=l):-1!=m.indexOf("::r")||-1!=m.indexOf("::l")?h?this.yl(d,"width")||(b=f=l):e=p:-1!=m.indexOf("::c")&&(h||(e=p));if(e&&!f){var q="0px",s=w.b;s.Nn(a,q)}return e&&!b?(s.jm(a,q),a):g}return a};
z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.DomReplaceNotify",{Rb:vt.prototype.Rb});vt.prototype.Ed=function(a,b,d){return this.PX(b)?(H.setVisible(b.parentNode,d),this.gn(),H.setVisible(b,d),F.c.lh(this.d()),l):p};z.a("AdfDhtmlPanelStretchLayoutPeer.prototype.ChildVisibilityChanged",{Ed:vt.prototype.Ed});function wt(a){a=a.Mba;return a!=n&&"true"==w.b.getAttribute(a,"_afrFlowJs")}vt.prototype.yl=function(a,b){return a&&H.hc(a)?w.ua(a.style[b]):0};
function yt(a,b){if(a&&H.hc(a)){var d=a.style[b];return d?d:a["offset"+b.charAt(0).toUpperCase()+b.substring(1)]+"px"}return"0px"}vt.prototype.PX=function(a){return a.parentNode.parentNode==this.h()};
vt.prototype.gn=function(){var a=w.b,b=this.xba,d=this.e9,e=this.eda,f=this.o9,g=yt(this.Tda,"height"),h=yt(d,"height"),d=yt(b,"width"),m=yt(e,"width"),q=this.h(),q=H.ca(q);q!=n&&(this.So(q)?(a.pv(b,g,h),a.pv(e,g,h),a.pv(f,g,h,d,m)):wt(this)&&(a=0,f!=n&&(f.style.left=d,f.style.right=m,a=Math.max(a,f.offsetHeight)),b!=n&&(a=Math.max(a,b.offsetHeight)),e!=n&&(a=Math.max(a,e.offsetHeight)),this.Mba.style.height=a+"px"))};
vt.prototype.So=function(a){this.LN==n&&(a=a=w.b.getComputedStyle(a),this.LN="absolute"==a.position);return this.LN};function xt(a,b,d){if(a){var e=w.b;e.fj(a,b,d);e.jm(H.ca(a),"0px")}};