var iu=I.ea(I,"AdfDhtmlPanelFormLayoutPeer");m("AdfDhtmlPanelFormLayoutPeer",iu);iu.C=function(){this.w1a="RESPONSIVE";this.S3a="p_AFPanelSize";this.Q3a="p_AFPanelSizeSm";this.O3a="p_AFPanelSizeMd";this.M3a="p_AFPanelSizeLg";this.T3a="p_AFPanelSizeXl";this.R3a=15;this.P3a="af|panelFormLayout-tr-panel-size-sm";this.N3a="af|panelFormLayout-tr-panel-size-md";this.L3a="af|panelFormLayout-tr-panel-size-lg";this.y0a="data-afr-grp";this.z0a="[data-afr-grp]";this.Uea="AFHideGroupSeparator"};
m("AdfDhtmlPanelFormLayoutPeer.InitSubclass",iu.C);iu.prototype.G=function(a,b){iu.h.G.call(this,a,b);iu.mMa(a)&&(iu.zhb(),iu.chb(b))};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.InitDomElement",{G:iu.prototype.G});iu.prototype.ya=function(a){return iu.mMa(a)};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.needsResizeNotify",{ya:iu.prototype.ya});iu.prototype.Sa=function(a,b,d){b=this.i();a!=d&&iu.y9a(b,d);iu.fjb(b);iu.Q9a(b)};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.ResizeNotify",{Sa:iu.prototype.Sa});
iu.p9a=function(a,b){var d=a.className;if(-1==d.indexOf(b)){var e=d.indexOf(iu.S3a);-1!=e&&C.O(a,d.substring(e,iu.R3a));C.w(a,b)}};iu.y9a=function(a,b){iu.p9a(a,b<iu.Lw[0]?iu.Q3a:b>=iu.Lw[0]&&b<iu.Lw[1]?iu.O3a:b>=iu.Lw[1]&&b<iu.Lw[2]?iu.M3a:iu.T3a)};iu.Q9a=function(a){a=iu.xg(a);var b=iu.lKa(a);if(b){var d=iu.vib(a),e=iu.R9a(a,b,d);iu.jnb(a,b,e,d)}};iu.R9a=function(a,b,d){a=iu.Deb(a);if(void 0!==a)return iu.BQa(b.firstElementChild,a,d),a};iu.xg=function(a){return a.firstElementChild};
iu.S4=function(a){return(iu.$V(a)?iu.T4(a):a).firstElementChild.nextElementSibling};iu.kKa=function(a){if(a=a.firstElementChild)return iu.$V(a)?iu.T4(a):a};iu.T4=function(a){return a.firstElementChild.nextElementSibling};iu.Deb=function(a){if(a=iu.kKa(a))return a.firstElementChild.offsetWidth};iu.lKa=function(a){return a.nextElementSibling};
iu.Eeb=function(a,b,d){if(a=a.firstElementChild){var e=iu.PNa(a);a=e.lrb;e=e.maxWidth;if(!a)return e;e=iu.PNa(a).maxWidth;return d?iu.EKa(a)+e:iu.EKa(iu.S4(a))+e-b}};iu.mKa=function(a){if(iu.$V(a)){var b=iu.T4(a);a=iu.S4(b).firstElementChild.clientWidth;for(b=b.nextElementSibling;iu.dMa(b);){var d=iu.S4(b).firstElementChild.clientWidth;a<d&&(a=d);b=b.nextElementSibling}return a}return iu.S4(a).firstElementChild.clientWidth};
iu.EKa=function(a){return A.c.Ka().La()?a.offsetParent.offsetWidth-a.offsetLeft-a.offsetWidth:a.offsetLeft};iu.LKa=function(a,b){return b?a.lastElementChild:a.firstElementChild};iu.chb=function(a){a=iu.xg(a);(a=iu.lKa(a))&&(a=a.firstElementChild)&&iu.$V(a)&&C.w(a.firstElementChild,iu.Uea)};iu.zhb=function(){if(void 0===iu.Lw){iu.Lw=[];var a=A.c.H();iu.Lw[0]=a.qa(iu.P3a);iu.Lw[1]=a.qa(iu.N3a);iu.Lw[2]=a.qa(iu.L3a)}};iu.dMa=function(a){return a&&a.hasAttribute("id")};iu.$V=function(a){return a.hasAttribute(iu.y0a)};
iu.mMa=function(a){return a.getLayout()==iu.w1a};iu.vib=function(a){if(a=iu.kKa(a))return a=a.firstElementChild,a.offsetLeft==a.nextElementSibling.offsetLeft};iu.fjb=function(a){var b=iu.xg(a);a=b.style.paddingTop;a=""===a?0:a;for(var b=b.querySelectorAll(iu.z0a),d=0,e=b.length;d<e;d++){var f=b[d];C.qd(16>=f.offsetTop-a,iu.LKa(f),iu.Uea);var g=f.nextElementSibling;C.qd(!g||16>=g.offsetTop-a,iu.LKa(f,!0),iu.Uea)}};
iu.PNa=function(a){var b=a.offsetLeft,d=a.nextElementSibling;for(a=iu.mKa(a);d&&d.offsetLeft==b;){var e=iu.mKa(d);a<e&&(a=e);d=d.nextElementSibling}b={};b.lrb=d;b.maxWidth=a;return b};iu.jnb=function(a,b,d,e){if(void 0!==d&&(b=b.querySelectorAll("textarea"))){var f=b.length;if(0!=f&&(a=iu.Eeb(a,d,e),void 0!==a))for(a="width: "+a+"px;",d=0;d<f;d++)b[d].setAttribute("style",a)}};
iu.BQa=function(a,b,d,e){for(var f="width: "+b+"px;",g="width: calc(100% - "+b+"px);";a;){if(iu.$V(a))iu.BQa(iu.T4(a),b,d,!0);else if(!e||iu.dMa(a)){var h=a.firstElementChild,l=h.nextElementSibling;d?(h.removeAttribute("style"),l.removeAttribute("style")):(h.setAttribute("style",f),l.setAttribute("style",g))}a=a.nextElementSibling}};