function $AdfDhtmlPopupWindow$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfDhtmlPopupWindow", $AdfDhtmlPopupWindow$$);
$goog$exportSymbol$$("AdfDhtmlPopupWindow", $AdfDhtmlPopupWindow$$);
$AdfObject$$.$createSubclass$($AdfDhtmlPopupWindow$$, $AdfAbstractFloatingElement$$);
$AdfDhtmlPopupWindow$$.$__CANCELED_EXPANDO$ = "data-afr-iscanceled";
$AdfDhtmlPopupWindow$$.$__REPLACEDOM_EXPANDO$ = "data-afr-isreplacedom";
$AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$ = "data-afr-popupid";
$AdfDhtmlPopupWindow$$.$__POPUP_CONTAINER_ID$ = "popup-container";
$AdfDhtmlPopupWindow$$.$_SLIDE_UP$ = "up";
$AdfDhtmlPopupWindow$$.$_SLIDE_DOWN$ = "down";
$AdfDhtmlPopupWindow$$.$_SLIDE_LEFT$ = "left";
$AdfDhtmlPopupWindow$$.$_SLIDE_RIGHT$ = "right";
$AdfDhtmlPopupWindow$$.$InitClass$ = function $$AdfDhtmlPopupWindow$$$$InitClass$$() {
  this.$_SCROLL_POSITION_EXPANDO$ = "data-afr-sclptn";
  this.$_ANIMATE_WRAPPER_EXPANDO$ = "data-afr-taw";
  this.$_POPUP_TAIL_TOP_LEFT_STYLECLASS$ = "AFPopupTailTopLeft";
  this.$_POPUP_TAIL_TOP_RIGHT_STYLECLASS$ = "AFPopupTailTopRight";
  this.$_POPUP_TAIL_TOP_CENTER_STYLECLASS$ = "AFPopupTailTopCenter";
  this.$_POPUP_TAIL_BOTTOM_LEFT_STYLECLASS$ = "AFPopupTailBottomLeft";
  this.$_POPUP_TAIL_BOTTOM_RIGHT_STYLECLASS$ = "AFPopupTailBottomRight";
  this.$_POPUP_TAIL_BOTTOM_CENTER_STYLECLASS$ = "AFPopupTailBottomCenter";
  this.$_POPUP_TAIL_MIDDLE_LEFT_STYLECLASS$ = "AFPopupTailMiddleLeft";
  this.$_POPUP_TAIL_MIDDLE_RIGHT_STYLECLASS$ = "AFPopupTailMiddleRight";
  this.$_POPUP_TAIL_STYLECLASS$ = "AFPopupTail";
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.InitClass", $AdfDhtmlPopupWindow$$.$InitClass$);
$AdfDhtmlPopupWindow$$.prototype.Init = function $$AdfDhtmlPopupWindow$$$$Init$() {
  $AdfDhtmlPopupWindow$$.$superclass$.Init.call(this, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$);
  var $rootElement$$16$$ = this.$CreateDomElement$();
  this.$setElement$($rootElement$$16$$);
  $rootElement$$16$$.style.display = "none";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.Init", {Init:$AdfDhtmlPopupWindow$$.prototype.Init});
$AdfDhtmlPopupWindow$$.prototype.$CreateDomElement$ = function $$AdfDhtmlPopupWindow$$$$$CreateDomElement$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.CreateDomElement", {$CreateDomElement$:$AdfDhtmlPopupWindow$$.prototype.$CreateDomElement$});
$AdfDhtmlPopupWindow$$.prototype.$ShouldHideOnClip$ = function $$AdfDhtmlPopupWindow$$$$$ShouldHideOnClip$$() {
  return !$AdfAgent$$.$AGENT$.$isTouchFirstDevice$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.ShouldHideOnClip", {$ShouldHideOnClip$:$AdfDhtmlPopupWindow$$.prototype.$ShouldHideOnClip$});
$AdfDhtmlPopupWindow$$.prototype.$NeedsCloseLink$ = function $$AdfDhtmlPopupWindow$$$$$NeedsCloseLink$$() {
  return !!($AdfPage$$.$PAGE$.$getDomWindow$().$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.NeedsCloseLink", {$NeedsCloseLink$:$AdfDhtmlPopupWindow$$.prototype.$NeedsCloseLink$});
$AdfDhtmlPopupWindow$$.prototype.$getInitialPopupTailPosition$ = function $$AdfDhtmlPopupWindow$$$$$getInitialPopupTailPosition$$($alignHint$$2_popupTailPosition$$) {
  if ($alignHint$$2_popupTailPosition$$) {
    switch($alignHint$$2_popupTailPosition$$) {
      case AdfRichPopup.$ALIGN_AFTER_START$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_LEFT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_AFTER_END$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_RIGHT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_AFTER_CENTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_CENTER_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_BEFORE_START$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_LEFT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_BEFORE_END$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_RIGHT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_BEFORE_CENTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_CENTER_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_END_AFTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_LEFT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_END_BEFORE$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_LEFT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_END_CENTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_MIDDLE_LEFT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_START_AFTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_RIGHT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_START_BEFORE$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_RIGHT_STYLECLASS$;
        break;
      case AdfRichPopup.$ALIGN_START_CENTER$:
        $alignHint$$2_popupTailPosition$$ = $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_MIDDLE_RIGHT_STYLECLASS$;
        break;
      default:
        $alignHint$$2_popupTailPosition$$ = "";
    }
    return $alignHint$$2_popupTailPosition$$;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getInitialPopupTailPosition", {$getInitialPopupTailPosition$:$AdfDhtmlPopupWindow$$.prototype.$getInitialPopupTailPosition$});
$AdfDhtmlPopupWindow$$.prototype.setPosition = function $$AdfDhtmlPopupWindow$$$$setPosition$($top$$7$$, $left$$8$$) {
  var $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ = this.$GetPositionManagerIndex$();
  if (0 <= $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ && this.$_tailElement$ && ($behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ = $AdfPage$$.$PAGE$.$getPositionManager$().$getComputedBehavior$($behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$))) {
    var $horizontalBehavior_left$$inline_856$$ = $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$.$horizontalBehavior$, $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = "AFPopupTail";
    switch($behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$.$verticalBehavior$.$floatingElementAnchor$) {
      case $AdfDhtmlPositionManager$$.$TOP$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Top";
        break;
      case $AdfDhtmlPositionManager$$.$BOTTOM$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Bottom";
        break;
      case $AdfDhtmlPositionManager$$.$MIDDLE$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Middle";
        break;
      default:
        $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for verticalBehavior provided."), $AdfLogger$$.$LOGGER$.warning("Invalid floatingElementAnchor for verticalBehavior provided.");
    }
    switch($horizontalBehavior_left$$inline_856$$.$floatingElementAnchor$) {
      case $AdfDhtmlPositionManager$$.$LEFT$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Left";
        break;
      case $AdfDhtmlPositionManager$$.$RIGHT$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Right";
        break;
      case $AdfDhtmlPositionManager$$.$CENTER$:
        $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ += "Center";
        break;
      default:
        $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for horizontalBehavior provided."), $AdfLogger$$.$LOGGER$.warning("Invalid floatingElementAnchor for horizontalBehavior provided.");
    }
    $AdfDomUtils$$.$removeCSSClassName$(this.$_tailElement$, this.$_tailPosition$);
    this.$_tailPosition$ = $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$;
    $AdfDomUtils$$.$addCSSClassName$(this.$_tailElement$, $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$);
    $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ = $top$$7$$;
    $horizontalBehavior_left$$inline_856$$ = $left$$8$$;
    if (this.$_tailElement$) {
      var $tailWidth$$inline_858$$ = this.$_tailElement$.offsetWidth, $tailHeight$$inline_859$$ = this.$_tailElement$.offsetHeight;
      switch($leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$) {
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_LEFT_STYLECLASS$:
        ;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_LEFT_STYLECLASS$:
          $horizontalBehavior_left$$inline_856$$ += $tailWidth$$inline_858$$;
          break;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_MIDDLE_LEFT_STYLECLASS$:
          $horizontalBehavior_left$$inline_856$$ += $tailWidth$$inline_858$$;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = this.$getElement$().offsetHeight;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = Math.round(($leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ / 2 - $tailHeight$$inline_859$$ / 2) / $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ * 100);
          this.$_tailElement$.style.top = $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ + "%";
          break;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_RIGHT_STYLECLASS$:
        ;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_RIGHT_STYLECLASS$:
          $horizontalBehavior_left$$inline_856$$ -= $tailWidth$$inline_858$$;
          break;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_MIDDLE_RIGHT_STYLECLASS$:
          $horizontalBehavior_left$$inline_856$$ -= $tailWidth$$inline_858$$;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = this.$getElement$().offsetHeight;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = Math.round(($leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ / 2 - $tailHeight$$inline_859$$ / 2) / $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ * 100);
          this.$_tailElement$.style.top = $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ + "%";
          break;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_TOP_CENTER_STYLECLASS$:
          $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ += $tailHeight$$inline_859$$;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = this.$getElement$().offsetWidth;
          $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = Math.round(($leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ / 2 - $tailWidth$$inline_858$$ / 2) / $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ * 100);
          this.$_tailElement$.style.left = $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ + "%";
          break;
        case $AdfDhtmlPopupWindow$$.$_POPUP_TAIL_BOTTOM_CENTER_STYLECLASS$:
          $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ -= $tailHeight$$inline_859$$, $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = this.$getElement$().offsetWidth, $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ = Math.round(($leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ / 2 - $tailWidth$$inline_858$$ / 
          2) / $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ * 100), this.$_tailElement$.style.left = $leftPercent$$inline_863_rootHeight$$inline_860_rootWidth$$inline_862_styleClass$$3_topPercent$$inline_861$$ + "%";
      }
    }
    $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$ = {left:$horizontalBehavior_left$$inline_856$$, top:$behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$};
    $top$$7$$ = $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$.top;
    $left$$8$$ = $behavior$$2_newPosition_positionManagerIndex$$1_top$$inline_855$$.left;
  }
  $AdfDhtmlPopupWindow$$.$superclass$.setPosition.call(this, $top$$7$$, $left$$8$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setPosition", {setPosition:$AdfDhtmlPopupWindow$$.prototype.setPosition});
$AdfDhtmlPopupWindow$$.prototype.$getTailElement$ = function $$AdfDhtmlPopupWindow$$$$$getTailElement$$() {
  return this.$_tailElement$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getTailElement", {$getTailElement$:$AdfDhtmlPopupWindow$$.prototype.$getTailElement$});
$AdfDhtmlPopupWindow$$.prototype.show = function $$AdfDhtmlPopupWindow$$$$show$($hints$$32$$) {
  $AdfAssert$$.$assertObject$($hints$$32$$, "Cannot show a popup element without hints");
  var $componentId$$23$$ = $hints$$32$$.componentId;
  $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "popup show called: type\x3d", $hints$$32$$.type, ", id\x3d", $componentId$$23$$);
  this.$_componentId$ = $componentId$$23$$;
  this.$setAlignElement$($hints$$32$$.alignElement);
  var $activeDomElementIdKey_align$$3_positionManager$$inline_869$$ = $hints$$32$$[AdfRichPopup.$HINT_ALIGN$], $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ = $hints$$32$$.restoreImmediate;
  this.$_closingAnimationHints$ = {};
  this.$_closingAnimationHints$.closeTransition = $hints$$32$$.closeTransition;
  this.$_isOpening$ = !0;
  var $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ = $hints$$32$$.openedHandler, $component$$668_openedParams$$ = $hints$$32$$.openedHandlerParam;
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ && this.$addOpenedHandler$($closeOnEscape_maxWidth$$2_openedHandler_page$$67$$, $component$$668_openedParams$$);
  var $ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$ = $hints$$32$$.mousePosition, $screenCenterPosition$$ = $hints$$32$$.screenCenterPosition;
  !0 === $hints$$32$$.autodismiss && ($hints$$32$$.autodismiss = "autodismissAlways");
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ = $hints$$32$$.closeOnEscape;
  null == $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ && ($closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ = !0);
  this.$_closeOnEscape$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$;
  this.$_launchSourceId$ = $hints$$32$$[AdfRichPopup.$HINT_LAUNCH_ID$];
  if ($closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ = $hints$$32$$.maxWidth) {
    $AdfAssert$$.$assertNumeric$($closeOnEscape_maxWidth$$2_openedHandler_page$$67$$, "AdfDhtmlPopupHints.MAX_WIDTH"), this.$_maxWidth$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$;
  }
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$ = $AdfPage$$.$PAGE$;
  $component$$668_openedParams$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$findComponent$($componentId$$23$$);
  $AdfAssert$$.assert(null != $component$$668_openedParams$$, "Cannot show a popup element without a valid component");
  this.$getElement$().id = $AdfRichUIPeer$$.$createSubId$($componentId$$23$$, $AdfDhtmlPopupWindow$$.$__POPUP_CONTAINER_ID$);
  var $content$$14_focusHint$$1$$ = $hints$$32$$.focus;
  null == $content$$14_focusHint$$1$$ && ($content$$14_focusHint$$1$$ = !0);
  var $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  0 == $content$$14_focusHint$$1$$ && $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$ && ($content$$14_focusHint$$1$$ = !0);
  $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ && ($content$$14_focusHint$$1$$ = !1);
  if ($content$$14_focusHint$$1$$ && ($activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$_activeDomNode$)) {
    var $animProperty$$1_element$$162_restoreId$$ = $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.id;
    $animProperty$$1_element$$162_restoreId$$ || ($animProperty$$1_element$$162_restoreId$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getActiveComponentId$(), $animProperty$$1_element$$162_restoreId$$ || ($animProperty$$1_element$$162_restoreId$$ = $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.id = (new Date).getTime()));
    this.$_restoreFocusId$ = $animProperty$$1_element$$162_restoreId$$;
    $AdfLogger$$.$LOGGER$.fine("In AdfDhtmlPopupWindow#show(), _restoreFocusId set to " + $animProperty$$1_element$$162_restoreId$$);
  }
  this.$SetFocusOnOpen$($content$$14_focusHint$$1$$);
  if ($content$$14_focusHint$$1$$ = $hints$$32$$.content) {
    this.$_maxWidth$ && ($content$$14_focusHint$$1$$.style.maxWidth = this.$_maxWidth$ + "px");
    if (!this.$ImmediateZorderRegistration$()) {
      var $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getZOrderManager$(), $animProperty$$1_element$$162_restoreId$$ = this.$getElement$(), $animationDuration$$2_floatingType$$2$$ = this.$GetFloatingType$();
      switch(this.$_zorderScope$ = $hints$$32$$.zorderScope) {
        case 1:
          var $containedFormId_firstFormId$$ = $AdfDhtmlPopupWindow$$.$_getFormElementId$($content$$14_focusHint$$1$$);
          $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.$addElementToLayer$($animProperty$$1_element$$162_restoreId$$, $animationDuration$$2_floatingType$$2$$, null, $containedFormId_firstFormId$$);
          break;
        case 2:
          $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.$addElementToLayer$($animProperty$$1_element$$162_restoreId$$, $animationDuration$$2_floatingType$$2$$);
          break;
        default:
          $containedFormId_firstFormId$$ = this.$GetFirstFormId$(), $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$.$addElementToLayer$($animProperty$$1_element$$162_restoreId$$, $animationDuration$$2_floatingType$$2$$, null, $containedFormId_firstFormId$$);
      }
    }
    $content$$14_focusHint$$1$$ = $hints$$32$$.content = this.$WrapContent$($hints$$32$$, $content$$14_focusHint$$1$$);
    this.$setContent$($content$$14_focusHint$$1$$);
  }
  this.$setAccessibleAttrs$($hints$$32$$);
  $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ = $hints$$32$$.animate;
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$isAnimationEnabled$() && $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ != AdfRichPopup.$ANIMATE_FALSE$ && ($animProperty$$1_element$$162_restoreId$$ = this.$GetAnimationDurationSkinProperty$($hints$$32$$)) && ($animationDuration$$2_floatingType$$2$$ = parseInt($closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getLookAndFeel$().$getSkinProperty$($animProperty$$1_element$$162_restoreId$$)), 0 < $animationDuration$$2_floatingType$$2$$ && 
  ($animProperty$$1_element$$162_restoreId$$ = this.$GetAnimateSkinProperty$(), ($animProperty$$1_element$$162_restoreId$$ ? $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getLookAndFeel$().$getSkinProperty$($animProperty$$1_element$$162_restoreId$$) : null) != AdfRichPopup.$ANIMATE_FALSE$ || $activeDomElement$$2_animateHint_domWindow$$77_zorderManager$$ == AdfRichPopup.$ANIMATE_TRUE$)) && (this.$_animationDuration$ = $animationDuration$$2_floatingType$$2$$, this.$_closingAnimationHints$.animate = 
  $hints$$32$$.animate);
  this.$setCloseHandler$($hints$$32$$.closeHandler);
  this.$setCloseHandlerParam$($hints$$32$$.closeHandlerParam);
  this.$getElement$().style.visibility = "hidden";
  if ($ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$) {
    this.$_positionManagerIndex$ = $AdfPage$$.$PAGE$.$getPositionManager$().$addFloatingElementByPosition$(this, $ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$);
  } else {
    if ($screenCenterPosition$$) {
      $activeDomElementIdKey_align$$3_positionManager$$inline_869$$ = $AdfPage$$.$PAGE$.$getPositionManager$();
      if ($ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$ = this.$_positionManagerIndex$) {
        $activeDomElementIdKey_align$$3_positionManager$$inline_869$$.$removeElement$($ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$), delete this.$_positionManagerIndex$;
      }
      $ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$ = !this.$HasShadow$();
      this.$_positionManagerIndex$ = $activeDomElementIdKey_align$$3_positionManager$$inline_869$$.$addFloatingElementByPosition$(this, $JSCompiler_StaticMethods__getScreenCenterPosition$$(this), $ignoreShadow$$inline_871_mousePosition$$1_positionManagerIndex$$inline_870$$);
    } else {
      $activeDomElementIdKey_align$$3_positionManager$$inline_869$$ && this.$Position$($activeDomElementIdKey_align$$3_positionManager$$inline_869$$);
    }
  }
  this.$DoShow$($hints$$32$$);
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getAutoDismissalManager$().addBehavior($component$$668_openedParams$$, $hints$$32$$);
  $activeDomElementIdKey_align$$3_positionManager$$inline_869$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($componentId$$23$$);
  $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ ? (this.$_sizeTimeout$ = 0, this.$_size$($hints$$32$$), ($activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$getPageProperty$($activeDomElementIdKey_align$$3_positionManager$$inline_869$$)) ? ($activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ = $AdfAgent$$.$AGENT$.getElementById($activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$)) && 
  $AdfDomUtils$$.$isAncestor$($content$$14_focusHint$$1$$, $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$) && $AdfFocusUtils$$.$isFocusable$($activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$) && $AdfFocusUtils$$.$focusElement$($activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$) : $AdfDhtmlDialogManager$$.$getInstance$().$getActiveDialog$() == this && this.$FocusOnFirstElement$(!0)) : this.$_sizeTimeout$ = $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$scheduleTimer$(this, 
  this.$createCallback$(this.$_size$), $hints$$32$$, 1, {isSynchronized:!0});
  $closeOnEscape_maxWidth$$2_openedHandler_page$$67$$.$setPageProperty$($activeDomElementIdKey_align$$3_positionManager$$inline_869$$, null);
  $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$ = this.$getElement$();
  $hints$$32$$.surrogateClientId ? $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$.setAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$, $hints$$32$$.surrogateClientId) : $componentId$$23$$ && $activeDomElementId_restoreFocusElement_restoreImmediate_rootElement$$17$$.setAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$, $componentId$$23$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.show", {show:$AdfDhtmlPopupWindow$$.prototype.show});
$AdfDhtmlPopupWindow$$.$_getFormElementId$ = function $$AdfDhtmlPopupWindow$$$$_getFormElementId$$($node$$62$$) {
  $AdfAssert$$.$assertDomNode$($node$$62$$);
  for (var $formId$$, $ourDocument$$ = $node$$62$$.ownerDocument, $agent$$117$$ = $AdfAgent$$.$AGENT$;$node$$62$$ && $node$$62$$ != $ourDocument$$;) {
    if ("FORM" == $agent$$117$$.$getNodeName$($node$$62$$)) {
      $formId$$ = $node$$62$$.getAttribute("id");
      break;
    }
    $node$$62$$ = $node$$62$$.parentNode;
  }
  return $formId$$;
};
$AdfDhtmlPopupWindow$$.prototype.$getPopupClientId$ = function $$AdfDhtmlPopupWindow$$$$$getPopupClientId$$() {
  return this.$_componentId$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getPopupClientId", {$getPopupClientId$:$AdfDhtmlPopupWindow$$.prototype.$getPopupClientId$});
$AdfDhtmlPopupWindow$$.prototype.$OpenedPopup$ = function $$AdfDhtmlPopupWindow$$$$$OpenedPopup$$($domElement$$49_hints$$33_i$$209$$) {
  if (this.$_isOpening$) {
    delete this.$_isOpening$;
    this.$announceOpeningViaLiveRegion$($domElement$$49_hints$$33_i$$209$$);
    this.$_registerEventHandlers$($domElement$$49_hints$$33_i$$209$$);
    var $openedHandlers$$ = this.$_openedHandlers$, $openedHandlerParams$$ = this.$_openedHandlerParams$;
    delete this.$_openedHandlers$;
    delete this.$_openedHandlerParams$;
    if ($domElement$$49_hints$$33_i$$209$$) {
      $domElement$$49_hints$$33_i$$209$$ = this.$getContent$();
      if (!$openedHandlers$$) {
        this.$FocusOnFirstElement$();
        $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "popup opened no handler present: id\x3d" + this.$_componentId$);
        return;
      }
      this.$RestoreScrollValues$($domElement$$49_hints$$33_i$$209$$);
      this.$FocusOnFirstElement$();
    }
    if ($openedHandlers$$) {
      for ($domElement$$49_hints$$33_i$$209$$ = 0;$domElement$$49_hints$$33_i$$209$$ < $openedHandlers$$.length;$domElement$$49_hints$$33_i$$209$$++) {
        try {
          (0,$openedHandlers$$[$domElement$$49_hints$$33_i$$209$$])($openedHandlerParams$$[$domElement$$49_hints$$33_i$$209$$]);
        } catch ($e$$92$$) {
          $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$92$$, "popup opened handler failed.");
        }
      }
      $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "popup opened handler present: id\x3d" + this.$_componentId$);
    } else {
      $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "popup opened no handler present: id\x3d" + this.$_componentId$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.OpenedPopup", {$OpenedPopup$:$AdfDhtmlPopupWindow$$.prototype.$OpenedPopup$});
$AdfDhtmlPopupWindow$$.prototype.$WrapContent$ = function $$AdfDhtmlPopupWindow$$$$$WrapContent$$($hints$$34$$, $content$$15$$) {
  var $table$$11$$ = $AdfPage$$.$PAGE$.$getDomDocument$().createElement("table");
  this.$_resizeAnchorId$ = $table$$11$$.id = $AdfRichUIPeer$$.$CreateSubId$(this.$_componentId$, "" + (new Date).getTime());
  $AdfAgent$$.$AGENT$.$elementsAdded$($table$$11$$);
  $table$$11$$.cellPadding = $table$$11$$.cellSpacing = 0;
  $table$$11$$.insertRow(0).insertCell(0).appendChild($content$$15$$);
  $table$$11$$.style.position = "relative";
  $table$$11$$.$role$ = "presentation";
  return $table$$11$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.WrapContent", {$WrapContent$:$AdfDhtmlPopupWindow$$.prototype.$WrapContent$});
$AdfDhtmlPopupWindow$$.prototype.$_registerEventHandlers$ = function $$AdfDhtmlPopupWindow$$$$$_registerEventHandlers$$($hints$$35_keyUpCallback$$) {
  var $agent$$118$$ = $AdfAgent$$.$AGENT$, $doc$$36_keyDownCallback$$ = $AdfPage$$.$PAGE$.$getDomDocument$(), $popupContainer_resizeCallback$$ = this.$getElement$();
  $hints$$35_keyUpCallback$$ && $hints$$35_keyUpCallback$$.componentEventsEnabled || ($hints$$35_keyUpCallback$$ = this.$_keyUpCallback$ = this.$createCallback$(this.$_handleKeyUp$), $agent$$118$$.$addBubbleEventListener$($doc$$36_keyDownCallback$$, "keyup", $hints$$35_keyUpCallback$$), $doc$$36_keyDownCallback$$ = this.$_keyDownCallback$ = this.$createCallback$(this.$_handleKeyDown$), $agent$$118$$.$addBubbleEventListener$($popupContainer_resizeCallback$$, "keydown", $doc$$36_keyDownCallback$$));
  $popupContainer_resizeCallback$$ = this.$_resizeCallback$ = this.$createCallback$(this.$_handleResize$);
  $agent$$118$$.$addResizeListener$(this.$_resizeAnchorId$, $popupContainer_resizeCallback$$);
};
$AdfDhtmlPopupWindow$$.prototype.$_handleResize$ = function $$AdfDhtmlPopupWindow$$$$$_handleResize$$() {
  this.$autoSize$();
  var $content$$16$$ = this.$getContent$();
  this.$DoResizeNotifyDom$($content$$16$$);
  null != this.$_positionManagerIndex$ && $AdfPage$$.$PAGE$.$getPositionManager$().$validatePosition$(this.$_positionManagerIndex$);
};
$AdfDhtmlPopupWindow$$.prototype.$_unregisterEventHandlers$ = function $$AdfDhtmlPopupWindow$$$$$_unregisterEventHandlers$$() {
  var $doc$$37_keyDownCallback$$1$$ = $AdfPage$$.$PAGE$.$getDomDocument$(), $agent$$119$$ = $AdfAgent$$.$AGENT$, $popupContainer$$1$$ = this.$getElement$(), $keyUpCallback$$1$$ = this.$_keyUpCallback$;
  $keyUpCallback$$1$$ && ($agent$$119$$.$removeBubbleEventListener$($doc$$37_keyDownCallback$$1$$, "keyup", $keyUpCallback$$1$$), delete this.$_keyUpCallback$);
  if ($doc$$37_keyDownCallback$$1$$ = this.$_keyDownCallback$) {
    $agent$$119$$.$removeBubbleEventListener$($popupContainer$$1$$, "keydown", $doc$$37_keyDownCallback$$1$$), delete this.$_keyDownCallback$;
  }
  this.$_resizeCallback$ && ($agent$$119$$.$removeResizeListener$(this.$_resizeAnchorId$, this.$_resizeCallback$), delete this.$_resizeAnchorId$, delete this.$_resizeCallback$);
};
$AdfDhtmlPopupWindow$$.prototype.$hide$ = function $$AdfDhtmlPopupWindow$$$$$hide$$() {
  if (!this.$_isHiding$) {
    this.$_isHiding$ = !0;
    $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "popup hide called: id\x3d" + this.$_componentId$);
    if (this.$_animator$ && this.$_isOpening$) {
      this.$_animator$.stop();
      var $wrapper$$5$$ = this.$getElement$().parentNode;
      $AdfDhtmlPopupWindow$$.$OpenAnimationComplete$({$wrapper$:$wrapper$$5$$, $myself$:this});
    }
    this.$_closingAnimationHints$.animate != AdfRichPopup.$ANIMATE_FALSE$ && 0 < this.$_animationDuration$ ? this.$AnimateClosing$(this.$_closingAnimationHints$) : this.$ClosedPopup$();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.hide", {$hide$:$AdfDhtmlPopupWindow$$.prototype.$hide$});
$AdfDhtmlPopupWindow$$.prototype.$ClosedPopup$ = function $$AdfDhtmlPopupWindow$$$$$ClosedPopup$$() {
  var $page$$71$$ = $AdfPage$$.$PAGE$, $closeHandler$$1_component$$669_domElement$$50$$ = this.$getContent$();
  this.$removeAccessibleAttrs$();
  this.$SaveScrollValues$($closeHandler$$1_component$$669_domElement$$50$$);
  var $closeHandler$$1_component$$669_domElement$$50$$ = $page$$71$$.$findComponent$(this.$_componentId$), $popupId$$22$$ = $AdfDhtmlPopupWindow$$.$_getInternalPopupId$(this, $closeHandler$$1_component$$669_domElement$$50$$);
  $page$$71$$.$getAutoDismissalManager$().removeBehavior($closeHandler$$1_component$$669_domElement$$50$$, $popupId$$22$$);
  if (!$JSCompiler_StaticMethods__isRestoring$$($closeHandler$$1_component$$669_domElement$$50$$) && (null == $page$$71$$.$_activeDomNode$ || $AdfFocusUtils$$.$containsFocus$(this.$getElement$())) && !$AdfFocusUtils$$.$isFocusChangePending$()) {
    try {
      this.$_restoreFocus$();
    } catch ($e$$93$$) {
      $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$93$$, "restoring popup focus");
    }
  }
  this.$_unregisterEventHandlers$();
  if ($closeHandler$$1_component$$669_domElement$$50$$ = this.$_closeHandler$) {
    delete this.$_closeHandler$, $closeHandler$$1_component$$669_domElement$$50$$(this.$_closeHandlerParam$), delete this.$_closeHandlerParam$;
  }
  this.$destroy$();
  delete this.$_isHiding$;
  $page$$71$$.$__perfTimings$(!1, !1, !0, "popup hidden: id\x3d" + this.$_componentId$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.ClosedPopup", {$ClosedPopup$:$AdfDhtmlPopupWindow$$.prototype.$ClosedPopup$});
$AdfDhtmlPopupWindow$$.$_getInternalPopupId$ = function $$AdfDhtmlPopupWindow$$$$_getInternalPopupId$$($popupWindow$$18$$, $component$$670$$) {
  if ($component$$670$$) {
    var $peer$$81_popupList$$9$$ = $component$$670$$.$getPeer$();
    if ($peer$$81_popupList$$9$$ && ($peer$$81_popupList$$9$$ = $peer$$81_popupList$$9$$.$getAllPopups$($component$$670$$))) {
      for (popupId in $peer$$81_popupList$$9$$) {
        if ($peer$$81_popupList$$9$$[popupId] === $popupWindow$$18$$) {
          return popupId;
        }
      }
    }
  }
  return null;
};
function $JSCompiler_StaticMethods__isRestoring$$($component$$671_key$$51$$) {
  var $isRestoring$$2$$ = !1;
  $component$$671_key$$51$$ instanceof AdfRichPopup && $component$$671_key$$51$$.getAutoCancel() == AdfRichPopup.$AUTO_CANCEL_DISABLED$ && ($component$$671_key$$51$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($component$$671_key$$51$$.$getClientId$()), $isRestoring$$2$$ = page.$getPageProperty$($component$$671_key$$51$$) ? !0 : !1);
  return $isRestoring$$2$$;
}
$AdfDhtmlPopupWindow$$.prototype.cancel = function $$AdfDhtmlPopupWindow$$$$cancel$($key$$52_poppupId_replaceDom$$2_wrapper$$6$$) {
  var $contentDom$$4_page$$72$$ = this.$_closeHandlerParam$.contentDom;
  $contentDom$$4_page$$72$$.setAttribute($AdfDhtmlPopupWindow$$.$__CANCELED_EXPANDO$, !0);
  $contentDom$$4_page$$72$$.setAttribute($AdfDhtmlPopupWindow$$.$__REPLACEDOM_EXPANDO$, $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ ? !0 : !1);
  this.$_closingAnimationHints$ && $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ && (this.$_closingAnimationHints$.animate = AdfRichPopup.$ANIMATE_FALSE$);
  if (this.$_isHiding$) {
    this.$_animator$ && $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ && (this.$_animator$.stop(), $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ = this.$getElement$().parentNode, $AdfDhtmlPopupWindow$$.$CloseAnimationComplete$({$wrapper$:$key$$52_poppupId_replaceDom$$2_wrapper$$6$$, $myself$:this}));
  } else {
    if ($key$$52_poppupId_replaceDom$$2_wrapper$$6$$ && $AdfFocusUtils$$.$containsFocus$(this.$getElement$())) {
      $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ = this.$getPopupClientId$();
      $key$$52_poppupId_replaceDom$$2_wrapper$$6$$ = $AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$($key$$52_poppupId_replaceDom$$2_wrapper$$6$$);
      var $contentDom$$4_page$$72$$ = $AdfPage$$.$PAGE$, $activeDomElement$$3$$ = $contentDom$$4_page$$72$$.$_activeDomNode$;
      $activeDomElement$$3$$ && $activeDomElement$$3$$.id && $contentDom$$4_page$$72$$.$setPageProperty$($key$$52_poppupId_replaceDom$$2_wrapper$$6$$, $activeDomElement$$3$$.id);
    }
    $AdfDhtmlPopupWindow$$.$superclass$.cancel.call(this);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.cancel", {cancel:$AdfDhtmlPopupWindow$$.prototype.cancel});
$AdfDhtmlPopupWindow$$.$_createFocusPagePropertyKey$ = function $$AdfDhtmlPopupWindow$$$$_createFocusPagePropertyKey$$($clientId$$102$$) {
  $AdfAssert$$.$assertString$($clientId$$102$$);
  return $clientId$$102$$.split(":").join("$") + "$restoreFocus";
};
$AdfDhtmlPopupWindow$$.prototype.$_restoreFocus$ = function $$AdfDhtmlPopupWindow$$$$$_restoreFocus$$() {
  var $agent$$120_focusParams$$ = $AdfAgent$$.$AGENT$, $page$$73$$ = $AdfPage$$.$PAGE$, $focusContextCache$$ = {}, $restoreFocusElement$$1$$, $element$$163$$ = this.$getElement$();
  if ($agent$$120_focusParams$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && !(this instanceof $AdfDhtmlSimpleFloat$$)) {
    var $event$$120_eventTarget$$33_launchSourceElement$$ = $page$$73$$.$getDomWindow$().event;
    $event$$120_eventTarget$$33_launchSourceElement$$ && -1 !== $event$$120_eventTarget$$33_launchSourceElement$$.type.indexOf("mouse") && ($event$$120_eventTarget$$33_launchSourceElement$$ = $agent$$120_focusParams$$.$getEventTarget$($event$$120_eventTarget$$33_launchSourceElement$$)) && $AdfFocusUtils$$.$isFocusable$($event$$120_eventTarget$$33_launchSourceElement$$) && !$AdfDomUtils$$.$isAncestorOrSelf$($element$$163$$, $event$$120_eventTarget$$33_launchSourceElement$$) && ($restoreFocusElement$$1$$ = 
    $event$$120_eventTarget$$33_launchSourceElement$$);
  }
  $restoreFocusElement$$1$$ || ($restoreFocusElement$$1$$ = this.$getAlignElement$());
  $AdfLogger$$.$LOGGER$.fine("In AdfDhtmlPopupWindow#_restoreFocus(), _restoreFocusId set to " + this.$_restoreFocusId$);
  !this.$_restoreFocusId$ || $restoreFocusElement$$1$$ && $AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$) || ($restoreFocusElement$$1$$ = $agent$$120_focusParams$$.$getDomDocument$().getElementById(this.$_restoreFocusId$));
  $restoreFocusElement$$1$$ && $AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$) || ($event$$120_eventTarget$$33_launchSourceElement$$ = this.$GetLaunchSourceElement$()) && ($restoreFocusElement$$1$$ = $event$$120_eventTarget$$33_launchSourceElement$$);
  $restoreFocusElement$$1$$ ? $agent$$120_focusParams$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? ($agent$$120_focusParams$$ = {}, $agent$$120_focusParams$$.focusElement = $restoreFocusElement$$1$$, $agent$$120_focusParams$$.popupElement = $element$$163$$, $page$$73$$.$scheduleTimer$(this, this.$_delayedCheckedFocus$, $agent$$120_focusParams$$, 10, {isSynchronized:!0})) : $AdfFocusUtils$$.$isFocusable$($restoreFocusElement$$1$$, $focusContextCache$$) ? $AdfFocusUtils$$.$focusElement$($restoreFocusElement$$1$$) : 
  $AdfFocusUtils$$.$focusNextTabStop$($restoreFocusElement$$1$$) : $AdfFocusUtils$$.$focusFirstDocumentTabStop$();
};
$AdfDhtmlPopupWindow$$.prototype.$_delayedCheckedFocus$ = function $$AdfDhtmlPopupWindow$$$$$_delayedCheckedFocus$$($focusElement_params$$29$$) {
  var $popupElement$$8$$ = $focusElement_params$$29$$.popupElement;
  $focusElement_params$$29$$ = $focusElement_params$$29$$.focusElement;
  $AdfFocusUtils$$.$isFocusable$($AdfPage$$.$PAGE$.$_activeDomNode$) || $AdfDomUtils$$.$isAncestorOrSelf$($popupElement$$8$$, $focusElement_params$$29$$) || ($AdfFocusUtils$$.$isFocusable$($focusElement_params$$29$$) ? $AdfFocusUtils$$.$focusElement$($focusElement_params$$29$$) : $AdfFocusUtils$$.$focusNextTabStop$($focusElement_params$$29$$));
};
$AdfDhtmlPopupWindow$$.prototype.$GetLaunchSourceElement$ = function $$AdfDhtmlPopupWindow$$$$$GetLaunchSourceElement$$() {
  var $launchSourceId$$11$$ = this.$_launchSourceId$;
  return $launchSourceId$$11$$ ? $AdfAgent$$.$AGENT$.getElementById($launchSourceId$$11$$) : null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetLaunchSourceElement", {$GetLaunchSourceElement$:$AdfDhtmlPopupWindow$$.prototype.$GetLaunchSourceElement$});
$AdfDhtmlPopupWindow$$.prototype.$setContent$ = function $$AdfDhtmlPopupWindow$$$$$setContent$$($selectorContent$$) {
  var $contentElement$$3$$ = this.$GetContentParent$();
  $contentElement$$3$$.firstChild && $contentElement$$3$$.removeChild($contentElement$$3$$.firstChild);
  var $component$$672_iframes$$ = $AdfPage$$.$PAGE$.$findComponent$(this.$_componentId$);
  if ($component$$672_iframes$$ && $AdfPage$$.$PAGE$.$isAnimationEnabled$() && $component$$672_iframes$$.$getProperty$("animate") != AdfRichPopup.$ANIMATE_FALSE$) {
    for (var $component$$672_iframes$$ = $selectorContent$$.querySelectorAll("iframe"), $i$$210$$ = 0;$i$$210$$ < $component$$672_iframes$$.length;$i$$210$$++) {
      var $iframeElement$$ = $component$$672_iframes$$[$i$$210$$], $src$$8$$ = $iframeElement$$.getAttribute("src"), $dataSrc$$ = $iframeElement$$.getAttribute("data-src");
      $src$$8$$ && !$dataSrc$$ && ($iframeElement$$.setAttribute("data-src", $src$$8$$), $iframeElement$$.removeAttribute("src"));
    }
  }
  $contentElement$$3$$.appendChild($selectorContent$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setContent", {$setContent$:$AdfDhtmlPopupWindow$$.prototype.$setContent$});
$AdfDhtmlPopupWindow$$.prototype.$setAccessibleAttrs$ = function $$AdfDhtmlPopupWindow$$$$$setAccessibleAttrs$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setAccessibleAttrs", {$setAccessibleAttrs$:$AdfDhtmlPopupWindow$$.prototype.$setAccessibleAttrs$});
$AdfDhtmlPopupWindow$$.prototype.$removeAccessibleAttrs$ = function $$AdfDhtmlPopupWindow$$$$$removeAccessibleAttrs$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.removeAccessibleAttrs", {$removeAccessibleAttrs$:$AdfDhtmlPopupWindow$$.prototype.$removeAccessibleAttrs$});
$AdfDhtmlPopupWindow$$.prototype.$announceOpeningViaLiveRegion$ = function $$AdfDhtmlPopupWindow$$$$$announceOpeningViaLiveRegion$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.announceOpeningViaLiveRegion", {$announceOpeningViaLiveRegion$:$AdfDhtmlPopupWindow$$.prototype.$announceOpeningViaLiveRegion$});
$AdfDhtmlPopupWindow$$.prototype.$getContent$ = function $$AdfDhtmlPopupWindow$$$$$getContent$$() {
  return this.$GetContentParent$().firstChild;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getContent", {$getContent$:$AdfDhtmlPopupWindow$$.prototype.$getContent$});
$AdfDhtmlPopupWindow$$.prototype.$GetContentParent$ = function $$AdfDhtmlPopupWindow$$$$$GetContentParent$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetContentParent", {$GetContentParent$:$AdfDhtmlPopupWindow$$.prototype.$GetContentParent$});
$AdfDhtmlPopupWindow$$.prototype.$setCloseHandler$ = function $$AdfDhtmlPopupWindow$$$$$setCloseHandler$$($handler$$2$$) {
  this.$_closeHandler$ = $handler$$2$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setCloseHandler", {$setCloseHandler$:$AdfDhtmlPopupWindow$$.prototype.$setCloseHandler$});
$AdfDhtmlPopupWindow$$.prototype.$setCloseHandlerParam$ = function $$AdfDhtmlPopupWindow$$$$$setCloseHandlerParam$$($param$$5$$) {
  this.$_closeHandlerParam$ = $param$$5$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setCloseHandlerParam", {$setCloseHandlerParam$:$AdfDhtmlPopupWindow$$.prototype.$setCloseHandlerParam$});
$AdfDhtmlPopupWindow$$.prototype.$isVisible$ = function $$AdfDhtmlPopupWindow$$$$$isVisible$$() {
  return "none" != this.$getElement$().style.display;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.isVisible", {$isVisible$:$AdfDhtmlPopupWindow$$.prototype.$isVisible$});
$AdfDhtmlPopupWindow$$.prototype.$DoShow$ = function $$AdfDhtmlPopupWindow$$$$$DoShow$$() {
  $AdfDhtmlPopupWindow$$.$superclass$.show.call(this);
  this.$raiseToFront$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.DoShow", {$DoShow$:$AdfDhtmlPopupWindow$$.prototype.$DoShow$});
$AdfDhtmlPopupWindow$$.prototype.$CreateShadow$ = function $$AdfDhtmlPopupWindow$$$$$CreateShadow$$($afterAnimation$$1$$) {
  !this.$HasShadow$() || this.$_animationDuration$ && !$afterAnimation$$1$$ || $AdfDhtmlShadowDecorator$$.$createShadowDecorator$(this.$getShadowAnchor$(), this.$getElement$().parentNode);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.CreateShadow", {$CreateShadow$:$AdfDhtmlPopupWindow$$.prototype.$CreateShadow$});
$AdfDhtmlPopupWindow$$.prototype.$HasShadow$ = function $$AdfDhtmlPopupWindow$$$$$HasShadow$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HasShadow", {$HasShadow$:$AdfDhtmlPopupWindow$$.prototype.$HasShadow$});
$AdfDhtmlPopupWindow$$.prototype.$shouldInvertPosition$ = function $$AdfDhtmlPopupWindow$$$$$shouldInvertPosition$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.shouldInvertPosition", {$shouldInvertPosition$:$AdfDhtmlPopupWindow$$.prototype.$shouldInvertPosition$});
$AdfDhtmlPopupWindow$$.prototype.$destroy$ = function $$AdfDhtmlPopupWindow$$$$$destroy$$() {
  var $page$$74$$ = $AdfPage$$.$PAGE$;
  $AdfAgent$$.$AGENT$.$elementsRemoved$(this.$getElement$());
  this.$_restoreFocusElement$ = null;
  null != this.$_sizeTimeout$ && ($page$$74$$.$cancelTimer$(this.$_sizeTimeout$), delete this.$_sizeTimeout$);
  var $shadowAnchor$$ = this.$getShadowAnchor$();
  $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($shadowAnchor$$) && $AdfDhtmlShadowDecorator$$.$removeShadowDecorator$($shadowAnchor$$);
  null != this.$_positionManagerIndex$ && $page$$74$$.$getPositionManager$().$removeElement$(this.$_positionManagerIndex$);
  this.$setAlignElement$(null);
  $AdfDhtmlPopupWindow$$.$superclass$.$destroy$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.destroy", {$destroy$:$AdfDhtmlPopupWindow$$.prototype.$destroy$});
$AdfDhtmlPopupWindow$$.prototype.$isAnimating$ = function $$AdfDhtmlPopupWindow$$$$$isAnimating$$() {
  return null != this.$_animator$ || this.$_isOpening$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.isAnimating", {$isAnimating$:$AdfDhtmlPopupWindow$$.prototype.$isAnimating$});
$AdfDhtmlPopupWindow$$.prototype.$GetPositionManagerIndex$ = function $$AdfDhtmlPopupWindow$$$$$GetPositionManagerIndex$$() {
  return this.$_positionManagerIndex$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetPositionManagerIndex", {$GetPositionManagerIndex$:$AdfDhtmlPopupWindow$$.prototype.$GetPositionManagerIndex$});
$AdfDhtmlPopupWindow$$.prototype.$_handleKeyDown$ = function $$AdfDhtmlPopupWindow$$$$$_handleKeyDown$$($event$$121$$) {
  var $agent$$122$$ = $AdfAgent$$.$AGENT$, $targetElement$$4$$ = $agent$$122$$.$getEventTarget$($event$$121$$), $popupContainer$$2$$ = this.$getElement$();
  if ($event$$121$$.keyCode == $AdfKeyStroke$$.$TAB_KEY$) {
    var $firstFocusableElementInPopup$$ = $AdfFocusUtils$$.$getFirstTabStop$($popupContainer$$2$$), $lastElement$$ = $AdfFocusUtils$$.$getLastTabStop$($popupContainer$$2$$);
    if (null == $firstFocusableElementInPopup$$) {
      $agent$$122$$.$eatEvent$($event$$121$$);
      return;
    }
    if ($firstFocusableElementInPopup$$ == $lastElement$$) {
      $event$$121$$.preventDefault();
      return;
    }
    $event$$121$$.shiftKey ? $targetElement$$4$$ == $firstFocusableElementInPopup$$ && ($AdfFocusUtils$$.$focusPreviousTabStop$($targetElement$$4$$, $popupContainer$$2$$), $agent$$122$$.$eatEvent$($event$$121$$)) : $lastElement$$ == $targetElement$$4$$ && ($AdfFocusUtils$$.$focusNextTabStop$($targetElement$$4$$, $popupContainer$$2$$), $agent$$122$$.$eatEvent$($event$$121$$));
  }
  $event$$121$$.keyCode == $AdfKeyStroke$$.$F6_KEY$ && $AdfDomUtils$$.$isAncestorOrSelf$($popupContainer$$2$$, $targetElement$$4$$) && this.$HandleKeyNavigation$($event$$121$$);
};
$AdfDhtmlPopupWindow$$.prototype.$_handleKeyUp$ = function $$AdfDhtmlPopupWindow$$$$$_handleKeyUp$$($event$$122$$) {
  var $agent$$123_launchElement$$4$$ = $AdfAgent$$.$AGENT$, $keyCode$$36$$ = $agent$$123_launchElement$$4$$.$getKeyCode$($event$$122$$), $targetElement$$5$$ = $agent$$123_launchElement$$4$$.$getEventTarget$($event$$122$$);
  if ($keyCode$$36$$ == $AdfKeyStroke$$.$ESC_KEY$ && this.$_closeOnEscape$) {
    var $invokeEscapeHandler$$ = !1, $launchSourceId$$12$$ = this.$_launchSourceId$;
    $AdfDomUtils$$.$isAncestorOrSelf$(this.$getElement$(), $targetElement$$5$$) ? $invokeEscapeHandler$$ = !0 : $launchSourceId$$12$$ && ($agent$$123_launchElement$$4$$ = $agent$$123_launchElement$$4$$.getElementById($launchSourceId$$12$$)) && $AdfDomUtils$$.$isAncestorOrSelf$($agent$$123_launchElement$$4$$, $targetElement$$5$$) && ($invokeEscapeHandler$$ = !0);
    $invokeEscapeHandler$$ && this.$HandleEscapeKey$($event$$122$$);
  }
  $event$$122$$.ctrlKey && $event$$122$$.altKey && $keyCode$$36$$ == $AdfKeyStroke$$.$W_KEY$ && $AdfDomUtils$$.$isAncestorOrSelf$(this.$getElement$(), $targetElement$$5$$) && this.$HandleKeyNavigation$($event$$122$$);
};
$AdfDhtmlPopupWindow$$.prototype.$HandleEscapeKey$ = function $$AdfDhtmlPopupWindow$$$$$HandleEscapeKey$$($event$$123$$) {
  this.cancel();
  $AdfAgent$$.$AGENT$.$eatEvent$($event$$123$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HandleEscapeKey", {$HandleEscapeKey$:$AdfDhtmlPopupWindow$$.prototype.$HandleEscapeKey$});
$AdfDhtmlPopupWindow$$.prototype.$HandleKeyNavigation$ = function $$AdfDhtmlPopupWindow$$$$$HandleKeyNavigation$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.HandleKeyNavigation", {$HandleKeyNavigation$:$AdfDhtmlPopupWindow$$.prototype.$HandleKeyNavigation$});
$AdfDhtmlPopupWindow$$.prototype.$_size$ = function $$AdfDhtmlPopupWindow$$$$$_size$$($hints$$39$$) {
  if (null != this.$_sizeTimeout$) {
    delete this.$_sizeTimeout$;
    var $domElement$$51_element$$164$$ = this.$getContent$();
    this.$DoResizeNotifyDom$($domElement$$51_element$$164$$);
    var $domElement$$51_element$$164$$ = this.$getElement$(), $elementStyle$$1$$ = $domElement$$51_element$$164$$.style;
    null != this.$_positionManagerIndex$ && ($hints$$39$$.screenCenterPosition && this.$setAlignPosition$($JSCompiler_StaticMethods__getScreenCenterPosition$$(this)), $AdfPage$$.$PAGE$.$getPositionManager$().$validatePosition$(this.$_positionManagerIndex$));
    var $agent$$124_maxWidth$$3$$ = this.$_maxWidth$;
    $agent$$124_maxWidth$$3$$ ? $elementStyle$$1$$.width = Math.min($domElement$$51_element$$164$$.offsetWidth + 1, $agent$$124_maxWidth$$3$$) + "px" : ($agent$$124_maxWidth$$3$$ = $AdfAgent$$.$AGENT$, $agent$$124_maxWidth$$3$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && $agent$$124_maxWidth$$3$$.$getVersion$(), $elementStyle$$1$$.width = $domElement$$51_element$$164$$.offsetWidth + 1 + "px");
    0 < this.$GetAnimationDuration$() ? this.$AnimateOpening$($hints$$39$$) : ($elementStyle$$1$$.visibility = "", this.$CreateShadow$(), this.$OpenedPopup$($hints$$39$$));
  }
};
$AdfDhtmlPopupWindow$$.prototype.$AnimateOpening$ = function $$AdfDhtmlPopupWindow$$$$$AnimateOpening$$($hints$$40$$) {
  this.$AnimateUsingWrapper$(this.$GetAnimationDuration$(), $hints$$40$$, !0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.AnimateOpening", {$AnimateOpening$:$AdfDhtmlPopupWindow$$.prototype.$AnimateOpening$});
function $JSCompiler_StaticMethods__getAnchorProperties$$($JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$) {
  var $anchor$$12$$ = {$isRight$:!1, $isBottom$:!1};
  $JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$ = $JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$.$GetPositionManagerIndex$();
  0 <= $JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$ && ($JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$ = $AdfPage$$.$PAGE$.$getPositionManager$().$getComputedBehavior$($JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$)) && ($anchor$$12$$.$isRight$ = $JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$.$horizontalBehavior$.$floatingElementAnchor$ == 
  $AdfDhtmlPositionManager$$.$RIGHT$, $anchor$$12$$.$isBottom$ = $JSCompiler_StaticMethods__getAnchorProperties$self_behavior$$3_positionManagerIndex$$2$$.$verticalBehavior$.$floatingElementAnchor$ == $AdfDhtmlPositionManager$$.$BOTTOM$);
  return $anchor$$12$$;
}
$AdfDhtmlPopupWindow$$.prototype.$AnimateClosing$ = function $$AdfDhtmlPopupWindow$$$$$AnimateClosing$$($hints$$41$$) {
  this.$AnimateUsingWrapper$(this.$GetCloseAnimationDuration$(), $hints$$41$$, !1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.AnimateClosing", {$AnimateClosing$:$AdfDhtmlPopupWindow$$.prototype.$AnimateClosing$});
$AdfDhtmlPopupWindow$$.prototype.$AnimateUsingWrapper$ = function $$AdfDhtmlPopupWindow$$$$$AnimateUsingWrapper$$($animationDuration$$4$$, $hints$$42$$, $isOpening$$1$$) {
  var $rootElement$$18$$ = this.$getElement$(), $styleProperties_transitionProperties$$ = $AdfDhtmlPopupWindow$$.$_getElementStyle$($rootElement$$18$$), $wrapper$$7$$ = $AdfDhtmlPopupWindow$$.$_createTransitionWrapper$($rootElement$$18$$), $styleProperties_transitionProperties$$ = $AdfDhtmlPopupWindow$$.$_setUpWrapperTransition$($rootElement$$18$$, $wrapper$$7$$, $hints$$42$$, $isOpening$$1$$, $styleProperties_transitionProperties$$, $JSCompiler_StaticMethods__getAnchorProperties$$(this));
  null != $styleProperties_transitionProperties$$ ? ($isOpening$$1$$ && this.$SaveScrollValues$($rootElement$$18$$), $rootElement$$18$$.parentNode.replaceChild($wrapper$$7$$, $rootElement$$18$$), $wrapper$$7$$.appendChild($rootElement$$18$$), $isOpening$$1$$ && $AdfPage$$.$PAGE$.$prepareMaskingFrame$($rootElement$$18$$), this.$_animator$ = $AdfDhtmlElementAnimator$animate$$(0, $animationDuration$$4$$, [{element:$wrapper$$7$$, properties:$styleProperties_transitionProperties$$}], null, $isOpening$$1$$ ? 
  $AdfDhtmlPopupWindow$$.$OpenAnimationComplete$ : $AdfDhtmlPopupWindow$$.$CloseAnimationComplete$, {wrapper:$wrapper$$7$$, myself:this, hints:$hints$$42$$})) : $isOpening$$1$$ ? ($rootElement$$18$$.style.visibility = "", this.$CreateShadow$(), this.$OpenedPopup$($hints$$42$$)) : this.$ClosedPopup$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.AnimateUsingWrapper", {$AnimateUsingWrapper$:$AdfDhtmlPopupWindow$$.prototype.$AnimateUsingWrapper$});
$AdfDhtmlPopupWindow$$.$_getElementStyle$ = function $$AdfDhtmlPopupWindow$$$$_getElementStyle$$($element$$165$$) {
  var $elementStyle$$2$$ = {};
  $elementStyle$$2$$.height = $element$$165$$.offsetHeight;
  $elementStyle$$2$$.width = $element$$165$$.offsetWidth;
  $elementStyle$$2$$.top = parseInt($element$$165$$.style.top);
  $elementStyle$$2$$.left = parseInt($element$$165$$.style.left);
  $elementStyle$$2$$.right = $elementStyle$$2$$.left + $elementStyle$$2$$.width;
  return $elementStyle$$2$$;
};
$AdfDhtmlPopupWindow$$.$_createTransitionWrapper$ = function $$AdfDhtmlPopupWindow$$$$_createTransitionWrapper$$($rootElement$$19$$) {
  var $wrapper$$8$$ = $rootElement$$19$$.ownerDocument.createElement("div");
  $wrapper$$8$$.setAttribute($AdfDhtmlPopupWindow$$.$_ANIMATE_WRAPPER_EXPANDO$, !0);
  $wrapper$$8$$.style.overflow = "hidden";
  $wrapper$$8$$.style.position = "absolute";
  $wrapper$$8$$.style.zIndex = $rootElement$$19$$.style.zIndex;
  return $wrapper$$8$$;
};
$AdfDhtmlPopupWindow$$.$_setUpWrapperTransition$ = function $$AdfDhtmlPopupWindow$$$$_setUpWrapperTransition$$($rootElement$$20$$, $wrapper$$9$$, $hints$$43_transition$$, $isOpening$$2$$, $styleProperties$$1$$, $anchor$$13$$) {
  $hints$$43_transition$$ = $isOpening$$2$$ ? $hints$$43_transition$$.openTransition : $hints$$43_transition$$.closeTransition;
  return !$isOpening$$2$$ || $hints$$43_transition$$ && "auto" != $hints$$43_transition$$ ? "vertically" == $hints$$43_transition$$ || "horizontally" == $hints$$43_transition$$ ? $AdfDhtmlPopupWindow$$.$_slideTransition$($rootElement$$20$$, $wrapper$$9$$, $styleProperties$$1$$, $isOpening$$2$$, $hints$$43_transition$$, $anchor$$13$$) : null : $AdfDhtmlPopupWindow$$.$_growTransition$($rootElement$$20$$, $wrapper$$9$$, $styleProperties$$1$$, $anchor$$13$$);
};
$AdfDhtmlPopupWindow$$.$_growTransition$ = function $$AdfDhtmlPopupWindow$$$$_growTransition$$($rootElement$$21_rootStyle$$1$$, $wrapper$$10_wrapperStyle$$1$$, $styleProperties$$2$$, $anchor$$14$$) {
  $rootElement$$21_rootStyle$$1$$ = $rootElement$$21_rootStyle$$1$$.style;
  $rootElement$$21_rootStyle$$1$$.top = "0px";
  $rootElement$$21_rootStyle$$1$$.left = "0px";
  $wrapper$$10_wrapperStyle$$1$$ = $wrapper$$10_wrapperStyle$$1$$.style;
  $wrapper$$10_wrapperStyle$$1$$.height = "1px";
  $wrapper$$10_wrapperStyle$$1$$.width = "1px";
  var $properties$$50$$ = {height:$styleProperties$$2$$.height, width:$styleProperties$$2$$.width};
  $anchor$$14$$.$isRight$ ? ($wrapper$$10_wrapperStyle$$1$$.left = $styleProperties$$2$$.left + $styleProperties$$2$$.width - 1 + "px", $properties$$50$$.left = $styleProperties$$2$$.left) : $wrapper$$10_wrapperStyle$$1$$.left = $styleProperties$$2$$.left + "px";
  $anchor$$14$$.$isBottom$ ? ($wrapper$$10_wrapperStyle$$1$$.top = $styleProperties$$2$$.top + $styleProperties$$2$$.height + 1 + "px", $properties$$50$$.top = $styleProperties$$2$$.top) : $wrapper$$10_wrapperStyle$$1$$.top = $styleProperties$$2$$.top + "px";
  $rootElement$$21_rootStyle$$1$$.visibility = "";
  return $properties$$50$$;
};
$AdfDhtmlPopupWindow$$.$_slideTransition$ = function $$AdfDhtmlPopupWindow$$$$_slideTransition$$($rootElement$$22_rootStyle$$2$$, $wrapper$$11_wrapperStyle$$2$$, $styleProperties$$3$$, $isOpening$$3$$, $slideDirection_transition$$1$$, $anchor$$15$$) {
  $rootElement$$22_rootStyle$$2$$ = $rootElement$$22_rootStyle$$2$$.style;
  $wrapper$$11_wrapperStyle$$2$$ = $wrapper$$11_wrapperStyle$$2$$.style;
  var $properties$$51$$ = {};
  $slideDirection_transition$$1$$ = $AdfDhtmlPopupWindow$$.$_getSlideDirection$($isOpening$$3$$, $slideDirection_transition$$1$$, $anchor$$15$$);
  if ($slideDirection_transition$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_LEFT$ || $slideDirection_transition$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_RIGHT$) {
    $properties$$51$$ = $AdfDhtmlPopupWindow$$.$_horizontalSlideTransition$($rootElement$$22_rootStyle$$2$$, $wrapper$$11_wrapperStyle$$2$$, $styleProperties$$3$$, $isOpening$$3$$, $slideDirection_transition$$1$$);
  } else {
    if ($slideDirection_transition$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_UP$ || $slideDirection_transition$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_DOWN$) {
      $properties$$51$$ = $AdfDhtmlPopupWindow$$.$_verticalSlideTransition$($rootElement$$22_rootStyle$$2$$, $wrapper$$11_wrapperStyle$$2$$, $styleProperties$$3$$, $isOpening$$3$$, $slideDirection_transition$$1$$);
    }
  }
  $rootElement$$22_rootStyle$$2$$.visibility = "";
  return $properties$$51$$;
};
$AdfDhtmlPopupWindow$$.$_getSlideDirection$ = function $$AdfDhtmlPopupWindow$$$$_getSlideDirection$$($isOpening$$4$$, $transition$$2$$, $anchor$$16$$) {
  if ("horizontally" == $transition$$2$$) {
    return $anchor$$16$$.$isRight$ && $isOpening$$4$$ || !$anchor$$16$$.$isRight$ && !$isOpening$$4$$ ? $AdfDhtmlPopupWindow$$.$_SLIDE_LEFT$ : $AdfDhtmlPopupWindow$$.$_SLIDE_RIGHT$;
  }
  if ("vertically" == $transition$$2$$) {
    return $anchor$$16$$.$isBottom$ && $isOpening$$4$$ || !$anchor$$16$$.$isBottom$ && !$isOpening$$4$$ ? $AdfDhtmlPopupWindow$$.$_SLIDE_UP$ : $AdfDhtmlPopupWindow$$.$_SLIDE_DOWN$;
  }
};
$AdfDhtmlPopupWindow$$.$_horizontalSlideTransition$ = function $$AdfDhtmlPopupWindow$$$$_horizontalSlideTransition$$($rootStyle$$3$$, $wrapperStyle$$3$$, $styleProperties$$4$$, $isOpening$$5$$, $slideDirection$$1$$) {
  $rootStyle$$3$$.top = "0px";
  $wrapperStyle$$3$$.top = $styleProperties$$4$$.top + "px";
  $wrapperStyle$$3$$.height = $styleProperties$$4$$.height + "px";
  var $properties$$52$$ = {};
  $isOpening$$5$$ ? ($wrapperStyle$$3$$.width = "1px", $properties$$52$$.width = $styleProperties$$4$$.width, $slideDirection$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_LEFT$ ? ($rootStyle$$3$$.left = "0px", $wrapperStyle$$3$$.left = $styleProperties$$4$$.left + $styleProperties$$4$$.width - 1 + "px", $properties$$52$$.left = $styleProperties$$4$$.left) : ($rootStyle$$3$$.left = "auto", $rootStyle$$3$$.right = "0px", $wrapperStyle$$3$$.left = $styleProperties$$4$$.left + "px")) : ($wrapperStyle$$3$$.width = 
  $styleProperties$$4$$.width + "px", $properties$$52$$.width = 1, $slideDirection$$1$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_LEFT$ ? ($rootStyle$$3$$.left = "auto", $rootStyle$$3$$.right = "0px", $wrapperStyle$$3$$.left = $styleProperties$$4$$.left + "px") : ($rootStyle$$3$$.left = "0px", $wrapperStyle$$3$$.left = $styleProperties$$4$$.left - 1 + "px", $properties$$52$$.left = $styleProperties$$4$$.left + $styleProperties$$4$$.width - 1));
  return $properties$$52$$;
};
$AdfDhtmlPopupWindow$$.$_verticalSlideTransition$ = function $$AdfDhtmlPopupWindow$$$$_verticalSlideTransition$$($rootStyle$$4$$, $wrapperStyle$$4$$, $styleProperties$$5$$, $isOpening$$6$$, $slideDirection$$2$$) {
  $rootStyle$$4$$.left = "0px";
  $wrapperStyle$$4$$.width = $styleProperties$$5$$.width + "px";
  $wrapperStyle$$4$$.left = $styleProperties$$5$$.left + "px";
  var $properties$$53$$ = {};
  $isOpening$$6$$ ? ($wrapperStyle$$4$$.height = "1px", $properties$$53$$.top = $styleProperties$$5$$.top, $properties$$53$$.height = $styleProperties$$5$$.height, $slideDirection$$2$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_UP$ ? ($rootStyle$$4$$.top = "0px", $wrapperStyle$$4$$.top = $styleProperties$$5$$.top + $styleProperties$$5$$.height - 1 + "px") : ($rootStyle$$4$$.top = "auto", $rootStyle$$4$$.bottom = "0px", $rootStyle$$4$$.height = $styleProperties$$5$$.height + "px", $wrapperStyle$$4$$.top = 
  $styleProperties$$5$$.top + 1 + "px")) : ($wrapperStyle$$4$$.height = $styleProperties$$5$$.height + "px", $wrapperStyle$$4$$.top = $styleProperties$$5$$.top + "px", $properties$$53$$.height = 1, $slideDirection$$2$$ == $AdfDhtmlPopupWindow$$.$_SLIDE_UP$ ? ($rootStyle$$4$$.top = "auto", $rootStyle$$4$$.bottom = "0px") : ($rootStyle$$4$$.top = "0px", $rootStyle$$4$$.height = $styleProperties$$5$$.height + "px", $wrapperStyle$$4$$.top = $styleProperties$$5$$.top + "px", $properties$$53$$.top = $styleProperties$$5$$.top + 
  $styleProperties$$5$$.height));
  return $properties$$53$$;
};
$AdfDhtmlPopupWindow$$.$CloseAnimationComplete$ = function $$AdfDhtmlPopupWindow$$$$CloseAnimationComplete$$($context$$38_wrapper$$12$$) {
  var $myself$$4$$ = $context$$38_wrapper$$12$$.$myself$;
  $context$$38_wrapper$$12$$ = $context$$38_wrapper$$12$$.$wrapper$;
  $myself$$4$$.$_animator$ && (delete $myself$$4$$.$_animator$, $AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$($context$$38_wrapper$$12$$), $myself$$4$$.$ClosedPopup$());
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.CloseAnimationComplete", $AdfDhtmlPopupWindow$$.$CloseAnimationComplete$);
$AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$ = function $$AdfDhtmlPopupWindow$$$$_restoreRootPostAnimation$$($iframes$$1_wrapper$$13$$) {
  var $i$$211_wrapperStyle$$5$$ = $iframes$$1_wrapper$$13$$.style, $iframeElement$$1_rootElement$$23$$ = $iframes$$1_wrapper$$13$$.firstChild, $rootStyle$$5_src$$9$$ = $iframeElement$$1_rootElement$$23$$.style;
  $rootStyle$$5_src$$9$$.right = $i$$211_wrapperStyle$$5$$.right;
  $rootStyle$$5_src$$9$$.left = $i$$211_wrapperStyle$$5$$.left;
  $rootStyle$$5_src$$9$$.top = $i$$211_wrapperStyle$$5$$.top;
  $iframes$$1_wrapper$$13$$.parentNode.replaceChild($iframeElement$$1_rootElement$$23$$, $iframes$$1_wrapper$$13$$);
  $iframes$$1_wrapper$$13$$ = $iframeElement$$1_rootElement$$23$$.querySelectorAll("iframe");
  for ($i$$211_wrapperStyle$$5$$ = 0;$i$$211_wrapperStyle$$5$$ < $iframes$$1_wrapper$$13$$.length;$i$$211_wrapperStyle$$5$$++) {
    if ($iframeElement$$1_rootElement$$23$$ = $iframes$$1_wrapper$$13$$[$i$$211_wrapperStyle$$5$$], $rootStyle$$5_src$$9$$ = $iframeElement$$1_rootElement$$23$$.getAttribute("data-src")) {
      $iframeElement$$1_rootElement$$23$$.setAttribute("src", $rootStyle$$5_src$$9$$), $iframeElement$$1_rootElement$$23$$.removeAttribute("data-src");
    }
  }
};
$AdfDhtmlPopupWindow$$.$OpenAnimationComplete$ = function $$AdfDhtmlPopupWindow$$$$OpenAnimationComplete$$($context$$39_hints$$44$$) {
  var $wrapper$$14$$ = $context$$39_hints$$44$$.wrapper, $myself$$5$$ = $context$$39_hints$$44$$.myself;
  $context$$39_hints$$44$$ = $context$$39_hints$$44$$.hints;
  $myself$$5$$.$_animator$ && (delete $myself$$5$$.$_animator$, $AdfDhtmlPopupWindow$$.$_restoreRootPostAnimation$($wrapper$$14$$), $myself$$5$$.$CreateShadow$(!0), $myself$$5$$.$OpenedPopup$($context$$39_hints$$44$$));
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.OpenAnimationComplete", $AdfDhtmlPopupWindow$$.$OpenAnimationComplete$);
$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDuration$ = function $$AdfDhtmlPopupWindow$$$$$GetAnimationDuration$$() {
  return this.$_animationDuration$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimationDuration", {$GetAnimationDuration$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDuration$});
$AdfDhtmlPopupWindow$$.prototype.$GetCloseAnimationDuration$ = function $$AdfDhtmlPopupWindow$$$$$GetCloseAnimationDuration$$() {
  return this.$_animationDuration$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetCloseAnimationDuration", {$GetCloseAnimationDuration$:$AdfDhtmlPopupWindow$$.prototype.$GetCloseAnimationDuration$});
$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDurationSkinProperty$ = function $$AdfDhtmlPopupWindow$$$$$GetAnimationDurationSkinProperty$$() {
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimationDurationSkinProperty", {$GetAnimationDurationSkinProperty$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimationDurationSkinProperty$});
$AdfDhtmlPopupWindow$$.prototype.$GetAnimateSkinProperty$ = function $$AdfDhtmlPopupWindow$$$$$GetAnimateSkinProperty$$() {
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetAnimateSkinProperty", {$GetAnimateSkinProperty$:$AdfDhtmlPopupWindow$$.prototype.$GetAnimateSkinProperty$});
$AdfDhtmlPopupWindow$$.prototype.$autoSize$ = function $$AdfDhtmlPopupWindow$$$$$autoSize$$() {
  var $anchor$$17_element$$166_isOpening$$7$$ = this.$_isOpening$;
  if (this.$isVisible$() && !$anchor$$17_element$$166_isOpening$$7$$) {
    var $anchor$$17_element$$166_isOpening$$7$$ = this.$getElement$(), $elementStyle$$3$$ = $anchor$$17_element$$166_isOpening$$7$$.style;
    $elementStyle$$3$$.width = "auto";
    var $maxWidth$$4$$ = this.$_maxWidth$;
    $elementStyle$$3$$.width = $maxWidth$$4$$ ? Math.min($anchor$$17_element$$166_isOpening$$7$$.offsetWidth, $maxWidth$$4$$) + "px" : $anchor$$17_element$$166_isOpening$$7$$.offsetWidth + "px";
    $anchor$$17_element$$166_isOpening$$7$$ = this.$getShadowAnchor$();
    $AdfDhtmlShadowDecorator$$.$hasShadowDecorator$($anchor$$17_element$$166_isOpening$$7$$) && ($AdfDhtmlShadowDecorator$$.$moveShadowDecorator$($anchor$$17_element$$166_isOpening$$7$$), $AdfDhtmlShadowDecorator$$.$showShadowDecorator$($anchor$$17_element$$166_isOpening$$7$$, !0));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.autoSize", {$autoSize$:$AdfDhtmlPopupWindow$$.prototype.$autoSize$});
$AdfDhtmlPopupWindow$$.prototype.$FocusOnFirstElement$ = function $$AdfDhtmlPopupWindow$$$$$FocusOnFirstElement$$($firstFocus_force$$1$$) {
  var $agent$$125_focusContentElement_focusHint$$2$$ = this.$GetFocusOnOpen$();
  if ($firstFocus_force$$1$$ || $agent$$125_focusContentElement_focusHint$$2$$) {
    $agent$$125_focusContentElement_focusHint$$2$$ = this.$GetFocusContent$();
    $firstFocus_force$$1$$ = $AdfFocusUtils$$.$getFirstTabStop$($agent$$125_focusContentElement_focusHint$$2$$);
    if (!$firstFocus_force$$1$$) {
      var $rootElement$$24$$ = this.$getElement$();
      $rootElement$$24$$ != $agent$$125_focusContentElement_focusHint$$2$$ && ($firstFocus_force$$1$$ = $AdfFocusUtils$$.$getFirstTabStop$($rootElement$$24$$));
      $firstFocus_force$$1$$ || ($agent$$125_focusContentElement_focusHint$$2$$.tabIndex = -1, $firstFocus_force$$1$$ = $agent$$125_focusContentElement_focusHint$$2$$);
    }
    $firstFocus_force$$1$$ && ($agent$$125_focusContentElement_focusHint$$2$$ = $AdfAgent$$.$AGENT$, $AdfAgent$$.$IE_PLATFORM$ == $agent$$125_focusContentElement_focusHint$$2$$.$getPlatform$() && 8 == $agent$$125_focusContentElement_focusHint$$2$$.$getVersion$() ? $AdfFocusUtils$$.$focusElementDelayed$($firstFocus_force$$1$$, 1E3) : $AdfFocusUtils$$.$focusElement$($firstFocus_force$$1$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.FocusOnFirstElement", {$FocusOnFirstElement$:$AdfDhtmlPopupWindow$$.prototype.$FocusOnFirstElement$});
$AdfDhtmlPopupWindow$$.prototype.$GetFocusContent$ = function $$AdfDhtmlPopupWindow$$$$$GetFocusContent$$() {
  return this.$getElement$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetFocusContent", {$GetFocusContent$:$AdfDhtmlPopupWindow$$.prototype.$GetFocusContent$});
$AdfDhtmlPopupWindow$$.prototype.$Position$ = function $$AdfDhtmlPopupWindow$$$$$Position$$($hintAlign$$) {
  var $positionManager$$1$$ = $AdfPage$$.$PAGE$.$getPositionManager$(), $positionManagerIndex$$3$$ = this.$_positionManagerIndex$;
  $positionManagerIndex$$3$$ && ($positionManager$$1$$.$removeElement$($positionManagerIndex$$3$$), delete this.$_positionManagerIndex$);
  this.$_positionManagerIndex$ = $positionManager$$1$$.$addFloatingElement$(this, $hintAlign$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.Position", {$Position$:$AdfDhtmlPopupWindow$$.prototype.$Position$});
function $JSCompiler_StaticMethods__getScreenCenterPosition$$($JSCompiler_StaticMethods__getScreenCenterPosition$self$$) {
  if ($JSCompiler_StaticMethods__getScreenCenterPosition$self$$.$getAlignElement$()) {
    return null;
  }
  var $agent$$126_w$$8$$ = $AdfAgent$$.$AGENT$, $dir$$1_isRTL$$1$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $windowHeight_ydelta$$ = $agent$$126_w$$8$$.getWindowHeight(), $windowWidth_xdelta$$ = $agent$$126_w$$8$$.getWindowWidth(), $docScrollTop$$ = $agent$$126_w$$8$$.$getBrowserViewportScrollTop$(), $docScrollLeft_pos$$11$$ = $agent$$126_w$$8$$.$getBrowserViewportScrollLeft$();
  0 < $docScrollTop$$ && $agent$$126_w$$8$$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && ($windowHeight_ydelta$$ = Math.min($windowHeight_ydelta$$, $agent$$126_w$$8$$.$getDomDocument$().body.clientHeight));
  var $agent$$126_w$$8$$ = $JSCompiler_StaticMethods__getScreenCenterPosition$self$$.getWidth(), $h$$7$$ = $JSCompiler_StaticMethods__getScreenCenterPosition$self$$.getHeight(), $top$$8_topPercentage$$ = $JSCompiler_StaticMethods__getScreenCenterPosition$self$$.$_topPercentage$, $left$$9_leftPercentage$$ = $JSCompiler_StaticMethods__getScreenCenterPosition$self$$.$_leftPercentage$;
  $left$$9_leftPercentage$$ || ($left$$9_leftPercentage$$ = .5);
  $top$$8_topPercentage$$ || ($top$$8_topPercentage$$ = .5);
  $dir$$1_isRTL$$1$$ = $dir$$1_isRTL$$1$$ ? -1 : 1;
  $top$$8_topPercentage$$ = Math.max(0, Math.round($windowHeight_ydelta$$ * $top$$8_topPercentage$$ - $h$$7$$ / 2)) + $docScrollTop$$;
  $left$$9_leftPercentage$$ = Math.max(0, Math.round($windowWidth_xdelta$$ * $left$$9_leftPercentage$$ - $agent$$126_w$$8$$ / 2 * $dir$$1_isRTL$$1$$)) + $dir$$1_isRTL$$1$$ * $docScrollLeft_pos$$11$$;
  $windowHeight_ydelta$$ = $windowHeight_ydelta$$ + $docScrollTop$$ - ($top$$8_topPercentage$$ + $h$$7$$);
  0 > $windowHeight_ydelta$$ && ($top$$8_topPercentage$$ = Math.max($docScrollTop$$, $top$$8_topPercentage$$ + $windowHeight_ydelta$$));
  $windowWidth_xdelta$$ = $windowWidth_xdelta$$ + $docScrollLeft_pos$$11$$ - ($left$$9_leftPercentage$$ + $dir$$1_isRTL$$1$$ * $agent$$126_w$$8$$);
  0 > $windowWidth_xdelta$$ && ($left$$9_leftPercentage$$ = Math.max($docScrollLeft_pos$$11$$, $left$$9_leftPercentage$$ + $windowWidth_xdelta$$));
  $docScrollLeft_pos$$11$$ = {y:$top$$8_topPercentage$$, x:$left$$9_leftPercentage$$};
  $JSCompiler_StaticMethods__getScreenCenterPosition$self$$.$setAlignPosition$($docScrollLeft_pos$$11$$);
  return $docScrollLeft_pos$$11$$;
}
$AdfDhtmlPopupWindow$$.prototype.$DoResizeNotifyDom$ = function $$AdfDhtmlPopupWindow$$$$$DoResizeNotifyDom$$($content$$17$$) {
  $AdfPage$$.$PAGE$.$doResizeNotifyDom$($content$$17$$, !1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.DoResizeNotifyDom", {$DoResizeNotifyDom$:$AdfDhtmlPopupWindow$$.prototype.$DoResizeNotifyDom$});
$AdfDhtmlPopupWindow$$.prototype.$SaveScrollValues$ = function $$AdfDhtmlPopupWindow$$$$$SaveScrollValues$$($childElements$$1_domElement$$52$$) {
  $childElements$$1_domElement$$52$$ = $childElements$$1_domElement$$52$$.getElementsByTagName("*");
  for (var $childCount$$2$$ = $childElements$$1_domElement$$52$$.length, $i$$212$$ = 0;$i$$212$$ < $childCount$$2$$;$i$$212$$++) {
    var $currElement$$8$$ = $childElements$$1_domElement$$52$$[$i$$212$$], $scrollTop$$10$$ = $currElement$$8$$.scrollTop;
    0 < $scrollTop$$10$$ && $currElement$$8$$.setAttribute($AdfDhtmlPopupWindow$$.$_SCROLL_POSITION_EXPANDO$, $scrollTop$$10$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.SaveScrollValues", {$SaveScrollValues$:$AdfDhtmlPopupWindow$$.prototype.$SaveScrollValues$});
$AdfDhtmlPopupWindow$$.prototype.$RestoreScrollValues$ = function $$AdfDhtmlPopupWindow$$$$$RestoreScrollValues$$($childElements$$2_domElement$$53$$) {
  $childElements$$2_domElement$$53$$ = $childElements$$2_domElement$$53$$.getElementsByTagName("*");
  for (var $childCount$$3$$ = $childElements$$2_domElement$$53$$.length, $y$$43$$ = 0;$y$$43$$ < $childCount$$3$$;$y$$43$$++) {
    var $currElement$$9$$ = $childElements$$2_domElement$$53$$[$y$$43$$], $scrollPosition$$ = $currElement$$9$$.getAttribute($AdfDhtmlPopupWindow$$.$_SCROLL_POSITION_EXPANDO$);
    $scrollPosition$$ && 0 < $scrollPosition$$ && $AdfDomUtils$$.setScrollTop($currElement$$9$$, $scrollPosition$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.RestoreScrollValues", {$RestoreScrollValues$:$AdfDhtmlPopupWindow$$.prototype.$RestoreScrollValues$});
$AdfDhtmlPopupWindow$$.prototype.$getLaunchSourceId$ = function $$AdfDhtmlPopupWindow$$$$$getLaunchSourceId$$() {
  return this.$_launchSourceId$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getLaunchSourceId", {$getLaunchSourceId$:$AdfDhtmlPopupWindow$$.prototype.$getLaunchSourceId$});
$AdfDhtmlPopupWindow$$.prototype.$GetFocusOnOpen$ = function $$AdfDhtmlPopupWindow$$$$$GetFocusOnOpen$$() {
  return this.$_focusHint$ ? !0 : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetFocusOnOpen", {$GetFocusOnOpen$:$AdfDhtmlPopupWindow$$.prototype.$GetFocusOnOpen$});
$AdfDhtmlPopupWindow$$.prototype.$SetFocusOnOpen$ = function $$AdfDhtmlPopupWindow$$$$$SetFocusOnOpen$$($focusHint$$3$$) {
  this.$_focusHint$ = $focusHint$$3$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.SetFocusOnOpen", {$SetFocusOnOpen$:$AdfDhtmlPopupWindow$$.prototype.$SetFocusOnOpen$});
$AdfDhtmlPopupWindow$$.prototype.$GetMaxWidth$ = function $$AdfDhtmlPopupWindow$$$$$GetMaxWidth$$() {
  return this.$_maxWidth$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.GetMaxWidth", {$GetMaxWidth$:$AdfDhtmlPopupWindow$$.prototype.$GetMaxWidth$});
$AdfDhtmlPopupWindow$$.$isAncestorOrSelf$ = function $$AdfDhtmlPopupWindow$$$$isAncestorOrSelf$$($ancestorNode$$1$$, $domElement$$54$$) {
  for (var $agent$$127$$ = $AdfAgent$$.$AGENT$;$domElement$$54$$;) {
    if ($ancestorNode$$1$$ == $domElement$$54$$) {
      return !0;
    }
    1 == $domElement$$54$$.nodeType && $domElement$$54$$.hasAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$) ? (popupId = $domElement$$54$$.getAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$), $domElement$$54$$ = $agent$$127$$.getElementById(popupId)) : $domElement$$54$$ = $domElement$$54$$.parentNode;
  }
  return !1;
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.isAncestorOrSelf", $AdfDhtmlPopupWindow$$.$isAncestorOrSelf$);
$AdfDhtmlPopupWindow$$.$isPopupWindow$ = function $$AdfDhtmlPopupWindow$$$$isPopupWindow$$($domNode$$23$$) {
  $AdfAssert$$.$assertDomNode$($domNode$$23$$);
  return 1 == $domNode$$23$$.nodeType && $domNode$$23$$.hasAttribute($AdfDhtmlPopupWindow$$.$__POPUPID_EXPANDO$) ? !0 : !1;
};
$goog$exportSymbol$$("AdfDhtmlPopupWindow.isPopupWindow", $AdfDhtmlPopupWindow$$.$isPopupWindow$);
$AdfDhtmlPopupWindow$$.prototype.$ImmediateZorderRegistration$ = function $$AdfDhtmlPopupWindow$$$$$ImmediateZorderRegistration$$() {
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.ImmediateZorderRegistration", {$ImmediateZorderRegistration$:$AdfDhtmlPopupWindow$$.prototype.$ImmediateZorderRegistration$});
$AdfDhtmlPopupWindow$$.prototype.$getZorderScope$ = function $$AdfDhtmlPopupWindow$$$$$getZorderScope$$() {
  return this.$_zorderScope$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.getZorderScope", {$getZorderScope$:$AdfDhtmlPopupWindow$$.prototype.$getZorderScope$});
$AdfDhtmlPopupWindow$$.prototype.$setRestoreFocusId$ = function $$AdfDhtmlPopupWindow$$$$$setRestoreFocusId$$($id$$246$$) {
  this.$_restoreFocusId$ = $id$$246$$;
  $AdfLogger$$.$LOGGER$.fine("In AdfDhtmlPopupWindow#setRestoreFocusId(), _restoreFocusId set to " + this.$_restoreFocusId$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.setRestoreFocusId", {$setRestoreFocusId$:$AdfDhtmlPopupWindow$$.prototype.$setRestoreFocusId$});
$AdfDhtmlPopupWindow$$.prototype.$addOpenedHandler$ = function $$AdfDhtmlPopupWindow$$$$$addOpenedHandler$$($handler$$3$$, $params$$30$$) {
  $AdfAssert$$.$assertFunction$($handler$$3$$, "popup opened handler");
  $AdfAssert$$.$assertObjectOrNull$($params$$30$$, "popup opened handler function params");
  var $openedHandlers$$1$$ = this.$_openedHandlers$;
  $openedHandlers$$1$$ || ($openedHandlers$$1$$ = this.$_openedHandlers$ = []);
  var $openedHandlerParams$$1$$ = this.$_openedHandlerParams$;
  $openedHandlerParams$$1$$ || ($openedHandlerParams$$1$$ = this.$_openedHandlerParams$ = []);
  $openedHandlers$$1$$.push($handler$$3$$);
  $openedHandlerParams$$1$$.push($params$$30$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPopupWindow.prototype.addOpenedHandler", {$addOpenedHandler$:$AdfDhtmlPopupWindow$$.prototype.$addOpenedHandler$});
