window.adf || (window.adf = {});
var $adf$$ = window.adf;
$adf$$.$shared$ = $adf$$.$shared$ || {};
$adf$$.$shared$.$impl$ = $adf$$.$shared$.$impl$ || {};
$adf$$.$shared$.$impl$.$conveyorBelt$ = $adf$$.$shared$.$impl$.$conveyorBelt$ || {};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$($agentName$$7_elemId$$, $orientation$$, $contentParentId$$, $bRtl$$, $buttonInfo$$, $callbackInfo$$) {
  this.$_elemId$ = $agentName$$7_elemId$$;
  this.$_elem$ = document.getElementById(this.$_elemId$);
  this.$_orientation$ = $orientation$$;
  this.$_contentParentId$ = $contentParentId$$;
  this.$_bRtl$ = $bRtl$$;
  $buttonInfo$$ && (this.$_prevButtonId$ = $buttonInfo$$.prevButtonId, this.$_nextButtonId$ = $buttonInfo$$.nextButtonId, this.$_prevButtonStyleClass$ = $buttonInfo$$.prevButtonStyleClass, this.$_nextButtonStyleClass$ = $buttonInfo$$.nextButtonStyleClass, this.$_prevButtonIcon$ = $buttonInfo$$.prevButtonIcon, this.$_nextButtonIcon$ = $buttonInfo$$.nextButtonIcon);
  this.$_prevButtonId$ || (this.$_prevButtonId$ = this.$_elemId$ + "_buttonPrev");
  this.$_nextButtonId$ || (this.$_nextButtonId$ = this.$_elemId$ + "_buttonNext");
  $callbackInfo$$ && (this.$_scrollFunc$ = $callbackInfo$$.scrollFunc, this.$_firstVisibleItemChangedFunc$ = $callbackInfo$$.firstVisibleItemChangedFunc, this.$_callbackObj$ = $callbackInfo$$.callbackObj);
  this.$_bExternalScroll$ = $JSCompiler_alias_TRUE$$;
  this.$_firstVisibleItemIndex$ = 0;
  $agentName$$7_elemId$$ = navigator.userAgent.toLowerCase();
  if(-1 != $agentName$$7_elemId$$.indexOf("gecko/")) {
    this.$_bAgentGecko$ = $JSCompiler_alias_TRUE$$
  }else {
    if(-1 != $agentName$$7_elemId$$.indexOf("opera")) {
      this.$_bAgentOpera$ = $JSCompiler_alias_TRUE$$
    }else {
      if(-1 != $agentName$$7_elemId$$.indexOf("applewebkit") || -1 != $agentName$$7_elemId$$.indexOf("safari")) {
        this.$_bAgentWebkit$ = $JSCompiler_alias_TRUE$$
      }
    }
  }
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.prototype.$setup$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$$setup$$($bInit$$) {
  if($bInit$$) {
    $JSCompiler_StaticMethods__createInnerContainers$$(this);
    $JSCompiler_StaticMethods__createPrevButton$$(this, this.$_prevButtonId$, this.$_prevButtonStyleClass$, this.$_prevButtonIcon$);
    $JSCompiler_StaticMethods__createNextButton$$(this, this.$_nextButtonId$, this.$_nextButtonStyleClass$, this.$_nextButtonIcon$);
    var $cbcClass_contentParent$$1_nextButton$$ = this.$_nextButton$;
    this.$_buttonWidth$ = $cbcClass_contentParent$$1_nextButton$$.offsetWidth;
    this.$_buttonHeight$ = $cbcClass_contentParent$$1_nextButton$$.offsetHeight;
    $JSCompiler_StaticMethods__hidePrevButton$$(this);
    $JSCompiler_StaticMethods__hideNextButton$$(this);
    var $self$$2$$ = this, $cbcClass_contentParent$$1_nextButton$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$;
    this.$_mouseWheelListener$ = function $this$$_mouseWheelListener$$($bInit$$) {
      $self$$2$$.$_handleMouseWheel$($bInit$$)
    };
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_elem$, "mousewheel", this.$_mouseWheelListener$);
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_elem$, "wheel", this.$_mouseWheelListener$);
    this.$_touchStartListener$ = function $this$$_touchStartListener$$($bInit$$) {
      $self$$2$$.$_handleTouchStart$($bInit$$)
    };
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_overflowContainer$, "touchstart", this.$_touchStartListener$);
    this.$_touchMoveListener$ = function $this$$_touchMoveListener$$($bInit$$) {
      $self$$2$$.$_handleTouchMove$($bInit$$)
    };
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_overflowContainer$, "touchmove", this.$_touchMoveListener$);
    this.$_touchEndListener$ = function $this$$_touchEndListener$$($bInit$$) {
      $self$$2$$.$_handleTouchEnd$($bInit$$)
    };
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_overflowContainer$, "touchend", this.$_touchEndListener$);
    $cbcClass_contentParent$$1_nextButton$$.$_addBubbleEventListener$(this.$_overflowContainer$, "touchcancel", this.$_touchEndListener$)
  }
  $cbcClass_contentParent$$1_nextButton$$ = $JSCompiler_alias_NULL$$;
  $cbcClass_contentParent$$1_nextButton$$ = this.$_contentParentId$ ? document.getElementById(this.$_contentParentId$) : this.$_contentContainer$;
  $JSCompiler_StaticMethods__measureContents$$(this, $cbcClass_contentParent$$1_nextButton$$);
  $JSCompiler_StaticMethods__adjustInnerSizes$$(this, $bInit$$)
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.prototype.$destroy$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$$destroy$$() {
  var $elem$$8$$ = this.$_elem$, $cbcClass$$1$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$;
  $cbcClass$$1$$.$_removeBubbleEventListener$($elem$$8$$, "mousewheel", this.$_mouseWheelListener$);
  $cbcClass$$1$$.$_removeBubbleEventListener$($elem$$8$$, "wheel", this.$_mouseWheelListener$);
  $cbcClass$$1$$.$_removeBubbleEventListener$(this.$_overflowContainer$, "touchstart", this.$_touchStartListener$);
  $cbcClass$$1$$.$_removeBubbleEventListener$(this.$_overflowContainer$, "touchmove", this.$_touchMoveListener$);
  $cbcClass$$1$$.$_removeBubbleEventListener$(this.$_overflowContainer$, "touchend", this.$_touchEndListener$);
  $cbcClass$$1$$.$_removeBubbleEventListener$(this.$_overflowContainer$, "touchcancel", this.$_touchEndListener$);
  this.$_touchEndListener$ = this.$_touchMoveListener$ = this.$_touchStartListener$ = this.$_mouseWheelListener$ = $JSCompiler_alias_NULL$$;
  this.$_reparentChildren$(this.$_contentContainer$, this.$_elem$);
  $elem$$8$$.removeChild(this.$_overflowContainer$);
  $elem$$8$$.removeChild(this.$_nextButton$);
  $elem$$8$$.removeChild(this.$_prevButton$);
  this.$_callbackObj$ = this.$_firstVisibleItemChangedFunc$ = this.$_scrollFunc$ = this.$_elem$ = this.$_totalSize$ = this.$_sizes$ = this.$_overflowContainer$ = this.$_contentContainer$ = this.$_prevButton$ = this.$_nextButton$ = $JSCompiler_alias_NULL$$
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_reparentChildren$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_reparentChildren$$($fromNode$$, $toNode$$) {
  for(var $fromNodeChildren$$ = $fromNode$$.childNodes;0 < $fromNodeChildren$$.length;) {
    $toNode$$.appendChild($fromNodeChildren$$[0])
  }
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getComputedStyle$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_getComputedStyle$$($elem$$9$$) {
  var $defView$$ = $elem$$9$$.ownerDocument.defaultView, $computedStyle$$3$$ = $JSCompiler_alias_NULL$$;
  return $computedStyle$$3$$ = $defView$$ ? $defView$$.getComputedStyle($elem$$9$$, $JSCompiler_alias_NULL$$) : $elem$$9$$.currentStyle
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getElemInnerWidth$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_getElemInnerWidth$$($elem$$10$$) {
  var $cbcClass$$2$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$, $computedStyle$$4$$ = $cbcClass$$2$$.$_getComputedStyle$($elem$$10$$);
  return $elem$$10$$.offsetWidth - ($cbcClass$$2$$.$_getCSSLengthAsInt$($computedStyle$$4$$.paddingLeft) + $cbcClass$$2$$.$_getCSSLengthAsInt$($computedStyle$$4$$.paddingRight) + $cbcClass$$2$$.$_getCSSLengthAsInt$($computedStyle$$4$$.borderLeftWidth) + $cbcClass$$2$$.$_getCSSLengthAsInt$($computedStyle$$4$$.borderRightWidth))
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getElemInnerHeight$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_getElemInnerHeight$$($elem$$11$$) {
  var $cbcClass$$3$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$, $computedStyle$$5$$ = $cbcClass$$3$$.$_getComputedStyle$($elem$$11$$);
  return $elem$$11$$.offsetHeight - ($cbcClass$$3$$.$_getCSSLengthAsInt$($computedStyle$$5$$.paddingTop) + $cbcClass$$3$$.$_getCSSLengthAsInt$($computedStyle$$5$$.paddingBottom) + $cbcClass$$3$$.$_getCSSLengthAsInt$($computedStyle$$5$$.borderTopWidth) + $cbcClass$$3$$.$_getCSSLengthAsInt$($computedStyle$$5$$.borderBottomWidth))
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getCSSLengthAsInt$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_getCSSLengthAsInt$$($cssLength$$1_intLength$$1$$) {
  return 0 < $cssLength$$1_intLength$$1$$.length && "auto" != $cssLength$$1_intLength$$1$$ ? ($cssLength$$1_intLength$$1$$ = parseInt($cssLength$$1_intLength$$1$$, 10), isNaN($cssLength$$1_intLength$$1$$) && ($cssLength$$1_intLength$$1$$ = 0), $cssLength$$1_intLength$$1$$) : 0
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_addBubbleEventListener$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_addBubbleEventListener$$($node$$59$$, $type$$130$$, $listener$$85$$) {
  $node$$59$$.addEventListener ? $node$$59$$.addEventListener($type$$130$$, $listener$$85$$, $JSCompiler_alias_FALSE$$) : $node$$59$$.attachEvent && $node$$59$$.attachEvent("on" + $type$$130$$, $listener$$85$$)
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_removeBubbleEventListener$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_removeBubbleEventListener$$($node$$60$$, $type$$131$$, $listener$$86$$) {
  $node$$60$$.removeEventListener ? $node$$60$$.removeEventListener($type$$131$$, $listener$$86$$, $JSCompiler_alias_FALSE$$) : $node$$60$$.detachEvent && $node$$60$$.detachEvent("on" + $type$$131$$, $listener$$86$$)
};
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getWheelDelta$ = function $$adf$$$$shared$$$impl$$$conveyorBelt$$$ConveyorBeltCommon$$$_getWheelDelta$$($event$$103$$) {
  var $wheelDelta$$ = 0;
  return $wheelDelta$$ = $event$$103$$.wheelDelta != $JSCompiler_alias_NULL$$ ? $event$$103$$.wheelDelta : $event$$103$$.deltaY != $JSCompiler_alias_NULL$$ ? -$event$$103$$.deltaY : -$event$$103$$.detail
};
function $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__isHorizontal$self$$) {
  return"horizontal" == $JSCompiler_StaticMethods__isHorizontal$self$$.$_orientation$
}
$JSCompiler_prototypeAlias$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.prototype;
$JSCompiler_prototypeAlias$$.$_isEmpty$ = function $$JSCompiler_prototypeAlias$$$$_isEmpty$$() {
  var $sizes$$1$$ = this.$_sizes$;
  return!$sizes$$1$$ || 1 > $sizes$$1$$.length
};
function $JSCompiler_StaticMethods__adjustInnerSizes$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$, $bInit$$1$$) {
  var $contentContainer_nextButtonStyle$$ = $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_contentContainer$, $contentContainerStyle_origScroll$$ = $contentContainer_nextButtonStyle$$.style, $hOffset_totalSize_vOffset$$ = $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_totalSize$;
  $contentContainerStyle_origScroll$$.width = $hOffset_totalSize_vOffset$$.$w$ + "px";
  $contentContainerStyle_origScroll$$.height = $hOffset_totalSize_vOffset$$.$h$ + "px";
  var $contentContainerStyle_origScroll$$ = $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$), $bHoriz$$ = $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$), $cbcClass$$4_elemInnerSize_prevButtonStyle$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$, $cbcClass$$4_elemInnerSize_prevButtonStyle$$ = $bHoriz$$ ? $cbcClass$$4_elemInnerSize_prevButtonStyle$$.$_getElemInnerWidth$($JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_elem$) : 
  $cbcClass$$4_elemInnerSize_prevButtonStyle$$.$_getElemInnerHeight$($JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_elem$), $ovSize$$ = Math.min($cbcClass$$4_elemInnerSize_prevButtonStyle$$, $bHoriz$$ ? $hOffset_totalSize_vOffset$$.$w$ : $hOffset_totalSize_vOffset$$.$h$);
  $JSCompiler_StaticMethods__setOverflowMaxSize$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$, $ovSize$$);
  $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_minScroll$ = 0;
  $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_maxScroll$ = $bHoriz$$ ? $contentContainer_nextButtonStyle$$.offsetWidth - $cbcClass$$4_elemInnerSize_prevButtonStyle$$ + $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_buttonWidth$ : $contentContainer_nextButtonStyle$$.offsetHeight - $cbcClass$$4_elemInnerSize_prevButtonStyle$$ + $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_buttonHeight$;
  $JSCompiler_StaticMethods__hidePrevButton$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$);
  $JSCompiler_StaticMethods__hideNextButton$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$);
  $contentContainer_nextButtonStyle$$ = $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_nextButton$.style;
  $cbcClass$$4_elemInnerSize_prevButtonStyle$$ = $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_prevButton$.style;
  $bHoriz$$ ? ($hOffset_totalSize_vOffset$$ = 0.5 * ($hOffset_totalSize_vOffset$$.$h$ - $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_buttonHeight$), $contentContainer_nextButtonStyle$$.top = $hOffset_totalSize_vOffset$$ + "px", $cbcClass$$4_elemInnerSize_prevButtonStyle$$.top = $hOffset_totalSize_vOffset$$ + "px") : ($hOffset_totalSize_vOffset$$ = 0.5 * ($hOffset_totalSize_vOffset$$.$w$ - $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_buttonWidth$), $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_bRtl$ ? 
  ($contentContainer_nextButtonStyle$$.left = -$hOffset_totalSize_vOffset$$ + "px", $cbcClass$$4_elemInnerSize_prevButtonStyle$$.left = -$hOffset_totalSize_vOffset$$ + "px") : ($contentContainer_nextButtonStyle$$.left = $hOffset_totalSize_vOffset$$ + "px", $cbcClass$$4_elemInnerSize_prevButtonStyle$$.left = $hOffset_totalSize_vOffset$$ + "px"));
  $JSCompiler_StaticMethods__setCurrScroll$$($JSCompiler_StaticMethods__adjustInnerSizes$self$$, $bInit$$1$$ ? $JSCompiler_StaticMethods__adjustInnerSizes$self$$.$_minScroll$ : $contentContainerStyle_origScroll$$, $JSCompiler_alias_TRUE$$)
}
function $JSCompiler_StaticMethods__createInnerContainers$$($JSCompiler_StaticMethods__createInnerContainers$self$$) {
  var $elem$$12_overflowContainerId_overflowContainerStyle$$ = $JSCompiler_StaticMethods__createInnerContainers$self$$.$_elemId$ + "_overflow", $contentContainerId_contentContainerStyle$$1$$ = $JSCompiler_StaticMethods__createInnerContainers$self$$.$_elemId$ + "_content", $overflowContainer$$ = document.createElement("div");
  $JSCompiler_StaticMethods__createInnerContainers$self$$.$_overflowContainer$ = $overflowContainer$$;
  $overflowContainer$$.id = $elem$$12_overflowContainerId_overflowContainerStyle$$;
  $elem$$12_overflowContainerId_overflowContainerStyle$$ = $overflowContainer$$.style;
  $elem$$12_overflowContainerId_overflowContainerStyle$$.overflow = "hidden";
  $elem$$12_overflowContainerId_overflowContainerStyle$$.display = $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__createInnerContainers$self$$);
  $elem$$12_overflowContainerId_overflowContainerStyle$$.position = "relative";
  var $elem$$12_overflowContainerId_overflowContainerStyle$$ = $JSCompiler_StaticMethods__createInnerContainers$self$$.$_elem$, $cbcClass$$5$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$, $contentContainer$$1$$ = document.createElement("div");
  $JSCompiler_StaticMethods__createInnerContainers$self$$.$_contentContainer$ = $contentContainer$$1$$;
  $contentContainer$$1$$.id = $contentContainerId_contentContainerStyle$$1$$;
  $contentContainerId_contentContainerStyle$$1$$ = $contentContainer$$1$$.style;
  $contentContainerId_contentContainerStyle$$1$$.position = "relative";
  $overflowContainer$$.appendChild($contentContainer$$1$$);
  $cbcClass$$5$$.$_reparentChildren$($elem$$12_overflowContainerId_overflowContainerStyle$$, $contentContainer$$1$$);
  $elem$$12_overflowContainerId_overflowContainerStyle$$.appendChild($overflowContainer$$);
  $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__createInnerContainers$self$$) ? $contentContainerId_contentContainerStyle$$1$$.width = 1E3 * $elem$$12_overflowContainerId_overflowContainerStyle$$.offsetWidth + "px" : $contentContainerId_contentContainerStyle$$1$$.height = 1E3 * $elem$$12_overflowContainerId_overflowContainerStyle$$.offsetHeight + "px";
  $cbcClass$$5$$.$_addBubbleEventListener$($overflowContainer$$, "scroll", function() {
    $JSCompiler_StaticMethods__createInnerContainers$self$$.$_bExternalScroll$ && !$JSCompiler_StaticMethods__createInnerContainers$self$$.$_bScrolling$ && $JSCompiler_StaticMethods__setCurrScrollHelper$$($JSCompiler_StaticMethods__createInnerContainers$self$$, $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__createInnerContainers$self$$), $JSCompiler_alias_TRUE$$)
  })
}
function $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__getCssDisplay$self$$) {
  return $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__getCssDisplay$self$$) ? "inline-block" : "block"
}
function $JSCompiler_StaticMethods__createPrevButton$$($JSCompiler_StaticMethods__createPrevButton$self$$, $buttonId$$6_elem$$13_prevButtonStyle$$1$$, $buttonStyleClass$$, $icon$$1$$) {
  var $prevButton$$1$$ = document.createElement("div");
  $JSCompiler_StaticMethods__createPrevButton$self$$.$_prevButton$ = $prevButton$$1$$;
  $prevButton$$1$$.setAttribute("id", $buttonId$$6_elem$$13_prevButtonStyle$$1$$);
  $prevButton$$1$$.setAttribute("class", $buttonStyleClass$$);
  $prevButton$$1$$.setAttribute("aria-hidden", "true");
  $buttonId$$6_elem$$13_prevButtonStyle$$1$$ = $prevButton$$1$$.style;
  $buttonId$$6_elem$$13_prevButtonStyle$$1$$.display = $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__createPrevButton$self$$);
  $buttonId$$6_elem$$13_prevButtonStyle$$1$$.position = "relative";
  $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__createPrevButton$self$$) && ($buttonId$$6_elem$$13_prevButtonStyle$$1$$.verticalAlign = "top");
  $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_addBubbleEventListener$($prevButton$$1$$, "click", function() {
    $JSCompiler_StaticMethods__createPrevButton$self$$.$_bScrolling$ || $JSCompiler_StaticMethods__setCurrScroll$$($JSCompiler_StaticMethods__createPrevButton$self$$, $JSCompiler_StaticMethods__calcPrevScroll$$($JSCompiler_StaticMethods__createPrevButton$self$$))
  });
  $buttonId$$6_elem$$13_prevButtonStyle$$1$$ = $JSCompiler_StaticMethods__createPrevButton$self$$.$_elem$;
  $buttonId$$6_elem$$13_prevButtonStyle$$1$$.insertBefore($prevButton$$1$$, $buttonId$$6_elem$$13_prevButtonStyle$$1$$.firstChild);
  $icon$$1$$ && $prevButton$$1$$.appendChild($icon$$1$$)
}
function $JSCompiler_StaticMethods__createNextButton$$($JSCompiler_StaticMethods__createNextButton$self$$, $buttonId$$7_nextButtonStyle$$1$$, $buttonStyleClass$$1$$, $icon$$2$$) {
  var $nextButton$$2$$ = document.createElement("div");
  $JSCompiler_StaticMethods__createNextButton$self$$.$_nextButton$ = $nextButton$$2$$;
  $nextButton$$2$$.setAttribute("id", $buttonId$$7_nextButtonStyle$$1$$);
  $nextButton$$2$$.setAttribute("class", $buttonStyleClass$$1$$);
  $nextButton$$2$$.setAttribute("aria-hidden", "true");
  $buttonId$$7_nextButtonStyle$$1$$ = $nextButton$$2$$.style;
  $buttonId$$7_nextButtonStyle$$1$$.display = $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__createNextButton$self$$);
  $buttonId$$7_nextButtonStyle$$1$$.position = "relative";
  $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__createNextButton$self$$) && ($buttonId$$7_nextButtonStyle$$1$$.verticalAlign = "top");
  $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_addBubbleEventListener$($nextButton$$2$$, "click", function() {
    $JSCompiler_StaticMethods__createNextButton$self$$.$_bScrolling$ || $JSCompiler_StaticMethods__setCurrScroll$$($JSCompiler_StaticMethods__createNextButton$self$$, $JSCompiler_StaticMethods__calcNextScroll$$($JSCompiler_StaticMethods__createNextButton$self$$))
  });
  $JSCompiler_StaticMethods__createNextButton$self$$.$_elem$.appendChild($nextButton$$2$$);
  $icon$$2$$ && $nextButton$$2$$.appendChild($icon$$2$$)
}
function $JSCompiler_StaticMethods__measureContents$$($JSCompiler_StaticMethods__measureContents$self$$, $contentParent$$2$$) {
  var $totalSize$$1$$ = {$w$:0, $h$:0}, $sizes$$2$$ = [];
  if($contentParent$$2$$.hasChildNodes()) {
    for(var $children$$10$$ = $contentParent$$2$$.childNodes, $contentWidth$$7$$ = $contentParent$$2$$.offsetWidth, $startOffset$$ = 0, $bHoriz$$1$$ = $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__measureContents$self$$), $prevSizeObj$$ = $JSCompiler_alias_NULL$$, $i$$149$$ = 0;$i$$149$$ < $children$$10$$.length;$i$$149$$++) {
      var $child$$4_overlap$$ = $children$$10$$[$i$$149$$];
      if(1 == $child$$4_overlap$$.nodeType) {
        var $ww$$ = $child$$4_overlap$$.offsetWidth, $hh$$ = $child$$4_overlap$$.offsetHeight, $sizeObj$$1$$ = {$w$:$ww$$, $h$:$hh$$, id:$child$$4_overlap$$.id};
        $bHoriz$$1$$ ? ($sizeObj$$1$$.start = $JSCompiler_StaticMethods__measureContents$self$$.$_bRtl$ ? $contentWidth$$7$$ - ($child$$4_overlap$$.offsetLeft + $ww$$) : $child$$4_overlap$$.offsetLeft, 0 == $i$$149$$ && ($startOffset$$ = $sizeObj$$1$$.start), $sizeObj$$1$$.start -= $startOffset$$, $totalSize$$1$$.$w$ = $sizeObj$$1$$.start + $ww$$, $totalSize$$1$$.$h$ = Math.max($totalSize$$1$$.$h$, $hh$$), $sizeObj$$1$$.end = $totalSize$$1$$.$w$ - 1) : ($sizeObj$$1$$.start = $child$$4_overlap$$.offsetTop, 
        $totalSize$$1$$.$w$ = Math.max($totalSize$$1$$.$w$, $ww$$), $totalSize$$1$$.$h$ = $sizeObj$$1$$.start + $hh$$, $sizeObj$$1$$.end = $totalSize$$1$$.$h$ - 1);
        $prevSizeObj$$ && $prevSizeObj$$.end >= $sizeObj$$1$$.start && ($child$$4_overlap$$ = $prevSizeObj$$.end - ($sizeObj$$1$$.start - 1), $prevSizeObj$$.end -= $child$$4_overlap$$, $bHoriz$$1$$ ? $prevSizeObj$$.$w$ -= $child$$4_overlap$$ : $prevSizeObj$$.$h$ -= $child$$4_overlap$$);
        $sizes$$2$$.push($sizeObj$$1$$);
        $prevSizeObj$$ = $sizeObj$$1$$
      }
    }
  }
  $JSCompiler_StaticMethods__measureContents$self$$.$_totalSize$ = $totalSize$$1$$;
  $JSCompiler_StaticMethods__measureContents$self$$.$_sizes$ = $sizes$$2$$
}
function $JSCompiler_StaticMethods__hideNextButton$$($JSCompiler_StaticMethods__hideNextButton$self$$) {
  $JSCompiler_StaticMethods__hideNextButton$self$$.$_nextButton$.style.display = "none"
}
function $JSCompiler_StaticMethods__hidePrevButton$$($JSCompiler_StaticMethods__hidePrevButton$self$$) {
  $JSCompiler_StaticMethods__hidePrevButton$self$$.$_prevButton$.style.display = "none"
}
function $JSCompiler_StaticMethods__isNextButtonShown$$($JSCompiler_StaticMethods__isNextButtonShown$self$$) {
  return"none" != $JSCompiler_StaticMethods__isNextButtonShown$self$$.$_nextButton$.style.display
}
function $JSCompiler_StaticMethods__updateButtonVisibility$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$, $scroll$$) {
  var $buttonSize$$ = $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$) ? $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_buttonWidth$ : $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_buttonHeight$, $ovScroll$$ = $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$), $ovSize$$1$$ = $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$), 
  $bNeedsScroll$$ = $JSCompiler_StaticMethods__needsScroll$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$);
  $scroll$$ <= $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_minScroll$ ? ("none" != $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_prevButton$.style.display && ($ovSize$$1$$ += $buttonSize$$, $ovScroll$$ -= $buttonSize$$), $JSCompiler_StaticMethods__hidePrevButton$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$)) : $bNeedsScroll$$ && ("none" == $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_prevButton$.style.display && ($ovSize$$1$$ -= $buttonSize$$, 
  $ovScroll$$ += $buttonSize$$), $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_prevButton$.style.display = $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$));
  $scroll$$ >= $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_maxScroll$ ? ($JSCompiler_StaticMethods__isNextButtonShown$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$) && ($ovSize$$1$$ += $buttonSize$$), $JSCompiler_StaticMethods__hideNextButton$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$)) : $bNeedsScroll$$ && ($JSCompiler_StaticMethods__isNextButtonShown$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$) || ($ovSize$$1$$ -= $buttonSize$$), $JSCompiler_StaticMethods__updateButtonVisibility$self$$.$_nextButton$.style.display = 
  $JSCompiler_StaticMethods__getCssDisplay$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$));
  $JSCompiler_StaticMethods__setOverflowScroll$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$, $ovScroll$$);
  $JSCompiler_StaticMethods__setOverflowMaxSize$$($JSCompiler_StaticMethods__updateButtonVisibility$self$$, $ovSize$$1$$)
}
function $JSCompiler_StaticMethods__setOverflowMaxSize$$($JSCompiler_StaticMethods__setOverflowMaxSize$self$$, $size$$12$$) {
  var $overflowContainerStyle$$1$$ = $JSCompiler_StaticMethods__setOverflowMaxSize$self$$.$_overflowContainer$.style, $s$$5$$ = $size$$12$$ + "px";
  $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__setOverflowMaxSize$self$$) ? $overflowContainerStyle$$1$$.maxWidth = $s$$5$$ : $overflowContainerStyle$$1$$.maxHeight = $s$$5$$
}
function $JSCompiler_StaticMethods__setOverflowScroll$$($JSCompiler_StaticMethods__setOverflowScroll$self$$, $scroll$$1$$) {
  var $overflowContainer$$2$$ = $JSCompiler_StaticMethods__setOverflowScroll$self$$.$_overflowContainer$;
  $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__setOverflowScroll$self$$) ? $overflowContainer$$2$$.scrollLeft = $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$$($JSCompiler_StaticMethods__setOverflowScroll$self$$, $scroll$$1$$) : $overflowContainer$$2$$.scrollTop = $scroll$$1$$
}
function $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__getCurrViewportSize$self$$) {
  var $overflowContainer$$3$$ = $JSCompiler_StaticMethods__getCurrViewportSize$self$$.$_overflowContainer$;
  return $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__getCurrViewportSize$self$$) ? $overflowContainer$$3$$.offsetWidth : $overflowContainer$$3$$.offsetHeight
}
function $JSCompiler_StaticMethods__setCurrScroll$$($JSCompiler_StaticMethods__setCurrScroll$self$$, $scroll$$2$$, $bImmediate$$) {
  $JSCompiler_StaticMethods__setCurrScroll$self$$.$_bScrolling$ || ($JSCompiler_StaticMethods__setCurrScroll$self$$.$_bExternalScroll$ = $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods__setCurrScrollHelper$$($JSCompiler_StaticMethods__setCurrScroll$self$$, $scroll$$2$$, $bImmediate$$))
}
function $JSCompiler_StaticMethods__setCurrScrollHelper$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, $scroll$$3$$, $bImmediate$$1$$) {
  if(!$JSCompiler_StaticMethods__setCurrScrollHelper$self$$.$_isEmpty$()) {
    $JSCompiler_StaticMethods__setCurrScrollHelper$self$$.$_bScrolling$ = $JSCompiler_alias_TRUE$$;
    $scroll$$3$$ = $JSCompiler_StaticMethods__constrainScroll$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, $scroll$$3$$);
    $JSCompiler_StaticMethods__updateButtonVisibility$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, $scroll$$3$$);
    var $scrollFunc$$ = $JSCompiler_StaticMethods__setCurrScrollHelper$self$$.$_scrollFunc$;
    $bImmediate$$1$$ || !$scrollFunc$$ || $scroll$$3$$ == $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$) ? $JSCompiler_StaticMethods__onScrollAnimEnd$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, $scroll$$3$$) : $scrollFunc$$.call($JSCompiler_StaticMethods__setCurrScrollHelper$self$$.$_callbackObj$, $JSCompiler_StaticMethods__setCurrScrollHelper$self$$.$_overflowContainer$, $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, 
    $scroll$$3$$), Math.abs($JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$) - $scroll$$3$$) / $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_SCROLL_SPEED$, function() {
      $JSCompiler_StaticMethods__onScrollAnimEnd$$($JSCompiler_StaticMethods__setCurrScrollHelper$self$$, $scroll$$3$$)
    })
  }
}
function $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__getCurrScroll$self$$) {
  var $overflowContainer$$4$$ = $JSCompiler_StaticMethods__getCurrScroll$self$$.$_overflowContainer$;
  return $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__getCurrScroll$self$$) ? $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$$($JSCompiler_StaticMethods__getCurrScroll$self$$, $overflowContainer$$4$$.scrollLeft) : $overflowContainer$$4$$.scrollTop
}
function $JSCompiler_StaticMethods__needsScroll$$($JSCompiler_StaticMethods__needsScroll$self$$) {
  var $contentContainer$$2$$ = $JSCompiler_StaticMethods__needsScroll$self$$.$_contentContainer$, $overflowContainer$$5$$ = $JSCompiler_StaticMethods__needsScroll$self$$.$_overflowContainer$;
  return $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__needsScroll$self$$) ? $contentContainer$$2$$.offsetWidth > $overflowContainer$$5$$.offsetWidth : $contentContainer$$2$$.offsetHeight > $overflowContainer$$5$$.offsetHeight
}
function $JSCompiler_StaticMethods__constrainScroll$$($JSCompiler_StaticMethods__constrainScroll$self$$, $scroll$$4$$) {
  !$JSCompiler_StaticMethods__needsScroll$$($JSCompiler_StaticMethods__constrainScroll$self$$) || $scroll$$4$$ < $JSCompiler_StaticMethods__constrainScroll$self$$.$_minScroll$ ? $scroll$$4$$ = $JSCompiler_StaticMethods__constrainScroll$self$$.$_minScroll$ : $scroll$$4$$ > $JSCompiler_StaticMethods__constrainScroll$self$$.$_maxScroll$ && ($scroll$$4$$ = $JSCompiler_StaticMethods__constrainScroll$self$$.$_maxScroll$);
  return $scroll$$4$$
}
$JSCompiler_prototypeAlias$$.$_handleMouseWheel$ = function $$JSCompiler_prototypeAlias$$$$_handleMouseWheel$$($event$$107$$) {
  var $bConsumeEvent$$ = this.$_bScrolling$;
  if($JSCompiler_StaticMethods__needsScroll$$(this) && !this.$_bScrolling$) {
    var $wheelDelta$$1$$ = $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_getWheelDelta$($event$$107$$);
    0 > $wheelDelta$$1$$ && $JSCompiler_StaticMethods__isNextButtonShown$$(this) ? ($bConsumeEvent$$ = $JSCompiler_alias_TRUE$$, this.$_bScrolling$ || $JSCompiler_StaticMethods__setCurrScroll$$(this, $JSCompiler_StaticMethods__calcNextScroll$$(this))) : 0 < $wheelDelta$$1$$ && "none" != this.$_prevButton$.style.display && ($bConsumeEvent$$ = $JSCompiler_alias_TRUE$$, this.$_bScrolling$ || $JSCompiler_StaticMethods__setCurrScroll$$(this, $JSCompiler_StaticMethods__calcPrevScroll$$(this)))
  }
  $bConsumeEvent$$ && ($event$$107$$.preventDefault(), $event$$107$$.stopPropagation())
};
$JSCompiler_prototypeAlias$$.$_handleTouchStart$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchStart$$($event$$108_eventTouches_firstTouch$$) {
  $event$$108_eventTouches_firstTouch$$ = $event$$108_eventTouches_firstTouch$$.touches;
  $JSCompiler_StaticMethods__needsScroll$$(this) && (!this.$_bScrolling$ && 1 == $event$$108_eventTouches_firstTouch$$.length) && (this.$_bTouch$ = $JSCompiler_alias_TRUE$$, $event$$108_eventTouches_firstTouch$$ = $event$$108_eventTouches_firstTouch$$[0], this.$_touchStartCoord$ = $JSCompiler_StaticMethods__isHorizontal$$(this) ? $event$$108_eventTouches_firstTouch$$.pageX : $event$$108_eventTouches_firstTouch$$.pageY, this.$_touchStartScroll$ = $JSCompiler_StaticMethods__getCurrScroll$$(this), this.$_touchStartNextScroll$ = 
  $JSCompiler_StaticMethods__calcNextScroll$$(this), this.$_touchStartPrevScroll$ = $JSCompiler_StaticMethods__calcPrevScroll$$(this))
};
$JSCompiler_prototypeAlias$$.$_handleTouchMove$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchMove$$($diff_event$$109_firstTouch$$1$$) {
  if(this.$_bTouch$) {
    var $bHoriz$$2$$ = $JSCompiler_StaticMethods__isHorizontal$$(this);
    $diff_event$$109_firstTouch$$1$$ = $diff_event$$109_firstTouch$$1$$.touches[0];
    $diff_event$$109_firstTouch$$1$$ = ($bHoriz$$2$$ ? $diff_event$$109_firstTouch$$1$$.pageX : $diff_event$$109_firstTouch$$1$$.pageY) - this.$_touchStartCoord$;
    var $overflowContainer$$6$$ = this.$_overflowContainer$;
    Math.abs($diff_event$$109_firstTouch$$1$$) < $adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_SWIPE_THRESHOLD$ * ($bHoriz$$2$$ ? $overflowContainer$$6$$.offsetWidth : $overflowContainer$$6$$.offsetHeight) ? $JSCompiler_StaticMethods__setCurrScroll$$(this, this.$_touchStartScroll$ - $diff_event$$109_firstTouch$$1$$, $JSCompiler_alias_TRUE$$) : ($JSCompiler_StaticMethods__setCurrScroll$$(this, ($bHoriz$$2$$ && this.$_bRtl$ ? 0 < $diff_event$$109_firstTouch$$1$$ : 0 > $diff_event$$109_firstTouch$$1$$) ? 
    this.$_touchStartNextScroll$ : this.$_touchStartPrevScroll$), this.$_bTouch$ = $JSCompiler_alias_FALSE$$)
  }
};
$JSCompiler_prototypeAlias$$.$_handleTouchEnd$ = function $$JSCompiler_prototypeAlias$$$$_handleTouchEnd$$() {
  this.$_bTouch$ && $JSCompiler_StaticMethods__setCurrScroll$$(this, this.$_touchStartScroll$);
  this.$_bTouch$ = $JSCompiler_alias_FALSE$$
};
function $JSCompiler_StaticMethods__onScrollAnimEnd$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$, $scroll$$5$$) {
  $JSCompiler_StaticMethods__setOverflowScroll$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$, $scroll$$5$$);
  $JSCompiler_StaticMethods__setExternalScrollTimeout$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$);
  $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_bScrolling$ = $JSCompiler_alias_FALSE$$;
  if($JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemChangedFunc$) {
    $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$ = $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$);
    var $sizes$$3$$ = $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_sizes$, $sizeObj$$2$$ = $sizes$$3$$[$JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$];
    $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$ != $JSCompiler_StaticMethods__calcLastVisibleItemIndex$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$) && ($JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__onScrollAnimEnd$self$$) > $sizeObj$$2$$.start && $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$ < $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_sizes$.length - 2) && ($JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$++, 
    $sizeObj$$2$$ = $sizes$$3$$[$JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemIndex$]);
    $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemId$ = $sizeObj$$2$$.id;
    $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemChangedFunc$.call($JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_callbackObj$, $JSCompiler_StaticMethods__onScrollAnimEnd$self$$.$_firstVisibleItemId$)
  }
}
function $JSCompiler_StaticMethods__setExternalScrollTimeout$$($JSCompiler_StaticMethods__setExternalScrollTimeout$self$$) {
  window.setTimeout(function() {
    $JSCompiler_StaticMethods__setExternalScrollTimeout$self$$ && ($JSCompiler_StaticMethods__setExternalScrollTimeout$self$$.$_bExternalScroll$ = $JSCompiler_alias_TRUE$$)
  }, 0)
}
function $JSCompiler_StaticMethods__calcNextScroll$$($JSCompiler_StaticMethods__calcNextScroll$self$$) {
  var $i$$inline_840_nextIndex$$1$$;
  $i$$inline_840_nextIndex$$1$$ = $JSCompiler_StaticMethods__calcItemIndex$$($JSCompiler_StaticMethods__calcNextScroll$self$$, $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcNextScroll$self$$) + $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__calcNextScroll$self$$));
  var $scroll$$6_sizes$$inline_841$$ = $JSCompiler_StaticMethods__calcNextScroll$self$$.$_sizes$;
  $i$$inline_840_nextIndex$$1$$ = 0 > $i$$inline_840_nextIndex$$1$$ ? $scroll$$6_sizes$$inline_841$$.length - 1 : $i$$inline_840_nextIndex$$1$$;
  $scroll$$6_sizes$$inline_841$$ = 0;
  return $scroll$$6_sizes$$inline_841$$ = $i$$inline_840_nextIndex$$1$$ == $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$$($JSCompiler_StaticMethods__calcNextScroll$self$$) ? $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcNextScroll$self$$) + $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__calcNextScroll$self$$) : $JSCompiler_StaticMethods__calcNextScroll$self$$.$_sizes$[$i$$inline_840_nextIndex$$1$$].start
}
function $JSCompiler_StaticMethods__calcPrevScroll$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) {
  var $i$$inline_844_prevIndex$$;
  $i$$inline_844_prevIndex$$ = $JSCompiler_StaticMethods__calcItemIndex$$($JSCompiler_StaticMethods__calcPrevScroll$self$$, $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) - 1);
  $i$$inline_844_prevIndex$$ = 0 > $i$$inline_844_prevIndex$$ ? 0 : $i$$inline_844_prevIndex$$;
  var $scroll$$7$$ = 0, $scroll$$7$$ = $i$$inline_844_prevIndex$$ == $JSCompiler_StaticMethods__calcLastVisibleItemIndex$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) ? $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) - $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) : $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_sizes$[$i$$inline_844_prevIndex$$].end - $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) + 
  1;
  $JSCompiler_StaticMethods__isNextButtonShown$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) || ($scroll$$7$$ += $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) ? $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_buttonWidth$ : $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_buttonHeight$);
  if($scroll$$7$$ < ($JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__calcPrevScroll$self$$) ? $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_buttonWidth$ : $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_buttonHeight$)) {
    $scroll$$7$$ = $JSCompiler_StaticMethods__calcPrevScroll$self$$.$_minScroll$
  }
  return $scroll$$7$$
}
function $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$$($JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$) {
  $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$ = $JSCompiler_StaticMethods__calcItemIndex$$($JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$, $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$));
  return 0 > $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$ ? 0 : $JSCompiler_StaticMethods__calcFirstVisibleItemIndex$self_i$$150$$
}
function $JSCompiler_StaticMethods__calcLastVisibleItemIndex$$($JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$) {
  var $i$$151$$ = $JSCompiler_StaticMethods__calcItemIndex$$($JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$, $JSCompiler_StaticMethods__getCurrScroll$$($JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$) + $JSCompiler_StaticMethods__getCurrViewportSize$$($JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$) - 1);
  $JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$ = $JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$.$_sizes$;
  return 0 > $i$$151$$ ? $JSCompiler_StaticMethods__calcLastVisibleItemIndex$self_sizes$$6$$.length - 1 : $i$$151$$
}
function $JSCompiler_StaticMethods__calcItemIndex$$($JSCompiler_StaticMethods__calcItemIndex$self$$, $scroll$$8$$) {
  for(var $sizes$$8$$ = $JSCompiler_StaticMethods__calcItemIndex$self$$.$_sizes$, $i$$154$$ = 0;$i$$154$$ < $sizes$$8$$.length;$i$$154$$++) {
    if($scroll$$8$$ <= $sizes$$8$$[$i$$154$$].end) {
      return $i$$154$$
    }
  }
  return-1
}
function $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$$($JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$, $scroll$$9$$) {
  var $newScroll$$ = $scroll$$9$$;
  if($JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_bRtl$ && $JSCompiler_StaticMethods__isHorizontal$$($JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$)) {
    if($JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_bAgentGecko$) {
      $newScroll$$ = -$scroll$$9$$
    }else {
      if($JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_bAgentWebkit$ || $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_bAgentOpera$) {
        $newScroll$$ = $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_contentContainer$.offsetWidth - $JSCompiler_StaticMethods__convertScrollLogicalToBrowser$self$$.$_overflowContainer$.offsetWidth - $scroll$$9$$
      }
    }
  }
  return $newScroll$$
}
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_SCROLL_SPEED$ = 1.1;
$adf$$.$shared$.$impl$.$conveyorBelt$.$ConveyorBeltCommon$.$_SWIPE_THRESHOLD$ = 0.33;
