var AdfDhtmlTimelinePeer = AdfRichUIPeer.createPeerClass(AdfRichUIPeer, "AdfDhtmlTimelinePeer", !1);
$goog$exportSymbol$$("AdfDhtmlTimelinePeer", AdfDhtmlTimelinePeer);
AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.timeline.Timeline", "AdfDhtmlTimelinePeer");
AdfDhtmlTimelinePeer.InitSubclass = function $AdfDhtmlTimelinePeer$InitSubclass$() {
  AdfObject.ensureClassInitialization(AdfDhtmlTimelinePeer);
  AdfRichUIPeer.addComponentEventHandlers(this, AdfUIInputEvent.CLICK_EVENT_TYPE, AdfUIInputEvent.MOUSE_DOWN_EVENT_TYPE, AdfUIInputEvent.MOUSE_IN_EVENT_TYPE, AdfUIInputEvent.MOUSE_OUT_EVENT_TYPE, AdfUIInputEvent.KEY_DOWN_EVENT_TYPE);
  AdfRichUIPeer.addComponentPropertyChanges(this, "scrollTop", "scrollLeft");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "scrollTop");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "scrollLeft");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "minimumWidth");
  this.$DW_SUB_ID$ = "dataW";
  this.$CLICK_SCROLL_THRESHOLD$ = 200;
  this.$LONG_SCROLL_THRESHOLD$ = 1500;
  this.$ANIMATION_EFFECT_1$ = "default";
  this.$ANIMATION_EFFECT_2$ = "pop";
  this.$ANIMATION_EFFECT_3$ = "slide";
  this.$ANIMATION_EFFECT_4$ = "flip";
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.InitSubclass", AdfDhtmlTimelinePeer.InitSubclass);
AdfDhtmlTimelinePeer.prototype.InitDomElement = function $AdfDhtmlTimelinePeer$$InitDomElement$($component$$573$$, $domElement$$211$$) {
  AdfDhtmlTimelinePeer.superclass.InitDomElement.call(this, $component$$573$$, $domElement$$211$$);
  this.$_fetchId$ = 0;
  this.$_isScrollingDisabled$ = !1;
  this.$_vertical$ = null;
  this.$_isOutside$ = !0;
  $AdfTimelineUtils$$.$supportsTouch$() && ($domElement$$211$$.addEventListener("gesturechange", this.createCallback(this.$_handleGestureChange$), !1), $JSCompiler_StaticMethods_isIOS4$$() ? ($domElement$$211$$.addEventListener("touchstart", this.createCallback(this.$_handleTouchStart$), !1), $domElement$$211$$.addEventListener("touchmove", this.createCallback(this.$_handleTouchMove$), !1), $domElement$$211$$.addEventListener("touchend", this.createCallback(this.$_handleTouchEnd$), !1)) : $domElement$$211$$.addEventListener("scroll", 
  this.createCallback(this.$_handleDomScroll$), !0));
};
AdfDhtmlTimelinePeer.prototype.InitDomElement = AdfDhtmlTimelinePeer.prototype.InitDomElement;
AdfDhtmlTimelinePeer.prototype.$HandleChildrenInitialized$ = function $AdfDhtmlTimelinePeer$$$HandleChildrenInitialized$$($component$$574$$) {
  if (null != this.$_uninitializedChildren$) {
    for (var $clientId$$124$$ = $component$$574$$.getClientId(), $index$$87$$ = -1, $i$$247$$ = 0;$i$$247$$ < this.$_uninitializedChildren$.length;$i$$247$$++) {
      if (this.$_uninitializedChildren$[$i$$247$$] == $clientId$$124$$) {
        $index$$87$$ = $i$$247$$;
        break;
      }
    }
    -1 != $index$$87$$ && (this.$_uninitializedChildren$.splice($index$$87$$, 1), AdfPage.PAGE.registerResizeNotifyComponent($component$$574$$), AdfPage.PAGE.doResizeNotify($component$$574$$));
  }
};
AdfDhtmlTimelinePeer.prototype.HandleChildrenInitialized = AdfDhtmlTimelinePeer.prototype.$HandleChildrenInitialized$;
function $JSCompiler_StaticMethods_isIOS4$$() {
  var $agentName$$2$$ = navigator.userAgent.toLowerCase();
  return -1 != $agentName$$2$$.indexOf("applewebkit") && -1 != $agentName$$2$$.indexOf("mobile") && -1 != $agentName$$2$$.indexOf("os 4_");
}
$JSCompiler_prototypeAlias$$ = AdfDhtmlTimelinePeer.prototype;
$JSCompiler_prototypeAlias$$.$isOfflineMode$ = function $$JSCompiler_prototypeAlias$$$$isOfflineMode$$() {
  return null != this.getDomElement().getAttribute("_offline");
};
$JSCompiler_prototypeAlias$$.$isVertical$ = function $$JSCompiler_prototypeAlias$$$$isVertical$$() {
  null == this.$_vertical$ && (this.$_vertical$ = "horizontal" != AdfAgent.AGENT.getAttribute(this.getDomElement(), "_orn"));
  return this.$_vertical$;
};
$JSCompiler_prototypeAlias$$.$isOverviewAbove$ = function $$JSCompiler_prototypeAlias$$$$isOverviewAbove$$() {
  if (null == AdfAgent.AGENT.getAttribute(this.getDomElement(), "_ov") || 1 < this.$getScroller$().childNodes.length) {
    return !1;
  }
  null == this.$_overviewAbove$ && (this.$_overviewAbove$ = "below" != AdfAgent.AGENT.getAttribute(this.getDomElement(), "_ovp"));
  return this.$_overviewAbove$;
};
$JSCompiler_prototypeAlias$$.$getElementScrollLeft$ = function $$JSCompiler_prototypeAlias$$$$getElementScrollLeft$$($element$$83$$) {
  if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
    var $platform$$18_width$$44$$ = AdfAgent.AGENT.getPlatform();
    if ($platform$$18_width$$44$$ == AdfAgent.GECKO_PLATFORM || $platform$$18_width$$44$$ == AdfAgent.IE_PLATFORM) {
      return Math.abs($element$$83$$.scrollLeft);
    }
    $platform$$18_width$$44$$ = AdfAgent.AGENT.getIntAttribute(this.getDomElement(), "width");
    return Math.max(0, $platform$$18_width$$44$$ - parseInt($element$$83$$.style.width) - $element$$83$$.scrollLeft);
  }
  return $element$$83$$.scrollLeft;
};
function $JSCompiler_StaticMethods_setElementScrollLeft$$($JSCompiler_StaticMethods_setElementScrollLeft$self_width$$45$$, $element$$84$$, $scrollLeft$$4$$) {
  if (AdfPage.PAGE.getLocaleContext().isRightToLeft()) {
    var $platform$$19$$ = AdfAgent.AGENT.getPlatform();
    $platform$$19$$ == AdfAgent.GECKO_PLATFORM ? $element$$84$$.scrollLeft = 0 - $scrollLeft$$4$$ : $platform$$19$$ == AdfAgent.IE_PLATFORM ? $element$$84$$.scrollLeft = $scrollLeft$$4$$ : ($JSCompiler_StaticMethods_setElementScrollLeft$self_width$$45$$ = AdfAgent.AGENT.getIntAttribute($JSCompiler_StaticMethods_setElementScrollLeft$self_width$$45$$.getDomElement(), "width"), $element$$84$$.scrollLeft = $JSCompiler_StaticMethods_setElementScrollLeft$self_width$$45$$ - parseInt($element$$84$$.style.width) - 
    $scrollLeft$$4$$);
  } else {
    $element$$84$$.scrollLeft = $scrollLeft$$4$$;
  }
}
$JSCompiler_prototypeAlias$$.$getScrollPos$ = function $$JSCompiler_prototypeAlias$$$$getScrollPos$$($element$$85$$) {
  void 0 == $element$$85$$ && ($element$$85$$ = this.$getScroller$());
  return this.$isVertical$() ? $element$$85$$.scrollTop : this.$getElementScrollLeft$($element$$85$$);
};
$JSCompiler_prototypeAlias$$.setScrollPos = function $$JSCompiler_prototypeAlias$$$setScrollPos$($pos$$31$$, $element$$86$$) {
  void 0 == $element$$86$$ && ($element$$86$$ = this.$getScroller$());
  this.$isVertical$() ? $element$$86$$.scrollTop = $pos$$31$$ : $JSCompiler_StaticMethods_setElementScrollLeft$$(this, $element$$86$$, $pos$$31$$);
  for (var $maxScroll$$ = $pos$$31$$ + this.getDomElement().offsetWidth >= AdfAgent.AGENT.getIntAttribute(this.getDomElement(), "width"), $i$$248$$ = 0;$i$$248$$ < this.$_timelineSeriesPeers$.length;$i$$248$$++) {
    var $series$$8$$ = this.$_timelineSeriesPeers$[$i$$248$$];
    null != $series$$8$$.$_leftHotspot$ && null != $series$$8$$.$_rightHotspot$ && (0 == $pos$$31$$ ? ($series$$8$$.$_leftHotspot$.style.visibility = "hidden", $series$$8$$.$_rightHotspot$.style.visibility = "visible") : $maxScroll$$ ? ($series$$8$$.$_leftHotspot$.style.visibility = "visible", $series$$8$$.$_rightHotspot$.style.visibility = "hidden") : ($series$$8$$.$_leftHotspot$.style.visibility = "visible", $series$$8$$.$_rightHotspot$.style.visibility = "visible"));
  }
};
$JSCompiler_prototypeAlias$$.$HandleComponentClick$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentClick$$($componentEvent$$110_domEvent$$78$$) {
  if (this.$isOwnComponentEvent$($componentEvent$$110_domEvent$$78$$) && $componentEvent$$110_domEvent$$78$$.isLeftButtonPressed()) {
    $componentEvent$$110_domEvent$$78$$ = $componentEvent$$110_domEvent$$78$$.getNativeEvent();
    var $target$$150$$ = AdfAgent.AGENT.getEventTarget($componentEvent$$110_domEvent$$78$$);
    $target$$150$$ && this.$handleTargetClick$($target$$150$$, $componentEvent$$110_domEvent$$78$$);
  }
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.HandleComponentClick", AdfDhtmlTimelinePeer.prototype.$HandleComponentClick$);
function $JSCompiler_StaticMethods_ZoomIn$$($JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$) {
  var $agent$$83_currentTick$$ = AdfAgent.AGENT, $component$$576$$ = $JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$.getComponent(), $zoomMarker_zoomMarkerId$$ = AdfRichUIPeer.CreateSubId($component$$576$$.getClientId(), "zm"), $zoomMarker_zoomMarkerId$$ = $agent$$83_currentTick$$.getElementById($zoomMarker_zoomMarkerId$$);
  if (null != $zoomMarker_zoomMarkerId$$) {
    var $index$$88$$ = $agent$$83_currentTick$$.getIntAttribute($zoomMarker_zoomMarkerId$$, "index");
    0 != $index$$88$$ && ($JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$.$displayStatus$(), $JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$ = new $AdfTimelineZoomEvent$$($component$$576$$, 0, $agent$$83_currentTick$$.getIntAttribute($JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$.getDomElement(), "width"), $JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$.getDomElement().offsetWidth), $JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$.setPartial(!0), 
    AdfPage.PAGE.queueEventToServer($JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$), $JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$ = "left", AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$ = "right"), $agent$$83_currentTick$$ = $JSCompiler_StaticMethods_getCurrentTick$$($index$$88$$, $zoomMarker_zoomMarkerId$$).previousSibling, $zoomMarker_zoomMarkerId$$.style[$JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$] = 
    parseInt($agent$$83_currentTick$$.style[$JSCompiler_StaticMethods_ZoomIn$self_align$$5_evt$$202$$]) + parseInt(($agent$$83_currentTick$$.offsetWidth - $zoomMarker_zoomMarkerId$$.offsetWidth) / 2) + "px", $zoomMarker_zoomMarkerId$$.setAttribute("index", $index$$88$$ - 1));
  }
}
function $JSCompiler_StaticMethods_ZoomOut$$($JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$) {
  var $agent$$84_currentTick$$1$$ = AdfAgent.AGENT, $component$$577$$ = $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.getComponent(), $zoomMarker$$1_zoomMarkerId$$1$$ = AdfRichUIPeer.CreateSubId($component$$577$$.getClientId(), "zm"), $zoomMarker$$1_zoomMarkerId$$1$$ = $agent$$84_currentTick$$1$$.getElementById($zoomMarker$$1_zoomMarkerId$$1$$);
  if (null != $zoomMarker$$1_zoomMarkerId$$1$$) {
    var $index$$89$$ = $agent$$84_currentTick$$1$$.getIntAttribute($zoomMarker$$1_zoomMarkerId$$1$$, "index");
    $agent$$84_currentTick$$1$$.getIntAttribute($zoomMarker$$1_zoomMarkerId$$1$$.previousSibling, "index") != $index$$89$$ && ($JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.$displayStatus$(), $index$$89$$ += 1, $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$ = new $AdfTimelineZoomEvent$$($component$$577$$, 1, $agent$$84_currentTick$$1$$.getIntAttribute($JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.getDomElement(), "width"), $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.getDomElement().offsetWidth, 
    $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.$_timelineSeriesPeers$[0].$_blockStartPos$, $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.$_timelineSeriesPeers$[0].$_blockEndPos$), $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$.setPartial(!0), AdfPage.PAGE.queueEventToServer($JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$), $JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$ = "left", AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$ = 
    "right"), $agent$$84_currentTick$$1$$ = $JSCompiler_StaticMethods_getCurrentTick$$($index$$89$$, $zoomMarker$$1_zoomMarkerId$$1$$), $zoomMarker$$1_zoomMarkerId$$1$$.style[$JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$] = parseInt($agent$$84_currentTick$$1$$.style[$JSCompiler_StaticMethods_ZoomOut$self_align$$6_evt$$203$$]) + parseInt(($agent$$84_currentTick$$1$$.offsetWidth - $zoomMarker$$1_zoomMarkerId$$1$$.offsetWidth) / 2) + "px", $zoomMarker$$1_zoomMarkerId$$1$$.setAttribute("index", 
    $index$$89$$));
  }
}
AdfDhtmlTimelinePeer.prototype.$handleTargetClick$ = function $AdfDhtmlTimelinePeer$$$handleTargetClick$$($target$$151$$, $domEvent$$79$$) {
  var $JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$ = AdfAgent.AGENT, $clientId$$125_handled$$4$$ = this.getComponent().getClientId(), $rowKey$$inline_4374_target$$inline_4372_zoominId$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, "zi"), $attrs$$inline_4373_item$$inline_4375_zoomoutId$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, "zo"), $isSelectionToggle$$inline_5154_zoomMarkerId$$2$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, 
  "zm"), $glassPaneId$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, "glass"), $navigateUpId$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, "navUp"), $navigateDownId$$ = AdfRichUIPeer.CreateSubId($clientId$$125_handled$$4$$, "navDown"), $clientId$$125_handled$$4$$ = !0;
  $target$$151$$.id == $rowKey$$inline_4374_target$$inline_4372_zoominId$$ ? $JSCompiler_StaticMethods_ZoomIn$$(this) : $target$$151$$.id == $attrs$$inline_4373_item$$inline_4375_zoomoutId$$ ? $JSCompiler_StaticMethods_ZoomOut$$(this) : $target$$151$$.id == $glassPaneId$$ ? this.$_timelineSeriesPeers$[0].$handleDisclosure$(null) : $target$$151$$.id == $navigateUpId$$ ? $JSCompiler_StaticMethods_handleNavigateUp$$(this.$_expandedSeriesCallback$) : $target$$151$$.id == $navigateDownId$$ ? $JSCompiler_StaticMethods_handleNavigateDown$$(this.$_expandedSeriesCallback$) : 
  null != $JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$.getAttribute($target$$151$$, "tick") ? $JSCompiler_StaticMethods_handleZoomMarkerClick$$(this, $target$$151$$, $isSelectionToggle$$inline_5154_zoomMarkerId$$2$$) : $target$$151$$.parentNode && null != $JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$.getAttribute($target$$151$$.parentNode, "tick") ? $JSCompiler_StaticMethods_handleZoomMarkerClick$$(this, $target$$151$$.parentNode, 
  $isSelectionToggle$$inline_5154_zoomMarkerId$$2$$) : "block" == this.getGlassPane().style.display && null != this.$_expandedSeriesCallback$ && 1 == this.$_expandedSeriesCallback$.$_glassPaneReady$ ? ($JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$ = this.$_expandedSeriesCallback$, $rowKey$$inline_4374_target$$inline_4372_zoominId$$ = AdfAgent.AGENT.getEventTarget($domEvent$$79$$), $attrs$$inline_4373_item$$inline_4375_zoomoutId$$ = $JSCompiler_StaticMethods_GetRowKeyAndItem$$($rowKey$$inline_4374_target$$inline_4372_zoominId$$, 
  $JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$.getDomElement()), null != $attrs$$inline_4373_item$$inline_4375_zoomoutId$$ && ($rowKey$$inline_4374_target$$inline_4372_zoominId$$ = $attrs$$inline_4373_item$$inline_4375_zoomoutId$$[0], $attrs$$inline_4373_item$$inline_4375_zoomoutId$$ = $attrs$$inline_4373_item$$inline_4375_zoomoutId$$[1], null != $rowKey$$inline_4374_target$$inline_4372_zoominId$$ && $JSCompiler_StaticMethods_isItemSelectionEnabled$$($JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$) && 
  ($isSelectionToggle$$inline_5154_zoomMarkerId$$2$$ = AdfAgent.AGENT.isSelectionToggle($domEvent$$79$$), $JSCompiler_StaticMethods_doItemSelection$$($JSCompiler_StaticMethods_handleDisclosedItemClick$self$$inline_4370_agent$$85$$, $isSelectionToggle$$inline_5154_zoomMarkerId$$2$$, $rowKey$$inline_4374_target$$inline_4372_zoominId$$, $attrs$$inline_4373_item$$inline_4375_zoomoutId$$)))) : $clientId$$125_handled$$4$$ = !1;
  return $clientId$$125_handled$$4$$;
};
function $JSCompiler_StaticMethods_handleZoomMarkerClick$$($JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$, $oldIndex_target$$152$$, $component$$579_zoomMarker$$2_zoomMarkerId$$3$$) {
  var $agent$$86$$ = AdfAgent.AGENT, $tick$$ = $agent$$86$$.getAttribute($oldIndex_target$$152$$, "tick"), $index$$90$$ = $agent$$86$$.getIntAttribute($oldIndex_target$$152$$, "index");
  $component$$579_zoomMarker$$2_zoomMarkerId$$3$$ = $agent$$86$$.getElementById($component$$579_zoomMarker$$2_zoomMarkerId$$3$$);
  $component$$579_zoomMarker$$2_zoomMarkerId$$3$$.style.left = parseInt($oldIndex_target$$152$$.style.left) + parseInt(($oldIndex_target$$152$$.offsetWidth - $component$$579_zoomMarker$$2_zoomMarkerId$$3$$.offsetWidth) / 2) + "px";
  $oldIndex_target$$152$$ = $agent$$86$$.getIntAttribute($component$$579_zoomMarker$$2_zoomMarkerId$$3$$, "index");
  $component$$579_zoomMarker$$2_zoomMarkerId$$3$$.setAttribute("index", $index$$90$$);
  $component$$579_zoomMarker$$2_zoomMarkerId$$3$$ = $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.getComponent();
  $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$ = new $AdfTimelineZoomEvent$$($component$$579_zoomMarker$$2_zoomMarkerId$$3$$, 2, $agent$$86$$.getIntAttribute($JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.getDomElement(), "width"), $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.getDomElement().offsetWidth, $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.$_timelineSeriesPeers$[0].$_blockStartPos$, $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.$_timelineSeriesPeers$[0].$_blockEndPos$);
  $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.$_zoomTo$ = $tick$$;
  $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.$_fetchNewPositionOnly$ = $index$$90$$ < $oldIndex_target$$152$$;
  $JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$.setPartial(!0);
  AdfPage.PAGE.queueEventToServer($JSCompiler_StaticMethods_handleZoomMarkerClick$self_evt$$204$$);
}
AdfDhtmlTimelinePeer.prototype.ComponentRemoved = function $AdfDhtmlTimelinePeer$$ComponentRemoved$($component$$580$$) {
  null != this.$_timelineSeriesPeers$ && delete this.$_timelineSeriesPeers$;
  null != this.$_uninitializedChildren$ && delete this.$_uninitializedChildren$;
  AdfDhtmlTimelinePeer.superclass.ComponentRemoved.call(this, $component$$580$$);
};
AdfDhtmlTimelinePeer.prototype.ComponentRemoved = AdfDhtmlTimelinePeer.prototype.ComponentRemoved;
AdfDhtmlTimelinePeer.prototype.DomReplaceNotify = function $AdfDhtmlTimelinePeer$$DomReplaceNotify$($domNode$$15$$) {
  return 0 < $domNode$$15$$.id.indexOf(AdfDhtmlTimelinePeer.$DW_SUB_ID$) ? null : $domNode$$15$$;
};
AdfDhtmlTimelinePeer.prototype.DomReplaceNotify = AdfDhtmlTimelinePeer.prototype.DomReplaceNotify;
AdfDhtmlTimelinePeer.prototype.ReplaceDomElement = function $AdfDhtmlTimelinePeer$$ReplaceDomElement$($newElement$$3$$, $oldElement$$3$$) {
  var $id$$203_newStartTime$$3$$ = $newElement$$3$$.id;
  if (0 < $id$$203_newStartTime$$3$$.indexOf(AdfDhtmlTimelinePeer.$DW_SUB_ID$)) {
    var $agent$$87_focusTime$$ = AdfAgent.AGENT, $id$$203_newStartTime$$3$$ = $agent$$87_focusTime$$.getIntAttribute($newElement$$3$$, "start"), $newEndTime$$3$$ = $agent$$87_focusTime$$.getIntAttribute($newElement$$3$$, "end"), $newWidth$$21$$ = $agent$$87_focusTime$$.getIntAttribute($newElement$$3$$, "width");
    this.getDomElement().setAttribute("start", $id$$203_newStartTime$$3$$);
    this.getDomElement().setAttribute("end", $newEndTime$$3$$);
    this.getDomElement().setAttribute("width", $newWidth$$21$$);
    for (var $i$$249_overview$$ = 0;$i$$249_overview$$ < this.$_timelineSeriesPeers$.length;$i$$249_overview$$++) {
      var $JSCompiler_StaticMethods_updateWidth$self$$inline_4391$$ = this.$_timelineSeriesPeers$[$i$$249_overview$$], $newSize$$inline_4392$$ = $newWidth$$21$$, $timeAxis$$inline_4393$$ = $JSCompiler_StaticMethods_getDummyTimeAxis$$($JSCompiler_StaticMethods_updateWidth$self$$inline_4391$$);
      $JSCompiler_StaticMethods_setElemSize$$($JSCompiler_StaticMethods_updateWidth$self$$inline_4391$$, $JSCompiler_StaticMethods_updateWidth$self$$inline_4391$$.getDomElement(), $newSize$$inline_4392$$);
      null != $timeAxis$$inline_4393$$ && $JSCompiler_StaticMethods_setElemSize$$($JSCompiler_StaticMethods_updateWidth$self$$inline_4391$$, $timeAxis$$inline_4393$$, $newSize$$inline_4392$$);
    }
    this.$_focusPos$ = $agent$$87_focusTime$$.getIntAttribute($newElement$$3$$, "focusPos", 0);
    $agent$$87_focusTime$$ = $agent$$87_focusTime$$.getIntAttribute($newElement$$3$$, "focus");
    $i$$249_overview$$ = this.$getTimelineOverviewPeer$();
    null != $i$$249_overview$$ && $JSCompiler_StaticMethods_updateSlidingWindowForZoom$$($i$$249_overview$$, $agent$$87_focusTime$$, $id$$203_newStartTime$$3$$, $newEndTime$$3$$, $newWidth$$21$$);
  } else {
    AdfDhtmlTimelinePeer.superclass.ReplaceDomElement.call(this, $newElement$$3$$, $oldElement$$3$$), null == this.$_uninitializedChildren$ && (this.$_uninitializedChildren$ = []), this.$_uninitializedChildren$.push($id$$203_newStartTime$$3$$);
  }
};
AdfDhtmlTimelinePeer.prototype.ReplaceDomElement = AdfDhtmlTimelinePeer.prototype.ReplaceDomElement;
AdfDhtmlTimelinePeer.prototype.$delayScrollToPos$ = function $AdfDhtmlTimelinePeer$$$delayScrollToPos$$($diff$$8_pos$$32$$) {
  this.$_completeDelayedScroll$ && ($diff$$8_pos$$32$$ -= this.$getScrollPos$(), 0 < $diff$$8_pos$$32$$ ? this.$_timelineSeriesPeers$[0].$repeatScrollHorizontal$({callback:this.createCallback(this.$scrollForZoomComplete$), increment:20, counter:Math.ceil($diff$$8_pos$$32$$ / 20), scrollOverview:!1}) : this.$_timelineSeriesPeers$[0].$repeatScrollHorizontal$({callback:this.createCallback(this.$scrollForZoomComplete$), increment:-20, counter:Math.ceil(Math.abs($diff$$8_pos$$32$$) / 20), scrollOverview:!1}));
  this.$_completeDelayedScroll$ = null;
};
AdfDhtmlTimelinePeer.prototype.$scrollForZoomComplete$ = function $AdfDhtmlTimelinePeer$$$scrollForZoomComplete$$() {
  for (var $i$$250$$ = 0;$i$$250$$ < this.$_timelineSeriesPeers$.length;$i$$250$$++) {
    $JSCompiler_StaticMethods_FillViewPort$$(this.$_timelineSeriesPeers$[$i$$250$$]);
  }
};
function $JSCompiler_StaticMethods_getZoomControl$$($JSCompiler_StaticMethods_getZoomControl$self_clientId$$126$$) {
  $JSCompiler_StaticMethods_getZoomControl$self_clientId$$126$$ = $JSCompiler_StaticMethods_getZoomControl$self_clientId$$126$$.getComponent().getClientId();
  return AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods_getZoomControl$self_clientId$$126$$, "zp"));
}
function $JSCompiler_StaticMethods_getZoomControlSpacing$$($JSCompiler_StaticMethods_getZoomControlSpacing$self$$) {
  var $zoomControl$$ = $JSCompiler_StaticMethods_getZoomControl$$($JSCompiler_StaticMethods_getZoomControlSpacing$self$$);
  return null != $zoomControl$$ ? $JSCompiler_StaticMethods_getZoomControlSpacing$self$$.$isVertical$() ? $zoomControl$$.parentNode.offsetHeight : $zoomControl$$.offsetHeight + $zoomControl$$.offsetTop : 0;
}
function $JSCompiler_StaticMethods_showZoomControl$$($JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$) {
  $JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$.$isVertical$() || ($JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$ = $JSCompiler_StaticMethods_getZoomControl$$($JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$), null != $JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$ && ($JSCompiler_StaticMethods_showZoomControl$self_zoomControl$$1$$.style.visibility = "visible"));
}
function $JSCompiler_StaticMethods_hideZoomControl$$($JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$) {
  $JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$.$isVertical$() || ($JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$ = $JSCompiler_StaticMethods_getZoomControl$$($JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$), null != $JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$ && ($JSCompiler_StaticMethods_hideZoomControl$self_zoomControl$$2$$.style.visibility = "hidden"));
}
AdfDhtmlTimelinePeer.prototype.needsResizeNotify = function $AdfDhtmlTimelinePeer$$needsResizeNotify$() {
  return !0;
};
AdfDhtmlTimelinePeer.prototype.needsResizeNotify = AdfDhtmlTimelinePeer.prototype.needsResizeNotify;
AdfDhtmlTimelinePeer.prototype.ResizeNotify = function $AdfDhtmlTimelinePeer$$ResizeNotify$($glassPane$$1_oldWidth$$14$$, $oldHeight$$14$$, $agent$$88_newWidth$$22$$, $i$$251_newHeight$$22$$) {
  var $vertical$$1$$ = this.$isVertical$(), $newSize$$3_overview$$1$$ = this.$getTimelineOverviewPeer$(), $notifySeriesSizeUpdate$$ = !1;
  if ($vertical$$1$$) {
    $oldHeight$$14$$ != $i$$251_newHeight$$22$$ && ($glassPane$$1_oldWidth$$14$$ == $agent$$88_newWidth$$22$$ && ($notifySeriesSizeUpdate$$ = !0), $glassPane$$1_oldWidth$$14$$ = this.getGlassPane(), "block" == $glassPane$$1_oldWidth$$14$$.style.display && null != this.$_expandedSeriesCallback$ && 1 == this.$_expandedSeriesCallback$.$_glassPaneReady$ && $JSCompiler_StaticMethods_handleGlassPaneResize$$(this.$_expandedSeriesCallback$, $i$$251_newHeight$$22$$)), $i$$251_newHeight$$22$$ -= $JSCompiler_StaticMethods_getZoomControlSpacing$$(this), 
    null != $newSize$$3_overview$$1$$ && ($agent$$88_newWidth$$22$$ = $agent$$88_newWidth$$22$$ - $newSize$$3_overview$$1$$.getDomElement().offsetWidth - 1), $newSize$$3_overview$$1$$ = $i$$251_newHeight$$22$$;
  } else {
    var $container$$8_glassPaneActive$$ = !1;
    $glassPane$$1_oldWidth$$14$$ != $agent$$88_newWidth$$22$$ && $oldHeight$$14$$ == $i$$251_newHeight$$22$$ ? $notifySeriesSizeUpdate$$ = !0 : $oldHeight$$14$$ != $i$$251_newHeight$$22$$ && ($glassPane$$1_oldWidth$$14$$ = this.getGlassPane(), "block" == $glassPane$$1_oldWidth$$14$$.style.display && null != this.$_expandedSeriesCallback$ && 1 == this.$_expandedSeriesCallback$.$_glassPaneReady$ && ($JSCompiler_StaticMethods_handleGlassPaneResize$$(this.$_expandedSeriesCallback$, $i$$251_newHeight$$22$$), 
    $container$$8_glassPaneActive$$ = !0));
    $agent$$88_newWidth$$22$$ -= 2;
    null != $newSize$$3_overview$$1$$ && ($i$$251_newHeight$$22$$ = $i$$251_newHeight$$22$$ - $newSize$$3_overview$$1$$.getDomElement().offsetHeight - 1);
    $newSize$$3_overview$$1$$ = $agent$$88_newWidth$$22$$;
    $container$$8_glassPaneActive$$ || (50 > $i$$251_newHeight$$22$$ ? $JSCompiler_StaticMethods_hideZoomControl$$(this) : $JSCompiler_StaticMethods_showZoomControl$$(this));
  }
  $container$$8_glassPaneActive$$ = this.$getScroller$();
  $container$$8_glassPaneActive$$.style.width = $agent$$88_newWidth$$22$$ + "px";
  $container$$8_glassPaneActive$$.style.height = $i$$251_newHeight$$22$$ + "px";
  $agent$$88_newWidth$$22$$ = AdfAgent.AGENT;
  $agent$$88_newWidth$$22$$.getPlatform() == AdfAgent.IE_PLATFORM && (9 > $agent$$88_newWidth$$22$$.getVersion() && ($container$$8_glassPaneActive$$.parentNode.style.height = $i$$251_newHeight$$22$$ + "px"), $vertical$$1$$ && null != this.$getTimelineOverviewPeer$() && (this.$getTimelineOverviewPeer$().getDomElement().style.height = $i$$251_newHeight$$22$$ + "px"));
  this.getComponent().setProperty("minimumWidth", $newSize$$3_overview$$1$$, !0, AdfUIComponent.PROPAGATE_ALWAYS);
  if ($notifySeriesSizeUpdate$$ && null != this.$_timelineSeriesPeers$) {
    for ($i$$251_newHeight$$22$$ = 0;$i$$251_newHeight$$22$$ < this.$_timelineSeriesPeers$.length;$i$$251_newHeight$$22$$++) {
      $JSCompiler_StaticMethods_FillViewPort$$(this.$_timelineSeriesPeers$[$i$$251_newHeight$$22$$]);
    }
  }
  $AdfTimelineUtils$$.$supportsTouch$() && $JSCompiler_StaticMethods_isIOS4$$() && (this.$getScroller$().style.overflow = "hidden");
};
AdfDhtmlTimelinePeer.prototype.ResizeNotify = AdfDhtmlTimelinePeer.prototype.ResizeNotify;
AdfDhtmlTimelinePeer.prototype.$registerTimelineSeriesPeer$ = function $AdfDhtmlTimelinePeer$$$registerTimelineSeriesPeer$$($peer$$73$$) {
  if (null != $peer$$73$$) {
    null == this.$_timelineSeriesPeers$ && (this.$_timelineSeriesPeers$ = []);
    for (var $replaced$$ = !1, $i$$252$$ = 0;$i$$252$$ < this.$_timelineSeriesPeers$.length;$i$$252$$++) {
      if (this.$_timelineSeriesPeers$[$i$$252$$].getComponent().getClientId() == $peer$$73$$.getComponent().getClientId()) {
        this.$_timelineSeriesPeers$[$i$$252$$] = $peer$$73$$;
        $replaced$$ = !0;
        break;
      }
    }
    $replaced$$ || this.$_timelineSeriesPeers$.push($peer$$73$$);
  }
};
AdfDhtmlTimelinePeer.prototype.registerTimelineSeriesPeer = AdfDhtmlTimelinePeer.prototype.$registerTimelineSeriesPeer$;
AdfDhtmlTimelinePeer.prototype.$unregisterTimelineSeriesPeer$ = function $AdfDhtmlTimelinePeer$$$unregisterTimelineSeriesPeer$$($peer$$74$$) {
  if (null != $peer$$74$$ && null != this.$_timelineSeriesPeers$) {
    for (var $index$$91$$ = -1, $i$$253$$ = 0;$i$$253$$ < this.$_timelineSeriesPeers$.length;$i$$253$$++) {
      if (this.$_timelineSeriesPeers$[$i$$253$$] == $peer$$74$$) {
        $index$$91$$ = $i$$253$$;
        break;
      }
    }
    -1 != $index$$91$$ && this.$_timelineSeriesPeers$.splice($index$$91$$, 1);
    0 == this.$_timelineSeriesPeers$.length && delete this.$_timelineSeriesPeers$;
  }
};
AdfDhtmlTimelinePeer.prototype.unregisterTimelineSeriesPeer = AdfDhtmlTimelinePeer.prototype.$unregisterTimelineSeriesPeer$;
AdfDhtmlTimelinePeer.prototype.$isAllowOverlap$ = function $AdfDhtmlTimelinePeer$$$isAllowOverlap$$($component$$583$$) {
  return this.$isVertical$() ? !0 : "noOverlap" != $component$$583$$.$getItemPosition$();
};
AdfDhtmlTimelinePeer.prototype.getScrollLeft = function $AdfDhtmlTimelinePeer$$getScrollLeft$($component$$584$$) {
  return parseInt($component$$584$$.getScrollLeft());
};
AdfDhtmlTimelinePeer.prototype.$getTimelineOverviewPeer$ = function $AdfDhtmlTimelinePeer$$$getTimelineOverviewPeer$$() {
  var $overview$$2$$ = $JSCompiler_StaticMethods_getTimelineOverview$$(this);
  return null != $overview$$2$$ ? $overview$$2$$.getPeer() : null;
};
AdfDhtmlTimelinePeer.prototype.getTimelineOverviewPeer = AdfDhtmlTimelinePeer.prototype.$getTimelineOverviewPeer$;
function $JSCompiler_StaticMethods_getTimelineOverview$$($JSCompiler_StaticMethods_getTimelineOverview$self$$) {
  if (null != $JSCompiler_StaticMethods_getTimelineOverview$self$$.$_overview$ && null != $JSCompiler_StaticMethods_getTimelineOverview$self$$.$_overview$.getPeer()) {
    return $JSCompiler_StaticMethods_getTimelineOverview$self$$.$_overview$;
  }
  var $overview$$3_overviewClientId$$ = AdfAgent.AGENT.getAttribute($JSCompiler_StaticMethods_getTimelineOverview$self$$.getDomElement(), "_ov");
  return null != $overview$$3_overviewClientId$$ && ($overview$$3_overviewClientId$$ = AdfPage.PAGE.findComponent($overview$$3_overviewClientId$$), null != $overview$$3_overviewClientId$$) ? ($JSCompiler_StaticMethods_getTimelineOverview$self$$.$_overview$ = $overview$$3_overviewClientId$$, $JSCompiler_StaticMethods_getTimelineOverview$self$$.$_overview$) : null;
}
$JSCompiler_prototypeAlias$$ = AdfDhtmlTimelinePeer.prototype;
$JSCompiler_prototypeAlias$$.$isOwnComponentEvent$ = function $$JSCompiler_prototypeAlias$$$$isOwnComponentEvent$$($componentEvent$$111_source$$206$$) {
  $componentEvent$$111_source$$206$$ = $componentEvent$$111_source$$206$$.getSource();
  for (var $self$$3$$ = this.getComponent(), $isOwn$$1$$ = !1;!$isOwn$$1$$ && $componentEvent$$111_source$$206$$;) {
    if ($componentEvent$$111_source$$206$$ == $self$$3$$) {
      $isOwn$$1$$ = !0;
    } else {
      if ($componentEvent$$111_source$$206$$ instanceof AdfRichTimeline || $componentEvent$$111_source$$206$$ instanceof AdfUIPopup) {
        break;
      }
      $componentEvent$$111_source$$206$$ = $componentEvent$$111_source$$206$$.getParent();
    }
  }
  return $isOwn$$1$$;
};
$JSCompiler_prototypeAlias$$.getGlassPane = function $$JSCompiler_prototypeAlias$$$getGlassPane$() {
  var $component$$585$$ = this.getComponent();
  return AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId($component$$585$$.getClientId(), "glass"));
};
function $JSCompiler_StaticMethods_getMask$$($JSCompiler_StaticMethods_getMask$self$$) {
  var $component$$586_mask$$5$$ = $JSCompiler_StaticMethods_getMask$self$$.getComponent(), $component$$586_mask$$5$$ = AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId($component$$586_mask$$5$$.getClientId(), "mask"));
  return null == $component$$586_mask$$5$$ || !$JSCompiler_StaticMethods_getMask$self$$.$isOfflineMode$() || $AdfDhtmlTimelineSeriesPeer$$.$isIE7$() || $AdfDhtmlTimelineSeriesPeer$$.$isIE8$() ? $component$$586_mask$$5$$ : null;
}
$JSCompiler_prototypeAlias$$.$getScroller$ = function $$JSCompiler_prototypeAlias$$$$getScroller$$() {
  var $component$$587$$ = this.getComponent();
  return AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId($component$$587$$.getClientId(), "container"));
};
$JSCompiler_prototypeAlias$$.$getBlockSize$ = function $$JSCompiler_prototypeAlias$$$$getBlockSize$$() {
  return this.$_timelineSeriesPeers$[0].$getBlockSize$();
};
$JSCompiler_prototypeAlias$$.$getBlockInfoWithData$ = function $$JSCompiler_prototypeAlias$$$$getBlockInfoWithData$$() {
  return this.$_timelineSeriesPeers$[0].$getBlockInfoWithData$();
};
function $JSCompiler_StaticMethods_getCurrentTick$$($index$$92$$, $zoomMarker$$4$$) {
  for (var $agent$$90$$ = AdfAgent.AGENT, $currentTick$$3$$ = $zoomMarker$$4$$.previousSibling;$currentTick$$3$$;) {
    var $tickIndex$$ = $agent$$90$$.getAttribute($currentTick$$3$$, "index");
    if (null == $tickIndex$$) {
      break;
    }
    if ($tickIndex$$ == $index$$92$$) {
      break;
    }
    $currentTick$$3$$ = $currentTick$$3$$.previousSibling;
  }
  return $currentTick$$3$$;
}
$JSCompiler_prototypeAlias$$.$HandleComponentMouseDown$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentMouseDown$$($componentEvent$$112_domEvent$$81$$) {
  if (this.$isOwnComponentEvent$($componentEvent$$112_domEvent$$81$$)) {
    $componentEvent$$112_domEvent$$81$$ = $componentEvent$$112_domEvent$$81$$.getNativeEvent();
    var $agent$$91$$ = AdfAgent.AGENT;
    $agent$$91$$.preventDefault($componentEvent$$112_domEvent$$81$$);
    var $marker$$2_target$$153$$ = $agent$$91$$.getEventTarget($componentEvent$$112_domEvent$$81$$);
    if ($agent$$91$$.isLeftButton($componentEvent$$112_domEvent$$81$$) && $marker$$2_target$$153$$) {
      var $container$$10_zoomMarkerId$$4$$ = AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), "zm");
      $marker$$2_target$$153$$.id == $container$$10_zoomMarkerId$$4$$ ? ($marker$$2_target$$153$$ = $agent$$91$$.getElementById($container$$10_zoomMarkerId$$4$$), $marker$$2_target$$153$$.setAttribute("origIndex", $agent$$91$$.getAttribute($marker$$2_target$$153$$, "index")), AdfPage.PAGE.startDrag($componentEvent$$112_domEvent$$81$$, this.createCallback(this.$handleZoomMarkerDragPositioning$), this.createCallback(this.$finishZoomMarkerDrag$))) : $AdfTimelineUtils$$.$supportsTouch$() || ($container$$10_zoomMarkerId$$4$$ = 
      this.$getScroller$(), AdfDhtmlTimelinePeer.$isAncestorOrSelf$($container$$10_zoomMarkerId$$4$$, $marker$$2_target$$153$$) && ($agent$$91$$.eatEvent($componentEvent$$112_domEvent$$81$$), AdfPage.PAGE.startDrag($componentEvent$$112_domEvent$$81$$, this.createCallback(this.$handleDatabodyDragPositioning$), this.createCallback(this.$finishDatabodyDrag$))));
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.HandleComponentMouseDown", AdfDhtmlTimelinePeer.prototype.$HandleComponentMouseDown$);
$JSCompiler_prototypeAlias$$ = AdfDhtmlTimelinePeer.prototype;
$JSCompiler_prototypeAlias$$.$findTimelineSeries$ = function $$JSCompiler_prototypeAlias$$$$findTimelineSeries$$($target$$154$$) {
  for (var $i$$254$$ = 0;$i$$254$$ < this.$_timelineSeriesPeers$.length;$i$$254$$++) {
    var $timelineSeries$$1$$ = this.$_timelineSeriesPeers$[$i$$254$$];
    if (AdfDhtmlTimelinePeer.$isAncestorOrSelf$($timelineSeries$$1$$.getDomElement(), $target$$154$$)) {
      return $timelineSeries$$1$$;
    }
  }
  return null;
};
$JSCompiler_prototypeAlias$$.$getElemPos$ = function $$JSCompiler_prototypeAlias$$$$getElemPos$$($elem$$76$$) {
  return AdfPage.PAGE.getLocaleContext().isRightToLeft() ? parseInt($elem$$76$$.style.right) : parseInt($elem$$76$$.style.left);
};
$JSCompiler_prototypeAlias$$.$setElemPos$ = function $$JSCompiler_prototypeAlias$$$$setElemPos$$($elem$$77$$, $pos$$33$$) {
  AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $elem$$77$$.style.right = $pos$$33$$ + "px" : $elem$$77$$.style.left = $pos$$33$$ + "px";
};
$JSCompiler_prototypeAlias$$.$handleZoomMarkerDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$handleZoomMarkerDragPositioning$$($domEvent$$82$$, $deltaX$$30$$) {
  AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($deltaX$$30$$ = 0 - $deltaX$$30$$);
  var $zoomMarker$$5$$ = AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), "zm")), $markerPos$$ = this.$getElemPos$($zoomMarker$$5$$) + $deltaX$$30$$, $markerCenter$$ = $markerPos$$ + $zoomMarker$$5$$.offsetWidth / 2, $firstTick_firstTickPos$$ = $zoomMarker$$5$$.parentNode.firstChild.nextSibling, $firstTick_firstTickPos$$ = this.$getElemPos$($firstTick_firstTickPos$$) + $firstTick_firstTickPos$$.offsetWidth / 2, $lastTick_lastTickPos$$ = $zoomMarker$$5$$.previousSibling, 
  $lastTick_lastTickPos$$ = this.$getElemPos$($lastTick_lastTickPos$$) + $lastTick_lastTickPos$$.offsetWidth / 2;
  $markerCenter$$ <= $lastTick_lastTickPos$$ && $markerCenter$$ >= $firstTick_firstTickPos$$ && this.$setElemPos$($zoomMarker$$5$$, $markerPos$$);
};
$JSCompiler_prototypeAlias$$.$finishZoomMarkerDrag$ = function $$JSCompiler_prototypeAlias$$$$finishZoomMarkerDrag$$() {
  for (var $agent$$93_zoomTo$$inline_4420$$ = AdfAgent.AGENT, $evt$$205_zoomMarker$$6$$ = $agent$$93_zoomTo$$inline_4420$$.getElementById(AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), "zm")), $markerPos$$1_oldIndex$$1_width$$46$$ = $evt$$205_zoomMarker$$6$$.offsetWidth, $newIndex_zoomMarkerCenter$$ = this.$getElemPos$($evt$$205_zoomMarker$$6$$) + $markerPos$$1_oldIndex$$1_width$$46$$ / 2, $component$$588_currentTick$$4$$ = null, $currentDist$$ = null, $ticks$$ = $evt$$205_zoomMarker$$6$$.parentNode.childNodes, 
  $closest$$ = $ticks$$[1], $closestDist$$ = Math.abs($newIndex_zoomMarkerCenter$$ - (parseInt(this.$getElemPos$($closest$$)) + parseInt($closest$$.offsetWidth) / 2)), $i$$255$$ = 2;$i$$255$$ < $ticks$$.length - 2;$i$$255$$++) {
    null != $agent$$93_zoomTo$$inline_4420$$.getAttribute($ticks$$[$i$$255$$], "tick") && ($component$$588_currentTick$$4$$ = $ticks$$[$i$$255$$], $currentDist$$ = Math.abs($newIndex_zoomMarkerCenter$$ - (parseInt(this.$getElemPos$($component$$588_currentTick$$4$$)) + parseInt($component$$588_currentTick$$4$$.offsetWidth) / 2)), $currentDist$$ < $closestDist$$ && ($closestDist$$ = $currentDist$$, $closest$$ = $component$$588_currentTick$$4$$));
  }
  $markerPos$$1_oldIndex$$1_width$$46$$ = parseInt(this.$getElemPos$($closest$$)) + parseInt(($closest$$.offsetWidth - $markerPos$$1_oldIndex$$1_width$$46$$) / 2);
  this.$setElemPos$($evt$$205_zoomMarker$$6$$, $markerPos$$1_oldIndex$$1_width$$46$$);
  $component$$588_currentTick$$4$$ = this.getComponent();
  $markerPos$$1_oldIndex$$1_width$$46$$ = $agent$$93_zoomTo$$inline_4420$$.getIntAttribute($evt$$205_zoomMarker$$6$$, "origIndex");
  $newIndex_zoomMarkerCenter$$ = $agent$$93_zoomTo$$inline_4420$$.getIntAttribute($closest$$, "index");
  null != $closest$$ && $markerPos$$1_oldIndex$$1_width$$46$$ != $newIndex_zoomMarkerCenter$$ && ($evt$$205_zoomMarker$$6$$.setAttribute("index", $newIndex_zoomMarkerCenter$$), $evt$$205_zoomMarker$$6$$ = new $AdfTimelineZoomEvent$$($component$$588_currentTick$$4$$, 2, $agent$$93_zoomTo$$inline_4420$$.getIntAttribute(this.getDomElement(), "width"), this.getDomElement().offsetWidth, this.$_timelineSeriesPeers$[0].$_blockStartPos$, this.$_timelineSeriesPeers$[0].$_blockEndPos$), $agent$$93_zoomTo$$inline_4420$$ = 
  $agent$$93_zoomTo$$inline_4420$$.getAttribute($closest$$, "tick"), $evt$$205_zoomMarker$$6$$.$_zoomTo$ = $agent$$93_zoomTo$$inline_4420$$, $evt$$205_zoomMarker$$6$$.$_fetchNewPositionOnly$ = $newIndex_zoomMarkerCenter$$ < $markerPos$$1_oldIndex$$1_width$$46$$, $evt$$205_zoomMarker$$6$$.setPartial(!0), AdfPage.PAGE.queueEventToServer($evt$$205_zoomMarker$$6$$));
};
$JSCompiler_prototypeAlias$$.$handleDatabodyDragPositioning$ = function $$JSCompiler_prototypeAlias$$$$handleDatabodyDragPositioning$$($domEvent$$84_target$$155$$, $deltaX$$32$$, $deltaY$$32$$) {
  $domEvent$$84_target$$155$$ = null == $domEvent$$84_target$$155$$ ? null : AdfAgent.AGENT.getEventTarget($domEvent$$84_target$$155$$);
  $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$$(this, $domEvent$$84_target$$155$$, $deltaX$$32$$, $deltaY$$32$$);
};
function $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$$($JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$, $target$$156_timelineSeries$$2$$, $deltaX$$33_diffNav$$, $deltaY$$33_scrollPos$$19$$) {
  if (!$JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$_isScrollingDisabled$) {
    var $vertical$$2$$ = $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$isVertical$(), $container$$11_totalSize$$2$$ = $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$getScroller$();
    if ($vertical$$2$$) {
      var $diffScroll_overview$$4$$ = 0 - $deltaY$$33_scrollPos$$19$$;
      $deltaX$$33_diffNav$$ = 0 - $deltaX$$33_diffNav$$;
    } else {
      $diffScroll_overview$$4$$ = 0 - $deltaX$$33_diffNav$$, $deltaX$$33_diffNav$$ = 0 - $deltaY$$33_scrollPos$$19$$;
    }
    if (0 != $diffScroll_overview$$4$$) {
      null != $target$$156_timelineSeries$$2$$ && null == $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$_scrollStartTime$ && ($JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$_scrollStartTime$ = new Date);
      $deltaY$$33_scrollPos$$19$$ = $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$getScrollPos$($container$$11_totalSize$$2$$);
      if ($vertical$$2$$) {
        var $outerSize$$ = $container$$11_totalSize$$2$$.firstChild.offsetHeight, $container$$11_totalSize$$2$$ = parseInt($container$$11_totalSize$$2$$.style.height)
      } else {
        $outerSize$$ = $container$$11_totalSize$$2$$.firstChild.offsetWidth, $container$$11_totalSize$$2$$ = parseInt($container$$11_totalSize$$2$$.style.width);
      }
      0 < $diffScroll_overview$$4$$ && $deltaY$$33_scrollPos$$19$$ <= $outerSize$$ - $container$$11_totalSize$$2$$ && 0 <= $deltaY$$33_scrollPos$$19$$ || 0 > $diffScroll_overview$$4$$ && 0 <= $deltaY$$33_scrollPos$$19$$ ? (!$vertical$$2$$ && AdfPage.PAGE.getLocaleContext().isRightToLeft() && ($diffScroll_overview$$4$$ = -$diffScroll_overview$$4$$), $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$ScrollByAmount$($diffScroll_overview$$4$$, !0)) : 0 < $diffScroll_overview$$4$$ && 
      $deltaY$$33_scrollPos$$19$$ >= $outerSize$$ - $container$$11_totalSize$$2$$ && 0 <= $deltaY$$33_scrollPos$$19$$ && ($diffScroll_overview$$4$$ = $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$getTimelineOverviewPeer$(), null != $diffScroll_overview$$4$$ && $diffScroll_overview$$4$$.$ScrollToEnd$());
    }
    0 == $deltaX$$33_diffNav$$ || $vertical$$2$$ || null == $target$$156_timelineSeries$$2$$ || ($target$$156_timelineSeries$$2$$ = $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$findTimelineSeries$($target$$156_timelineSeries$$2$$), null != $target$$156_timelineSeries$$2$$ && ($JSCompiler_StaticMethods_scrollVertical$$($target$$156_timelineSeries$$2$$, $deltaX$$33_diffNav$$), $JSCompiler_StaticMethods_showOrHideTimeAxis$$($target$$156_timelineSeries$$2$$, !0), $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$self$$.$_currentTimeSeries$ = 
    $target$$156_timelineSeries$$2$$));
  }
}
$JSCompiler_prototypeAlias$$.$finishDatabodyDrag$ = function $$JSCompiler_prototypeAlias$$$$finishDatabodyDrag$$($domEvent$$85$$, $deltaX$$34$$) {
  null != this.$_scrollStartTime$ && ((new Date).getTime() - this.$_scrollStartTime$.getTime() < AdfDhtmlTimelinePeer.$CLICK_SCROLL_THRESHOLD$ && AdfPage.PAGE.scheduleTimer(this, this.$handleClickScroll$, {speed:Math.round($deltaX$$34$$ / 1), counter:0}, 100), delete this.$_scrollStartTime$, this.$_scrollStartTime$ = null);
  null != this.$_currentTimeSeries$ && ($JSCompiler_StaticMethods_showOrHideTimeAxis$$(this.$_currentTimeSeries$, !1), this.$_currentTimeSeries$ = null);
};
$JSCompiler_prototypeAlias$$.$handleClickScroll$ = function $$JSCompiler_prototypeAlias$$$$handleClickScroll$$($counter$$1_info$$4$$) {
  var $speed$$1$$ = $counter$$1_info$$4$$.speed;
  $counter$$1_info$$4$$ = $counter$$1_info$$4$$.$counter$;
  this.$handleDatabodyDragPositioning$(null, $speed$$1$$, 0);
  80 > $counter$$1_info$$4$$ && (0 == $counter$$1_info$$4$$ % 10 && ($speed$$1$$ = Math.ceil($speed$$1$$ / 2)), AdfPage.PAGE.scheduleTimer(this, this.$handleClickScroll$, {speed:$speed$$1$$, counter:$counter$$1_info$$4$$ + 1}, 10));
};
function $JSCompiler_StaticMethods_ScrollTo$$($JSCompiler_StaticMethods_ScrollTo$self$$, $scrollTo$$1$$) {
  var $component$$589$$ = $JSCompiler_StaticMethods_ScrollTo$self$$.getComponent();
  $JSCompiler_StaticMethods_ScrollTo$self$$.setScrollPos(Math.max(0, $scrollTo$$1$$));
  $component$$589$$.setProperty("scrollLeft", $JSCompiler_StaticMethods_ScrollTo$self$$.$getScrollPos$(), !0, AdfUIComponent.PROPAGATE_ALWAYS);
}
$JSCompiler_prototypeAlias$$.$ScrollToStart$ = function $$JSCompiler_prototypeAlias$$$$ScrollToStart$$() {
  $JSCompiler_StaticMethods_ScrollTo$$(this, 0);
};
$JSCompiler_prototypeAlias$$.$ScrollToEnd$ = function $$JSCompiler_prototypeAlias$$$$ScrollToEnd$$() {
  var $timelineSize$$ = AdfAgent.AGENT.getIntAttribute(this.getDomElement(), "width");
  $JSCompiler_StaticMethods_ScrollTo$$(this, $timelineSize$$);
};
$JSCompiler_prototypeAlias$$.$ScrollByAmount$ = function $$JSCompiler_prototypeAlias$$$$ScrollByAmount$$($amount$$2$$, $scrollOverview$$) {
  this.scrollToPos(this.$getScrollPos$() + $amount$$2$$, !1);
  if ($scrollOverview$$) {
    var $overview$$5$$ = this.$getTimelineOverviewPeer$();
    null != $overview$$5$$ && (0 == this.$getScrollPos$() ? $overview$$5$$.$ScrollToStart$() : $overview$$5$$.$ScrollByAmount$($amount$$2$$));
  }
};
$JSCompiler_prototypeAlias$$.scrollToPos = function $$JSCompiler_prototypeAlias$$$scrollToPos$($pos$$35$$, $skipUpdate$$) {
  this.$_completeDelayedScroll$ && (this.$_completeDelayedScroll$ = !1);
  var $scrollPos$$20$$ = this.$getScrollPos$();
  $scrollPos$$20$$ != $pos$$35$$ && ($scrollPos$$20$$ = Math.max(0, $pos$$35$$), this.setScrollPos($scrollPos$$20$$), $scrollPos$$20$$ = this.$getScrollPos$(), $JSCompiler_StaticMethods_scrollAndFetch$$(this, $scrollPos$$20$$, $skipUpdate$$));
};
function $JSCompiler_StaticMethods_scrollAndFetch$$($JSCompiler_StaticMethods_scrollAndFetch$self$$, $pos$$36$$, $blockStartPos_skipUpdate$$1$$) {
  var $blockEndPos_component$$590$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.getComponent();
  $blockStartPos_skipUpdate$$1$$ || $blockEndPos_component$$590$$.setProperty("scrollLeft", parseInt($pos$$36$$), !0, AdfUIComponent.PROPAGATE_ALWAYS);
  $blockStartPos_skipUpdate$$1$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.$_timelineSeriesPeers$[0].$_blockStartPos$;
  var $blockEndPos_component$$590$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.$_timelineSeriesPeers$[0].$_blockEndPos$, $blockSize$$1_timelineSize$$1$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.$getBlockSize$();
  if ($pos$$36$$ > $blockEndPos_component$$590$$ + $blockSize$$1_timelineSize$$1$$ || $pos$$36$$ < $blockStartPos_skipUpdate$$1$$ - $blockSize$$1_timelineSize$$1$$) {
    $JSCompiler_StaticMethods_startFetch$$($JSCompiler_StaticMethods_scrollAndFetch$self$$, 3, $blockSize$$1_timelineSize$$1$$ * Math.floor($pos$$36$$ / $blockSize$$1_timelineSize$$1$$));
  } else {
    var $container$$12_totalSize$$3$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.$getScroller$(), $blockSize$$1_timelineSize$$1$$ = AdfAgent.AGENT.getIntAttribute($JSCompiler_StaticMethods_scrollAndFetch$self$$.getDomElement(), "width"), $container$$12_totalSize$$3$$ = $JSCompiler_StaticMethods_scrollAndFetch$self$$.$isVertical$() ? parseInt($container$$12_totalSize$$3$$.style.height) : parseInt($container$$12_totalSize$$3$$.style.width);
    $container$$12_totalSize$$3$$ + $pos$$36$$ > $blockEndPos_component$$590$$ && $container$$12_totalSize$$3$$ + $pos$$36$$ <= $blockSize$$1_timelineSize$$1$$ ? $JSCompiler_StaticMethods_startFetch$$($JSCompiler_StaticMethods_scrollAndFetch$self$$, 2, $blockEndPos_component$$590$$) : 0 <= $pos$$36$$ && $pos$$36$$ < $blockStartPos_skipUpdate$$1$$ && $JSCompiler_StaticMethods_startFetch$$($JSCompiler_StaticMethods_scrollAndFetch$self$$, 1, $blockStartPos_skipUpdate$$1$$);
  }
}
function $JSCompiler_StaticMethods_startFetch$$($JSCompiler_StaticMethods_startFetch$self$$, $subtype$$2$$, $pos$$37$$) {
  if ($subtype$$2$$ != $JSCompiler_StaticMethods_startFetch$self$$.$_pendingFetch$ || $pos$$37$$ != $JSCompiler_StaticMethods_startFetch$self$$.$_fetchPos$) {
    for (var $canceled$$6$$ = !1, $i$$256$$ = 0;$i$$256$$ < $JSCompiler_StaticMethods_startFetch$self$$.$_timelineSeriesPeers$.length;$i$$256$$++) {
      null == $JSCompiler_StaticMethods_queueFetchEvent$$($JSCompiler_StaticMethods_startFetch$self$$.$_timelineSeriesPeers$[$i$$256$$], $subtype$$2$$, $pos$$37$$) && ($canceled$$6$$ = !0);
    }
    $canceled$$6$$ || ($JSCompiler_StaticMethods_startFetch$self$$.$_pendingFetch$ = $subtype$$2$$, $JSCompiler_StaticMethods_startFetch$self$$.$_fetchPos$ = $pos$$37$$);
  }
}
$JSCompiler_prototypeAlias$$.$cancelPendingFetch$ = function $$JSCompiler_prototypeAlias$$$$cancelPendingFetch$$() {
  this.$_pendingFetch$ = void 0;
};
$JSCompiler_prototypeAlias$$.$ComponentScrollLeftChanged$ = function $$JSCompiler_prototypeAlias$$$$ComponentScrollLeftChanged$$($component$$591$$, $domElement$$212$$, $newValue$$146$$) {
  this.scrollToPos($newValue$$146$$, !0);
  return !1;
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.ComponentScrollLeftChanged", AdfDhtmlTimelinePeer.prototype.$ComponentScrollLeftChanged$);
AdfDhtmlTimelinePeer.prototype.$ComponentScrollTopChanged$ = function $AdfDhtmlTimelinePeer$$$ComponentScrollTopChanged$$() {
  return !1;
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.ComponentScrollTopChanged", AdfDhtmlTimelinePeer.prototype.$ComponentScrollTopChanged$);
AdfDhtmlTimelinePeer.prototype.$handleDatabodyWidthChange$ = function $AdfDhtmlTimelinePeer$$$handleDatabodyWidthChange$$($newSize$$4_pos$$38$$, $isExpand$$1_start$$31$$, $isRightHandle_viewportSize$$4$$) {
  for (var $end$$14_i$$258$$ = 0;$end$$14_i$$258$$ < this.$_timelineSeriesPeers$.length;$end$$14_i$$258$$++) {
    this.$_timelineSeriesPeers$[$end$$14_i$$258$$].$handleDatabodyWidthChange$($newSize$$4_pos$$38$$, $isExpand$$1_start$$31$$);
  }
  if (!$AdfTimelineUtils$$.$supportsTouch$()) {
    var $agent$$95_focusDate$$ = AdfAgent.AGENT, $scrollPos$$21_vertical$$3$$ = this.$isVertical$(), $root$$13_size$$28$$ = this.getDomElement();
    $isExpand$$1_start$$31$$ = $agent$$95_focusDate$$.getIntAttribute($root$$13_size$$28$$, "start");
    var $end$$14_i$$258$$ = $agent$$95_focusDate$$.getIntAttribute($root$$13_size$$28$$, "end"), $root$$13_size$$28$$ = $agent$$95_focusDate$$.getIntAttribute($root$$13_size$$28$$, "width"), $scroller$$23$$ = this.$getScroller$(), $agent$$95_focusDate$$ = $agent$$95_focusDate$$.getIntAttribute($scroller$$23$$, "fd");
    $isRightHandle_viewportSize$$4$$ ? (null == $agent$$95_focusDate$$ && ($scrollPos$$21_vertical$$3$$ = this.$getScrollPos$(), $agent$$95_focusDate$$ = $AdfTimelineUtils$$.$getPositionDate$($isExpand$$1_start$$31$$, $end$$14_i$$258$$, $scrollPos$$21_vertical$$3$$, $root$$13_size$$28$$), $scroller$$23$$.setAttribute("fd", $agent$$95_focusDate$$)), $newSize$$4_pos$$38$$ = $AdfTimelineUtils$$.$getDatePosition$($isExpand$$1_start$$31$$, $end$$14_i$$258$$, $agent$$95_focusDate$$, $newSize$$4_pos$$38$$)) : 
    ($isRightHandle_viewportSize$$4$$ = $scrollPos$$21_vertical$$3$$ ? this.getDomElement().offsetHeight : this.getDomElement().offsetWidth, null == $agent$$95_focusDate$$ && ($scrollPos$$21_vertical$$3$$ = this.$getScrollPos$(), $agent$$95_focusDate$$ = $AdfTimelineUtils$$.$getPositionDate$($isExpand$$1_start$$31$$, $end$$14_i$$258$$, $scrollPos$$21_vertical$$3$$ + $isRightHandle_viewportSize$$4$$, $root$$13_size$$28$$), $scroller$$23$$.setAttribute("fd", $agent$$95_focusDate$$)), $newSize$$4_pos$$38$$ = 
    $AdfTimelineUtils$$.$getDatePosition$($isExpand$$1_start$$31$$, $end$$14_i$$258$$, $agent$$95_focusDate$$, $newSize$$4_pos$$38$$) - $isRightHandle_viewportSize$$4$$);
    this.setScrollPos($newSize$$4_pos$$38$$);
  }
};
function $JSCompiler_StaticMethods_selUnselectAllForAllSeries$$($JSCompiler_StaticMethods_selUnselectAllForAllSeries$self$$) {
  for (var $glassPane$$3_i$$259_items$$3$$ = 0;$glassPane$$3_i$$259_items$$3$$ < $JSCompiler_StaticMethods_selUnselectAllForAllSeries$self$$.$_timelineSeriesPeers$.length;$glassPane$$3_i$$259_items$$3$$++) {
    $JSCompiler_StaticMethods_selUnselectAllForAllSeries$self$$.$_timelineSeriesPeers$[$glassPane$$3_i$$259_items$$3$$].$_selUnselectAll$();
  }
  $glassPane$$3_i$$259_items$$3$$ = $JSCompiler_StaticMethods_selUnselectAllForAllSeries$self$$.getGlassPane();
  if ("block" == $glassPane$$3_i$$259_items$$3$$.style.display) {
    for (var $glassPane$$3_i$$259_items$$3$$ = $glassPane$$3_i$$259_items$$3$$.childNodes[2].childNodes, $j$$59$$ = 0;$j$$59$$ < $glassPane$$3_i$$259_items$$3$$.length;$j$$59$$++) {
      var $JSCompiler_StaticMethods_unselectDisclosedItem$self$$inline_4425$$ = $JSCompiler_StaticMethods_selUnselectAllForAllSeries$self$$.$_expandedSeriesCallback$, $item$$inline_4426$$ = $glassPane$$3_i$$259_items$$3$$[$j$$59$$], $rowKey$$inline_4427$$ = AdfAgent.AGENT.getAttribute($item$$inline_4426$$, $AdfDhtmlTimelineSeriesPeer$$.$_ROW_KEY$);
      null != $rowKey$$inline_4427$$ && $JSCompiler_StaticMethods__selUnselectItem$$($JSCompiler_StaticMethods_unselectDisclosedItem$self$$inline_4425$$, $rowKey$$inline_4427$$, $item$$inline_4426$$);
    }
  }
}
function $JSCompiler_StaticMethods_setLastRowKey$$($JSCompiler_StaticMethods_setLastRowKey$self$$, $lastRowKey$$, $lastItem$$, $seriesId$$4$$) {
  if (null == $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$) {
    $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$ = {};
  } else {
    var $itemBox$$ = $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$.item.firstChild;
    $AdfDhtmlCommonUtils$$.$removeCSSClassName$($itemBox$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
    var $itemFeeler$$ = $itemBox$$.nextSibling;
    $AdfDhtmlCommonUtils$$.$removeCSSClassName$($itemFeeler$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
    var $itemTip$$ = $itemFeeler$$.nextSibling;
    $AdfDhtmlCommonUtils$$.$removeCSSClassName$($itemTip$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
  }
  $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$.$rowKey$ = $lastRowKey$$;
  $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$.item = $lastItem$$;
  $JSCompiler_StaticMethods_setLastRowKey$self$$.$_lastRowKey$.$series$ = $seriesId$$4$$;
  $itemBox$$ = $lastItem$$.firstChild;
  $itemFeeler$$ = $itemBox$$.nextSibling;
  $itemTip$$ = $itemFeeler$$.nextSibling;
  $AdfDhtmlCommonUtils$$.$addCSSClassName$($itemBox$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
  $AdfDhtmlCommonUtils$$.$addCSSClassName$($itemFeeler$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
  $AdfDhtmlCommonUtils$$.$addCSSClassName$($itemTip$$, $AdfDhtmlTimelineSeriesPeer$$.$_FOCUSED_CLASS$);
}
AdfDhtmlTimelinePeer.prototype.$HandleComponentKeyDown$ = function $AdfDhtmlTimelinePeer$$$HandleComponentKeyDown$$($componentEvent$$113$$) {
  if (!$componentEvent$$113$$.isCanceled() && this.$isOwnComponentEvent$($componentEvent$$113$$)) {
    var $domEvent$$86$$ = $componentEvent$$113$$.getNativeEvent(), $agent$$98$$ = AdfAgent.AGENT, $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$ = $domEvent$$86$$.keyCode;
    switch($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$) {
      case 107:
      ;
      case 187:
        (107 == $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$ || $domEvent$$86$$.shiftKey) && $JSCompiler_StaticMethods_ZoomOut$$(this);
        break;
      case 109:
      ;
      case 189:
        $JSCompiler_StaticMethods_ZoomIn$$(this);
    }
    var $propagate$$4$$ = !1, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = this.$_virtInitialized$;
    if ("none" != this.getGlassPane().style.display) {
      switch($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$) {
        case AdfKeyStroke.M_KEY:
          $domEvent$$86$$.ctrlKey && $domEvent$$86$$.altKey && $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ ? this.$_expandedSeriesCallback$.$handleKeyboardContextMenu$($domEvent$$86$$, !0) : $propagate$$4$$ = !0;
          break;
        case AdfKeyStroke.ESC_KEY:
          this.$_expandedSeriesCallback$.$handleDisclosure$(null);
          break;
        case AdfKeyStroke.ARROWUP_KEY:
          $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$ = this.$_expandedSeriesCallback$;
          $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $JSCompiler_StaticMethods_GetLastRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$);
          if (null != $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ && ($item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $JSCompiler_StaticMethods_findItemByRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, 
          $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$), null != $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$)) {
            var $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$.previousSibling, $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$ = AdfAgent.AGENT.getAttribute($item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$, 
            $AdfDhtmlTimelineSeriesPeer$$.$_ROW_KEY$);
            if (null != $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$) {
              var $isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ = $JSCompiler_StaticMethods_isMultipleItemSelect$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$);
              "none" == $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$.style.display && $JSCompiler_StaticMethods_handleNavigateUp$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$);
              $domEvent$$86$$.shiftKey && $isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ ? $JSCompiler_StaticMethods__selIsSelected$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$) ? $JSCompiler_StaticMethods__selUnselectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, 
              $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$) : $JSCompiler_StaticMethods__selSelectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$) : 
              $domEvent$$86$$.ctrlKey && $isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ || ($JSCompiler_StaticMethods_selUnselectAllForAllSeries$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.$getTimelinePeer$()), $JSCompiler_StaticMethods__selSelectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, 
              $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$));
              $JSCompiler_StaticMethods_setLastRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.$getTimelinePeer$(), $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$, $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.getComponent().getClientId());
            }
          }
          break;
        case AdfKeyStroke.ARROWDOWN_KEY:
          $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$ = this.$_expandedSeriesCallback$;
          $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $JSCompiler_StaticMethods_GetLastRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$);
          null != $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ && ($item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $JSCompiler_StaticMethods_findItemByRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$), 
          null != $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ && ($item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ = $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$.nextSibling, null != $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$ && 
          ($nextRowKey$$inline_4442_prevRowKey$$inline_4434$$ = AdfAgent.AGENT.getAttribute($item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$, $AdfDhtmlTimelineSeriesPeer$$.$_ROW_KEY$), null != $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$ && ($isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ = $JSCompiler_StaticMethods_isMultipleItemSelect$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$), 
          "none" == $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$.style.display && $JSCompiler_StaticMethods_handleNavigateDown$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$), $domEvent$$86$$.shiftKey && $isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ ? $JSCompiler_StaticMethods__selIsSelected$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, 
          $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$) ? $JSCompiler_StaticMethods__selUnselectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$) : $JSCompiler_StaticMethods__selSelectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, 
          $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$) : $domEvent$$86$$.ctrlKey && $isMultiSelect$$inline_4435_isMultiSelect$$inline_4443$$ || ($JSCompiler_StaticMethods_selUnselectAllForAllSeries$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.$getTimelinePeer$()), 
          $JSCompiler_StaticMethods__selSelectItem$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$, $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$)), $JSCompiler_StaticMethods_setLastRowKey$$($JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.$getTimelinePeer$(), 
          $nextRowKey$$inline_4442_prevRowKey$$inline_4434$$, $item$$inline_4432_item$$inline_4440_nextItem$$inline_4441_prevItem$$inline_4433_rowKey$$inline_4431_rowKey$$inline_4439_virtInitialized$$, $JSCompiler_StaticMethods_handleGlassPaneDownArrow$self$$inline_4437_JSCompiler_StaticMethods_handleGlassPaneUpArrow$self$$inline_4429_keyCode$$26$$.getComponent().getClientId())))));
          break;
        default:
          $propagate$$4$$ = !0;
      }
      $propagate$$4$$ || ($componentEvent$$113$$.stopBubbling(), $agent$$98$$.eatEvent($domEvent$$86$$));
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.HandleComponentKeyDown", AdfDhtmlTimelinePeer.prototype.$HandleComponentKeyDown$);
AdfDhtmlTimelinePeer.prototype.HandleComponentMouseOver = function $AdfDhtmlTimelinePeer$$HandleComponentMouseOver$($JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$) {
  this.$_isOutside$ && (this.$showHotspots$(), this.$hideHotspots$(!1), this.$_isOutside$ = !1);
  var $domEvent$$87_scrollPos$$23_series$$9$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.getNativeEvent(), $agent$$99_i$$260_root$$inline_4454$$ = AdfAgent.AGENT;
  $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$ = $agent$$99_i$$260_root$$inline_4454$$.getEventTarget($domEvent$$87_scrollPos$$23_series$$9$$);
  var $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$;
  if (null == $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$) {
    $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = null;
  } else {
    if ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = null != $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.hotspot ? $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$ : 
    null, null == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ && null != $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.parentNode && null != $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.parentNode.hotspot && 
    ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.parentNode), null == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$) {
      $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = null;
    } else {
      var $result$$inline_4447_seriesId$$5_size$$29$$ = {};
      $result$$inline_4447_seriesId$$5_size$$29$$.name = $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.hotspot;
      $result$$inline_4447_seriesId$$5_size$$29$$.target = $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$;
      $result$$inline_4447_seriesId$$5_size$$29$$.seriesId = $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.seriesId;
      $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = $result$$inline_4447_seriesId$$5_size$$29$$;
    }
  }
  if (null != $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$) {
    if (this.$_virtInitialized$ && null == this.$_autoScrollTimer$) {
      this.$showHotspots$();
      var $domEvent$$87_scrollPos$$23_series$$9$$ = this.$getScrollPos$(), $result$$inline_4447_seriesId$$5_size$$29$$ = this.$isVertical$() ? this.getDomElement().offsetHeight : this.getDomElement().offsetWidth, $increment$$2$$ = 1;
      switch($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.name) {
        case "leftMost":
          $increment$$2$$ = 3;
        case "left":
          0 < $domEvent$$87_scrollPos$$23_series$$9$$ ? ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.target.style.visibility = "visible", this.$_autoScrollTimer$ = AdfPage.PAGE.scheduleTimer(this, this.$startAutoScroll$, -1 * $increment$$2$$, 10)) : this.$cancelAutoScroll$();
          break;
        case "rightMost":
          $increment$$2$$ = 3;
        case "right":
          $agent$$99_i$$260_root$$inline_4454$$.getIntAttribute(this.getDomElement(), "width") > $domEvent$$87_scrollPos$$23_series$$9$$ + $result$$inline_4447_seriesId$$5_size$$29$$ ? ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.target.style.visibility = "visible", this.$_autoScrollTimer$ = AdfPage.PAGE.scheduleTimer(this, this.$startAutoScroll$, 
          1 * $increment$$2$$, 10)) : this.$cancelAutoScroll$();
          break;
        case "top":
          for ($agent$$99_i$$260_root$$inline_4454$$ = 0;$agent$$99_i$$260_root$$inline_4454$$ < this.$_timelineSeriesPeers$.length;$agent$$99_i$$260_root$$inline_4454$$++) {
            if ($domEvent$$87_scrollPos$$23_series$$9$$ = this.$_timelineSeriesPeers$[$agent$$99_i$$260_root$$inline_4454$$], $result$$inline_4447_seriesId$$5_size$$29$$ = $domEvent$$87_scrollPos$$23_series$$9$$.getDomElement().id, $result$$inline_4447_seriesId$$5_size$$29$$ == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.seriesId) {
              $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = $domEvent$$87_scrollPos$$23_series$$9$$;
              $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_virtInitialized$ && null == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_autoScrollTimer$ && 
              (0 < $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.getDomElement().scrollTop ? ($JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.style.visibility = "visible", $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_autoScrollTimer$ = 
              AdfPage.PAGE.scheduleTimer($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$, $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$startAutoScroll$, -1, 
              100)) : ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$cancelAutoScroll$(), $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.style.visibility = "hidden"));
              break;
            }
          }
          break;
        case "bottom":
          for ($agent$$99_i$$260_root$$inline_4454$$ = 0;$agent$$99_i$$260_root$$inline_4454$$ < this.$_timelineSeriesPeers$.length;$agent$$99_i$$260_root$$inline_4454$$++) {
            if ($domEvent$$87_scrollPos$$23_series$$9$$ = this.$_timelineSeriesPeers$[$agent$$99_i$$260_root$$inline_4454$$], $result$$inline_4447_seriesId$$5_size$$29$$ = $domEvent$$87_scrollPos$$23_series$$9$$.getDomElement().id, $result$$inline_4447_seriesId$$5_size$$29$$ == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.seriesId) {
              $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = $domEvent$$87_scrollPos$$23_series$$9$$;
              $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_virtInitialized$ && null == $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_autoScrollTimer$ && 
              ($agent$$99_i$$260_root$$inline_4454$$ = $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.getDomElement(), parseInt($JSCompiler_StaticMethods_getDatabody$$($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$).style.height) > 
              $agent$$99_i$$260_root$$inline_4454$$.scrollTop + $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.getDomElement().offsetHeight ? ($JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.style.visibility = "visible", $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$_autoScrollTimer$ = 
              AdfPage.PAGE.scheduleTimer($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$, $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$startAutoScroll$, 1, 100)) : 
              ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$.$cancelAutoScroll$(), $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.style.visibility = "hidden"));
              break;
            }
          }
        ;
      }
    }
  } else {
    "block" == this.getGlassPane().style.display && null != this.$_expandedSeriesCallback$ && 1 == this.$_expandedSeriesCallback$.$_glassPaneReady$ && ($JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$ = this.$_expandedSeriesCallback$, $AdfTimelineUtils$$.$supportsTouch$() ? AdfAgent.AGENT.preventDefault($domEvent$$87_scrollPos$$23_series$$9$$) : ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = 
    AdfAgent.AGENT.getEventTarget($domEvent$$87_scrollPos$$23_series$$9$$), $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = $JSCompiler_StaticMethods_GetRowKeyAndItem$$($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$, 
    $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.getDomElement()), null != $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ && ($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$ = 
    $JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$[1], $JSCompiler_StaticMethods_isItemSelectionEnabled$$($JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$) && $JSCompiler_StaticMethods_handleDisclosedItemMouseOver$self$$inline_4456_componentEvent$$114_hotspot$$inline_4450_hotspot$$inline_4453_target$$157$$.$highlightItem$($JSCompiler_StaticMethods_handleBottomAutoScroll$self$$inline_4452_JSCompiler_StaticMethods_handleTopAutoScroll$self$$inline_4449_attrs$$inline_4459_hotspot_hotspot$$inline_4446_item$$inline_4460_target$$inline_4458$$))))
    ;
  }
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.HandleComponentMouseOver", AdfDhtmlTimelinePeer.prototype.HandleComponentMouseOver);
AdfDhtmlTimelinePeer.prototype.$HandleComponentMouseOut$ = function $AdfDhtmlTimelinePeer$$$HandleComponentMouseOut$$($attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$) {
  var $domEvent$$88_relatedTarget$$1$$ = $attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$.getNativeEvent(), $agent$$100_hotspot$$2$$ = AdfAgent.AGENT, $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$ = $agent$$100_hotspot$$2$$.getEventTarget($domEvent$$88_relatedTarget$$1$$), $domEvent$$88_relatedTarget$$1$$ = $agent$$100_hotspot$$2$$.getEventToElement($domEvent$$88_relatedTarget$$1$$), $agent$$100_hotspot$$2$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.hotspot;
  null == $agent$$100_hotspot$$2$$ && null != $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.parentNode && ($JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.parentNode, $agent$$100_hotspot$$2$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.hotspot);
  if (null != $agent$$100_hotspot$$2$$) {
    if ("left" == $agent$$100_hotspot$$2$$ || "right" == $agent$$100_hotspot$$2$$ || "leftMost" == $agent$$100_hotspot$$2$$ || "rightMost" == $agent$$100_hotspot$$2$$) {
      this.$cancelAutoScroll$();
    } else {
      for (var $seriesId$$6$$ = $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.$seriesId$, $i$$261$$ = 0;$i$$261$$ < this.$_timelineSeriesPeers$.length;$i$$261$$++) {
        if (series = this.$_timelineSeriesPeers$[$i$$261$$], $seriesId$$6$$ = series.getDomElement().id, $seriesId$$6$$ == $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.$seriesId$) {
          series.$cancelAutoScroll$();
          break;
        }
      }
    }
  }
  $domEvent$$88_relatedTarget$$1$$ && (AdfDhtmlTimelinePeer.$isAncestor$(this.getDomElement(), $domEvent$$88_relatedTarget$$1$$) ? null != $agent$$100_hotspot$$2$$ && this.$hideHotspots$(!1) : (this.$hideHotspots$(!0), this.$_isOutside$ = !0));
  "block" == this.getGlassPane().style.display && null != this.$_expandedSeriesCallback$ && 1 == this.$_expandedSeriesCallback$.$_glassPaneReady$ && ($JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$ = this.$_expandedSeriesCallback$, $AdfTimelineUtils$$.$supportsTouch$() || ($attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$ = $attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$.getNativeEventTarget(), $attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$ = 
  $JSCompiler_StaticMethods_GetRowKeyAndItem$$($attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$, $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.getDomElement()), null != $attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$ && $JSCompiler_StaticMethods_handleDisclosedItemMouseOut$self$$inline_4462_target$$159$$.$unhighlightItem$($attrs$$inline_4465_componentEvent$$115_target$$inline_4464$$[1])));
};
$goog$exportSymbol$$("AdfDhtmlTimelinePeer.prototype.HandleComponentMouseOut", AdfDhtmlTimelinePeer.prototype.$HandleComponentMouseOut$);
$JSCompiler_prototypeAlias$$ = AdfDhtmlTimelinePeer.prototype;
$JSCompiler_prototypeAlias$$.$showHotspots$ = function $$JSCompiler_prototypeAlias$$$$showHotspots$$() {
  if (null != this.$_timelineSeriesPeers$) {
    for (var $i$$262$$ = 0;$i$$262$$ < this.$_timelineSeriesPeers$.length;$i$$262$$++) {
      this.$_timelineSeriesPeers$[$i$$262$$].$showHotspots$();
    }
  }
};
$JSCompiler_prototypeAlias$$.$hideHotspots$ = function $$JSCompiler_prototypeAlias$$$$hideHotspots$$($isImmediate$$) {
  if (null != this.$_timelineSeriesPeers$) {
    for (var $i$$263$$ = 0;$i$$263$$ < this.$_timelineSeriesPeers$.length;$i$$263$$++) {
      this.$_timelineSeriesPeers$[$i$$263$$].$hideHotspots$($isImmediate$$);
    }
  }
};
$JSCompiler_prototypeAlias$$.$startAutoScroll$ = function $$JSCompiler_prototypeAlias$$$$startAutoScroll$$($increment$$3$$) {
  this.$showHotspots$();
  this.$ScrollByAmount$($increment$$3$$, !0);
  this.$_autoScrollTimer$ = AdfPage.PAGE.scheduleTimer(this, this.$startAutoScroll$, $increment$$3$$, 10);
};
$JSCompiler_prototypeAlias$$.$cancelAutoScroll$ = function $$JSCompiler_prototypeAlias$$$$cancelAutoScroll$$() {
  null != this.$_autoScrollTimer$ && AdfPage.PAGE.cancelTimer(this.$_autoScrollTimer$);
  this.$_autoScrollTimer$ = null;
};
function $JSCompiler_StaticMethods_isTargetInOverview$$($JSCompiler_StaticMethods_isTargetInOverview$self$$, $target$$160$$) {
  var $overview$$7_overviewId$$ = $JSCompiler_StaticMethods_getTimelineOverview$$($JSCompiler_StaticMethods_isTargetInOverview$self$$);
  if (null == $overview$$7_overviewId$$) {
    return !1;
  }
  var $overview$$7_overviewId$$ = $overview$$7_overviewId$$.getClientId(), $id$$204$$ = $target$$160$$.id;
  return null != $id$$204$$ && 0 == $id$$204$$.indexOf($overview$$7_overviewId$$) ? !0 : $target$$160$$ == $JSCompiler_StaticMethods_isTargetInOverview$self$$.getDomElement() || null == $target$$160$$.parentNode ? !1 : $JSCompiler_StaticMethods_isTargetInOverview$$($JSCompiler_StaticMethods_isTargetInOverview$self$$, $target$$160$$.parentNode);
}
$JSCompiler_prototypeAlias$$.$_handleTouchStart$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchStart$$($event$$199_target$$161$$) {
  if (2 != $event$$199_target$$161$$.touches.length) {
    return !1;
  }
  $event$$199_target$$161$$ = $event$$199_target$$161$$.touches[0];
  var $nativeTarget$$ = $event$$199_target$$161$$.target;
  if ("BUTTON" == $nativeTarget$$.nodeName || "ANCHOR" == $nativeTarget$$.nodeName) {
    return !1;
  }
  var $clientId$$127_zoomoutId$$1$$ = this.getComponent().getClientId(), $zoominId$$1$$ = AdfRichUIPeer.CreateSubId($clientId$$127_zoomoutId$$1$$, "zi"), $clientId$$127_zoomoutId$$1$$ = AdfRichUIPeer.CreateSubId($clientId$$127_zoomoutId$$1$$, "zo");
  if ($nativeTarget$$.id == $zoominId$$1$$ || $nativeTarget$$.id == $clientId$$127_zoomoutId$$1$$ || $JSCompiler_StaticMethods_isTargetInOverview$$(this, $nativeTarget$$)) {
    return !1;
  }
  this.$_touchStartX$ = $event$$199_target$$161$$.pageX;
  this.$_touchStartY$ = $event$$199_target$$161$$.pageY;
};
$JSCompiler_prototypeAlias$$.$_handleTouchMove$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchMove$$($event$$200_target$$162$$) {
  if (null != this.$_touchStartX$ && null != this.$_touchStartY$) {
    AdfAgent.AGENT.preventDefault($event$$200_target$$162$$);
    $event$$200_target$$162$$ = $event$$200_target$$162$$.targetTouches[0];
    var $deltaX$$35$$ = $event$$200_target$$162$$.pageX - this.$_touchStartX$, $deltaY$$35$$ = $event$$200_target$$162$$.pageY - this.$_touchStartY$;
    0 != $deltaX$$35$$ ? $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$$(this, $event$$200_target$$162$$.target, $deltaX$$35$$, 0) : 0 != $deltaY$$35$$ && $JSCompiler_StaticMethods_handleDatabodyDragPositioningOnTarget$$(this, $event$$200_target$$162$$.target, 0, $deltaY$$35$$);
    this.$_lastDeltaX$ = $deltaX$$35$$;
    this.$_touchStartX$ = $event$$200_target$$162$$.pageX;
    this.$_touchStartY$ = $event$$200_target$$162$$.pageY;
  }
};
$JSCompiler_prototypeAlias$$.$_handleTouchEnd$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchEnd$$() {
  null != this.$_touchStartX$ && null != this.$_touchStartY$ && (this.$finishDatabodyDrag$(0, this.$_lastDeltaX$), this.$_touchStartY$ = this.$_touchStartX$ = null);
};
$JSCompiler_prototypeAlias$$.$_handleGestureChange$ = function $$JSCompiler_prototypeAlias$$$$_handleGestureChange$$($event$$202$$) {
  $event$$202$$.preventDefault();
};
$JSCompiler_prototypeAlias$$.$_handleDomScroll$ = function $$JSCompiler_prototypeAlias$$$$_handleDomScroll$$() {
  var $overview$$8$$ = this.$getTimelineOverviewPeer$();
  if (null == $overview$$8$$ || !$overview$$8$$.$_isDraggingWindow$) {
    var $pos$$40$$ = this.$getScrollPos$();
    $JSCompiler_StaticMethods_scrollAndFetch$$(this, $pos$$40$$, !1);
    var $JSCompiler_temp$$139$$;
    ($JSCompiler_temp$$139$$ = null == $overview$$8$$) || (void 0 != this.$_ignoreScrollUpdate$ ? (this.$_ignoreScrollUpdate$ = void 0, $JSCompiler_temp$$139$$ = !0) : $JSCompiler_temp$$139$$ = !1);
    $JSCompiler_temp$$139$$ || $JSCompiler_StaticMethods_longScrollToPos$$($overview$$8$$, $pos$$40$$);
  }
};
$JSCompiler_prototypeAlias$$.$hideStatus$ = function $$JSCompiler_prototypeAlias$$$$hideStatus$$() {
  AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), "status")).style.display = "none";
};
$JSCompiler_prototypeAlias$$.$displayStatus$ = function $$JSCompiler_prototypeAlias$$$$displayStatus$$() {
  var $status$$5$$ = AdfAgent.AGENT.getElementById(AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), "status"));
  if ("none" == $status$$5$$.style.display) {
    $status$$5$$.style.zIndex = 5E3;
    $status$$5$$.style.visibility = "hidden";
    $status$$5$$.style.display = "block";
    var $overview$$9_overviewSize$$ = this.$getTimelineOverviewPeer$();
    this.$isVertical$() ? ($overview$$9_overviewSize$$ = null != $overview$$9_overviewSize$$ ? $overview$$9_overviewSize$$.getDomElement().offsetWidth : 0, $status$$5$$.style.top = Math.floor(this.getDomElement().offsetHeight / 2 - $status$$5$$.offsetHeight / 2) + "px", $status$$5$$.style.left = Math.floor((this.getDomElement().offsetWidth - $overview$$9_overviewSize$$ - $status$$5$$.offsetWidth) / 2) + "px") : ($overview$$9_overviewSize$$ = null != $overview$$9_overviewSize$$ ? $overview$$9_overviewSize$$.getDomElement().offsetHeight : 
    0, $status$$5$$.style.top = Math.floor((this.getDomElement().offsetHeight - $overview$$9_overviewSize$$ - $status$$5$$.offsetHeight) / 2) + "px", offset = Math.floor(this.getDomElement().offsetWidth / 2 - $status$$5$$.offsetWidth / 2) + "px", AdfPage.PAGE.getLocaleContext().isRightToLeft() ? $status$$5$$.style.right = offset : $status$$5$$.style.left = offset);
    $status$$5$$.style.visibility = "visible";
  }
};
AdfDhtmlTimelinePeer.$isAncestor$ = function $AdfDhtmlTimelinePeer$$isAncestor$$($ancestorNode$$3$$, $node$$44$$) {
  for (var $parentNode$$7$$ = $node$$44$$.parentNode;$parentNode$$7$$;) {
    if ($parentNode$$7$$ == $ancestorNode$$3$$) {
      return !0;
    }
    $parentNode$$7$$ = $parentNode$$7$$.parentNode;
  }
  return !1;
};
AdfDhtmlTimelinePeer.$isAncestorOrSelf$ = function $AdfDhtmlTimelinePeer$$isAncestorOrSelf$$($ancestorNode$$4$$, $node$$45$$) {
  return $node$$45$$ == $ancestorNode$$4$$ ? !0 : AdfDhtmlTimelinePeer.$isAncestor$($ancestorNode$$4$$, $node$$45$$);
};
