var $AdfDhtmlNavigationPanePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlNavigationPanePeer", !1);
$goog$exportSymbol$$("AdfDhtmlNavigationPanePeer", $AdfDhtmlNavigationPanePeer$$);
$AdfDhtmlNavigationPanePeer$$.$InitSubclass$ = function $$AdfDhtmlNavigationPanePeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$);
  $AdfAgent$$.$AGENT$.$isTouchFirstDevice$() || $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$);
  this.$_CHOICE_BUTTON_ID$ = "_afrChoiceButton";
  this.$_CHOICE_DATA_CONTAINER_ID$ = "_afrChoiceDataContainer";
  this.$_POPUP_ID$ = "popupContent";
  this.$_POPUP_PANEL_ID$ = "_afrChoicePopupPanel";
  this.$_TAB_HEADER$ = "tabh";
  this.$_TAB_HINT$ = "tabs";
  this.$_BAR_HINT$ = "bar";
  this.$_ANCHOR_SUB_ID$ = "disclosureAnchor";
  this.$_TAB_ID_CONVEYOR_SUFFIX$ = "Cnvr";
  $AdfDhtmlNavigationPanePeer$$.$_SELECTED_STYLECLASS$ = "p_AFSelected";
  this.$_ELLIPSIS_SUBID$ = "_afrEps";
  this.$_TAB_CONTENT$ = "_afrTabCnt";
  var $layoutType$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|navigationPane-tr-layout-type");
  this.$_compressedLayoutMode$ = "overflow" == $layoutType$$ ? "overflow" : "overflow-droplist" == $layoutType$$ ? "overflow-droplist" : "conveyorBelt";
};
$goog$exportSymbol$$("AdfDhtmlNavigationPanePeer.InitSubclass", $AdfDhtmlNavigationPanePeer$$.$InitSubclass$);
$AdfDhtmlNavigationPanePeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlNavigationPanePeer$$$$$InitDomElement$$($component$$1601$$, $domElement$$343$$) {
  $AdfDhtmlNavigationPanePeer$$.$superclass$.$InitDomElement$.call(this, $component$$1601$$, $domElement$$343$$);
  var $clientId$$286_headerContentId_headerId_id$$308$$ = $component$$1601$$.$getClientId$(), $agent$$418$$ = $AdfAgent$$.$getAgent$();
  this.$_stretchedOnLastResize$ = !0;
  if ($component$$1601$$.getHint() == $AdfDhtmlNavigationPanePeer$$.$_TAB_HINT$) {
    if ($clientId$$286_headerContentId_headerId_id$$308$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$286_headerContentId_headerId_id$$308$$, $AdfDhtmlNavigationPanePeer$$.$_TAB_HEADER$), this.$_headerDiv$ = $agent$$418$$.getElementById($clientId$$286_headerContentId_headerId_id$$308$$)) {
      $clientId$$286_headerContentId_headerId_id$$308$$ = "conveyorBelt" == $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$ ? $AdfRichUIPeer$$.$CreateSubId$($clientId$$286_headerContentId_headerId_id$$308$$, "cbc") : $AdfRichUIPeer$$.$CreateSubId$($clientId$$286_headerContentId_headerId_id$$308$$, "oc"), this.$_headerContentDiv$ = $agent$$418$$.getElementById($clientId$$286_headerContentId_headerId_id$$308$$), $AdfPage$$.$PAGE$.$__registerDescendantResizeNotifyComponent$($component$$1601$$)
      ;
    }
  } else {
    $component$$1601$$.getHint() == $AdfDhtmlNavigationPanePeer$$.$_BAR_HINT$ && ($clientId$$286_headerContentId_headerId_id$$308$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$286_headerContentId_headerId_id$$308$$, "oc"), this.$_barOverflowContent$ = $agent$$418$$.getElementById($clientId$$286_headerContentId_headerId_id$$308$$), $AdfPage$$.$PAGE$.$__registerDescendantResizeNotifyComponent$($component$$1601$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlNavigationPanePeer$$.prototype.$InitDomElement$});
$AdfDhtmlNavigationPanePeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlNavigationPanePeer$$$$$needsResizeNotify$$($component$$1602$$) {
  return this.$_headerDiv$ || $component$$1602$$.getHint() == $AdfDhtmlNavigationPanePeer$$.$_BAR_HINT$ ? !0 : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlNavigationPanePeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlNavigationPanePeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlNavigationPanePeer$$$$$ResizeNotify$$($children$$27_clientId$$287_oldWidth$$16$$, $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$, $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$) {
  $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$ = this.$getComponent$();
  if (this.$_headerContentDiv$) {
    $children$$27_clientId$$287_oldWidth$$16$$ != $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ && ("ellipsis" == this.$getComponent$().getTruncationStyle() ? ($activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ = this.$_getChildElements$(this.$_headerDiv$.id, this.$_headerContentDiv$), 0 != $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$.length && this.$_layoutTabs$($children$$27_clientId$$287_oldWidth$$16$$, this.$_headerDiv$.offsetWidth, 
    this.$_headerDiv$.id, $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$)) : this.$_updateOverflow$($activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$));
  } else {
    if (this.$_barOverflowContent$) {
      if (!this.$_overflowSupport$) {
        $children$$27_clientId$$287_oldWidth$$16$$ = $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$.$getClientId$();
        if (!$AdfOverflowSupport$$.$needsOverflow$($children$$27_clientId$$287_oldWidth$$16$$)) {
          return;
        }
        this.$_overflowSupport$ = new $AdfOverflowSupport$$($children$$27_clientId$$287_oldWidth$$16$$, this, "both");
        $children$$27_clientId$$287_oldWidth$$16$$ = this.$_barOverflowContent$.childNodes;
        a: {
          for ($activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ = -1;$child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$ = $children$$27_clientId$$287_oldWidth$$16$$[++$activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$];) {
            if ($AdfDomUtils$$.$containsCSSClassName$($child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$, "p_AFSelected")) {
              break a;
            }
          }
          $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ = -1;
        }
        var $child$$27_overflowElement$$inline_2458$$;
        for ($child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$ = -1;$child$$27_overflowElement$$inline_2458$$ = $children$$27_clientId$$287_oldWidth$$16$$[++$child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$];) {
          if (1 == $child$$27_overflowElement$$inline_2458$$.nodeType && ("a" == $child$$27_overflowElement$$inline_2458$$.tagName.toLowerCase() || 0 < $child$$27_overflowElement$$inline_2458$$.getElementsByTagName("a").length)) {
            -1 == $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ && ($activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ = $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$);
            this.$_overflowSupport$.$createStep$();
            $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ == $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$ ? this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2458$$) : $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$ > $activeChildIndex_children$$inline_2448_j$$inline_2451_newWidth$$21$$ ? ($JSCompiler_StaticMethods__addSeparators$$(this, $children$$27_clientId$$287_oldWidth$$16$$, $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$, 
            !0), this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2458$$)) : (this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2458$$), $JSCompiler_StaticMethods__addSeparators$$(this, $children$$27_clientId$$287_oldWidth$$16$$, $child$$inline_2452_component$$1603_i$$387_oldHeight$$19$$, !1));
            var $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$ = $child$$27_overflowElement$$inline_2458$$, $component$$inline_2456_itemHref$$inline_2460$$ = this.$getComponent$(), $link$$inline_2459_overflowClassName$$inline_2457$$ = $AdfDhtmlNavigationPanePeer$$.$_barOverflowElementStyleClass$;
            null == $link$$inline_2459_overflowClassName$$inline_2457$$ && ($link$$inline_2459_overflowClassName$$inline_2457$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("AFOverflowElement"), $AdfDhtmlNavigationPanePeer$$.$_barOverflowElementStyleClass$ = $link$$inline_2459_overflowClassName$$inline_2457$$);
            $child$$27_overflowElement$$inline_2458$$ = $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.ownerDocument.createElement("div");
            $child$$27_overflowElement$$inline_2458$$.className = $link$$inline_2459_overflowClassName$$inline_2457$$;
            $link$$inline_2459_overflowClassName$$inline_2457$$ = $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.cloneNode(!0);
            $link$$inline_2459_overflowClassName$$inline_2457$$.removeAttribute("id");
            $child$$27_overflowElement$$inline_2458$$.appendChild($link$$inline_2459_overflowClassName$$inline_2457$$);
            $component$$inline_2456_itemHref$$inline_2460$$ = $AdfPage$$.$PAGE$.$findComponent$($element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.id);
            if (!$component$$inline_2456_itemHref$$inline_2460$$.getDisabled()) {
              $component$$inline_2456_itemHref$$inline_2460$$ = $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.href;
              void 0 == $component$$inline_2456_itemHref$$inline_2460$$ && ($component$$inline_2456_itemHref$$inline_2460$$ = $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.getAttribute("href"));
              var $documentHref$$inline_2461$$ = $AdfAgent$$.$AGENT$.$getDomDocument$().location.href;
              $component$$inline_2456_itemHref$$inline_2460$$ && -1 == $component$$inline_2456_itemHref$$inline_2460$$.indexOf($documentHref$$inline_2461$$) ? ($link$$inline_2459_overflowClassName$$inline_2457$$.setAttribute("_href", $component$$inline_2456_itemHref$$inline_2460$$), ($element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$ = $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.getAttribute("target")) && $link$$inline_2459_overflowClassName$$inline_2457$$.setAttribute("_target", 
              $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$)) : $link$$inline_2459_overflowClassName$$inline_2457$$.setAttribute("_componentId", $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$.getAttribute("id"));
              $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$ = this.$createCallback$(this.$_handleNavItemClick$);
              $AdfAgent$$.$AGENT$.$addBubbleEventListener$($link$$inline_2459_overflowClassName$$inline_2457$$, "click", $element$$inline_2455_handleNavItemClick$$inline_2463_target$$inline_2462$$);
            }
            this.$_overflowSupport$.$addOverflowElement$($child$$27_overflowElement$$inline_2458$$);
          }
        }
      }
      this.$_overflowSupport$.$handleResize$();
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlNavigationPanePeer$$.prototype.$ResizeNotify$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlNavigationPanePeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_updateOverflow$ = function $$JSCompiler_prototypeAlias$$$$_updateOverflow$$($newWidth$$22$$) {
  var $children$$28$$ = this.$_getChildElements$(this.$_headerDiv$.id, this.$_headerContentDiv$);
  0 != $children$$28$$.length && this.$_resizeOverflow$(this.$_headerDiv$.id, $children$$28$$, $newWidth$$22$$);
};
$JSCompiler_prototypeAlias$$.$_layoutTabs$ = function $$JSCompiler_prototypeAlias$$$$_layoutTabs$$($numberOfTabs_oldWidth$$18$$, $newWidth$$24_tabWidth$$, $containerId$$7$$, $children$$30$$, $above$$) {
  $numberOfTabs_oldWidth$$18$$ = $children$$30$$.length;
  var $component$$1604_i$$388$$ = this.$getComponent$();
  this.$_maxTabSize$ || (this.$_maxTabSize$ = $component$$1604_i$$388$$.getMaxTabSize(), this.$_maxTabSize$ = null == this.$_maxTabSize$ || "infinity" == this.$_maxTabSize$ ? 0 : parseFloat(this.$_maxTabSize$));
  this.$_minTabSize$ || (this.$_minTabSize$ = $component$$1604_i$$388$$.getMinTabSize(), this.$_minTabSize$ = parseFloat(this.$_minTabSize$), null == this.$_minTabSize$ && (this.$_minTabSize$ = 32));
  if (0 < this.$_maxTabSize$ && this.$_minTabSize$ > this.$_maxTabSize$) {
    $AdfLogger$$.$LOGGER$.warning("Minimum tab width should not be greater than maximum tab width: min\x3d" + this.$_minTabSize$ + ", max\x3d " + this.$_maxTabSize$);
  } else {
    if (!this.$_overflowLimit$) {
      this.$_overflowLimit$ = this.$_minTabSize$ * $numberOfTabs_oldWidth$$18$$;
      !this.$_tabOverlapWidth$ && 1 < $numberOfTabs_oldWidth$$18$$ && (this.$_tabOverlapWidth$ = $children$$30$$[0].offsetWidth - ($children$$30$$[1].offsetLeft - $children$$30$$[0].offsetLeft));
      for ($component$$1604_i$$388$$ = 0;$component$$1604_i$$388$$ < $numberOfTabs_oldWidth$$18$$;$component$$1604_i$$388$$++) {
        var $tabElement$$1$$ = $children$$30$$[$component$$1604_i$$388$$];
        tabContentElement = this.$_getTabContentElement$($tabElement$$1$$);
        this.$_getEllipsisElement$($tabElement$$1$$).style.display = "none";
        this.$_overflowLimit$ += $tabElement$$1$$.offsetWidth - tabContentElement.offsetWidth - this.$_tabOverlapWidth$;
      }
      this.$_tabOverlapWidth$ && (this.$_overflowLimit$ += this.$_tabOverlapWidth$);
    }
    $newWidth$$24_tabWidth$$ < this.$_overflowLimit$ ? (this.$_setTabSizes$($children$$30$$, this.$_minTabSize$), this.$_resizeOverflow$($containerId$$7$$, $children$$30$$, $newWidth$$24_tabWidth$$, $above$$)) : ($newWidth$$24_tabWidth$$ = Math.floor(($newWidth$$24_tabWidth$$ - this.$_tabOverlapWidth$) / $numberOfTabs_oldWidth$$18$$), this.$_hideOverflow$(), this.$_setTabSizes$($children$$30$$, $newWidth$$24_tabWidth$$, !0));
  }
};
$JSCompiler_prototypeAlias$$.$_setTabSizes$ = function $$JSCompiler_prototypeAlias$$$$_setTabSizes$$($children$$31$$, $desiredTabWidth$$, $isOutterWidth$$) {
  for (var $tabSizesModified$$ = !1, $i$$389$$ = 0;$i$$389$$ < $children$$31$$.length;$i$$389$$++) {
    var $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ = $children$$31$$[$i$$389$$];
    tabContentElement = this.$_getTabContentElement$($desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$);
    var $ellipsisElement$$1$$ = this.$_getEllipsisElement$($desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$), $oldTabSize$$ = tabContentElement.style.width;
    tabContentElement.style.width = "";
    tabContentElement.style.overflow = "";
    $ellipsisElement$$1$$.style.display = "none";
    $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ = $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$.offsetWidth;
    $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ = $isOutterWidth$$ ? $desiredTabWidth$$ - ($desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ - tabContentElement.offsetWidth) + this.$_tabOverlapWidth$ : $desiredTabWidth$$;
    0 < this.$_maxTabSize$ && $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ > this.$_maxTabSize$ && ($desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ = this.$_maxTabSize$);
    tabContentElement.offsetWidth > $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ && ($ellipsisElement$$1$$.style.display = "inline", tabContentElement.style.overflow = "hidden", $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ -= $ellipsisElement$$1$$.offsetWidth);
    tabContentElement.style.width = $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ + "px";
    $tabSizesModified$$ || $oldTabSize$$ == tabContentElement.style.width || ($tabSizesModified$$ = !0);
  }
  return $tabSizesModified$$;
};
$JSCompiler_prototypeAlias$$.$_hideOverflow$ = function $$JSCompiler_prototypeAlias$$$$_hideOverflow$$() {
  "conveyorBelt" == $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$ ? this.$_conveyorBeltSupport$ && this.$_conveyorBeltSupport$.$handleResize$() : this.$_overflowSupport$ && this.$_overflowSupport$.$removeAllItemsFromOverflow$();
};
$JSCompiler_prototypeAlias$$.$_resizeOverflow$ = function $$JSCompiler_prototypeAlias$$$$_resizeOverflow$$($containerId$$8$$, $children$$32$$) {
  var $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$ = $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$;
  if ("overflow" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$) {
    if (!this.$_overflowSupport$) {
      for (var $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$ = new $AdfOverflowSupport$$($containerId$$8$$, this, "both"), $conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$ = 0;$conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$ < $children$$32$$.length;$conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$++) {
        var $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$ = $children$$32$$[$conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$];
        1 == $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$.nodeType && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$createStep$(), $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.addElement($cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$), "none" != $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$.style.display && 
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$addOverflowElement$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$)));
      }
      this.$_overflowSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$;
    }
    this.$_overflowSupport$ && this.$_overflowSupport$.$handleResize$();
  } else {
    if ("overflow-droplist" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$) {
      if (!this.$_overflowSupport$) {
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$ = new $AdfOverflowSupport$$($containerId$$8$$, this, "droplist");
        $conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$ = [];
        for ($cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$ = 0;$cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$ < $children$$32$$.length;$cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$++) {
          var $child$$inline_2478_i$$inline_2486$$ = $children$$32$$[$cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$];
          1 == $child$$inline_2478_i$$inline_2486$$.nodeType && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$createStep$(), $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.addElement($child$$inline_2478_i$$inline_2486$$), "none" != $child$$inline_2478_i$$inline_2486$$.style.display && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$addOverflowElement$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, 
          $child$$inline_2478_i$$inline_2486$$)), $conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$.push($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $child$$inline_2478_i$$inline_2486$$))));
        }
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$addDropListElements$($conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$);
        this.$_overflowSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$;
      }
      this.$_overflowSupport$ && this.$_overflowSupport$.$handleResize$();
    } else {
      if ("conveyorBelt" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$) {
        if (!this.$_conveyorBeltSupport$) {
          $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$ = $AdfConveyorBeltSupport$$.$createHorizontalSupport$($containerId$$8$$, this);
          $conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$ = [];
          $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$ = $AdfRichUIPeer$$.$CreateSubId$($containerId$$8$$, "cbs");
          for ($child$$inline_2478_i$$inline_2486$$ = 0;$child$$inline_2478_i$$inline_2486$$ < $children$$32$$.length;$child$$inline_2478_i$$inline_2486$$++) {
            var $child$$inline_2487$$ = $children$$32$$[$child$$inline_2478_i$$inline_2486$$];
            1 == $child$$inline_2487$$.nodeType && $child$$inline_2487$$.getAttribute("id") != $cbSpacerId$$inline_2485_child$$inline_2470_i$$inline_2477$$ && "none" != $child$$inline_2487$$.style.display && $conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$.push($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $child$$inline_2487$$));
          }
          $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$addDropListElements$($conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$);
          if ($conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$ = $AdfDhtmlNavigationPanePeer$$.$_conveyorBeltFirstItem$) {
            $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$.$setFirstItemDisplayed$($conveyorBeltFirstItem$$inline_2488_droplistItems$$inline_2476_droplistItems$$inline_2484_i$$inline_2469$$), $AdfDhtmlNavigationPanePeer$$.$_conveyorBeltFirstItem$ = null;
          }
          this.$_conveyorBeltSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2483_overflowSupport$$inline_2468_overflowSupport$$inline_2475$$;
        }
        this.$_conveyorBeltSupport$ && this.$_conveyorBeltSupport$.$handleResize$();
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_getChildElements$ = function $$JSCompiler_prototypeAlias$$$$_getChildElements$$($containerId$$9$$, $childContainer$$) {
  for (var $childElements$$5$$ = $childContainer$$.childNodes, $children$$33$$ = [], $isManagedByConveyorBelt$$ = "conveyorBelt" == $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$, $cbSpacerId$$1$$ = $isManagedByConveyorBelt$$ ? $AdfRichUIPeer$$.$CreateSubId$($containerId$$9$$, "cbs") : null, $i$$390$$ = 0;$i$$390$$ < $childElements$$5$$.length;$i$$390$$++) {
    var $childElement$$10$$ = $childElements$$5$$[$i$$390$$];
    1 != $childElement$$10$$.nodeType || $isManagedByConveyorBelt$$ && $childElement$$10$$.getAttribute("id") == $cbSpacerId$$1$$ || $children$$33$$.push($childElement$$10$$);
  }
  return $children$$33$$;
};
$JSCompiler_prototypeAlias$$.$__saveAndRemoveCompressedLayout$ = function $$JSCompiler_prototypeAlias$$$$__saveAndRemoveCompressedLayout$$() {
  var $cbSupport$$ = this.$_conveyorBeltSupport$;
  $cbSupport$$ && ($AdfDhtmlNavigationPanePeer$$.$_conveyorBeltFirstItem$ = $cbSupport$$.$getFirstItemDisplayed$());
  this.$_removeCompressedLayoutSupport$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.__saveAndRemoveCompressedLayout", {$__saveAndRemoveCompressedLayout$:$AdfDhtmlNavigationPanePeer$$.prototype.$__saveAndRemoveCompressedLayout$});
$AdfDhtmlNavigationPanePeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlNavigationPanePeer$$$$$ComponentRemoved$$($component$$1605$$) {
  this.$_removeCompressedLayoutSupport$();
  this.$_headerDiv$ ? (delete this.$_headerDiv$, delete this.$_headerContentDiv$) : this.$_barOverflowContent$ && delete this.$_barOverflowContent$;
  $AdfPage$$.$PAGE$.$__unregisterDescendantResizeNotifyComponent$($component$$1605$$);
  $AdfDhtmlNavigationPanePeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$1605$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlNavigationPanePeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlNavigationPanePeer$$.prototype.$_removeCompressedLayoutSupport$ = function $$AdfDhtmlNavigationPanePeer$$$$$_removeCompressedLayoutSupport$$() {
  this.$_overflowSupport$ && (this.$_overflowSupport$.$removeOverflowSupport$(), this.$_overflowSupport$ = null);
  this.$_conveyorBeltSupport$ && (this.$_conveyorBeltSupport$.$removeConveyorBeltSupport$(), this.$_conveyorBeltSupport$ = null);
};
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentClick$$($componentEvent$$334$$) {
  $componentEvent$$334$$.cancel();
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentKeyUp$$($componentEvent$$335$$) {
  var $component$$1606_newActiveElement$$ = this.$getComponent$(), $evt$$116$$ = $componentEvent$$335$$.$getNativeEvent$(), $eventTarget$$68$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$116$$), $keyCode$$86$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($evt$$116$$);
  if (this.$isPopupVisible$($component$$1606_newActiveElement$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) {
    var $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = !1, $contentDom$$15$$ = $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1606_newActiveElement$$);
    switch($keyCode$$86$$) {
      case $AdfKeyStroke$$.$ESC_KEY$:
        $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1606_newActiveElement$$);
        $AdfFocusUtils$$.$focusElement$($dropdownArrowId_hidePopup$$2_inputDom$$5$$);
        $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1606_newActiveElement$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_CHOICE_BUTTON_ID$);
        $AdfPage$$.$PAGE$.$_document$.getElementById($dropdownArrowId_hidePopup$$2_inputDom$$5$$).setAttribute("aria-expanded", "false");
        $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = !0;
        break;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        $AdfFocusUtils$$.$focusNextTabStop$($eventTarget$$68$$, $contentDom$$15$$);
        cancelEvt = !0;
        break;
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
        $AdfFocusUtils$$.$focusPreviousTabStop$($eventTarget$$68$$, $contentDom$$15$$);
    }
    $dropdownArrowId_hidePopup$$2_inputDom$$5$$ && this.$hidePopup$($component$$1606_newActiveElement$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$);
  } else {
    $eventTarget$$68$$ == $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1606_newActiveElement$$) && $keyCode$$86$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1606_newActiveElement$$);
  }
  $componentEvent$$335$$.$isCanceled$() || ($keyCode$$86$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ || $keyCode$$86$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$ ? this.$_isTabLink$($eventTarget$$68$$) && (($component$$1606_newActiveElement$$ = $AdfFocusUtils$$.$getPreviousFocusableDescendant$(this.$getDomElement$(), $eventTarget$$68$$)) || ($component$$1606_newActiveElement$$ = $AdfFocusUtils$$.$getLastFocusableDescendant$(this.$getDomElement$())), $component$$1606_newActiveElement$$ && ($component$$1606_newActiveElement$$.focus(), 
  $componentEvent$$335$$.cancel())) : $keyCode$$86$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $keyCode$$86$$ != $AdfKeyStroke$$.$ARROWRIGHT_KEY$ || !this.$_isTabLink$($eventTarget$$68$$) || (($component$$1606_newActiveElement$$ = $AdfFocusUtils$$.$getNextFocusableDescendant$(this.$getDomElement$(), $eventTarget$$68$$)) || ($component$$1606_newActiveElement$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$(this.$getDomElement$())), $component$$1606_newActiveElement$$ && ($component$$1606_newActiveElement$$.focus(), 
  $componentEvent$$335$$.cancel())), $evt$$116$$.ctrlKey && $evt$$116$$.altKey && 87 == $keyCode$$86$$ || $componentEvent$$335$$.cancel());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlNavigationPanePeer$$.prototype.$_isTabLink$ = function $$AdfDhtmlNavigationPanePeer$$$$$_isTabLink$$($element$$251_id$$309_tokens$$21$$) {
  if (null == $element$$251_id$$309_tokens$$21$$) {
    return !1;
  }
  $element$$251_id$$309_tokens$$21$$ = $element$$251_id$$309_tokens$$21$$.id;
  if (null == $element$$251_id$$309_tokens$$21$$) {
    return !1;
  }
  $element$$251_id$$309_tokens$$21$$ = $element$$251_id$$309_tokens$$21$$.split("::");
  return 1 >= $element$$251_id$$309_tokens$$21$$.length || $element$$251_id$$309_tokens$$21$$[$element$$251_id$$309_tokens$$21$$.length - 1] != $AdfDhtmlNavigationPanePeer$$.$_ANCHOR_SUB_ID$ ? !1 : !0;
};
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentMouseDown$$($component$$1607_componentEvent$$336$$) {
  var $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $component$$1607_componentEvent$$336$$.$getNativeEvent$();
  $component$$1607_componentEvent$$336$$ = $component$$1607_componentEvent$$336$$.getSource();
  var $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$), $dropDownElement$$1$$ = $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1607_componentEvent$$336$$);
  if ($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ == $dropDownElement$$1$$ || $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$.parentNode == $dropDownElement$$1$$) {
    this.$isPopupVisible$($component$$1607_componentEvent$$336$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$) ? ($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1607_componentEvent$$336$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_CHOICE_BUTTON_ID$), $dropDownElement$$1$$ = $AdfPage$$.$PAGE$.$_document$.getElementById($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$), $dropDownElement$$1$$.setAttribute("aria-expanded", "false"), this.$hidePopup$($component$$1607_componentEvent$$336$$, 
    $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) : $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1607_componentEvent$$336$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentMouseOver$$($componentEvent$$337$$) {
  if (this.$isPopupVisible$(this.$getComponent$(), $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) {
    var $target$$146$$ = $componentEvent$$337$$.$getNativeEventTarget$();
    $AdfFocusUtils$$.$focusElement$($target$$146$$);
  }
  $componentEvent$$337$$.cancel();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentKeyDown$$($componentEvent$$338$$) {
  var $eventTarget$$70_nativeEvent$$36$$ = $componentEvent$$338$$.$getNativeEvent$(), $eventTarget$$70_nativeEvent$$36$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($eventTarget$$70_nativeEvent$$36$$), $component$$1608$$ = $componentEvent$$338$$.getSource();
  $eventTarget$$70_nativeEvent$$36$$ == $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1608$$) && $componentEvent$$338$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1608$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlNavigationPanePeer$$.prototype.$GetPopupAlignmentNode$ = function $$AdfDhtmlNavigationPanePeer$$$$$GetPopupAlignmentNode$$($component$$1609$$) {
  return $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1609$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.GetPopupAlignmentNode", {$GetPopupAlignmentNode$:$AdfDhtmlNavigationPanePeer$$.prototype.$GetPopupAlignmentNode$});
$AdfDhtmlNavigationPanePeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlNavigationPanePeer$$$$$PopupClosed$$($clientId$$288_component$$1610_popupWrapperId$$1$$, $contentDom$$16$$, $popupId$$53$$) {
  $popupId$$53$$ == $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$ && ($clientId$$288_component$$1610_popupWrapperId$$1$$ = $clientId$$288_component$$1610_popupWrapperId$$1$$.$getClientId$(), $clientId$$288_component$$1610_popupWrapperId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$288_component$$1610_popupWrapperId$$1$$, $AdfDhtmlNavigationPanePeer$$.$_CHOICE_DATA_CONTAINER_ID$), $AdfAgent$$.$AGENT$.getElementById($clientId$$288_component$$1610_popupWrapperId$$1$$).appendChild($contentDom$$16$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlNavigationPanePeer$$.prototype.$PopupClosed$});
function $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1611_dropDownIconId$$) {
  $component$$1611_dropDownIconId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1611_dropDownIconId$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_CHOICE_BUTTON_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($component$$1611_dropDownIconId$$);
}
function $JSCompiler_StaticMethods__showChoicePopupPanel$$($JSCompiler_StaticMethods__showChoicePopupPanel$self$$, $component$$1612$$) {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPopup);
  var $contentDom$$17$$ = $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1612$$), $dropdownArrowId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1612$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_CHOICE_BUTTON_ID$);
  $contentDom$$17$$.parentNode.removeChild($contentDom$$17$$);
  $AdfPage$$.$PAGE$.$_document$.getElementById($dropdownArrowId$$2$$).setAttribute("aria-expanded", "true");
  var $popupHints$$3$$ = {type:"menu"};
  $popupHints$$3$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$;
  $popupHints$$3$$[AdfRichPopup.$HINT_ALIGN_ID$] = $dropdownArrowId$$2$$;
  $popupHints$$3$$.autodismiss = "autodismissMenu";
  $JSCompiler_StaticMethods__showChoicePopupPanel$self$$.$showPopup$($component$$1612$$, $contentDom$$17$$, $popupHints$$3$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$);
}
function $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1613_popupContentId$$2$$) {
  $component$$1613_popupContentId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1613_popupContentId$$2$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_POPUP_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($component$$1613_popupContentId$$2$$);
}
function $JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$, $element$$252$$) {
  var $agent$$419_table$$16$$ = $AdfAgent$$.$AGENT$, $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $childId$$6_handleNavItemClick_row$$54_target$$147$$ = $element$$252$$.getAttribute("id"), $itemClassName_itemInnerHtml$$, $itemTextLink_removeIconCell$$ = $element$$252$$.getElementsByTagName("a")[0], $removeButton$$1$$ = $element$$252$$.getElementsByTagName("a")[1], $customIcon_removeIconWrapper_textCell$$ = $element$$252$$.getElementsByTagName("img")[0];
  $customIcon_removeIconWrapper_textCell$$ && ($customIcon_removeIconWrapper_textCell$$ = $customIcon_removeIconWrapper_textCell$$.cloneNode(!0), $customIcon_removeIconWrapper_textCell$$.id && ($customIcon_removeIconWrapper_textCell$$.id += $AdfDhtmlNavigationPanePeer$$.$_TAB_ID_CONVEYOR_SUFFIX$));
  if ($itemTextLink_removeIconCell$$ && -1 == $itemTextLink_removeIconCell$$.className.indexOf("p_AFDisabled")) {
    $itemTextLink_removeIconCell$$ = $itemTextLink_removeIconCell$$.cloneNode(!0);
    $itemTextLink_removeIconCell$$.id && ($itemTextLink_removeIconCell$$.id += $AdfDhtmlNavigationPanePeer$$.$_TAB_ID_CONVEYOR_SUFFIX$);
    $itemClassName_itemInnerHtml$$ = $AdfDhtmlNavigationPanePeer$$.$_tabCompressedLayoutElementStyleClass$;
    null == $itemClassName_itemInnerHtml$$ && ($itemClassName_itemInnerHtml$$ = "conveyorBelt" == $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$ ? $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.getStyleClass("AFConveyorBeltElement") : $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.getStyleClass("AFOverflowElement"), $AdfDhtmlNavigationPanePeer$$.$_tabCompressedLayoutElementStyleClass$ = $itemClassName_itemInnerHtml$$);
    $removeButton$$1$$ && ($removeButton$$1$$ = $removeButton$$1$$.cloneNode(!0), $removeButton$$1$$.id && ($removeButton$$1$$.id += $AdfDhtmlNavigationPanePeer$$.$_TAB_ID_CONVEYOR_SUFFIX$), $removeButton$$1$$.setAttribute("_componentId", $childId$$6_handleNavItemClick_row$$54_target$$147$$), $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ = $JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$.$createCallback$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$.$_handleRemoveButtonClick$), 
    $agent$$419_table$$16$$.$addBubbleEventListener$($removeButton$$1$$, "click", $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$));
    var $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ = $element$$252$$.getAttribute("href"), $documentHref$$4$$ = $agent$$419_table$$16$$.$getDomDocument$().location.href;
    if ($customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ && -1 == $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.indexOf($documentHref$$4$$)) {
      if ($itemTextLink_removeIconCell$$.setAttribute("_href", $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$), $customIcon_removeIconWrapper_textCell$$ && $customIcon_removeIconWrapper_textCell$$.setAttribute("_href", $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$), $childId$$6_handleNavItemClick_row$$54_target$$147$$ = $element$$252$$.getAttribute("target")) {
        $itemTextLink_removeIconCell$$.setAttribute("_target", $childId$$6_handleNavItemClick_row$$54_target$$147$$), $customIcon_removeIconWrapper_textCell$$ && $customIcon_removeIconWrapper_textCell$$.setAttribute("_target", $childId$$6_handleNavItemClick_row$$54_target$$147$$);
      }
    } else {
      $itemTextLink_removeIconCell$$.setAttribute("_componentId", $childId$$6_handleNavItemClick_row$$54_target$$147$$), $customIcon_removeIconWrapper_textCell$$ && $customIcon_removeIconWrapper_textCell$$.setAttribute("_componentId", $childId$$6_handleNavItemClick_row$$54_target$$147$$);
    }
    $childId$$6_handleNavItemClick_row$$54_target$$147$$ = $JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$.$createCallback$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$.$_handleNavItemClick$);
    $agent$$419_table$$16$$.$addBubbleEventListener$($itemTextLink_removeIconCell$$, "click", $childId$$6_handleNavItemClick_row$$54_target$$147$$);
    $customIcon_removeIconWrapper_textCell$$ && $agent$$419_table$$16$$.$addBubbleEventListener$($customIcon_removeIconWrapper_textCell$$, "click", $childId$$6_handleNavItemClick_row$$54_target$$147$$);
  } else {
    $itemClassName_itemInnerHtml$$ = $itemTextLink_removeIconCell$$.innerHTML, $itemTextLink_removeIconCell$$ = $element$$252$$.ownerDocument.createElement("div"), $itemTextLink_removeIconCell$$.innerHTML = $itemClassName_itemInnerHtml$$, $itemClassName_itemInnerHtml$$ = $AdfDhtmlNavigationPanePeer$$.$_tabCompressedLayoutElementDisabledStyleClass$, null == $itemClassName_itemInnerHtml$$ && ($itemClassName_itemInnerHtml$$ = "conveyorBelt" == $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$ ? 
    $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.getStyleClass("AFConveyorBeltElementDisabled") : $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.getStyleClass("AFOverflowElementDisabled"), $AdfDhtmlNavigationPanePeer$$.$_tabCompressedLayoutElementDisabledStyleClass$ = $itemClassName_itemInnerHtml$$), $removeButton$$1$$ && ($removeButton$$1$$ = $removeButton$$1$$.cloneNode(!0), $removeButton$$1$$.id && ($removeButton$$1$$.id += $AdfDhtmlNavigationPanePeer$$.$_TAB_ID_CONVEYOR_SUFFIX$))
    ;
  }
  $agent$$419_table$$16$$ = $element$$252$$.ownerDocument.createElement("table");
  $agent$$419_table$$16$$.cellPadding = 0;
  $agent$$419_table$$16$$.cellSpacing = 0;
  $agent$$419_table$$16$$.style.width = "100%";
  $childId$$6_handleNavItemClick_row$$54_target$$147$$ = $agent$$419_table$$16$$.insertRow(-1);
  $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ = $childId$$6_handleNavItemClick_row$$54_target$$147$$.insertCell(-1);
  $customIcon_removeIconWrapper_textCell$$ && $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.appendChild($customIcon_removeIconWrapper_textCell$$);
  $customIcon_removeIconWrapper_textCell$$ = $childId$$6_handleNavItemClick_row$$54_target$$147$$.insertCell(-1);
  $customIcon_removeIconWrapper_textCell$$.style.width = "100%";
  $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$ = $element$$252$$.ownerDocument.createElement("div");
  $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.className = $itemClassName_itemInnerHtml$$;
  $customIcon_removeIconWrapper_textCell$$.appendChild($customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$);
  $customIconCell_handleRemoveButtonClick_itemHref$$2_laf$$94_wrapper$$22$$.appendChild($itemTextLink_removeIconCell$$);
  $itemTextLink_removeIconCell$$ = $childId$$6_handleNavItemClick_row$$54_target$$147$$.insertCell(-1);
  $removeButton$$1$$ && ($customIcon_removeIconWrapper_textCell$$ = $element$$252$$.ownerDocument.createElement("div"), $customIcon_removeIconWrapper_textCell$$.className = $itemClassName_itemInnerHtml$$, $itemTextLink_removeIconCell$$.appendChild($customIcon_removeIconWrapper_textCell$$), $customIcon_removeIconWrapper_textCell$$.appendChild($removeButton$$1$$));
  return $agent$$419_table$$16$$;
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlNavigationPanePeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_handleNavItemClick$ = function $$JSCompiler_prototypeAlias$$$$_handleNavItemClick$$($component$$1615_componentId$$38_event$$228_href$$12$$) {
  this.$hideAllPopups$(this.$getComponent$());
  var $target$$149_targetElement$$34$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($component$$1615_componentId$$38_event$$228_href$$12$$);
  "A" != $target$$149_targetElement$$34$$.nodeName && "IMG" != $target$$149_targetElement$$34$$.nodeName && ($target$$149_targetElement$$34$$ = $target$$149_targetElement$$34$$.parentNode);
  ($component$$1615_componentId$$38_event$$228_href$$12$$ = $target$$149_targetElement$$34$$.getAttribute("_href")) ? ($target$$149_targetElement$$34$$ = $target$$149_targetElement$$34$$.getAttribute("_target")) ? window.open($component$$1615_componentId$$38_event$$228_href$$12$$, $target$$149_targetElement$$34$$) : self.location = $component$$1615_componentId$$38_event$$228_href$$12$$ : (this.$__saveAndRemoveCompressedLayout$(), $component$$1615_componentId$$38_event$$228_href$$12$$ = $target$$149_targetElement$$34$$.getAttribute("_componentId"), 
  $component$$1615_componentId$$38_event$$228_href$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($component$$1615_componentId$$38_event$$228_href$$12$$), $AdfActionEvent$$.$queue$($component$$1615_componentId$$38_event$$228_href$$12$$, $component$$1615_componentId$$38_event$$228_href$$12$$.getPartialSubmit()));
};
$JSCompiler_prototypeAlias$$.$_handleRemoveButtonClick$ = function $$JSCompiler_prototypeAlias$$$$_handleRemoveButtonClick$$($childComponent$$14_event$$229_targetElement$$35$$) {
  $childComponent$$14_event$$229_targetElement$$35$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($childComponent$$14_event$$229_targetElement$$35$$);
  var $childComponentId_childPeer$$ = $childComponent$$14_event$$229_targetElement$$35$$.getAttribute("_componentId");
  null == $childComponentId_childPeer$$ && ($childComponentId_childPeer$$ = $childComponent$$14_event$$229_targetElement$$35$$.parentNode.getAttribute("_componentId"));
  $childComponent$$14_event$$229_targetElement$$35$$ = $AdfPage$$.$PAGE$.$findComponent$($childComponentId_childPeer$$);
  $childComponentId_childPeer$$ = $childComponent$$14_event$$229_targetElement$$35$$.$getPeer$();
  $childComponentId_childPeer$$.bind($childComponent$$14_event$$229_targetElement$$35$$);
  $childComponentId_childPeer$$ && $childComponentId_childPeer$$.$canRemove$ && $childComponentId_childPeer$$.$canRemove$() && (this.$hideAllPopups$(this.$getComponent$()), this.$__saveAndRemoveCompressedLayout$(), $AdfItemEvent$$.$queueItemRemoveEvent$($childComponent$$14_event$$229_targetElement$$35$$));
};
function $JSCompiler_StaticMethods__addSeparators$$($JSCompiler_StaticMethods__addSeparators$self$$, $children$$38$$, $flag$$2_index$$152$$, $afterselect$$) {
  var $separatorIndex$$ = $flag$$2_index$$152$$ + 1;
  $afterselect$$ && ($separatorIndex$$ = $flag$$2_index$$152$$ - 1);
  $flag$$2_index$$152$$ = !0;
  for (var $separatorChild$$ = $children$$38$$[$separatorIndex$$];$flag$$2_index$$152$$ && $separatorChild$$;) {
    if (1 == $separatorChild$$.nodeType) {
      if ("img" == $separatorChild$$.tagName.toLowerCase() || 0 < $separatorChild$$.getElementsByTagName("img").length) {
        $JSCompiler_StaticMethods__addSeparators$self$$.$_overflowSupport$.addElement($separatorChild$$), $flag$$2_index$$152$$ = !1;
      } else {
        if ("span" == $separatorChild$$.tagName.toLowerCase() || 0 < $separatorChild$$.getElementsByTagName("span").length) {
          $JSCompiler_StaticMethods__addSeparators$self$$.$_overflowSupport$.addElement($separatorChild$$), $flag$$2_index$$152$$ = !1;
        }
      }
    }
    $afterselect$$ ? $separatorIndex$$-- : $separatorIndex$$++;
    $separatorChild$$ = $children$$38$$[$separatorIndex$$];
  }
}
$JSCompiler_prototypeAlias$$.$_getTabContentElement$ = function $$JSCompiler_prototypeAlias$$$$_getTabContentElement$$($child$$32_id$$311_tabContentId$$) {
  $child$$32_id$$311_tabContentId$$ = $child$$32_id$$311_tabContentId$$.getAttribute("id");
  $child$$32_id$$311_tabContentId$$ = $AdfRichUIPeer$$.$CreateSubId$($child$$32_id$$311_tabContentId$$, $AdfDhtmlNavigationPanePeer$$.$_TAB_CONTENT$);
  return $AdfAgent$$.$AGENT$.getElementById($child$$32_id$$311_tabContentId$$);
};
$JSCompiler_prototypeAlias$$.$_getEllipsisElement$ = function $$JSCompiler_prototypeAlias$$$$_getEllipsisElement$$($child$$34_ellipsisId_id$$313$$) {
  $child$$34_ellipsisId_id$$313$$ = $child$$34_ellipsisId_id$$313$$.getAttribute("id");
  $child$$34_ellipsisId_id$$313$$ = $AdfRichUIPeer$$.$CreateSubId$($child$$34_ellipsisId_id$$313$$, $AdfDhtmlNavigationPanePeer$$.$_ELLIPSIS_SUBID$);
  return $AdfAgent$$.$AGENT$.getElementById($child$$34_ellipsisId_id$$313$$);
};
$JSCompiler_prototypeAlias$$.$ConvertClientIdToLocator$ = function $$JSCompiler_prototypeAlias$$$$ConvertClientIdToLocator$$($clientId$$289_clientIdDepth$$5_component$$1616$$, $childComponent$$15_endIndex$$8$$, $descComponentClientId$$6_index$$153_subComponentId$$6$$, $replaceArray$$7$$) {
  $clientId$$289_clientIdDepth$$5_component$$1616$$ = $clientId$$289_clientIdDepth$$5_component$$1616$$.$getClientId$();
  $AdfAssert$$.assert(0 <= $descComponentClientId$$6_index$$153_subComponentId$$6$$.indexOf($clientId$$289_clientIdDepth$$5_component$$1616$$));
  $descComponentClientId$$6_index$$153_subComponentId$$6$$ = $descComponentClientId$$6_index$$153_subComponentId$$6$$.substring($clientId$$289_clientIdDepth$$5_component$$1616$$.length + 1);
  $childComponent$$15_endIndex$$8$$ = $descComponentClientId$$6_index$$153_subComponentId$$6$$.indexOf(":");
  0 < $childComponent$$15_endIndex$$8$$ && ($descComponentClientId$$6_index$$153_subComponentId$$6$$ = $descComponentClientId$$6_index$$153_subComponentId$$6$$.substring(0, $childComponent$$15_endIndex$$8$$), $clientId$$289_clientIdDepth$$5_component$$1616$$ = $AdfStrings$$.count($clientId$$289_clientIdDepth$$5_component$$1616$$, ":"), $replaceArray$$7$$.push([$clientId$$289_clientIdDepth$$5_component$$1616$$ + 1, $descComponentClientId$$6_index$$153_subComponentId$$6$$]));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.ConvertClientIdToLocator", {$ConvertClientIdToLocator$:$AdfDhtmlNavigationPanePeer$$.prototype.$ConvertClientIdToLocator$});
$AdfDhtmlNavigationPanePeer$$.prototype.$convertLocatorToClientId$ = function $$AdfDhtmlNavigationPanePeer$$$$$convertLocatorToClientId$$($component$$1617$$, $index$$154$$) {
  var $child$$35_clientId$$290$$ = $component$$1617$$.$getDescendantComponents$()[$index$$154$$];
  if ($child$$35_clientId$$290$$) {
    var $parentId$$8$$ = $component$$1617$$.$getClientId$(), $child$$35_clientId$$290$$ = $child$$35_clientId$$290$$.$getClientId$();
    if (0 < $child$$35_clientId$$290$$.substring($parentId$$8$$.length + 1).indexOf(":")) {
      return $child$$35_clientId$$290$$;
    }
    $AdfAssert$$.assert(!1, "Use of [] locator notation is only supported when navigationPane: " + $parentId$$8$$ + " is used with MenuModel");
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.convertLocatorToClientId", {$convertLocatorToClientId$:$AdfDhtmlNavigationPanePeer$$.prototype.$convertLocatorToClientId$});
