A_8.prototype.HandleComponentMouseOver=function(a){if(A_7.Pb())a=a.getNativeEvent(),AdfAgent.AGENT.preventDefault(a);else if(a=a.getNativeEventTarget(),a!=A_&&(a=A_5i(a,this.getDomElement()),a!=A_)){var b=a[1];A_ij(this)&&this.$h(b);if(A_Xj(b)&&(a=b.lastChild,4!=parseInt(a.style.top))){var c={top:4};c.left=b.firstChild.offsetLeft+4;b={};b.element=a;b.properties=c;b.duration="0.1s";b.timingFunction="linear";a=[];a.push(b);AdfDvtAnimator.$a.animate(this,a,100,A_,A_)}}};
A_h("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentMouseOver",A_8.prototype.HandleComponentMouseOver);A_8.prototype.Ab=function(a){if(!A_7.Pb()&&(a=a.getNativeEventTarget(),a=A_5i(a,this.getDomElement()),a!=A_)){var b=a[1];this.Eg(b);if(A_Xj(b)&&(a=b.lastChild,1!=parseInt(a.style.top))){var c={top:1};c.left=b.firstChild.offsetLeft+1;b={};b.element=a;b.properties=c;b.duration="0.1s";b.timingFunction="linear";a=[];a.push(b);AdfDvtAnimator.$a.animate(this,a,100,A_,A_)}}};
A_h("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentMouseOut",A_8.prototype.Ab);A_g=A_8.prototype;A_g.$h=function(a,b){if(!A_k.ja(a.firstChild,A_8.td)){this.addStyle(a,A_8.Si);if(!b){var c=this.Za();c!=A_&&c.$h(a.id)}this.od(this.getComponent())&&(a.style.zIndex=1E3)}};A_g.Eg=function(a,b){A_lk(a,A_8.Si);if(!b&&!A_k.ja(a.firstChild,A_8.td)){var c=this.Za();c!=A_&&c.Eg(a.id)}this.od(this.getComponent())&&1E3==a.style.zIndex&&(a.style.zIndex="")};
function A_Pj(a,b){var c=a.getComponent(),d=b.getAttribute("_selState");d&&(eval("var st\x3d"+d+";"),c.setProperty("selectedRowKeys",st,A_c,AdfUIComponent.PROPAGATE_NEVER))}function A_ij(a){return(a=a.getComponent().getParent().Vr())&&a.toLowerCase()!=A_8.oE}function A_Ej(a){return(a=a.getComponent().getParent().Vr())&&-1!=a.toLowerCase().indexOf(A_8.nE)}
function A_6i(a,b,c,d,e){if(A_Ej(a)&&b)a.cF=c,a.getComponent().getSelectedRowKeys()[c]?A_Aj(a,c,d):A_Fj(a,c,d,A_c,A_c,e);else{a.cF=c;b=a.getComponent().getSelectedRowKeys();var f=b[c];if(f)for(var g in b)if(g!=c){f=A_c;break}f||(a.wx=A_b,A_zj(a.q()),a.wx=A_c,A_Fj(a,c,d,A_c,A_c,e))}A_Bj(a.q(),c,d,a.getComponent().getClientId());A_8.ps()||a.getDomElement().focus()}A_g.Xx=function(){return!this.wx};A_g.cr=function(a){A_Qj(this,A_8.Fp);A_mk(this,{});a||(a=this.Za(),a!=A_&&A_4i(a))};
function A_Qj(a,b){var c,d=A_9(a);if(d!=A_&&(a.NR=A_,c==A_&&(c=a.getComponent().getSelectedRowKeys()),c&&!AdfCollections.isEmpty(c)))for(var d=d.childNodes,e=AdfAgent.getAgent(),f=0;f<d.length;f++){var g=d[f].childNodes;if(g)for(var h=0;h<g.length;h++){var l=g[h],m=e.getAttribute(l,A_8.W);if(m!=A_)switch(b){case A_8.qE:A_nk(a,l);break;case A_8.Fp:A_ok(a,l);break;case A_8.uu:c[m]?A_nk(a,l):A_ok(a,l)}}}}
function A_Aj(a,b,c){A_ok(a,c);var d={};AdfCollections.copyInto(d,a.getComponent().getSelectedRowKeys());delete d[b];A_mk(a,d);a=a.Za();a!=A_&&A_3i(a,c.id)}
function A_Fj(a,b,c,d,e,f){A_nk(a,c);if(!d){d=a.getComponent();var g={};AdfCollections.copyInto(g,d.getSelectedRowKeys());g[b]=A_b;A_mk(a,g);if("none"==a.q().getGlassPane().style.display)a:{b=a.getDomElement();if(parseInt(c.style.top)<b.scrollTop)b=b.scrollTop-parseInt(c.style.top)+A_nj(a.q())+a.Im,d=Math.floor(b/5),g=b%5,A_vj(a,A_b),a.Ok({increment:-d,reminder:g,counter:5,speed:1});else{d=AdfAgent.AGENT.getIntAttribute(c,"h");if(d==A_)break a;b=parseInt(c.style.top)+d-(b.scrollTop+parseInt(b.parentNode.style.height))+
A_Uj(a)+5;d=Math.floor(b/5);g=b%5;0<b&&(A_vj(a,A_b),a.Ok({increment:d,reminder:g,counter:5,speed:1}))}f||A_8j(a,c,A_b)}}e||(a=a.Za(),a!=A_&&A_2i(a,c.id))}function A_nk(a,b){a.addStyle(b,A_8.td);A_lk(b,A_8.Si);a.isInActiveHeirarchy()?A_lk(b,A_8.yp):a.addStyle(b,A_8.yp);a.od(a.getComponent())&&(b.style.zIndex=999)}function A_ok(a,b){AdfAssert.assertDomNode(b);A_lk(b,A_8.yp);A_lk(b,A_8.td);A_lk(b,A_8.Si);A_lk(b,A_8.Ge);a.od(a.getComponent())&&(b.style.zIndex="")}
function A_ek(a,b){A_lk(b,A_8.yp);A_lk(b,A_8.td);A_lk(b,A_8.Si);A_lk(b,A_8.Ge);a.od(a.getComponent())&&(b.style.zIndex="")}function A_mk(a,b){AdfLogger.LOGGER.finer("Update Timeline selection state to:",b);a.getComponent().setSelectedRowKeys(b)}
A_g.addStyle=function(a,b){AdfAssert.assertDomNode(a);var c=a.firstChild,d=A_;if(c.nextSibling){var d=c.nextSibling,e=d.nextSibling;if(A_Zj(a))var f=e.nextSibling;e.firstChild&&(e=e.firstChild)}AdfAssert.assertDomNode(c);d&&(AdfAssert.assertDomNode(d),AdfAssert.assertDomNode(e));A_k.sa(c,b);d&&(A_k.sa(d,b),A_k.sa(e,b),f&&A_k.sa(f,b),(A_8.Qd()||A_8.jf())&&e.nextSibling!=A_&&A_k.sa(e.nextSibling,b));A_Xj(a)&&A_k.sa(a.lastChild,b)};
function A_lk(a,b){AdfAssert.assertDomNode(a);var c=a.firstChild,d=A_;if(c.nextSibling){var d=c.nextSibling,e=d.nextSibling;if(A_Zj(a))var f=e.nextSibling;e.firstChild&&(e=e.firstChild)}AdfAssert.assertDomNode(c);d&&(AdfAssert.assertDomNode(d),AdfAssert.assertDomNode(e));A_k.S(c,b);d&&(A_k.S(d,b),A_k.S(e,b),f&&A_k.S(f,b),(A_8.Qd()||A_8.jf())&&e.nextSibling!=A_&&A_k.S(e.nextSibling,b));A_Xj(a)&&A_k.S(a.lastChild,b)};