var A_7=AdfRichUIPeer.createPeerClass(AdfRichUIPeer,"AdfDhtmlTimelineSeriesPeer",!1);A_a("AdfDhtmlTimelineSeriesPeer",A_7);AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.timeline.TimelineSeries","AdfDhtmlTimelineSeriesPeer");
A_7.InitSubclass=function(){AdfObject.ensureClassInitialization(A_7);AdfRichUIPeer.addComponentEventHandlers(this,AdfUIInputEvent.CLICK_EVENT_TYPE,AdfUIInputEvent.MOUSE_IN_EVENT_TYPE,AdfUIInputEvent.MOUSE_OUT_EVENT_TYPE,AdfUIInputEvent.KEY_DOWN_EVENT_TYPE,AdfComponentEvent.CONTEXT_MENU_EVENT_TYPE,AdfDropEvent.DROP_EVENT_TYPE);AdfRichUIPeer.addSuppressedPPRAttributes(this,"blockStart");AdfRichUIPeer.addSuppressedPPRAttributes(this,"blockEnd");AdfRichUIPeer.addComponentPropertyChanges(this,"selectedRowKeys");
this.kF=0;this.lq=1;this.hv=2;this.hF="multiple";this.iF="none";this.Bd="p_AFSelected";this.mj="p_AFHighlighted";this.Te="p_AFFocused";this.Oe="dataW";this.Qu=/^INPUT|SELECT|OPTION|BUTTON|^A\b|TEXTAREA/;this.TE="_afrNdsRfr";this.ca="_rk";this.wA=-99;this.Eo=0;this.Co=1;this.Do=2;this.xA=3;this.XD=-98;this.VB=-97;this.du=1;this.eu=2;this.QC=4;this.jj=0;this.Tl=15;this.Xl=3;this.IA=0;this.hp=1;this.ip=2;this.Wo="#267DB3 #68C182 #FAD55C #ED6647 #8561C8 #6DDBDB #FFB54D #E371B2 #47BDEF #A2BF39 #A75DBA #F7F37B".split(" ")};
A_a("AdfDhtmlTimelineSeriesPeer.InitSubclass",A_7.InitSubclass);A_7.prototype.InitDomElement=function(a,b){A_7.superclass.InitDomElement.call(this,a,b);A_6.Yb()||this.wt(b);this.Pw=0;this.Wx=!1;this.zg=null;this.cr=!1;this.Kd=0;this.ub=-1;this.ln=parseInt(AdfAgent.AGENT.getAttribute(b,"_timt"));this.pr=parseInt(AdfAgent.AGENT.getAttribute(b,"_timb"));this.Wj=Math.max(this.ln,this.pr)};A_7.prototype.InitDomElement=A_7.prototype.InitDomElement;
A_7.prototype.BindToComponent=function(a,b){A_7.superclass.BindToComponent.call(this,a,b);a.getParent().getPeer().cp(a)};A_7.prototype.ComponentRemoved=function(a){var b=this.w();null!=b&&b.eA(this);A_7.superclass.ComponentRemoved.call(this,a)};A_7.prototype.ComponentRemoved=A_7.prototype.ComponentRemoved;
A_7.prototype.wt=function(a){var b=AdfAgent.AGENT,c=b.getPlatform(),d=c==AdfAgent.IE_PLATFORM&&9<=b.getVersion(),b=(c=c==AdfAgent.GECKO_PLATFORM)&&17<=b.getVersion(),e=this.createCallback(this.Xd);d||b?a.addEventListener("wheel",e,!0):c?a.addEventListener("DOMMouseScroll",e,!0):a.onmousewheel=e};A_7.prototype.Xd=function(a){a||(a=AdfPage.PAGE.getDomWindow().event);a=a.wheelDeltaX;null!=a&&(a=Math.round(-1/120*a),this.w().Lf(a,!0))};
A_7.at=function(){return AdfAgent.AGENT.atLeast(AdfAgent.IE_PLATFORM,9)};A_7.Zd=function(){var a=AdfAgent.AGENT;return a.getPlatform()==AdfAgent.IE_PLATFORM&&7==a.getVersion()};A_7.xf=function(){var a=AdfAgent.AGENT;return a.getPlatform()==AdfAgent.IE_PLATFORM&&8==a.getVersion()};A_7.prototype.Af=function(){return AdfDvtAnimator.ib.Af()};function A_9(a){return null!=AdfAgent.AGENT.getIntAttribute(a.getDomElement(),"_tai")}
function A_Dj(a,b){return A_9(a)?null!=AdfAgent.AGENT.getAttribute(b.firstChild,"_et")?b.firstChild.nextSibling:b.firstChild:null}function A_ej(a){a=a.getComponent().getClientId();return AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(a,"dta"))}function A_Ej(a,b){return A_9(a)?A_Dj(a,b).nextSibling:null!=AdfAgent.AGENT.getAttribute(b.firstChild,"_et")?b.firstChild.nextSibling:b.firstChild}A_7.prototype.w=function(){return this.getComponent().getParent().getPeer()};A_7.prototype.Je=function(){return this.getComponent().getParent().Je()};
A_7.prototype.getAnimationOnDisplay=A_7.prototype.Je;A_7.prototype.pf=function(){return this.getComponent().getParent().pf()};A_7.prototype.getAnimationOnDataChange=A_7.prototype.pf;A_=A_7.prototype;A_.hb=function(){return this.w().hb()};A_.ea=function(){null==this.zg&&(this.zg=this.w().ea());return this.zg};A_.Fb=function(){null==this.hk&&(this.hk=this.w().Fb());return this.hk};A_.DomReplaceNotify=function(a){return 0<a.id.indexOf(A_7.Oe)?null:a};
A_.Ba=function(a){return this.ea()?parseInt(a.style.top):AdfPage.PAGE.getLocaleContext().isRightToLeft()?parseInt(a.style.right):parseInt(a.style.left)};A_.uc=function(a,b){this.ea()?a.style.top=b+"px":AdfPage.PAGE.getLocaleContext().isRightToLeft()?a.style.right=b+"px":a.style.left=b+"px"};function A_Fj(a,b){var c;void 0==c&&(c=a.ea());return c?parseInt(b.style.height):parseInt(b.style.width)}function A_fj(a,b,c){var d;void 0==d&&(d="px");a.ea()?b.style.height=c+d:b.style.width=c+d}
A_.ha=function(a){return this.ea()?parseInt(a.scrollTop):this.w().ki(a)};A_.setScrollPos=function(a,b){this.ea()?a.scrollTop=b:A_6i(this.w(),a,b)};function A_Gj(a){a.getDomElement().scrollTop=0;A_8(a).style.height="100%";a.Fb()&&(A_ej(a).style.top="0px")}
A_.ReplaceDomElement=function(a,b){if(0<a.id.indexOf(A_7.Oe)){var c=AdfAgent.AGENT,d=A_7.kK(a);if(this.Sd){this.fl();for(var e=c.getIntAttribute(a,"_fetchId",-1),f=this.lk,g=b.firstChild;g;)this.kf(g),b.removeChild(g),g=b.firstChild;g=A_8(this);if(void 0!=f&&this.Jx==e){var h=this.Kx,e=this.Lx;this.Sn();if(c.getBooleanAttribute(a,A_7.TE,!1))AdfPage.PAGE.addPartialTargets(this.getComponent());else{if(3==f){this.Ta=parseInt(d.style.left);this.Wa=parseInt(d.style.left)+parseInt(d.style.width);f=g.childNodes;
for(h=f.length-1;0<=h;h--){var l=f[h];this.kf(l);g.removeChild(l)}g.appendChild(d);c.elementsAdded(d);A_Gj(this)}else{this.Ba(d)<this.Ta&&(this.Ta=this.Ba(d));this.Ba(d)+A_Fj(this,d)>this.Wa&&(this.Wa=this.Ba(d)+A_Fj(this,d));2==f?g.appendChild(d):g.insertBefore(d,g.firstChild);c.elementsAdded(d);if(h){f=A_8(this);this.ea()?(h=this.Ia().scrollTop,l=h+this.Ia().offsetHeight):(h=this.w().ki(this.Ia()),l=h+this.Ia().offsetWidth);this.Wa=this.Ta=-1;for(var m=f.childNodes,n=m.length-1;0<=n;n--){var p=
m[n],q=this.Ba(p),u=q+A_Fj(this,p);if(q>l||u<h)this.kf(p),f.removeChild(p);else{if(-1==this.Ta||-1<this.Ta&&q<this.Ta)this.Ta=q;if(-1==this.Wa||-1<this.Wa&&u>this.Wa)this.Wa=u}}}f=g.childNodes;1==f.length&&A_Gj(this);for(h=0;h<f.length;h++)f[h].style.zIndex=f.length-h+2}A_7.setCursor(g,"");e?(A_9(this)&&(this.Fb()?d.firstChild.style.top=g.firstChild.firstChild.style.top:d.firstChild.style.bottom=g.firstChild.firstChild.style.bottom),this.Um=!1):(A_Hj(this,!1,!1),A_gj(this));A_Ij(this,d);A_Jj(this);
if(null!=this.yr)for(d=d.childNodes,e=0;e<d.length;e++)if(f=d[e],g=c.getAttribute(f,A_7.ca),h=c.getIntAttribute(f,"x"),null!=h&&null!=g&&h==this.yr){A_Bj(this,g,f);A_wj(this.w(),g,f,this.getComponent().getClientId());break}this.yr=null;null!=this.Cr&&(g=document.getElementById(this.Cr),null!=g&&(c=A_0i(g,this.getDomElement()),g=c[0],f=c[1],A_1i(this,this.ix,g,f),this.ix=this.Cr=null))}}else if(e==A_7.wA&&void 0==f){c=a.childNodes;b:{d=AdfAgent.AGENT;for(e=0;e<c.length;e++)if(d.getIntAttribute(c[e],
"_autopprBlock",-1)==A_7.xA){e=c[e];break b}e=null}d=AdfAgent.AGENT;if(e){c=e;d=AdfAgent.AGENT;e=[];f=g.childNodes;for(h=0;h<f.length;h++)for(l=f[h].childNodes,m=0;m<l.length;m++)n=l[m],null!=d.getAttribute(n,A_7.ca)&&A_Kj(this,e,n);AdfDvtAnimator.ib.animate(this,e,1E3,A_7.cK,[this,g,c.childNodes[0]])}else{e=[];f=null;this.pf()==AdfDhtmlTimelinePeer.Fl&&this.Af()&&(f=[]);h=null;this.Af()&&(h=[]);l=[];for(m=0;m<c.length;m++)switch(n=d.getIntAttribute(c[m],"_autopprBlock",-1),A_Lj(this,c[m]),n){case A_7.Co:n=
c[m].firstChild;A_Ti(this,e,n,g);null!=f&&f.push(n);break;case A_7.Eo:n=c[m].firstChild;A_Ui(this,e,n);null!=h&&h.push(n);break;case A_7.Do:n=d.getAttribute(c[m],A_7.ca),null!=n&&(n=A_yj(this,n),null!=n&&(A_Kj(this,e,n),l.push(n)))}0<e.length&&(0<l.length?AdfDvtAnimator.ib.animate(this,e,1E3,A_7.dK,[this,l]):null!=f?AdfDvtAnimator.ib.animate(this,e,1E3,A_7.YL,[this,f]):null!=h?AdfDvtAnimator.ib.animate(this,e,1E3,A_7.AN,[this,h]):AdfDvtAnimator.ib.animate(this,e,1E3,null,null));A_Mj(this,A_7.lq);
A_Mj(this,A_7.hv)}}else e==A_7.XD&&void 0==f?this.Zs(a)||A_Jj(this):e==A_7.VB&&void 0==f&&this.pi(a)}else this.Sn(),d&&d.firstChild&&(this.Ta=this.Ba(d),this.Wa=this.Ta+A_Fj(this,d),A_Nj(this,d,!1),c.elementsAdded(d),A_Hj(this,!0,!1),A_Ij(this,d),A_Jj(this))}else A_7.superclass.ReplaceDomElement.call(this,a,b)};A_7.prototype.ReplaceDomElement=A_7.prototype.ReplaceDomElement;
function A_Jj(a){var b=a.getComponent();b.setProperty("blockStart",a.Ta,!0,AdfUIComponent.PROPAGATE_ALWAYS);b.setProperty("blockEnd",a.Wa,!0,AdfUIComponent.PROPAGATE_ALWAYS)}A_7.prototype.ws=function(){for(var a=0,b=0,c=AdfAgent.AGENT,d=A_8(this).childNodes,e=0;e<d.length;e++){var f=d[e];if(null==c.getAttribute(f,"_timeAxisOnly")){var g=this.Ba(f),f=g+A_Fj(this,f);g<a&&(a=g);f>b&&(b=f)}}return{start:a,end:b}};A_7.Jy=function(a,b,c){return Math.floor(Math.random()*(a-b-c))};
A_7.Dg=function(a,b,c,d){var e=AdfAgent.AGENT,f=e.getIntAttribute(a,"x",0),g=e.getIntAttribute(a,"y",c),h=e.getIntAttribute(a,"h");null==h&&(h=A_7.gs(a),a.setAttribute("h",h));for(var l=0;l<b.length;l++)for(var m=b[l].childNodes,n=0;n<m.length;n++){var p=m[n];if(null!=e.getAttribute(p,"x")&&p!=a){var q=e.getIntAttribute(p,"x",0),u=e.getIntAttribute(p,"y",c),v=e.getIntAttribute(p,"w");null==v&&(v=p.firstChild.offsetWidth,p.setAttribute("w",v));var x=e.getIntAttribute(p,"h");null==x&&(x=A_7.gs(p),p.setAttribute("h",
x));f>=q&&f<=q+v&&(g>=u&&g<=u+x||u>=g&&u<=g+h)&&(g=u+x+d,a.setAttribute("y",g),g=A_7.Dg(a,b,c,d))}}return g};A_a("AdfDhtmlTimelineSeriesPeer.calculateY",A_7.Dg);function A_Oj(a,b){return b||!A_9(a)||a.Fb()?a.ln:A_ij(a.w())+a.ln}function A_Pj(a){if(null==a.oy){var b=A_ej(a);a.oy=null==b?0:b.offsetWidth}return a.oy}function A_Qj(a){if(null==a.ny){var b=A_ej(a);a.ny=null==b?0:b.offsetHeight}return a.ny}function A_Rj(a){return A_7.gs(a)}
A_7.gs=function(a){var b=!1;A_d.ta(a.firstChild,A_7.Bd)&&(A_d.X(a.firstChild,A_7.Bd),b=!0);var c=a.firstChild.offsetHeight;b&&A_d.ya(a.firstChild,A_7.Bd);return c};function A_Sj(a,b){null==a.py&&(A_d.ta(b,A_7.Bd)&&A_d.X(b,A_7.Bd),a.py=b.offsetHeight);return a.py}function A_Tj(a){return null!=AdfAgent.AGENT.getAttribute(a,"rks")}A_7.prototype.Py=function(a){A_Hj(this,a.animate,a.isAutoPPR);a=A_8(this).childNodes;for(var b=0;b<a.length;b++)A_Ij(this,a[b])};
function A_Uj(a){a=a.getElementsByTagName("img");for(var b=AdfAgent.AGENT,c=a.length,d=0;d<c;d++){var e=a[d];if(e)if(!e.complete){var f=b.getComputedStyle(e),e=f.width,f=f.height;if("0px"==e||"auto"==e||"0px"==f||"auto"==f)return A_7.hp}else if(0==e.offsetHeight)return A_7.ip}return A_7.IA}
function A_Hj(a,b,c){var d=A_Uj(A_8(a));if(d==A_7.hp&&10>a.Kd)a.Kd++,AdfPage.PAGE.scheduleTimer(a,a.Py,{animate:b,isAutoPPR:c},100);else if(d==A_7.ip&&1>a.Kd)a.Kd++,AdfPage.PAGE.scheduleTimer(a,a.Py,{animate:b,isAutoPPR:c},0);else{a.Kd=0;d=null;b&&(d=[]);var e=A_8(a),f=e.childNodes,g=a.vd(a.getComponent()),h=a.ea()?a.getDomElement().offsetWidth:a.getDomElement().offsetHeight,l=A_9(a),m=a.Fb(),n=a.Mc();a.ub=-1;b=[];for(var p=0;p<f.length;p++)for(var q=f[p],u=a.Ba(q),v=u+A_Fj(a,q),q=q.childNodes,x=
0;x<q.length;x++){var w=q[x];A_Vj(w)&&b.push(w)}A_Wj(a,b);for(var y=-1,r=A_Oj(a,n),p=0;p<f.length;p++)for(q=f[p],u=a.Ba(q),v=u+A_Fj(a,q),q=q.childNodes,x=0;x<q.length;x++){var w=q[x],z;if(c){var C=a;z=d;var H=f,D=u,F=r,A=-1,B=AdfAgent.AGENT,I=B.getIntAttribute(w,"x");null!=I&&(D=I-D,H=A_7.Dg(w,H,F,C.Wj),F=B.getIntAttribute(w,"h"),null==F&&(F=A_Rj(w),w.setAttribute("h",F)),A_Xj(C,w),I=A_8(C),B=parseInt(I.style.height),"100%"==I.style.height&&(B=C.getDomElement().offsetHeight,I.style.height=B+"px"),
!A_9(C)||C.Fb()?(H=B-H-F-C.oc,0>H&&(A=H),C.ub=Math.max(C.ub,B-H),H+=C.oc):(F=H+F+A_Qj(C)+C.oc,F>B&&(A=F),C.ub=Math.max(C.ub,F)),null!=z?(C={},AdfPage.PAGE.getLocaleContext().isRightToLeft()?C.right=D:C.left=D,C.top=H,D={},D.element=w,D.properties=C,z.push(D)):(w.style.left=D+"px",w.style.top=H+"px"));z=A}else a:{var A=a,C=d,G=f,I=u,t=v;z=w;var E=g,F=n,H=h,L=r,D=A.ea(),w=-1,B=AdfAgent.AGENT,K=B.getIntAttribute(z,"x");if(null!=K){I=K-I;if(E)if(G=B.getIntAttribute(z,"h"),null==G){if(G=A_Rj(z),z.setAttribute("h",
G),!D)var J=A_7.Jy(H,G,A_Qj(A))}else{z=void 0;break a}else J=A_7.Dg(z,G,L,A.Wj),G=B.getIntAttribute(z,"h"),null==G&&(G=A_Rj(z),z.setAttribute("h",G)),K=A_8(A),t=parseInt(K.style.height),"100%"==K.style.height&&(t=H,K.style.height=t+"px"),!A_9(A)||A.Fb()?(J=t-J-G-A.oc,0>J&&(w=J),A.ub=Math.max(A.ub,t-J),J+=A.oc):(G=J+G+A_Qj(A)+A.oc,G>t&&(w=G),A.ub=Math.max(A.ub,G));if(A_Tj(z)){B.getPlatform()==AdfAgent.WEBKIT_PLATFORM?z.firstChild.style.webkitBoxShadow="none":B.getPlatform()==AdfAgent.GECKO_PLATFORM?
(z.firstChild.style.mozBoxShadow="none",z.firstChild.style.boxShadow="none"):A_7.at()&&(z.firstChild.style.boxShadow="none");var M=z.lastChild;A_7.Zd()?M.style.zIndex=-1:M.style.zIndex=0;M.style.width=z.firstChild.offsetWidth+"px";M.style.height=z.firstChild.offsetHeight+"px";D?M.style.left="1px":A.w().uc(M,-19);M.style.top="1px";B.setOpacity(M,0)}D?z.style.top=I-A_Rj(z)/2+"px":AdfPage.PAGE.getLocaleContext().isRightToLeft()?z.style.right=I+"px":z.style.left=I+"px";A_Xj(A,z);I=z.firstChild;0>I.offsetLeft+
I.offsetWidth&&(I.style.left="-6px");t=I.nextSibling;B.setOpacity(t,0);G=t.nextSibling;A_7.Zd()||A_7.xf()?F||(B.setOpacity(G.firstChild,0),B.setOpacity(G.lastChild,0)):B.setOpacity(G,0);if(F){F=A;K=M;L=AdfAgent.AGENT;E=L.getPlatform();L=L.getVersion();if(null!=G){var S="rotate(45deg)";if(!A_9(F)||F.Fb())S="rotate(-135deg)";E==AdfAgent.WEBKIT_PLATFORM?G.style.webkitTransform=S:E==AdfAgent.GECKO_PLATFORM&&16>L?G.style.mozTransform=S:E==AdfAgent.IE_PLATFORM&&9==L&&(G.style.msTransform=S)}E==AdfAgent.IE_PLATFORM&&
9>L&&(null!=G&&(G.style.display="none"),null!=t&&(t.style.marginTop=null!=K?"-1px":"-4px"))}null!=C?(F=A.Je(),F==AdfDhtmlTimelinePeer.El?(D?A_Yj(A,z,H):z.style.top=J+"px",z.setAttribute("animating",!0),B.setOpacity(I,0),A={alpha:100},D={},D.element=I,D.properties=A,C.push(D),null!=M&&(D={},D.element=M,D.properties=A,C.push(D))):F==AdfDhtmlTimelinePeer.Fl&&A.Af()?(z.style.top=J+"px",z.setAttribute("animating",!0),B.setOpacity(z,100),z.style.width=z.firstChild.offsetWidth+"px",z.style.webkitTransform=
"scale(0)",A={scale:1},D={},D.element=z,D.properties=A,C.push(D)):F==AdfDhtmlTimelinePeer.mA?(z.style.top="0px",z.setAttribute("animating",!0),B.setOpacity(z,100),A={},A.top=J,D={},D.element=z,D.properties=A,C.push(D)):F==AdfDhtmlTimelinePeer.Gl?(A.getDomElement().style.webkitTransform="perspective(800)",z.style.top=J+"px",z.setAttribute("animating",!0),B.setOpacity(z,100),z.style.width=z.firstChild.offsetWidth+"px",z.firstChild.style.webkitTransform="rotateY(270deg)",A={rotate:0},D={},D.element=
z.firstChild,D.properties=A,C.push(D)):(z.style.top=J+"px",B.setOpacity(z,100))):null==B.getAttribute(z,"animating")&&(D?A_Yj(A,z,H):z.style.top=J+"px",B.setOpacity(z,100),null!=M&&B.setOpacity(M,100))}else if(null==z.getAttribute("_ox")&&void 0!=z.style){K=A.Ba(z);if(isNaN(K)){z=void 0;break a}z.setAttribute("_ox",K);I=K-I;C=0-I;0<C&&(I=0,A_fj(A,z,Math.max(0,A_Fj(A,z)-C)));D?z.style.top=I+"px":AdfPage.PAGE.getLocaleContext().isRightToLeft()?z.style.right=I+"px":z.style.left=I+"px";C=K+A_Fj(A,z)-
t;0<C&&A_fj(A,z,A_Fj(A,z)-C)}z=w}if((!l||m)&&z<y||l&&!m&&z>y)y=z}if(l&&!m){if(h=0,-1!=y?(e.style.height=y+"px",h=y-a.getDomElement().offsetHeight):(h=parseInt(f[0].firstChild.style.bottom),isNaN(h)&&(h=0)),0!=h)for(e=0;e<f.length;e++)q=f[e],q.firstChild.style.bottom=h+"px"}else if(-1!=y){J=0-y;for(M=0;M<f.length;M++)for(q=f[M],q=q.childNodes,g=0;g<q.length;g++)w=q[g],isNaN(parseInt(w.style.top))||(w.style.top=parseInt(w.style.top)+J+"px");e.style.height=h+J+"px";A_pj(a,J)}if(!A_9(a)||a.Fb())for(f=
0;f<b.length;f++){e=b[f];h=e.childNodes[3];h.style.zIndex=100-h.ic;q=AdfAgent.AGENT.getIntAttribute(e,"x2")-AdfAgent.AGENT.getIntAttribute(e,"x");h.style.width=q+"px";q=Math.min(10,q/2);for(j=0;3>j;j++)J=e.childNodes[j],J.style.marginLeft=q+"px";(J=e.childNodes[4])&&(J.style.marginLeft=q+"px");q=18+10*h.ic;h.style.height=q+"px";h.style.top=-1*parseInt(e.style.top)+"px"}else if(a.ea())for(f=0;f<b.length;f++)e=b[f],h=e.childNodes[3],h.style.zIndex=100-h.ic,q=AdfAgent.AGENT.getIntAttribute(e,"x2")-AdfAgent.AGENT.getIntAttribute(e,
"x"),h.style.height=q+"px",q=18+10*h.ic,h.style.width=q+"px",h.style.top=A_Rj(e)/2+"px",h.style.left=e.parentNode.offsetWidth-parseInt(e.style.left)-q-A_Pj(a)-1+"px";else for(f=0;f<b.length;f++){e=b[f];h=e.childNodes[3];h.style.zIndex=100-h.ic;q=AdfAgent.AGENT.getIntAttribute(e,"x2")-AdfAgent.AGENT.getIntAttribute(e,"x");h.style.width=q+"px";q=Math.min(10,q/2);for(j=0;3>j;j++)J=e.childNodes[j],J.style.marginLeft=q+"px";(J=e.childNodes[4])&&(J.style.marginLeft=q+"px");q=18+10*h.ic;h.style.height=q+
"px";h.style.top=e.parentNode.offsetHeight-parseInt(e.style.top)-q-A_Qj(a)-1+"px"}-1!=y&&null!=a.va&&(a.va.style.visibility="visible");c?(AdfDvtAnimator.ib.animate(a,d,1E3,null,null),A_Zj(a)):null!=d&&0<d.length?a.aA({animationObjects:d,index:0}):A_Zj(a);A_6.Yb()&&(a=a.Ia(),a.style.overflow="scroll",a.style.webkitOverflowScrolling="touch")}}A_7.Hy=function(a,b,c,d){return a.parentNode.offsetHeight-c-b-d};A_7.Iy=function(a,b,c){return-1*c};
A_7.Ky=function(a,b,c,d){return a.parentNode.offsetWidth-c-b-d};function A_Wj(a,b){if(null==a.Ij){a.Gj=0;var c=a.w().hb();c?(c=A_4i(c),a.Ij=c?c:{}):a.Ij={}}for(c=a.qn=0;c<b.length;c++){var d=b[c],e=AdfAgent.AGENT.getAttribute(d,"id"),f=d.childNodes[3];f.ic=A__j(a,d,b);null==f.Pq&&(null==a.Ij[e]?(a.Ij[e]=a.Gj,f.Pq=A_7.Wo[a.Gj],a.Gj++,a.Gj==A_7.Wo.length&&(a.Gj=0)):f.Pq=A_7.Wo[a.Ij[e]],f.style.backgroundColor=f.Pq)}a.oc=0==a.qn?a.pr:10*a.qn+Math.max(a.pr,40)}
function A__j(a,b,c){var d=c.length,e=AdfAgent.AGENT.getIntAttribute(b,"x"),f=b.childNodes[3],g=f.ic;null==g&&(g=1);for(var h=0;h<d;h++){var l=c[h];if(l!=b){var m=l.childNodes[3],n=AdfAgent.AGENT.getIntAttribute(l,"x2");null!=n&&(l=AdfAgent.AGENT.getIntAttribute(l,"x"),m=m.ic,null==m&&(m=1),e>=l&&e<=n&&g==m&&(g=m+1,f.ic=g,g=A__j(a,b,c)))}}g>a.qn&&(a.qn=g);return g}
function A_Vj(a){return 3<a.childNodes.length?(a=AdfAgent.AGENT.getAttribute(a.childNodes[3],"id"))&&-1!==a.indexOf("duration",a.length-8):!1}A_=A_7.prototype;
A_.aA=function(a){var b=a.animationObjects,c=a.index;if(c==b.length)this.Je()==AdfDhtmlTimelinePeer.Gl&&(this.getDomElement().style.webkitTransform=""),a=AdfAgent.AGENT,(a.getPlatform()==AdfAgent.GECKO_PLATFORM||14<=parseInt(a.getVersion()))&&AdfPage.PAGE.scheduleTimer(this,this.nK,null,1E3);else{a=AdfPage.PAGE;var d=[],e=b[c].element.parentNode,f=this.Mc();this.Je()==AdfDhtmlTimelinePeer.Gl&&(e=e.parentNode);d.push(b[c]);AdfDvtAnimator.ib.animate(this,d,1E3,null,null,f);a.scheduleTimer(this,this.aA,
{animationObjects:b,index:c+1},1E3/Math.max(1,b.length));b=A_8(this).offsetHeight;c=1E3;this.Je()==AdfDhtmlTimelinePeer.El?c=450:this.Je()==AdfDhtmlTimelinePeer.Gl&&(c=850);a.scheduleTimer(this,this.bK,{item:e,databodyHeight:b},c)}};function A_Zj(a){for(var b=A_8(a),c=b.childNodes,b=b.offsetHeight,d=0;d<c.length;d++)A_0j(a,c[d],b)}function A_0j(a,b,c){var d=AdfAgent.AGENT;b=b.childNodes;for(var e=0;e<b.length;e++){var f=b[e];null==d.getAttribute(f,"animating")&&A_1j(a,f,c)}}
A_.bK=function(a){var b=a.item;a=a.databodyHeight;AdfAgent.AGENT.setOpacity(b.childNodes[2],0);A_1j(this,b,a)};function A_Xj(a,b){var c=b.childNodes[2],d=AdfAgent.AGENT.getIntAttribute(b,"h");if(null!=d&&A_9(a)){var e=A_Sj(a,c);a.ea()?A_7.Zd()||A_7.xf()?c.style.left=b.firstChild.offsetWidth+"px":(c.style.left=b.firstChild.offsetWidth-e/2+"px",c.style.top=d/2-e/2+1+"px"):c.style.top=d-e/2+"px"}}function A_Yj(a,b,c){b.style.left=c-b.firstChild.offsetWidth-A_Pj(a)-8-a.oc+"px"}
function A_1j(a,b,c){var d=AdfAgent.AGENT;if(null!=d.getIntAttribute(b,"x")){var e=b.childNodes[1],f=b.childNodes[2],d=d.getIntAttribute(b,"h");if(null!=d){var g=A_Sj(a,f);!A_9(a)||a.Fb()?(c=parseInt(b.style.top),A_7.Zd()||A_7.xf()?e.style.top=0-c-7+"px":e.style.top=0-c+"px",e.style.height=Math.max(0,c-2)+"px"):a.ea()||(e.style.top=d+g/2+"px",e.style.height=c+"px");c=[];d={alpha:100};g={};g.element=e;g.properties=d;c.push(g);g={};g.element=f;g.properties=d;c.push(g);e=a.Mc();!A_7.Zd()&&!A_7.xf()||
e||(g={},g.element=f.firstChild,g.properties=d,c.push(g),g={},g.element=f.lastChild,g.properties=d,c.push(g));AdfDvtAnimator.ib.animate(a,c,2E3,null,null,e)}b.removeAttribute("animating");b.style.width=""}}A_.nK=function(){this.Ia().parentNode.parentNode.style.maxHeight="0px"};A_.Ia=function(){return this.getDomElement().parentNode};A_.kf=function(a){AdfPage.PAGE.removeComponentsInSubtree(a);AdfAgent.AGENT.elementsRemoved(a)};
function A_Nj(a,b,c){a.fl();a.Sd=!0;var d=A_8(a);if(!c){c=d.childNodes;for(var e=c.length-1;0<=e;e--)d.removeChild(c[e]);d.appendChild(b)}A_Lj(a,b);a:{b=a.w();for(c=0;c<b.G.length;c++)if(!b.G[c].Sd)break a;c=b.getComponent().getScrollLeft();0<c&&b.scrollToPos(c,!0);e=b.hb();null!=e&&(0==c?e.Mf():A_Vi(e,c));b.Sd=!0}A_7.setCursor(d,"");A_gj(a)}A_.needsResizeNotify=function(){return!0};A_7.prototype.needsResizeNotify=A_7.prototype.needsResizeNotify;
A_7.prototype.ResizeNotify=function(a,b,c,d){this.Wx||(this.w().Mz(this),this.Wx=!0);var e=this.getDomElement().parentNode.childNodes.length;this.ea()?this.getDomElement().style.width=100/e+"%":this.getDomElement().style.height=100/e+"%";e=A_8(this);A_7.Zd()&&(e.style.zIndex=2);if(A_6.Yb())e.style.zIndex=2;else{var f=AdfAgent.AGENT,g=this.getDomElement(),h=this.w(),l=this.ea(),m=AdfPage.PAGE.getLocaleContext().isRightToLeft(),n=this.Fb()?this.hb().getDomElement().offsetHeight:0,p=l?A_ij(this.w()):
0,q=g.offsetHeight,u=g.offsetWidth,v=g.offsetTop,x=g.offsetLeft;if(null==this.xa){this.xa=document.createElement("div");this.xa.hotspot="leftMost";this.xa.style.zIndex=998;this.xa.style.position="absolute";this.Ld=this.xa.cloneNode(!1);this.Ld.style.zIndex=4;this.Ld.hotspot="left";l?this.Ld.style.top="22px":m?this.Ld.style.right="24px":this.Ld.style.left="24px";this.xa.style.visibility="hidden";var w=document.createElement("div");w.className=f.getAttribute(g,"_laic");this.xa.appendChild(w);h.getDomElement().appendChild(this.xa);
h.getDomElement().appendChild(this.Ld)}l?(this.xa.style.top="0px",this.xa.style.left=x+"px",this.xa.style.width=u-A_Pj(this)+"px",this.xa.style.height="22px"):(this.xa.style.top=v+n+"px",m?this.xa.style.right="0px":this.xa.style.left="0px",this.xa.style.width="24px",this.xa.style.height=q-A_Qj(this)+"px");l?this.Ld.style.left=this.xa.style.left:this.Ld.style.top=this.xa.style.top;this.Ld.style.width=this.xa.style.width;this.Ld.style.height=this.xa.style.height;null==this.Aa&&(this.Aa=document.createElement("div"),
this.Aa.hotspot="rightMost",this.Aa.style.zIndex=998,this.Aa.style.position="absolute",this.Md=this.Aa.cloneNode(!1),this.Md.style.zIndex=4,this.Md.hotspot="right",l?this.Md.style.bottom=22+p+"px":m?this.Md.style.left="24px":this.Md.style.right="24px",w=document.createElement("div"),w.className=f.getAttribute(g,"_raic"),this.Aa.appendChild(w),h.getDomElement().appendChild(this.Aa),h.getDomElement().appendChild(this.Md));l?(this.Aa.style.bottom=p+"px",this.Aa.style.left=x+"px",this.Aa.style.width=
u-A_Pj(this)+"px",this.Aa.style.height="22px"):(this.Aa.style.top=v+n+"px",m?this.Aa.style.left="0px":this.Aa.style.right="0px",this.Aa.style.width="24px",this.Aa.style.height=q-A_Qj(this)+"px");l?this.Md.style.right=this.Aa.style.right:this.Md.style.top=this.Aa.style.top;this.Md.style.width=this.Aa.style.width;this.Md.style.height=this.Aa.style.height;l||(null==this.eb&&(this.eb=document.createElement("div"),this.eb.hotspot="top",this.eb.seriesId=g.id,this.eb.style.zIndex=998,this.eb.style.position=
"absolute",this.eb.style.left="0px",this.eb.style.height="22px",this.eb.style.width="100%",A_9(this)&&(this.eb.style.visibility="hidden"),w=document.createElement("div"),w.className=f.getAttribute(g,"_taic"),this.eb.appendChild(w),h.getDomElement().appendChild(this.eb)),this.eb.style.top=v+n+"px",null==this.va&&(this.va=document.createElement("div"),this.va.hotspot="bottom",this.va.seriesId=g.id,this.va.style.position="absolute",this.va.style.zIndex=998,this.va.style.left="0px",this.va.style.height=
"22px",this.va.style.width="100%",A_9(this)&&(this.va.style.visibility="hidden"),w=document.createElement("div"),w.className=f.getAttribute(g,"_baic"),this.va.appendChild(w),h.getDomElement().appendChild(this.va)),A_9(this)?this.va.style.top=v+q-A_Qj(this)-22+n+"px":this.va.style.top=v+q-22+n+"px",A_8(this).offsetHeight>q?this.va.style.visibility="visible":this.va.style.visibility="hidden")}if(this.Sd)if(this.ea()){if(a!=c)for(e=AdfAgent.AGENT,d=A_8(this).childNodes,a=0;a<d.length;a++)for(b=d[a].childNodes,
f=0;f<b.length;f++)g=b[f],null!=e.getIntAttribute(g,"x")&&A_Yj(this,g,c)}else{if(a!=c&&A_gj(this),b!=d){c=d-b;a=AdfAgent.AGENT;b=A_8(this).childNodes;for(f=0;f<b.length;f++)for(g=b[f].childNodes,h=0;h<g.length;h++)l=g[h],null!=a.getIntAttribute(l,"x")&&(l=l.childNodes[1],l.style.height=parseInt(l.style.height)+c+"px");e.style.height=d>this.ub?d+"px":this.ub+"px";if(A_9(this))for(a=parseInt(e.style.height)-d-this.getDomElement().scrollTop,d=e.childNodes,b=0;b<d.length;b++)c=d[b],c.firstChild.style.bottom=
a+"px";d=A_8(this).childNodes;this.ea()?(f=A_7.Ky,c="width",a="left",b=A_Pj(this)-1):(c="height",a="top",b=A_Qj(this)-1,f=!A_9(this)||this.Fb()?A_7.Iy:A_7.Hy);for(g=0;g<d.length;g++)for(h=d[g].childNodes,l=0;l<h.length;l++)m=h[l],A_Vj(m)&&(n=m.childNodes[3],(p=parseInt(n.style[c]))&&(n.style[a]=f(m,p,parseInt(m.style[a]),b)+"px"));d=e.childNodes;for(e=0;e<d.length;e++)c=d[e],A_Ij(this,c)}}else d=this.getComponent(),this.Mc()||"immediate"==d.getContentDelivery()?(c=e.firstChild,this.Ta=parseInt(c.style.left),
this.Wa=this.Ta+parseInt(c.style.width),null!=c&&0<c.childNodes.length&&(A_Nj(this,c,!0),A_Hj(this,!0,!1),A_Ij(this,c)),A_Jj(this)):this.WG||(this.WG=!0,e=this.getComponent(),!AdfPage.PAGE.isStreamingDisabled()&&AdfPage.PAGE.isStreamingRequestPending(e.getClientId())||A_tj(this,0,-1,!1)||(A_7.setCursor(A_8(this),"wait"),this.Ge()))};A_7.prototype.ResizeNotify=A_7.prototype.ResizeNotify;A_=A_7.prototype;
A_.dl=function(a){if(!this.cr&&null!=this.xa&&null!=this.Aa){if(a)a=AdfAgent.AGENT,a.setOpacity(this.xa,0),a.setOpacity(this.Aa,0),null!=this.eb&&null!=this.va&&(a.setOpacity(this.eb,0),a.setOpacity(this.va,0));else{a=[];var b={alpha:0},c={};c.element=this.Aa;c.properties=b;a.push(c);c={};c.element=this.xa;c.properties=b;a.push(c);null!=this.eb&&null!=this.va&&(c={},c.element=this.eb,c.properties=b,a.push(c),c={},c.element=this.va,c.properties=b,a.push(c));AdfPage.PAGE.scheduleTimer(this,this.WL,
{animationObjects:a},1E3)}this.cr=!1}};A_.WL=function(a){AdfDvtAnimator.ib.animate(this,a.animationObjects,1E3,null,null)};A_.Ei=function(){if(1!=this.af&&null!=this.xa&&null!=this.Aa){var a=AdfAgent.AGENT;a.setOpacity(this.xa,100);a.setOpacity(this.Aa,100);null!=this.eb&&null!=this.va&&(a.setOpacity(this.eb,100),a.setOpacity(this.va,100));this.cr=!1}};
function A_Ij(a,b){var c=a.hb();if(null!=c){var d=AdfAgent.AGENT,e=a.w().getDomElement(),f=d.getIntAttribute(e,"start"),g=d.getIntAttribute(e,"end"),h=d.getIntAttribute(e,"width"),l=A_9(a),e=d.getAttribute(e,"_ovi"),m=a.ea(),n=A_Ej(a,b);n.innerHTML="";if(m)var p=0;else{var q=20;if(l){var u=parseInt(b.firstChild.style.bottom);isNaN(u)||(q+=u)}}c=c.getDomElement().getAttribute("_ta");u=AdfAgent.AGENT.getElementById(c);if(A_7.xf()||A_7.Zd())u=u.cloneNode(!0),c=u.innerHTML,c=c.replace(/<TICKS/g,"\x3cDIV"),
c=c.replace(/TICKS>/g,"DIV\x3e"),c=c.replace(/<TICK/g,"\x3cDIV"),c=c.replace(/TICK>/g,"DIV\x3e"),u.innerHTML=c;for(var c=d.getAttribute(a.getDomElement(),"_ovlc"),u=u.firstChild.childNodes,v=0;v<u.length;v++){var x=u[v],w=d.getIntAttribute(x,"time"),x=d.getAttribute(x,"label"),w=A_6.Db(f,g,w,h),y=a.Ba(b),r=y+A_Fj(a,b);if(w>=y&&w<=r){r=document.createElement("div");r.className=e;a.uc(r,w-y);var z=-1;v+1<u.length&&(z=d.getIntAttribute(u[v+1],"time"),z=A_6.Db(f,g,z,h));var C=document.createElement("div");
m?C.style.left=p+"px":C.style.bottom=q+"px";C.className=c;a.uc(C,w-y+2);-1!=z&&A_fj(a,C,z-w);l&&(C.innerHTML=x);n.appendChild(r);n.appendChild(C)}}}}function A_8(a){return AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(a.getComponent().getClientId(),"inner"))}function A_tj(a,b,c,d){var e=a.Pw++,f=a.getComponent();c=new A_2j(f,e,b,c);c.setPartial(!0);c.so(!0);c.Xx=d;AdfPage.PAGE.queueEventToServer(c);a.lk=b;a.Jx=e;a.Kx=!0;a.Lx=d;a.Ge();A_7.setCursor(A_8(a),"wait");return c}A_.vd=function(a){return this.w().vd(a.getParent())};
A_.Mc=function(){return this.w().Mc()};A_7.setCursor=function(a,b){a&&a.style.cursor!=b&&(a.style.cursor=b)};A_7.prototype.fl=function(){this.w().fl()};A_7.prototype.Ge=function(){this.w().Ge()};A_7.kK=function(a){AdfAssert.assert(null!=a,"Timeline peer cannot find first child by tag name if the parent is null!");a=a.childNodes;for(var b=0;b<a.length;b++)if("DIV"==a[b].tagName)return a[b];return null};
A_7.prototype.Mg=function(a){a=a.getSource();for(var b=this.getComponent(),c=!1;!c&&a;)if(a==b)c=!0;else{if(a instanceof AdfRichTimeline||a instanceof AdfUIPopup)break;a=a.getParent()}return c};
function A_0i(a,b){AdfAssert.assertDomElement(a);var c=a,d=AdfAgent.AGENT;if(null==c||1!=c.nodeType)return null;for(var e=d.getAttribute(c,A_7.ca);null==e;){if(null==c||c==b)return null;c=c.parentNode;if(null==c||1!=c.nodeType)return null;e=d.getAttribute(c,A_7.ca)}return a.id==AdfRichUIPeer.CreateSubId(c.id,"connector")||a.id==AdfRichUIPeer.CreateSubId(c.id,"tip")?null:[e,c]}
function A_gj(a){var b=A_8(a),c;c=a.w().getDomElement();c=a.ea()?parseInt(c.offsetHeight):parseInt(c.offsetWidth);var d=A_7.jj;if(0<c){var d=AdfAgent.AGENT,e=a.w().getDomElement(),d=d.getIntAttribute(e,"width"),e=Math.max(0,a.ha(a.Ia())),f=e+c;f>=d&&a.Wa>=d&&e>=a.Ta?(0==e&&A_3j(a,c,!0,!1),d=A_7.jj):(c=A_7.jj,a.Wa<f&&d>a.Wa&&(c|=A_7.du),a.Ta>e&&(c|=A_7.eu),c!=A_7.jj&&a.Wa<e&&(c=A_7.QC),d=c);d==A_7.jj?(a.fl(),A_7.setCursor(b,"")):d&A_7.eu?(c=A_tj(a,1,a.Ta,!1),c||(A_7.setCursor(b,"wait"),a.Ge())):d&
A_7.du&&(c=A_tj(a,2,a.Wa,!1),c||(A_7.setCursor(b,"wait"),a.Ge()))}}A_7.prototype.Sn=function(){this.Lx=this.Kx=this.Jx=this.lk=void 0;this.w().Sn()};A_7.prototype.xs=function(){var a=A_8(this).childNodes;if(0<a.length)return parseInt(a[0].style.width)};
function A_pj(a,b){var c=a.getDomElement();c.scrollTop+=b;var d=A_8(a),e=d.childNodes,f=parseInt(d.offsetHeight)-c.offsetHeight;c.scrollTop>f&&(c.scrollTop=f);var g=A_ej(a),h=a.Fb(),l=d=0;0>b&&0==c.scrollTop?(d=f,l=0,null!=a.eb&&(a.eb.style.visibility="hidden"),a.Va()):0<b&&c.scrollTop==f?(d=h?f:0,l=h?f:0-f,null!=a.va&&(a.va.style.visibility="hidden"),a.Va()):(f=A_Dj(a,e[0]),null==f&&(f=A_Ej(a,e[0])),d=h?Math.max(0,parseInt(f.style.top)-b):Math.max(0,parseInt(f.style.bottom)-b),l=h?c.scrollTop:0-
c.scrollTop,null!=a.eb&&null!=a.va&&(a.eb.style.visibility="visible",a.va.style.visibility="visible"));if(null!=g){for(c=0;c<e.length;c++)block=e[c],f=A_Dj(a,block),h?f.style.top=d+"px":f.style.bottom=d+"px";h?g.style.top=l+"px":g.style.bottom=l+"px"}for(c=0;c<e.length;c++)if(block=e[c],g=A_Ej(a,block),null!=g)for(g=g.childNodes,h=0;h<g.length;h++)l=g[h],"span"==l.nodeName.toLowerCase()&&(l.style.bottom=d+20+"px")}
function A_4j(a,b,c){var d=a.Ba(b.parentNode),e=a.Ia(),f=a.ha(e),g=a.Ba(b);if(d+g<f)a.Rg({increment:(d+g-f-20)/5,counter:5,speed:1});else{var e=e.offsetWidth,h=AdfAgent.AGENT.getIntAttribute(b,"w");if(null==h){if(c)return;h=b.firstChild.offsetWidth}h>e&&(h=10);b=d+g+h-(f+e);0<b&&a.Rg({increment:b/5,counter:5,speed:1})}}A_7.prototype.ra=function(a){if(this.Mg(a)){var b=a.getNativeEvent();(b=AdfAgent.AGENT.getEventTarget(b))&&this.Xs(b,a)}};
A_a("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentClick",A_7.prototype.ra);
A_7.prototype.Xs=function(a,b){var c=AdfAgent.AGENT,d=A_0i(a,this.getDomElement());if(null!=d){var e=d[0],d=d[1];null!=e&&(null!=b&&b.isLeftButtonPressed()||A_6.Yb())&&(1==this.af||null==c.getAttribute(d,"rks")?(c=null,null!=b&&(c=b.getNativeEvent()),A_dj(this)&&(c=AdfAgent.AGENT.isSelectionToggle(c),A_1i(this,c,e,d))):A_5j(this,e,d))}else A_uj(this.w()),c.getPlatform()==AdfAgent.IE_PLATFORM?this.getDomElement().setActive():this.getDomElement().focus()};A_7.prototype.rB=function(){return!0};
A_a("AdfDhtmlTimelineSeriesPeer.prototype.ComponentSelectedRowKeysChanged",A_7.prototype.rB);function A_6j(a,b){var c=b.getNativeEventTarget(),c=A_0i(c,a.getDomElement());return null!=c?c[1]:null}A_7.prototype.getTransferable=function(a,b){var c=a.getNativeEventTarget(),c=A_0i(c,this.getDomElement());if(b&&b.length&&(c=c[0])){var d=[],e=[],f=AdfDataFlavor.getRowKeyDataFlavor(b);e.push([c]);d.push(f);return new AdfObjectTransferable(e,d)}return null};
A_7.prototype.initiateDrag=function(a,b){A_7.superclass.initiateDrag.call(this,a,b);this.w().or=!0};A_7.prototype.Bl=function(){this.w().or=!1};A_7.prototype.ep=function(a){var b=AdfAgent.AGENT,c=this.w().getDomElement(),d=b.getIntAttribute(c,"width"),e=b.getIntAttribute(c,"start"),b=b.getIntAttribute(c,"end");a=a.GetParams();a.dropSite=new Date(A_6.kc(e,b,a.dropX,d));a.dropSiteIndex=0};A_a("AdfDhtmlTimelineSeriesPeer.prototype.HandleComponentDrop",A_7.prototype.ep);
A_7.YL=function(a,b){if(null!=b&&0<b.length)for(var c=0;c<b.length;c++)b[c].style.webkitTransform=""};A_7.AN=function(a,b){if(null!=b&&0<b.length){for(var c=[],d=AdfAgent.AGENT,e=0;e<b.length;e++){var f=b[e],g=d.getAttribute(f,A_7.ca),g=A_yj(a,g);g.firstChild.replaceChild(f.firstChild.firstChild,g.firstChild.firstChild);d.setOpacity(g.lastChild,100);c.push(g)}AdfPage.PAGE.scheduleTimer(a,a.HJ,c,1E3)}};
A_7.prototype.HJ=function(a){for(var b=AdfAgent.AGENT,c=!1,d=0;d<a.length;d++)a[d].firstChild.style.webkitTransitionProperty="none",a[d].firstChild.style.webkitTransform="none",null==b.getAttribute(a[d],"moved")||c||(a[d].removeAttribute("moved"),c=!0);this.getDomElement().style.webkitTransform="";c&&A_Hj(this,!0,!0)};
A_7.dK=function(a,b){if(null!=b&&0<b.length){for(var c=AdfAgent.AGENT,d=a.Wa,e=0;e<b.length;e++){var f=c.getIntAttribute(b[e],"x",0);b[e].parentNode.removeChild(b[e]);f<d&&(d=f)}c=d;d=AdfAgent.AGENT;e=A_8(a).childNodes;for(f=0;f<e.length;f++){var g=e[f];if(!(parseInt(g.style.left)+parseInt(g.style.width)<c))for(var g=g.childNodes,h=0;h<g.length;h++){var l=g[h];d.getIntAttribute(l,"x",0)>=c&&l.removeAttribute("y")}}A_Hj(a,!0,!0)}};
function A_Ti(a,b,c,d){var e=AdfAgent.AGENT,f=d.childNodes;d=a.vd(a.getComponent());for(var g=a.pf(),h=e.getIntAttribute(c,"x"),l=0;l<f.length;l++)if(h>=parseInt(f[l].style.left)&&h<=parseInt(f[l].style.left)+parseInt(f[l].style.width)){for(var m=!1,n=f[l].childNodes,p=0;p<n.length;p++){var q=n[p],u=e.getIntAttribute(q,"x");if(null!=u&&h<u){f[l].insertBefore(c,q);m=!0;break}}m||f[l].insertBefore(c,f[l].lastChild);g==AdfDhtmlTimelinePeer.El?(e.setOpacity(c,0),e={alpha:100},f={},f.element=c,f.properties=
e,b.push(f)):g==AdfDhtmlTimelinePeer.Fl&&(c.style.width=c.firstChild.offsetWidth+"px",c.style.webkitTransform="scale(0)",e={scale:1},f={},f.element=c,f.properties=e,b.push(f));break}A_4j(a,c,!1);d||A_Hj(a,!0,!0)}
function A_Ui(a,b,c){var d=AdfAgent.AGENT,e=d.getAttribute(c,A_7.ca);if(null!=e&&(e=A_yj(a,e),null!=e)){var f=d.getIntAttribute(c,"x"),g=d.getIntAttribute(e,"x");if(null!=f&&null!=g){c.style.top=e.style.top;c.style.width=e.style.width;c.setAttribute("h",A_Rj(c));var h=A_8(a).offsetHeight;A_1j(a,c,h);a.getDomElement().style.webkitTransform="perspective(800)";a={rotate:360};c={};c.element=e.firstChild;c.properties=a;b.push(c);d.setOpacity(e.lastChild,0);f!=g&&(a={},a.left=f,c={},c.element=e,c.properties=
a,b.push(c),e.setAttribute("x",f),e.setAttribute("moved",g))}}}function A_Kj(a,b,c){a=a.pf();if(a==AdfDhtmlTimelinePeer.El){a={alpha:0};var d={};d.element=c;d.properties=a;b.push(d)}else a==AdfDhtmlTimelinePeer.Fl&&(c.style.width=c.firstChild.offsetWidth+"px",c.style.webkitTransform="scale(1)",a={scale:0},d={},d.element=c,d.properties=a,b.push(d))}
function A_yj(a,b){for(var c=AdfAgent.AGENT,d=A_7j(a).childNodes,e=0;e<d.length;e++){var f=d[e];if(b==c.getAttribute(f,A_7.ca))return f}d=A_8(a).childNodes;for(e=0;e<d.length;e++)if(f=d[e].childNodes)for(var g=0;g<f.length;g++){var h=f[g];if(b==c.getAttribute(h,A_7.ca))return h}return null}
A_7.cK=function(a,b,c){for(var d=b.firstChild;d;)a.kf(d),b.removeChild(d),d=b.firstChild;a.Ta=parseInt(c.style.left);a.Wa=a.Ta+parseInt(c.style.width);A_2i(a.w(),a.Ta);A_Nj(a,c,!1);AdfAgent.AGENT.elementsAdded(c);A_Hj(a,!0,!1);A_Jj(a)};
A_7.prototype.Zs=function(a){var b=A_8(this),c=A_Uj(a);if(c==A_7.hp&&10>this.Kd)this.Kd++,AdfPage.PAGE.scheduleTimer(this,this.Zs,a,100);else if(c==A_7.ip&&1>this.Kd)this.Kd++,AdfPage.PAGE.scheduleTimer(this,this.Zs,a,0);else{this.Kd=0;var d=A_9(this),e=AdfAgent.AGENT,f=this.ea();f||A_Gj(this);var g=b.offsetHeight,h=f?this.getDomElement().offsetWidth:this.getDomElement().offsetHeight,l=e.getAttribute(a,"zl"),m=this.w(),c=AdfAgent.AGENT,m=c.getElementById(AdfRichUIPeer.CreateSubId(m.getComponent().getClientId(),
"zm"));if(null!=m){for(var n=-1,p=m.previousSibling;p;){var q=c.getAttribute(p,"tick");if(null==q)break;if(q==l){n=c.getIntAttribute(p,"index");break}p=p.previousSibling}-1!=n&&(l="left",AdfPage.PAGE.getLocaleContext().isRightToLeft()&&(l="right"),m.style[l]=parseInt(p.style[l])+parseInt((p.offsetWidth-m.offsetWidth)/2)+"px",m.setAttribute("index",n),m.setAttribute("title",c.getAttribute(p,"title")))}var u=e.getIntAttribute(a,"blockStart"),v=e.getIntAttribute(a,"blockEnd");this.Ta=u;this.Wa=v;var x=
b.childNodes,m=x[0].cloneNode(!1);this.uc(m,u);A_fj(this,m,v-u);b.appendChild(m);var c=[],w=null,l=null,n=A_Ej(this,x[0]);if(d){w=A_Dj(this,x[0]);l=a.removeChild(a.firstChild);e.setOpacity(l,0);this.Fb()?(w.style.top="0px",A_ej(this).style.top="0px"):w.style.bottom="0px";m.appendChild(w);var q={alpha:0},y={};y.element=w;y.properties=q;c.push(y)}m.appendChild(n);for(var r=this.vd(this.getComponent()),z=this.Fb(),C=this.ub=-1,H=[m],D=A_Oj(this,this.Mc()),n=[];a.firstChild;){var p=a.removeChild(a.firstChild),
F=e.getAttribute(p,"tid"),y=e.getIntAttribute(p,"x"),q=e.getIntAttribute(p,"x2");null==y?m.appendChild(p):null!=F?(F=document.getElementById(F),null==F&&(p=e.getAttribute(p,A_7.ca),F=A_yj(this,p)),null!=F&&(f?(p=e.getIntAttribute(F,"x"),F.style.top=p-A_Rj(F)/2+"px",F.setAttribute("x",y),F.setAttribute("x2",q),F.removeAttribute("t"),F.removeAttribute("edt"),F.removeAttribute("et"),m.appendChild(F),q={},q.top=y-u-A_Rj(F)/2,y={},y.element=F,y.properties=q,c.push(y),A_Vj(F)&&n.push(F)):(p=e.getIntAttribute(F,
"x"),this.uc(F,p),F.setAttribute("x",y),F.setAttribute("x2",q),F.removeAttribute("t"),F.removeAttribute("edt"),F.removeAttribute("et"),q=e.getIntAttribute(F,"h"),r?itemY=A_7.Jy(h,q,A_Qj(this)):(F.removeAttribute("y"),itemY=A_7.Dg(F,H,D,this.Wj),!d||z?(itemY=g-itemY-q-this.oc,0>itemY&&itemY<C&&(C=itemY),this.ub=Math.max(this.ub,g-itemY),itemY+=this.oc):(q=itemY+q+A_Qj(this)+this.oc,q>h&&q>C&&(C=q),this.ub=Math.max(this.ub,q))),m.appendChild(F),q={},AdfPage.PAGE.getLocaleContext().isRightToLeft()?q.right=
y-u:q.left=y-u,q.top=itemY,y={},y.element=F,y.properties=q,c.push(y),A_Vj(F)&&(F.Kh=itemY,n.push(F))))):(f?(p.style.top=v+"px",m.appendChild(p),A_Yj(this,p,h),q=e.getIntAttribute(p,"h"),null==q&&(q=A_Rj(p),p.setAttribute("h",q)),q={},q.top=y-u-A_Rj(p)/2,y={},y.element=p,y.properties=q,c.push(y),A_Vj(p)&&n.push(p)):(m.appendChild(p),this.uc(p,v),itemY=A_7.Dg(p,H,D,this.Wj),q=e.getIntAttribute(p,"h"),null==q&&(q=A_Rj(p),p.setAttribute("h",q)),!d||z?(itemY=g-itemY-q-this.oc,0>itemY&&itemY<C&&(C=itemY),
this.ub=Math.max(this.ub,g-itemY),itemY+=this.oc):(q=itemY+q+A_Qj(this)+this.oc,q>h&&q>C&&(C=q),this.ub=Math.max(this.ub,q)),q=p.firstChild,0>q.offsetLeft+q.offsetWidth&&this.uc(q,-6),q={},AdfPage.PAGE.getLocaleContext().isRightToLeft()?q.right=y-u:q.left=y-u,q.top=itemY,y={},y.element=p,y.properties=q,c.push(y),A_Vj(p)&&(p.Kh=itemY,n.push(p))),A_Xj(this,p))}for(a=x.length-2;0<=a;a--)this.kf(x[a]),b.removeChild(x[a]);if(-1!=C){if(d&&!z)b.style.height=C+"px",w.style.bottom=C-h-this.getDomElement().offsetTop+
"px",l.style.bottom=C-h-this.getDomElement().offsetTop+"px";else{a=0-C;for(d=0;d<c.length;d++)y=c[d],q=y.properties,null!=q.top&&(q.top+=a,y.element.Kh+=a);b.style.height=g+a+"px";A_pj(this,a)}null!=this.va&&(this.va.style.visibility="visible")}else null!=this.va&&(this.va.style.visibility="hidden");A_Wj(this,n);this.ea()?(h=A_7.Ky,b="width",g="height",a="left",d=A_Pj(this)-1):(b="height",g="width",a="top",d=A_Qj(this)-1,h=!A_9(this)||this.Fb()?A_7.Iy:A_7.Hy);for(e=0;e<n.length;e++)p=n[e],f=p.childNodes[3],
f.style.zIndex=100-f.ic,q=AdfAgent.AGENT.getIntAttribute(p,"x2")-AdfAgent.AGENT.getIntAttribute(p,"x"),f.style[g]=q+"px",x=18+10*f.ic,f.style[b]=x+"px",p.Kh?(w=p.Kh,p.Kh=null):w=parseInt(p.style[a]),f.style[a]?(q={},q[a]=h(p,x,w,d),y={},y.element=f,y.properties=q,c.push(y)):f.style[a]=h(p,x,w,d)+"px";A_Ij(this,m);m=this.w();isNaN(m.Tw)||(b=m.Tw,"none"!=m.getComponent().pf()?Math.abs(m.ha()-b)>AdfDhtmlTimelinePeer.FC?m.scrollToPos(b,!1):(m.Gm=!0,AdfPage.PAGE.scheduleTimer(m,m.aK,b,1E3)):m.scrollToPos(b,
!1));AdfPage.PAGE.scheduleTimer(this,this.JJ,{animationObjects:c,newTimeAxis:l},0)}};A_7.prototype.JJ=function(a){AdfDvtAnimator.ib.animate(this,a.animationObjects,1E3,A_7.HN,[this,a.newTimeAxis])};
A_7.HN=function(a,b){var c=A_8(a),d=c.childNodes;A_0j(a,d[0],c.offsetHeight);if(A_9(a))var e=d[0],f=A_Dj(a,e);null!=f&&null!=b&&(a.Fb()?b.style.top=f.style.top:b.style.bottom=f.style.bottom,e.replaceChild(b,f),c=[],d={},d.element=b,d.properties={alpha:100},c.push(d),AdfPage.PAGE.scheduleTimer(a,a.vN,{peer:a,animationObjects:c},0))};A_7.prototype.vN=function(a){AdfDvtAnimator.ib.animate(a.peer,a.animationObjects,1E3,null,null)};A_7.prototype.Ss=function(a,b){A_3j(this,a,b,!0)};
function A_3j(a,b,c,d){for(var e=AdfAgent.AGENT,f=a.w().getDomElement(),g=e.getIntAttribute(f,"start"),h=e.getIntAttribute(f,"end"),l=e.getIntAttribute(f,"width"),m=a.vd(a.getComponent()),n=A_8(a),p=n.offsetHeight,n=n.childNodes,q=A_9(a),u=a.Fb(),v=[],x=A_Oj(a,a.Mc()),w=0;w<n.length;w++){var y=n[w],r=a.Ba(y),z=e.getIntAttribute(y,"st");null==z&&(z=A_6.kc(g,h,r,l),isNaN(z)||y.setAttribute("st",z));var C=e.getIntAttribute(y,"et"),H=a.Ba(y)+A_Fj(a,y);null==C&&(C=A_6.kc(g,h,H,l),isNaN(C)||y.setAttribute("et",
C));z=A_6.Db(g,h,z,b);C=A_6.Db(g,h,C,b);a.uc(y,z);A_fj(a,y,C-z);var H=y.childNodes,C=null,D=0;q&&(C=A_Dj(a,y),D=1);for(y=D;y<H.length-1;y++){var D=H[y],F=a.Ba(D)+r;if(!isNaN(F)){var A=e.getIntAttribute(D,"t");null==A&&(A=A_6.kc(g,h,F,l),isNaN(A)||D.setAttribute("t",A));if(A_Vj(D)){var B=D.childNodes[3],I=e.getIntAttribute(D,"edt");null==I&&(I=A_6.kc(g,h,F+(AdfAgent.AGENT.getIntAttribute(D,"x2")-AdfAgent.AGENT.getIntAttribute(D,"x")),l),isNaN(I)||D.setAttribute("edt",I))}var G=-1,t=A_Fj(a,D);null==
t||isNaN(t)||(G=e.getIntAttribute(D,"et"),null==G&&(G=A_6.kc(g,h,F+parseInt(t),l),isNaN(G)||D.setAttribute("et",G)),G=A_6.Db(g,h,G,b));F={};A=A_6.Db(g,h,A,b);if(I)var E=A_6.Db(g,h,I,b);a.uc(D,A-z);if(-1!=G)A_fj(a,D,G-A);else{if(null!=e.getIntAttribute(D,"x")&&(D.setAttribute("x",A),E&&D.setAttribute("x2",E),!m)){D.removeAttribute("y");var L=A_7.Dg(D,n,x,a.Wj);F.top=!q||u?p-L-e.getIntAttribute(D,"h"):L}A={noclean:!0};A.element=D;A.properties=F;v.push(A);if(A_Vj(D)){B.style.zIndex=100-B.ic;F={};a.ea()?
(G=AdfAgent.AGENT.getIntAttribute(D,"x2")-AdfAgent.AGENT.getIntAttribute(D,"x"),A=18+10*B.ic,F.left=D.parentNode.offsetWidth-parseInt(D.style.left)-A-A_Pj(a)-1):(A=AdfAgent.AGENT.getIntAttribute(D,"x2")-AdfAgent.AGENT.getIntAttribute(D,"x"),G=18+10*B.ic,F.top=!q||u?L-p+e.getIntAttribute(D,"h"):p-L-G-A_Qj(a)-1);t=Math.min(10,A/2);for(k=0;3>k;k++){var K=D.childNodes[k];K.style.marginLeft=t+"px"}(K=D.childNodes[4])&&(K.style.marginLeft=t+"px");B.style.height=G+"px";B.style.width=A+"px";A={noclean:!0};
A.element=B;A.properties=F;v.push(A)}}}}if(q&&!A_6.Yb())for(var r=a,z=C,C=b,H=c,y=AdfAgent.AGENT,A=r.w().getDomElement(),D=y.getIntAttribute(A,"start"),F=y.getIntAttribute(A,"end"),A=y.getIntAttribute(A,"width"),G=1,J=-1,t=z.childNodes,K=0;K<t.length;K++){var M=t[K],S=y.getIntAttribute(M,"t");null==S&&(S=r.Ba(M),S=A_6.kc(D,F,S,A),M.setAttribute("t",S));S=A_6.Db(D,F,S,C);r.uc(M,S);if(-1==J){var O;if(O="none"!=M.style.display){O=M;var P=AdfAgent.AGENT.getAttribute(z,"_sc");O=O.className==P?!0:!1}O&&
(H?1<K&&(O=t[0],"none"!=O.style.display&&(J=r.Ba(O),30>S-J?(M.style.display="none",K<t.length-1&&(t[K+1].style.display="none"),J=2*K,G=1):J=0)):(M=Math.round(K/2),O=t[M],"none"==O.style.display&&(J=r.Ba(O),30<S-J?(O.style.display="block",t[M+1].style.display="block",J=2*M,G=M+1):J=0)))}else 0<J&&(G==J?(M.style.display=H?"none":"block",K<t.length-1&&(t[K+1].style.display=H?"none":"block"),G=1):G++)}}AdfDvtAnimator.ib.animate(a,v,1E3,A_7.YJ,Array(a));A_fj(a,a.getDomElement(),b);if(d&&q&&(null==a.Um||
!a.Um)){b=a.Ia();c=n[n.length-1];if(a.ha(b)+A_Fj(a,f)-1>a.Ba(c)+A_Fj(a,c)){a:{if(A_9(a)){f=AdfAgent.AGENT;d=A_8(a).lastChild.firstChild.lastChild;for(c=e=null;d;){if("none"!=d.style.display){e=d.previousSibling;for(d=e.previousSibling;d;){if("none"!=d.style.display){c=d.previousSibling;break}d=d.previousSibling}break}d=d.previousSibling}if(null!=e&&null!=c){d=f.getIntAttribute(e,"t");c=f.getIntAttribute(c,"t");c=d+(d-c);g=a.w().getDomElement();d=f.getIntAttribute(g,"start");e=f.getIntAttribute(g,
"end");f=f.getIntAttribute(g,"width");f=A_6.Db(d,e,c,f);break a}}f=a.Wa}if(f=A_tj(a,2,f,!0))a.Um=!0}a.Ba(n[0])>a.ha(b)&&(f=A_tj(a,1,a.Ta,!0))&&(a.Um=!0)}}A_7.YJ=function(a){A_Zj(a)};A_=A_7.prototype;A_.ho=function(a){var b=A_xj(this);null!=b&&(b=A_yj(this,b),null!=b&&A_8j(this,a,b,null))};
A_.pl=function(a){var b=a.increment,c=a.reminder,d=a.counter;a=null!=a.speed?a.speed:10;if(0<=d){if(0==d)if(A_qj(this,!1),0<c)b=c;else return;var e=this.getDomElement();if(0<b){var f=A_8(this);if(e.scrollTop==parseInt(f.style.height)-parseInt(e.style.height))return}else if(0==e.scrollTop)return;A_pj(this,b);AdfPage.PAGE.scheduleTimer(this,this.pl,{increment:b,reminder:c,counter:d-1,speed:a},a)}};
A_.Rg=function(a){var b=a.callback,c=a.increment,d=a.counter;a=a.scrollOverview;void 0==a&&(a=!0);if(0<d){var e=this.Ia();if(0<c){var f=A_Fj(this,this.getDomElement()),g;g=this.ea()?e.offsetHeight:e.offsetWidth;f=f-g+4;if(this.ha(e)==f){null!=b&&b();return}}else if(0==this.ha(e)){null!=b&&b();return}this.w().Lf(c,a);AdfPage.PAGE.scheduleTimer(this,this.Rg,{callback:b,increment:c,counter:d-1,scrollOverview:a},10)}else null!=b&&b()};
function A_xj(a){var b=a.w();a=a.getComponent().getClientId();return null==b.Ab||b.Ab.IM!=a?null:b.Ab.Y}
function A_qj(a,b){for(var c=1==b?"none":"block",d=A_8(a).childNodes,e=0;e<d.length;e++){var f=A_Ej(a,d[e]);if(!b){var g=a,h=d[e],l=AdfAgent.AGENT.getAttribute(g.getDomElement(),"_ovlc"),m=20,n=A_Ej(g,h);A_9(g)&&(g=parseInt(h.firstChild.style.bottom),isNaN(g)||(m+=g));n=n.childNodes;for(g=0;g<n.length;g++)A_d.ta(n[g],l)&&(n[g].style.bottom=m+"px")}f.style.display=c}if(A_9(a)&&(c=AdfAgent.AGENT,!(c.getPlatform()!=AdfAgent.GECKO_PLATFORM||2<=parseInt(c.getVersion()))))for(c=1==b?"none":"block",d=A_8(a).childNodes,
A_ej(a).style.display=c,e=0;e<d.length;e++)block=d[e],timeAxis=A_Dj(a,block),timeAxis.style.display=c}A_.Tg=function(a){this.Ei();A_qj(this,!0);A_pj(this,a);this.gc=AdfPage.PAGE.scheduleTimer(this,this.Tg,a,10)};A_.Va=function(){null!=this.gc&&AdfPage.PAGE.cancelTimer(this.gc);A_qj(this,!1);this.gc=null};function A_9j(a){return a.w().getGlassPane().firstChild}function A_$j(a){return A_9j(a).nextSibling}function A_7j(a){return A_$j(a).nextSibling}
function A_5j(a,b,c){var d=AdfAgent.AGENT;a.Ug(c);a.Rj=c.style.left;a.Sj=c.style.top;a.Id=c.cloneNode(!0);A_ak(a,a.Id);d.clearSubtreeIds(a.Id);var e=c.parentNode;e.insertBefore(a.Id,c);a.Id.style.left=a.Rj;a.Id.style.top=a.Sj;a.bf=c;c.childNodes[1].style.display="none";c.childNodes[2].style.display="none";c.childNodes[3].style.display="none";for(var f=d.getDescendantComponentsForNode(c),g=0;g<f.length;g++){var h=f[g];h.vS=AdfRichUIPeer.getFirstAncestorComponent(AdfRichUIPeer.getDomElementForComponent(h).parentNode)}a.Tj=
document.getElementById(d.getAttribute(c,"id")+"::cnt");a.Tj&&(a.Tj.style.display="none");f=a.ha(a.Ia());a.ea()?(a.Oj=parseInt(e.style.top)+(parseInt(a.Sj)-f)+"px",a.Nj=parseInt(a.Rj)-a.getDomElement().scrollLeft+"px"):(a.Oj=parseInt(a.Sj)-a.getDomElement().scrollTop+"px",a.Nj=parseInt(e.style.left)+(parseInt(a.Rj)-f)+"px");c.style.top=a.Oj;c.style.left=a.Nj;e=A_7j(a);e.appendChild(c);e.parentNode.style.display="block";e=A_7j(a);f=A_nj(a.w());if(null!=f){f.style.display="block";var g=[],h={alpha:50},
l={};l.element=f}else g=[],h={alpha:20},l={},l.element=e.parentNode.nextSibling;l.properties=h;g.push(l);AdfDvtAnimator.ib.animate(a,g,A_bk(),null,null);e=a.w();null!=a?A_kj(e):A_jj(e);e.Xa=a;d=d.getAttribute(c,"rks");a.Mc()?(b=document.getElementById(AdfRichUIPeer.CreateSubId(c.id,"ris")),null!=b&&a.pi(b)):(a=new A_ck(a.getComponent(),b,d),a.setPartial(!0),AdfPage.PAGE.queueEventToServer(a))}
function A_bk(){var a=AdfAgent.AGENT,b=a.getPlatform(),a=a.getVersion();return b==AdfAgent.IE_PLATFORM&&9>a||b==AdfAgent.GECKO_PLATFORM&&2>a?400:800}
A_.pi=function(a){if(a){var b=AdfAgent.AGENT,c=A_7j(this),d=A_$j(this),e=this.hb(),f=0;this.ea()&&null!=e&&(f=e.getDomElement().offsetWidth);var e=Math.max(0,(c.offsetWidth-d.offsetWidth-f)/2),f=[],g=d.offsetHeight+A_7.Xl,h=g,g=c.parentNode.offsetHeight-g,l=[];for(l.push(this.bf);a.firstChild;){var m=a.firstChild;m.style.left=this.Nj;m.style.top=this.Oj;m.lastChild.style.display="none";b.setOpacity(m,100);c.appendChild(m);b.elementsAdded(m);l.push(m)}for(a=0;a<l.length;a++){var m=l[a],n={};n.left=
e;n.top=h;var p={};p.element=m;p.properties=n;f.push(p);n=A_Rj(m);m.setAttribute("h",n);h+n>g&&(m.style.display="none",d.style.visibility="visible",d.style.left=e+"px",null==b.getIntAttribute(c,"bottomIndex")&&c.setAttribute("bottomIndex",c.childNodes.length-1));h=h+n+A_7.Tl}A_7.at()||this.getDomElement().focus();AdfPage.PAGE.scheduleTimer(this,this.KJ,f,A_bk())}else{this.af=null;e=A_7j(this);A_dk(this,e);b=parseInt(this.Nj);c=parseInt(this.Oj);d=[];e=e.childNodes;for(f=0;f<e.length;f++)h=e[f],g=
{},g.left=b,g.top=c,l={},l.element=h,l.properties=g,d.push(l);AdfDvtAnimator.ib.animate(this,d,A_bk(),A_7.gK,Array(this))}};A_.KJ=function(a){this.af=!0;AdfDvtAnimator.ib.animate(this,a,1E3,null,null)};function A_dk(a,b){A_9j(a).style.visibility="hidden";A_$j(a).style.visibility="hidden";b.removeAttribute("topIndex");b.removeAttribute("bottomIndex")}A_7.gK=function(a){a.zj=null;AdfPage.PAGE.scheduleTimer(a,a.$J,null,100)};
A_7.prototype.$J=function(){var a=A_7j(this),b=a.childNodes;if(this.Mc()&&1<b.length){if(b=document.getElementById(AdfRichUIPeer.CreateSubId(a.firstChild.nextSibling.id,"ris")),null!=b)for(;a.firstChild.nextSibling;){var c=a.firstChild.nextSibling;b.appendChild(c)}}else for(var d=1;d<b.length;d++)c=b[d],this.kf(c),a.removeChild(c);this.bf.childNodes[1].style.display="";this.bf.childNodes[2].style.display="";this.bf.childNodes[3].style.display="";this.Tj&&(this.Tj.style.display="");this.Id.parentNode.insertBefore(this.bf,
this.Id);this.bf.style.left=this.Rj;this.bf.style.top=this.Sj;this.Id.parentNode.removeChild(this.Id);this.Oj=this.Nj=this.Id=this.Tj=this.Sj=this.Rj=this.bf=null;AdfPage.PAGE.scheduleTimer(this,this.VL,null,A_bk())};
A_7.prototype.VL=function(){var a=A_7j(this);for(a.parentNode.style.display="none";a.firstChild;)a.removeChild(a.firstChild);var b=A_nj(this.w());if(null!=b)b.style.display="none",b.style.filter="alpha(opacity\x3d0)";else{var b=[],c={};c.element=a.parentNode.nextSibling;c.properties={alpha:100};b.push(c);AdfDvtAnimator.ib.animate(this,b,A_bk(),null,null)}a=this.w();A_jj(a);a.Xa=null};
function A_lj(a,b){var c=AdfAgent.AGENT,d=A_7j(a),e=A_$j(a),f=e.offsetHeight+A_7.Xl,g=f,h=-1;A_dk(a,d);for(var f=b-f,l=d.childNodes,m=1;m<l.length;m++){var n=l[m];n.style.top=g+"px";-1==h&&(h=parseInt(n.style.left));var p=parseInt(n.getAttribute("h"));g+p>f?(n.style.display="none",e.style.visibility="visible",e.style.left=h+"px",null==c.getIntAttribute(d,"bottomIndex")&&d.setAttribute("bottomIndex",m)):n.style.display="block";g=g+p+A_7.Tl}}
function A_aj(a){var b=AdfAgent.AGENT,c=A_7j(a),d=A_$j(a),e=d.offsetHeight+A_7.Xl,f=b.getIntAttribute(c,"topIndex"),g=c.childNodes[f];g.style.display="block";var h=g.firstChild.offsetHeight+A_7.Tl;"visible"==A_9j(a).style.visibility&&(d.style.visibility="visible",d.style.left=g.style.left);1<f?c.setAttribute("topIndex",f-1):A_9j(a).style.visibility="hidden";d=c.parentNode.offsetHeight-e;e=[];f=c.childNodes;for(g=1;g<f.length;g++){var l=f[g],m={};m.top=parseInt(l.style.top)+h;var n={};n.element=l;
n.properties=m;e.push(n);n=b.getIntAttribute(l,"h");m.top+n>d&&"block"==l.style.display&&(l.style.display="none",c.setAttribute("bottomIndex",g))}AdfDvtAnimator.ib.animate(a,e,500,null,null)}
function A_bj(a){var b=A_7j(a),c=A_$j(a),d=c.offsetHeight+A_7.Xl,e=AdfAgent.AGENT.getIntAttribute(b,"bottomIndex"),f=b.childNodes[e];f.style.display="block";var g=f.firstChild.offsetHeight+A_7.Tl;if("visible"==c.style.visibility){var h=A_9j(a);h.style.visibility="visible";h.style.left=f.style.left}null!=f.nextSibling?b.setAttribute("bottomIndex",e+1):c.style.visibility="hidden";c=[];e=b.childNodes;for(f=1;f<e.length;f++){var h=e[f],l={};l.top=parseInt(h.style.top)-g;var m={};m.element=h;m.properties=
l;c.push(m);l.top<d&&(h.style.display="none",b.setAttribute("topIndex",f))}AdfDvtAnimator.ib.animate(a,c,500,null,null)}
A_7.prototype.ConvertClientIdToLocator=function(a,b,c,d){b=AdfAgent.AGENT;var e=a.getClientId();a=AdfStrings.count(e,":");AdfAssert.assert(0<=c.indexOf(e));c=c.substring(e.length+1);e=c.indexOf(":");if(0<e)if(c=c.substring(0,e),e=A_yj(this,c),null==e)d.push([a+1,null]);else{for(var f=0,g=e.parentNode.childNodes,h=0;h<g.length;h++)if(c=b.getAttribute(g[h],A_7.ca),null!=c){if(g[h]==e)break;f++}d.push([a+1,f])}};A_7.prototype.ConvertClientIdToLocator=A_7.prototype.ConvertClientIdToLocator;
A_7.prototype.convertLocatorToClientId=function(a,b){var c=AdfAgent.AGENT,d=a.getClientId(),e=A_8(this);if(null!=e)for(var e=e.childNodes,f=0;f<e.length;f++){var g=e[f],h=A_ek(g);if(b>=h.startRow&&b<h.endRow)for(var g=g.childNodes,l=0,m=0;m<g.length;m++){var n=c.getAttribute(g[m],A_7.ca);if(null!=n){if(h.startRow+l==b)return d+":"+n;l++}}}return null};
function A_ek(a){var b=AdfAgent.AGENT;a=a.lastChild;var c={};c.startRow=b.getIntAttribute(a,"startRow");c.endRow=b.getIntAttribute(a,"endRow");c.prevItemPos=b.getIntAttribute(a,"prevItemPos");c.nextItemPos=b.getIntAttribute(a,"nextItemPos");return c};