var ku=I.ea(I,"AdfDhtmlPanelFormLayoutPeer");m("AdfDhtmlPanelFormLayoutPeer",ku);ku.C=function(){this.B1a="RESPONSIVE";this.V3a="p_AFPanelSize";this.T3a="p_AFPanelSizeSm";this.R3a="p_AFPanelSizeMd";this.P3a="p_AFPanelSizeLg";this.W3a="p_AFPanelSizeXl";this.U3a=15;this.S3a="af|panelFormLayout-tr-panel-size-sm";this.Q3a="af|panelFormLayout-tr-panel-size-md";this.O3a="af|panelFormLayout-tr-panel-size-lg";this.D0a="data-afr-grp";this.E0a="[data-afr-grp]";this.Wea="AFHideGroupSeparator"};
m("AdfDhtmlPanelFormLayoutPeer.InitSubclass",ku.C);ku.prototype.G=function(a,b){ku.h.G.call(this,a,b);ku.rMa(a)&&(ku.Ahb(),ku.dhb(b))};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.InitDomElement",{G:ku.prototype.G});ku.prototype.ya=function(a){return ku.rMa(a)};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.needsResizeNotify",{ya:ku.prototype.ya});ku.prototype.Sa=function(a,b,d){b=this.i();a!=d&&ku.B9a(b,d);ku.gjb(b);ku.T9a(b)};r.a("AdfDhtmlPanelFormLayoutPeer.prototype.ResizeNotify",{Sa:ku.prototype.Sa});
ku.s9a=function(a,b){var d=a.className;if(-1==d.indexOf(b)){var e=d.indexOf(ku.V3a);-1!=e&&C.O(a,d.substring(e,ku.U3a));C.w(a,b)}};ku.B9a=function(a,b){ku.s9a(a,b<ku.Mw[0]?ku.T3a:b>=ku.Mw[0]&&b<ku.Mw[1]?ku.R3a:b>=ku.Mw[1]&&b<ku.Mw[2]?ku.P3a:ku.W3a)};ku.T9a=function(a){a=ku.xg(a);var b=ku.qKa(a);if(b){var d=ku.wib(a),e=ku.U9a(a,b,d);ku.jnb(a,b,e,d)}};ku.U9a=function(a,b,d){a=ku.Eeb(a);if(void 0!==a)return ku.GQa(b.firstElementChild,a,d),a};ku.xg=function(a){return a.firstElementChild};
ku.S4=function(a){return(ku.$V(a)?ku.T4(a):a).firstElementChild.nextElementSibling};ku.pKa=function(a){if(a=a.firstElementChild)return ku.$V(a)?ku.T4(a):a};ku.T4=function(a){return a.firstElementChild.nextElementSibling};ku.Eeb=function(a){if(a=ku.pKa(a))return a.firstElementChild.offsetWidth};ku.qKa=function(a){return a.nextElementSibling};
ku.Feb=function(a,b,d){if(a=a.firstElementChild){var e=ku.UNa(a);a=e.lrb;e=e.maxWidth;if(!a)return e;e=ku.UNa(a).maxWidth;return d?ku.JKa(a)+e:ku.JKa(ku.S4(a))+e-b}};ku.rKa=function(a){if(ku.$V(a)){var b=ku.T4(a);a=ku.S4(b).firstElementChild.clientWidth;for(b=b.nextElementSibling;ku.iMa(b);){var d=ku.S4(b).firstElementChild.clientWidth;a<d&&(a=d);b=b.nextElementSibling}return a}return ku.S4(a).firstElementChild.clientWidth};
ku.JKa=function(a){return A.c.Ka().La()?a.offsetParent.offsetWidth-a.offsetLeft-a.offsetWidth:a.offsetLeft};ku.QKa=function(a,b){return b?a.lastElementChild:a.firstElementChild};ku.dhb=function(a){a=ku.xg(a);(a=ku.qKa(a))&&(a=a.firstElementChild)&&ku.$V(a)&&C.w(a.firstElementChild,ku.Wea)};ku.Ahb=function(){if(void 0===ku.Mw){ku.Mw=[];var a=A.c.H();ku.Mw[0]=a.qa(ku.S3a);ku.Mw[1]=a.qa(ku.Q3a);ku.Mw[2]=a.qa(ku.O3a)}};ku.iMa=function(a){return a&&a.hasAttribute("id")};ku.$V=function(a){return a.hasAttribute(ku.D0a)};
ku.rMa=function(a){return a.getLayout()==ku.B1a};ku.wib=function(a){if(a=ku.pKa(a))return a=a.firstElementChild,a.offsetLeft==a.nextElementSibling.offsetLeft};ku.gjb=function(a){var b=ku.xg(a);a=b.style.paddingTop;a=""===a?0:a;for(var b=b.querySelectorAll(ku.E0a),d=0,e=b.length;d<e;d++){var f=b[d];C.qd(16>=f.offsetTop-a,ku.QKa(f),ku.Wea);var g=f.nextElementSibling;C.qd(!g||16>=g.offsetTop-a,ku.QKa(f,!0),ku.Wea)}};
ku.UNa=function(a){var b=a.offsetLeft,d=a.nextElementSibling;for(a=ku.rKa(a);d&&d.offsetLeft==b;){var e=ku.rKa(d);a<e&&(a=e);d=d.nextElementSibling}b={};b.lrb=d;b.maxWidth=a;return b};ku.jnb=function(a,b,d,e){if(void 0!==d&&(b=b.querySelectorAll("textarea"))){var f=b.length;if(0!=f&&(a=ku.Feb(a,d,e),void 0!==a))for(a="width: "+a+"px;",d=0;d<f;d++)b[d].setAttribute("style",a)}};
ku.GQa=function(a,b,d,e){for(var f="width: "+b+"px;",g="width: calc(100% - "+b+"px);";a;){if(ku.$V(a))ku.GQa(ku.T4(a),b,d,!0);else if(!e||ku.iMa(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}};