var $AdfDhtmlPanelWindowBasePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlPanelWindowBasePeer");
$goog$exportSymbol$$("AdfDhtmlPanelWindowBasePeer", $AdfDhtmlPanelWindowBasePeer$$);
$AdfDhtmlPanelWindowBasePeer$$.$InitSubclass$ = function $$AdfDhtmlPanelWindowBasePeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$);
  $AdfObject$$.$ensureClassInitialization$(AdfRichPanelWindow);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichPanelWindow.TITLE_ICON_SOURCE, AdfRichPanelWindow.TITLE, AdfRichPanelWindow.CONTENT_HEIGHT, AdfRichPanelWindow.CONTENT_WIDTH);
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichPanelWindow.CONTENT_HEIGHT, AdfRichPanelWindow.CONTENT_WIDTH);
  $AdfRichUIPeer$$.$addSuppressedPPRAttributes$(this, AdfRichPanelWindow.TITLE, AdfRichPanelWindow.CONTENT_HEIGHT, AdfRichPanelWindow.CONTENT_WIDTH);
  this.$_HEADER_START_EDGE_SUBID$ = "_hse";
  this.$_HEADER_CENTER_EDGE_SUBID$ = "_hce";
  this.$_HEADER_END_EDGE_SUBID$ = "_hee";
  this.$_CONTENT_START_EDGE_SUBID$ = "_cse";
  this.$_CONTENT_END_EDGE_SUBID$ = "_cee";
  this.$_FOOTER_START_EDGE_SUBID$ = "_fse";
  this.$_FOOTER_CENTER_EDGE_SUBID$ = "_fce";
  this.$_FOOTER_END_EDGE_SUBID$ = "_fee";
  this.$_FOOTER_RESIZE_END_ICON_SUBID$ = "_ree";
  this.$_FOOTER_RESIZE_START_ICON_SUBID$ = "_rse";
  this.$_RESIZE_DRAG_SOURCE_SUBIDS$ = [this.$_HEADER_START_EDGE_SUBID$, this.$_HEADER_CENTER_EDGE_SUBID$, this.$_HEADER_END_EDGE_SUBID$, this.$_CONTENT_START_EDGE_SUBID$, this.$_CONTENT_END_EDGE_SUBID$, this.$_FOOTER_START_EDGE_SUBID$, this.$_FOOTER_CENTER_EDGE_SUBID$, this.$_FOOTER_END_EDGE_SUBID$, this.$_FOOTER_RESIZE_END_ICON_SUBID$, this.$_FOOTER_RESIZE_START_ICON_SUBID$];
  this.$_FOOTER_CENTER_CONTENT_SUBID$ = "_fcc";
  this.$_CONTENT_SUBID$ = "contentContainer";
  this.$_CONTENT_CENTER_SUBID$ = "_ccntr";
  this.$_CONTENT_SIZED_FOR_MINIMUMS_EXPANDO$ = "data-afr-csfm";
  this.$_HEADER_TITLE_BAR_SUBID$ = "tb";
  this.$_CONTENT_RESIZED_INDICATOR_EXPANDO$ = "data-afr-cri";
  this.$_PANEL_WINDOW_RESIZE_GHOST_CLASS$ = "af|panelWindow::resize-ghost";
  this.$_RESIZE_ON$ = "on";
  this.$_STRETCH_CHILDREN_FIRST$ = "first";
  this.$_ANIMATION_DURATION_SKIN_PROPERTY$ = "af|panelWindow-tr-open-animation-duration";
  this.$_ANIMATE_SKIN_PROPERTY$ = "af|panelWindow-tr-animate"
};
$goog$exportSymbol$$("AdfDhtmlPanelWindowBasePeer.InitSubclass", $AdfDhtmlPanelWindowBasePeer$$.$InitSubclass$);
$AdfDhtmlPanelWindowBasePeer$$.prototype.$handleEscapeKey$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$handleEscapeKey$$($event$$90$$) {
  this.$Cancel$();
  $AdfAgent$$.$AGENT$.$eatEvent$($event$$90$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.handleEscapeKey", {$handleEscapeKey$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$handleEscapeKey$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyDown$$($componentEvent$$27$$) {
  if(!$componentEvent$$27$$.$isCanceled$()) {
    var $agent$$57$$ = $AdfAgent$$.$AGENT$, $evt$$59$$ = $componentEvent$$27$$.$getNativeEvent$(), $eventTarget$$9$$ = $agent$$57$$.$getEventTarget$($evt$$59$$);
    $evt$$59$$.keyCode == $AdfKeyStroke$$.$TAB_KEY$ ? ($evt$$59$$.shiftKey ? $AdfFocusUtils$$.$focusPreviousTabStop$($eventTarget$$9$$, this.$getDomElement$()) : $AdfFocusUtils$$.$focusNextTabStop$($eventTarget$$9$$, this.$getDomElement$()), $agent$$57$$.$eatEvent$($evt$$59$$), $componentEvent$$27$$.$stopBubbling$()) : $evt$$59$$.keyCode == $AdfKeyStroke$$.$ESC_KEY$ && (this.$Cancel$(), $agent$$57$$.$eatEvent$($evt$$59$$), $componentEvent$$27$$.$stopBubbling$())
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyPress$$($componentEvent$$28$$) {
  $componentEvent$$28$$.$isCanceled$() || ($componentEvent$$28$$.$getNativeEvent$(), $componentEvent$$28$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && (this.$IsClose$($componentEvent$$28$$) ? ($componentEvent$$28$$.cancel(), $componentEvent$$28$$.$stopBubbling$(), this.$Cancel$()) : this.$IsPin$($componentEvent$$28$$) && this.$Pin$()))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyUp$$($componentEvent$$29$$) {
  if(!$componentEvent$$29$$.$isCanceled$()) {
    var $nativeEvent$$25$$ = $componentEvent$$29$$.$getNativeEvent$(), $keyCode$$20$$ = $componentEvent$$29$$.$getKeyCode$();
    $keyCode$$20$$ == $AdfKeyStroke$$.$SPACE_KEY$ ? this.$IsClose$($componentEvent$$29$$) && (this.$Cancel$(), $componentEvent$$29$$.cancel(), $componentEvent$$29$$.$stopBubbling$()) : $nativeEvent$$25$$.ctrlKey && $nativeEvent$$25$$.altKey && ($keyCode$$20$$ == $AdfKeyStroke$$.$W_KEY$ && !this.$getComponent$().getModal()) && ($AdfDhtmlDialogManager$$.$getInstance$().$focusNextModelessDialog$(), $componentEvent$$29$$.cancel(), $componentEvent$$29$$.$stopBubbling$())
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentFocus$$($componentEvent$$30$$) {
  $componentEvent$$30$$.$getEventPhase$() == $AdfBaseEvent$$.$AT_TARGET_PHASE$ && $componentEvent$$30$$ instanceof $AdfDomComponentFocusEvent$$ && $JSCompiler_StaticMethods__handleActivate$$(this, $componentEvent$$30$$, $JSCompiler_alias_FALSE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentFocus$});
function $JSCompiler_StaticMethods__handleActivate$$($JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$, $componentEvent$$31$$, $focusOnFirstElement$$) {
  if(!$componentEvent$$31$$.$isCanceled$()) {
    var $component$$308$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$getComponent$(), $componentDom$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$getDomElement$(), $eventTargetDom$$ = $componentEvent$$31$$.$getNativeEventTarget$();
    if($AdfDomUtils$$.$isAncestorOrSelf$($componentDom$$, $eventTargetDom$$) && ($JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$_getPopupWindow$($component$$308$$)) && $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$handleActivate$($focusOnFirstElement$$)) {
      $componentEvent$$31$$.cancel(), $componentEvent$$31$$.$stopBubbling$()
    }
  }
}
function $JSCompiler_StaticMethods__handleMouseDownTouchStart$$($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$, $componentEvent$$32$$) {
  $JSCompiler_StaticMethods__handleActivate$$($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$, $componentEvent$$32$$, $JSCompiler_alias_TRUE$$);
  var $component$$309_popupWindow$$12$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$getComponent$();
  if(!($component$$309_popupWindow$$12$$ != $componentEvent$$32$$.getSource() || $component$$309_popupWindow$$12$$.$getProperty$("resize") != $AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_ON$) && !$AdfPage$$.$PAGE$.$isDragging$()) {
    var $nativeEvent$$26$$ = $componentEvent$$32$$.$getNativeEvent$(), $agent$$58_targetNodeStyle$$inline_661$$ = $AdfAgent$$.$AGENT$, $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$ = $agent$$58_targetNodeStyle$$inline_661$$.$getEventTarget$($nativeEvent$$26$$), $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.id;
    if($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ && ($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$.split("::"), 1 < $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$.length && 
    ($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$[$containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$.length - 1], -1 < $AdfCollections$$.indexOf($AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_DRAG_SOURCE_SUBIDS$, $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$) && 
    ($component$$309_popupWindow$$12$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_getPopupWindow$($component$$309_popupWindow$$12$$)) && !$component$$309_popupWindow$$12$$.$isAnimating$() && $AdfDomUtils$$.$isAncestorOrSelf$($component$$309_popupWindow$$12$$.$getContent$(), $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$)))) {
      $agent$$58_targetNodeStyle$$inline_661$$.preventDefault($nativeEvent$$26$$);
      var $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$ = $AdfPage$$.$PAGE$, $agent$$inline_660_minContentHeight$$inline_669$$ = $AdfAgent$$.$AGENT$, $agent$$58_targetNodeStyle$$inline_661$$ = $agent$$inline_660_minContentHeight$$inline_669$$.$getEventTarget$($nativeEvent$$26$$).style;
      $AdfAssert$$.$assertString$($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_eventTargetSubId$ = $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$;
      $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $component$$309_popupWindow$$12$$.$getContainedComponentClientId$();
      $AdfAssert$$.$assertString$($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_popupWindow$ = $component$$309_popupWindow$$12$$;
      $AdfAssert$$.$assertPrototype$($component$$309_popupWindow$$12$$, $AdfDhtmlSimpleFloat$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$calculateMinimumContentSize$();
      var $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $AdfRichUIPeer$$.$createSubId$($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_CENTER_SUBID$), $ghost$$inline_670_resizableContentDom$$inline_664$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_resizableContentDom$ = $agent$$inline_660_minContentHeight$$inline_669$$.getElementById($containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$);
      $AdfAssert$$.$assertDomElement$($ghost$$inline_670_resizableContentDom$$inline_664$$, "DIV");
      var $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$ = $ghost$$inline_670_resizableContentDom$$inline_664$$.style, $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.width), $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.height), 
      $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.minWidth), $agent$$inline_660_minContentHeight$$inline_669$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.minHeight);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_initContentWidth$ = $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ = 0 < $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ ? $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ : $ghost$$inline_670_resizableContentDom$$inline_664$$.offsetWidth;
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_initContentHeight$ = $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ = 0 < $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ ? $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ : $ghost$$inline_670_resizableContentDom$$inline_664$$.offsetHeight;
      $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.height = $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ + "px";
      $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$.width = $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ + "px";
      $ghost$$inline_670_resizableContentDom$$inline_664$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_ghost$ = $ghost$$inline_670_resizableContentDom$$inline_664$$.ownerDocument.createElement("div");
      $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$ = $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.$getLookAndFeel$().getStyleClass($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$GetResizeGhostSelector$());
      $AdfDomUtils$$.$addCSSClassName$($ghost$$inline_670_resizableContentDom$$inline_664$$, $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$);
      var $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$ = $component$$309_popupWindow$$12$$.getWidth() - 2, $ghostHeight$$inline_673$$ = $component$$309_popupWindow$$12$$.getHeight() - 2, $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_contentToChromeDeltaX$ = $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$ - $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$, 
      $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_contentToChromeDeltaY$ = $ghostHeight$$inline_673$$ - $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$;
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.$getZOrderManager$().$addElementToLayer$($ghost$$inline_670_resizableContentDom$$inline_664$$, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$);
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$ = $ghost$$inline_670_resizableContentDom$$inline_664$$.style;
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.cursor = $agent$$58_targetNodeStyle$$inline_661$$.cursor;
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.top = $component$$309_popupWindow$$12$$.$getTop$() + "px";
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.left = $component$$309_popupWindow$$12$$.$getLeft$() + "px";
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.width = $ghostClassName$$inline_671_ghostWidth$$inline_672_resizableContentDomStyle$$inline_665$$ + "px";
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.height = $ghostHeight$$inline_673$$ + "px";
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.minWidth = $containedComponentId$$inline_662_lastToken_minContentWidth$$inline_668_resizableContentId$$inline_663_targetId$$6_tokens$$6$$ + $contentToChromeDeltaX$$inline_674_contentWidth$$inline_666$$ + "px";
      $ghostStyle$$inline_676_page$$inline_659_targetNode$$16$$.minHeight = $agent$$inline_660_minContentHeight$$inline_669$$ + $contentHeight$$inline_667_contentToChromeDeltaY$$inline_675$$ + "px";
      $component$$309_popupWindow$$12$$.$setDragging$($JSCompiler_alias_TRUE$$);
      $component$$309_popupWindow$$12$$.$setShadowVisibility$($JSCompiler_alias_FALSE$$);
      $AdfPage$$.$PAGE$.$startDrag$($nativeEvent$$26$$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeDrag$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeDrop$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeAbort$, $JSCompiler_alias_TRUE$$);
      $componentEvent$$32$$.cancel()
    }
  }
}
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentClick$$($componentEvent$$33$$) {
  $componentEvent$$33$$.$isLeftButtonPressed$() && (this.$IsClose$($componentEvent$$33$$) ? this.$Cancel$() : this.$IsPin$($componentEvent$$33$$) && this.$Pin$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsClose$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$IsClose$$($componentEvent$$34_target$$88$$) {
  $componentEvent$$34_target$$88$$ = $componentEvent$$34_target$$88$$.$getNativeEventTarget$();
  var $closeId_component$$310$$ = this.$getComponent$(), $closeId_component$$310$$ = $AdfRichUIPeer$$.$CreateSubId$($closeId_component$$310$$.$getClientId$(), "close");
  return $componentEvent$$34_target$$88$$.id == $closeId_component$$310$$ ? $JSCompiler_alias_TRUE$$ : $componentEvent$$34_target$$88$$.parentNode.id == $closeId_component$$310$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.IsClose", {$IsClose$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsClose$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsPin$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$IsPin$$($componentEvent$$35_target$$89$$) {
  $componentEvent$$35_target$$89$$ = $componentEvent$$35_target$$89$$.$getNativeEventTarget$();
  var $component$$311_pinId$$ = this.$getComponent$(), $component$$311_pinId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$311_pinId$$.$getClientId$(), "pin");
  return $componentEvent$$35_target$$89$$.id == $component$$311_pinId$$ ? $JSCompiler_alias_TRUE$$ : $componentEvent$$35_target$$89$$.parentNode.id == $component$$311_pinId$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.IsPin", {$IsPin$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsPin$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$Hide$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$Hide$$() {
  var $parent$$12$$ = this.$getComponent$().getParent();
  $parent$$12$$ instanceof AdfRichPopup ? $parent$$12$$.$hide$() : this.$hideAllPopups$($parent$$12$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.Hide", {$Hide$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$Hide$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$Cancel$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$Cancel$$() {
  var $parent$$13$$ = this.$getComponent$().getParent();
  $parent$$13$$ instanceof AdfRichPopup ? $parent$$13$$.cancel() : this.$cancelAllPopups$($parent$$13$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.Cancel", {$Cancel$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$Cancel$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$Pin$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$Pin$$() {
  var $parent$$14$$ = this.$getComponent$().getParent();
  if($parent$$14$$ instanceof AdfRichPopup && $parent$$14$$[$AdfRichUIPeer$$.$_POPUP_LIST$]) {
    var $popupElement$$7$$ = $parent$$14$$[$AdfRichUIPeer$$.$_POPUP_LIST$][$parent$$14$$.$getClientId$()].$getElement$();
    $AdfPage$$.$PAGE$.$getAutoDismissalManager$().$cancelPopupDismissTimeout$($parent$$14$$, $popupElement$$7$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.Pin", {$Pin$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$Pin$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.Init = function $$AdfDhtmlPanelWindowBasePeer$$$$Init$($component$$314$$, $usage$$4$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$superclass$.Init.call(this, $component$$314$$, $usage$$4$$);
  this.$_onResizeDrag$ = this.$createCallback$(this.$_handleResizeDrag$);
  this.$_onResizeDrop$ = this.$createCallback$(this.$_handleResizeDrop$);
  this.$_onAbortDrop$ = this.$createCallback$(this.$_handleResizeAbort$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.Init", {Init:$AdfDhtmlPanelWindowBasePeer$$.prototype.Init});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$InitDomElement$$($component$$315$$) {
  var $parent$$15$$ = $component$$315$$.getParent();
  $parent$$15$$ == $JSCompiler_alias_NULL$$ && ($parent$$15$$ = $component$$315$$);
  var $childHints$$1$$ = {};
  $childHints$$1$$.modal = $component$$315$$.getModal();
  $childHints$$1$$.dragElement = this.$getDragElement$();
  "none" == $component$$315$$.getInitialFocus() && !$component$$315$$.getModal() ? $childHints$$1$$.focus = $JSCompiler_alias_FALSE$$ : $childHints$$1$$.focus = $JSCompiler_alias_TRUE$$;
  $childHints$$1$$.autodismiss = "autodismissInactivate";
  $childHints$$1$$.type = "dialogWindow";
  $childHints$$1$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_OVERLAP$;
  $childHints$$1$$.componentEventsEnabled = $JSCompiler_alias_TRUE$$;
  $AdfDhtmlPopupPeer$$.$setChildHints$($parent$$15$$, $childHints$$1$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$InitDomElement$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$getDragElement$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$getDragElement$$() {
  var $titleBarId$$ = $AdfRichUIPeer$$.$CreateSubId$(this.$getComponent$().$getClientId$(), $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_TITLE_BAR_SUBID$);
  return $AdfAgent$$.$AGENT$.getElementById($titleBarId$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.getDragElement", {$getDragElement$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$getDragElement$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentTitleChanged$$($component$$316_titleDiv_titleId$$, $agent$$59_domElement$$37$$, $newValue$$24$$) {
  $agent$$59_domElement$$37$$ = $AdfAgent$$.$AGENT$;
  $component$$316_titleDiv_titleId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$316_titleDiv_titleId$$.$getClientId$(), "_ttxt");
  $component$$316_titleDiv_titleId$$ = $agent$$59_domElement$$37$$.getElementById($component$$316_titleDiv_titleId$$);
  $agent$$59_domElement$$37$$.$setTextContent$($component$$316_titleDiv_titleId$$, $newValue$$24$$);
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentTitleChanged", {$ComponentTitleChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleIconSourceChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentTitleIconSourceChanged$$($component$$317_titleIconDiv_titleIconId$$, $agent$$60_domElement$$38$$, $newValue$$25$$) {
  $agent$$60_domElement$$38$$ = $AdfAgent$$.$AGENT$;
  $component$$317_titleIconDiv_titleIconId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$317_titleIconDiv_titleIconId$$.$getClientId$(), "_ticn");
  $component$$317_titleIconDiv_titleIconId$$ = $agent$$60_domElement$$38$$.getElementById($component$$317_titleIconDiv_titleIconId$$);
  var $icon$$ = $agent$$60_domElement$$38$$.$getDomDocument$().createElement("img");
  $icon$$.alt = "";
  $agent$$60_domElement$$38$$.$setImageSource$($icon$$, $newValue$$25$$);
  $newValue$$25$$ ? ($component$$317_titleIconDiv_titleIconId$$.hasChildNodes() ? $component$$317_titleIconDiv_titleIconId$$.replaceChild($icon$$, $component$$317_titleIconDiv_titleIconId$$.firstChild) : $component$$317_titleIconDiv_titleIconId$$.appendChild($icon$$), $AdfDomUtils$$.setVisible($component$$317_titleIconDiv_titleIconId$$, $JSCompiler_alias_TRUE$$)) : $AdfDomUtils$$.setVisible($component$$317_titleIconDiv_titleIconId$$, $JSCompiler_alias_FALSE$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentTitleIconSourceChanged", {$ComponentTitleIconSourceChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleIconSourceChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentWidthChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentContentWidthChanged$$($component$$318$$, $domElement$$39$$, $newValue$$26$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$318$$).style.width = $newValue$$26$$ + "px";
  $domElement$$39$$.setAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$, "1");
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentContentWidthChanged", {$ComponentContentWidthChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentWidthChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentHeightChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentContentHeightChanged$$($component$$319$$, $domElement$$40$$, $newValue$$27$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$319$$).style.height = $newValue$$27$$ + "px";
  $domElement$$40$$.setAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$, "1");
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentContentHeightChanged", {$ComponentContentHeightChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentHeightChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentWidth$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$GetComponentContentWidth$$($component$$320_resizableContentDom$$2$$) {
  $component$$320_resizableContentDom$$2$$ = $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$320_resizableContentDom$$2$$);
  var $resizableContentDomStyle$$ = $component$$320_resizableContentDom$$2$$.style;
  return $resizableContentDomStyle$$.width ? $AdfAgent$$.$getCSSLengthAsInt$($resizableContentDomStyle$$.width) : $component$$320_resizableContentDom$$2$$.offsetWidth
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.GetComponentContentWidth", {$GetComponentContentWidth$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentWidth$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentHeight$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$GetComponentContentHeight$$($component$$321_resizableContentDom$$3$$) {
  $component$$321_resizableContentDom$$3$$ = $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$321_resizableContentDom$$3$$);
  var $resizableContentDomStyle$$1$$ = $component$$321_resizableContentDom$$3$$.style;
  return $resizableContentDomStyle$$1$$.height ? $AdfAgent$$.$getCSSLengthAsInt$($resizableContentDomStyle$$1$$.height) : $component$$321_resizableContentDom$$3$$.offsetHeight
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.GetComponentContentHeight", {$GetComponentContentHeight$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentHeight$});
$AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$ = function $$AdfDhtmlPanelWindowBasePeer$$$$_getResizableContentDom$$($component$$322$$) {
  var $clientId$$49$$ = $component$$322$$.$getClientId$(), $resizableContentDom$$4_resizableContentId$$ = $JSCompiler_alias_NULL$$, $resizableContentDom$$4_resizableContentId$$ = $JSCompiler_alias_NULL$$;
  $component$$322$$.$getProperty$("resize") == $AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_ON$ || $component$$322$$.$getProperty$("stretchChildren") == $AdfDhtmlPanelWindowBasePeer$$.$_STRETCH_CHILDREN_FIRST$ ? ($resizableContentDom$$4_resizableContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$49$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_CENTER_SUBID$), $resizableContentDom$$4_resizableContentId$$ = $AdfAgent$$.$AGENT$.getElementById($resizableContentDom$$4_resizableContentId$$), $AdfAssert$$.$assertDomElement$($resizableContentDom$$4_resizableContentId$$, 
  "DIV")) : ($resizableContentDom$$4_resizableContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$49$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_SUBID$), $resizableContentDom$$4_resizableContentId$$ = $AdfAgent$$.$AGENT$.getElementById($resizableContentDom$$4_resizableContentId$$), $AdfAssert$$.$assertDomElement$($resizableContentDom$$4_resizableContentId$$, "TD"));
  return $resizableContentDom$$4_resizableContentId$$
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$_getPopupWindow$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$_getPopupWindow$$($component$$323_popupParent_popups$$1$$) {
  var $popupWindow$$13$$ = $JSCompiler_alias_NULL$$, $popupParentPeer_pw$$ = ($component$$323_popupParent_popups$$1$$ = $component$$323_popupParent_popups$$1$$.getParent()) ? $component$$323_popupParent_popups$$1$$.$getPeer$() : $JSCompiler_alias_NULL$$;
  if($popupParentPeer_pw$$) {
    if($popupParentPeer_pw$$.bind($component$$323_popupParent_popups$$1$$), $component$$323_popupParent_popups$$1$$ instanceof AdfRichPopup) {
      $popupWindow$$13$$ = $popupParentPeer_pw$$.$getPopupWindow$($component$$323_popupParent_popups$$1$$, $component$$323_popupParent_popups$$1$$.$getClientId$())
    }else {
      $component$$323_popupParent_popups$$1$$ = $popupParentPeer_pw$$.$getAllPopups$($component$$323_popupParent_popups$$1$$);
      for(var $prop$$8$$ in $component$$323_popupParent_popups$$1$$) {
        if($popupParentPeer_pw$$ = $component$$323_popupParent_popups$$1$$[$prop$$8$$], $popupParentPeer_pw$$ instanceof $AdfDhtmlSimpleFloat$$) {
          $popupWindow$$13$$ = $popupParentPeer_pw$$;
          break
        }
      }
    }
  }
  $AdfAssert$$.$assertPrototypeOrNull$($popupWindow$$13$$, $AdfDhtmlSimpleFloat$$);
  return $popupWindow$$13$$
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$BindToComponent$$($component$$324$$, $domElement$$43$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$superclass$.$BindToComponent$.call(this, $component$$324$$, $domElement$$43$$);
  if($AdfPage$$.$PAGE$.$isCoreBackgroundScriptLoaded$()) {
    var $popupWindow$$14$$ = this.$_getPopupWindow$($component$$324$$);
    $popupWindow$$14$$ && $popupWindow$$14$$.$handleBindToComponent$()
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$BindToComponent$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentRemoved$$($component$$325_popupWindow$$15$$) {
  ($component$$325_popupWindow$$15$$ = this.$_getPopupWindow$($component$$325_popupWindow$$15$$)) && $component$$325_popupWindow$$15$$.$handleComponentRemoved$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$calculateMinimumContentSize$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$calculateMinimumContentSize$$() {
  var $clientId$$50_minTitleBarWidth$$ = this.$getComponent$().$getClientId$(), $agent$$61_minHeight_minWidth$$ = $AdfAgent$$.$AGENT$, $sizableContentDom_sizableContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$50_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_CENTER_SUBID$), $sizableContentDom_sizableContentId$$ = $agent$$61_minHeight_minWidth$$.getElementById($sizableContentDom_sizableContentId$$);
  $AdfAssert$$.$assertDomElement$($sizableContentDom_sizableContentId$$, "DIV");
  if(!$sizableContentDom_sizableContentId$$.hasAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_SIZED_FOR_MINIMUMS_EXPANDO$)) {
    var $titleBarId$$1_titleBarOffsetWidth$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$50_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_CENTER_EDGE_SUBID$), $titleBarContainerDom_titleBarDoms$$ = $agent$$61_minHeight_minWidth$$.getElementById($titleBarId$$1_titleBarOffsetWidth$$);
    $AdfAssert$$.$assertDomElement$($titleBarContainerDom_titleBarDoms$$, "TD");
    for(var $titleBarId$$1_titleBarOffsetWidth$$ = Math.max(1, $titleBarContainerDom_titleBarDoms$$.offsetWidth), $sizableContentHeight_titleBarTextId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$50_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_TITLE_BAR_SUBID$), $titleBarContainerDom_titleBarDoms$$ = $titleBarContainerDom_titleBarDoms$$.getElementsByTagName("TD"), $n$$4$$ = $clientId$$50_minTitleBarWidth$$ = 0;$n$$4$$ < $titleBarContainerDom_titleBarDoms$$.length;$n$$4$$++) {
      var $titleBarDom$$ = $titleBarContainerDom_titleBarDoms$$[$n$$4$$], $oldTitleWidth$$ = $JSCompiler_alias_NULL$$;
      $titleBarDom$$.id && $titleBarDom$$.id == $sizableContentHeight_titleBarTextId$$ && ($oldTitleWidth$$ = $titleBarDom$$.style.width, $titleBarDom$$.style.width = "1px");
      for(var $children$$9$$ = $AdfDomUtils$$.$getChildElements$($titleBarDom$$), $i$$132$$ = 0;$i$$132$$ < $children$$9$$.length;$i$$132$$++) {
        var $child$$3$$ = $children$$9$$[$i$$132$$], $clientId$$50_minTitleBarWidth$$ = $clientId$$50_minTitleBarWidth$$ + $agent$$61_minHeight_minWidth$$.$getOuterWidth$($child$$3$$, $child$$3$$.offsetWidth)
      }
      $titleBarDom$$.id && $titleBarDom$$.id == $sizableContentHeight_titleBarTextId$$ && ($titleBarDom$$.style.width = $oldTitleWidth$$)
    }
    $agent$$61_minHeight_minWidth$$ = $AdfAgent$$.$getCSSLengthAsInt$($sizableContentDom_sizableContentId$$.style.minWidth);
    $agent$$61_minHeight_minWidth$$ = Math.max($agent$$61_minHeight_minWidth$$, $clientId$$50_minTitleBarWidth$$);
    $sizableContentDom_sizableContentId$$.style.minWidth = $agent$$61_minHeight_minWidth$$ + "px";
    $agent$$61_minHeight_minWidth$$ = $AdfAgent$$.$getCSSLengthAsInt$($sizableContentDom_sizableContentId$$.style.minHeight);
    $sizableContentHeight_titleBarTextId$$ = Math.max(1, $sizableContentDom_sizableContentId$$.offsetHeight);
    $agent$$61_minHeight_minWidth$$ = Math.max($agent$$61_minHeight_minWidth$$, Math.round($clientId$$50_minTitleBarWidth$$ / $titleBarId$$1_titleBarOffsetWidth$$ * $sizableContentHeight_titleBarTextId$$));
    $sizableContentDom_sizableContentId$$.style.minHeight = $agent$$61_minHeight_minWidth$$ + "px";
    $sizableContentDom_sizableContentId$$.setAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_SIZED_FOR_MINIMUMS_EXPANDO$, "1")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.calculateMinimumContentSize", {$calculateMinimumContentSize$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$calculateMinimumContentSize$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetResizeGhostSelector$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$GetResizeGhostSelector$$() {
  return $AdfDhtmlPanelWindowBasePeer$$.$_PANEL_WINDOW_RESIZE_GHOST_CLASS$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.GetResizeGhostSelector", {$GetResizeGhostSelector$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetResizeGhostSelector$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$_handleResizeDrag$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$_handleResizeDrag$$($evt$$61_mousePos$$1$$) {
  var $agent$$63_prevTop$$ = $AdfAgent$$.$AGENT$, $minGhostWidth_scrollTop$$6$$ = $agent$$63_prevTop$$.$getBrowserViewportScrollTop$(), $minGhostHeight_scrollLeft$$12$$ = $agent$$63_prevTop$$.$getBrowserViewportScrollLeft$(), $ghostTop_maxWindowWidth$$ = $agent$$63_prevTop$$.getWindowWidth(), $ghostLeft_maxWindowHeight$$ = $agent$$63_prevTop$$.getWindowHeight(), $eventTargetSubId$$1$$ = this.$_eventTargetSubId$;
  $AdfAssert$$.$assertString$($eventTargetSubId$$1$$);
  var $ghostDom_ghostDomStyle$$ = this.$_ghost$;
  $AdfAssert$$.$assertDomElement$($ghostDom_ghostDomStyle$$, "DIV");
  var $ghostDom_ghostDomStyle$$ = $ghostDom_ghostDomStyle$$.style, $ghostWidth$$1$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.width), $ghostHeight$$1$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.height);
  $evt$$61_mousePos$$1$$ = $agent$$63_prevTop$$.$getMousePosition$($evt$$61_mousePos$$1$$);
  if(!($evt$$61_mousePos$$1$$.x < $minGhostHeight_scrollLeft$$12$$ || $evt$$61_mousePos$$1$$.x > $ghostTop_maxWindowWidth$$ + $minGhostHeight_scrollLeft$$12$$ || $evt$$61_mousePos$$1$$.y < $minGhostWidth_scrollTop$$6$$ || $evt$$61_mousePos$$1$$.y > $ghostLeft_maxWindowHeight$$ + $minGhostWidth_scrollTop$$6$$)) {
    var $minGhostWidth_scrollTop$$6$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.minWidth), $minGhostHeight_scrollLeft$$12$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.minHeight), $ghostTop_maxWindowWidth$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.top), $ghostLeft_maxWindowHeight$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostDom_ghostDomStyle$$.left), $agent$$63_prevTop$$ = $ghostTop_maxWindowWidth$$, $prevLeft$$ = $ghostLeft_maxWindowHeight$$, $prevGhostWidth$$ = 
    $ghostWidth$$1$$, $prevGhostHeight$$ = $ghostHeight$$1$$;
    switch($eventTargetSubId$$1$$) {
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_START_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$61_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$63_prevTop$$ - $evt$$61_mousePos$$1$$.y;
        $ghostLeft_maxWindowHeight$$ = $evt$$61_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$61_mousePos$$1$$.x;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$63_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_CENTER_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$61_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$63_prevTop$$ - $evt$$61_mousePos$$1$$.y;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$63_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_END_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$61_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$63_prevTop$$ - $evt$$61_mousePos$$1$$.y;
        $ghostWidth$$1$$ = $evt$$61_mousePos$$1$$.x - $prevLeft$$;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$63_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_START_EDGE_SUBID$:
        $ghostLeft_maxWindowHeight$$ = $evt$$61_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$61_mousePos$$1$$.x;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_END_EDGE_SUBID$:
        $ghostWidth$$1$$ = $evt$$61_mousePos$$1$$.x - $prevLeft$$;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_RESIZE_START_ICON_SUBID$:
      ;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_START_EDGE_SUBID$:
        $ghostLeft_maxWindowHeight$$ = $evt$$61_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$61_mousePos$$1$$.x;
        $ghostHeight$$1$$ = $evt$$61_mousePos$$1$$.y - $agent$$63_prevTop$$;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostHeight$$1$$ = $prevGhostHeight$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_CENTER_EDGE_SUBID$:
        $ghostHeight$$1$$ = $evt$$61_mousePos$$1$$.y - $agent$$63_prevTop$$;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostHeight$$1$$ = $prevGhostHeight$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_RESIZE_END_ICON_SUBID$:
      ;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_END_EDGE_SUBID$:
        $ghostHeight$$1$$ = $evt$$61_mousePos$$1$$.y - $agent$$63_prevTop$$, $ghostWidth$$1$$ = $evt$$61_mousePos$$1$$.x - $prevLeft$$, $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostHeight$$1$$ = $prevGhostHeight$$), $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$6$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$)
    }
    $agent$$63_prevTop$$ != $ghostTop_maxWindowWidth$$ && ($ghostDom_ghostDomStyle$$.top = $ghostTop_maxWindowWidth$$ + "px");
    $prevLeft$$ != $ghostLeft_maxWindowHeight$$ && ($ghostDom_ghostDomStyle$$.left = $ghostLeft_maxWindowHeight$$ + "px");
    $prevGhostHeight$$ != $ghostHeight$$1$$ && ($ghostDom_ghostDomStyle$$.height = $ghostHeight$$1$$ + "px");
    $prevGhostWidth$$ != $ghostWidth$$1$$ && ($ghostDom_ghostDomStyle$$.width = $ghostWidth$$1$$ + "px")
  }
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$_handleResizeDrop$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$_handleResizeDrop$$() {
  var $page$$42$$ = $AdfPage$$.$PAGE$, $ghost$$1$$ = this.$_ghost$;
  $AdfAssert$$.$assertDomElement$($ghost$$1$$, "DIV");
  var $contentHeight$$5_ghostStyle$$1$$ = $ghost$$1$$.style, $popupWindow$$17$$ = this.$_popupWindow$;
  $AdfAssert$$.$assertPrototype$($popupWindow$$17$$, $AdfDhtmlSimpleFloat$$);
  var $component$$327_containedComponentId$$1$$ = $popupWindow$$17$$.$getContainedComponentClientId$();
  $AdfAssert$$.$assertString$($component$$327_containedComponentId$$1$$);
  var $initContentWidth$$ = this.$_initContentWidth$;
  $AdfAssert$$.$assertNumeric$($initContentWidth$$);
  var $initContentHeight$$ = this.$_initContentHeight$;
  $AdfAssert$$.$assertNumeric$($initContentHeight$$);
  var $resizableContentDom$$6$$ = this.$_resizableContentDom$;
  $AdfAssert$$.$assertDomElement$($resizableContentDom$$6$$, "DIV");
  var $contentToChromeDeltaX$$1_contentWidth$$6$$ = this.$_contentToChromeDeltaX$;
  $AdfAssert$$.$assertNumeric$($contentToChromeDeltaX$$1_contentWidth$$6$$);
  var $contentToChromeDeltaY$$1$$ = this.$_contentToChromeDeltaY$;
  $AdfAssert$$.$assertNumeric$($contentToChromeDeltaY$$1$$);
  delete this.$_eventTargetSubId$;
  delete this.$_popupWindow$;
  delete this.$_initContentWidth$;
  delete this.$_initContentHeight$;
  delete this.$_resizableContentDom$;
  delete this.$_contentToChromeDeltaX$;
  delete this.$_contentToChromeDeltaY$;
  delete this.$_ghost$;
  var $top$$5$$ = $AdfAgent$$.$getCSSLengthAsInt$($contentHeight$$5_ghostStyle$$1$$.top), $left$$6$$ = $AdfAgent$$.$getCSSLengthAsInt$($contentHeight$$5_ghostStyle$$1$$.left), $contentToChromeDeltaX$$1_contentWidth$$6$$ = $AdfAgent$$.$getCSSLengthAsInt$($contentHeight$$5_ghostStyle$$1$$.width) - $contentToChromeDeltaX$$1_contentWidth$$6$$, $contentHeight$$5_ghostStyle$$1$$ = $AdfAgent$$.$getCSSLengthAsInt$($contentHeight$$5_ghostStyle$$1$$.height) - $contentToChromeDeltaY$$1$$;
  if(($component$$327_containedComponentId$$1$$ = $page$$42$$.$findComponent$($component$$327_containedComponentId$$1$$)) && $component$$327_containedComponentId$$1$$.getContentWidth && $component$$327_containedComponentId$$1$$.getContentHeight) {
    $component$$327_containedComponentId$$1$$.$getPeer$().bind($component$$327_containedComponentId$$1$$), $contentToChromeDeltaX$$1_contentWidth$$6$$ != $initContentWidth$$ && $component$$327_containedComponentId$$1$$.setProperty(AdfRichPanelWindow.CONTENT_WIDTH, $contentToChromeDeltaX$$1_contentWidth$$6$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$), $contentHeight$$5_ghostStyle$$1$$ != $initContentHeight$$ && $component$$327_containedComponentId$$1$$.setProperty(AdfRichPanelWindow.CONTENT_HEIGHT, 
    $contentHeight$$5_ghostStyle$$1$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
  }
  $page$$42$$.$getZOrderManager$().$removeElement$($ghost$$1$$);
  $popupWindow$$17$$.$autoSize$();
  $page$$42$$.$doResizeNotifyDom$($resizableContentDom$$6$$, $JSCompiler_alias_FALSE$$);
  $popupWindow$$17$$.$setDragging$($JSCompiler_alias_FALSE$$);
  $popupWindow$$17$$.$setShadowVisibility$($JSCompiler_alias_TRUE$$);
  $popupWindow$$17$$.setPosition($top$$5$$, $left$$6$$)
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$_handleResizeAbort$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$_handleResizeAbort$$() {
  var $ghost$$2$$ = this.$_ghost$;
  $AdfAssert$$.$assertDomElement$($ghost$$2$$, "DIV");
  delete this.$_eventTargetSubId$;
  delete this.$_popupWindow$;
  delete this.$_initContentWidth$;
  delete this.$_initContentHeight$;
  delete this.$_resizableContentDom$;
  delete this.$_contentToChromeDeltaX$;
  delete this.$_contentToChromeDeltaY$;
  delete this.$_ghost$;
  $AdfPage$$.$PAGE$.$getZOrderManager$().$removeElement$($ghost$$2$$)
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$isContentResized$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$isContentResized$$($component$$328_resized$$) {
  var $peer$$63$$ = $component$$328_resized$$.$getPeer$();
  $peer$$63$$.bind($component$$328_resized$$);
  return($component$$328_resized$$ = $peer$$63$$.$getDomElement$().getAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$)) && "1" == $component$$328_resized$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.isContentResized", {$isContentResized$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$isContentResized$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$getAnimationDurationSkinProperty$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$getAnimationDurationSkinProperty$$() {
  return $AdfDhtmlPanelWindowBasePeer$$.$_ANIMATION_DURATION_SKIN_PROPERTY$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.getAnimationDurationSkinProperty", {$getAnimationDurationSkinProperty$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$getAnimationDurationSkinProperty$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$getAnimateSkinProperty$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$getAnimateSkinProperty$$() {
  return $AdfDhtmlPanelWindowBasePeer$$.$_ANIMATE_SKIN_PROPERTY$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.getAnimateSkinProperty", {$getAnimateSkinProperty$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$getAnimateSkinProperty$});
