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.$_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$$119$$) {
  this.$Cancel$();
  $AdfAgent$$.$AGENT$.$eatEvent$($event$$119$$.$getNativeEvent$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.handleEscapeKey", {$handleEscapeKey$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$handleEscapeKey$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyDown$$($componentEvent$$88$$) {
  if (!$componentEvent$$88$$.$isCanceled$()) {
    var $agent$$109$$ = $AdfAgent$$.$AGENT$, $evt$$69$$ = $componentEvent$$88$$.$getNativeEvent$(), $eventTarget$$32$$ = $agent$$109$$.$getEventTarget$($evt$$69$$);
    $evt$$69$$.keyCode == $AdfKeyStroke$$.$TAB_KEY$ ? ($evt$$69$$.shiftKey ? $AdfFocusUtils$$.$focusPreviousTabStop$($eventTarget$$32$$, this.$getDomElement$(), 0, null, !0) : $AdfFocusUtils$$.$focusNextTabStop$($eventTarget$$32$$, this.$getDomElement$(), null, null, !0), $agent$$109$$.$eatEvent$($evt$$69$$), $componentEvent$$88$$.$stopBubbling$()) : $evt$$69$$.keyCode == $AdfKeyStroke$$.$ESC_KEY$ && (this.$handleEscapeKey$($componentEvent$$88$$), $componentEvent$$88$$.$stopBubbling$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyPress$$($componentEvent$$89$$) {
  $componentEvent$$89$$.$isCanceled$() || ($componentEvent$$89$$.$getNativeEvent$(), $componentEvent$$89$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && (this.$IsClose$($componentEvent$$89$$) ? ($componentEvent$$89$$.cancel(), $componentEvent$$89$$.$stopBubbling$(), this.$Cancel$()) : this.$IsPin$($componentEvent$$89$$) && this.$Pin$()));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentKeyUp$$($componentEvent$$90$$) {
  if (!$componentEvent$$90$$.$isCanceled$()) {
    var $nativeEvent$$26$$ = $componentEvent$$90$$.$getNativeEvent$(), $keyCode$$35$$ = $componentEvent$$90$$.$getKeyCode$();
    $keyCode$$35$$ == $AdfKeyStroke$$.$SPACE_KEY$ ? this.$IsClose$($componentEvent$$90$$) && (this.$Cancel$(), $componentEvent$$90$$.cancel(), $componentEvent$$90$$.$stopBubbling$()) : $nativeEvent$$26$$.ctrlKey && $nativeEvent$$26$$.altKey && $keyCode$$35$$ == $AdfKeyStroke$$.$W_KEY$ && !this.$getComponent$().getModal() && ($AdfDhtmlDialogManager$$.$getInstance$().$focusNextModelessDialog$(), $componentEvent$$90$$.cancel(), $componentEvent$$90$$.$stopBubbling$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentFocus$$($componentEvent$$91$$) {
  $componentEvent$$91$$.$getEventPhase$() == $AdfBaseEvent$$.$AT_TARGET_PHASE$ && $componentEvent$$91$$ instanceof $AdfDomComponentFocusEvent$$ && $JSCompiler_StaticMethods__handleActivate$$(this, $componentEvent$$91$$, !1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentFocus$});
function $JSCompiler_StaticMethods__handleActivate$$($JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$, $componentEvent$$92$$, $focusOnFirstElement$$) {
  if (!$componentEvent$$92$$.$isCanceled$()) {
    var $component$$645$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$getComponent$(), $componentDom$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$getDomElement$(), $eventTargetDom$$ = $componentEvent$$92$$.$getNativeEventTarget$();
    $AdfDomUtils$$.$isAncestorOrSelf$($componentDom$$, $eventTargetDom$$) && ($JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$ = $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$_getPopupWindow$($component$$645$$)) && $JSCompiler_StaticMethods__handleActivate$self_popupWindow$$11$$.$handleActivate$($focusOnFirstElement$$) && ($componentEvent$$92$$.cancel(), $componentEvent$$92$$.$stopBubbling$());
  }
}
function $JSCompiler_StaticMethods__handleMouseDownTouchStart$$($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$, $componentEvent$$93$$) {
  $JSCompiler_StaticMethods__handleActivate$$($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$, $componentEvent$$93$$, !0);
  var $component$$646_popupWindow$$12$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$getComponent$();
  if ($component$$646_popupWindow$$12$$ == $componentEvent$$93$$.getSource() && $component$$646_popupWindow$$12$$.$getProperty$("resize") == $AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_ON$ && !$AdfPage$$.$PAGE$.$isDragging$()) {
    var $nativeEvent$$27$$ = $componentEvent$$93$$.$getNativeEvent$(), $agent$$110_targetNodeStyle$$inline_834$$ = $AdfAgent$$.$AGENT$, $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$ = $agent$$110_targetNodeStyle$$inline_834$$.$getEventTarget$($nativeEvent$$27$$), $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.id;
    if ($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ && ($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$.split("::"), 1 < $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$.length && 
    ($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$[$containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$.length - 1], -1 < $AdfCollections$$.indexOf($AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_DRAG_SOURCE_SUBIDS$, 
    $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$) && ($component$$646_popupWindow$$12$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_getPopupWindow$($component$$646_popupWindow$$12$$)) && !$component$$646_popupWindow$$12$$.$isAnimating$() && $AdfDomUtils$$.$isAncestorOrSelf$($component$$646_popupWindow$$12$$.$getContent$(), $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$)))) {
      $agent$$110_targetNodeStyle$$inline_834$$.preventDefault($nativeEvent$$27$$);
      var $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$ = $AdfPage$$.$PAGE$, $agent$$inline_833_minContentHeight$$inline_842$$ = $AdfAgent$$.$AGENT$, $agent$$110_targetNodeStyle$$inline_834$$ = $agent$$inline_833_minContentHeight$$inline_842$$.$getEventTarget$($nativeEvent$$27$$).style;
      $AdfAssert$$.$assertString$($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_eventTargetSubId$ = $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$;
      $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $component$$646_popupWindow$$12$$.$getContainedComponentClientId$();
      $AdfAssert$$.$assertString$($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_popupWindow$ = $component$$646_popupWindow$$12$$;
      $AdfAssert$$.$assertPrototype$($component$$646_popupWindow$$12$$, $AdfDhtmlSimpleFloat$$);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$calculateMinimumContentSize$();
      var $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $AdfRichUIPeer$$.$createSubId$($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_CENTER_SUBID$), $ghost$$inline_843_resizableContentDom$$inline_837$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_resizableContentDom$ = 
      $agent$$inline_833_minContentHeight$$inline_842$$.getElementById($containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$);
      $AdfAssert$$.$assertDomElement$($ghost$$inline_843_resizableContentDom$$inline_837$$, "DIV");
      var $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$ = $ghost$$inline_843_resizableContentDom$$inline_837$$.style, $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.width), $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.height), 
      $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.minWidth), $agent$$inline_833_minContentHeight$$inline_842$$ = $AdfAgent$$.$getCSSLengthAsInt$($ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.minHeight);
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_initContentWidth$ = $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ = 0 < $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ ? $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ : $ghost$$inline_843_resizableContentDom$$inline_837$$.offsetWidth;
      $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_initContentHeight$ = $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ = 0 < $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ ? $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ : $ghost$$inline_843_resizableContentDom$$inline_837$$.offsetHeight;
      $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.height = $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ + "px";
      $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$.width = $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ + "px";
      $ghost$$inline_843_resizableContentDom$$inline_837$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_ghost$ = $ghost$$inline_843_resizableContentDom$$inline_837$$.ownerDocument.createElement("div");
      $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$ = $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.$getLookAndFeel$().getStyleClass($JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$GetResizeGhostSelector$());
      $AdfDomUtils$$.$addCSSClassName$($ghost$$inline_843_resizableContentDom$$inline_837$$, $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$);
      var $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$ = $component$$646_popupWindow$$12$$.getWidth() - 2, $ghostHeight$$inline_846$$ = $component$$646_popupWindow$$12$$.getHeight() - 2, $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_contentToChromeDeltaX$ = $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$ - $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$, 
      $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ = $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_contentToChromeDeltaY$ = $ghostHeight$$inline_846$$ - $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$;
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.$getZOrderManager$().$addElementToLayer$($ghost$$inline_843_resizableContentDom$$inline_837$$, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_WINDOW$);
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$ = $ghost$$inline_843_resizableContentDom$$inline_837$$.style;
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.cursor = $agent$$110_targetNodeStyle$$inline_834$$.cursor;
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.top = $component$$646_popupWindow$$12$$.$getTop$() + "px";
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.left = $component$$646_popupWindow$$12$$.$getLeft$() + "px";
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.width = $ghostClassName$$inline_844_ghostWidth$$inline_845_resizableContentDomStyle$$inline_838$$ + "px";
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.height = $ghostHeight$$inline_846$$ + "px";
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.minWidth = $containedComponentId$$inline_835_lastToken$$1_minContentWidth$$inline_841_resizableContentId$$inline_836_targetId$$6_tokens$$12$$ + $contentToChromeDeltaX$$inline_847_contentWidth$$inline_839$$ + "px";
      $ghostStyle$$inline_849_page$$inline_832_targetNode$$17$$.minHeight = $agent$$inline_833_minContentHeight$$inline_842$$ + $contentHeight$$inline_840_contentToChromeDeltaY$$inline_848$$ + "px";
      $component$$646_popupWindow$$12$$.$setDragging$(!0);
      $component$$646_popupWindow$$12$$.$setShadowVisibility$(!1);
      $AdfPage$$.$PAGE$.$startDrag$($nativeEvent$$27$$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeDrag$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeDrop$, $JSCompiler_StaticMethods__handleMouseDownTouchStart$self$$.$_onResizeAbort$, !0);
      $componentEvent$$93$$.cancel();
    }
  }
}
$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$HandleComponentClick$$($componentEvent$$94$$) {
  $componentEvent$$94$$.$isLeftButtonPressed$() && (this.$IsClose$($componentEvent$$94$$) ? this.$Cancel$() : this.$IsPin$($componentEvent$$94$$) && this.$Pin$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsClose$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$IsClose$$($componentEvent$$95_target$$102$$) {
  $componentEvent$$95_target$$102$$ = $componentEvent$$95_target$$102$$.$getNativeEventTarget$();
  var $closeId_component$$647$$ = this.$getComponent$(), $closeId_component$$647$$ = $AdfRichUIPeer$$.$CreateSubId$($closeId_component$$647$$.$getClientId$(), "close");
  return $componentEvent$$95_target$$102$$.id == $closeId_component$$647$$ ? !0 : $componentEvent$$95_target$$102$$.parentNode.id == $closeId_component$$647$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.IsClose", {$IsClose$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsClose$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$IsPin$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$IsPin$$($componentEvent$$96_target$$103$$) {
  $componentEvent$$96_target$$103$$ = $componentEvent$$96_target$$103$$.$getNativeEventTarget$();
  var $component$$648_pinId$$ = this.$getComponent$(), $component$$648_pinId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$648_pinId$$.$getClientId$(), "pin");
  return $componentEvent$$96_target$$103$$.id == $component$$648_pinId$$ ? !0 : $componentEvent$$96_target$$103$$.parentNode.id == $component$$648_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$$651$$, $usage$$4$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$superclass$.Init.call(this, $component$$651$$, $usage$$4$$);
  this.$_onResizeDrag$ = this.$createCallback$(this.$_handleResizeDrag$);
  this.$_onResizeDrop$ = this.$createCallback$(this.$_handleResizeDrop$);
  this.$createCallback$(this.$_handleResizeAbort$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.Init", {Init:$AdfDhtmlPanelWindowBasePeer$$.prototype.Init});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$InitDomElement$$($component$$652$$) {
  var $parent$$15$$ = $component$$652$$.getParent();
  null == $parent$$15$$ && ($parent$$15$$ = $component$$652$$);
  var $childHints$$1$$ = {};
  $childHints$$1$$.modal = $component$$652$$.getModal();
  $childHints$$1$$.dragElement = this.$getDragElement$();
  "none" != $component$$652$$.getInitialFocus() || $component$$652$$.getModal() ? $childHints$$1$$.focus = !0 : $childHints$$1$$.focus = !1;
  $childHints$$1$$.autodismiss = "autodismissInactivate";
  $childHints$$1$$.type = "dialogWindow";
  $childHints$$1$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_OVERLAP$;
  $childHints$$1$$.componentEventsEnabled = !0;
  $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$$653_titleDiv_titleId$$, $agent$$111_domElement$$40$$, $newValue$$33$$) {
  $agent$$111_domElement$$40$$ = $AdfAgent$$.$AGENT$;
  $component$$653_titleDiv_titleId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$653_titleDiv_titleId$$.$getClientId$(), "_ttxt");
  $component$$653_titleDiv_titleId$$ = $agent$$111_domElement$$40$$.getElementById($component$$653_titleDiv_titleId$$);
  $agent$$111_domElement$$40$$.$setTextContent$($component$$653_titleDiv_titleId$$, $newValue$$33$$);
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentTitleChanged", {$ComponentTitleChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleIconSourceChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentTitleIconSourceChanged$$($component$$654_titleIconDiv_titleIconId$$, $agent$$112_domElement$$41$$, $newValue$$34$$) {
  $agent$$112_domElement$$41$$ = $AdfAgent$$.$AGENT$;
  $component$$654_titleIconDiv_titleIconId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$654_titleIconDiv_titleIconId$$.$getClientId$(), "_ticn");
  $component$$654_titleIconDiv_titleIconId$$ = $agent$$112_domElement$$41$$.getElementById($component$$654_titleIconDiv_titleIconId$$);
  var $icon$$ = $agent$$112_domElement$$41$$.$getDomDocument$().createElement("img");
  $icon$$.alt = "";
  $agent$$112_domElement$$41$$.$setImageSource$($icon$$, $newValue$$34$$);
  $newValue$$34$$ ? ($component$$654_titleIconDiv_titleIconId$$.hasChildNodes() ? $component$$654_titleIconDiv_titleIconId$$.replaceChild($icon$$, $component$$654_titleIconDiv_titleIconId$$.firstChild) : $component$$654_titleIconDiv_titleIconId$$.appendChild($icon$$), $AdfDomUtils$$.setVisible($component$$654_titleIconDiv_titleIconId$$, !0)) : $AdfDomUtils$$.setVisible($component$$654_titleIconDiv_titleIconId$$, !1);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentTitleIconSourceChanged", {$ComponentTitleIconSourceChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentTitleIconSourceChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentWidthChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentContentWidthChanged$$($component$$655$$, $domElement$$42$$, $newValue$$35$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$655$$).style.width = $newValue$$35$$ + "px";
  $domElement$$42$$.setAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$, "1");
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentContentWidthChanged", {$ComponentContentWidthChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentWidthChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentHeightChanged$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentContentHeightChanged$$($component$$656$$, $domElement$$43$$, $newValue$$36$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$656$$).style.height = $newValue$$36$$ + "px";
  $domElement$$43$$.setAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$, "1");
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentContentHeightChanged", {$ComponentContentHeightChanged$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentContentHeightChanged$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentWidth$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$GetComponentContentWidth$$($component$$657_resizableContentDom$$2$$) {
  $component$$657_resizableContentDom$$2$$ = $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$657_resizableContentDom$$2$$);
  var $resizableContentDomStyle$$ = $component$$657_resizableContentDom$$2$$.style;
  return $resizableContentDomStyle$$.width ? $AdfAgent$$.$getCSSLengthAsInt$($resizableContentDomStyle$$.width) : $component$$657_resizableContentDom$$2$$.offsetWidth;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.GetComponentContentWidth", {$GetComponentContentWidth$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentWidth$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentHeight$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$GetComponentContentHeight$$($component$$658_resizableContentDom$$3$$) {
  $component$$658_resizableContentDom$$3$$ = $AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$($component$$658_resizableContentDom$$3$$);
  var $resizableContentDomStyle$$1$$ = $component$$658_resizableContentDom$$3$$.style;
  return $resizableContentDomStyle$$1$$.height ? $AdfAgent$$.$getCSSLengthAsInt$($resizableContentDomStyle$$1$$.height) : $component$$658_resizableContentDom$$3$$.offsetHeight;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.GetComponentContentHeight", {$GetComponentContentHeight$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$GetComponentContentHeight$});
$AdfDhtmlPanelWindowBasePeer$$.$_getResizableContentDom$ = function $$AdfDhtmlPanelWindowBasePeer$$$$_getResizableContentDom$$($component$$659$$) {
  var $clientId$$100$$ = $component$$659$$.$getClientId$(), $resizableContentDom$$4_resizableContentId$$ = null, $resizableContentDom$$4_resizableContentId$$ = null;
  $component$$659$$.$getProperty$("resize") == $AdfDhtmlPanelWindowBasePeer$$.$_RESIZE_ON$ || $component$$659$$.$getProperty$("stretchChildren") == $AdfDhtmlPanelWindowBasePeer$$.$_STRETCH_CHILDREN_FIRST$ ? ($resizableContentDom$$4_resizableContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$100$$, $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$$100$$, $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$$660_popupParent_popups$$1$$) {
  var $popupWindow$$13$$ = null, $popupParentPeer_pw$$ = ($component$$660_popupParent_popups$$1$$ = $component$$660_popupParent_popups$$1$$.getParent()) ? $component$$660_popupParent_popups$$1$$.$getPeer$() : null;
  if ($popupParentPeer_pw$$) {
    if ($popupParentPeer_pw$$.bind($component$$660_popupParent_popups$$1$$), $component$$660_popupParent_popups$$1$$ instanceof AdfRichPopup) {
      $popupWindow$$13$$ = $popupParentPeer_pw$$.$getPopupWindow$($component$$660_popupParent_popups$$1$$, $component$$660_popupParent_popups$$1$$.$getClientId$());
    } else {
      $component$$660_popupParent_popups$$1$$ = $popupParentPeer_pw$$.$getAllPopups$($component$$660_popupParent_popups$$1$$);
      for (var $prop$$10$$ in $component$$660_popupParent_popups$$1$$) {
        if ($popupParentPeer_pw$$ = $component$$660_popupParent_popups$$1$$[$prop$$10$$], $popupParentPeer_pw$$ instanceof $AdfDhtmlSimpleFloat$$) {
          $popupWindow$$13$$ = $popupParentPeer_pw$$;
          break;
        }
      }
    }
  }
  $AdfAssert$$.$assertPrototypeOrNull$($popupWindow$$13$$, $AdfDhtmlSimpleFloat$$);
  return $popupWindow$$13$$;
};
$AdfDhtmlPanelWindowBasePeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$BindToComponent$$($component$$661$$, $domElement$$46$$) {
  $AdfDhtmlPanelWindowBasePeer$$.$superclass$.$BindToComponent$.call(this, $component$$661$$, $domElement$$46$$);
  if ($AdfPage$$.$PAGE$.$isCoreBackgroundScriptLoaded$()) {
    var $popupWindow$$14$$ = this.$_getPopupWindow$($component$$661$$);
    $popupWindow$$14$$ && $popupWindow$$14$$.$handleBindToComponent$();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$BindToComponent$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$ComponentRemoved$$($component$$662_popupWindow$$15$$) {
  ($component$$662_popupWindow$$15$$ = this.$_getPopupWindow$($component$$662_popupWindow$$15$$)) && $component$$662_popupWindow$$15$$.$handleComponentRemoved$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelWindowBasePeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlPanelWindowBasePeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlPanelWindowBasePeer$$.prototype.$calculateMinimumContentSize$ = function $$AdfDhtmlPanelWindowBasePeer$$$$$calculateMinimumContentSize$$() {
  var $clientId$$101_minTitleBarWidth$$ = this.$getComponent$().$getClientId$(), $agent$$113_minHeight_minWidth$$ = $AdfAgent$$.$AGENT$, $sizableContentDom_sizableContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$101_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_CENTER_SUBID$), $sizableContentDom_sizableContentId$$ = $agent$$113_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$$101_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_CENTER_EDGE_SUBID$), $titleBarContainerDom_titleBarDoms$$ = $agent$$113_minHeight_minWidth$$.getElementById($titleBarId$$1_titleBarOffsetWidth$$);
    $AdfAssert$$.$assertDomElement$($titleBarContainerDom_titleBarDoms$$, "TD");
    for (var $titleBarId$$1_titleBarOffsetWidth$$ = Math.max(1, $titleBarContainerDom_titleBarDoms$$.offsetWidth), $titleBarTextId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$101_minTitleBarWidth$$, $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_TITLE_BAR_SUBID$), $titleBarContainerDom_titleBarDoms$$ = $titleBarContainerDom_titleBarDoms$$.getElementsByTagName("TD"), $n$$7$$ = $clientId$$101_minTitleBarWidth$$ = 0;$n$$7$$ < $titleBarContainerDom_titleBarDoms$$.length;$n$$7$$++) {
      var $titleBarDom$$ = $titleBarContainerDom_titleBarDoms$$[$n$$7$$], $oldTitleWidth$$ = null;
      $titleBarDom$$.id && $titleBarDom$$.id == $titleBarTextId$$ && ($oldTitleWidth$$ = $titleBarDom$$.style.width, $titleBarDom$$.style.width = "1px");
      for (var $children$$10$$ = $AdfDomUtils$$.$getChildElements$($titleBarDom$$), $i$$208$$ = 0;$i$$208$$ < $children$$10$$.length;$i$$208$$++) {
        var $child$$6$$ = $children$$10$$[$i$$208$$], $clientId$$101_minTitleBarWidth$$ = $clientId$$101_minTitleBarWidth$$ + $agent$$113_minHeight_minWidth$$.$getOuterWidth$($child$$6$$, $child$$6$$.offsetWidth)
      }
      $titleBarDom$$.id && $titleBarDom$$.id == $titleBarTextId$$ && ($titleBarDom$$.style.width = $oldTitleWidth$$);
    }
    $agent$$113_minHeight_minWidth$$ = $AdfAgent$$.$getCSSLengthAsInt$($sizableContentDom_sizableContentId$$.style.minWidth);
    $agent$$113_minHeight_minWidth$$ = Math.max($agent$$113_minHeight_minWidth$$, $clientId$$101_minTitleBarWidth$$);
    $sizableContentDom_sizableContentId$$.style.minWidth = $agent$$113_minHeight_minWidth$$ + "px";
    $agent$$113_minHeight_minWidth$$ = $AdfAgent$$.$getCSSLengthAsInt$($sizableContentDom_sizableContentId$$.style.minHeight);
    $agent$$113_minHeight_minWidth$$ = Math.max($agent$$113_minHeight_minWidth$$, Math.round($clientId$$101_minTitleBarWidth$$ / $titleBarId$$1_titleBarOffsetWidth$$ * Math.max(1, $sizableContentDom_sizableContentId$$.offsetHeight)));
    $sizableContentDom_sizableContentId$$.style.minHeight = $agent$$113_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$$71_mousePos$$1$$) {
  var $agent$$115_prevTop$$ = $AdfAgent$$.$AGENT$, $minGhostWidth_scrollTop$$9$$ = $agent$$115_prevTop$$.$getBrowserViewportScrollTop$(), $minGhostHeight_scrollLeft$$12$$ = $agent$$115_prevTop$$.$getBrowserViewportScrollLeft$(), $ghostTop_maxWindowWidth$$ = $agent$$115_prevTop$$.getWindowWidth(), $ghostLeft_maxWindowHeight$$ = $agent$$115_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$$71_mousePos$$1$$ = $agent$$115_prevTop$$.$getMousePosition$($evt$$71_mousePos$$1$$);
  if (!($evt$$71_mousePos$$1$$.x < $minGhostHeight_scrollLeft$$12$$ || $evt$$71_mousePos$$1$$.x > $ghostTop_maxWindowWidth$$ + $minGhostHeight_scrollLeft$$12$$ || $evt$$71_mousePos$$1$$.y < $minGhostWidth_scrollTop$$9$$ || $evt$$71_mousePos$$1$$.y > $ghostLeft_maxWindowHeight$$ + $minGhostWidth_scrollTop$$9$$)) {
    var $minGhostWidth_scrollTop$$9$$ = $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$$115_prevTop$$ = $ghostTop_maxWindowWidth$$, $prevLeft$$ = $ghostLeft_maxWindowHeight$$, $prevGhostWidth$$ = 
    $ghostWidth$$1$$, $prevGhostHeight$$ = $ghostHeight$$1$$;
    switch($eventTargetSubId$$1$$) {
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_START_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$71_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$115_prevTop$$ - $evt$$71_mousePos$$1$$.y;
        $ghostLeft_maxWindowHeight$$ = $evt$$71_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$71_mousePos$$1$$.x;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$115_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_CENTER_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$71_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$115_prevTop$$ - $evt$$71_mousePos$$1$$.y;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$115_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_HEADER_END_EDGE_SUBID$:
        $ghostTop_maxWindowWidth$$ = $evt$$71_mousePos$$1$$.y;
        $ghostHeight$$1$$ += $agent$$115_prevTop$$ - $evt$$71_mousePos$$1$$.y;
        $ghostWidth$$1$$ = $evt$$71_mousePos$$1$$.x - $prevLeft$$;
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostTop_maxWindowWidth$$ = $agent$$115_prevTop$$, $ghostHeight$$1$$ = $prevGhostHeight$$);
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_START_EDGE_SUBID$:
        $ghostLeft_maxWindowHeight$$ = $evt$$71_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$71_mousePos$$1$$.x;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_END_EDGE_SUBID$:
        $ghostWidth$$1$$ = $evt$$71_mousePos$$1$$.x - $prevLeft$$;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_RESIZE_START_ICON_SUBID$:
      ;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_START_EDGE_SUBID$:
        $ghostLeft_maxWindowHeight$$ = $evt$$71_mousePos$$1$$.x;
        $ghostWidth$$1$$ += $prevLeft$$ - $evt$$71_mousePos$$1$$.x;
        $ghostHeight$$1$$ = $evt$$71_mousePos$$1$$.y - $agent$$115_prevTop$$;
        $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostLeft_maxWindowHeight$$ = $prevLeft$$, $ghostWidth$$1$$ = $prevGhostWidth$$);
        $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostHeight$$1$$ = $prevGhostHeight$$);
        break;
      case $AdfDhtmlPanelWindowBasePeer$$.$_FOOTER_CENTER_EDGE_SUBID$:
        $ghostHeight$$1$$ = $evt$$71_mousePos$$1$$.y - $agent$$115_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$$71_mousePos$$1$$.y - $agent$$115_prevTop$$, $ghostWidth$$1$$ = $evt$$71_mousePos$$1$$.x - $prevLeft$$, $ghostHeight$$1$$ < $minGhostHeight_scrollLeft$$12$$ && ($ghostHeight$$1$$ = $prevGhostHeight$$), $ghostWidth$$1$$ < $minGhostWidth_scrollTop$$9$$ && ($ghostWidth$$1$$ = $prevGhostWidth$$);
    }
    $agent$$115_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$$60$$ = $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$$664_containedComponentId$$1$$ = $popupWindow$$17$$.$getContainedComponentClientId$();
  $AdfAssert$$.$assertString$($component$$664_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$$;
  ($component$$664_containedComponentId$$1$$ = $page$$60$$.$findComponent$($component$$664_containedComponentId$$1$$)) && $component$$664_containedComponentId$$1$$.getContentWidth && $component$$664_containedComponentId$$1$$.getContentHeight && ($component$$664_containedComponentId$$1$$.$getPeer$().bind($component$$664_containedComponentId$$1$$), $contentToChromeDeltaX$$1_contentWidth$$6$$ != $initContentWidth$$ && $component$$664_containedComponentId$$1$$.setProperty(AdfRichPanelWindow.CONTENT_WIDTH, 
  $contentToChromeDeltaX$$1_contentWidth$$6$$, !0, !0), $contentHeight$$5_ghostStyle$$1$$ != $initContentHeight$$ && $component$$664_containedComponentId$$1$$.setProperty(AdfRichPanelWindow.CONTENT_HEIGHT, $contentHeight$$5_ghostStyle$$1$$, !0, !0));
  $page$$60$$.$getZOrderManager$().$removeElement$($ghost$$1$$);
  $popupWindow$$17$$.$autoSize$();
  $page$$60$$.$doResizeNotifyDom$($resizableContentDom$$6$$, !1);
  $popupWindow$$17$$.$setDragging$(!1);
  $popupWindow$$17$$.$setShadowVisibility$(!0);
  $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$$665_resized$$) {
  var $peer$$80$$ = $component$$665_resized$$.$getPeer$();
  $peer$$80$$.bind($component$$665_resized$$);
  return ($component$$665_resized$$ = $peer$$80$$.$getDomElement$().getAttribute($AdfDhtmlPanelWindowBasePeer$$.$_CONTENT_RESIZED_INDICATOR_EXPANDO$)) && "1" == $component$$665_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$});
