var $AdfDhtmlPanelBoxPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlPanelBoxPeer", !1);
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer", $AdfDhtmlPanelBoxPeer$$);
$AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$ = "_afrDscl";
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.DISCLOSURE_SUB_ID", $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
$AdfDhtmlPanelBoxPeer$$.$_INNER_SD_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlShowDisclosurePeer$$, "InnerPBShowDetailPeer", $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
InnerPBShowDetailPeer.$InitSubclass$ = function $InnerPBShowDetailPeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {$toggledStyleClass$:"af|panelBox::disclosed-icon-style", $untoggledStyleClass$:"af|panelBox::undisclosed-icon-style"});
};
InnerPBShowDetailPeer.prototype.$HandleClientSideToggle$ = function $InnerPBShowDetailPeer$$$HandleClientSideToggle$$($disclosed$$8$$) {
  return this.$outerThis$.$GetContentDomElement$() && InnerPBShowDetailPeer.$superclass$.$HandleClientSideToggle$.call(this, $disclosed$$8$$) ? (this.$outerThis$.$__handleClientSideDisclosure$($disclosed$$8$$), !0) : !1;
};
InnerPBShowDetailPeer.prototype.$EventPropagatesToServer$ = function $InnerPBShowDetailPeer$$$EventPropagatesToServer$$($isExpanded$$3$$) {
  var $value$$227$$ = InnerPBShowDetailPeer.$superclass$.$EventPropagatesToServer$.call(this);
  if (0 == $value$$227$$) {
    var $component$$1682$$ = this.$outerThis$.$getComponent$();
    if ("lazy" === $component$$1682$$.getPropertyValue("contentDelivery") && null == this.$outerThis$.$GetContentDomElement$() || 0 == $isExpanded$$3$$ && $AdfPage$$.$PAGE$.$_dirtyStateService$.$hasDirtyData$($component$$1682$$)) {
      $value$$227$$ = !0;
    }
  }
  return $value$$227$$;
};
$AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$ = "_afrMax";
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.MAXIMIZE_SUB_ID", $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
$AdfDhtmlPanelBoxPeer$$.$_INNER_MAXIMIZE_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlMaximizePeer$$, "InnerPBMaximizePeer", $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
InnerPBMaximizePeer.$InitSubclass$ = function $InnerPBMaximizePeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {toggledStyleClass:"af|panelBox::maximized-icon-style", untoggledStyleClass:"af|panelBox::unmaximized-icon-style"});
};
InnerPBMaximizePeer.prototype.$HandleClientSideToggle$ = function $InnerPBMaximizePeer$$$HandleClientSideToggle$$($maximized$$2$$) {
  var $outerThis$$1$$ = this.$outerThis$, $contentDom$$20$$ = $outerThis$$1$$.$GetContentDomElement$();
  return $contentDom$$20$$ && InnerPBMaximizePeer.$superclass$.$HandleClientSideToggle$.call(this, $maximized$$2$$) ? ($outerThis$$1$$.$__handleClientSideMaximize$($outerThis$$1$$.$getDomElement$(), $contentDom$$20$$, $maximized$$2$$), !0) : !1;
};
InnerPBMaximizePeer.prototype.$ComponentMaximizedChanged$ = function $InnerPBMaximizePeer$$$ComponentMaximizedChanged$$($component$$1683$$, $domElement$$363_handled$$2$$, $newValue$$115$$, $oldValue$$75$$) {
  $domElement$$363_handled$$2$$ = InnerPBMaximizePeer.$superclass$.$ComponentMaximizedChanged$.call(this, $component$$1683$$, $domElement$$363_handled$$2$$, $newValue$$115$$, $oldValue$$75$$);
  $newValue$$115$$ && $component$$1683$$.setDisclosed(!0);
  return $domElement$$363_handled$$2$$;
};
InnerPBMaximizePeer.prototype.$EventPropagatesToServer$ = function $InnerPBMaximizePeer$$$EventPropagatesToServer$$() {
  return !this.$outerThis$.$GetContentDomElement$();
};
$AdfDhtmlPanelBoxPeer$$.$InitSubclass$ = function $$AdfDhtmlPanelBoxPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPanelBox);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichPanelBox.DISCLOSED, AdfRichPanelBox.MAXIMIZED);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfDisclosureEvent$$.$EVENT_TYPE$, $AdfMaximizeEvent$$.$EVENT_TYPE$);
  this.$_DRAG_RECOGNIZER$ = new $AdfPanelBoxDragRecognizer$$;
};
$goog$exportSymbol$$("AdfDhtmlPanelBoxPeer.InitSubclass", $AdfDhtmlPanelBoxPeer$$.$InitSubclass$);
$AdfDhtmlPanelBoxPeer$$.prototype.Init = function $$AdfDhtmlPanelBoxPeer$$$$Init$($component$$1684$$) {
  $AdfDhtmlPanelBoxPeer$$.$superclass$.Init.call(this, $component$$1684$$);
  var $maximizeId_outerId$$1$$ = $component$$1684$$.$getClientId$(), $disclosureId$$ = $AdfRichUIPeer$$.$CreateSubId$($maximizeId_outerId$$1$$, $AdfDhtmlPanelBoxPeer$$.$DISCLOSURE_SUB_ID$);
  $AdfAgent$$.$AGENT$.getElementById($disclosureId$$) && (this.$_disclosurePeer$ = this.$CreateDisclosurePeer$($component$$1684$$));
  $maximizeId_outerId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($maximizeId_outerId$$1$$, $AdfDhtmlPanelBoxPeer$$.$MAXIMIZE_SUB_ID$);
  $AdfAgent$$.$AGENT$.getElementById($maximizeId_outerId$$1$$) && (this.$_maximizePeer$ = this.$CreateMaximizePeer$($component$$1684$$));
  this.$_ignoreUpAndDownArrowKey$ = "false" == $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelBox-tr-disclose-with-up-down-arrow");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.Init", {Init:$AdfDhtmlPanelBoxPeer$$.prototype.Init});
