function $AdfDhtmlPopupMenu$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfDhtmlPopupMenu", $AdfDhtmlPopupMenu$$);
$AdfObject$$.$createSubclass$($AdfDhtmlPopupMenu$$, $AdfDhtmlPopupWindow$$);
$AdfDhtmlPopupMenu$$.$InitClass$ = function $$AdfDhtmlPopupMenu$$$$InitClass$$() {
  $AdfDhtmlPopupMenu$$.$_POPUP_STYLE_CLASS$ = "AFPopupMenuPopup";
  $AdfDhtmlPopupMenu$$.$_CONTENT_STYLE_CLASS$ = "AFPopupMenuContent"
};
$goog$exportSymbol$$("AdfDhtmlPopupMenu.InitClass", $AdfDhtmlPopupMenu$$.$InitClass$);
$AdfDhtmlPopupMenu$$.prototype.Init = function $$AdfDhtmlPopupMenu$$$$Init$() {
  $AdfDhtmlPopupMenu$$.$superclass$.Init.call(this);
  this.$setShadowAnchor$(this.$_mainElement$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.Init", {Init:$AdfDhtmlPopupMenu$$.prototype.Init});
$AdfDhtmlPopupMenu$$.prototype.$CreateDomElement$ = function $$AdfDhtmlPopupMenu$$$$$CreateDomElement$$() {
  var $closeLabel$$1_page$$47$$ = $AdfPage$$.$PAGE$, $domDocument$$20_linkDiv$$1$$ = $closeLabel$$1_page$$47$$.$getDomDocument$(), $rootElement$$8$$ = $domDocument$$20_linkDiv$$1$$.createElement("div"), $mainElement$$ = $domDocument$$20_linkDiv$$1$$.createElement("div"), $contentElement$$1$$ = $domDocument$$20_linkDiv$$1$$.createElement("div");
  $AdfDomUtils$$.$addCSSClassName$($mainElement$$, $AdfDhtmlPopupMenu$$.$_POPUP_STYLE_CLASS$);
  $AdfDomUtils$$.$addCSSClassName$($contentElement$$1$$, $AdfDhtmlPopupMenu$$.$_CONTENT_STYLE_CLASS$);
  $rootElement$$8$$.appendChild($mainElement$$);
  this.$NeedsCloseLink$() && ($domDocument$$20_linkDiv$$1$$ = $domDocument$$20_linkDiv$$1$$.createElement("div"), $mainElement$$.appendChild($domDocument$$20_linkDiv$$1$$), $closeLabel$$1_page$$47$$ = $closeLabel$$1_page$$47$$.$getLookAndFeel$().$getTranslatedString$("af_menu.TIP_DISMISS"), $domDocument$$20_linkDiv$$1$$.innerHTML = '\x3ca href\x3d"javascript:;" style\x3d"position:absolute;top:-999px;" onclick\x3d"AdfMenuUtils.setMenuBarAutoOpenMode(false);AdfMenuUtils.closeAllMenus(true);"\x3e' + 
  $closeLabel$$1_page$$47$$ + "\x3c/a\x3e");
  $mainElement$$.appendChild($contentElement$$1$$);
  this.$_mainElement$ = $mainElement$$;
  this.$_contentElement$ = $contentElement$$1$$;
  return $rootElement$$8$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.CreateDomElement", {$CreateDomElement$:$AdfDhtmlPopupMenu$$.prototype.$CreateDomElement$});
$AdfDhtmlPopupMenu$$.prototype.$GetContentParent$ = $JSCompiler_get$$("$_contentElement$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.GetContentParent", {$GetContentParent$:$AdfDhtmlPopupMenu$$.prototype.$GetContentParent$});
$AdfDhtmlPopupMenu$$.prototype.$CreateShadow$ = function $$AdfDhtmlPopupMenu$$$$$CreateShadow$$($afterAnimation$$) {
  (!this.$GetAnimationDuration$() || $afterAnimation$$) && $AdfDhtmlShadowDecorator$$.$createShadowDecorator$(this.$getShadowAnchor$(), this.$getElement$(), $JSCompiler_alias_TRUE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.CreateShadow", {$CreateShadow$:$AdfDhtmlPopupMenu$$.prototype.$CreateShadow$});
$AdfDhtmlPopupMenu$$.prototype.$DoResizeNotifyDom$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.DoResizeNotifyDom", {$DoResizeNotifyDom$:$AdfDhtmlPopupMenu$$.prototype.$DoResizeNotifyDom$});
$AdfDhtmlPopupMenu$$.prototype.$SaveScrollValues$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.SaveScrollValues", {$SaveScrollValues$:$AdfDhtmlPopupMenu$$.prototype.$SaveScrollValues$});
$AdfDhtmlPopupMenu$$.prototype.$RestoreScrollValues$ = $JSCompiler_emptyFn$$();
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.RestoreScrollValues", {$RestoreScrollValues$:$AdfDhtmlPopupMenu$$.prototype.$RestoreScrollValues$});
$AdfDhtmlPopupMenu$$.prototype.$GetAnimationDurationSkinProperty$ = $JSCompiler_returnArg$$("af|menu-tr-open-animation-duration");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.GetAnimationDurationSkinProperty", {$GetAnimationDurationSkinProperty$:$AdfDhtmlPopupMenu$$.prototype.$GetAnimationDurationSkinProperty$});
$AdfDhtmlPopupMenu$$.prototype.$GetAnimateSkinProperty$ = $JSCompiler_returnArg$$("af|menu-tr-animate");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.GetAnimateSkinProperty", {$GetAnimateSkinProperty$:$AdfDhtmlPopupMenu$$.prototype.$GetAnimateSkinProperty$});
$AdfDhtmlPopupMenu$$.prototype.$GetLaunchSourceElement$ = function $$AdfDhtmlPopupMenu$$$$$GetLaunchSourceElement$$() {
  var $launchSourceId$$9$$ = $AdfMenuUtils$$.$GetLastOpenedRootMenuId$();
  return $launchSourceId$$9$$ ? $AdfAgent$$.$AGENT$.getElementById($launchSourceId$$9$$) : $JSCompiler_alias_NULL$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.GetLaunchSourceElement", {$GetLaunchSourceElement$:$AdfDhtmlPopupMenu$$.prototype.$GetLaunchSourceElement$});
$AdfDhtmlPopupMenu$$.prototype.$GetFocusContent$ = function $$AdfDhtmlPopupMenu$$$$$GetFocusContent$$() {
  var $agent$$65_component$$330_id$$232$$ = $AdfAgent$$.$AGENT$;
  if($agent$$65_component$$330_id$$232$$.$getDomWindow$().$AdfSafariMobileAgent$ && $agent$$65_component$$330_id$$232$$ instanceof $AdfSafariMobileAgent$$) {
    return $AdfDhtmlPopupMenu$$.$superclass$.$GetFocusContent$.call(this)
  }
  if($agent$$65_component$$330_id$$232$$ = this.$_componentId$) {
    if(($agent$$65_component$$330_id$$232$$ = $AdfPage$$.$PAGE$.$findComponent$($agent$$65_component$$330_id$$232$$)) && $agent$$65_component$$330_id$$232$$ instanceof AdfRichMenu) {
      $agent$$65_component$$330_id$$232$$.$visitChildren$(this.$_visitChildrenForMenu$, this, $JSCompiler_alias_TRUE$$);
      var $commandItemComponent$$inline_683$$ = this.$_firstMenuChild$;
      $commandItemComponent$$inline_683$$ && delete this.$_firstMenuChild$;
      return $commandItemComponent$$inline_683$$ ? $AdfRichUIPeer$$.$getDomElementForComponent$($commandItemComponent$$inline_683$$) : $AdfRichUIPeer$$.$getDomElementForComponent$($agent$$65_component$$330_id$$232$$)
    }
  }
  return this.$getElement$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.GetFocusContent", {$GetFocusContent$:$AdfDhtmlPopupMenu$$.prototype.$GetFocusContent$});
$AdfDhtmlPopupMenu$$.prototype.$ShouldHideOnClip$ = $JSCompiler_returnArg$$($JSCompiler_alias_FALSE$$);
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.ShouldHideOnClip", {$ShouldHideOnClip$:$AdfDhtmlPopupMenu$$.prototype.$ShouldHideOnClip$});
$AdfDhtmlPopupMenu$$.prototype.$_visitChildrenForMenu$ = function $$AdfDhtmlPopupMenu$$$$$_visitChildrenForMenu$$($component$$332$$) {
  return $component$$332$$ instanceof AdfRichCommandMenuItem || $component$$332$$ instanceof AdfRichMenu || $component$$332$$ instanceof AdfRichGoMenuItem ? (this.$_firstMenuChild$ = $component$$332$$, 2) : 1
};
$AdfDhtmlPopupMenu$$.prototype.$activate$ = function $$AdfDhtmlPopupMenu$$$$$activate$$() {
  this.$FocusOnFirstElement$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupMenu.prototype.activate", {$activate$:$AdfDhtmlPopupMenu$$.prototype.$activate$});
