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$$1603$$, $domElement$$343$$) {
  $AdfDhtmlNavigationPanePeer$$.$superclass$.$InitDomElement$.call(this, $component$$1603$$, $domElement$$343$$);
  var $clientId$$286_headerContentId_headerId_id$$308$$ = $component$$1603$$.$getClientId$(), $agent$$418$$ = $AdfAgent$$.$getAgent$();
  this.$_stretchedOnLastResize$ = !0;
  if ($component$$1603$$.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$$1603$$)
      ;
    }
  } else {
    $component$$1603$$.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$$1603$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlNavigationPanePeer$$.prototype.$InitDomElement$});
$AdfDhtmlNavigationPanePeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlNavigationPanePeer$$$$$needsResizeNotify$$($component$$1604$$) {
  return this.$_headerDiv$ || $component$$1604$$.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_2457_component$$1605_i$$390_oldHeight$$19$$, $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$) {
  $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$ = this.$getComponent$();
  if (this.$_headerContentDiv$) {
    $children$$27_clientId$$287_oldWidth$$16$$ != $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ && ("ellipsis" == this.$getComponent$().getTruncationStyle() ? ($activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ = this.$_getChildElements$(this.$_headerDiv$.id, this.$_headerContentDiv$), 0 != $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$.length && this.$_layoutTabs$($children$$27_clientId$$287_oldWidth$$16$$, this.$_headerDiv$.offsetWidth, 
    this.$_headerDiv$.id, $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$)) : this.$_updateOverflow$($activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$));
  } else {
    if (this.$_barOverflowContent$) {
      if (!this.$_overflowSupport$) {
        $children$$27_clientId$$287_oldWidth$$16$$ = $child$$inline_2457_component$$1605_i$$390_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_2453_j$$inline_2456_newWidth$$21$$ = -1;$child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$ = $children$$27_clientId$$287_oldWidth$$16$$[++$activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$];) {
            if ($AdfDomUtils$$.$containsCSSClassName$($child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$, "p_AFSelected")) {
              break a;
            }
          }
          $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ = -1;
        }
        var $child$$27_overflowElement$$inline_2463$$;
        for ($child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$ = -1;$child$$27_overflowElement$$inline_2463$$ = $children$$27_clientId$$287_oldWidth$$16$$[++$child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$];) {
          if (1 == $child$$27_overflowElement$$inline_2463$$.nodeType && ("a" == $child$$27_overflowElement$$inline_2463$$.tagName.toLowerCase() || 0 < $child$$27_overflowElement$$inline_2463$$.getElementsByTagName("a").length)) {
            -1 == $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ && ($activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ = $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$);
            this.$_overflowSupport$.$createStep$();
            $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ == $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$ ? this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2463$$) : $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$ > $activeChildIndex_children$$inline_2453_j$$inline_2456_newWidth$$21$$ ? ($JSCompiler_StaticMethods__addSeparators$$(this, $children$$27_clientId$$287_oldWidth$$16$$, $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$, 
            !0), this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2463$$)) : (this.$_overflowSupport$.addElement($child$$27_overflowElement$$inline_2463$$), $JSCompiler_StaticMethods__addSeparators$$(this, $children$$27_clientId$$287_oldWidth$$16$$, $child$$inline_2457_component$$1605_i$$390_oldHeight$$19$$, !1));
            var $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$ = $child$$27_overflowElement$$inline_2463$$, $component$$inline_2461_itemHref$$inline_2465$$ = this.$getComponent$(), $link$$inline_2464_overflowClassName$$inline_2462$$ = $AdfDhtmlNavigationPanePeer$$.$_barOverflowElementStyleClass$;
            null == $link$$inline_2464_overflowClassName$$inline_2462$$ && ($link$$inline_2464_overflowClassName$$inline_2462$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass("AFOverflowElement"), $AdfDhtmlNavigationPanePeer$$.$_barOverflowElementStyleClass$ = $link$$inline_2464_overflowClassName$$inline_2462$$);
            $child$$27_overflowElement$$inline_2463$$ = $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.ownerDocument.createElement("div");
            $child$$27_overflowElement$$inline_2463$$.className = $link$$inline_2464_overflowClassName$$inline_2462$$;
            $link$$inline_2464_overflowClassName$$inline_2462$$ = $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.cloneNode(!0);
            $link$$inline_2464_overflowClassName$$inline_2462$$.removeAttribute("id");
            $child$$27_overflowElement$$inline_2463$$.appendChild($link$$inline_2464_overflowClassName$$inline_2462$$);
            $component$$inline_2461_itemHref$$inline_2465$$ = $AdfPage$$.$PAGE$.$findComponent$($element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.id);
            if (!$component$$inline_2461_itemHref$$inline_2465$$.getDisabled()) {
              $component$$inline_2461_itemHref$$inline_2465$$ = $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.href;
              void 0 == $component$$inline_2461_itemHref$$inline_2465$$ && ($component$$inline_2461_itemHref$$inline_2465$$ = $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.getAttribute("href"));
              var $documentHref$$inline_2466$$ = $AdfAgent$$.$AGENT$.$getDomDocument$().location.href;
              $component$$inline_2461_itemHref$$inline_2465$$ && -1 == $component$$inline_2461_itemHref$$inline_2465$$.indexOf($documentHref$$inline_2466$$) ? ($link$$inline_2464_overflowClassName$$inline_2462$$.setAttribute("_href", $component$$inline_2461_itemHref$$inline_2465$$), ($element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$ = $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.getAttribute("target")) && $link$$inline_2464_overflowClassName$$inline_2462$$.setAttribute("_target", 
              $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$)) : $link$$inline_2464_overflowClassName$$inline_2462$$.setAttribute("_componentId", $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$.getAttribute("id"));
              $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$ = this.$createCallback$(this.$_handleNavItemClick$);
              $AdfAgent$$.$AGENT$.$addBubbleEventListener$($link$$inline_2464_overflowClassName$$inline_2462$$, "click", $element$$inline_2460_handleNavItemClick$$inline_2468_target$$inline_2467$$);
            }
            this.$_overflowSupport$.$addOverflowElement$($child$$27_overflowElement$$inline_2463$$);
          }
        }
      }
      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$$1606_i$$391$$ = this.$getComponent$();
  this.$_maxTabSize$ || (this.$_maxTabSize$ = $component$$1606_i$$391$$.getMaxTabSize(), this.$_maxTabSize$ = null == this.$_maxTabSize$ || "infinity" == this.$_maxTabSize$ ? 0 : parseFloat(this.$_maxTabSize$));
  this.$_minTabSize$ || (this.$_minTabSize$ = $component$$1606_i$$391$$.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$$1606_i$$391$$ = 0;$component$$1606_i$$391$$ < $numberOfTabs_oldWidth$$18$$;$component$$1606_i$$391$$++) {
        var $tabElement$$1$$ = $children$$30$$[$component$$1606_i$$391$$];
        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$$392$$ = 0;$i$$392$$ < $children$$31$$.length;$i$$392$$++) {
    var $desiredInnerTabWidth_tabElement$$2_tabElementOffsetWidth$$ = $children$$31$$[$i$$392$$];
    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_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$ = $AdfDhtmlNavigationPanePeer$$.$_compressedLayoutMode$;
  if ("overflow" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$) {
    if (!this.$_overflowSupport$) {
      for (var $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$ = new $AdfOverflowSupport$$($containerId$$8$$, this, "both"), $conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$ = 0;$conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$ < $children$$32$$.length;$conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$++) {
        var $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$ = $children$$32$$[$conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$];
        1 == $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$.nodeType && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$createStep$(), $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.addElement($cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$), "none" != $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$.style.display && 
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$addOverflowElement$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$)));
      }
      this.$_overflowSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$;
    }
    this.$_overflowSupport$ && this.$_overflowSupport$.$handleResize$();
  } else {
    if ("overflow-droplist" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$) {
      if (!this.$_overflowSupport$) {
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$ = new $AdfOverflowSupport$$($containerId$$8$$, this, "droplist");
        $conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$ = [];
        for ($cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$ = 0;$cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$ < $children$$32$$.length;$cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$++) {
          var $child$$inline_2483_i$$inline_2491$$ = $children$$32$$[$cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$];
          1 == $child$$inline_2483_i$$inline_2491$$.nodeType && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$createStep$(), $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.addElement($child$$inline_2483_i$$inline_2491$$), "none" != $child$$inline_2483_i$$inline_2491$$.style.display && ($compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$addOverflowElement$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, 
          $child$$inline_2483_i$$inline_2491$$)), $conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$.push($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $child$$inline_2483_i$$inline_2491$$))));
        }
        $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$addDropListElements$($conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$);
        this.$_overflowSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$;
      }
      this.$_overflowSupport$ && this.$_overflowSupport$.$handleResize$();
    } else {
      if ("conveyorBelt" == $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$) {
        if (!this.$_conveyorBeltSupport$) {
          $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$ = $AdfConveyorBeltSupport$$.$createHorizontalSupport$($containerId$$8$$, this);
          $conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$ = [];
          $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$ = $AdfRichUIPeer$$.$CreateSubId$($containerId$$8$$, "cbs");
          for ($child$$inline_2483_i$$inline_2491$$ = 0;$child$$inline_2483_i$$inline_2491$$ < $children$$32$$.length;$child$$inline_2483_i$$inline_2491$$++) {
            var $child$$inline_2492$$ = $children$$32$$[$child$$inline_2483_i$$inline_2491$$];
            1 == $child$$inline_2492$$.nodeType && $child$$inline_2492$$.getAttribute("id") != $cbSpacerId$$inline_2490_child$$inline_2475_i$$inline_2482$$ && "none" != $child$$inline_2492$$.style.display && $conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$.push($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$(this, $child$$inline_2492$$));
          }
          $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$addDropListElements$($conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$);
          if ($conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$ = $AdfDhtmlNavigationPanePeer$$.$_conveyorBeltFirstItem$) {
            $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$.$setFirstItemDisplayed$($conveyorBeltFirstItem$$inline_2493_droplistItems$$inline_2481_droplistItems$$inline_2489_i$$inline_2474$$), $AdfDhtmlNavigationPanePeer$$.$_conveyorBeltFirstItem$ = null;
          }
          this.$_conveyorBeltSupport$ = $compressedLayoutMode$$1_conveyorBeltSupport$$inline_2488_overflowSupport$$inline_2473_overflowSupport$$inline_2480$$;
        }
        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$$393$$ = 0;$i$$393$$ < $childElements$$5$$.length;$i$$393$$++) {
    var $childElement$$10$$ = $childElements$$5$$[$i$$393$$];
    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$$1607$$) {
  this.$_removeCompressedLayoutSupport$();
  this.$_headerDiv$ ? (delete this.$_headerDiv$, delete this.$_headerContentDiv$) : this.$_barOverflowContent$ && delete this.$_barOverflowContent$;
  $AdfPage$$.$PAGE$.$__unregisterDescendantResizeNotifyComponent$($component$$1607$$);
  $AdfDhtmlNavigationPanePeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$1607$$);
};
$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$$336$$) {
  $componentEvent$$336$$.cancel();
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentKeyUp$$($componentEvent$$337$$) {
  var $component$$1608_newActiveElement$$ = this.$getComponent$(), $evt$$116$$ = $componentEvent$$337$$.$getNativeEvent$(), $eventTarget$$68$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($evt$$116$$), $keyCode$$86$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($evt$$116$$);
  if (this.$isPopupVisible$($component$$1608_newActiveElement$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) {
    var $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = !1, $contentDom$$15$$ = $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1608_newActiveElement$$);
    switch($keyCode$$86$$) {
      case $AdfKeyStroke$$.$ESC_KEY$:
        $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1608_newActiveElement$$);
        $AdfFocusUtils$$.$focusElement$($dropdownArrowId_hidePopup$$2_inputDom$$5$$);
        $dropdownArrowId_hidePopup$$2_inputDom$$5$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1608_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$$1608_newActiveElement$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$);
  } else {
    $eventTarget$$68$$ == $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1608_newActiveElement$$) && $keyCode$$86$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1608_newActiveElement$$);
  }
  $componentEvent$$337$$.$isCanceled$() || ($keyCode$$86$$ == $AdfKeyStroke$$.$ARROWUP_KEY$ || $keyCode$$86$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$ ? this.$_isTabLink$($eventTarget$$68$$) && (($component$$1608_newActiveElement$$ = $AdfFocusUtils$$.$getPreviousFocusableDescendant$(this.$getDomElement$(), $eventTarget$$68$$)) || ($component$$1608_newActiveElement$$ = $AdfFocusUtils$$.$getLastFocusableDescendant$(this.$getDomElement$())), $component$$1608_newActiveElement$$ && ($component$$1608_newActiveElement$$.focus(), 
  $componentEvent$$337$$.cancel())) : $keyCode$$86$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$ && $keyCode$$86$$ != $AdfKeyStroke$$.$ARROWRIGHT_KEY$ || !this.$_isTabLink$($eventTarget$$68$$) || (($component$$1608_newActiveElement$$ = $AdfFocusUtils$$.$getNextFocusableDescendant$(this.$getDomElement$(), $eventTarget$$68$$)) || ($component$$1608_newActiveElement$$ = $AdfFocusUtils$$.$getFirstFocusableDescendant$(this.$getDomElement$())), $component$$1608_newActiveElement$$ && ($component$$1608_newActiveElement$$.focus(), 
  $componentEvent$$337$$.cancel())), $evt$$116$$.ctrlKey && $evt$$116$$.altKey && 87 == $keyCode$$86$$ || $componentEvent$$337$$.cancel());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlNavigationPanePeer$$.prototype.$_isTabLink$ = function $$AdfDhtmlNavigationPanePeer$$$$$_isTabLink$$($element$$253_id$$309_tokens$$21$$) {
  if (null == $element$$253_id$$309_tokens$$21$$) {
    return !1;
  }
  $element$$253_id$$309_tokens$$21$$ = $element$$253_id$$309_tokens$$21$$.id;
  if (null == $element$$253_id$$309_tokens$$21$$) {
    return !1;
  }
  $element$$253_id$$309_tokens$$21$$ = $element$$253_id$$309_tokens$$21$$.split("::");
  return 1 >= $element$$253_id$$309_tokens$$21$$.length || $element$$253_id$$309_tokens$$21$$[$element$$253_id$$309_tokens$$21$$.length - 1] != $AdfDhtmlNavigationPanePeer$$.$_ANCHOR_SUB_ID$ ? !1 : !0;
};
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentMouseDown$$($component$$1609_componentEvent$$338$$) {
  var $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $component$$1609_componentEvent$$338$$.$getNativeEvent$();
  $component$$1609_componentEvent$$338$$ = $component$$1609_componentEvent$$338$$.getSource();
  var $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$), $dropDownElement$$1$$ = $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1609_componentEvent$$338$$);
  if ($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ == $dropDownElement$$1$$ || $dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$.parentNode == $dropDownElement$$1$$) {
    this.$isPopupVisible$($component$$1609_componentEvent$$338$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$) ? ($dropdownArrowId$$1_eventTarget$$69_nativeEvent$$35$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1609_componentEvent$$338$$.$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$$1609_componentEvent$$338$$, 
    $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) : $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1609_componentEvent$$338$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentMouseOver$$($componentEvent$$339$$) {
  if (this.$isPopupVisible$(this.$getComponent$(), $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$)) {
    var $target$$146$$ = $componentEvent$$339$$.$getNativeEventTarget$();
    $AdfFocusUtils$$.$focusElement$($target$$146$$);
  }
  $componentEvent$$339$$.cancel();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlNavigationPanePeer$$$$$HandleComponentKeyDown$$($componentEvent$$340$$) {
  var $eventTarget$$70_nativeEvent$$36$$ = $componentEvent$$340$$.$getNativeEvent$(), $eventTarget$$70_nativeEvent$$36$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($eventTarget$$70_nativeEvent$$36$$), $component$$1610$$ = $componentEvent$$340$$.getSource();
  $eventTarget$$70_nativeEvent$$36$$ == $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1610$$) && $componentEvent$$340$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && $JSCompiler_StaticMethods__showChoicePopupPanel$$(this, $component$$1610$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlNavigationPanePeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlNavigationPanePeer$$.prototype.$GetPopupAlignmentNode$ = function $$AdfDhtmlNavigationPanePeer$$$$$GetPopupAlignmentNode$$($component$$1611$$) {
  return $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1611$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.GetPopupAlignmentNode", {$GetPopupAlignmentNode$:$AdfDhtmlNavigationPanePeer$$.prototype.$GetPopupAlignmentNode$});
$AdfDhtmlNavigationPanePeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlNavigationPanePeer$$$$$PopupClosed$$($clientId$$288_component$$1612_popupWrapperId$$1$$, $contentDom$$16$$, $popupId$$53$$) {
  $popupId$$53$$ == $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$ && ($clientId$$288_component$$1612_popupWrapperId$$1$$ = $clientId$$288_component$$1612_popupWrapperId$$1$$.$getClientId$(), $clientId$$288_component$$1612_popupWrapperId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$288_component$$1612_popupWrapperId$$1$$, $AdfDhtmlNavigationPanePeer$$.$_CHOICE_DATA_CONTAINER_ID$), $AdfAgent$$.$AGENT$.getElementById($clientId$$288_component$$1612_popupWrapperId$$1$$).appendChild($contentDom$$16$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlNavigationPanePeer$$.prototype.$PopupClosed$});
function $JSCompiler_StaticMethods__getChoiceDropDownElement$$($component$$1613_dropDownIconId$$) {
  $component$$1613_dropDownIconId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1613_dropDownIconId$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_CHOICE_BUTTON_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($component$$1613_dropDownIconId$$);
}
function $JSCompiler_StaticMethods__showChoicePopupPanel$$($JSCompiler_StaticMethods__showChoicePopupPanel$self$$, $component$$1614$$) {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPopup);
  var $contentDom$$17$$ = $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1614$$), $dropdownArrowId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1614$$.$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$$1614$$, $contentDom$$17$$, $popupHints$$3$$, $AdfDhtmlNavigationPanePeer$$.$_POPUP_PANEL_ID$);
}
function $JSCompiler_StaticMethods__getPopupContentDom$$($component$$1615_popupContentId$$2$$) {
  $component$$1615_popupContentId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1615_popupContentId$$2$$.$getClientId$(), $AdfDhtmlNavigationPanePeer$$.$_POPUP_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($component$$1615_popupContentId$$2$$);
}
function $JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$$($JSCompiler_StaticMethods__createTabCompressedLayoutPopupElement$self$$, $element$$254$$) {
  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$$254$$.getAttribute("id"), $itemClassName_itemInnerHtml$$, $itemTextLink_removeIconCell$$ = $element$$254$$.getElementsByTagName("a")[0], $removeButton$$1$$ = $element$$254$$.getElementsByTagName("a")[1], $customIcon_removeIconWrapper_textCell$$ = $element$$254$$.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$$254$$.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$$254$$.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$$254$$.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$$254$$.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$$254$$.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$$254$$.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$$1617_componentId$$38_event$$235_href$$12$$) {
  this.$hideAllPopups$(this.$getComponent$());
  var $target$$149_targetElement$$34$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($component$$1617_componentId$$38_event$$235_href$$12$$);
  "A" != $target$$149_targetElement$$34$$.nodeName && "IMG" != $target$$149_targetElement$$34$$.nodeName && ($target$$149_targetElement$$34$$ = $target$$149_targetElement$$34$$.parentNode);
  ($component$$1617_componentId$$38_event$$235_href$$12$$ = $target$$149_targetElement$$34$$.getAttribute("_href")) ? ($target$$149_targetElement$$34$$ = $target$$149_targetElement$$34$$.getAttribute("_target")) ? window.open($component$$1617_componentId$$38_event$$235_href$$12$$, $target$$149_targetElement$$34$$) : self.location = $component$$1617_componentId$$38_event$$235_href$$12$$ : (this.$__saveAndRemoveCompressedLayout$(), $component$$1617_componentId$$38_event$$235_href$$12$$ = $target$$149_targetElement$$34$$.getAttribute("_componentId"), 
  $component$$1617_componentId$$38_event$$235_href$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($component$$1617_componentId$$38_event$$235_href$$12$$), $AdfActionEvent$$.$queue$($component$$1617_componentId$$38_event$$235_href$$12$$, $component$$1617_componentId$$38_event$$235_href$$12$$.getPartialSubmit()));
};
$JSCompiler_prototypeAlias$$.$_handleRemoveButtonClick$ = function $$JSCompiler_prototypeAlias$$$$_handleRemoveButtonClick$$($childComponent$$14_event$$236_targetElement$$35$$) {
  $childComponent$$14_event$$236_targetElement$$35$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($childComponent$$14_event$$236_targetElement$$35$$);
  var $childComponentId_childPeer$$ = $childComponent$$14_event$$236_targetElement$$35$$.getAttribute("_componentId");
  null == $childComponentId_childPeer$$ && ($childComponentId_childPeer$$ = $childComponent$$14_event$$236_targetElement$$35$$.parentNode.getAttribute("_componentId"));
  $childComponent$$14_event$$236_targetElement$$35$$ = $AdfPage$$.$PAGE$.$findComponent$($childComponentId_childPeer$$);
  $childComponentId_childPeer$$ = $childComponent$$14_event$$236_targetElement$$35$$.$getPeer$();
  $childComponentId_childPeer$$.bind($childComponent$$14_event$$236_targetElement$$35$$);
  $childComponentId_childPeer$$ && $childComponentId_childPeer$$.$canRemove$ && $childComponentId_childPeer$$.$canRemove$() && (this.$hideAllPopups$(this.$getComponent$()), this.$__saveAndRemoveCompressedLayout$(), $AdfItemEvent$$.$queueItemRemoveEvent$($childComponent$$14_event$$236_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$$1618$$, $childComponent$$15_endIndex$$8$$, $descComponentClientId$$6_index$$153_subComponentId$$6$$, $replaceArray$$7$$) {
  $clientId$$289_clientIdDepth$$5_component$$1618$$ = $clientId$$289_clientIdDepth$$5_component$$1618$$.$getClientId$();
  $AdfAssert$$.assert(0 <= $descComponentClientId$$6_index$$153_subComponentId$$6$$.indexOf($clientId$$289_clientIdDepth$$5_component$$1618$$));
  $descComponentClientId$$6_index$$153_subComponentId$$6$$ = $descComponentClientId$$6_index$$153_subComponentId$$6$$.substring($clientId$$289_clientIdDepth$$5_component$$1618$$.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$$1618$$ = $AdfStrings$$.count($clientId$$289_clientIdDepth$$5_component$$1618$$, ":"), $replaceArray$$7$$.push([$clientId$$289_clientIdDepth$$5_component$$1618$$ + 1, $descComponentClientId$$6_index$$153_subComponentId$$6$$]));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlNavigationPanePeer.prototype.ConvertClientIdToLocator", {$ConvertClientIdToLocator$:$AdfDhtmlNavigationPanePeer$$.prototype.$ConvertClientIdToLocator$});
$AdfDhtmlNavigationPanePeer$$.prototype.$convertLocatorToClientId$ = function $$AdfDhtmlNavigationPanePeer$$$$$convertLocatorToClientId$$($component$$1619$$, $index$$154$$) {
  var $child$$35_clientId$$290$$ = $component$$1619$$.$getDescendantComponents$()[$index$$154$$];
  if ($child$$35_clientId$$290$$) {
    var $parentId$$8$$ = $component$$1619$$.$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$});
