Lines Matching refs:C

4 Timeline._Band=function(B,G,C){if(B.autoWidth&&typeof G.width=="string"){G.width=G.width.indexOf("%…  argument
7 this._index=C;
34 this._div.id="timeline-band-"+C;
35 this._div.className="timeline-band timeline-band-"+C;
120 }var C=this._eventPainter.getType()=="overview";
121 var A=C?this._theme.event.overviewTrack.autoWidthMargin:this._theme.event.track.autoWidthMargin;
123 B+=C?this._theme.event.overviewTrack.offset:this._theme.event.track.offset;
139 Timeline._Band.prototype.setBandShiftAndWidth=function(A,D){var C=this._keyboardInput.parentNode;
143 C.style.top=B+"px";
144 C.style.left="-1em";
147 C.style.left=B+"px";
148 C.style.top="-1em";
187 Timeline._Band.prototype.createLayerDiv=function(C,A){var D=this._timeline.getDocument().createElem… argument
189 D.style.zIndex=C;
200 Timeline._Band.prototype.scrollToCenter=function(A,C){var B=this._ether.dateToPixelOffset(A); argument
203 }}this._autoScroll(Math.round(this._viewLength/2-this._ether.dateToPixelOffset(A)),C);
205 Timeline._Band.prototype.showBubbleForEvent=function(C){var A=this.getEventSource().getEvent(C); argument
210 Timeline._Band.prototype.zoom=function(C,A,F,E){if(!this._zoomSteps){return ; argument
213 var B=this._ether.zoom(C);
218 Timeline._Band.prototype._onMouseDown=function(B,A,C){this.closeBubble(); argument
223 Timeline._Band.prototype._onMouseMove=function(D,A,E){if(this._dragging){var C=A.clientX-this._drag…
227 this._moveEther(this._timeline.isHorizontal()?C:B);
230 Timeline._Band.prototype._onMouseUp=function(B,A,C){this._dragging=false; argument
233 Timeline._Band.prototype._onMouseOut=function(C,B,D){var A=SimileAjax.DOM.getEventRelativeCoordinat… argument
235 if(A.x<0||A.x>C.offsetWidth||A.y<0||A.y>C.offsetHeight){this._dragging=false;
249 }}else{if(F==="scroll"){var C=50*(I<0?-1:1);
250 this._moveEther(C);
256 Timeline._Band.prototype._onDblClick=function(C,B,E){var A=SimileAjax.DOM.getEventRelativeCoordinat… argument
260 Timeline._Band.prototype._onKeyDown=function(B,A,C){if(!this._dragging){switch(A.keyCode){case 27:b… argument
273 Timeline._Band.prototype._onKeyUp=function(B,A,C){if(!this._dragging){this._scrollSpeed=this._origi… argument
288 Timeline._Band.prototype._autoScroll=function(D,C){var A=this; argument
290 },0,D,1000,C);
420 }else{var C=-1;
422 C<0&&I<K.length;
423 I++){C=Q(K[I]);
424 }if(H){this.paintStackedPreciseInstantEvents(K,G,this._params.theme,C);
425 }else{this.paintCompositePreciseInstantEvents(K,G,this._params.theme,C);
452 …ompactEventPainter.prototype.paintEvent=function(B,C,D,A){if(B.isInstant()){this.paintInstantEvent… argument
453 }else{this.paintDurationEvent(B,C,D,A);
455 …inter.prototype.paintInstantEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseInstant… argument
456 }else{this.paintPreciseInstantEvent(B,C,D,A);
458 …nter.prototype.paintDurationEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseDuratio… argument
459 }else{this.paintPreciseDurationEvent(B,C,D,A);
461 Timeline.CompactEventPainter.prototype.paintPreciseInstantEvent=function(H,F,B,A){var C={tooltip:H.… class in Timeline.CompactEventPainter.paintPreciseInstantEvent
470 var G=this.paintTapeIconLabel(H.getStart(),C,null,E,J,F,B,A);
480 for(var C=0;
481 C<J.length;
482 C++){A.push(J[C].getProperty("tooltip")||J[C].getText());
492 for(var C=0;
493 C<J.length;
494 C++){this._eventIdToElmt[J[C].getID()]=I.iconElmtData.elmt;
512 var C=O(T[0]);
525 var K={text:a,iconData:X,labelSize:W,iconLeft:C.width+n*V-X.width};
526 K.labelLeft=C.width+n*V+j.iconLabelGap;
535 var J=C.width+(S-1)*V+j.iconLabelGap;
545 var M=C.width+(T.length-1)*V;
609 Timeline.CompactEventPainter.prototype.paintImpreciseInstantEvent=function(I,G,B,A){var C={tooltip:… class in Timeline.CompactEventPainter.paintImpreciseInstantEvent
616 var H=this.paintTapeIconLabel(I.getStart(),C,E,F,K,G,B,A);
627 Timeline.CompactEventPainter.prototype.paintPreciseDurationEvent=function(I,G,B,A){var C={tooltip:I… class in Timeline.CompactEventPainter.paintPreciseDurationEvent
634 var H=this.paintTapeIconLabel(I.getLatestStart(),C,E,F,K,G,B,A);
645 Timeline.CompactEventPainter.prototype.paintImpreciseDurationEvent=function(I,G,B,A){var C={tooltip… class in Timeline.CompactEventPainter.paintImpreciseDurationEvent
652 var H=this.paintTapeIconLabel(I.getLatestStart(),C,E,F,K,G,B,A);
670 var C=0;
678 }C=X.trackHeight-(b%X.tapeHeight);
684 }var E=I.height+X.iconBottomMargin+C;
689 var M=H.height+X.labelBottomMargin+C;
707 Timeline.CompactEventPainter.prototype._fitTracks=function(F,C){var H; argument
712 B<C.length&&(H+B)<this._tracks.length;
714 var A=C[B];
719 D<C.length;
720 D++){this._tracks[H+D]=F+C[D].end;
723 Timeline.CompactEventPainter.prototype._paintEventIcon=function(C,D,H,G,E,F){var B=SimileAjax.Graph… argument
729 if("tooltip" in C&&typeof C.tooltip=="string"){A.title=C.tooltip;
733 Timeline.CompactEventPainter.prototype._paintEventLabel=function(E,I,C,F,A,G,D){var H=this._timelin… argument
736 B.style.left=C+"px";
744 return{left:C,top:F,width:A,height:G,elmt:B};
746 Timeline.CompactEventPainter.prototype._paintEventTape=function(G,H,K,J,D,A,E,C,I,F){var B=A-D; argument
757 }SimileAjax.Graphics.setOpacity(L,C);
762 Timeline.CompactEventPainter.prototype._createHighlightDiv=function(A,C,E){if(A>=0){var D=this._tim… argument
768 F.style.left=(C.left-2)+"px";
769 F.style.width=(C.width+4)+"px";
770 F.style.top=(C.top-2)+"px";
771 F.style.height=(C.height+4)+"px";
777 for(var C=0;
778 C<B.length;
779 C++){D.push(B[C].getID());
785 …ventPainter.prototype._onClickInstantEvent=function(C,A,B){var D=SimileAjax.DOM.getPageCoordinates… argument
786 this._showBubble(D.left+Math.ceil(C.offsetWidth/2),D.top+Math.ceil(C.offsetHeight/2),[B]);
792 Timeline.CompactEventPainter.prototype._onClickDurationEvent=function(F,B,C){if("pageX" in B){var A… argument
797 }this._showBubble(A,E,[C]);
798 this._fireOnSelect([C.getID()]);
804 if(B){var C=SimileAjax.DOM.getPageCoordinates(B);
805 this._showBubble(C.left+B.offsetWidth/2,C.top+B.offsetHeight/2,[A]);
811 D++){var C=document.createElement("div");
812 E.appendChild(C);
813 B[D].fillInfoBubble(C,this._params.theme,this._band.getLabeller());
861 var C=J.rows[0].cells[0];
862 C.innerHTML=this._startLabel;
863 if(this._cssClass){C.className="label_"+this._cssClass;
901 var C=this._band.getMinDate();
903 if(this._unit.compare(this._date,E)<0&&this._unit.compare(this._date,C)>0){var A=this._band.dateToP…
954 Timeline.DetailedEventPainter.prototype.paint=function(){var C=this._band.getEventSource();
955 if(C==null){return ;
967 var E=C.getEventReverseIterator(D,B);
996 …tailedEventPainter.prototype.paintEvent=function(B,C,D,A){if(B.isInstant()){this.paintInstantEvent… argument
997 }else{this.paintDurationEvent(B,C,D,A);
999 …inter.prototype.paintInstantEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseInstant… argument
1000 }else{this.paintPreciseInstantEvent(B,C,D,A);
1002 …nter.prototype.paintDurationEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseDuratio… argument
1003 }else{this.paintPreciseDurationEvent(B,C,D,A);
1010 var C=Math.round(H-P.iconWidth/2);
1013 var B=this._paintEventIcon(L,F,C,P,S);
1017 if(Math.min(D.solid,D.text)>=K+E.width){D.solid=C;
1019 }else{D.solid=C;
1023 this._getTrackData(O).text=C;
1046 var C=this._paintEventIcon(O,H,D,S,W);
1062 var L=function(Z,Y,a){return P._onClickInstantEvent(C.elmt,Y,O);
1064 SimileAjax.DOM.registerEvent(C.elmt,"mousedown",L);
1067 this._createHighlightDiv(T,C,W);
1068 this._eventIdToElmt[O.getID()]=C.elmt;
1076 var C=this._frc.computeSize(I);
1084 var N=this._findFreeTrackForText(D,J+C.width,function(V){V.line=F-2;
1088 var M=Math.round(O.trackOffset+N*O.trackIncrement+O.trackHeight/2-C.height/2);
1089 var S=this._paintEventLabel(K,I,J,M,C.width,C.height,T);
1108 var C=this._frc.computeSize(K);
1117 var Q=this._findFreeTrackForText(D,L+C.width,function(a){a.line=E-2;
1121 var P=Math.round(T.trackOffset+Q*T.trackIncrement+T.trackHeight/2-C.height/2);
1122 var X=this._paintEventLabel(M,K,L,P,C.width,C.height,Y);
1131 Timeline.DetailedEventPainter.prototype._findFreeTrackForSolid=function(D,A){for(var C=0;
1133 C++){if(C<this._lowerTracks.length){var B=this._lowerTracks[C];
1134 if(Math.min(B.solid,B.text)>D&&(!(A)||B.line>A)){return C;
1136 return C;
1137 }if(C<this._upperTracks.length){var B=this._upperTracks[C];
1138 if(Math.min(B.solid,B.text)>D&&(!(A)||B.line>A)){return -1-C;
1140 return -1-C;
1142 Timeline.DetailedEventPainter.prototype._findFreeTrackForText=function(C,A,I){var B; argument
1146 if(C<0){B=true;
1147 F=-C;
1150 }else{if(C>0){B=false;
1151 F=C+1;
1174 Timeline.DetailedEventPainter.prototype._findFreeLowerTrackForText=function(A,C){for(; argument
1177 if(Math.min(B.solid,B.text)>=C){break;
1180 Timeline.DetailedEventPainter.prototype._findFreeUpperTrackForText=function(A,C){for(; argument
1183 if(Math.min(B.solid,B.text)>=C){break;
1190 var C="1px solid "+F.event.label.lineColor;
1197 B.style.borderTop=C;
1199 B.style.borderBottom=C;
1200 }B.style.borderLeft=C;
1203 Timeline.DetailedEventPainter.prototype._paintEventIcon=function(J,B,C,F,E){var H=J.getIcon(); argument
1210 A.style.left=C+"px";
1216 return{left:C,top:I,width:F.iconWidth,height:F.iconHeight,elmt:A};
1218 Timeline.DetailedEventPainter.prototype._paintEventLabel=function(I,J,C,F,A,G,E){var H=this._timeli… argument
1221 K.style.left=C+"px";
1230 B.style.left=C+"px";
1240 return{left:C,top:F,width:A,height:G,elmt:B};
1242 Timeline.DetailedEventPainter.prototype._paintEventTape=function(L,B,D,A,G,C,I,H){var F=A-D; argument
1256 }SimileAjax.Graphics.setOpacity(M,C);
1260 Timeline.DetailedEventPainter.prototype._createHighlightDiv=function(A,C,E){if(A>=0){var D=this._ti… argument
1266 F.style.left=(C.left-2)+"px";
1267 F.style.width=(C.width+4)+"px";
1268 F.style.top=(C.top-2)+"px";
1269 F.style.height=(C.height+4)+"px";
1273 …ventPainter.prototype._onClickInstantEvent=function(C,A,B){var D=SimileAjax.DOM.getPageCoordinates… argument
1274 this._showBubble(D.left+Math.ceil(C.offsetWidth/2),D.top+Math.ceil(C.offsetHeight/2),B);
1280 Timeline.DetailedEventPainter.prototype._onClickDurationEvent=function(F,B,C){if("pageX" in B){var … argument
1285 }this._showBubble(A,E,C);
1286 this._fireOnSelect(C.getID());
1292 if(B){var C=SimileAjax.DOM.getPageCoordinates(B);
1293 this._showBubble(C.left+B.offsetWidth/2,C.top+B.offsetHeight/2,A);
1295 Timeline.DetailedEventPainter.prototype._showBubble=function(B,E,C){var D=document.createElement("d… argument
1297 C.fillInfoBubble(D,this._params.theme,this._band.getLabeller());
1313 Timeline.GregorianEtherPainter.prototype.initialize=function(C,B){this._band=C; argument
1315 this._backgroundLayer=C.createLayerDiv(0);
1335 var C=this._band.getMinDate();
1339 SimileAjax.DateTime.roundDownToInterval(C,this._unit,A,this._multiple,this._theme.firstDayOfWeek);
1345 while(C.getTime()<F.getTime()){this._intervalMarkerLayout.createIntervalMarker(C,E,this._unit,this.…
1346 B(C);
1358 F++){var C=G.zones[F];
1359 var E=SimileAjax.DateTime.parseGregorianDateTime(C.start).getTime();
1360 var B=SimileAjax.DateTime.parseGregorianDateTime(C.end).getTime();
1367 }if(B<A.endTime){this._zones.splice(D,0,{startTime:E,endTime:B,unit:C.unit,multiple:(C.multiple)?C.…
1371 }else{A.multiple=C.multiple;
1372 A.unit=C.unit;
1375 Timeline.HotZoneGregorianEtherPainter.prototype.initialize=function(C,B){this._band=C; argument
1377 this._backgroundLayer=C.createLayerDiv(0);
1397 var C=this._band.getMinDate();
1407 while(D<this._zones.length){if(C.getTime()<this._zones[D].endTime){break;
1415 var K=new Date(Math.max(C.getTime(),G.startTime));
1434 Timeline.YearCountEtherPainter.prototype.initialize=function(C,B){this._band=C; argument
1436 this._backgroundLayer=C.createLayerDiv(0);
1460 var C=this;
1462 H<C._multiple;
1465 var D={labelInterval:function(G,I){var H=G.getUTCFullYear()-C._startDate.getUTCFullYear();
1478 Timeline.QuarterlyEtherPainter.prototype.initialize=function(C,B){this._band=C; argument
1480 this._backgroundLayer=C.createLayerDiv(0);
1504 var C=this;
1507 var D={labelInterval:function(G,H){var F=(4+(G.getUTCMonth()-C._startDate.getUTCMonth())/3)%4;
1509 }else{return{text:"Y"+(G.getUTCFullYear()-C._startDate.getUTCFullYear()+1),emphasized:true};
1517 Timeline.EtherIntervalMarkerLayout=function(I,L,C,E,M){var A=I.isHorizontal(); argument
1530 }}var D=C.ether.interval.marker;
1531 var K=C.ether.interval.line;
1532 var B=C.ether.interval.weekend;
1544 }if(a==SimileAjax.DateTime.WEEK){var N=C.firstDayOfWeek;
1568 Timeline.EtherHighlight=function(B,E,D,C){var A=B.isHorizontal(); argument
1575 }C.appendChild(this._highlightDiv);
1620 var C=B;
1621 if(D&&(B>0)){C=B-1;
1622 }if(!D&&(B<(this._band._zoomSteps.length-1))){C=B+1;
1623 }this._band._zoomIndex=C;
1624 this._interval=SimileAjax.DateTime.gregorianUnitLengths[this._band._zoomSteps[C].unit];
1625 this._pixelsPerInterval=this._band._zoomSteps[C].pixelsPerInterval;
1626 A=this._band._zoomSteps[C].unit-this._band._zoomSteps[B].unit;
1644 for(var C=0;
1645 C<this._zones.length&&this._unit.compare(B,F)>0;
1646 C++){var A=this._zones[C];
1647 if(this._unit.compare(F,A.endTime)<0){if(this._unit.compare(F,A.startTime)>0){this._zones.splice(C,…
1648 C++;
1650 }if(this._unit.compare(B,A.endTime)<0){this._zones.splice(C,0,{startTime:F,endTime:B,magnify:G.magn…
1651 C++;
1674 var C=B;
1675 if(D&&(B>0)){C=B-1;
1676 }if(!D&&(B<(this._band._zoomSteps.length-1))){C=B+1;
1677 }this._band._zoomIndex=C;
1678 this._interval=SimileAjax.DateTime.gregorianUnitLengths[this._band._zoomSteps[C].unit];
1679 this._pixelsPerInterval=this._band._zoomSteps[C].pixelsPerInterval;
1680 A=this._band._zoomSteps[C].unit-this._band._zoomSteps[B].unit;
1683 Timeline.HotZoneEther.prototype._dateDiffToPixelOffset=function(H,C){var D=this._getScale(); argument
1685 var B=C;
1714 }else{var C=this._unit.compare(A.endTime,D)/H;
1715 if(C>E){D=this._unit.change(D,E*H);
1718 E-=C;
1728 }else{var C=this._unit.compare(D,A.startTime)/H;
1729 if(C>E){D=this._unit.change(D,-E*H);
1732 E-=C;
1746 Timeline.EventUtils.decodeEventElID=function(C){var D=C.split("-"); argument
1754 Timeline.EventUtils.encodeEventElID=function(B,D,C,A){return C+"-tl-"+B.timelineID+"-"+D.getIndex()… argument
1767 Timeline.GregorianDateLabeller.prototype.labelInterval=function(A,C){var B=Timeline.GregorianDateLa… argument
1769 }return B.call(this,A,C);
1773 Timeline.GregorianDateLabeller.prototype.defaultLabelInterval=function(B,C){var D; argument
1776 switch(C){case SimileAjax.DateTime.MILLISECOND:D=B.getUTCMilliseconds();
1797 }F=(C==SimileAjax.DateTime.MONTH)||(C==SimileAjax.DateTime.DECADE&&E%100==0)||(C==SimileAjax.DateTi…
1845 Timeline.OriginalEventPainter.prototype.paint=function(){var C=this._band.getEventSource();
1846 if(C==null){return ;
1859 var E=C.getEventReverseIterator(D,B);
1888 …iginalEventPainter.prototype.paintEvent=function(B,C,D,A){if(B.isInstant()){this.paintInstantEvent… argument
1889 }else{this.paintDurationEvent(B,C,D,A);
1891 …inter.prototype.paintInstantEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseInstant… argument
1892 }else{this.paintPreciseInstantEvent(B,C,D,A);
1894 …nter.prototype.paintDurationEvent=function(B,C,D,A){if(B.isImprecise()){this.paintImpreciseDuratio… argument
1895 }else{this.paintPreciseDurationEvent(B,C,D,A);
1902 var C=Math.round(I-S.iconWidth/2);
1910 var B=this._paintEventIcon(N,P,C,S,V,0);
1922 this._tracks[P]=C;
1940 var C=this._paintEventIcon(P,R,D,U,Z,a);
1945 var G=[C.elmt,Y.elmt,E.elmt];
1947 var M=function(d,c,e){return Q._onClickInstantEvent(C.elmt,c,P);
1949 SimileAjax.DOM.registerEvent(C.elmt,"mousedown",M);
1952 var I=this._createHighlightDiv(W,C,Z,P);
1955 this._eventIdToElmt[P.getID()]=C.elmt;
1965 var C=this._frc.computeSize(K,E);
1967 var I=L+C.width;
1974 var V=this._paintEventLabel(M,K,L,Q,C.width,C.height,W,E,T);
1998 var C=this._frc.computeSize(M,E);
2000 var J=N+C.width;
2008 var a=this._paintEventLabel(O,M,N,T,C.width,C.height,b,E,Y);
2025 }for(var C=0;
2026 C<this._tracks.length;
2027 C++){var B=this._tracks[C];
2029 }}return C;
2031 Timeline.OriginalEventPainter.prototype._paintEventIcon=function(K,B,C,G,F,D){var I=K.getIcon(); argument
2041 A.style.left=C+"px";
2046 return{left:C,top:J,width:G.iconWidth,height:G.iconHeight,elmt:A};
2048 Timeline.OriginalEventPainter.prototype._paintEventLabel=function(K,L,D,H,A,J,G,E,C){var I=this._ti… argument
2060 }if(G.event.highlightLabelBackground&&C>=0){B.style.background=this._getHighlightColor(C,G);
2064 Timeline.OriginalEventPainter.prototype._paintEventTape=function(N,B,D,A,G,C,J,I,M){var F=A-D; argument
2081 }SimileAjax.Graphics.setOpacity(O,C);
2087 Timeline.OriginalEventPainter.prototype._getElClassName=function(D,C,A){var E=C.getClassName(),B=[]; argument
2093 Timeline.OriginalEventPainter.prototype._getHighlightColor=function(A,B){var C=B.event.highlightCol…
2094 return C[Math.min(A,C.length-1)];
2098 var C=this._getHighlightColor(A,F);
2108 G.style.background=C;
2112 …ventPainter.prototype._onClickInstantEvent=function(C,A,B){var D=SimileAjax.DOM.getPageCoordinates… argument
2113 this._showBubble(D.left+Math.ceil(C.offsetWidth/2),D.top+Math.ceil(C.offsetHeight/2),B);
2119 Timeline.OriginalEventPainter.prototype._onClickDurationEvent=function(F,B,C){if("pageX" in B){var … argument
2124 }this._showBubble(A,E,C);
2125 this._fireOnSelect(C.getID());
2131 if(B){var C=SimileAjax.DOM.getPageCoordinates(B);
2132 this._showBubble(C.left+B.offsetWidth/2,C.top+B.offsetHeight/2,A);
2134 Timeline.OriginalEventPainter.prototype._showBubble=function(B,E,C){var D=document.createElement("d… argument
2136 C.fillInfoBubble(D,this._params.theme,this._band.getLabeller());
2144 Timeline.OriginalEventPainter.prototype._fireEventPaintListeners=function(D,A,C){for(var B=0; argument
2146 B++){this._eventPaintListeners[B](this._band,D,A,C);
2178 Timeline.OverviewEventPainter.prototype.paint=function(){var C=this._band.getEventSource();
2179 if(C==null){return ;
2189 var E=C.getEventReverseIterator(D,B);
2206 …erviewEventPainter.prototype.paintEvent=function(B,C,D,A){if(B.isInstant()){this.paintInstantEvent… argument
2207 }else{this.paintDurationEvent(B,C,D,A);
2211 var C=I.getColor(),D=I.getClassName();
2212 if(D){C=null;
2213 }else{C=C!=null?C:E.event.duration.color;
2214 }var G=this._paintEventTick(I,B,C,100,H,E);
2220 var C=Math.round(this._band.dateToPixelOffset(I));
2224 F++){if(C<this._tracks[F]){break;
2225 }}this._tracks[F]=C;
2229 }var D=this._paintEventTape(L,F,J,C,E,100,K,H,G);
2232 Timeline.OverviewEventPainter.prototype._paintEventTape=function(K,B,D,L,E,C,H,G,F){var I=H.trackOf… argument
2243 }if(C<100){SimileAjax.Graphics.setOpacity(M,C);
2247 Timeline.OverviewEventPainter.prototype._paintEventTick=function(J,C,D,B,G,F){var I=F.event.overvie… argument
2252 K.style.left=C+"px";
2258 return{left:C,top:H,width:A,height:I,elmt:K};
2260 Timeline.OverviewEventPainter.prototype._createHighlightDiv=function(A,C,E){if(A>=0){var D=this._ti… argument
2266 F.style.left=(C.left-1)+"px";
2267 F.style.width=(C.width+2)+"px";
2268 F.style.top=(C.top-1)+"px";
2269 F.style.height=(C.height+2)+"px";
2287 Timeline.DefaultEventSource.prototype.loadXML=function(G,A){var C=this._getBaseURL(A);
2297 …tAttribute("image"),C),link:this._resolveRelativeURL(D.getAttribute("link"),C),icon:this._resolveR…
2316 var C=A.isDuration||(A.durationEvent!=null&&!A.durationEvent);
2317 …:E(A.end),latestStart:E(A.latestStart),earliestEnd:E(A.earliestEnd),instant:C,text:A.title,descrip…
2343 }var C=(D["isDuration"]===null&&D["durationEvent"]===null)||D["isDuration"]=="false"||D["durationEv…
2344 …"]),latestStart:G(D["latestStart"]),earliestEnd:G(D["earliestEnd"]),instant:C,text:D["title"],desc…
2379 Timeline.DefaultEventSource.prototype._fire=function(B,A){for(var C=0;
2380 C<this._listeners.length;
2381 C++){var D=this._listeners[C];
2385 Timeline.DefaultEventSource.prototype._getBaseURL=function(A){if(A.indexOf("://")<0){var C=this._ge…
2386 if(A.substr(0,1)=="/"){A=C.substr(0,C.indexOf("/",C.indexOf("://")+3))+A;
2387 }else{A=C+A;
2398 }var C=A.id?A.id.trim():"";
2399 this._id=C.length>0?C:Timeline.EventUtils.getNewEventID();
2464 }var C=this.getProperty("wikiID");
2465 if(C==null||C.length==0){C=this.getText();
2466 }if(C==null||C.length==0){return ;
2468 C=C.replace(/\s/g,"_");
2469 var B=this._wikiURL+this._wikiSection.replace(/\s/g,"_")+"/"+C;
2496 var C=K.createTextNode(J);
2499 I.appendChild(C);
2501 }else{L.appendChild(C);
2553 Timeline.create=function(D,C,E,F){if(Timeline.timelines==null){Timeline.timelines=[]; argument
2556 var A=new Timeline._Impl(D,C,E,F,B);
2563 var C=new Timeline.GregorianEtherPainter({unit:F.intervalUnit,multiple:("multiple" in F)?F.multiple…
2576 }}return{width:F.width,eventSource:D,timeZone:("timeZone" in F)?F.timeZone:0,ether:H,etherPainter:C
2581 var C=new Timeline.HotZoneGregorianEtherPainter({unit:F.intervalUnit,zones:F.zones,theme:G,align:("…
2594 }}return{width:F.width,eventSource:D,timeZone:("timeZone" in F)?F.timeZone:0,ether:H,etherPainter:C
2601 Timeline.loadXML=function(A,C){var D=function(G,F,E){alert("Failed to load data xml from "+A+"\n"+G… argument
2605 }C(E,A);
2619 Timeline._Impl=function(C,B,D,E,A){SimileAjax.WindowManager.initialize(); argument
2620 this._containerDiv=C;
2679 var C=function(G){try{var F=G.responseXML; function
2685 window.setTimeout(function(){SimileAjax.XmlHttp.get(B,E,C);
2701 Timeline._Impl.prototype._autoWidthCheck=function(C){var A=this; argument
2718 }if(H>G||C){D=H;
2727 var C=(this.isHorizontal())?"horizontal":"vertical";
2728 H.className+=" timeline-"+C;
2761 var C=0;
2773 }J.setBandShiftAndWidth(C,D);
2775 C+=D;
2777 Timeline._Impl.prototype.shiftOK=function(C,B){var F=B>0,A=B<0; argument
2789 if(F){D=(E==C?G.getMinVisibleDateAfterDelta(B):G.getMinVisibleDate())>=this.timeline_start;
2790 }else{D=(E==C?G.getMaxVisibleDateAfterDelta(B):G.getMaxVisibleDate())<=this.timeline_stop;
2797 Timeline._Impl.prototype.zoom=function(D,A,G,F){var C=new RegExp("^timeline-band-([0-9]+)$");
2799 var B=C.exec(F.id);
2823 Timeline.NativeDateUnit.compare=function(D,C){var B,A; argument
2826 }if(typeof C=="object"){A=C.getTime();
2827 }else{A=Number(C);