function $AdfDhtmlPositionManager$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfDhtmlPositionManager", $AdfDhtmlPositionManager$$);
$goog$exportSymbol$$("AdfDhtmlPositionManager", $AdfDhtmlPositionManager$$);
$AdfObject$$.$createSubclass$($AdfDhtmlPositionManager$$);
$AdfDhtmlPositionManager$$.$InitClass$ = function $$AdfDhtmlPositionManager$$$$InitClass$$() {
  this.$TOP$ = 0;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.TOP", $AdfDhtmlPositionManager$$.$TOP$);
  this.$MIDDLE$ = 1;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.MIDDLE", $AdfDhtmlPositionManager$$.$MIDDLE$);
  this.$BOTTOM$ = 2;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.BOTTOM", $AdfDhtmlPositionManager$$.$BOTTOM$);
  this.$LEFT$ = 3;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.LEFT", $AdfDhtmlPositionManager$$.$LEFT$);
  this.$CENTER$ = 4;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.CENTER", $AdfDhtmlPositionManager$$.$CENTER$);
  this.$RIGHT$ = 5;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.RIGHT", $AdfDhtmlPositionManager$$.$RIGHT$);
  this.$MIN_WIDTH$ = 32;
  $goog$exportSymbol$$("AdfDhtmlPositionManager.MIN_WIDTH", $AdfDhtmlPositionManager$$.$MIN_WIDTH$);
};
$goog$exportSymbol$$("AdfDhtmlPositionManager.InitClass", $AdfDhtmlPositionManager$$.$InitClass$);
$AdfDhtmlPositionManager$$.prototype.Init = function $$AdfDhtmlPositionManager$$$$Init$() {
  $AdfDhtmlPositionManager$$.$superclass$.Init.call(this);
  var $logger$$5$$ = $AdfLogger$$.$LOGGER$;
  $logger$$5$$.getLevel($AdfLogger$$.FINEST) && (this.$_logger$ = $logger$$5$$);
  this.$_elements$ = [];
  this.$_isRTL$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.Init", {Init:$AdfDhtmlPositionManager$$.prototype.Init});
$AdfDhtmlPositionManager$$.prototype.$getElementCount$ = function $$AdfDhtmlPositionManager$$$$$getElementCount$$() {
  var $count$$15$$ = 0, $elements$$9$$ = this.$_elements$, $element$$166$$;
  for ($element$$166$$ in $elements$$9$$) {
    $element$$166$$ && $count$$15$$++;
  }
  return $count$$15$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.getElementCount", {$getElementCount$:$AdfDhtmlPositionManager$$.prototype.$getElementCount$});
$AdfDhtmlPositionManager$$.prototype.$dispose$ = function $$AdfDhtmlPositionManager$$$$$dispose$$() {
  this.$_elements$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.dispose", {$dispose$:$AdfDhtmlPositionManager$$.prototype.$dispose$});
$AdfDhtmlPositionManager$$.prototype.$addFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$addFloatingElement$$($floatingElement$$, $alignmentHint$$1$$) {
  $floatingElement$$.$getAlignPosition$() || $AdfAssert$$.$assertDomElement$($floatingElement$$.$getAlignElement$());
  return $JSCompiler_StaticMethods__addFloatingElement$$(this, $floatingElement$$, $alignmentHint$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.addFloatingElement", {$addFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$addFloatingElement$});
$AdfDhtmlPositionManager$$.prototype.$addFloatingElementByPosition$ = function $$AdfDhtmlPositionManager$$$$$addFloatingElementByPosition$$($floatingElement$$1$$, $pos$$12$$) {
  $floatingElement$$1$$.$setAlignPosition$($pos$$12$$);
  return $JSCompiler_StaticMethods__addFloatingElement$$(this, $floatingElement$$1$$, AdfRichPopup.$ALIGN_AFTER_START$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.addFloatingElementByPosition", {$addFloatingElementByPosition$:$AdfDhtmlPositionManager$$.prototype.$addFloatingElementByPosition$});
$AdfDhtmlPositionManager$$.prototype.$calculatePlacementPosition$ = function $$AdfDhtmlPositionManager$$$$$calculatePlacementPosition$$($box$$1_elementHeight$$, $elementWidth$$, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $alignBox_alignElement$$7$$, $alignPosition_horizontalBehavior$$1$$) {
  var $hintBehavior_preferredVerticalBehavior$$ = $JSCompiler_StaticMethods__getHintBehavior$$(this, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$);
  $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$ = $hintBehavior_preferredVerticalBehavior$$.$horizontalBehavior$;
  $hintBehavior_preferredVerticalBehavior$$ = $hintBehavior_preferredVerticalBehavior$$.$verticalBehavior$;
  $box$$1_elementHeight$$ = {top:0, right:$elementWidth$$, bottom:$box$$1_elementHeight$$, left:0, width:$elementWidth$$, height:$box$$1_elementHeight$$};
  $alignBox_alignElement$$7$$ = $JSCompiler_StaticMethods__getAlignBox$$($alignBox_alignElement$$7$$, $alignPosition_horizontalBehavior$$1$$);
  $alignPosition_horizontalBehavior$$1$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
  $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $hintBehavior_preferredVerticalBehavior$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
  return $JSCompiler_StaticMethods__getNewPosition$$($alignPosition_horizontalBehavior$$1$$, $alignmentHint$$3_preferredHorizontalBehavior_verticalBehavior$$1$$, $box$$1_elementHeight$$, $alignBox_alignElement$$7$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.calculatePlacementPosition", {$calculatePlacementPosition$:$AdfDhtmlPositionManager$$.prototype.$calculatePlacementPosition$});
function $JSCompiler_StaticMethods__addFloatingElement$$($JSCompiler_StaticMethods__addFloatingElement$self$$, $floatingElement$$2$$, $alignmentHint$$4_verticalBehaviors$$inline_877$$) {
  $AdfAssert$$.$assertDomElement$($floatingElement$$2$$.$getElement$());
  if (1 > $JSCompiler_StaticMethods__addFloatingElement$self$$.$getElementCount$()) {
    var $agent$$inline_869_horizontalBehaviors$$inline_878$$ = $AdfAgent$$.$AGENT$, $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$ = $agent$$inline_869_horizontalBehaviors$$inline_878$$.$getDomWindow$(), $alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$ = $agent$$inline_869_horizontalBehaviors$$inline_878$$.$getDomDocument$(), $resizeCallback$$inline_872$$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScrollCallback$;
    $resizeCallback$$inline_872$$ || ($resizeCallback$$inline_872$$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScrollCallback$ = $JSCompiler_StaticMethods__addFloatingElement$self$$.$createCallback$($JSCompiler_StaticMethods__addFloatingElement$self$$.$_repostionOnScroll$));
    var $isIE$$inline_873$$ = $agent$$inline_869_horizontalBehaviors$$inline_878$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$;
    $agent$$inline_869_horizontalBehaviors$$inline_878$$.$isInlineDialogRepositioningOnScroll$() && ($agent$$inline_869_horizontalBehaviors$$inline_878$$.$addBubbleEventListener$($alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$, "mousewheel", $resizeCallback$$inline_872$$), $agent$$inline_869_horizontalBehaviors$$inline_878$$.$addBubbleEventListener$($domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$, "scroll", $resizeCallback$$inline_872$$), $isIE$$inline_873$$ || 
    $agent$$inline_869_horizontalBehaviors$$inline_878$$.$addBubbleEventListener$($alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$, "DOMMouseScroll", $resizeCallback$$inline_872$$));
    $agent$$inline_869_horizontalBehaviors$$inline_878$$.$addBubbleEventListener$($domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$, "resize", $resizeCallback$$inline_872$$);
  }
  $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$ = $JSCompiler_StaticMethods__getHintBehavior$$($JSCompiler_StaticMethods__addFloatingElement$self$$, $alignmentHint$$4_verticalBehaviors$$inline_877$$);
  $alignmentHint$$4_verticalBehaviors$$inline_877$$ = $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$.$verticalBehavior$;
  $agent$$inline_869_horizontalBehaviors$$inline_878$$ = $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$.$horizontalBehavior$;
  $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$ = $domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$.$insideBorder$;
  $alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$ = ($alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$ = $floatingElement$$2$$.$getAlignElement$()) ? $JSCompiler_StaticMethods__addFloatingElement$self$$.$managesElement$($alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$) : !1;
  $JSCompiler_StaticMethods__addFloatingElement$self$$.$_elements$.push({element:$floatingElement$$2$$, $verticalBehaviors$:$alignmentHint$$4_verticalBehaviors$$inline_877$$, $horizontalBehaviors$:$agent$$inline_869_horizontalBehaviors$$inline_878$$, $alignElementIsManaged$:$alignElement$$inline_880_alignElementIsManaged$$inline_881_domDocument$$inline_871$$, $insideBorder$:$domWindow$$inline_870_hintBehavior$$1_insideBorder$$inline_879$$});
  return $JSCompiler_StaticMethods__addFloatingElement$self$$.$_elements$.length - 1;
}
function $JSCompiler_StaticMethods__getHintBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $alignmentHint$$5$$) {
  var $bottom$$1$$ = $AdfDhtmlPositionManager$$.$BOTTOM$, $top$$9$$ = $AdfDhtmlPositionManager$$.$TOP$, $middle$$ = $AdfDhtmlPositionManager$$.$MIDDLE$, $start$$20$$ = $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__getHintBehavior$self$$, "start"), $end$$4$$ = $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__getHintBehavior$self$$, "end"), $center$$ = $AdfDhtmlPositionManager$$.$CENTER$, $insideBorder$$ = !1, $horizontal$$, $vertical$$;
  switch($alignmentHint$$5$$) {
    case AdfRichPopup.$ALIGN_AFTER_START$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_AFTER_END$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_AFTER_CENTER$:
      $vertical$$ = [$bottom$$1$$, $top$$9$$, $bottom$$1$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$, $center$$, $center$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_START$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_END$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_CENTER$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$, $top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$, $center$$, $center$$];
      break;
    case AdfRichPopup.$ALIGN_END_AFTER$:
      $vertical$$ = [$bottom$$1$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_END_BEFORE$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_END_CENTER$:
      $vertical$$ = [$top$$9$$, $top$$9$$, $middle$$, $middle$$];
      $horizontal$$ = [$end$$4$$, $start$$20$$, $end$$4$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_START_AFTER$:
      $vertical$$ = [$bottom$$1$$, $bottom$$1$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_START_BEFORE$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_START_CENTER$:
      $vertical$$ = [$top$$9$$, $top$$9$$, $middle$$, $middle$$];
      $horizontal$$ = [$start$$20$$, $end$$4$$, $start$$20$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP$:
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP_END_BEFORE$:
      $insideBorder$$ = !0;
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$];
      break;
    case AdfRichPopup.$ALIGN_OVERLAP_START_BEFORE$:
      $insideBorder$$ = !0;
      $vertical$$ = [$top$$9$$, $top$$9$$];
      $horizontal$$ = [$start$$20$$, $start$$20$$];
      break;
    case AdfRichPopup.$ALIGN_BEFORE_AFTER$:
      $vertical$$ = [$top$$9$$, $bottom$$1$$, $top$$9$$, $bottom$$1$$];
      $horizontal$$ = [$end$$4$$, $end$$4$$, $end$$4$$, $start$$20$$];
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignmentHint provided");
  }
  return {$horizontalBehavior$:$JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $horizontal$$), $verticalBehavior$:$JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getHintBehavior$self$$, $vertical$$), $insideBorder$:$insideBorder$$};
}
function $JSCompiler_StaticMethods__inversePosition$$($position$$2$$) {
  switch($position$$2$$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      return $AdfDhtmlPositionManager$$.$BOTTOM$;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      return $AdfDhtmlPositionManager$$.$TOP$;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      return $AdfDhtmlPositionManager$$.$MIDDLE$;
    case $AdfDhtmlPositionManager$$.$LEFT$:
      return $AdfDhtmlPositionManager$$.$RIGHT$;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      return $AdfDhtmlPositionManager$$.$LEFT$;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      return $AdfDhtmlPositionManager$$.$CENTER$;
  }
}
function $JSCompiler_StaticMethods__positionToString$$($position$$3$$) {
  switch($position$$3$$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      return "Top";
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      return "Bottom";
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      return "Middle";
    case $AdfDhtmlPositionManager$$.$LEFT$:
      return "Left";
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      return "Right";
    case $AdfDhtmlPositionManager$$.$CENTER$:
      return "Center";
  }
}
function $JSCompiler_StaticMethods__getBehavior$$($JSCompiler_StaticMethods__getBehavior$self$$, $preference$$) {
  for (var $behaviors$$6$$ = [], $i$$210$$ = 0;$i$$210$$ < $preference$$.length;$i$$210$$ += 2) {
    $behaviors$$6$$.splice(0, 0, {$alignElementAnchor$:$preference$$[$i$$210$$], $floatingElementAnchor$:$preference$$[$i$$210$$ + 1], $condition$:$JSCompiler_StaticMethods__getBehavior$self$$["_prefer" + $JSCompiler_StaticMethods__positionToString$$($JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$210$$])) + $JSCompiler_StaticMethods__positionToString$$($JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$210$$ + 1])) + "Condition"]}, {$alignElementAnchor$:$JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$210$$]), 
    $floatingElementAnchor$:$JSCompiler_StaticMethods__inversePosition$$($preference$$[$i$$210$$ + 1]), $condition$:$JSCompiler_StaticMethods__getBehavior$self$$["_prefer" + $JSCompiler_StaticMethods__positionToString$$($preference$$[$i$$210$$]) + $JSCompiler_StaticMethods__positionToString$$($preference$$[$i$$210$$ + 1]) + "Condition"]});
  }
  return $behaviors$$6$$;
}
function $JSCompiler_StaticMethods__getAlignBox$$($alignElement$$8_bottom$$2_rect$$, $alignPosition$$1_left$$11$$, $insideBorder$$1_top$$11$$) {
  var $agent$$131_pos$$14_width$$22$$ = $AdfAgent$$.$AGENT$, $right$$3$$, $height$$27$$;
  $alignElement$$8_bottom$$2_rect$$ ? ($agent$$131_pos$$14_width$$22$$ = $agent$$131_pos$$14_width$$22$$.$getElementPosition$($alignElement$$8_bottom$$2_rect$$), $alignElement$$8_bottom$$2_rect$$ instanceof SVGElement ? ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y, $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x, $alignElement$$8_bottom$$2_rect$$ = $alignElement$$8_bottom$$2_rect$$.getBoundingClientRect(), $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.width, 
  $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.height) : $insideBorder$$1_top$$11$$ ? ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y + $alignElement$$8_bottom$$2_rect$$.clientTop, $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x + $alignElement$$8_bottom$$2_rect$$.clientLeft, $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.clientWidth, $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.clientHeight) : ($insideBorder$$1_top$$11$$ = $agent$$131_pos$$14_width$$22$$.y, 
  $alignPosition$$1_left$$11$$ = $agent$$131_pos$$14_width$$22$$.x, $agent$$131_pos$$14_width$$22$$ = $alignElement$$8_bottom$$2_rect$$.offsetWidth, $height$$27$$ = $alignElement$$8_bottom$$2_rect$$.offsetHeight), $alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ + $height$$27$$, $right$$3$$ = $alignPosition$$1_left$$11$$ + $agent$$131_pos$$14_width$$22$$) : ($height$$27$$ = $agent$$131_pos$$14_width$$22$$ = 0, null == $alignPosition$$1_left$$11$$ ? $right$$3$$ = $alignPosition$$1_left$$11$$ = 
  $alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ = 0 : ($alignElement$$8_bottom$$2_rect$$ = $insideBorder$$1_top$$11$$ = $alignPosition$$1_left$$11$$.y, $right$$3$$ = $alignPosition$$1_left$$11$$ = $alignPosition$$1_left$$11$$.x));
  return {top:$insideBorder$$1_top$$11$$, bottom:$alignElement$$8_bottom$$2_rect$$, left:$alignPosition$$1_left$$11$$, right:$right$$3$$, width:$agent$$131_pos$$14_width$$22$$, height:$height$$27$$};
}
$AdfDhtmlPositionManager$$.prototype.$_preferTopTopCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferTopTopCondition$$($box$$4_isValid$$, $alignBox$$1_fitsAbove$$, $inverse$$) {
  var $agent$$132_fitsBelow$$ = $AdfAgent$$.$AGENT$, $fitsShadowDownward_logger$$6_windowHeight$$1$$ = $agent$$132_fitsBelow$$.getWindowHeight(), $scrollTop$$11$$ = $agent$$132_fitsBelow$$.$getBrowserViewportScrollTop$(), $shadowSize$$1$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $agent$$132_fitsBelow$$ = $alignBox$$1_fitsAbove$$.top + $box$$4_isValid$$.height <= $fitsShadowDownward_logger$$6_windowHeight$$1$$ + $scrollTop$$11$$, $fitsShadowDownward_logger$$6_windowHeight$$1$$ = $alignBox$$1_fitsAbove$$.bottom + 
  $shadowSize$$1$$ <= $fitsShadowDownward_logger$$6_windowHeight$$1$$ + $scrollTop$$11$$;
  $alignBox$$1_fitsAbove$$ = $alignBox$$1_fitsAbove$$.bottom - ($box$$4_isValid$$.height - $shadowSize$$1$$) >= $scrollTop$$11$$ && $fitsShadowDownward_logger$$6_windowHeight$$1$$;
  $box$$4_isValid$$ = $inverse$$ ? $agent$$132_fitsBelow$$ : $alignBox$$1_fitsAbove$$;
  ($fitsShadowDownward_logger$$6_windowHeight$$1$$ = this.$_logger$) && $fitsShadowDownward_logger$$6_windowHeight$$1$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$ ? "_preferBottomBottomCondition" : "_preferTopTopCondition") + " fitsBelow\x3d" + $agent$$132_fitsBelow$$ + " fitsAbove\x3d" + $alignBox$$1_fitsAbove$$ + " return\x3d" + $box$$4_isValid$$ + " usedBy\x3d" + ($inverse$$ ? "end_before, start_before, overlap" : "end_after, start_after"));
  return $box$$4_isValid$$;
};
$AdfDhtmlPositionManager$$.prototype._preferTopTopCondition = $AdfDhtmlPositionManager$$.prototype.$_preferTopTopCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferMiddleMiddleCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferMiddleMiddleCondition$$($box$$5$$, $alignBox$$2$$) {
  var $agent$$133_isValid$$1_scrollTop$$12$$ = $AdfAgent$$.$AGENT$, $fitsBelow$$1_windowHeight$$2$$ = $agent$$133_isValid$$1_scrollTop$$12$$.getWindowHeight(), $agent$$133_isValid$$1_scrollTop$$12$$ = $agent$$133_isValid$$1_scrollTop$$12$$.$getBrowserViewportScrollTop$(), $logger$$7_shadowSize$$2$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxHeightWithoutShadow$$1_fitsAbove$$1$$ = $box$$5$$.height - $logger$$7_shadowSize$$2$$, $fitsBelow$$1_windowHeight$$2$$ = $alignBox$$2$$.top + $alignBox$$2$$.height / 
  2 + $boxHeightWithoutShadow$$1_fitsAbove$$1$$ / 2 + $logger$$7_shadowSize$$2$$ <= $fitsBelow$$1_windowHeight$$2$$ + $agent$$133_isValid$$1_scrollTop$$12$$, $boxHeightWithoutShadow$$1_fitsAbove$$1$$ = $alignBox$$2$$.bottom - $alignBox$$2$$.height / 2 - $boxHeightWithoutShadow$$1_fitsAbove$$1$$ / 2 >= $agent$$133_isValid$$1_scrollTop$$12$$, $agent$$133_isValid$$1_scrollTop$$12$$ = $fitsBelow$$1_windowHeight$$2$$ && $boxHeightWithoutShadow$$1_fitsAbove$$1$$;
  ($logger$$7_shadowSize$$2$$ = this.$_logger$) && $logger$$7_shadowSize$$2$$.$logMessage$($AdfLogger$$.FINEST, "_preferMiddleMiddleCondition fitsBelow\x3d" + $fitsBelow$$1_windowHeight$$2$$ + " fitsAbove\x3d" + $boxHeightWithoutShadow$$1_fitsAbove$$1$$ + " return\x3d" + $agent$$133_isValid$$1_scrollTop$$12$$ + " usedBy\x3dend_center, start_center");
  return $agent$$133_isValid$$1_scrollTop$$12$$;
};
$AdfDhtmlPositionManager$$.prototype._preferMiddleMiddleCondition = $AdfDhtmlPositionManager$$.prototype.$_preferMiddleMiddleCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferCenterCenterCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferCenterCenterCondition$$($box$$6$$, $alignBox$$3$$) {
  var $agent$$134_isValid$$2_scrollLeft$$13$$ = $AdfAgent$$.$AGENT$, $fitsToRight_windowWidth$$1$$ = $agent$$134_isValid$$2_scrollLeft$$13$$.getWindowWidth(), $agent$$134_isValid$$2_scrollLeft$$13$$ = $agent$$134_isValid$$2_scrollLeft$$13$$.$getBrowserViewportScrollLeft$(), $fitsToLeft_shadowSize$$3$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow_logger$$8$$ = $box$$6$$.width - $fitsToLeft_shadowSize$$3$$;
  this.$_isRTL$ ? ($fitsToRight_windowWidth$$1$$ = $alignBox$$3$$.left + $alignBox$$3$$.width / 2 + $boxWidthWithoutShadow_logger$$8$$ / 2 <= $fitsToRight_windowWidth$$1$$ + $agent$$134_isValid$$2_scrollLeft$$13$$, $fitsToLeft_shadowSize$$3$$ = $alignBox$$3$$.right - $alignBox$$3$$.width / 2 - $boxWidthWithoutShadow_logger$$8$$ / 2 - $fitsToLeft_shadowSize$$3$$ >= $agent$$134_isValid$$2_scrollLeft$$13$$) : ($fitsToRight_windowWidth$$1$$ = $alignBox$$3$$.left + $alignBox$$3$$.width / 2 + $boxWidthWithoutShadow_logger$$8$$ / 
  2 + $fitsToLeft_shadowSize$$3$$ <= $fitsToRight_windowWidth$$1$$ + $agent$$134_isValid$$2_scrollLeft$$13$$, $fitsToLeft_shadowSize$$3$$ = $alignBox$$3$$.right - $alignBox$$3$$.width / 2 - $boxWidthWithoutShadow_logger$$8$$ / 2 >= $agent$$134_isValid$$2_scrollLeft$$13$$);
  $agent$$134_isValid$$2_scrollLeft$$13$$ = $fitsToRight_windowWidth$$1$$ && $fitsToLeft_shadowSize$$3$$;
  ($boxWidthWithoutShadow_logger$$8$$ = this.$_logger$) && $boxWidthWithoutShadow_logger$$8$$.$logMessage$($AdfLogger$$.FINEST, "_preferCenterCenterCondition fitsToRight\x3d" + $fitsToRight_windowWidth$$1$$ + " fitsToLeft\x3d" + $fitsToLeft_shadowSize$$3$$ + " return\x3d" + $agent$$134_isValid$$2_scrollLeft$$13$$ + " usedBy\x3dafter_center, before_center");
  return $agent$$134_isValid$$2_scrollLeft$$13$$;
};
$AdfDhtmlPositionManager$$.prototype._preferCenterCenterCondition = $AdfDhtmlPositionManager$$.prototype.$_preferCenterCenterCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferBottomBottomCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferBottomBottomCondition$$($box$$7$$, $alignBox$$4$$) {
  return this.$_preferTopTopCondition$($box$$7$$, $alignBox$$4$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferBottomBottomCondition = $AdfDhtmlPositionManager$$.prototype.$_preferBottomBottomCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferBottomTopCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferBottomTopCondition$$($box$$8_isValid$$3$$, $alignBox$$5_fitsBelow$$2$$, $inverse$$1$$) {
  var $agent$$135_fitsAbove$$2_shadowSize$$4$$ = $AdfAgent$$.$AGENT$, $logger$$9_windowHeight$$3$$ = $agent$$135_fitsAbove$$2_shadowSize$$4$$.getWindowHeight(), $scrollTop$$13$$ = $agent$$135_fitsAbove$$2_shadowSize$$4$$.$getBrowserViewportScrollTop$(), $agent$$135_fitsAbove$$2_shadowSize$$4$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $fitsShadowDownward$$1$$ = $alignBox$$5_fitsBelow$$2$$.top + $agent$$135_fitsAbove$$2_shadowSize$$4$$ <= $logger$$9_windowHeight$$3$$ + $scrollTop$$13$$, $agent$$135_fitsAbove$$2_shadowSize$$4$$ = 
  $alignBox$$5_fitsBelow$$2$$.top - ($box$$8_isValid$$3$$.height - $agent$$135_fitsAbove$$2_shadowSize$$4$$) >= $scrollTop$$13$$ && $fitsShadowDownward$$1$$;
  $alignBox$$5_fitsBelow$$2$$ = $alignBox$$5_fitsBelow$$2$$.bottom + $box$$8_isValid$$3$$.height <= $logger$$9_windowHeight$$3$$ + $scrollTop$$13$$;
  $box$$8_isValid$$3$$ = $inverse$$1$$ ? $alignBox$$5_fitsBelow$$2$$ : $agent$$135_fitsAbove$$2_shadowSize$$4$$;
  ($logger$$9_windowHeight$$3$$ = this.$_logger$) && $logger$$9_windowHeight$$3$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$1$$ ? "_preferTopBottomCondition" : "_preferBottomTopCondition") + " fitsAbove\x3d" + $agent$$135_fitsAbove$$2_shadowSize$$4$$ + " fitsBelow\x3d" + $alignBox$$5_fitsBelow$$2$$ + " return\x3d" + $box$$8_isValid$$3$$ + " usedBy\x3d" + ($inverse$$1$$ ? "after_start, after_end" : "before_start, before_end, before_after"));
  return $box$$8_isValid$$3$$;
};
$AdfDhtmlPositionManager$$.prototype._preferBottomTopCondition = $AdfDhtmlPositionManager$$.prototype.$_preferBottomTopCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferTopBottomCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferTopBottomCondition$$($box$$9$$, $alignBox$$6$$) {
  return this.$_preferBottomTopCondition$($box$$9$$, $alignBox$$6$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferTopBottomCondition = $AdfDhtmlPositionManager$$.prototype.$_preferTopBottomCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferLeftLeftCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferLeftLeftCondition$$($box$$10_fitsShadowLeftward_fitsToRight$$1$$, $alignBox$$7_isValid$$4$$, $inverse$$2$$) {
  var $agent$$136_scrollLeft$$14$$ = $AdfAgent$$.$AGENT$, $fitsShadowRightward_logger$$10_windowWidth$$2$$ = $agent$$136_scrollLeft$$14$$.getWindowWidth(), $agent$$136_scrollLeft$$14$$ = $agent$$136_scrollLeft$$14$$.$getBrowserViewportScrollLeft$(), $shadowSize$$5$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow$$1$$ = $box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$ - $shadowSize$$5$$, $fitsToLeft$$1$$;
  this.$_isRTL$ ? ($fitsToLeft$$1$$ = $alignBox$$7_isValid$$4$$.right - ($box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$) >= $agent$$136_scrollLeft$$14$$, $box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left - $shadowSize$$5$$ >= $agent$$136_scrollLeft$$14$$, $box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left + $boxWidthWithoutShadow$$1$$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + 
  $agent$$136_scrollLeft$$14$$ && $box$$10_fitsShadowLeftward_fitsToRight$$1$$) : ($box$$10_fitsShadowLeftward_fitsToRight$$1$$ = $alignBox$$7_isValid$$4$$.left + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.width + $box$$10_fitsShadowLeftward_fitsToRight$$1$$.$tailWidth$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + $agent$$136_scrollLeft$$14$$, $fitsShadowRightward_logger$$10_windowWidth$$2$$ = $alignBox$$7_isValid$$4$$.right + $shadowSize$$5$$ <= $fitsShadowRightward_logger$$10_windowWidth$$2$$ + 
  $agent$$136_scrollLeft$$14$$, $fitsToLeft$$1$$ = $alignBox$$7_isValid$$4$$.right - $boxWidthWithoutShadow$$1$$ >= $agent$$136_scrollLeft$$14$$ && $fitsShadowRightward_logger$$10_windowWidth$$2$$);
  $alignBox$$7_isValid$$4$$ = $inverse$$2$$ ? $box$$10_fitsShadowLeftward_fitsToRight$$1$$ : $fitsToLeft$$1$$;
  ($fitsShadowRightward_logger$$10_windowWidth$$2$$ = this.$_logger$) && $fitsShadowRightward_logger$$10_windowWidth$$2$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$2$$ ? "_preferRightRightCondition" : "_preferLeftLeftCondition") + " fitsToRight\x3d" + $box$$10_fitsShadowLeftward_fitsToRight$$1$$ + " fitsToLeft\x3d" + $fitsToLeft$$1$$ + " return\x3d" + $alignBox$$7_isValid$$4$$ + " usedBy\x3d" + ($inverse$$2$$ ? "after_start, before_start, overlap" : "after_end, before_end, before_after"));
  return $alignBox$$7_isValid$$4$$;
};
$AdfDhtmlPositionManager$$.prototype._preferLeftLeftCondition = $AdfDhtmlPositionManager$$.prototype.$_preferLeftLeftCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferRightRightCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferRightRightCondition$$($box$$11$$, $alignBox$$8$$) {
  return this.$_preferLeftLeftCondition$($box$$11$$, $alignBox$$8$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferRightRightCondition = $AdfDhtmlPositionManager$$.prototype.$_preferRightRightCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferRightLeftCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferRightLeftCondition$$($box$$12_isValid$$5$$, $alignBox$$9_logger$$11$$, $inverse$$3$$) {
  var $agent$$137_scrollLeft$$15$$ = $AdfAgent$$.$AGENT$, $fitsToRight$$2_windowWidth$$3$$ = $agent$$137_scrollLeft$$15$$.getWindowWidth(), $agent$$137_scrollLeft$$15$$ = $agent$$137_scrollLeft$$15$$.$getBrowserViewportScrollLeft$(), $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$ - $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$;
  this.$_isRTL$ ? ($fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $alignBox$$9_logger$$11$$.right - $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ >= $agent$$137_scrollLeft$$15$$, $fitsToRight$$2_windowWidth$$3$$ = $alignBox$$9_logger$$11$$.right + $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$ && $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$, $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $alignBox$$9_logger$$11$$.left - 
  ($box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$) >= $agent$$137_scrollLeft$$15$$) : ($fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ = $alignBox$$9_logger$$11$$.left + $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$ < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$, $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ = $alignBox$$9_logger$$11$$.left - $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ >= $agent$$137_scrollLeft$$15$$ && $fitsShadowLeftward$$1_fitsShadowRightward$$1_shadowSize$$6$$, 
  $fitsToRight$$2_windowWidth$$3$$ = $alignBox$$9_logger$$11$$.right + ($box$$12_isValid$$5$$.width + $box$$12_isValid$$5$$.$tailWidth$) < $fitsToRight$$2_windowWidth$$3$$ + $agent$$137_scrollLeft$$15$$);
  $box$$12_isValid$$5$$ = $inverse$$3$$ ? $fitsToRight$$2_windowWidth$$3$$ : $boxWidthWithoutShadow$$2_fitsToLeft$$2$$;
  ($alignBox$$9_logger$$11$$ = this.$_logger$) && $alignBox$$9_logger$$11$$.$logMessage$($AdfLogger$$.FINEST, ($inverse$$3$$ ? "_preferLeftRightCondition" : "_preferRightLeftCondition") + " fitsToLeft\x3d" + $boxWidthWithoutShadow$$2_fitsToLeft$$2$$ + " fitsToRight\x3d" + $fitsToRight$$2_windowWidth$$3$$ + " return\x3d" + $box$$12_isValid$$5$$ + " usedBy\x3d" + ($inverse$$3$$ ? "end_before, before_after" : "start_after, start_before"));
  return $box$$12_isValid$$5$$;
};
$AdfDhtmlPositionManager$$.prototype._preferRightLeftCondition = $AdfDhtmlPositionManager$$.prototype.$_preferRightLeftCondition$;
$AdfDhtmlPositionManager$$.prototype.$_preferLeftRightCondition$ = function $$AdfDhtmlPositionManager$$$$$_preferLeftRightCondition$$($box$$13$$, $alignBox$$10$$) {
  return this.$_preferRightLeftCondition$($box$$13$$, $alignBox$$10$$, !0);
};
$AdfDhtmlPositionManager$$.prototype._preferLeftRightCondition = $AdfDhtmlPositionManager$$.prototype.$_preferLeftRightCondition$;
function $JSCompiler_StaticMethods__convertHorizontal$$($JSCompiler_StaticMethods__convertHorizontal$self$$, $horizontalHint$$) {
  return "start" == $horizontalHint$$ && $JSCompiler_StaticMethods__convertHorizontal$self$$.$_isRTL$ || "end" == $horizontalHint$$ && !$JSCompiler_StaticMethods__convertHorizontal$self$$.$_isRTL$ ? $AdfDhtmlPositionManager$$.$RIGHT$ : $AdfDhtmlPositionManager$$.$LEFT$;
}
$AdfDhtmlPositionManager$$.prototype.$removeElement$ = function $$AdfDhtmlPositionManager$$$$$removeElement$$($agent$$inline_924_index$$114$$) {
  delete this.$_elements$[$agent$$inline_924_index$$114$$];
  if (1 > this.$getElementCount$()) {
    $agent$$inline_924_index$$114$$ = $AdfAgent$$.$AGENT$;
    var $domWindow$$inline_925$$ = $agent$$inline_924_index$$114$$.$getDomWindow$(), $domDocument$$inline_926$$ = $agent$$inline_924_index$$114$$.$getDomDocument$(), $resizeCallback$$inline_927$$ = this.$_repostionOnScrollCallback$;
    $resizeCallback$$inline_927$$ && ($agent$$inline_924_index$$114$$.$removeBubbleEventListener$($domDocument$$inline_926$$, "mousewheel", $resizeCallback$$inline_927$$), $agent$$inline_924_index$$114$$.$removeBubbleEventListener$($domWindow$$inline_925$$, "scroll", $resizeCallback$$inline_927$$), $agent$$inline_924_index$$114$$.$removeBubbleEventListener$($domDocument$$inline_926$$, "DOMMouseScroll", $resizeCallback$$inline_927$$), $agent$$inline_924_index$$114$$.$removeBubbleEventListener$($domWindow$$inline_925$$, 
    "resize", $resizeCallback$$inline_927$$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.removeElement", {$removeElement$:$AdfDhtmlPositionManager$$.prototype.$removeElement$});
$AdfDhtmlPositionManager$$.prototype.$managesElement$ = function $$AdfDhtmlPositionManager$$$$$managesElement$$($element$$167$$) {
  return $AdfPage$$.$PAGE$.$getZOrderManager$().$containsElement$($element$$167$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.managesElement", {$managesElement$:$AdfDhtmlPositionManager$$.prototype.$managesElement$});
$AdfDhtmlPositionManager$$.prototype.$validatePosition$ = function $$AdfDhtmlPositionManager$$$$$validatePosition$$($floatingElement$$5_index$$115$$) {
  var $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$ = $AdfPage$$.$PAGE$.$getDnDContext$();
  if (!$computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$ || !$computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$isDragging$()) {
    if ($computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$ = this.$_elements$[$floatingElement$$5_index$$115$$], null != $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$) {
      $floatingElement$$5_index$$115$$ = $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.element;
      var $alignBox$$11_alignElement$$10$$ = $floatingElement$$5_index$$115$$.$getAlignElement$(), $alignPosition$$2_verticalBehavior$$2$$ = $floatingElement$$5_index$$115$$.$getAlignPosition$(), $horizontalBehavior$$2_insideBorder$$3$$ = $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$insideBorder$, $agent$$inline_930_top$$inline_935$$ = $AdfAgent$$.$AGENT$, $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$ = $floatingElement$$5_index$$115$$.$getElement$(), 
      $box$$inline_942_width$$inline_932$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$.offsetWidth, $height$$inline_933$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$.offsetHeight, $left$$inline_936_pos$$inline_934$$ = $agent$$inline_930_top$$inline_935$$.$getElementPosition$($el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$), $agent$$inline_930_top$$inline_935$$ = $left$$inline_936_pos$$inline_934$$.y, 
      $left$$inline_936_pos$$inline_934$$ = $left$$inline_936_pos$$inline_934$$.x;
      0 == $box$$inline_942_width$$inline_932$$ && ($el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$.firstChild) && ($box$$inline_942_width$$inline_932$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$.offsetWidth, $height$$inline_933$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$.offsetHeight);
      var $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $height$$inline_933$$ = $height$$inline_933$$ + $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$, $box$$inline_942_width$$inline_932$$ = $box$$inline_942_width$$inline_932$$ + $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$, $tailElement$$inline_941_tailHeight$$inline_940$$ = $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$ = 
      0;
      $floatingElement$$5_index$$115$$.$getTailElement$ && $floatingElement$$5_index$$115$$.$getTailElement$() && ($tailElement$$inline_941_tailHeight$$inline_940$$ = $floatingElement$$5_index$$115$$.$getTailElement$(), $el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$ = $tailElement$$inline_941_tailHeight$$inline_940$$.offsetWidth, $tailElement$$inline_941_tailHeight$$inline_940$$ = $tailElement$$inline_941_tailHeight$$inline_940$$.offsetHeight);
      $box$$inline_942_width$$inline_932$$ = {top:$agent$$inline_930_top$$inline_935$$, right:$left$$inline_936_pos$$inline_934$$ + $box$$inline_942_width$$inline_932$$, bottom:$agent$$inline_930_top$$inline_935$$ + $height$$inline_933$$, left:$left$$inline_936_pos$$inline_934$$, width:$box$$inline_942_width$$inline_932$$, height:$height$$inline_933$$, $tailWidth$:$el$$inline_931_firstChild$$inline_937_shadowSize$$inline_938_tailWidth$$inline_939$$, $tailHeight$:$tailElement$$inline_941_tailHeight$$inline_940$$};
      $box$$inline_942_width$$inline_932$$.inversePosition = $floatingElement$$5_index$$115$$.$shouldInvertPosition$();
      $alignBox$$11_alignElement$$10$$ = $JSCompiler_StaticMethods__getAlignBox$$($alignBox$$11_alignElement$$10$$, $alignPosition$$2_verticalBehavior$$2$$, $horizontalBehavior$$2_insideBorder$$3$$);
      $alignPosition$$2_verticalBehavior$$2$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$verticalBehaviors$, $box$$inline_942_width$$inline_932$$, $alignBox$$11_alignElement$$10$$);
      $horizontalBehavior$$2_insideBorder$$3$$ = $JSCompiler_StaticMethods__selectBehavior$$(this, $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$horizontalBehaviors$, $box$$inline_942_width$$inline_932$$, $alignBox$$11_alignElement$$10$$);
      $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$_computedBehavior$ = {};
      $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$_computedBehavior$.$verticalBehavior$ = $alignPosition$$2_verticalBehavior$$2$$;
      $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$_computedBehavior$.$horizontalBehavior$ = $horizontalBehavior$$2_insideBorder$$3$$;
      $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$ = $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$_computedBehavior$;
      $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$ = $JSCompiler_StaticMethods__getNewPosition$$($computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$horizontalBehavior$, $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.$verticalBehavior$, $box$$inline_942_width$$inline_932$$, $alignBox$$11_alignElement$$10$$);
      $floatingElement$$5_index$$115$$.setPosition($computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.y, $computedBehavior$$inline_946_dndContext$$66_newPosition$$inline_949_wrapper$$16$$.x);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.validatePosition", {$validatePosition$:$AdfDhtmlPositionManager$$.prototype.$validatePosition$});
function $JSCompiler_StaticMethods__selectBehavior$$($JSCompiler_StaticMethods__selectBehavior$self$$, $behaviors$$7$$, $box$$15$$, $alignBox$$12$$) {
  if (!$box$$15$$.inversePosition) {
    return $behaviors$$7$$[0];
  }
  for (var $behavior$$4$$, $i$$211$$ = 0;!$behavior$$4$$ && $i$$211$$ < $behaviors$$7$$.length;$i$$211$$++) {
    $behaviors$$7$$[$i$$211$$].$condition$.call($JSCompiler_StaticMethods__selectBehavior$self$$, $box$$15$$, $alignBox$$12$$) && ($behavior$$4$$ = $behaviors$$7$$[$i$$211$$]);
  }
  $behavior$$4$$ || ($behavior$$4$$ = $behaviors$$7$$[0]);
  return $behavior$$4$$;
}
$AdfDhtmlPositionManager$$.prototype.$getComputedBehavior$ = function $$AdfDhtmlPositionManager$$$$$getComputedBehavior$$($index$$116_wrapper$$17$$) {
  $index$$116_wrapper$$17$$ = this.$_elements$[$index$$116_wrapper$$17$$];
  if (null != $index$$116_wrapper$$17$$) {
    return $index$$116_wrapper$$17$$.$_computedBehavior$;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.getComputedBehavior", {$getComputedBehavior$:$AdfDhtmlPositionManager$$.prototype.$getComputedBehavior$});
function $JSCompiler_StaticMethods__getNewPosition$$($horizontalBehavior$$4_scrollLeft$$16$$, $scrollTop$$14_verticalBehavior$$4$$, $box$$17_xdelta$$1$$, $alignBox$$14_windowWidth$$4$$) {
  var $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$, $alignElementAnchorLeft$$, $boxWidthWithoutShadow$$3_shadowSize$$7$$ = $AdfDhtmlShadowDecorator$$.$getShadowSize$(), $boxHeightWithoutShadow$$3$$ = $box$$17_xdelta$$1$$.height - $boxWidthWithoutShadow$$3_shadowSize$$7$$, $boxWidthWithoutShadow$$3_shadowSize$$7$$ = $box$$17_xdelta$$1$$.width - $boxWidthWithoutShadow$$3_shadowSize$$7$$;
  switch($scrollTop$$14_verticalBehavior$$4$$.$alignElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.top;
      break;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.bottom;
      break;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $alignBox$$14_windowWidth$$4$$.top + $alignBox$$14_windowWidth$$4$$.height / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignElementAnchor for verticalBehavior provided");
  }
  switch($horizontalBehavior$$4_scrollLeft$$16$$.$alignElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$LEFT$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.left;
      break;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.right;
      break;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      $alignElementAnchorLeft$$ = $alignBox$$14_windowWidth$$4$$.left + $alignBox$$14_windowWidth$$4$$.width / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid alignElementAnchor for horizontalBehavior provided");
  }
  var $newTop$$, $newLeft$$;
  switch($scrollTop$$14_verticalBehavior$$4$$.$floatingElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$TOP$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$;
      break;
    case $AdfDhtmlPositionManager$$.$BOTTOM$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ - $boxHeightWithoutShadow$$3$$;
      break;
    case $AdfDhtmlPositionManager$$.$MIDDLE$:
      $newTop$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ - $boxHeightWithoutShadow$$3$$ / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for verticalBehavior provided");
  }
  switch($horizontalBehavior$$4_scrollLeft$$16$$.$floatingElementAnchor$) {
    case $AdfDhtmlPositionManager$$.$LEFT$:
      $newLeft$$ = $alignElementAnchorLeft$$;
      break;
    case $AdfDhtmlPositionManager$$.$RIGHT$:
      $newLeft$$ = $alignElementAnchorLeft$$ - $boxWidthWithoutShadow$$3_shadowSize$$7$$;
      break;
    case $AdfDhtmlPositionManager$$.$CENTER$:
      $newLeft$$ = $alignElementAnchorLeft$$ - $boxWidthWithoutShadow$$3_shadowSize$$7$$ / 2;
      break;
    default:
      $AdfAssert$$.assert(!1, "Invalid floatingElementAnchor for horizontalBehavior provided");
  }
  $AdfPage$$.$PAGE$.$isPortlet$() && ($agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $AdfAgent$$.$AGENT$, $scrollTop$$14_verticalBehavior$$4$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.$getBrowserViewportScrollTop$(), $horizontalBehavior$$4_scrollLeft$$16$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.$getBrowserViewportScrollLeft$(), $alignBox$$14_windowWidth$$4$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.getWindowWidth(), 
  $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$.getWindowHeight(), $newTop$$ = Math.max(0, $newTop$$), $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ = $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ + $scrollTop$$14_verticalBehavior$$4$$ - ($newTop$$ + $box$$17_xdelta$$1$$.height), 0 > $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$ && ($newTop$$ = Math.max($scrollTop$$14_verticalBehavior$$4$$, 
  $newTop$$ + $agent$$139_alignElementAnchorTop_windowHeight$$4_ydelta$$1$$)), $newLeft$$ = Math.max(0, $newLeft$$), $box$$17_xdelta$$1$$ = $alignBox$$14_windowWidth$$4$$ + $horizontalBehavior$$4_scrollLeft$$16$$ - ($newLeft$$ + $box$$17_xdelta$$1$$.width), 0 > $box$$17_xdelta$$1$$ && ($newLeft$$ = Math.max($horizontalBehavior$$4_scrollLeft$$16$$, $newLeft$$ + $box$$17_xdelta$$1$$)));
  return {x:$newLeft$$, y:$newTop$$};
}
$AdfDhtmlPositionManager$$.prototype.$_repostionOnScroll$ = function $$AdfDhtmlPositionManager$$$$$_repostionOnScroll$$() {
  var $domWindow$$80$$ = $AdfAgent$$.$AGENT$.$getDomWindow$();
  null == this.$_repostionCallback$ && (this.$_repostionCallback$ = this.$createCallback$(this.$_repostionOnScrollTimeout$));
  this.$_repostionTimeout$ && $domWindow$$80$$.clearTimeout(this.$_repostionTimeout$);
  this.$_repostionTimeout$ = $domWindow$$80$$.setTimeout(this.$_repostionCallback$, 200);
};
$AdfDhtmlPositionManager$$.prototype.$_repostionOnScrollTimeout$ = function $$AdfDhtmlPositionManager$$$$$_repostionOnScrollTimeout$$() {
  delete this.$_repostionTimeout$;
  for (var $elements$$10$$ = this.$_elements$, $i$$212$$ = $elements$$10$$.length - 1;-1 < $i$$212$$;$i$$212$$--) {
    if (null != $elements$$10$$[$i$$212$$]) {
      var $elementWidth$$inline_964_floatingElement$$7$$ = $elements$$10$$[$i$$212$$].element, $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = $elementWidth$$inline_964_floatingElement$$7$$.$getAlignElement$();
      if (!$elementWidth$$inline_964_floatingElement$$7$$.$isAnimating$()) {
        if ($JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$) {
          for (var $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$, $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = $AdfAgent$$.$AGENT$, $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.$getElementPageBounds$($element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$), 
          $isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.getWindowWidth(), $scrollLeft$$inline_955$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.$getBrowserViewportScrollLeft$(), $windowHeight$$inline_956$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.getWindowHeight(), 
          $scrollTop$$inline_957$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.$getBrowserViewportScrollTop$(), $isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ = $AdfDhtmlPositionManager$$.$_isWithinViewport$($alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$, {top:$scrollTop$$inline_957$$, bottom:$windowHeight$$inline_956$$ + $scrollTop$$inline_957$$, left:$scrollLeft$$inline_955$$, 
          right:$scrollLeft$$inline_955$$ + $isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$}), $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ = $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$.parentNode;$isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ && $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ && !$AdfDhtmlPositionManager$$.$_isRootNode$($element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$);) {
            1 == $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$.nodeType && ($isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.$getElementPageBounds$($element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$), $isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ = $AdfDhtmlPositionManager$$.$_isWithinViewport$($alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$, 
            $isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$)), $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ = $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$.parentNode;
          }
          !$isWithinViewPort$$inline_958_parentBox$$inline_960_windowWidth$$inline_954$$ && $elementWidth$$inline_964_floatingElement$$7$$.$ShouldHideOnClip$() ? $elementWidth$$inline_964_floatingElement$$7$$.cancel() : this.$validatePosition$($i$$212$$);
        } else {
          if ($JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = $elementWidth$$inline_964_floatingElement$$7$$.$getAlignPosition$()) {
            $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$ = $elementWidth$$inline_964_floatingElement$$7$$, $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = $AdfAgent$$.$AGENT$, $elementWidth$$inline_964_floatingElement$$7$$ = $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$.getWidth(), $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$ = $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$.getHeight(), 
            $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.getWindowWidth(), $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$.getWindowHeight(), $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ = 
            !($elementWidth$$inline_964_floatingElement$$7$$ > $element$$inline_951_parentNode$$inline_959_windowWidth$$inline_966$$ || $alignBox$$inline_953_elementHeight$$inline_965_floatingElement$$inline_962$$ > $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$);
          }
          $JSCompiler_temp$$52_agent$$inline_952_agent$$inline_963_alignElement$$11_windowHeight$$inline_967$$ && this.$validatePosition$($i$$212$$);
        }
      }
    }
  }
};
$AdfDhtmlPositionManager$$.$_isRootNode$ = function $$AdfDhtmlPositionManager$$$$_isRootNode$$($element$$170_id$$247_tokens$$14$$) {
  var $tagName$$4_tokensLen$$1$$ = $AdfAgent$$.$AGENT$.$getNodeName$($element$$170_id$$247_tokens$$14$$);
  if ("FORM" == $tagName$$4_tokensLen$$1$$ || "BODY" == $tagName$$4_tokensLen$$1$$) {
    return !0;
  }
  if ($element$$170_id$$247_tokens$$14$$ = $element$$170_id$$247_tokens$$14$$.getAttribute("id")) {
    if ($element$$170_id$$247_tokens$$14$$ = $element$$170_id$$247_tokens$$14$$.split(":"), $tagName$$4_tokensLen$$1$$ = $element$$170_id$$247_tokens$$14$$.length, 0 < $tagName$$4_tokensLen$$1$$) {
      return $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$ == $element$$170_id$$247_tokens$$14$$[$tagName$$4_tokensLen$$1$$ - 1];
    }
  }
  return !1;
};
$AdfDhtmlPositionManager$$.$_isWithinViewport$ = function $$AdfDhtmlPositionManager$$$$_isWithinViewport$$($alignBox$$16$$, $containerBox$$) {
  return -2 > $alignBox$$16$$.top - $containerBox$$.top || -2 > $containerBox$$.bottom - $alignBox$$16$$.bottom || -2 > $alignBox$$16$$.left - $containerBox$$.left || 2 < $alignBox$$16$$.right - $containerBox$$.right ? !1 : !0;
};
$AdfDhtmlPositionManager$$.prototype.$resizeFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$resizeFloatingElement$$($childDomElement$$1$$) {
  var $floatingElement$$9$$ = this.$findFloatingElement$($childDomElement$$1$$);
  if ($floatingElement$$9$$ && !($floatingElement$$9$$ instanceof $AdfDhtmlTooltip$$)) {
    var $domElement$$55$$ = $floatingElement$$9$$.$getElement$();
    if ($AdfDomUtils$$.$isAncestorOrSelf$($domElement$$55$$, $childDomElement$$1$$)) {
      return $floatingElement$$9$$.$autoSize$(), !0;
    }
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.resizeFloatingElement", {$resizeFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$resizeFloatingElement$});
$AdfDhtmlPositionManager$$.prototype.$findFloatingElement$ = function $$AdfDhtmlPositionManager$$$$$findFloatingElement$$($childDomElement$$2$$) {
  for (var $elements$$11$$ = this.$_elements$, $i$$213$$ = 0;$i$$213$$ < $elements$$11$$.length;$i$$213$$++) {
    if ($i$$213$$ in $elements$$11$$) {
      var $floatingElement$$10_wrapper$$18$$ = $elements$$11$$[$i$$213$$];
      if ($floatingElement$$10_wrapper$$18$$ && ($floatingElement$$10_wrapper$$18$$ = $floatingElement$$10_wrapper$$18$$.element)) {
        var $domElement$$56$$ = $floatingElement$$10_wrapper$$18$$.$getElement$();
        if ($AdfDomUtils$$.$isAncestorOrSelf$($domElement$$56$$, $childDomElement$$2$$)) {
          return $floatingElement$$10_wrapper$$18$$;
        }
      }
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPositionManager.prototype.findFloatingElement", {$findFloatingElement$:$AdfDhtmlPositionManager$$.prototype.$findFloatingElement$});
