var zB=I.ea(yB,"AdfDhtmlTreePeer",!1);m("AdfDhtmlTreePeer",zB);zB.C=function(){this.s7a="_afrNdTxt";this.l7a="af|tree::expanded-icon";this.k7a="af|tree::collapsed-icon";this.j7a="af|tree::node-anim-icon";this.m7a="af|tree::leaf-icon";this.p7a="af|tree::expanded-icon-style";this.o7a="af|tree::collapsed-icon-style";this.n7a="af|tree::node-anim-icon-style";this.q7a="af|tree::leaf-icon-style";this.r7a="af|tree::selector-icon-style"};m("AdfDhtmlTreePeer.InitSubclass",zB.C);
zB.prototype.PD=function(){var a={},b=this.CD();if(b){var d=this.gc(b);d&&(a.Db=d.rc,a.Eb=b)}else a=this.wk();a.Db&&a.Eb?(this.$c(S.Le,a.Eb,a.Db),rz(this,a.Db)):zB.h.PD.call(this)};r.a("AdfDhtmlTreePeer.prototype.HandleHeaderlessFocus",{PD:zB.prototype.PD});
zB.prototype.$a=function(a){var b=q.b,d=a.X();if(null!=d){for(var e=!1,f=this.i();null!=d&&1==d.nodeType&&d!=f;){if(null!=d.getAttribute(zB.s7a)){e=!0;break}if(null!=d.getAttribute(S.Xa))break;d=d.parentNode}if(e&&b.jta(d)){Pj.$().kva(d);return}}zB.h.$a.call(this,a)};r.a("AdfDhtmlTreePeer.prototype.HandleComponentMouseOver",{$a:zB.prototype.$a});zB.prototype.nK=function(){};r.a("AdfDhtmlTreePeer.prototype.SetCursorToText",{nK:zB.prototype.nK});zB.prototype.Fy=function(){return!0};
r.a("AdfDhtmlTreePeer.prototype.isDragAvailable",{Fy:zB.prototype.Fy});zB.prototype.qK=function(){return!0};r.a("AdfDhtmlTreePeer.prototype.SupportsFocusRowNavigation",{qK:zB.prototype.qK});zB.prototype.JI=function(){return!1};r.a("AdfDhtmlTreePeer.prototype.AllowCellNavigation",{JI:zB.prototype.JI});zB.prototype.tJ=function(){return AdfRichPopup.tz};r.a("AdfDhtmlTreePeer.prototype.GetKeyboardContextMenuAlignHint",{tJ:zB.prototype.tJ});zB.prototype.fK=function(a){return C.zm(C.pa(C.pa(a)))};
r.a("AdfDhtmlTreePeer.prototype.ResolveContextMenuAlignElement",{fK:zB.prototype.fK});zB.prototype.Fv=function(){var a=AB(this);BB(this,a);(a=this.ew())&&a.Av()};r.a("AdfDhtmlTreePeer.prototype.BlockInserted",{Fv:zB.prototype.Fv});zB.prototype.Ev=function(){var a=AB(this);BB(this,a);(a=this.ew())&&a.Av()};r.a("AdfDhtmlTreePeer.prototype.BlockDeleted",{Ev:zB.prototype.Ev});zB.prototype.AD=function(){return parseInt(A.c.H().qa("af|tree-tr-node-disclosure-animation-duration"))};
r.a("AdfDhtmlTreePeer.prototype.GetDisclosureAnimationDuration",{AD:zB.prototype.AD});function BB(a,b){var d=a.wa(),e=a.mb();S.Xd(e,"DIV").style.width=b+"px";e=a.i();a.yt(d,e.clientWidth,e.clientHeight)}function AB(a){a=a.wa().childNodes;for(var b=0,d=0;d<a.length;d++)b=Math.max(a[d].offsetWidth,b);return b}zB.prototype.CVa=function(){};r.a("AdfDhtmlTreePeer.prototype.stretchLastColumn",{CVa:zB.prototype.CVa});
zB.prototype.Fz=function(){var a={};a.AO=zB.l7a;a.collapsed=zB.k7a;a.hO=zB.j7a;a.NC=zB.m7a;return a};r.a("AdfDhtmlTreePeer.prototype.GetIconNames",{Fz:zB.prototype.Fz});zB.prototype.Gq=function(){var a={};a.AO=zB.p7a;a.collapsed=zB.o7a;a.hO=zB.n7a;a.NC=zB.q7a;a.Lrb=zB.r7a;return a};r.a("AdfDhtmlTreePeer.prototype.GetIconStyleNames",{Gq:zB.prototype.Gq});zB.prototype.jj=function(){return!1};zB.prototype.ka=function(a){Pj.$().V9();zB.h.ka.call(this,a)};
r.a("AdfDhtmlTreePeer.prototype.ComponentRemoved",{ka:zB.prototype.ka});zB.prototype.Vv=function(a){return zB.PC[a]||"AFActiveDataTreeRowInsert"};r.a("AdfDhtmlTreePeer.prototype.GetActiveDataAnnouncementKey",{Vv:zB.prototype.Vv});zB.prototype.oJ=function(){return""};r.a("AdfDhtmlTreePeer.prototype.GetColHeaderText",{oJ:zB.prototype.oJ});
zB.prototype.BJ=function(a,b,d){var e="";if("update"!==b)return e;var f=this.i();if(!f||!this.RJ(f,q.b,b))return e;var g;try{var h=this.Te(a,f)[1];g=this.Gz(h)}catch(l){v.l.fine("Exception while trying to get the text for the parent row of the active row"+l),g=""}a=a.textContent;e=A.c.H();""==g?(e=e.Z("AFActiveDataTreeRowUpdate3"),e=TrFastMessageFormatUtils.format(e,d,a)):(e=e.Z("AFActiveDataTreeRowUpdate2"),e=TrFastMessageFormatUtils.format(e,g,d,a));return e};
r.a("AdfDhtmlTreePeer.prototype.GetUpdatedActiveValues",{BJ:zB.prototype.BJ});zB.prototype.Gz=function(a){try{var b=a.getAttribute(yB.Ew);return CB(this,b).textContent}catch(d){return v.l.fine("Exception while trying to get the text for the parent row of the active row"+d),""}};r.a("AdfDhtmlTreePeer.prototype.GetParentRowNodeText",{Gz:zB.prototype.Gz});
zB.prototype.hw=function(a){var b="";try{var d=this.gc(a).rc,b=d.textContent.trim(),e=this.Gz(d);if(""!==e)var f=A.c.H().Z("AFActiveDataTreeTableParent"),b=TrFastMessageFormatUtils.format(f,e,b);return b}catch(g){return v.l.fine("Exception while trying to get the node text for the active data row"+g),b}};r.a("AdfDhtmlTreePeer.prototype.GetRowText",{hw:zB.prototype.hw});zB.PC={update:"AFActiveDataTreeRowUpdate",remove:"AFActiveDataTreeRowDelete"};m("AdfDhtmlTreePeer.msgMap",zB.PC);