$AdfDhtmlPanelBoxPeer$$.prototype.$CreateDisclosurePeer$ = function $$AdfDhtmlPanelBoxPeer$$$$$CreateDisclosurePeer$$($component$$1685$$) {
  return new $AdfDhtmlPanelBoxPeer$$.$_INNER_SD_PEER$($component$$1685$$, this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.CreateDisclosurePeer", {$CreateDisclosurePeer$:$AdfDhtmlPanelBoxPeer$$.prototype.$CreateDisclosurePeer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$CreateMaximizePeer$ = function $$AdfDhtmlPanelBoxPeer$$$$$CreateMaximizePeer$$($component$$1686$$) {
  return new $AdfDhtmlPanelBoxPeer$$.$_INNER_MAXIMIZE_PEER$($component$$1686$$, this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.CreateMaximizePeer", {$CreateMaximizePeer$:$AdfDhtmlPanelBoxPeer$$.prototype.$CreateMaximizePeer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$initialize$ = function $$AdfDhtmlPanelBoxPeer$$$$$initialize$$($component$$1687$$) {
  var $disclosurePeer_maximizePeer$$ = this.$_disclosurePeer$;
  $disclosurePeer_maximizePeer$$ && $disclosurePeer_maximizePeer$$.$initialize$($component$$1687$$);
  ($disclosurePeer_maximizePeer$$ = this.$_maximizePeer$) && $disclosurePeer_maximizePeer$$.$initialize$($component$$1687$$);
  $AdfDhtmlPanelBoxPeer$$.$superclass$.$initialize$.call(this, $component$$1687$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.initialize", {$initialize$:$AdfDhtmlPanelBoxPeer$$.prototype.$initialize$});
$AdfDhtmlPanelBoxPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlPanelBoxPeer$$$$$InitDomElement$$($component$$1688$$, $rootElement$$122$$) {
  $AdfDhtmlPanelBoxPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1688$$, $rootElement$$122$$);
  var $contentDom$$21$$ = this.$GetContentDomElement$($rootElement$$122$$);
  $contentDom$$21$$ && ($JSCompiler_StaticMethods__checkAnimateDisclosure$$(this, $component$$1688$$, $contentDom$$21$$), this.$_maximizePeer$ && this.$__handleClientSideMaximize$($rootElement$$122$$, $contentDom$$21$$, $component$$1688$$.getMaximized()));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlPanelBoxPeer$$.prototype.$InitDomElement$});
$AdfDhtmlPanelBoxPeer$$.prototype.$GetContentDomElement$ = function $$AdfDhtmlPanelBoxPeer$$$$$GetContentDomElement$$($centerId_rootElement$$123$$) {
  $centerId_rootElement$$123$$ || ($centerId_rootElement$$123$$ = this.$getDomElement$());
  $centerId_rootElement$$123$$ = $AdfRichUIPeer$$.$CreateSubId$($centerId_rootElement$$123$$.id, "content");
  return $AdfAgent$$.$AGENT$.getElementById($centerId_rootElement$$123$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.GetContentDomElement", {$GetContentDomElement$:$AdfDhtmlPanelBoxPeer$$.prototype.$GetContentDomElement$});
$AdfDhtmlPanelBoxPeer$$.prototype.$GetAnimationDuration$ = function $$AdfDhtmlPanelBoxPeer$$$$$GetAnimationDuration$$() {
  return parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelBox-tr-animation-duration"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.GetAnimationDuration", {$GetAnimationDuration$:$AdfDhtmlPanelBoxPeer$$.prototype.$GetAnimationDuration$});
function $JSCompiler_StaticMethods__checkAnimateDisclosure$$($JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$, $component$$1689$$, $contentDom$$22$$) {
  if (null != $contentDom$$22$$ && "hidden" == $contentDom$$22$$.style.visibility) {
    var $contentOffsetHeight_disclosedHeight$$ = $contentDom$$22$$.style.height, $contentOffsetHeight_disclosedHeight$$ = $contentOffsetHeight_disclosedHeight$$ ? parseInt($contentOffsetHeight_disclosedHeight$$) : $contentDom$$22$$.offsetHeight, $wrapper$$23$$ = $contentDom$$22$$.ownerDocument.createElement("div");
    $wrapper$$23$$.style.overflow = "hidden";
    $wrapper$$23$$.style.height = "1px";
    $contentDom$$22$$.parentNode.replaceChild($wrapper$$23$$, $contentDom$$22$$);
    $wrapper$$23$$.appendChild($contentDom$$22$$);
    $contentDom$$22$$.style.visibility = "visible";
    $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$ = $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$.$GetAnimationDuration$();
    $AdfDhtmlElementAnimator$animate$$(0, $JSCompiler_StaticMethods__checkAnimateDisclosure$self_animDuration$$4$$, [{element:$wrapper$$23$$, properties:{height:$contentOffsetHeight_disclosedHeight$$}}], null, $AdfDhtmlPanelBoxPeer$$.$_handleAfterDiscloseAnimate$, [$wrapper$$23$$, $contentDom$$22$$], $component$$1689$$);
  }
}
$AdfDhtmlPanelBoxPeer$$.$_handleAfterDiscloseAnimate$ = function $$AdfDhtmlPanelBoxPeer$$$$_handleAfterDiscloseAnimate$$($params$$55$$) {
  var $wrapperDom$$ = $params$$55$$[0], $parentElement$$10$$ = $wrapperDom$$.parentNode;
  null != $parentElement$$10$$ && $parentElement$$10$$.replaceChild($params$$55$$[1], $wrapperDom$$);
};
$AdfDhtmlPanelBoxPeer$$.$_handleAfterUndiscloseAnimateStub$ = function $$AdfDhtmlPanelBoxPeer$$$$_handleAfterUndiscloseAnimateStub$$($disclosedHeight$$inline_3247_params$$56$$) {
  var $component$$1691_event$$inline_3246$$ = $disclosedHeight$$inline_3247_params$$56$$[0], $contentDomStyle$$inline_3250_peer$$155$$ = $component$$1691_event$$inline_3246$$.$getPeer$();
  if (null != $contentDomStyle$$inline_3250_peer$$155$$) {
    $contentDomStyle$$inline_3250_peer$$155$$.bind($component$$1691_event$$inline_3246$$);
    $component$$1691_event$$inline_3246$$ = $disclosedHeight$$inline_3247_params$$56$$[1];
    $disclosedHeight$$inline_3247_params$$56$$ = $disclosedHeight$$inline_3247_params$$56$$[2];
    var $component$$inline_3248$$ = $contentDomStyle$$inline_3250_peer$$155$$.$getComponent$();
    if (!$component$$inline_3248$$.$isDead$()) {
      var $contentDom$$inline_3249$$ = $contentDomStyle$$inline_3250_peer$$155$$.$GetContentDomElement$();
      null != $contentDom$$inline_3249$$ && ($contentDom$$inline_3249$$.style.visibility = "hidden");
      $component$$inline_3248$$.$HandleEvent$.call($component$$inline_3248$$, $component$$1691_event$$inline_3246$$);
      $contentDomStyle$$inline_3250_peer$$155$$.$__handleClientSideDisclosure$(!1);
      $contentDom$$inline_3249$$ && ($contentDomStyle$$inline_3250_peer$$155$$ = $contentDom$$inline_3249$$.style, $contentDomStyle$$inline_3250_peer$$155$$.display = "none", $contentDomStyle$$inline_3250_peer$$155$$.height = $disclosedHeight$$inline_3247_params$$56$$ ? $disclosedHeight$$inline_3247_params$$56$$ : "");
    }
  }
};
$AdfDhtmlPanelBoxPeer$$.prototype.$DispatchUncanceledComponentEvent$ = function $$AdfDhtmlPanelBoxPeer$$$$$DispatchUncanceledComponentEvent$$($event$$264$$) {
  if ($AdfPage$$.$PAGE$.$isAnimationEnabled$() && $event$$264$$.getType() == $AdfDisclosureEvent$$.$EVENT_TYPE$ && !$event$$264$$.$isExpanded$()) {
    var $contentDom$$inline_3254$$ = this.$GetContentDomElement$(), $disclosedHeight$$inline_3255$$ = $contentDom$$inline_3254$$.style.height;
    $contentDom$$inline_3254$$.style.overflow = "hidden";
    var $animDuration$$inline_3256$$ = this.$GetAnimationDuration$(), $component$$inline_3257$$ = this.$getComponent$();
    $AdfDhtmlElementAnimator$animate$$(0, $animDuration$$inline_3256$$, [{element:$contentDom$$inline_3254$$, properties:{height:0}}], null, $AdfDhtmlPanelBoxPeer$$.$_handleAfterUndiscloseAnimateStub$, [$component$$inline_3257$$, $event$$264$$, $disclosedHeight$$inline_3255$$], $component$$inline_3257$$);
    return !0;
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.DispatchUncanceledComponentEvent", {$DispatchUncanceledComponentEvent$:$AdfDhtmlPanelBoxPeer$$.prototype.$DispatchUncanceledComponentEvent$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentClick$$($componentEvent$$355$$) {
  var $disclosurePeer$$1_maximizePeer$$1$$ = this.$_disclosurePeer$;
  $disclosurePeer$$1_maximizePeer$$1$$ && $disclosurePeer$$1_maximizePeer$$1$$.$HandleComponentClick$($componentEvent$$355$$);
  ($disclosurePeer$$1_maximizePeer$$1$$ = this.$_maximizePeer$) && $disclosurePeer$$1_maximizePeer$$1$$.$HandleComponentClick$($componentEvent$$355$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentKeyUp$$($componentEvent$$356$$) {
  var $disclosurePeer$$2_maximizePeer$$2$$ = this.$_disclosurePeer$;
  if ($disclosurePeer$$2_maximizePeer$$2$$) {
    var $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = !0;
    this.$_ignoreUpAndDownArrowKey$ && ($handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $componentEvent$$356$$.$getNativeEvent$(), $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($handleKeystroke_keyCode$$92_nativeEvent$$46$$), $handleKeystroke_keyCode$$92_nativeEvent$$46$$ = $handleKeystroke_keyCode$$92_nativeEvent$$46$$ != $AdfKeyStroke$$.$ARROWUP_KEY$ && $handleKeystroke_keyCode$$92_nativeEvent$$46$$ != $AdfKeyStroke$$.$ARROWDOWN_KEY$);
    $handleKeystroke_keyCode$$92_nativeEvent$$46$$ && $disclosurePeer$$2_maximizePeer$$2$$.$HandleComponentKeyUp$($componentEvent$$356$$);
  }
  ($disclosurePeer$$2_maximizePeer$$2$$ = this.$_maximizePeer$) && $disclosurePeer$$2_maximizePeer$$2$$.$HandleComponentKeyUp$($componentEvent$$356$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentDisclosure$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentDisclosure$$($componentEvent$$357$$) {
  var $disclosurePeer$$3$$ = this.$_disclosurePeer$;
  $disclosurePeer$$3$$ && $disclosurePeer$$3$$.$HandleComponentDisclosure$($componentEvent$$357$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentDisclosure$});
$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentMaximize$ = function $$AdfDhtmlPanelBoxPeer$$$$$HandleComponentMaximize$$($componentEvent$$358$$) {
  var $maximizePeer$$3$$ = this.$_maximizePeer$;
  $maximizePeer$$3$$ && $maximizePeer$$3$$.$HandleComponentMaximize$($componentEvent$$358$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.HandleComponentMaximize", {$HandleComponentMaximize$:$AdfDhtmlPanelBoxPeer$$.prototype.$HandleComponentMaximize$});
$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentDisclosedChanged$ = function $$AdfDhtmlPanelBoxPeer$$$$$ComponentDisclosedChanged$$($component$$1693$$, $domElement$$364$$, $newValue$$116$$, $oldValue$$76$$) {
  var $disclosurePeer$$4$$ = this.$_disclosurePeer$;
  return $disclosurePeer$$4$$ ? $disclosurePeer$$4$$.$ComponentDisclosedChanged$($component$$1693$$, $domElement$$364$$, $newValue$$116$$, $oldValue$$76$$) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.ComponentDisclosedChanged", {$ComponentDisclosedChanged$:$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentDisclosedChanged$});
$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentMaximizedChanged$ = function $$AdfDhtmlPanelBoxPeer$$$$$ComponentMaximizedChanged$$($component$$1694$$, $domElement$$365$$, $newValue$$117$$, $oldValue$$77$$) {
  var $maximizePeer$$4$$ = this.$_maximizePeer$;
  return $maximizePeer$$4$$ ? $maximizePeer$$4$$.$ComponentMaximizedChanged$($component$$1694$$, $domElement$$365$$, $newValue$$117$$, $oldValue$$77$$) : !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.ComponentMaximizedChanged", {$ComponentMaximizedChanged$:$AdfDhtmlPanelBoxPeer$$.prototype.$ComponentMaximizedChanged$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__isEventForHeaderControls$ = function $$AdfDhtmlPanelBoxPeer$$$$$__isEventForHeaderControls$$($nativeEvent$$47$$) {
  var $clickForHeaderControls$$ = !1, $disclosurePeer$$5_maximizePeer$$5$$ = this.$_disclosurePeer$;
  $disclosurePeer$$5_maximizePeer$$5$$ && ($clickForHeaderControls$$ |= $disclosurePeer$$5_maximizePeer$$5$$.$isEventForButton$($nativeEvent$$47$$));
  ($disclosurePeer$$5_maximizePeer$$5$$ = this.$_maximizePeer$) && ($clickForHeaderControls$$ |= $disclosurePeer$$5_maximizePeer$$5$$.$isEventForButton$($nativeEvent$$47$$));
  return $clickForHeaderControls$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__isEventForHeaderControls", {$__isEventForHeaderControls$:$AdfDhtmlPanelBoxPeer$$.prototype.$__isEventForHeaderControls$});
$AdfDhtmlPanelBoxPeer$$.prototype.$getDefaultDragRecognizer$ = function $$AdfDhtmlPanelBoxPeer$$$$$getDefaultDragRecognizer$$() {
  return $AdfDhtmlPanelBoxPeer$$.$_DRAG_RECOGNIZER$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.getDefaultDragRecognizer", {$getDefaultDragRecognizer$:$AdfDhtmlPanelBoxPeer$$.prototype.$getDefaultDragRecognizer$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideDisclosure$ = function $$AdfDhtmlPanelBoxPeer$$$$$__handleClientSideDisclosure$$($disclosed$$9$$) {
  var $contentDom$$26$$ = this.$GetContentDomElement$(), $contentParent$$3_domElement$$366$$ = $contentDom$$26$$.parentNode, $bottomElement$$1_contentDomStyle$$1$$ = $contentDom$$26$$.style, $animationEnabled$$3_stretched$$ = $AdfPage$$.$PAGE$.$isAnimationEnabled$();
  $disclosed$$9$$ ? ($animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.visibility = "hidden"), $bottomElement$$1_contentDomStyle$$1$$.display = "", $contentParent$$3_domElement$$366$$.style.display = "") : $animationEnabled$$3_stretched$$ || ($contentParent$$3_domElement$$366$$.style.display = "none", $bottomElement$$1_contentDomStyle$$1$$.display = "none");
  $contentParent$$3_domElement$$366$$ = this.$getDomElement$();
  $bottomElement$$1_contentDomStyle$$1$$ = $contentParent$$3_domElement$$366$$.lastChild;
  $animationEnabled$$3_stretched$$ = "DIV" == $AdfAgent$$.$AGENT$.$getNodeName$($bottomElement$$1_contentDomStyle$$1$$);
  $disclosed$$9$$ ? ($animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.style.top = ""), $JSCompiler_StaticMethods__checkAnimateDisclosure$$(this, this.$getComponent$(), $contentDom$$26$$)) : $animationEnabled$$3_stretched$$ && ($bottomElement$$1_contentDomStyle$$1$$.style.top = $contentParent$$3_domElement$$366$$.firstChild.clientHeight + "px");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__handleClientSideDisclosure", {$__handleClientSideDisclosure$:$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideDisclosure$});
$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideMaximize$ = function $$AdfDhtmlPanelBoxPeer$$$$$__handleClientSideMaximize$$($disclosureElement_disclosurePeer$$6_rootDom$$3$$, $contentDom$$27$$, $maximized$$3$$) {
  $AdfAssert$$.$assertDomElement$($disclosureElement_disclosurePeer$$6_rootDom$$3$$);
  $AdfAssert$$.$assertDomElement$($contentDom$$27$$);
  $AdfAssert$$.$assertBoolean$($maximized$$3$$);
  this.$_maximizePeer$.$__updateClientMaximize$($disclosureElement_disclosurePeer$$6_rootDom$$3$$, $contentDom$$27$$, $maximized$$3$$);
  if ($disclosureElement_disclosurePeer$$6_rootDom$$3$$ = this.$_disclosurePeer$) {
    if ($disclosureElement_disclosurePeer$$6_rootDom$$3$$ = $disclosureElement_disclosurePeer$$6_rootDom$$3$$.$GetButtonElement$()) {
      $disclosureElement_disclosurePeer$$6_rootDom$$3$$.style.display = $maximized$$3$$ ? "none" : "block";
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelBoxPeer.prototype.__handleClientSideMaximize", {$__handleClientSideMaximize$:$AdfDhtmlPanelBoxPeer$$.prototype.$__handleClientSideMaximize$});
function $AdfPanelBoxDragRecognizer$$() {
  this.Init();
}
$goog$exportSymbol$$("AdfPanelBoxDragRecognizer", $AdfPanelBoxDragRecognizer$$);
$AdfObject$$.$createSubclass$($AdfPanelBoxDragRecognizer$$, $AdfDragRecognizer$$);
$AdfPanelBoxDragRecognizer$$.prototype.$prepDrag$ = function $$AdfPanelBoxDragRecognizer$$$$$prepDrag$$($dndContext$$84$$, $dragSource$$19$$, $inputEvent$$62$$) {
  $AdfAssert$$.$assertPrototype$($dragSource$$19$$, $AdfDragSource$$);
  $AdfAssert$$.$assertPrototype$($inputEvent$$62$$, $AdfUIInputEvent$$);
  if ($AdfAgent$$.$AGENT$.$isDragPrepEvent$($inputEvent$$62$$)) {
    var $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $dragSource$$19$$.$getComponent$();
    $AdfAssert$$.$assertObject$($dragComponent$$1_headerTable$$3_rootDom$$4$$, "Unexpected null component.");
    var $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $dragComponent$$1_headerTable$$3_rootDom$$4$$.$getPeer$(), $nativeEvent$$48$$ = $inputEvent$$62$$.$getNativeEvent$();
    if (!$dragPeer$$1_nativeTarget$$4_nodeName$$10$$.$__isEventForHeaderControls$($nativeEvent$$48$$) && ($AdfAssert$$.assert($dragPeer$$1_nativeTarget$$4_nodeName$$10$$, "Unexpected null peer."), $dragPeer$$1_nativeTarget$$4_nodeName$$10$$.bind($dragComponent$$1_headerTable$$3_rootDom$$4$$), $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $dragPeer$$1_nativeTarget$$4_nodeName$$10$$.$getDomElement$(), $dragComponent$$1_headerTable$$3_rootDom$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($dragComponent$$1_headerTable$$3_rootDom$$4$$)) && 
    ($dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $AdfAgent$$.$AGENT$.$getNodeName$($dragComponent$$1_headerTable$$3_rootDom$$4$$), "TABLE" != $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ && ($dragComponent$$1_headerTable$$3_rootDom$$4$$ = $AdfDomUtils$$.$getFirstChildElement$($dragComponent$$1_headerTable$$3_rootDom$$4$$), $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $AdfAgent$$.$AGENT$.$getNodeName$($dragComponent$$1_headerTable$$3_rootDom$$4$$)), "TABLE" == $dragPeer$$1_nativeTarget$$4_nodeName$$10$$ && 
    ($dragPeer$$1_nativeTarget$$4_nodeName$$10$$ = $inputEvent$$62$$.$getNativeEventTarget$(), $AdfDomUtils$$.$isAncestorOrSelf$($dragComponent$$1_headerTable$$3_rootDom$$4$$, $dragPeer$$1_nativeTarget$$4_nodeName$$10$$)))) {
      return $AdfPanelBoxDragRecognizer$$.$superclass$.$prepDrag$.apply(this, arguments);
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfPanelBoxDragRecognizer.prototype.prepDrag", {$prepDrag$:$AdfPanelBoxDragRecognizer$$.prototype.$prepDrag$});
