function $AdfConveyorBeltVertical$$($conveyorBeltId$$6$$, $buttonContainerId$$1$$, $peer$$95$$) {
  this.Init($conveyorBeltId$$6$$, $buttonContainerId$$1$$, $peer$$95$$);
}
$goog$exportSymbol$$("AdfConveyorBeltVertical", $AdfConveyorBeltVertical$$);
$AdfObject$$.$createSubclass$($AdfConveyorBeltVertical$$, $AdfConveyorBeltSupport$$);
$AdfConveyorBeltVertical$$.prototype.Init = function $$AdfConveyorBeltVertical$$$$Init$($agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$, $buttonContainerId$$2_toggleButton_toggleId$$, $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$) {
  $AdfConveyorBeltVertical$$.$superclass$.Init.call(this, $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$, $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfRichUIPeer$$.$CreateSubId$($buttonContainerId$$2_toggleButton_toggleId$$, "tcbi");
  this.$_topIndicator$ = $AdfAgent$$.$AGENT$.getElementById($agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfAgent$$.$AGENT$;
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = this.$_topIndicator$;
  this.$_topButtonCall$ = this.$createCallback$(this.$_topConveyorBeltButtonPressed$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mousedown", this.$_topButtonCall$);
  this.$_topButtonMouseUpCall$ = this.$createCallback$(this.$_topConveyorBeltButtonMouseUp$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mouseup", this.$_topButtonMouseUpCall$);
  this.$_topButtonMouseOutCall$ = this.$createCallback$(this.$_topConveyorBeltButtonMouseOut$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mouseout", this.$_topButtonMouseOutCall$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfRichUIPeer$$.$CreateSubId$($buttonContainerId$$2_toggleButton_toggleId$$, "bcbi");
  this.$_bottomIndicator$ = $AdfAgent$$.$AGENT$.getElementById($agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfAgent$$.$AGENT$;
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = this.$_bottomIndicator$;
  this.$_bottomButtonCall$ = this.$createCallback$(this.$_bottomConveyorBeltButtonPressed$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mousedown", this.$_bottomButtonCall$);
  this.$_bottomButtonMouseUpCall$ = this.$createCallback$(this.$_bottomConveyorBeltButtonMouseUp$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mouseup", this.$_bottomButtonMouseUpCall$);
  this.$_bottomButtonMouseOutCall$ = this.$createCallback$(this.$_bottomConveyorBeltButtonMouseOut$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.$addBubbleEventListener$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, "mouseout", this.$_bottomButtonMouseOutCall$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfRichUIPeer$$.$CreateSubId$($buttonContainerId$$2_toggleButton_toggleId$$, "cbc");
  this.$_contentContainer$ = $AdfAgent$$.$AGENT$.getElementById($agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$);
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = $AdfDomUtils$$.$getChildElements$(this.$_contentContainer$);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = [];
  for (var $x$$66$$ = 0;$x$$66$$ < $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$.length;$x$$66$$++) {
    var $child$$10$$ = $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$[$x$$66$$];
    1 == $child$$10$$.nodeType && "none" != $child$$10$$.style.display && $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.push($child$$10$$);
  }
  this.$_itemOffsetTopArray$ = [];
  for ($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = 0;$bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ < $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.length;$bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$++) {
    this.$_itemOffsetTopArray$[$bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$] = $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$[$bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$].offsetTop, 
    $AdfDomUtils$$.$containsCSSClassName$($agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$[$bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$], $AdfConveyorBeltSupport$$.$SELECTED_STYLE_CLASS$) && (this.$_selectedItem$ = $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$)
    ;
  }
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$[$agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.length - 
  1];
  this.$_contentHeight$ = null == $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ ? 0 : $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.offsetTop + $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.offsetHeight;
  this.$_initialRender$ = !0;
  this.$_firstItemDisplayed$ = 0;
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $AdfAgent$$.$AGENT$.getElementById($buttonContainerId$$2_toggleButton_toggleId$$);
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = this.$_contentContainer$.getAttribute("style");
  $AdfAssert$$.assert(null == $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ || "" == $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$);
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = $AdfConveyorBeltVertical$$.$superclass$.$GetContainer$.call(this);
  $AdfAssert$$.assert(!$AdfDomUtils$$.$containsCSSClassName$($bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$, $AdfConveyorBeltSupport$$.$CONVEYOR_BELT_STYLE_CLASS$));
  $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$ = $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.offsetHeight;
  this.$_setButtonDisplay$(!0);
  $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ = $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$.offsetHeight;
  this.$_setButtonDisplay$(!1);
  this.$_buttonHeight$ = $agent$$inline_1076_agent$$inline_1080_bcbiId_buttonContainer$$inline_1085_cbcId$$1_children$$13_containerHeigthWithButtons$$inline_1089_conveyorBeltId$$7_lastChild$$2_tcbiId$$ - $bottomIndicator$$inline_1081_container$$inline_1087_containerHeight$$inline_1088_peer$$96_style$$inline_1086_topIndicator$$inline_1077_unfilteredChildren$$1_y$$46$$;
  this.$_toggleButtonHeight$ = 0;
  $buttonContainerId$$2_toggleButton_toggleId$$ = $AdfRichUIPeer$$.$CreateSubId$($buttonContainerId$$2_toggleButton_toggleId$$, "toggle");
  if ($buttonContainerId$$2_toggleButton_toggleId$$ = $AdfAgent$$.$AGENT$.getElementById($buttonContainerId$$2_toggleButton_toggleId$$)) {
    this.$_toggleButtonHeight$ = $buttonContainerId$$2_toggleButton_toggleId$$.offsetHeight;
  }
  this.$_keepRollingDown$ = this.$_keepRollingUp$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.Init", {Init:$AdfConveyorBeltVertical$$.prototype.Init});
$AdfConveyorBeltVertical$$.prototype.$removeConveyorBeltSupport$ = function $$AdfConveyorBeltVertical$$$$$removeConveyorBeltSupport$$() {
  $AdfConveyorBeltVertical$$.$superclass$.$removeConveyorBeltSupport$.call(this);
  var $agent$$168$$ = $AdfAgent$$.$AGENT$, $bottomIndicator_topIndicator$$ = this.$_topIndicator$;
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mousedown", this.$_topButtonCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "keydown", this.$_topButtonCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mouseup", this.$_topButtonMouseUpCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mouseout", this.$_topButtonMouseOutCall$);
  $bottomIndicator_topIndicator$$ = this.$_bottomIndicator$;
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mousedown", this.$_bottomButtonCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "keydown", this.$_bottomButtonCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mouseup", this.$_bottomButtonMouseUpCall$);
  $agent$$168$$.$removeBubbleEventListener$($bottomIndicator_topIndicator$$, "mouseout", this.$_bottomButtonMouseOutCall$);
  delete this.$_topIndicator$;
  delete this.$_bottomIndicator$;
  delete this.$_contentContainer$;
  delete this.$_itemOffsetTopArray$;
  delete this.$_selectedItem$;
  delete this.$_contentHeight$;
  delete this.$_initialRender$;
  delete this.$_firstItemDisplayed$;
  delete this.$_buttonHeight$;
  delete this.$_toggleButtonHeight$;
  delete this.$_keepRollingUp$;
  delete this.$_keepRollingDown$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.removeConveyorBeltSupport", {$removeConveyorBeltSupport$:$AdfConveyorBeltVertical$$.prototype.$removeConveyorBeltSupport$});
$AdfConveyorBeltVertical$$.prototype.$registerAdditionalConveyorBeltSupport$ = function $$AdfConveyorBeltVertical$$$$$registerAdditionalConveyorBeltSupport$$() {
  $AdfAssert$$.assert(1, "Method not supported for vertical conveyor belt.");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.registerAdditionalConveyorBeltSupport", {$registerAdditionalConveyorBeltSupport$:$AdfConveyorBeltVertical$$.prototype.$registerAdditionalConveyorBeltSupport$});
$AdfConveyorBeltVertical$$.prototype.$handleResize$ = function $$AdfConveyorBeltVertical$$$$$handleResize$$() {
  this.$_contentContainer$.removeAttribute("style");
  var $container$$13_containerHeight$$1_newContentContainerHeight$$ = $AdfConveyorBeltVertical$$.$superclass$.$GetContainer$.call(this), $container$$13_containerHeight$$1_newContentContainerHeight$$ = $AdfConveyorBeltVertical$$.$_getInnerHeight$($container$$13_containerHeight$$1_newContentContainerHeight$$);
  if (this.$_contentContainer$.offsetHeight > $container$$13_containerHeight$$1_newContentContainerHeight$$) {
    $container$$13_containerHeight$$1_newContentContainerHeight$$ = $container$$13_containerHeight$$1_newContentContainerHeight$$ - this.$_buttonHeight$ - this.$_toggleButtonHeight$;
    0 > $container$$13_containerHeight$$1_newContentContainerHeight$$ && ($container$$13_containerHeight$$1_newContentContainerHeight$$ = 0);
    var $scrollTop$$16$$ = this.$_contentContainer$.scrollTop;
    this.$_contentContainer$.setAttribute("style", "height: " + $container$$13_containerHeight$$1_newContentContainerHeight$$ + "px;");
    this.$_areConveyorBeltIconsDisplayed$() ? $AdfAgent$$.$AGENT$.$scrollToPos$(this.$_contentContainer$, null, $scrollTop$$16$$) : (this.$_setButtonDisplay$(!0), this.$_initialRender$ && (this.$_firstItemDisplayed$ = this.$_calculateFirstItemToDisplay$()), this.$_rollConveyor$(!0));
    this.$_setButtonState$();
  } else {
    this.$_setButtonDisplay$(!1), $AdfAgent$$.$AGENT$.$scrollToPos$(this.$_contentContainer$, null, 0);
  }
  this.$_initialRender$ && (this.$_initialRender$ = !1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.handleResize", {$handleResize$:$AdfConveyorBeltVertical$$.prototype.$handleResize$});
$AdfConveyorBeltVertical$$.prototype.$addDropListElements$ = function $$AdfConveyorBeltVertical$$$$$addDropListElements$$() {
  $AdfAssert$$.assert(1, "Method not supported for vertical conveyor belt.");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.addDropListElements", {$addDropListElements$:$AdfConveyorBeltVertical$$.prototype.$addDropListElements$});
$AdfConveyorBeltVertical$$.prototype.$scrollNewSelectedItemIntoView$ = function $$AdfConveyorBeltVertical$$$$$scrollNewSelectedItemIntoView$$() {
  $AdfAssert$$.assert(1, "Method not supported for vertical conveyor belt.");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.scrollNewSelectedItemIntoView", {$scrollNewSelectedItemIntoView$:$AdfConveyorBeltVertical$$.prototype.$scrollNewSelectedItemIntoView$});
$AdfConveyorBeltVertical$$.prototype.$getFirstItemDisplayed$ = function $$AdfConveyorBeltVertical$$$$$getFirstItemDisplayed$$() {
  return this.$_firstItemDisplayed$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.getFirstItemDisplayed", {$getFirstItemDisplayed$:$AdfConveyorBeltVertical$$.prototype.$getFirstItemDisplayed$});
$AdfConveyorBeltVertical$$.prototype.$setFirstItemDisplayed$ = function $$AdfConveyorBeltVertical$$$$$setFirstItemDisplayed$$($firstItemDisplayed$$2$$) {
  $AdfAssert$$.assert($firstItemDisplayed$$2$$ && 0 <= $firstItemDisplayed$$2$$ && $firstItemDisplayed$$2$$ < this.$_itemOffsetTopArray$.length, "Must set the first item displayed to a valid number within the child range!");
  this.$_firstItemDisplayed$ = $firstItemDisplayed$$2$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.setFirstItemDisplayed", {$setFirstItemDisplayed$:$AdfConveyorBeltVertical$$.prototype.$setFirstItemDisplayed$});
$AdfConveyorBeltVertical$$.prototype.$handleFocusChange$ = function $$AdfConveyorBeltVertical$$$$$handleFocusChange$$() {
  this.$_setButtonState$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfConveyorBeltVertical.prototype.handleFocusChange", {$handleFocusChange$:$AdfConveyorBeltVertical$$.prototype.$handleFocusChange$});
$AdfConveyorBeltVertical$$.$_getInnerHeight$ = function $$AdfConveyorBeltVertical$$$$_getInnerHeight$$($element$$210$$) {
  var $cbStyle$$1$$ = $AdfAgent$$.$AGENT$.getComputedStyle($element$$210$$);
  return $element$$210$$.offsetHeight - ($AdfAgent$$.$getCSSLengthAsInt$($cbStyle$$1$$.paddingTop) + $AdfAgent$$.$getCSSLengthAsInt$($cbStyle$$1$$.paddingBottom));
};
$JSCompiler_prototypeAlias$$ = $AdfConveyorBeltVertical$$.prototype;
$JSCompiler_prototypeAlias$$.$_areConveyorBeltIconsDisplayed$ = function $$JSCompiler_prototypeAlias$$$$_areConveyorBeltIconsDisplayed$$() {
  var $container$$15$$ = $AdfConveyorBeltVertical$$.$superclass$.$GetContainer$.call(this);
  return $AdfDomUtils$$.$containsCSSClassName$($container$$15$$, $AdfConveyorBeltSupport$$.$CONVEYOR_BELT_STYLE_CLASS$);
};
$JSCompiler_prototypeAlias$$.$_setButtonDisplay$ = function $$JSCompiler_prototypeAlias$$$$_setButtonDisplay$$($isVisible$$3$$) {
  var $container$$16$$ = $AdfConveyorBeltVertical$$.$superclass$.$GetContainer$.call(this);
  $isVisible$$3$$ ? $AdfDomUtils$$.$addCSSClassName$($container$$16$$, $AdfConveyorBeltSupport$$.$CONVEYOR_BELT_STYLE_CLASS$) : $AdfDomUtils$$.$removeCSSClassName$($container$$16$$, $AdfConveyorBeltSupport$$.$CONVEYOR_BELT_STYLE_CLASS$);
};
$JSCompiler_prototypeAlias$$.$_setButtonState$ = function $$JSCompiler_prototypeAlias$$$$_setButtonState$$() {
  0 < this.$_contentContainer$.scrollTop ? ($AdfDomUtils$$.$removeCSSClassName$(this.$_topIndicator$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), this.$_topIndicator$.removeAttribute("aria-disabled")) : ($AdfDomUtils$$.$addCSSClassName$(this.$_topIndicator$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), this.$_topIndicator$.setAttribute("aria-disabled", "true"));
  $JSCompiler_StaticMethods__doesContentRollDown$$(this) ? this.$_firstItemDisplayed$ + 1 < this.$_itemOffsetTopArray$.length ? ($AdfDomUtils$$.$removeCSSClassName$(this.$_bottomIndicator$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), this.$_bottomIndicator$.removeAttribute("aria-disabled")) : ($AdfDomUtils$$.$addCSSClassName$(this.$_bottomIndicator$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), this.$_bottomIndicator$.setAttribute("aria-disabled", "true")) : ($AdfDomUtils$$.$addCSSClassName$(this.$_bottomIndicator$, 
  $AdfRichUIPeer$$.$DISABLED_STYLECLASS$), this.$_bottomIndicator$.setAttribute("aria-disabled", "true"));
};
function $JSCompiler_StaticMethods__doesContentRollDown$$($JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$) {
  var $contentNotScrolledUpHeight$$ = $JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$.$_contentHeight$ - $JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$.$_contentContainer$.scrollTop;
  $JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$ = $JSCompiler_StaticMethods__getContainerHeightMinusButtons$$($JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$);
  return $contentNotScrolledUpHeight$$ > $JSCompiler_StaticMethods__doesContentRollDown$self_containerHeight$$3$$;
}
function $JSCompiler_StaticMethods__getContainerHeightMinusButtons$$($JSCompiler_StaticMethods__getContainerHeightMinusButtons$self$$) {
  var $container$$17$$ = $AdfConveyorBeltVertical$$.$superclass$.$GetContainer$.call($JSCompiler_StaticMethods__getContainerHeightMinusButtons$self$$);
  return $AdfConveyorBeltVertical$$.$_getInnerHeight$($container$$17$$) - $JSCompiler_StaticMethods__getContainerHeightMinusButtons$self$$.$_buttonHeight$ - $JSCompiler_StaticMethods__getContainerHeightMinusButtons$self$$.$_toggleButtonHeight$;
}
$JSCompiler_prototypeAlias$$.$_calculateFirstItemToDisplay$ = function $$JSCompiler_prototypeAlias$$$$_calculateFirstItemToDisplay$$() {
  if (void 0 == this.$_selectedItem$) {
    return this.$_firstItemDisplayed$;
  }
  if (this.$_selectedItem$ <= this.$_firstItemDisplayed$) {
    return this.$_selectedItem$;
  }
  var $scrollDown_selectedItemTop$$ = this.$_itemOffsetTopArray$[this.$_selectedItem$], $selectedItemBottom$$ = $scrollDown_selectedItemTop$$ + $AdfDomUtils$$.$getChildElementByPosition$(this.$_contentContainer$, 1, this.$_selectedItem$).offsetHeight, $containerHeight$$5_y$$47$$ = $JSCompiler_StaticMethods__getContainerHeightMinusButtons$$(this);
  if ($selectedItemBottom$$ - $scrollDown_selectedItemTop$$ > $containerHeight$$5_y$$47$$) {
    return this.$_selectedItem$;
  }
  for (var $scrollDown_selectedItemTop$$ = $containerHeight$$5_y$$47$$, $x$$67$$ = 1;$x$$67$$ <= this.$_firstItemDisplayed$;$x$$67$$++) {
    $scrollDown_selectedItemTop$$ += this.$_itemOffsetTopArray$[$x$$67$$] - this.$_itemOffsetTopArray$[$x$$67$$ - 1];
  }
  if ($selectedItemBottom$$ <= $scrollDown_selectedItemTop$$) {
    return this.$_firstItemDisplayed$;
  }
  $scrollDown_selectedItemTop$$ = $containerHeight$$5_y$$47$$;
  for ($containerHeight$$5_y$$47$$ = 1;$containerHeight$$5_y$$47$$ < this.$_itemOffsetTopArray$.length;$containerHeight$$5_y$$47$$++) {
    if ($scrollDown_selectedItemTop$$ += this.$_itemOffsetTopArray$[$containerHeight$$5_y$$47$$] - this.$_itemOffsetTopArray$[$containerHeight$$5_y$$47$$ - 1], $selectedItemBottom$$ <= $scrollDown_selectedItemTop$$) {
      return $containerHeight$$5_y$$47$$;
    }
  }
  $AdfAssert$$.assert(!0, "Code unreachable, all cases handled");
  return 0;
};
$JSCompiler_prototypeAlias$$.$_rollConveyor$ = function $$JSCompiler_prototypeAlias$$$$_rollConveyor$$($immediate$$4$$) {
  var $agent$$169$$ = $AdfAgent$$.$AGENT$, $newScrollTop$$3$$;
  $newScrollTop$$3$$ = this.$_itemOffsetTopArray$[this.$_firstItemDisplayed$];
  $immediate$$4$$ || !$AdfPage$$.$PAGE$.$isAnimationEnabled$() ? ($agent$$169$$.$scrollToPos$(this.$_contentContainer$, null, $newScrollTop$$3$$), this.$_setButtonState$()) : this.$_animateRollConveyor$($newScrollTop$$3$$);
};
$JSCompiler_prototypeAlias$$.$_animateRollConveyor$ = function $$JSCompiler_prototypeAlias$$$$_animateRollConveyor$$($newScrollTop$$4$$) {
  $AdfDhtmlElementAnimator$animate$$(3, 2 * Math.abs(this.$_contentContainer$.scrollTop - $newScrollTop$$4$$), [{element:this.$_contentContainer$, properties:{scrollTop:$newScrollTop$$4$$}}], null, $AdfConveyorBeltVertical$$.$_animateRollConveyorComplete$, this, null);
};
$AdfConveyorBeltVertical$$.$_animateRollConveyorComplete$ = function $$AdfConveyorBeltVertical$$$$_animateRollConveyorComplete$$($myInstance$$2$$) {
  $myInstance$$2$$.$_keepRollingUp$ ? $myInstance$$2$$.$_rollUp$() : $myInstance$$2$$.$_keepRollingDown$ && $myInstance$$2$$.$_rollDown$();
  $myInstance$$2$$.$_setButtonState$();
};
$JSCompiler_prototypeAlias$$ = $AdfConveyorBeltVertical$$.prototype;
$JSCompiler_prototypeAlias$$.$_rollUp$ = function $$JSCompiler_prototypeAlias$$$$_rollUp$$() {
  0 < this.$_contentContainer$.scrollTop ? (this.$_firstItemDisplayed$ = 0 < this.$_firstItemDisplayed$ ? this.$_firstItemDisplayed$ - 1 : 0, this.$_rollConveyor$()) : $JSCompiler_StaticMethods__stopRollingUp$$(this);
};
$JSCompiler_prototypeAlias$$.$_rollDown$ = function $$JSCompiler_prototypeAlias$$$$_rollDown$$() {
  $JSCompiler_StaticMethods__doesContentRollDown$$(this) ? (this.$_firstItemDisplayed$ = this.$_firstItemDisplayed$ + 1 >= this.$_itemOffsetTopArray$.length ? this.$_itemOffsetTopArray$.length - 1 : this.$_firstItemDisplayed$ + 1, this.$_rollConveyor$()) : $JSCompiler_StaticMethods__stopRollingDown$$(this);
};
function $JSCompiler_StaticMethods__stopRollingUp$$($JSCompiler_StaticMethods__stopRollingUp$self$$) {
  $JSCompiler_StaticMethods__stopRollingUp$self$$.$_keepRollingUp$ = !1;
  $JSCompiler_StaticMethods__stopRollingUp$self$$.$_rollUpTimer$ && clearInterval($JSCompiler_StaticMethods__stopRollingUp$self$$.$_rollUpTimer$);
  $JSCompiler_StaticMethods__stopRollingUp$self$$.$_rollUpTimer$ = null;
}
function $JSCompiler_StaticMethods__stopRollingDown$$($JSCompiler_StaticMethods__stopRollingDown$self$$) {
  $JSCompiler_StaticMethods__stopRollingDown$self$$.$_keepRollingDown$ = !1;
  $JSCompiler_StaticMethods__stopRollingDown$self$$.$_rollDownTimer$ && clearInterval($JSCompiler_StaticMethods__stopRollingDown$self$$.$_rollDownTimer$);
  $JSCompiler_StaticMethods__stopRollingDown$self$$.$_rollDownTimer$ = null;
}
$JSCompiler_prototypeAlias$$.$_topConveyorBeltButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_topConveyorBeltButtonPressed$$($event$$151$$) {
  var $agent$$172$$ = $AdfAgent$$.$AGENT$, $eventType$$40_rollUpCallback$$ = $event$$151$$.type;
  if ("mousedown" != $eventType$$40_rollUpCallback$$ || !$event$$151$$.button || $event$$151$$.button == $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
    var $targetElement$$16$$ = $agent$$172$$.$getEventTarget$($event$$151$$);
    $AdfDomUtils$$.$containsCSSClassName$($targetElement$$16$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$) || ("mousedown" == $eventType$$40_rollUpCallback$$ && this.$_setDepressedStyle$($targetElement$$16$$, !0), this.$_keepRollingUp$ = !0, this.$_rollUp$(), $AdfPage$$.$PAGE$.$isAnimationEnabled$() || ($eventType$$40_rollUpCallback$$ = this.$createCallback$(this.$_rollUp$), this.$_rollUpTimer$ = setInterval($eventType$$40_rollUpCallback$$, 200)));
  }
  $agent$$172$$.$eatEvent$($event$$151$$);
};
$JSCompiler_prototypeAlias$$.$_topConveyorBeltButtonMouseUp$ = function $$JSCompiler_prototypeAlias$$$$_topConveyorBeltButtonMouseUp$$($event$$152_targetElement$$17$$) {
  $event$$152_targetElement$$17$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$152_targetElement$$17$$);
  this.$_setDepressedStyle$($event$$152_targetElement$$17$$, !1);
  $JSCompiler_StaticMethods__stopRollingUp$$(this);
};
$JSCompiler_prototypeAlias$$.$_topConveyorBeltButtonMouseOut$ = function $$JSCompiler_prototypeAlias$$$$_topConveyorBeltButtonMouseOut$$($event$$153_targetElement$$18$$) {
  $event$$153_targetElement$$18$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$153_targetElement$$18$$);
  this.$_setDepressedStyle$($event$$153_targetElement$$18$$, !1);
  $JSCompiler_StaticMethods__stopRollingUp$$(this);
};
$JSCompiler_prototypeAlias$$.$_bottomConveyorBeltButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_bottomConveyorBeltButtonPressed$$($event$$154$$) {
  var $agent$$173$$ = $AdfAgent$$.$AGENT$, $eventType$$41_rollDownCallback$$ = $event$$154$$.type;
  if ("mousedown" != $eventType$$41_rollDownCallback$$ || !$event$$154$$.button || $event$$154$$.button == $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
    var $targetElement$$19$$ = $agent$$173$$.$getEventTarget$($event$$154$$);
    $AdfDomUtils$$.$containsCSSClassName$($targetElement$$19$$, $AdfRichUIPeer$$.$DISABLED_STYLECLASS$) || ("mousedown" == $eventType$$41_rollDownCallback$$ && this.$_setDepressedStyle$($targetElement$$19$$, !0), this.$_keepRollingDown$ = !0, this.$_rollDown$(), $AdfPage$$.$PAGE$.$isAnimationEnabled$() || ($eventType$$41_rollDownCallback$$ = this.$createCallback$(this.$_rollDown$), this.$_rollDownTimer$ = setInterval($eventType$$41_rollDownCallback$$, 200)));
  }
  $agent$$173$$.$eatEvent$($event$$154$$);
};
$JSCompiler_prototypeAlias$$.$_bottomConveyorBeltButtonMouseUp$ = function $$JSCompiler_prototypeAlias$$$$_bottomConveyorBeltButtonMouseUp$$($event$$155_targetElement$$20$$) {
  $event$$155_targetElement$$20$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$155_targetElement$$20$$);
  this.$_setDepressedStyle$($event$$155_targetElement$$20$$, !1);
  $JSCompiler_StaticMethods__stopRollingDown$$(this);
};
$JSCompiler_prototypeAlias$$.$_bottomConveyorBeltButtonMouseOut$ = function $$JSCompiler_prototypeAlias$$$$_bottomConveyorBeltButtonMouseOut$$($event$$156_targetElement$$21$$) {
  $event$$156_targetElement$$21$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$156_targetElement$$21$$);
  this.$_setDepressedStyle$($event$$156_targetElement$$21$$, !1);
  $JSCompiler_StaticMethods__stopRollingDown$$(this);
};
$JSCompiler_prototypeAlias$$.$_setDepressedStyle$ = function $$JSCompiler_prototypeAlias$$$$_setDepressedStyle$$($targetElement$$22$$, $depressed$$1$$) {
  var $className$$16$$ = $AdfConveyorBeltSupport$$.$DEPRESSED_STYLE_CLASS$;
  $depressed$$1$$ ? $AdfDomUtils$$.$addCSSClassName$($targetElement$$22$$, $className$$16$$) : $AdfDomUtils$$.$removeCSSClassName$($targetElement$$22$$, $className$$16$$);
};
