function $AdfOverflowSupport$$($overflowId$$, $peer$$159$$, $type$$175$$, $position$$22$$, $orientation$$4$$, $useRovingTabIndex$$) {
  this.Init($overflowId$$, $peer$$159$$, $type$$175$$, $position$$22$$, $orientation$$4$$, $useRovingTabIndex$$)
}
$goog$exportSymbol$$("AdfOverflowSupport", $AdfOverflowSupport$$);
$AdfObject$$.$createSubclass$($AdfOverflowSupport$$);
$AdfOverflowSupport$$.$InitClass$ = function $$AdfOverflowSupport$$$$InitClass$$() {
  this.$_POPUP_ID_START$ = "_afrOfwSrt";
  this.$_POPUP_ID_END$ = "_afrOfwEnd";
  this.$_DEPRESSED_STYLE_CLASS$ = "p_AFDepressed"
};
$goog$exportSymbol$$("AdfOverflowSupport.InitClass", $AdfOverflowSupport$$.$InitClass$);
$AdfOverflowSupport$$.prototype.Init = function $$AdfOverflowSupport$$$$Init$($dlcId$$1_overflowId$$1$$, $peer$$160$$, $type$$176$$, $position$$23$$, $orientation$$5$$, $useRovingTabIndex$$1$$) {
  $AdfOverflowSupport$$.$superclass$.Init.call(this);
  this.$_peer$ = $peer$$160$$;
  this.$_type$ = $type$$176$$ || "end";
  this.$_position$ = $position$$23$$ || "after";
  this.$_orientation$ = $orientation$$5$$ || "horizontal";
  this.$_useRovingTabIndex$ = $useRovingTabIndex$$1$$;
  this.$_element$ = $AdfAgent$$.$AGENT$.getElementById($dlcId$$1_overflowId$$1$$);
  $JSCompiler_StaticMethods__supportsStartOverflow$$(this) && (this.$_startContainer$ = $JSCompiler_StaticMethods__getElement$$($dlcId$$1_overflowId$$1$$, "soc"), (this.$_startIndicator$ = $JSCompiler_StaticMethods__getElement$$($dlcId$$1_overflowId$$1$$, "soi")) && this.$_initStartButtonEventHandling$());
  $JSCompiler_StaticMethods__supportsEndOverflow$$(this) && (this.$_endContainer$ = $JSCompiler_StaticMethods__getElement$$($dlcId$$1_overflowId$$1$$, "eoc"), this.$_endIndicator$ = $JSCompiler_StaticMethods__getElement$$($dlcId$$1_overflowId$$1$$, "eoi"), this.$_endIndicator$ != $JSCompiler_alias_NULL$$ && this.$_initEndButtonEventHandling$());
  $JSCompiler_StaticMethods__supportsDroplist$$(this) && ($dlcId$$1_overflowId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($dlcId$$1_overflowId$$1$$, "dlc"), this.$_droplistContainer$ = $AdfAgent$$.$AGENT$.getElementById($dlcId$$1_overflowId$$1$$));
  this.$_steps$ = [];
  this.$_firstVisibleStep$ = 0;
  this.$_lastVisibleStep$ = -1
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.Init", {Init:$AdfOverflowSupport$$.prototype.Init});
$AdfOverflowSupport$$.$needsOverflow$ = function $$AdfOverflowSupport$$$$needsOverflow$$($element$$339_overflowId$$2$$) {
  $element$$339_overflowId$$2$$ = $AdfAgent$$.$AGENT$.getElementById($element$$339_overflowId$$2$$);
  return Math.max($element$$339_overflowId$$2$$.firstChild.offsetWidth, $element$$339_overflowId$$2$$.scrollWidth) > $element$$339_overflowId$$2$$.offsetWidth || Math.max($element$$339_overflowId$$2$$.firstChild.offsetHeight, $element$$339_overflowId$$2$$.scrollHeight) > $element$$339_overflowId$$2$$.offsetHeight ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$goog$exportSymbol$$("AdfOverflowSupport.needsOverflow", $AdfOverflowSupport$$.$needsOverflow$);
$AdfOverflowSupport$$.$getOverflowChildComponents$ = function $$AdfOverflowSupport$$$$getOverflowChildComponents$$($baseComponent$$1$$, $children$$76$$) {
  $children$$76$$ || ($children$$76$$ = []);
  var $agent$$696$$ = $AdfAgent$$.$AGENT$, $clientId$$430_parentSocId$$ = $baseComponent$$1$$.$getClientId$(), $endOverflowContainer_parentEocId_startOverflowContainer$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$430_parentSocId$$, "eoc"), $clientId$$430_parentSocId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$430_parentSocId$$, "soc");
  ($endOverflowContainer_parentEocId_startOverflowContainer$$ = $agent$$696$$.getElementById($endOverflowContainer_parentEocId_startOverflowContainer$$)) && $agent$$696$$.$getDescendantComponentsForNode$($endOverflowContainer_parentEocId_startOverflowContainer$$, $children$$76$$);
  ($endOverflowContainer_parentEocId_startOverflowContainer$$ = $agent$$696$$.getElementById($clientId$$430_parentSocId$$)) && $agent$$696$$.$getDescendantComponentsForNode$($endOverflowContainer_parentEocId_startOverflowContainer$$, $children$$76$$);
  return $children$$76$$
};
$goog$exportSymbol$$("AdfOverflowSupport.getOverflowChildComponents", $AdfOverflowSupport$$.$getOverflowChildComponents$);
$AdfOverflowSupport$$.prototype.$removeOverflowSupport$ = function $$AdfOverflowSupport$$$$$removeOverflowSupport$$($agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$) {
  $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$ || (this.$_startContainer$ && $AdfPage$$.$PAGE$.$removeComponentsInSubtree$(this.$_startContainer$), this.$_endContainer$ && $AdfPage$$.$PAGE$.$removeComponentsInSubtree$(this.$_endContainer$));
  delete this.$_peer$;
  delete this.$_element$;
  if($JSCompiler_StaticMethods__supportsStartOverflow$$(this)) {
    delete this.$_startContainer$;
    if(this.$_startIndicator$) {
      $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$ = $AdfAgent$$.$AGENT$;
      var $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$ = this.$_startIndicator$;
      $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "mousedown", this.$_startShowCall$);
      $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "keydown", this.$_startShowCall$);
      $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "mouseup", this.$_startButtonMouseUpCall$);
      $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "mouseout", this.$_startButtonMouseOutCall$);
      delete this.$_startIndicator$;
      delete this.$_startHints$
    }
    this.$_startContainerParent$ && delete this.$_startContainerParent$
  }
  $JSCompiler_StaticMethods__supportsEndOverflow$$(this) && ($agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$ = $AdfAgent$$.$AGENT$, $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$ = this.$_endIndicator$, $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, 
  "mousedown", this.$_endShowCall$), $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "keydown", this.$_endShowCall$), $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, 
  "mouseup", this.$_endButtonMouseUpCall$), $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.$removeBubbleEventListener$($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$, "mouseout", this.$_endButtonMouseOutCall$), delete this.$_endIndicator$, delete this.$_endContainer$, delete this.$_endHints$, this.$_endContainerParent$ && delete this.$_endContainerParent$);
  $JSCompiler_StaticMethods__supportsDroplist$$(this) && delete this.$_droplistContainer$;
  for($agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$ = this.$_steps$;0 < $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.length;) {
    $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$ = $agent$$inline_4533_agent$$inline_4537_ignoreOverflowComponentCleanup_steps$$inline_4541$$.pop();
    $AdfCollections$$.clear($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$.elements);
    $AdfCollections$$.clear($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$.$overflowElements$);
    for($endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$ = $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$.$swapElements$;0 < $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$.length;) {
      var $positions$$inline_4544$$ = $endIndicator$$inline_4538_startIndicator$$inline_4534_step$$inline_4542_swapElements$$inline_4543$$.pop();
      $AdfCollections$$.clear($positions$$inline_4544$$)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.removeOverflowSupport", {$removeOverflowSupport$:$AdfOverflowSupport$$.prototype.$removeOverflowSupport$});
$AdfOverflowSupport$$.prototype.$createStep$ = function $$AdfOverflowSupport$$$$$createStep$$() {
  this.$_steps$.push({elements:[], $overflowElements$:[], $swapElements$:[]});
  this.$_lastVisibleStep$++
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.createStep", {$createStep$:$AdfOverflowSupport$$.prototype.$createStep$});
$AdfOverflowSupport$$.prototype.addElement = function $$AdfOverflowSupport$$$$addElement$($element$$340$$) {
  this.$_steps$[this.$_steps$.length - 1].elements.push($element$$340$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.addElement", {addElement:$AdfOverflowSupport$$.prototype.addElement});
$AdfOverflowSupport$$.prototype.$addOverflowElement$ = function $$AdfOverflowSupport$$$$$addOverflowElement$$($element$$341$$) {
  this.$_steps$[this.$_steps$.length - 1].$overflowElements$.push($element$$341$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.addOverflowElement", {$addOverflowElement$:$AdfOverflowSupport$$.prototype.$addOverflowElement$});
$AdfOverflowSupport$$.prototype.$createSwapPosition$ = function $$AdfOverflowSupport$$$$$createSwapPosition$$($element$$342$$) {
  var $stepIndex$$1$$ = this.$_steps$.length - 1, $elementPosition$$1_ownerDocument$$17$$ = $element$$342$$.ownerDocument, $overflowPosition$$ = $elementPosition$$1_ownerDocument$$17$$.createElement("a");
  $overflowPosition$$.style.display = "none";
  $elementPosition$$1_ownerDocument$$17$$ = $elementPosition$$1_ownerDocument$$17$$.createElement("a");
  $elementPosition$$1_ownerDocument$$17$$.style.display = "none";
  $element$$342$$.parentNode.insertBefore($elementPosition$$1_ownerDocument$$17$$, $element$$342$$);
  this.$_steps$[$stepIndex$$1$$].$swapElements$.push([$element$$342$$, $elementPosition$$1_ownerDocument$$17$$, $overflowPosition$$]);
  return $overflowPosition$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.createSwapPosition", {$createSwapPosition$:$AdfOverflowSupport$$.prototype.$createSwapPosition$});
$AdfOverflowSupport$$.prototype.$addDropListElements$ = function $$AdfOverflowSupport$$$$$addDropListElements$$($elementArray$$1$$) {
  for(var $droplistContainer$$1$$ = this.$_droplistContainer$, $i$$612$$ = 0;$i$$612$$ < $elementArray$$1$$.length;$i$$612$$++) {
    $droplistContainer$$1$$.appendChild($elementArray$$1$$[$i$$612$$])
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.addDropListElements", {$addDropListElements$:$AdfOverflowSupport$$.prototype.$addDropListElements$});
$AdfOverflowSupport$$.prototype.$handleResize$ = function $$AdfOverflowSupport$$$$$handleResize$$() {
  var $availableWidth$$1_availableWidth$$inline_4547$$ = this.$_element$.offsetWidth + 3, $availableHeight$$2_availableHeight$$inline_4548$$ = this.$_element$.offsetHeight + 5;
  if("both" == this.$_type$ || "droplist" == this.$_type$) {
    $JSCompiler_StaticMethods__hideOverflowButtons$$(this);
    a: {
      for(var $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = this.$_steps$, $i$$inline_5785_totalSteps$$ = 0;$i$$inline_5785_totalSteps$$ < $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$.length;$i$$inline_5785_totalSteps$$++) {
        for(var $step$$inline_5786_visibleSteps$$ = $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$[$i$$inline_5785_totalSteps$$], $j$$inline_5787_k$$inline_5788$$ = 0;$j$$inline_5787_k$$inline_5788$$ < $step$$inline_5786_visibleSteps$$.$overflowElements$.length;$j$$inline_5787_k$$inline_5788$$++) {
          if($AdfDomUtils$$.$containsCSSClassName$($step$$inline_5786_visibleSteps$$.$overflowElements$[$j$$inline_5787_k$$inline_5788$$].firstChild, "p_AFSelected")) {
            this.$_activeStep$ = $i$$inline_5785_totalSteps$$;
            break a
          }
        }
        for($j$$inline_5787_k$$inline_5788$$ = 0;$j$$inline_5787_k$$inline_5788$$ < $step$$inline_5786_visibleSteps$$.elements.length;$j$$inline_5787_k$$inline_5788$$++) {
          if($AdfDomUtils$$.$containsCSSClassName$($step$$inline_5786_visibleSteps$$.elements[$j$$inline_5787_k$$inline_5788$$], "p_AFSelected")) {
            this.$_activeStep$ = $i$$inline_5785_totalSteps$$;
            break a
          }
        }
      }
    }
    $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$);
    $JSCompiler_StaticMethods__showSteps$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$);
    $JSCompiler_StaticMethods__showOverflowButtons$$(this);
    $availableWidth$$1_availableWidth$$inline_4547$$ = this.$_element$.offsetWidth + 3;
    $availableHeight$$2_availableHeight$$inline_4548$$ = this.$_element$.offsetHeight + 5;
    for($hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$);$JSCompiler_StaticMethods__hideSteps$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$);) {
      $JSCompiler_StaticMethods__showOverflowButtons$$(this), $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$)
    }
    $JSCompiler_StaticMethods__numberOfVisibleSteps$$(this) == this.$_steps$.length && $JSCompiler_StaticMethods__closeOverflowPopups$$(this)
  }else {
    $i$$inline_5785_totalSteps$$ = this.$_steps$.length;
    $step$$inline_5786_visibleSteps$$ = $JSCompiler_StaticMethods__numberOfVisibleSteps$$(this);
    if($step$$inline_5786_visibleSteps$$ == $i$$inline_5785_totalSteps$$ && ($JSCompiler_StaticMethods__hideOverflowButtons$$(this), $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$))) {
      return
    }
    $JSCompiler_StaticMethods__showOverflowButtons$$(this, $JSCompiler_alias_TRUE$$);
    $availableWidth$$1_availableWidth$$inline_4547$$ = this.$_element$.offsetWidth + 3;
    $availableHeight$$2_availableHeight$$inline_4548$$ = this.$_element$.offsetHeight + 5;
    if("horizontal" == this.$_orientation$ && 50 >= $availableWidth$$1_availableWidth$$inline_4547$$ || "vertical" == this.$_orientation$ && 50 >= $availableHeight$$2_availableHeight$$inline_4548$$) {
      for(;0 < $JSCompiler_StaticMethods__numberOfVisibleSteps$$(this);) {
        switch(this.$_type$) {
          case "end":
            $JSCompiler_StaticMethods__hideEndStep$$(this);
            break;
          case "start":
          ;
          case "both":
          ;
          case "droplist":
            $JSCompiler_StaticMethods__hideStartStep$$(this)
        }
      }
      $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$)
    }else {
      $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ == $JSCompiler_alias_NULL$$ && ($hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$)), $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__binarySearchAdjustSteps$$(this, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$, 
      $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ ? $step$$inline_5786_visibleSteps$$ : 0, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ ? $i$$inline_5785_totalSteps$$ : $step$$inline_5786_visibleSteps$$), $availableWidth$$1_availableWidth$$inline_4547$$ = this.$_element$.offsetWidth + 3, $availableHeight$$2_availableHeight$$inline_4548$$ = this.$_element$.offsetHeight + 
      5
    }
    $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__showSteps$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$);
    $availableWidth$$1_availableWidth$$inline_4547$$ = this.$_element$.offsetWidth + 3;
    $availableHeight$$2_availableHeight$$inline_4548$$ = this.$_element$.offsetHeight + 5;
    if($JSCompiler_StaticMethods__numberOfVisibleSteps$$(this) == $i$$inline_5785_totalSteps$$) {
      if($hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$) {
        $JSCompiler_StaticMethods__hideOverflowButtons$$(this);
        $JSCompiler_StaticMethods__closeOverflowPopups$$(this);
        return
      }
      $JSCompiler_StaticMethods__hideOverflowButtons$$(this);
      if($hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$)) {
        $JSCompiler_StaticMethods__closeOverflowPopups$$(this);
        return
      }
      $JSCompiler_StaticMethods__showOverflowButtons$$(this, $JSCompiler_alias_TRUE$$)
    }
    $JSCompiler_StaticMethods__hideSteps$$(this, $availableWidth$$1_availableWidth$$inline_4547$$, $availableHeight$$2_availableHeight$$inline_4548$$, $hasAvailableSpace_hasAvailableSpace$$inline_4549_steps$$inline_5784$$);
    this.$_useRovingTabIndex$ && $JSCompiler_StaticMethods__resetActiveDescendant$$(this)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.handleResize", {$handleResize$:$AdfOverflowSupport$$.prototype.$handleResize$});
$AdfOverflowSupport$$.prototype.$removeAllItemsFromOverflow$ = function $$AdfOverflowSupport$$$$$removeAllItemsFromOverflow$$() {
  for($JSCompiler_StaticMethods__hideOverflowButtons$$(this);$JSCompiler_StaticMethods__numberOfVisibleSteps$$(this) < this.$_steps$.length;) {
    switch(this.$_type$) {
      case "end":
        $JSCompiler_StaticMethods__showEndStep$$(this);
        break;
      case "start":
        $JSCompiler_StaticMethods__showStartStep$$(this);
        break;
      case "both":
      ;
      case "droplist":
        0 != this.$_firstVisibleStep$ ? $JSCompiler_StaticMethods__showStartStep$$(this) : $JSCompiler_StaticMethods__showEndStep$$(this)
    }
  }
  $JSCompiler_StaticMethods__closeOverflowPopups$$(this)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.removeAllItemsFromOverflow", {$removeAllItemsFromOverflow$:$AdfOverflowSupport$$.prototype.$removeAllItemsFromOverflow$});
$AdfOverflowSupport$$.prototype.$focusNextChild$ = function $$AdfOverflowSupport$$$$$focusNextChild$$($nextItem$$7_popupContainer$$2$$) {
  this.$_canMoveFocus$($nextItem$$7_popupContainer$$2$$) && ($nextItem$$7_popupContainer$$2$$ = $AdfFocusUtils$$.$focusNextActiveDescendant$($nextItem$$7_popupContainer$$2$$, this.$_activeDescendant$, $JSCompiler_alias_TRUE$$), $AdfAssert$$.$assertDomElement$($nextItem$$7_popupContainer$$2$$), this.$_activeDescendant$ = $nextItem$$7_popupContainer$$2$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.focusNextChild", {$focusNextChild$:$AdfOverflowSupport$$.prototype.$focusNextChild$});
$AdfOverflowSupport$$.prototype.$focusPreviousChild$ = function $$AdfOverflowSupport$$$$$focusPreviousChild$$($popupContainer$$3_prevItem$$2$$) {
  this.$_canMoveFocus$($popupContainer$$3_prevItem$$2$$) && ($popupContainer$$3_prevItem$$2$$ = $AdfFocusUtils$$.$focusPreviousActiveDescendant$($popupContainer$$3_prevItem$$2$$, this.$_activeDescendant$, $JSCompiler_alias_TRUE$$), $AdfAssert$$.$assertDomElement$($popupContainer$$3_prevItem$$2$$), this.$_activeDescendant$ = $popupContainer$$3_prevItem$$2$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.focusPreviousChild", {$focusPreviousChild$:$AdfOverflowSupport$$.prototype.$focusPreviousChild$});
$AdfOverflowSupport$$.prototype.$_canMoveFocus$ = function $$AdfOverflowSupport$$$$$_canMoveFocus$$($popupContainer$$4$$) {
  $AdfAssert$$.assert(this.$_useRovingTabIndex$);
  $AdfAssert$$.$assertDomElement$($popupContainer$$4$$);
  $AdfAssert$$.$assertDomElement$(this.$_activeDescendant$);
  $AdfAssert$$.assert("0" == this.$_activeDescendant$.getAttribute("tabindex"), "The overflow popup's active descendant should have tabindex 0");
  this.$_activeDescendant$ || ($AdfLogger$$.$LOGGER$.warning("Overflow has lost its assigned activeDescendant!"), this.$resetActiveDescendant$());
  return this.$_activeDescendant$ != $JSCompiler_alias_NULL$$
};
$AdfOverflowSupport$$.prototype.$updateActiveDescendant$ = function $$AdfOverflowSupport$$$$$updateActiveDescendant$$($newActiveDescendant$$6$$) {
  $AdfAssert$$.$assertDomElement$($newActiveDescendant$$6$$);
  this.$_activeDescendant$ != $newActiveDescendant$$6$$ && (this.$_activeDescendant$ && this.$_activeDescendant$.setAttribute("tabIndex", "-1"), $newActiveDescendant$$6$$.setAttribute("tabIndex", "0"), this.$_activeDescendant$ = $newActiveDescendant$$6$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.updateActiveDescendant", {$updateActiveDescendant$:$AdfOverflowSupport$$.prototype.$updateActiveDescendant$});
$AdfOverflowSupport$$.prototype.$isInOverflow$ = function $$AdfOverflowSupport$$$$$isInOverflow$$($domElement$$537$$) {
  if($JSCompiler_StaticMethods__supportsEndOverflow$$(this) && $AdfDomUtils$$.$isAncestor$(this.$_endContainer$, $domElement$$537$$)) {
    return"end"
  }
  if($JSCompiler_StaticMethods__supportsStartOverflow$$(this) && $AdfDomUtils$$.$isAncestor$(this.$_startContainer$, $domElement$$537$$)) {
    return"start"
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.isInOverflow", {$isInOverflow$:$AdfOverflowSupport$$.prototype.$isInOverflow$});
$AdfOverflowSupport$$.prototype.$showOverflowPopup$ = function $$AdfOverflowSupport$$$$$showOverflowPopup$$($location$$22$$) {
  var $peer$$161$$ = this.$_peer$, $component$$1774$$ = this.$_peer$.$getComponent$();
  if(!$peer$$161$$.$isPopupVisible$($component$$1774$$, "start" == $location$$22$$ ? $AdfOverflowSupport$$.$_POPUP_ID_START$ : $AdfOverflowSupport$$.$_POPUP_ID_END$)) {
    "start" == $location$$22$$ ? ($JSCompiler_StaticMethods__initializeStartContainerCallback$$(this), $JSCompiler_StaticMethods__overflowButtonPressed$$(this, $AdfOverflowSupport$$.$_POPUP_ID_START$, this.$_startContainer$, this.$_startHints$)) : ($JSCompiler_StaticMethods__initializeEndContainerCallback$$(this), $JSCompiler_StaticMethods__supportsDroplist$$(this) ? $JSCompiler_StaticMethods__overflowButtonPressed$$(this, $AdfOverflowSupport$$.$_POPUP_ID_END$, this.$_droplistContainer$, this.$_endHints$) : 
    $JSCompiler_StaticMethods__overflowButtonPressed$$(this, $AdfOverflowSupport$$.$_POPUP_ID_END$, this.$_endContainer$, this.$_endHints$))
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfOverflowSupport.prototype.showOverflowPopup", {$showOverflowPopup$:$AdfOverflowSupport$$.prototype.$showOverflowPopup$});
function $JSCompiler_StaticMethods__closeOverflowPopups$$($JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$) {
  $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$ = $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$_peer$;
  var $component$$1775$$ = $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$getComponent$();
  $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$isPopupVisible$($component$$1775$$, $AdfOverflowSupport$$.$_POPUP_ID_START$) && $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$hidePopup$($component$$1775$$, $AdfOverflowSupport$$.$_POPUP_ID_START$);
  $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$isPopupVisible$($component$$1775$$, $AdfOverflowSupport$$.$_POPUP_ID_END$) && $JSCompiler_StaticMethods__closeOverflowPopups$self_peer$$162$$.$hidePopup$($component$$1775$$, $AdfOverflowSupport$$.$_POPUP_ID_END$)
}
function $JSCompiler_StaticMethods__supportsStartOverflow$$($JSCompiler_StaticMethods__supportsStartOverflow$self$$) {
  return"start" == $JSCompiler_StaticMethods__supportsStartOverflow$self$$.$_type$ || "both" == $JSCompiler_StaticMethods__supportsStartOverflow$self$$.$_type$ || "droplist" == $JSCompiler_StaticMethods__supportsStartOverflow$self$$.$_type$
}
function $JSCompiler_StaticMethods__supportsEndOverflow$$($JSCompiler_StaticMethods__supportsEndOverflow$self$$) {
  return"end" == $JSCompiler_StaticMethods__supportsEndOverflow$self$$.$_type$ || "both" == $JSCompiler_StaticMethods__supportsEndOverflow$self$$.$_type$ || "droplist" == $JSCompiler_StaticMethods__supportsEndOverflow$self$$.$_type$
}
function $JSCompiler_StaticMethods__supportsDroplist$$($JSCompiler_StaticMethods__supportsDroplist$self$$) {
  return"droplist" == $JSCompiler_StaticMethods__supportsDroplist$self$$.$_type$
}
function $JSCompiler_StaticMethods__getElement$$($overflowId$$3$$, $subString$$) {
  var $id$$362$$ = $AdfRichUIPeer$$.$CreateSubId$($overflowId$$3$$, $subString$$);
  return $AdfAgent$$.$AGENT$.getElementById($id$$362$$)
}
$JSCompiler_prototypeAlias$$ = $AdfOverflowSupport$$.prototype;
$JSCompiler_prototypeAlias$$.$_initStartButtonEventHandling$ = function $$JSCompiler_prototypeAlias$$$$_initStartButtonEventHandling$$() {
  var $agent$$697$$ = $AdfAgent$$.$AGENT$, $startIndicator$$4$$ = this.$_startIndicator$, $startHints_startShowCall$$ = $JSCompiler_StaticMethods__createOverflowPopupHints$$();
  $startHints_startShowCall$$.alignElement = $startIndicator$$4$$;
  $startHints_startShowCall$$[AdfRichPopup.$HINT_ALIGN$] = "before" == this.$_position$ ? AdfRichPopup.ALIGN_BEFORE_START : AdfRichPopup.ALIGN_AFTER_START;
  this.$_startHints$ = $startHints_startShowCall$$;
  $startHints_startShowCall$$ = this.$_startShowCall$ = this.$createCallback$(this.$_startOverflowButtonPressed$);
  $agent$$697$$.$addBubbleEventListener$($startIndicator$$4$$, "mousedown", $startHints_startShowCall$$);
  $agent$$697$$.$addBubbleEventListener$($startIndicator$$4$$, "keydown", $startHints_startShowCall$$);
  this.$_startButtonMouseUpCall$ = this.$createCallback$(this.$_startOverflowButtonMouseUp$);
  $agent$$697$$.$addBubbleEventListener$($startIndicator$$4$$, "mouseup", this.$_startButtonMouseUpCall$);
  this.$_startButtonMouseOutCall$ = this.$createCallback$(this.$_startOverflowButtonMouseOut$);
  $agent$$697$$.$addBubbleEventListener$($startIndicator$$4$$, "mouseout", this.$_startButtonMouseOutCall$)
};
$JSCompiler_prototypeAlias$$.$_initEndButtonEventHandling$ = function $$JSCompiler_prototypeAlias$$$$_initEndButtonEventHandling$$() {
  var $agent$$698$$ = $AdfAgent$$.$AGENT$, $endIndicator$$4$$ = this.$_endIndicator$, $endHints_endShowCall$$ = $JSCompiler_StaticMethods__createOverflowPopupHints$$();
  $endHints_endShowCall$$.alignElement = this.$_endIndicator$;
  $endHints_endShowCall$$[AdfRichPopup.$HINT_ALIGN$] = "before" == this.$_position$ ? AdfRichPopup.ALIGN_BEFORE_END : AdfRichPopup.ALIGN_AFTER_END;
  this.$_endHints$ = $endHints_endShowCall$$;
  $endHints_endShowCall$$ = this.$_endShowCall$ = this.$createCallback$(this.$_endOverflowButtonPressed$);
  $agent$$698$$.$addBubbleEventListener$($endIndicator$$4$$, "mousedown", $endHints_endShowCall$$);
  $agent$$698$$.$addBubbleEventListener$($endIndicator$$4$$, "keydown", $endHints_endShowCall$$);
  this.$_endButtonMouseUpCall$ = this.$createCallback$(this.$_endOverflowButtonMouseUp$);
  $agent$$698$$.$addBubbleEventListener$($endIndicator$$4$$, "mouseup", this.$_endButtonMouseUpCall$);
  this.$_endButtonMouseOutCall$ = this.$createCallback$(this.$_endOverflowButtonMouseOut$);
  $agent$$698$$.$addBubbleEventListener$($endIndicator$$4$$, "mouseout", this.$_endButtonMouseOutCall$)
};
function $JSCompiler_StaticMethods__createOverflowPopupHints$$() {
  return{autodismiss:"autodismissAlways", focus:$JSCompiler_alias_TRUE$$, type:"menu", closeOnEscape:$JSCompiler_alias_TRUE$$}
}
$JSCompiler_prototypeAlias$$.$_startOverflowButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_startOverflowButtonPressed$$($event$$264$$) {
  var $agent$$699$$ = $AdfAgent$$.$AGENT$, $eventType$$51_targetElement$$37$$ = $event$$264$$.type, $keyCode$$102$$ = $event$$264$$.keyCode;
  "keydown" == $eventType$$51_targetElement$$37$$ && $keyCode$$102$$ != $AdfKeyStroke$$.$ENTER_KEY$ && $keyCode$$102$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $keyCode$$102$$ != $AdfKeyStroke$$.$SPACE_KEY$ || ("mousedown" == $eventType$$51_targetElement$$37$$ && $event$$264$$.button && $event$$264$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$ || ($JSCompiler_StaticMethods__initializeStartContainerCallback$$(this), $JSCompiler_StaticMethods__overflowButtonPressed$$(this, $AdfOverflowSupport$$.$_POPUP_ID_START$, 
  this.$_startContainer$, this.$_startHints$), "mousedown" == $eventType$$51_targetElement$$37$$ && ($eventType$$51_targetElement$$37$$ = $agent$$699$$.$getEventTarget$($event$$264$$), this.$_setDepressedStyle$($eventType$$51_targetElement$$37$$, $JSCompiler_alias_TRUE$$))), $agent$$699$$.$eatEvent$($event$$264$$))
};
function $JSCompiler_StaticMethods__initializeStartContainerCallback$$($JSCompiler_StaticMethods__initializeStartContainerCallback$self$$) {
  $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_hideStartContainerCallback$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_hideStartContainerCallback$ = $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$createCallback$($JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_hideStartContainer$), $AdfObject$$.$ensureClassInitialization$($AdfDhtmlPopupWindow$$), $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_startHints$.closeHandler = 
  $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_hideStartContainerCallback$, $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_startContainerParent$ = $JSCompiler_StaticMethods__initializeStartContainerCallback$self$$.$_startContainer$.parentNode)
}
$JSCompiler_prototypeAlias$$.$_startOverflowButtonMouseUp$ = function $$JSCompiler_prototypeAlias$$$$_startOverflowButtonMouseUp$$($event$$265_targetElement$$38$$) {
  $event$$265_targetElement$$38$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$265_targetElement$$38$$);
  this.$_setDepressedStyle$($event$$265_targetElement$$38$$, $JSCompiler_alias_FALSE$$)
};
$JSCompiler_prototypeAlias$$.$_startOverflowButtonMouseOut$ = function $$JSCompiler_prototypeAlias$$$$_startOverflowButtonMouseOut$$($event$$266_targetElement$$39$$) {
  $event$$266_targetElement$$39$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$266_targetElement$$39$$);
  this.$_setDepressedStyle$($event$$266_targetElement$$39$$, $JSCompiler_alias_FALSE$$)
};
$JSCompiler_prototypeAlias$$.$_endOverflowButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_endOverflowButtonPressed$$($event$$267$$) {
  var $agent$$700$$ = $AdfAgent$$.$AGENT$, $eventType$$52_targetElement$$40$$ = $event$$267$$.type, $keyCode$$103$$ = $event$$267$$.keyCode;
  "keydown" == $eventType$$52_targetElement$$40$$ && $keyCode$$103$$ != $AdfKeyStroke$$.$ENTER_KEY$ && $keyCode$$103$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $keyCode$$103$$ != $AdfKeyStroke$$.$SPACE_KEY$ || ("mousedown" == $eventType$$52_targetElement$$40$$ && $event$$267$$.button && $event$$267$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$ || ($JSCompiler_StaticMethods__initializeEndContainerCallback$$(this), $JSCompiler_StaticMethods__supportsDroplist$$(this) ? $JSCompiler_StaticMethods__overflowButtonPressed$$(this, 
  $AdfOverflowSupport$$.$_POPUP_ID_END$, this.$_droplistContainer$, this.$_endHints$) : $JSCompiler_StaticMethods__overflowButtonPressed$$(this, $AdfOverflowSupport$$.$_POPUP_ID_END$, this.$_endContainer$, this.$_endHints$), "mousedown" == $eventType$$52_targetElement$$40$$ && ($eventType$$52_targetElement$$40$$ = $agent$$700$$.$getEventTarget$($event$$267$$), this.$_setDepressedStyle$($eventType$$52_targetElement$$40$$, $JSCompiler_alias_TRUE$$))), $agent$$700$$.$eatEvent$($event$$267$$))
};
function $JSCompiler_StaticMethods__initializeEndContainerCallback$$($JSCompiler_StaticMethods__initializeEndContainerCallback$self$$) {
  $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_hideEndContainerCallback$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_hideEndContainerCallback$ = $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$createCallback$($JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_hideEndContainer$), $AdfObject$$.$ensureClassInitialization$($AdfDhtmlPopupWindow$$), $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_endHints$.closeHandler = 
  $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_hideEndContainerCallback$, $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_endContainerParent$ = $JSCompiler_StaticMethods__initializeEndContainerCallback$self$$.$_endContainer$.parentNode)
}
$JSCompiler_prototypeAlias$$.$_endOverflowButtonMouseUp$ = function $$JSCompiler_prototypeAlias$$$$_endOverflowButtonMouseUp$$($event$$268_targetElement$$41$$) {
  $event$$268_targetElement$$41$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$268_targetElement$$41$$);
  this.$_setDepressedStyle$($event$$268_targetElement$$41$$, $JSCompiler_alias_FALSE$$)
};
$JSCompiler_prototypeAlias$$.$_endOverflowButtonMouseOut$ = function $$JSCompiler_prototypeAlias$$$$_endOverflowButtonMouseOut$$($event$$269_targetElement$$42$$) {
  $event$$269_targetElement$$42$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$269_targetElement$$42$$);
  this.$_setDepressedStyle$($event$$269_targetElement$$42$$, $JSCompiler_alias_FALSE$$)
};
$JSCompiler_prototypeAlias$$.$_setDepressedStyle$ = function $$JSCompiler_prototypeAlias$$$$_setDepressedStyle$$($targetElement$$43$$, $depressed$$7$$) {
  var $className$$30$$ = $AdfOverflowSupport$$.$_DEPRESSED_STYLE_CLASS$;
  $depressed$$7$$ ? $AdfDomUtils$$.$addCSSClassName$($targetElement$$43$$, $className$$30$$) : $AdfDomUtils$$.$removeCSSClassName$($targetElement$$43$$, $className$$30$$)
};
function $JSCompiler_StaticMethods__overflowButtonPressed$$($JSCompiler_StaticMethods__overflowButtonPressed$self$$, $popupId$$81$$, $popupContainer$$5$$, $popupHints$$7$$) {
  var $peer$$163$$ = $JSCompiler_StaticMethods__overflowButtonPressed$self$$.$_peer$, $component$$1776$$ = $JSCompiler_StaticMethods__overflowButtonPressed$self$$.$_peer$.$getComponent$();
  $peer$$163$$.$isPopupVisible$($component$$1776$$, $popupId$$81$$) ? $JSCompiler_StaticMethods__overflowButtonPressed$self$$.$_peer$.$hidePopup$($component$$1776$$, $popupId$$81$$) : ($JSCompiler_StaticMethods__overflowButtonPressed$self$$.$_useRovingTabIndex$ && $JSCompiler_StaticMethods__resetActiveDescendant$$($JSCompiler_StaticMethods__overflowButtonPressed$self$$, $popupContainer$$5$$), $JSCompiler_StaticMethods__overflowButtonPressed$self$$.$_peer$.$showPopup$($component$$1776$$, $popupContainer$$5$$, 
  $popupHints$$7$$, $popupId$$81$$))
}
$JSCompiler_prototypeAlias$$.$_hideStartContainer$ = function $$JSCompiler_prototypeAlias$$$$_hideStartContainer$$() {
  this.$_startContainer$ && this.$_startContainerParent$.appendChild(this.$_startContainer$)
};
$JSCompiler_prototypeAlias$$.$_hideEndContainer$ = function $$JSCompiler_prototypeAlias$$$$_hideEndContainer$$() {
  $JSCompiler_StaticMethods__supportsDroplist$$(this) && this.$_droplistContainer$ ? this.$_droplistContainer$.parentNode.appendChild(this.$_droplistContainer$) : this.$_endContainer$ && this.$_endContainerParent$.appendChild(this.$_endContainer$)
};
function $JSCompiler_StaticMethods__binarySearchAdjustSteps$$($JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$, $hasAvailableSpace$$2$$, $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$, $availableHeight$$4$$, $lowerRange$$1$$, $upperRange$$1$$) {
  var $divider$$1_rangeToDivide$$ = $upperRange$$1$$ - $lowerRange$$1$$;
  if(2 >= $divider$$1_rangeToDivide$$) {
    return $hasAvailableSpace$$2$$
  }
  for(var $divider$$1_rangeToDivide$$ = Math.ceil($divider$$1_rangeToDivide$$ / 2), $x$$67$$ = 0;$x$$67$$ < $divider$$1_rangeToDivide$$;$x$$67$$++) {
    if($hasAvailableSpace$$2$$) {
      $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$ = $JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$, "end" == $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$.$_type$ ? $JSCompiler_StaticMethods__showEndStep$$($JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$) : "start" == $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$.$_type$ && $JSCompiler_StaticMethods__showStartStep$$($JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$), 
      $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$ = $JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$.$_element$.offsetWidth + 3, $availableHeight$$4$$ = $JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$.$_element$.offsetHeight + 5
    }else {
      var $JSCompiler_StaticMethods__hideOneStep$self$$inline_4557$$ = $JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$;
      "end" == $JSCompiler_StaticMethods__hideOneStep$self$$inline_4557$$.$_type$ ? $JSCompiler_StaticMethods__hideEndStep$$($JSCompiler_StaticMethods__hideOneStep$self$$inline_4557$$) : "start" == $JSCompiler_StaticMethods__hideOneStep$self$$inline_4557$$.$_type$ && $JSCompiler_StaticMethods__hideStartStep$$($JSCompiler_StaticMethods__hideOneStep$self$$inline_4557$$)
    }
  }
  ($hasAvailableSpace$$2$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$($JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$, $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$, $availableHeight$$4$$)) ? $lowerRange$$1$$ += $divider$$1_rangeToDivide$$ : $upperRange$$1$$ -= $divider$$1_rangeToDivide$$;
  return $JSCompiler_StaticMethods__binarySearchAdjustSteps$$($JSCompiler_StaticMethods__binarySearchAdjustSteps$self$$, $hasAvailableSpace$$2$$, $JSCompiler_StaticMethods__showOneStep$self$$inline_4555_availableWidth$$3$$, $availableHeight$$4$$, $lowerRange$$1$$, $upperRange$$1$$)
}
function $JSCompiler_StaticMethods__showSteps$$($JSCompiler_StaticMethods__showSteps$self$$, $availableWidth$$4_startOffset$$1$$, $availableHeight$$5_lastStep$$, $hasAvailableSpace$$3$$) {
  for(;$JSCompiler_StaticMethods__numberOfVisibleSteps$$($JSCompiler_StaticMethods__showSteps$self$$) < $JSCompiler_StaticMethods__showSteps$self$$.$_steps$.length && ($hasAvailableSpace$$3$$ || ("both" == $JSCompiler_StaticMethods__showSteps$self$$.$_type$ || "droplist" == $JSCompiler_StaticMethods__showSteps$self$$.$_type$) && ($JSCompiler_StaticMethods__showSteps$self$$.$_activeStep$ < $JSCompiler_StaticMethods__showSteps$self$$.$_firstVisibleStep$ || $JSCompiler_StaticMethods__showSteps$self$$.$_activeStep$ > 
  $JSCompiler_StaticMethods__showSteps$self$$.$_lastVisibleStep$));) {
    switch($JSCompiler_StaticMethods__showSteps$self$$.$_type$) {
      case "end":
        $JSCompiler_StaticMethods__showEndStep$$($JSCompiler_StaticMethods__showSteps$self$$);
        break;
      case "start":
        $JSCompiler_StaticMethods__showStartStep$$($JSCompiler_StaticMethods__showSteps$self$$);
        break;
      case "both":
      ;
      case "droplist":
        $availableWidth$$4_startOffset$$1$$ = $JSCompiler_StaticMethods__showSteps$self$$.$_activeStep$ - $JSCompiler_StaticMethods__showSteps$self$$.$_firstVisibleStep$, $availableHeight$$5_lastStep$$ = $JSCompiler_StaticMethods__showSteps$self$$.$_steps$.length - 1, $availableWidth$$4_startOffset$$1$$ < $JSCompiler_StaticMethods__numberOfVisibleSteps$$($JSCompiler_StaticMethods__showSteps$self$$) - $availableWidth$$4_startOffset$$1$$ - 1 && 0 != $JSCompiler_StaticMethods__showSteps$self$$.$_firstVisibleStep$ || 
        $JSCompiler_StaticMethods__showSteps$self$$.$_lastVisibleStep$ == $availableHeight$$5_lastStep$$ ? $JSCompiler_StaticMethods__showStartStep$$($JSCompiler_StaticMethods__showSteps$self$$) : $JSCompiler_StaticMethods__showEndStep$$($JSCompiler_StaticMethods__showSteps$self$$)
    }
    $availableWidth$$4_startOffset$$1$$ = $JSCompiler_StaticMethods__showSteps$self$$.$_element$.offsetWidth + 3;
    $availableHeight$$5_lastStep$$ = $JSCompiler_StaticMethods__showSteps$self$$.$_element$.offsetHeight + 5;
    $hasAvailableSpace$$3$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$($JSCompiler_StaticMethods__showSteps$self$$, $availableWidth$$4_startOffset$$1$$, $availableHeight$$5_lastStep$$)
  }
  return $hasAvailableSpace$$3$$
}
function $JSCompiler_StaticMethods__hideSteps$$($JSCompiler_StaticMethods__hideSteps$self$$, $availableWidth$$5$$, $availableHeight$$6$$, $hasAvailableSpace$$4_startOffset$$2$$) {
  for(var $wasStepHidden$$ = $JSCompiler_alias_FALSE$$;!$hasAvailableSpace$$4_startOffset$$2$$ && 0 < $JSCompiler_StaticMethods__numberOfVisibleSteps$$($JSCompiler_StaticMethods__hideSteps$self$$);) {
    switch($JSCompiler_StaticMethods__hideSteps$self$$.$_type$) {
      case "end":
        $JSCompiler_StaticMethods__hideEndStep$$($JSCompiler_StaticMethods__hideSteps$self$$);
        break;
      case "start":
        $JSCompiler_StaticMethods__hideStartStep$$($JSCompiler_StaticMethods__hideSteps$self$$);
        break;
      case "both":
      ;
      case "droplist":
        $hasAvailableSpace$$4_startOffset$$2$$ = $JSCompiler_StaticMethods__hideSteps$self$$.$_activeStep$ - $JSCompiler_StaticMethods__hideSteps$self$$.$_firstVisibleStep$, $hasAvailableSpace$$4_startOffset$$2$$ >= $JSCompiler_StaticMethods__numberOfVisibleSteps$$($JSCompiler_StaticMethods__hideSteps$self$$) - $hasAvailableSpace$$4_startOffset$$2$$ - 1 || -1 == $JSCompiler_StaticMethods__hideSteps$self$$.$_firstVisibleStep$ ? $JSCompiler_StaticMethods__hideStartStep$$($JSCompiler_StaticMethods__hideSteps$self$$) : 
        $JSCompiler_StaticMethods__hideEndStep$$($JSCompiler_StaticMethods__hideSteps$self$$)
    }
    $wasStepHidden$$ = $JSCompiler_alias_TRUE$$;
    $hasAvailableSpace$$4_startOffset$$2$$ = $JSCompiler_StaticMethods__hasAvailableSpace$$($JSCompiler_StaticMethods__hideSteps$self$$, $availableWidth$$5$$, $availableHeight$$6$$)
  }
  return $wasStepHidden$$
}
function $JSCompiler_StaticMethods__hasAvailableSpace$$($JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$, $availableWidth$$6$$, $availableHeight$$7$$) {
  var $contentWidth$$13$$ = Math.max($JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$.$_element$.firstChild.offsetWidth, $JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$.$_element$.scrollWidth), $agent$$701$$ = $AdfAgent$$.$getAgent$();
  $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$() && ($agent$$701$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && 8 > $agent$$701$$.$getVersion$()) && ($contentWidth$$13$$ = $JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$.$_element$.scrollWidth);
  $JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$ = Math.max($JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$.$_element$.firstChild.offsetHeight, $JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$.$_element$.scrollHeight) <= $availableHeight$$7$$;
  return $contentWidth$$13$$ <= $availableWidth$$6$$ && $JSCompiler_StaticMethods__hasAvailableSpace$self_hasAvailableHeight$$
}
function $JSCompiler_StaticMethods__showStartStep$$($JSCompiler_StaticMethods__showStartStep$self$$) {
  var $step$$inline_4560$$ = $JSCompiler_StaticMethods__showStartStep$self$$.$_steps$[$JSCompiler_StaticMethods__showStartStep$self$$.$_firstVisibleStep$ - 1];
  $JSCompiler_StaticMethods__showElements$$($step$$inline_4560$$.elements);
  $JSCompiler_StaticMethods__hideOverflowElements$$($step$$inline_4560$$.$overflowElements$);
  $JSCompiler_StaticMethods__swapElements$$($step$$inline_4560$$.$swapElements$, $JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__showStartStep$self$$.$_firstVisibleStep$--
}
function $JSCompiler_StaticMethods__showEndStep$$($JSCompiler_StaticMethods__showEndStep$self$$) {
  var $step$$inline_4564$$ = $JSCompiler_StaticMethods__showEndStep$self$$.$_steps$[$JSCompiler_StaticMethods__showEndStep$self$$.$_lastVisibleStep$ + 1];
  $JSCompiler_StaticMethods__showElements$$($step$$inline_4564$$.elements);
  $JSCompiler_StaticMethods__hideOverflowElements$$($step$$inline_4564$$.$overflowElements$);
  $JSCompiler_StaticMethods__swapElements$$($step$$inline_4564$$.$swapElements$, $JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__showEndStep$self$$.$_lastVisibleStep$++
}
function $JSCompiler_StaticMethods__hideStartStep$$($JSCompiler_StaticMethods__hideStartStep$self$$) {
  var $step$$inline_4568$$ = $JSCompiler_StaticMethods__hideStartStep$self$$.$_steps$[$JSCompiler_StaticMethods__hideStartStep$self$$.$_firstVisibleStep$];
  $JSCompiler_StaticMethods__hideElements$$($step$$inline_4568$$.elements);
  $JSCompiler_StaticMethods__showOverflowElements$$($JSCompiler_StaticMethods__hideStartStep$self$$, $step$$inline_4568$$.$overflowElements$, $JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__swapElements$$($step$$inline_4568$$.$swapElements$);
  $JSCompiler_StaticMethods__hideStartStep$self$$.$_firstVisibleStep$++
}
function $JSCompiler_StaticMethods__hideEndStep$$($JSCompiler_StaticMethods__hideEndStep$self$$) {
  var $step$$inline_4572$$ = $JSCompiler_StaticMethods__hideEndStep$self$$.$_steps$[$JSCompiler_StaticMethods__hideEndStep$self$$.$_lastVisibleStep$];
  $JSCompiler_StaticMethods__hideElements$$($step$$inline_4572$$.elements);
  $JSCompiler_StaticMethods__showOverflowElements$$($JSCompiler_StaticMethods__hideEndStep$self$$, $step$$inline_4572$$.$overflowElements$, $JSCompiler_alias_VOID$$);
  $JSCompiler_StaticMethods__swapElements$$($step$$inline_4572$$.$swapElements$);
  $JSCompiler_StaticMethods__hideEndStep$self$$.$_lastVisibleStep$--
}
function $JSCompiler_StaticMethods__hideElements$$($elements$$29$$) {
  for(var $elementsLength$$ = $elements$$29$$.length, $i$$614$$ = 0;$i$$614$$ < $elementsLength$$;$i$$614$$++) {
    var $element$$344$$ = $elements$$29$$[$i$$614$$];
    $element$$344$$.$_display$ = $element$$344$$.style.display;
    $element$$344$$.style.display = "none"
  }
}
function $JSCompiler_StaticMethods__showElements$$($elements$$30$$) {
  for(var $elementsLength$$1$$ = $elements$$30$$.length, $i$$615$$ = 0;$i$$615$$ < $elementsLength$$1$$;$i$$615$$++) {
    var $element$$345$$ = $elements$$30$$[$i$$615$$];
    $element$$345$$.style.display = $element$$345$$.$_display$ || ""
  }
}
function $JSCompiler_StaticMethods__hideOverflowElements$$($elements$$31$$) {
  for(var $elementsLength$$2$$ = $elements$$31$$.length, $i$$616$$ = 0;$i$$616$$ < $elementsLength$$2$$;$i$$616$$++) {
    var $element$$346$$ = $elements$$31$$[$i$$616$$];
    $element$$346$$.parentNode.removeChild($element$$346$$)
  }
}
function $JSCompiler_StaticMethods__showOverflowElements$$($JSCompiler_StaticMethods__showOverflowElements$self$$, $elements$$32$$, $isStart$$4$$) {
  for(var $elementsLength$$3$$ = $elements$$32$$.length, $container$$39$$ = $isStart$$4$$ ? $JSCompiler_StaticMethods__showOverflowElements$self$$.$_startContainer$ : $JSCompiler_StaticMethods__showOverflowElements$self$$.$_endContainer$, $i$$617$$ = 0;$i$$617$$ < $elementsLength$$3$$;$i$$617$$++) {
    var $element$$347$$ = $elements$$32$$[$i$$617$$];
    "before" == $JSCompiler_StaticMethods__showOverflowElements$self$$.$_position$ || $isStart$$4$$ && "vertical" == $JSCompiler_StaticMethods__showOverflowElements$self$$.$_orientation$ ? $container$$39$$.appendChild($element$$347$$) : $container$$39$$.insertBefore($element$$347$$, $container$$39$$.firstChild)
  }
}
function $JSCompiler_StaticMethods__swapElements$$($elements$$33$$, $show$$8$$) {
  for(var $elementsLength$$4$$ = $elements$$33$$.length, $i$$618$$ = 0;$i$$618$$ < $elementsLength$$4$$;$i$$618$$++) {
    var $swapElements$$ = $elements$$33$$[$i$$618$$], $position$$24$$ = $swapElements$$[$show$$8$$ ? 1 : 2];
    $position$$24$$.parentNode.insertBefore($swapElements$$[0], $position$$24$$)
  }
}
function $JSCompiler_StaticMethods__numberOfVisibleSteps$$($JSCompiler_StaticMethods__numberOfVisibleSteps$self$$) {
  var $numberOfSteps$$ = $JSCompiler_StaticMethods__numberOfVisibleSteps$self$$.$_steps$.length;
  return $numberOfSteps$$ - $JSCompiler_StaticMethods__numberOfVisibleSteps$self$$.$_firstVisibleStep$ - ($numberOfSteps$$ - 1 - $JSCompiler_StaticMethods__numberOfVisibleSteps$self$$.$_lastVisibleStep$)
}
function $JSCompiler_StaticMethods__hideOverflowButtons$$($JSCompiler_StaticMethods__hideOverflowButtons$self$$) {
  switch($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_type$) {
    case "end":
      $AdfDomUtils$$.$removeCSSClassName$($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_element$, "p_AFEndOverflow");
      break;
    case "start":
      $AdfDomUtils$$.$removeCSSClassName$($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_element$, "p_AFStartOverflow");
      break;
    case "both":
      $AdfDomUtils$$.$removeCSSClassName$($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_element$, "p_AFEndOverflow");
      $AdfDomUtils$$.$removeCSSClassName$($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_element$, "p_AFStartOverflow");
      break;
    case "droplist":
      $AdfDomUtils$$.$removeCSSClassName$($JSCompiler_StaticMethods__hideOverflowButtons$self$$.$_element$, "p_AFOverflowDroplist")
  }
}
function $JSCompiler_StaticMethods__showOverflowButtons$$($JSCompiler_StaticMethods__showOverflowButtons$self$$, $force$$3$$) {
  if($force$$3$$) {
    switch($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_type$) {
      case "end":
        $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFEndOverflow");
        break;
      case "start":
        $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFStartOverflow");
        break;
      case "both":
        $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFEndOverflow");
        $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFStartOverflow");
        break;
      case "droplist":
        $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFOverflowDroplist")
    }
  }else {
    0 < $JSCompiler_StaticMethods__showOverflowButtons$self$$.$_firstVisibleStep$ && 0 < $JSCompiler_StaticMethods__showOverflowButtons$self$$.$_startContainer$.childNodes.length && ($JSCompiler_StaticMethods__supportsDroplist$$($JSCompiler_StaticMethods__showOverflowButtons$self$$) ? $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFOverflowDroplist") : $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, 
    "p_AFStartOverflow")), $JSCompiler_StaticMethods__showOverflowButtons$self$$.$_lastVisibleStep$ < $JSCompiler_StaticMethods__showOverflowButtons$self$$.$_steps$.length - 1 && 0 < $JSCompiler_StaticMethods__showOverflowButtons$self$$.$_endContainer$.childNodes.length && ($JSCompiler_StaticMethods__supportsDroplist$$($JSCompiler_StaticMethods__showOverflowButtons$self$$) ? $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFOverflowDroplist") : 
    $AdfDomUtils$$.$addCSSClassName$($JSCompiler_StaticMethods__showOverflowButtons$self$$.$_element$, "p_AFEndOverflow"))
  }
}
function $JSCompiler_StaticMethods__resetActiveDescendant$$($JSCompiler_StaticMethods__resetActiveDescendant$self$$, $popupContainer$$6$$) {
  if(!$popupContainer$$6$$) {
    switch($JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_type$) {
      case "end":
        $popupContainer$$6$$ = $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_endContainer$;
        break;
      case "start":
        $popupContainer$$6$$ = $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_startContainer$;
        break;
      case "droplist":
        $popupContainer$$6$$ = $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_droplistContainer$;
        break;
      case "both":
        $AdfLogger$$.$LOGGER$.warning("Roving tab index not yet supported for overflow type 'both'!");
        return
    }
  }
  $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_activeDescendant$ && $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_activeDescendant$.setAttribute("tabIndex", "-1");
  $JSCompiler_StaticMethods__resetActiveDescendant$self$$.$_activeDescendant$ = $AdfFocusUtils$$.$setFirstActiveDescendant$($popupContainer$$6$$, {$includeVisibilityHidden$:$JSCompiler_alias_TRUE$$, $includeDisplayNone$:$JSCompiler_alias_TRUE$$})
}
;