var $AdfDhtmlPanelAccordionPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfRichUIPeer$$, "AdfDhtmlPanelAccordionPeer", !1);
$goog$exportSymbol$$("AdfDhtmlPanelAccordionPeer", $AdfDhtmlPanelAccordionPeer$$);
$AdfDhtmlPanelAccordionPeer$$.$InitSubclass$ = function $$AdfDhtmlPanelAccordionPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$, $AdfUIInputEvent$$.$BLUR_EVENT_TYPE$);
  $AdfAgent$$.$AGENT$.$isTouchFirstDevice$() || $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$MOUSE_OUT_EVENT_TYPE$, $AdfUIInputEvent$$.$MOUSE_IN_EVENT_TYPE$, $AdfDisclosureEvent$$.$EVENT_TYPE$);
  this.$_ATTRIBUTE_ROWKEY$ = "_afrPaKey";
  this.$_ATTRIBUTE_TOOLBAR$ = "_afrTbr";
  this.$_ATTRIBUTE_EVENT_TYPE$ = "_afrEvtTp";
  this.$_ATTRIBUTE_DISCLOSED$ = "_afrDscl";
  this.$_EVENT_TYPE_DISCLOSURE$ = "disclosure";
  this.$_OVERFLOW_START_POPUP$ = "_afrOfwSrt";
  this.$_OVERFLOW_END_POPUP$ = "_afrOfwEnd";
  this.$_MOVE_UP_SUB_ID$ = "moveUp";
  this.$_MOVE_DOWN_SUB_ID$ = "moveDown";
  this.$_ITEM_RESIZE_DRAG_SUB_ID$ = "ndrag";
  this.$_DISCLOSURE_BTN_SUB_ID$ = "btn";
  this.$_DISCLOSURE_SUB_ID$ = "disAcr";
  this.$_HEADER_SUB_ID$ = "head";
  this.$_SELECTED_PSEUDO_CLASS$ = "p_AFSelected";
  this.$_HIGHLIGHT_PSEUDO_CLASS$ = "p_AFHighlight";
  this.$_DISCLOSED_PSEUDO_CLASS$ = "p_AFDisclosed";
  this.$_DROP_TARGET_SUB_ID$ = "dropTarget";
  this.$_DRAG_GHOST_CLASS$ = "af|panelAccordion::ghost";
  this.$_HEADER_CLASS$ = "af|panelAccordion::header";
  this.$_HEADER_SUBSEQUENT_CLASS$ = "af|panelAccordion::header-subsequent";
  this.$_DISCLOSED_ICON_STYLE_CLASS$ = "af|panelAccordion::disclosed-icon-style";
  this.$_UNDISCLOSED_ICON_STYLE_CLASS$ = "af|panelAccordion::undisclosed-icon-style";
  this.$_DISCLOSE_PHASE1_ANIMATION_DURATION_FACTOR$ = 1;
  this.$_DISCLOSE_PHASE2_ANIMATION_DURATION_FACTOR$ = .5;
  this.$_LEADING_NON_ITEM_NODE_COUNT$ = 1;
  this.$_TRAILING_NON_ITEM_NODE_COUNT$ = 4;
  this.$_BOTTOM_OVERFLOW_OFFSET$ = 3;
  this.$_DISCLOSABLE_STYLECLASS$ = "p_AFDisclosable";
  this.$_DISCLOSED_STYLECLASS$ = "p_AFDisclosed";
  this.$_DISABLED_STYLECLASS$ = "p_AFDisabled";
  this.$_DEPRESSED_STYLE_CLASS$ = "p_AFDepressed";
  this.$_DRAG_STYLECLASS$ = "p_AFDrag";
  this.$_FLOW_STYLECLASS$ = "p_AFFlow";
  this.$_MINIMUM_INFLEXIBLE_HEIGHT$ = "af|panelAccordion-tr-minimum-resizable-height";
};
$goog$exportSymbol$$("AdfDhtmlPanelAccordionPeer.InitSubclass", $AdfDhtmlPanelAccordionPeer$$.$InitSubclass$);
$AdfDhtmlPanelAccordionPeer$$.prototype.Init = function $$AdfDhtmlPanelAccordionPeer$$$$Init$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.Init.call(this, $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$);
  var $agent$$460$$ = $AdfAgent$$.$AGENT$;
  $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$ = $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$.$getClientId$();
  var $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "overflowTop"), $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = $agent$$460$$.getElementById($mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$.tabIndex = 0;
  var $mouseAwayFromStartOverflow_showStartOverflow$$ = this.$createCallback$(this.$_startOverflowButtonPressed$);
  $agent$$460$$.$addBubbleEventListener$($mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$, "mousedown", $mouseAwayFromStartOverflow_showStartOverflow$$);
  $agent$$460$$.$addBubbleEventListener$($mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$, "keydown", $mouseAwayFromStartOverflow_showStartOverflow$$);
  $mouseAwayFromStartOverflow_showStartOverflow$$ = this.$createCallback$(this.$_mouseAwayFromStartOverflowButton$);
  $agent$$460$$.$addBubbleEventListener$($mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$, "mouseup", $mouseAwayFromStartOverflow_showStartOverflow$$);
  $agent$$460$$.$addBubbleEventListener$($mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$, "mouseout", $mouseAwayFromStartOverflow_showStartOverflow$$);
  $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "overflowBottom");
  $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$ = $agent$$460$$.getElementById($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$);
  $component$$1666_endIndicator$$2_id$$331_overflowBottomId$$.tabIndex = 0;
  $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = this.$createCallback$(this.$_endOverflowButtonPressed$);
  $agent$$460$$.$addBubbleEventListener$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "mousedown", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $agent$$460$$.$addBubbleEventListener$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "keydown", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = this.$createCallback$(this.$_mouseAwayFromEndOverflowButton$);
  $agent$$460$$.$addBubbleEventListener$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "mouseup", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $agent$$460$$.$addBubbleEventListener$($component$$1666_endIndicator$$2_id$$331_overflowBottomId$$, "mouseout", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  this.$_onResizeDrag$ = this.$createCallback$(this.$_handleResizeDrag$);
  this.$_onResizeDrop$ = this.$createCallback$(this.$_handleResizeDrop$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.Init", {Init:$AdfDhtmlPanelAccordionPeer$$.prototype.Init});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlPanelAccordionPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_startOverflowButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_startOverflowButtonPressed$$($event$$254$$) {
  var $agent$$461$$ = $AdfAgent$$.$AGENT$, $eventType$$45_targetElement$$36$$ = $event$$254$$.type;
  if ("keydown" != $eventType$$45_targetElement$$36$$ || $event$$254$$.keyCode == $AdfKeyStroke$$.$ENTER_KEY$ || $event$$254$$.keyCode == $AdfKeyStroke$$.$SPACE_KEY$ || $event$$254$$.keyCode == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
    if ("mousedown" == $eventType$$45_targetElement$$36$$ && $event$$254$$.button && $event$$254$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
      $agent$$461$$.$eatEvent$($event$$254$$);
    } else {
      if (!this.$_discloseAnimationData$) {
        var $currElement$$13$$ = $agent$$461$$.$getEventTarget$($event$$254$$);
        "mousedown" == $eventType$$45_targetElement$$36$$ && ($eventType$$45_targetElement$$36$$ = $agent$$461$$.$getEventTarget$($event$$254$$), this.$_setDepressedStyle$($eventType$$45_targetElement$$36$$, !0));
        this.$hidePopup$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_END_POPUP$);
        paneCutoffIndex = this.$_lastTopOverflowPaneIndex$;
        null != paneCutoffIndex && $JSCompiler_StaticMethods__showOverflowMenu$$(this, $currElement$$13$$, !1, $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_START_POPUP$);
        $agent$$461$$.$eatEvent$($event$$254$$);
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_endOverflowButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_endOverflowButtonPressed$$($event$$255$$) {
  var $agent$$462$$ = $AdfAgent$$.$AGENT$, $eventType$$46_targetElement$$37$$ = $event$$255$$.type;
  if ("keydown" != $eventType$$46_targetElement$$37$$ || $event$$255$$.keyCode == $AdfKeyStroke$$.$ENTER_KEY$ || $event$$255$$.keyCode == $AdfKeyStroke$$.$SPACE_KEY$ || $event$$255$$.keyCode == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
    if ("mousedown" == $eventType$$46_targetElement$$37$$ && $event$$255$$.button && $event$$255$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
      $agent$$462$$.$eatEvent$($event$$255$$);
    } else {
      if (!this.$_discloseAnimationData$) {
        var $currElement$$14$$ = $agent$$462$$.$getEventTarget$($event$$255$$);
        "mousedown" == $eventType$$46_targetElement$$37$$ && ($eventType$$46_targetElement$$37$$ = $agent$$462$$.$getEventTarget$($event$$255$$), this.$_setDepressedStyle$($eventType$$46_targetElement$$37$$, !0));
        this.$hidePopup$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_START_POPUP$);
        paneCutoffIndex = this.$_firstBottomOverflowPaneIndex$;
        null != paneCutoffIndex && $JSCompiler_StaticMethods__showOverflowMenu$$(this, $currElement$$14$$, !0, $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_END_POPUP$);
        $agent$$462$$.$eatEvent$($event$$255$$);
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_mouseAwayFromStartOverflowButton$ = function $$JSCompiler_prototypeAlias$$$$_mouseAwayFromStartOverflowButton$$($event$$256_targetElement$$38$$) {
  $event$$256_targetElement$$38$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$256_targetElement$$38$$);
  this.$_setDepressedStyle$($event$$256_targetElement$$38$$, !1);
};
$JSCompiler_prototypeAlias$$.$_mouseAwayFromEndOverflowButton$ = function $$JSCompiler_prototypeAlias$$$$_mouseAwayFromEndOverflowButton$$($event$$257_targetElement$$39$$) {
  $event$$257_targetElement$$39$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$257_targetElement$$39$$);
  this.$_setDepressedStyle$($event$$257_targetElement$$39$$, !1);
};
$JSCompiler_prototypeAlias$$.$_setDepressedStyle$ = function $$JSCompiler_prototypeAlias$$$$_setDepressedStyle$$($targetElement$$40$$, $depressed$$7$$) {
  var $className$$27$$ = $AdfDhtmlPanelAccordionPeer$$.$_DEPRESSED_STYLE_CLASS$;
  $depressed$$7$$ ? $AdfDomUtils$$.$addCSSClassName$($targetElement$$40$$, $className$$27$$) : $AdfDomUtils$$.$removeCSSClassName$($targetElement$$40$$, $className$$27$$);
};
$JSCompiler_prototypeAlias$$.$ReplaceDomElement$ = function $$JSCompiler_prototypeAlias$$$$ReplaceDomElement$$($newElement$$22$$, $oldElement$$12$$) {
  delete this.$_headerNodes$;
  if (0 < $newElement$$22$$.id.indexOf("optimizedData")) {
    var $newAnimationElements$$ = [], $oldAnimationElements$$ = [], $agent$$463$$ = $AdfAgent$$.$AGENT$, $discToggleDisplay_headerSubId_newChildren$$;
    $discToggleDisplay_headerSubId_newChildren$$ = $agent$$463$$.getAttribute($newElement$$22$$, "_afrDiscShw");
    null != $discToggleDisplay_headerSubId_newChildren$$ && ($agent$$463$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($discToggleDisplay_headerSubId_newChildren$$, "btn")).style.display = "", $discToggleDisplay_headerSubId_newChildren$$ = $AdfRichUIPeer$$.$createSubId$($discToggleDisplay_headerSubId_newChildren$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $AdfDomUtils$$.$addCSSClassName$($agent$$463$$.getElementById($discToggleDisplay_headerSubId_newChildren$$), $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSABLE_STYLECLASS$));
    $discToggleDisplay_headerSubId_newChildren$$ = $agent$$463$$.getAttribute($newElement$$22$$, "_afrDiscHd");
    null != $discToggleDisplay_headerSubId_newChildren$$ && ($agent$$463$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($discToggleDisplay_headerSubId_newChildren$$, "btn")).style.display = "none", $discToggleDisplay_headerSubId_newChildren$$ = $AdfRichUIPeer$$.$createSubId$($discToggleDisplay_headerSubId_newChildren$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $AdfDomUtils$$.$removeCSSClassName$($agent$$463$$.getElementById($discToggleDisplay_headerSubId_newChildren$$), $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSABLE_STYLECLASS$));
    $discToggleDisplay_headerSubId_newChildren$$ = $newElement$$22$$.childNodes;
    if (null != $discToggleDisplay_headerSubId_newChildren$$) {
      for (var $page$$153$$ = $AdfPage$$.$PAGE$, $i$$443$$ = $discToggleDisplay_headerSubId_newChildren$$.length - 1;-1 < $i$$443$$;--$i$$443$$) {
        var $newChild$$7$$ = $discToggleDisplay_headerSubId_newChildren$$[$i$$443$$];
        if (1 == $newChild$$7$$.nodeType) {
          $newElement$$22$$.removeChild($newChild$$7$$);
          var $replacedStyle_targetNode$$40$$ = $agent$$463$$.getElementById($newChild$$7$$.id);
          if (null == $replacedStyle_targetNode$$40$$) {
            $AdfLogger$$.$LOGGER$.severe('Unexpected unknown target node for accordion optimized DOM replacement with id\x3d"' + $newChild$$7$$.id + '".');
          } else {
            if ($page$$153$$.$removeComponentsInSubtree$($replacedStyle_targetNode$$40$$), $agent$$463$$.$elementsRemoved$($replacedStyle_targetNode$$40$$), $agent$$463$$.$replaceNode$($newChild$$7$$, $replacedStyle_targetNode$$40$$), $agent$$463$$.$elementsAdded$($newChild$$7$$), null != $newAnimationElements$$) {
              $oldAnimationElements$$.push($replacedStyle_targetNode$$40$$);
              $newAnimationElements$$.push($newChild$$7$$);
              var $replacedStyle_targetNode$$40$$ = $replacedStyle_targetNode$$40$$.style, $elemStyle$$ = $newChild$$7$$.style, $rootElement$$103$$ = this.$getDomElement$();
              $AdfDomUtils$$.$containsCSSClassName$($rootElement$$103$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$) || ($elemStyle$$.bottom = "", $elemStyle$$.top = $replacedStyle_targetNode$$40$$.top);
              this.$_discloseAnimationData$ && (this.$_discloseAnimationData$.$toBeUnDisclosedData$ && this.$_discloseAnimationData$.$toBeUnDisclosedData$.$bodyId$ == $newChild$$7$$.id || this.$_discloseAnimationData$.$toBeDisclosedData$ && this.$_discloseAnimationData$.$toBeDisclosedData$.$bodyId$ == $newChild$$7$$.id) && ($elemStyle$$.height = $replacedStyle_targetNode$$40$$.height);
            }
          }
        }
      }
    }
    null != $newAnimationElements$$ && $JSCompiler_StaticMethods__completeDisclosureAnimation$$(this, $oldAnimationElements$$, $newAnimationElements$$);
    this.$_restoreFocus$();
  } else {
    $AdfDhtmlPanelAccordionPeer$$.$superclass$.$ReplaceDomElement$.call(this, $newElement$$22$$, $oldElement$$12$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.ReplaceDomElement", {$ReplaceDomElement$:$AdfDhtmlPanelAccordionPeer$$.prototype.$ReplaceDomElement$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$DomReplaceNotify$ = function $$AdfDhtmlPanelAccordionPeer$$$$$DomReplaceNotify$$($domNode$$68$$) {
  delete this.$_headerNodes$;
  var $rootElement$$104$$ = this.$getDomElement$();
  return 0 < $domNode$$68$$.id.indexOf("optimizedData") ? (this.$_selectedChildId$ = $AdfAgent$$.$AGENT$.getAttribute($domNode$$68$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$), this.$_reallocateSize$ = !0, $rootElement$$104$$) : $domNode$$68$$.parentNode == $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$104$$) ? (this.$_reallocateSize$ = !0, $rootElement$$104$$) : $domNode$$68$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlPanelAccordionPeer$$.prototype.$DomReplaceNotify$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlPanelAccordionPeer$$$$$ComponentRemoved$$($component$$1667$$) {
  var $agent$$464$$ = $AdfAgent$$.$AGENT$, $endIndicator$$3_id$$333_overflowBottomId$$1$$ = $component$$1667$$.$getClientId$(), $overflowTopId$$1_startIndicator$$3$$ = $AdfRichUIPeer$$.$CreateSubId$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "overflowTop"), $overflowTopId$$1_startIndicator$$3$$ = $agent$$464$$.getElementById($overflowTopId$$1_startIndicator$$3$$);
  $agent$$464$$.$removeBubbleEventListener$($overflowTopId$$1_startIndicator$$3$$, "mousedown", this.$_startOverflowButtonPressed$);
  $agent$$464$$.$removeBubbleEventListener$($overflowTopId$$1_startIndicator$$3$$, "keydown", this.$_startOverflowButtonPressed$);
  $agent$$464$$.$removeBubbleEventListener$($overflowTopId$$1_startIndicator$$3$$, "mouseup", this.$_mouseAwayFromStartOverflowButton$);
  $agent$$464$$.$removeBubbleEventListener$($overflowTopId$$1_startIndicator$$3$$, "mouseout", this.$_mouseAwayFromStartOverflowButton$);
  $endIndicator$$3_id$$333_overflowBottomId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "overflowBottom");
  $endIndicator$$3_id$$333_overflowBottomId$$1$$ = $agent$$464$$.getElementById($endIndicator$$3_id$$333_overflowBottomId$$1$$);
  $agent$$464$$.$removeBubbleEventListener$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "mousedown", this.$_endOverflowButtonPressed$);
  $agent$$464$$.$removeBubbleEventListener$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "keydown", this.$_endOverflowButtonPressed$);
  $agent$$464$$.$removeBubbleEventListener$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "mouseup", this.$_mouseAwayFromEndOverflowButton$);
  $agent$$464$$.$removeBubbleEventListener$($endIndicator$$3_id$$333_overflowBottomId$$1$$, "mouseout", this.$_mouseAwayFromEndOverflowButton$);
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$1667$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlPanelAccordionPeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$_restoreFocus$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_restoreFocus$$() {
  var $header$$4_headerSubId$$1_justDisclosed$$ = $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$$(this);
  if (null != $header$$4_headerSubId$$1_justDisclosed$$) {
    this.$_selectedChildId$ = $header$$4_headerSubId$$1_justDisclosed$$;
    var $anchor$$21_anchorSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($header$$4_headerSubId$$1_justDisclosed$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$), $anchor$$21_anchorSubId$$ = $AdfAgent$$.$AGENT$.getElementById($anchor$$21_anchorSubId$$);
    this.$getComponent$();
    null != $anchor$$21_anchorSubId$$ && $AdfFocusUtils$$.$isFocusable$($anchor$$21_anchorSubId$$) ? $AdfFocusUtils$$.$focusElement$($anchor$$21_anchorSubId$$) : ($header$$4_headerSubId$$1_justDisclosed$$ = $AdfRichUIPeer$$.$CreateSubId$($header$$4_headerSubId$$1_justDisclosed$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $header$$4_headerSubId$$1_justDisclosed$$ = $AdfAgent$$.$AGENT$.getElementById($header$$4_headerSubId$$1_justDisclosed$$), null != $header$$4_headerSubId$$1_justDisclosed$$ && 
    ($header$$4_headerSubId$$1_justDisclosed$$.setAttribute("tabindex", "-1"), $AdfFocusUtils$$.$focusElement$($header$$4_headerSubId$$1_justDisclosed$$)));
    $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$(this, null);
  }
};
function $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$) {
  $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$ = $AdfAgent$$.$AGENT$.$getExpandoProperty$($JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$.$getDomElement$(), "_afrRctDis");
  $AdfAssert$$.assert("null" != $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$, "The accordion recent disclosed client ID is the string 'null' but should be the literal null");
  null == $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$ && ($JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$ = $AdfDhtmlPanelAccordionPeer$$.$_mostRecentDisclosedPaneClientId$);
  return $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$self_clientId$$337$$;
}
function $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$self$$, $clientId$$338$$) {
  null != $clientId$$338$$ && $AdfAgent$$.$AGENT$.$setExpandoProperty$($JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$self$$.$getDomElement$(), "_afrRctDis", $clientId$$338$$);
  $AdfDhtmlPanelAccordionPeer$$.$_mostRecentDisclosedPaneClientId$ = $clientId$$338$$;
}
$AdfDhtmlPanelAccordionPeer$$.$handleOverflowItemClick$ = function $$AdfDhtmlPanelAccordionPeer$$$$handleOverflowItemClick$$($detailItemId$$, $accordionId$$) {
  if (!this.$_discloseAnimationData$) {
    var $newDisclosed$$ = $AdfPage$$.$PAGE$.$findComponent$($detailItemId$$);
    if (null == $newDisclosed$$) {
      $AdfLogger$$.$LOGGER$.severe("AdfDhtmlPanelAccordionPeer encountered an unexpected null newDisclosed: ", $newDisclosed$$, " where childId \x3d ", childId);
    } else {
      var $currentDisclosed_oldDisclosedClientId$$ = $newDisclosed$$.getDisclosed(), $accordionComponent$$ = $AdfPage$$.$PAGE$.$findComponent$($accordionId$$), $accordionPeer$$ = $accordionComponent$$.$getPeer$();
      if ($currentDisclosed_oldDisclosedClientId$$) {
        $accordionPeer$$.$ReallocateSizesForNewSelection$($detailItemId$$, $accordionComponent$$);
      } else {
        var $oldDisclosed$$;
        $accordionComponent$$.getDiscloseMany() || ($currentDisclosed_oldDisclosedClientId$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$($accordionPeer$$), null != $currentDisclosed_oldDisclosedClientId$$ && ($oldDisclosed$$ = $AdfPage$$.$PAGE$.$findComponent$($currentDisclosed_oldDisclosedClientId$$), $AdfAssert$$.assert(null != $oldDisclosed$$, "Could not find a showDetailItem component with clientId \x3d " + $currentDisclosed_oldDisclosedClientId$$)));
        $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($accordionPeer$$, $detailItemId$$);
        $accordionPeer$$.$_queueClientDisclosureChanges$($oldDisclosed$$, $newDisclosed$$);
      }
    }
    $accordionPeer$$.$hidePopup$($accordionComponent$$, $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_END_POPUP$);
    $accordionPeer$$.$hidePopup$($accordionComponent$$, $AdfDhtmlPanelAccordionPeer$$.$_OVERFLOW_START_POPUP$);
  }
};
$goog$exportSymbol$$("AdfDhtmlPanelAccordionPeer.handleOverflowItemClick", $AdfDhtmlPanelAccordionPeer$$.$handleOverflowItemClick$);
$AdfDhtmlPanelAccordionPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlPanelAccordionPeer$$$$$InitDomElement$$($component$$1669$$, $rootElement$$105$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1669$$, $rootElement$$105$$);
  this.$_overflowMenuHolderSubId$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1669$$.$getClientId$(), "overflowMenuHolder");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlPanelAccordionPeer$$.prototype.$InitDomElement$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelAccordionPeer$$$$$BindToComponent$$($component$$1670$$, $rootElement$$106$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.$BindToComponent$.call(this, $component$$1670$$, $rootElement$$106$$);
  var $agent$$465$$ = $AdfAgent$$.$AGENT$, $containerNode$$5_popupContentId$$3_popupDom$$1$$ = $agent$$465$$.getElementById(this.$_overflowMenuHolderSubId$);
  null != $containerNode$$5_popupContentId$$3_popupDom$$1$$ && ($containerNode$$5_popupContentId$$3_popupDom$$1$$ = $AdfDomUtils$$.$getFirstChildElement$($containerNode$$5_popupContentId$$3_popupDom$$1$$), null != $containerNode$$5_popupContentId$$3_popupDom$$1$$ && ($containerNode$$5_popupContentId$$3_popupDom$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($containerNode$$5_popupContentId$$3_popupDom$$1$$.id, "content"), this.$_contentElement$ = $AdfDomUtils$$.$getFirstChildElement$($agent$$465$$.getElementById($containerNode$$5_popupContentId$$3_popupDom$$1$$))));
  this.$_restoreFocus$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.BindToComponent", {$BindToComponent$:$AdfDhtmlPanelAccordionPeer$$.prototype.$BindToComponent$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentClick$$($componentEvent$$343$$) {
  if (!$componentEvent$$343$$.$isCanceled$() && !this.$_dragInProgress$ && !this.$_discloseAnimationData$) {
    var $nativeEvent$$37_targetId$$11_tokens$$22$$ = $componentEvent$$343$$.$getNativeEvent$();
    if ($JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$37_targetId$$11_tokens$$22$$, null)) {
      $componentEvent$$343$$.cancel();
    } else {
      if ($nativeEvent$$37_targetId$$11_tokens$$22$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($nativeEvent$$37_targetId$$11_tokens$$22$$).id) {
        if ($nativeEvent$$37_targetId$$11_tokens$$22$$ = $nativeEvent$$37_targetId$$11_tokens$$22$$.split("::"), 1 < $nativeEvent$$37_targetId$$11_tokens$$22$$.length) {
          var $lastToken$$2$$ = $nativeEvent$$37_targetId$$11_tokens$$22$$[$nativeEvent$$37_targetId$$11_tokens$$22$$.length - 1];
          $lastToken$$2$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_UP_SUB_ID$ ? ($nativeEvent$$37_targetId$$11_tokens$$22$$.pop(), index = $JSCompiler_StaticMethods__getIndexOfChildClientId$$(this, $nativeEvent$$37_targetId$$11_tokens$$22$$.join("::")), $AdfAssert$$.assert(0 <= index, "Child not found"), $JSCompiler_StaticMethods__reorderPanel$$(this, index, index - 1), $componentEvent$$343$$.cancel()) : $lastToken$$2$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_DOWN_SUB_ID$ && ($nativeEvent$$37_targetId$$11_tokens$$22$$.pop(), 
          index = $JSCompiler_StaticMethods__getIndexOfChildClientId$$(this, $nativeEvent$$37_targetId$$11_tokens$$22$$.join("::")), $AdfAssert$$.assert(0 <= index, "Child not found"), $JSCompiler_StaticMethods__reorderPanel$$(this, index, index + 1), $componentEvent$$343$$.cancel());
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentMouseDown$$($componentEvent$$344_domEvent$$inline_3098$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$344_domEvent$$inline_3098$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$ = $componentEvent$$344_domEvent$$inline_3098$$.$getNativeEvent$(), $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$ = $AdfAgent$$.$AGENT$, $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$ = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.$getEventTarget$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$);
    if ($JSCompiler_StaticMethods__isElementInToolbar$$(this, $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$)) {
      return;
    }
    var $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.id;
    if ($dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ && ($dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ = $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.split("::"), 1 < $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.length)) {
      var $domElement$$359_i$$inline_3095_lastToken$$3$$ = $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$[$dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.length - 1];
      if ($domElement$$359_i$$inline_3095_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_ITEM_RESIZE_DRAG_SUB_ID$) {
        $domElement$$359_i$$inline_3095_lastToken$$3$$ = $JSCompiler_StaticMethods__getRootWrapper$$(this.$getDomElement$());
        $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.$disableUserSelect$(document.body);
        this.$_pageBounds$ = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.$getElementPageBounds$($domElement$$359_i$$inline_3095_lastToken$$3$$);
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.pop();
        $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$ = this.$_resizeChildId$ = $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.join("::");
        $AdfAssert$$.$assertString$($agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$);
        $AdfAssert$$.$assertDomNode$($agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$);
        $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$ = this.$_pageBounds$;
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ = $AdfPage$$.$PAGE$;
        $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.parentNode.removeChild($agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$);
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.$getZOrderManager$().$addElementToLayer$($agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_TOOLTIP$);
        $AdfDomUtils$$.$addCSSClassName$($agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$, $AdfDhtmlPanelAccordionPeer$$.$_DRAG_STYLECLASS$);
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.style;
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.width = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.right - $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.left + "px";
        $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$.left = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.left + "px";
        this.$_resizeDivider$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$;
        $AdfPage$$.$PAGE$.$startDrag$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$, this.$_onResizeDrag$, this.$_onResizeDrop$, void 0, !0);
        this.$_dragInProgress$ = !0;
        $componentEvent$$344_domEvent$$inline_3098$$.cancel();
        return;
      }
      this.$_handleSelection$($componentEvent$$344_domEvent$$inline_3098$$);
      if ($domElement$$359_i$$inline_3095_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_UP_SUB_ID$ || $domElement$$359_i$$inline_3095_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_DOWN_SUB_ID$) {
        return;
      }
    }
  }
  this.$_handleSelection$($componentEvent$$344_domEvent$$inline_3098$$);
  a: {
    if (!("disable" == this.$getComponent$().getReorder() || this.$_discloseAnimationData$ || ($agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$ = $componentEvent$$344_domEvent$$inline_3098$$.$getNativeEventTarget$(), $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$ = $JSCompiler_StaticMethods__getHeaderElements$$(this), $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$ = null != 
    this.$_lastTopOverflowPaneIndex$ ? this.$_lastTopOverflowPaneIndex$ + 1 : 0, $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ = null != this.$_firstBottomOverflowPaneIndex$ ? this.$_firstBottomOverflowPaneIndex$ - 1 : $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.length - 1, 1 > $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$ - $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$ || 
    $JSCompiler_StaticMethods__isElementInToolbar$$(this, $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$)))) {
      for ($domElement$$359_i$$inline_3095_lastToken$$3$$ = $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$;$domElement$$359_i$$inline_3095_lastToken$$3$$ <= $dividerStyle$$inline_3087_lastVisibleIndex$$inline_3094_page$$inline_3086_targetId$$12_tokens$$23$$;++$domElement$$359_i$$inline_3095_lastToken$$3$$) {
        if ($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$ = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$[$domElement$$359_i$$inline_3095_lastToken$$3$$], $AdfDomUtils$$.$isAncestorOrSelf$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$, $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$)) {
          $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$ = $AdfAgent$$.$AGENT$;
          $componentEvent$$344_domEvent$$inline_3098$$ = $componentEvent$$344_domEvent$$inline_3098$$.$getNativeEvent$();
          this.$_dragHeaderNode$ = $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$;
          this.$_dragHeaderHeight$ = $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$.offsetHeight;
          this.$_dragSourceTop$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.$getElementTop$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$);
          this.$_dragSourceLeft$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.$getElementLeft$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$);
          $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.$getMousePosition$($componentEvent$$344_domEvent$$inline_3098$$);
          $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$ = $agent$$inline_3097_eventTarget$$inline_3091_targetNode$$42$$.$getElementPosition$($firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$);
          this.$_dragOffsetX$ = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.x - $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$.x;
          this.$_dragOffsetY$ = $agent$$467_headerElements$$inline_3092_mousePosition$$inline_3099_pageBounds$$inline_3085_resizeChildId$$.y - $firstVisibleIndex$$inline_3093_headerNode$$inline_3096_headerPosition$$inline_3100_nativeEvent$$38$$.y;
          $AdfPage$$.$PAGE$.$startDrag$($componentEvent$$344_domEvent$$inline_3098$$, this.$createCallback$(this.$_handleReorderDrag$), this.$createCallback$(this.$_handleReorderDrop$), this.$createCallback$(this.$_handleReorderAbort$));
          break a;
        }
      }
    }
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$_handleSelection$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_handleSelection$$($componentEvent$$345_headerElement_itemId$$33$$) {
  if (!(this.$_dragInProgress$ || $componentEvent$$345_headerElement_itemId$$33$$.$isCanceled$() || this.$_discloseAnimationData$)) {
    var $nativeEvent$$39_targetNode$$43$$ = $componentEvent$$345_headerElement_itemId$$33$$.$getNativeEvent$();
    if ($componentEvent$$345_headerElement_itemId$$33$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $nativeEvent$$39_targetNode$$43$$)) {
      var $agent$$468_contentElement$$8$$ = $AdfAgent$$.$AGENT$, $nativeEvent$$39_targetNode$$43$$ = $agent$$468_contentElement$$8$$.$getEventTarget$($nativeEvent$$39_targetNode$$43$$);
      $JSCompiler_StaticMethods__isElementInToolbar$$(this, $nativeEvent$$39_targetNode$$43$$) || ($componentEvent$$345_headerElement_itemId$$33$$ = $agent$$468_contentElement$$8$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$345_headerElement_itemId$$33$$.$clientId$, "head"))) && $AdfDomUtils$$.$isAncestorOrSelf$($componentEvent$$345_headerElement_itemId$$33$$, $nativeEvent$$39_targetNode$$43$$) && ($agent$$468_contentElement$$8$$ = $componentEvent$$345_headerElement_itemId$$33$$.nextSibling, 
      $AdfDomUtils$$.$addCSSClassName$($componentEvent$$345_headerElement_itemId$$33$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$), $AdfDomUtils$$.$addCSSClassName$($agent$$468_contentElement$$8$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$));
    }
  }
};
$AdfDhtmlPanelAccordionPeer$$.prototype.$_handleRemoveSelection$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_handleRemoveSelection$$($componentEvent$$346_headerElement$$1_itemId$$34$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$346_headerElement$$1_itemId$$34$$.$isCanceled$() && ($componentEvent$$346_headerElement$$1_itemId$$34$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $componentEvent$$346_headerElement$$1_itemId$$34$$.$getNativeEvent$())) && ($componentEvent$$346_headerElement$$1_itemId$$34$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$346_headerElement$$1_itemId$$34$$.$clientId$, "head")))) {
    var $contentElement$$9$$ = $componentEvent$$346_headerElement$$1_itemId$$34$$.nextSibling;
    $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$346_headerElement$$1_itemId$$34$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$);
    $AdfDomUtils$$.$removeCSSClassName$($contentElement$$9$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$);
  }
};
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseUp$ = $AdfDhtmlPanelAccordionPeer$$.prototype.$_handleRemoveSelection$;
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseOut$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentMouseOut$$($componentEvent$$347_itemId$$35$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$347_itemId$$35$$.$isCanceled$() && ($componentEvent$$347_itemId$$35$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $componentEvent$$347_itemId$$35$$.$getNativeEvent$()))) {
    var $headerElement$$2$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$347_itemId$$35$$.$clientId$, "head"));
    if ($headerElement$$2$$) {
      var $contentElement$$10$$ = $headerElement$$2$$.nextSibling;
      $AdfDomUtils$$.$removeCSSClassName$($headerElement$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$);
      $AdfDomUtils$$.$removeCSSClassName$($contentElement$$10$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$);
      var $focused_focusedItemId$$ = $AdfPage$$.$PAGE$.$_activeDomNode$;
      if ($focused_focusedItemId$$ && ($focused_focusedItemId$$ = $JSCompiler_StaticMethods__extractItemSubIdFromElement$$(this, $focused_focusedItemId$$)) && $focused_focusedItemId$$.$clientId$ == $componentEvent$$347_itemId$$35$$.$clientId$) {
        switch($focused_focusedItemId$$.$subId$) {
          case $AdfDhtmlPanelAccordionPeer$$.$_MOVE_UP_SUB_ID$:
          ;
          case $AdfDhtmlPanelAccordionPeer$$.$_MOVE_DOWN_SUB_ID$:
          ;
          case $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$:
            return;
        }
      }
      $AdfDomUtils$$.$removeCSSClassName$($headerElement$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$);
      $AdfDomUtils$$.$removeCSSClassName$($contentElement$$10$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentMouseOut", {$HandleComponentMouseOut$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseOut$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseOver$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentMouseOver$$($componentEvent$$348_headerElement$$3_itemId$$36$$) {
  if (!(this.$_dragInProgress$ || $componentEvent$$348_headerElement$$3_itemId$$36$$.$isCanceled$() || this.$_discloseAnimationData$)) {
    var $contentElement$$11_nativeEvent$$40_targetNode$$44$$ = $componentEvent$$348_headerElement$$3_itemId$$36$$.$getNativeEvent$();
    if ($componentEvent$$348_headerElement$$3_itemId$$36$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $contentElement$$11_nativeEvent$$40_targetNode$$44$$)) {
      var $agent$$469$$ = $AdfAgent$$.$AGENT$;
      if ($componentEvent$$348_headerElement$$3_itemId$$36$$ = $agent$$469$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$348_headerElement$$3_itemId$$36$$.$clientId$, "head"))) {
        $contentElement$$11_nativeEvent$$40_targetNode$$44$$ = $agent$$469$$.$getEventTarget$($contentElement$$11_nativeEvent$$40_targetNode$$44$$), $AdfDomUtils$$.$isAncestorOrSelf$($componentEvent$$348_headerElement$$3_itemId$$36$$, $contentElement$$11_nativeEvent$$40_targetNode$$44$$) && !$JSCompiler_StaticMethods__isElementInToolbar$$(this, $contentElement$$11_nativeEvent$$40_targetNode$$44$$) && ($contentElement$$11_nativeEvent$$40_targetNode$$44$$ = $componentEvent$$348_headerElement$$3_itemId$$36$$.nextSibling, 
        $AdfDomUtils$$.$addCSSClassName$($componentEvent$$348_headerElement$$3_itemId$$36$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$), $AdfDomUtils$$.$addCSSClassName$($contentElement$$11_nativeEvent$$40_targetNode$$44$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$));
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentMouseOver", {$HandleComponentMouseOver$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseOver$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentDisclosure$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentDisclosure$$($componentEvent$$349$$) {
  var $source$$196$$ = $componentEvent$$349$$.getSource(), $component$$1671$$ = this.$getComponent$();
  if ($source$$196$$ instanceof AdfRichShowDetailItem && $source$$196$$.getParent() == $component$$1671$$ && $componentEvent$$349$$.$getRoot$() == $source$$196$$) {
    var $isCounterpartDiscloseChanging$$ = !0;
    if ($component$$1671$$.getDiscloseMany()) {
      $isCounterpartDiscloseChanging$$ = !1;
    } else {
      if ($component$$1671$$.getDiscloseNone()) {
        if ($componentEvent$$349$$.$isExpanded$()) {
          var $disclosingClinetId$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$(this);
          $disclosingClinetId$$ && $disclosingClinetId$$ != $source$$196$$.$getClientId$() || ($isCounterpartDiscloseChanging$$ = !1);
        } else {
          $isCounterpartDiscloseChanging$$ = !1;
        }
      }
    }
    $isCounterpartDiscloseChanging$$ && $componentEvent$$349$$.$setRoot$($component$$1671$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentDisclosure$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlPanelAccordionPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_handleComponentBlurAndFocus$ = function $$JSCompiler_prototypeAlias$$$$_handleComponentBlurAndFocus$$($add_componentEvent$$350$$) {
  if (!this.$_dragInProgress$ && !$add_componentEvent$$350$$.$isCanceled$()) {
    var $headerElement$$4_itemId$$37$$ = $add_componentEvent$$350$$ instanceof $AdfDomComponentFocusEvent$$ ? $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $add_componentEvent$$350$$.$getNativeEvent$()) : null;
    if ($headerElement$$4_itemId$$37$$) {
      switch($headerElement$$4_itemId$$37$$.$subId$) {
        case $AdfDhtmlPanelAccordionPeer$$.$_MOVE_UP_SUB_ID$:
        ;
        case $AdfDhtmlPanelAccordionPeer$$.$_MOVE_DOWN_SUB_ID$:
        ;
        case $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$:
          break;
        default:
          return;
      }
      if ($headerElement$$4_itemId$$37$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($headerElement$$4_itemId$$37$$.$clientId$, "head"))) {
        var $contentElement$$12$$ = $headerElement$$4_itemId$$37$$.nextSibling;
        $add_componentEvent$$350$$ = $add_componentEvent$$350$$.getType() == $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$;
        $add_componentEvent$$350$$ && this.$_discloseAnimationData$ || ($AdfDomUtils$$.$addOrRemoveCSSClassName$($add_componentEvent$$350$$, $headerElement$$4_itemId$$37$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$), $AdfDomUtils$$.$addOrRemoveCSSClassName$($add_componentEvent$$350$$, $contentElement$$12$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$));
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$HandleComponentBlur$ = $AdfDhtmlPanelAccordionPeer$$.prototype.$_handleComponentBlurAndFocus$;
$JSCompiler_prototypeAlias$$.$HandleComponentFocus$ = $AdfDhtmlPanelAccordionPeer$$.prototype.$_handleComponentBlurAndFocus$;
function $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$($JSCompiler_StaticMethods__extractItemSubIdFromEvent$self$$, $nativeEvent$$41$$) {
  var $targetNode$$45$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($nativeEvent$$41$$);
  return $JSCompiler_StaticMethods__extractItemSubIdFromElement$$($JSCompiler_StaticMethods__extractItemSubIdFromEvent$self$$, $targetNode$$45$$);
}
function $JSCompiler_StaticMethods__extractItemSubIdFromElement$$($JSCompiler_StaticMethods__extractItemSubIdFromElement$self$$, $domElement$$360$$) {
  for (var $id$$334_rootElement$$107_tokens$$24$$ = $JSCompiler_StaticMethods__getRootWrapper$$($JSCompiler_StaticMethods__extractItemSubIdFromElement$self$$.$getDomElement$()), $e$$149$$ = $domElement$$360$$;$e$$149$$ != $id$$334_rootElement$$107_tokens$$24$$;$e$$149$$ = $e$$149$$.parentNode) {
    if (null == $e$$149$$) {
      return null;
    }
    $domElement$$360$$ = $e$$149$$;
  }
  $id$$334_rootElement$$107_tokens$$24$$ = $domElement$$360$$.id;
  if (!$id$$334_rootElement$$107_tokens$$24$$) {
    return null;
  }
  $id$$334_rootElement$$107_tokens$$24$$ = $id$$334_rootElement$$107_tokens$$24$$.split("::");
  return 1 < $id$$334_rootElement$$107_tokens$$24$$.length ? {$subId$:$id$$334_rootElement$$107_tokens$$24$$[$id$$334_rootElement$$107_tokens$$24$$.length - 1], $clientId$:$id$$334_rootElement$$107_tokens$$24$$.slice(0, $id$$334_rootElement$$107_tokens$$24$$.length - 1).join("::")} : null;
}
function $JSCompiler_StaticMethods__getIndexOfChildClientId$$($JSCompiler_StaticMethods__getIndexOfChildClientId$self$$, $clientId$$339$$) {
  for (var $headers$$1$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__getIndexOfChildClientId$self$$), $searchId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$339$$, "head"), $i$$444$$ = 0, $size$$36$$ = $headers$$1$$.length;$i$$444$$ < $size$$36$$;++$i$$444$$) {
    if ($headers$$1$$[$i$$444$$].id == $searchId$$) {
      return $i$$444$$;
    }
  }
  return -1;
}
$JSCompiler_prototypeAlias$$.$_handleReorderDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleReorderDrag$$($evt$$123$$, $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$, $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$) {
  if (null == this.$_ghost$) {
    if (3 > Math.abs($agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$)) {
      return;
    }
    this.$_reorderData$ = $JSCompiler_StaticMethods__getReorderItemPlacement$$(this);
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$ = $AdfAgent$$.$AGENT$;
    $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$ = this.$_dragHeaderNode$;
    var $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ = $AdfDomUtils$$.$containsCSSClassName$($agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$);
    this.$_origDocumentCursor$ = document.body.style.cursor || "auto";
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.setCursor(document.body, "move");
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.$disableUserSelect$(document.body);
    this.$_dragInProgress$ = !0;
    var $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ = this.$getDomElement$().ownerDocument;
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$ = this.$_ghost$ = $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$.createElement("div");
    var $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.className = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_DRAG_GHOST_CLASS$);
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.style;
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.position = "absolute";
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.overflow = "hidden";
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.top = "-10000px";
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.zIndex = 1E3;
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.width = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.offsetWidth + "px";
    $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$.body.appendChild($agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$);
    var $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.offsetHeight, $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.nextSibling;
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ && ($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ += $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$.offsetHeight);
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.height = $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ + "px";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ = $AdfSubIdUtils$$.$getSubIdElementById$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_DROP_TARGET_SUB_ID$).style;
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.height = $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ + "px";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.top = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.offsetTop + "px";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.position = "absolute";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.overflow = "hidden";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.left = "0px";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.right = "0px";
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.cloneNode(!0);
    $AdfAgent$$.$AGENT$.$removeIdsFromDomSubTree$($domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$);
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.appendChild($domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$);
    $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.style;
    $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$.top = "0px";
    $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$.bottom = "";
    $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$.cloneNode(!0);
    $AdfAgent$$.$AGENT$.$removeIdsFromDomSubTree$($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$);
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.appendChild($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$);
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$ = $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$.style;
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.top = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.offsetHeight + "px";
    $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.bottom = "0px";
    $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$.style.display = "none";
    $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.style.display = "none";
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.display = "block";
  }
  $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$ = this.$_ghost$;
  $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ = $AdfAgent$$.$AGENT$;
  $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.ownerDocument;
  $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$ = $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.$getMousePosition$($evt$$123$$);
  $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ = $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.getWindowWidth();
  $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$.getWindowHeight();
  $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.documentElement.scrollLeft;
  $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$.documentElement.scrollTop;
  $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = Math.min($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ - $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.offsetHeight - 1 + $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, 
  Math.max($agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.y - this.$_dragOffsetY$, $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$));
  $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.style;
  $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$.left = Math.min($contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ - $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.offsetWidth - 1 + $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$, 
  Math.max($agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.x - this.$_dragOffsetX$, $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$)) + "px";
  $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$.top = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ + "px";
  if (this.$_reorderData$ && ($agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$ = $AdfAgent$$.$AGENT$, $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$ = this.$_reorderData$, $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ = $JSCompiler_StaticMethods__getRootWrapper$$(this.$getDomElement$()), $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.$isEventInElement$($evt$$123$$, 
  $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$))) {
    for (var $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.$getMousePosition$($evt$$123$$).y, $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ = $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.$getElementPosition$($contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$).y, 
    $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ = null != this.$_lastTopOverflowPaneIndex$ ? this.$_lastTopOverflowPaneIndex$ + 1 : 0, $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ = null != this.$_firstBottomOverflowPaneIndex$ ? this.$_firstBottomOverflowPaneIndex$ - 1 : $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.length - 
    1, $itemIndex$$inline_3140_nextTop$$inline_3152$$ = -1, $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = -1, $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$;$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ <= 
    $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$;++$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$) {
      var $itemHeader$$inline_3155_obj$$inline_3143$$ = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$[$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$];
      if (-1 == $itemIndex$$inline_3140_nextTop$$inline_3152$$) {
        var $offsetHeight$$inline_3156_top$$inline_3144$$ = $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ + $itemHeader$$inline_3155_obj$$inline_3143$$.top, $bottom$$inline_3145$$ = $offsetHeight$$inline_3156_top$$inline_3144$$ + $itemHeader$$inline_3155_obj$$inline_3143$$.height;
        $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ >= $offsetHeight$$inline_3156_top$$inline_3144$$ && $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ <= $bottom$$inline_3145$$ && ($itemIndex$$inline_3140_nextTop$$inline_3152$$ = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$);
      }
      $itemHeader$$inline_3155_obj$$inline_3143$$.$dragged$ && ($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$);
      if (0 <= $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ && 0 <= $itemIndex$$inline_3140_nextTop$$inline_3152$$) {
        break;
      }
    }
    if (!(0 > $itemIndex$$inline_3140_nextTop$$inline_3152$$ || $itemIndex$$inline_3140_nextTop$$inline_3152$$ == $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$) && ($itemHeader$$inline_3155_obj$$inline_3143$$ = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$[$itemIndex$$inline_3140_nextTop$$inline_3152$$], 
    $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ < $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ + $itemHeader$$inline_3155_obj$$inline_3143$$.top + $itemHeader$$inline_3155_obj$$inline_3143$$.height / 2, $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = 
    $itemIndex$$inline_3140_nextTop$$inline_3152$$ < $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ ? $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ ? $itemIndex$$inline_3140_nextTop$$inline_3152$$ : $itemIndex$$inline_3140_nextTop$$inline_3152$$ + 
    1 : $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ ? $itemIndex$$inline_3140_nextTop$$inline_3152$$ - 1 : $itemIndex$$inline_3140_nextTop$$inline_3152$$, $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ != 
    $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$)) {
      $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$[$contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$];
      $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.splice($contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$, 1);
      $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ == $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.length ? $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.push($dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$) : 
      $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.splice($domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, 0, $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$);
      $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
      $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$ = $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_CLASS$);
      $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$ = $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUBSEQUENT_CLASS$);
      $itemIndex$$inline_3140_nextTop$$inline_3152$$ = 0;
      0 < $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ && ($item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ = parseInt($item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.$getSkinProperty$("af|panelAccordion-tr-overflow-height")), $itemIndex$$inline_3140_nextTop$$inline_3152$$ += $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$);
      $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, this.$_ghost$.childNodes[0], $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$);
      $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, this.$_ghost$.childNodes[0], $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$);
      $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ = 0;
      for (size = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$.length;$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ < size;++$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$) {
        $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$ = $agent$$inline_3103_contentCloneStyle$$inline_3116_data$$inline_3134_deltaY$$28_ghost$$inline_3107_mousePosition$$inline_3123$$[$domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$], $itemHeader$$inline_3155_obj$$inline_3143$$ = $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.$header$, 
        $offsetHeight$$inline_3156_top$$inline_3144$$ = $itemHeader$$inline_3155_obj$$inline_3143$$.offsetHeight, $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ >= $contentElem$$inline_3111_doc$$inline_3106_firstVisibleIndex$$inline_3138_root$$inline_3135_windowWidth$$inline_3124$$ && $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$ <= 
        $agent$$inline_3121_disclosed$$inline_3105_dropStyle$$inline_3112_lastVisibleIndex$$inline_3139_smallestWindowX$$inline_3126$$ ? ($item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.top = $itemIndex$$inline_3140_nextTop$$inline_3152$$, $itemIndex$$inline_3140_nextTop$$inline_3152$$ += $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.height) : $item$$inline_3154_laf$$inline_3149_overflowButtonHeight$$inline_3153_rootY$$inline_3137$$.top = 
        -1E5, $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, $itemHeader$$inline_3155_obj$$inline_3143$$, $contentClone$$inline_3115_dragIndex$$inline_3141_ghostStyle$$inline_3129_headerClass$$inline_3150_headerNodeCloneStyle$$inline_3114_height$$inline_3110_windowHeight$$inline_3125$$), $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < 
        $domDocument$$inline_3122_ghostStyle$$inline_3109_headerClone$$inline_3113_i$$inline_3142_inTopOfItem$$inline_3147_laf$$inline_3108_smallestWindowY$$inline_3127_targetIndex$$inline_3146_top$$inline_3128$$, $itemHeader$$inline_3155_obj$$inline_3143$$, $dragItem$$inline_3148_headerSubClass$$inline_3151_mouseY$$inline_3136$$), $offsetHeight$$inline_3156_top$$inline_3144$$ != $itemHeader$$inline_3155_obj$$inline_3143$$.offsetHeight && $agent$$inline_3133_deltaX$$23_ghost$$inline_3119_headerNode$$inline_3104$$.$setOuterHeight$($itemHeader$$inline_3155_obj$$inline_3143$$, 
        $offsetHeight$$inline_3156_top$$inline_3144$$);
      }
      $JSCompiler_StaticMethods__animateReorder$$(this);
    }
  }
  $AdfAgent$$.$AGENT$.$eatEvent$($evt$$123$$);
  return !1;
};
function $JSCompiler_StaticMethods__getReorderItemPlacement$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$) {
  var $items$$3$$ = [], $headerElements$$2$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$), $rootElement$$109_size$$37$$ = $JSCompiler_StaticMethods__getReorderItemPlacement$self$$.$getDomElement$();
  $AdfDomUtils$$.$containsCSSClassName$($rootElement$$109_size$$37$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$) && $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$, $rootElement$$109_size$$37$$, $headerElements$$2$$);
  for (var $rootElement$$109_size$$37$$ = $headerElements$$2$$.length, $i$$446$$ = 0;$i$$446$$ < $rootElement$$109_size$$37$$;++$i$$446$$) {
    var $headerNode$$2$$ = $headerElements$$2$$[$i$$446$$], $contentNode$$75$$ = $headerNode$$2$$.nextSibling, $disclosed$$1$$ = $AdfDomUtils$$.$containsCSSClassName$($headerNode$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$), $height$$36$$ = $headerNode$$2$$.offsetHeight, $headerHeight$$1$$ = $height$$36$$;
    $disclosed$$1$$ && ($height$$36$$ += $contentNode$$75$$.offsetHeight);
    $JSCompiler_StaticMethods__convertTopBottomToHeight$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$, $headerNode$$2$$);
    $JSCompiler_StaticMethods__convertTopBottomToHeight$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$, $contentNode$$75$$);
    $items$$3$$.push({$originalIndex$:$i$$446$$, $header$:$headerNode$$2$$, content:$contentNode$$75$$, top:$headerNode$$2$$.offsetTop, $origTop$:$headerNode$$2$$.offsetTop, height:$height$$36$$, $disclosed$:$disclosed$$1$$, $headerHeight$:$headerHeight$$1$$, $contentHeight$:$contentNode$$75$$.offsetHeight, $dragged$:$headerNode$$2$$ == $JSCompiler_StaticMethods__getReorderItemPlacement$self$$.$_dragHeaderNode$});
  }
  return $items$$3$$;
}
function $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$$($JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$, $headerNode$$3_rootElement$$110$$, $headerElements$$3$$) {
  $headerNode$$3_rootElement$$110$$ = $JSCompiler_StaticMethods__getRootWrapper$$($headerNode$$3_rootElement$$110$$);
  var $accordionElementTop$$ = $AdfAgent$$.$AGENT$.$getElementTop$($headerNode$$3_rootElement$$110$$), $rootStyle$$13$$ = $headerNode$$3_rootElement$$110$$.style;
  $rootStyle$$13$$.overflow = "hidden";
  $rootStyle$$13$$.height = $headerNode$$3_rootElement$$110$$.offsetHeight + "px";
  $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$.$_oldWidth$ = $rootStyle$$13$$.width;
  $rootStyle$$13$$.width = $headerNode$$3_rootElement$$110$$.offsetWidth + "px";
  for ($JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$ = $headerElements$$3$$.length - 1;0 <= $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$;--$JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$) {
    $headerNode$$3_rootElement$$110$$ = $headerElements$$3$$[$JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$447$$], $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($headerNode$$3_rootElement$$110$$.nextSibling, $accordionElementTop$$), $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($headerNode$$3_rootElement$$110$$, $accordionElementTop$$);
  }
}
function $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($element$$269$$, $accordionElementTop$$1$$) {
  var $style$$31$$ = $element$$269$$.style;
  $style$$31$$.top = $AdfAgent$$.$AGENT$.$getElementTop$($element$$269$$) - $accordionElementTop$$1$$ + "px";
  $style$$31$$.left = "0px";
  $style$$31$$.right = "0px";
  $style$$31$$.position = "absolute";
}
function $JSCompiler_StaticMethods__restoreFlowingElement$$($element$$270_style$$32$$) {
  $element$$270_style$$32$$ = $element$$270_style$$32$$.style;
  $element$$270_style$$32$$.position = "relative";
  $element$$270_style$$32$$.top = "auto";
  $element$$270_style$$32$$.left = "auto";
  $element$$270_style$$32$$.right = "auto";
}
function $JSCompiler_StaticMethods__convertTopBottomToHeight$$($JSCompiler_StaticMethods__convertTopBottomToHeight$self$$, $domElement$$361$$) {
  var $style$$33$$ = $domElement$$361$$.style;
  if ($style$$33$$.bottom && "auto" != $style$$33$$.bottom && "none" != $style$$33$$.display) {
    var $styleHeight$$ = $JSCompiler_StaticMethods__convertTopBottomToHeight$self$$.$_getStyleHeight$($domElement$$361$$);
    $style$$33$$.height = $styleHeight$$ + "px";
    $style$$33$$.bottom = "";
  }
}
$JSCompiler_prototypeAlias$$.$_getStyleHeight$ = function $$JSCompiler_prototypeAlias$$$$_getStyleHeight$$($domElement$$362$$) {
  var $computedStyle$$12$$ = $AdfAgent$$.$AGENT$.getComputedStyle($domElement$$362$$);
  return $domElement$$362$$.offsetHeight - $AdfAgent$$.$getCSSLengthAsInt$($computedStyle$$12$$.borderTopWidth) - $AdfAgent$$.$getCSSLengthAsInt$($computedStyle$$12$$.borderBottomWidth) - $AdfAgent$$.$getCSSLengthAsInt$($computedStyle$$12$$.paddingTop) - $AdfAgent$$.$getCSSLengthAsInt$($computedStyle$$12$$.paddingBottom);
};
function $JSCompiler_StaticMethods__animateReorder$$($JSCompiler_StaticMethods__animateReorder$self$$, $animationObjects$$2$$, $callback$$117$$) {
  $JSCompiler_StaticMethods__animateReorder$self$$.$_reorderAnimator$ && ($JSCompiler_StaticMethods__animateReorder$self$$.$_reorderAnimator$.stop(), delete $JSCompiler_StaticMethods__animateReorder$self$$.$_reorderAnimator$);
  var $animDuration$$1$$ = parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelAccordion-tr-reorder-animation-duration"));
  isNaN($animDuration$$1$$) && ($animDuration$$1$$ = 0);
  null == $animationObjects$$2$$ && ($animationObjects$$2$$ = []);
  for (var $data$$58$$ = $JSCompiler_StaticMethods__animateReorder$self$$.$_reorderData$, $i$$450$$ = 0, $size$$40$$ = $data$$58$$.length;$i$$450$$ < $size$$40$$;++$i$$450$$) {
    var $item$$46$$ = $data$$58$$[$i$$450$$], $top$$22$$ = $item$$46$$.top;
    if ($item$$46$$.$dragged$) {
      var $dropTarget$$14$$ = $AdfSubIdUtils$$.$getSubIdElementById$($JSCompiler_StaticMethods__animateReorder$self$$.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_DROP_TARGET_SUB_ID$);
      $item$$46$$.$header$.style.top = $top$$22$$ + "px";
      $dropTarget$$14$$.style.top = $top$$22$$ + "px";
    } else {
      $animationObjects$$2$$.push({element:$item$$46$$.$header$, $properties$:{offsetTop:$top$$22$$}});
    }
    $top$$22$$ += $item$$46$$.$headerHeight$;
    $item$$46$$.$disclosed$ && !$item$$46$$.$dragged$ ? $animationObjects$$2$$.push({element:$item$$46$$.content, $properties$:{offsetTop:$top$$22$$}}) : $item$$46$$.content.style.top = $top$$22$$ + "px";
  }
  $JSCompiler_StaticMethods__animateReorder$self$$.$_reorderAnimator$ = $AdfDhtmlElementAnimator$animate$$(3, $animDuration$$1$$, $animationObjects$$2$$, null, function($JSCompiler_StaticMethods__animateReorder$self$$) {
    var $animationObjects$$2$$ = $JSCompiler_StaticMethods__animateReorder$self$$[0];
    delete $animationObjects$$2$$.$_reorderAnimator$;
    if (null != $JSCompiler_StaticMethods__animateReorder$self$$[1]) {
      $JSCompiler_StaticMethods__animateReorder$self$$[1]($animationObjects$$2$$);
    }
  }, [$JSCompiler_StaticMethods__animateReorder$self$$, $callback$$117$$], null);
}
function $JSCompiler_StaticMethods__terminateReorderDrag$$($JSCompiler_StaticMethods__terminateReorderDrag$self$$) {
  $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$DestroyDragGhost$();
  var $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$ = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderNode$;
  $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.style.display = "block";
  $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderHeight$ != $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.offsetHeight && $AdfAgent$$.$AGENT$.$setOuterHeight$($headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$, $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderHeight$);
  $AdfDomUtils$$.$containsCSSClassName$($headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$) && ($headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.nextSibling.style.display = "block");
  $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_origDocumentCursor$ && ($AdfAgent$$.$AGENT$.setCursor(document.body, $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_origDocumentCursor$), delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_origDocumentCursor$);
  delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderNode$;
  delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragSourceTop$;
  delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragSourceLeft$;
  delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragOffsetX$;
  delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragOffsetY$;
  var $rootElement$$112_rootElement$$inline_3159$$ = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$getDomElement$();
  if ($AdfDomUtils$$.$containsCSSClassName$($rootElement$$112_rootElement$$inline_3159$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$)) {
    for (var $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$ = headerElements = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__terminateReorderDrag$self$$), $rootElement$$112_rootElement$$inline_3159$$ = $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$112_rootElement$$inline_3159$$), $size$$inline_3161$$ = $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.length, $i$$inline_3162$$ = 0;$i$$inline_3162$$ < $size$$inline_3161$$;++$i$$inline_3162$$) {
      var $headerNode$$inline_3163$$ = $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$[$i$$inline_3162$$], $contentNode$$inline_3164$$ = $headerNode$$inline_3163$$.nextSibling;
      $JSCompiler_StaticMethods__restoreFlowingElement$$($headerNode$$inline_3163$$);
      $JSCompiler_StaticMethods__restoreFlowingElement$$($contentNode$$inline_3164$$);
    }
    $rootElement$$112_rootElement$$inline_3159$$.style.width = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_oldWidth$;
    $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$ = $rootElement$$112_rootElement$$inline_3159$$.style;
    $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.overflow = "visible";
    $headerElements$$inline_3160_headerNode$$5_rootStyle$$inline_3165$$.height = "auto";
    delete $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_headerNodes$;
  }
}
$JSCompiler_prototypeAlias$$.$_handleReorderDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleReorderDrop$$() {
  if (null != this.$_ghost$) {
    var $agent$$476_animationObjects$$3_dropTargetPos$$ = $AdfAgent$$.$AGENT$, $dropTarget$$15$$ = $AdfSubIdUtils$$.$getSubIdElementById$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_DROP_TARGET_SUB_ID$), $agent$$476_animationObjects$$3_dropTargetPos$$ = $agent$$476_animationObjects$$3_dropTargetPos$$.$getElementPosition$($dropTarget$$15$$), $agent$$476_animationObjects$$3_dropTargetPos$$ = [{element:this.$_ghost$, $properties$:{top:$agent$$476_animationObjects$$3_dropTargetPos$$.y, left:$agent$$476_animationObjects$$3_dropTargetPos$$.x}}];
    $dropTarget$$15$$.style.display = "none";
    $JSCompiler_StaticMethods__animateReorder$$(this, $agent$$476_animationObjects$$3_dropTargetPos$$, function($agent$$476_animationObjects$$3_dropTargetPos$$) {
      $JSCompiler_StaticMethods__afterReorderDropAnimation$$($agent$$476_animationObjects$$3_dropTargetPos$$);
    });
  }
};
function $JSCompiler_StaticMethods__afterReorderDropAnimation$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$) {
  for (var $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_reorderData$, $dragNode$$1$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_dragHeaderNode$, $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$ = -1, $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = -1, $contentNode$$inline_5985_i$$451_item$$inline_5977$$ = 0, $parent$$inline_5978_parentNode$$inline_5986_size$$41$$ = 
  $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$.length;$contentNode$$inline_5985_i$$451_item$$inline_5977$$ < $parent$$inline_5978_parentNode$$inline_5986_size$$41$$;++$contentNode$$inline_5985_i$$451_item$$inline_5977$$) {
    var $headerElements$$inline_5983_obj$$44$$ = $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$[$contentNode$$inline_5985_i$$451_item$$inline_5977$$];
    if ($headerElements$$inline_5983_obj$$44$$.$header$ == $dragNode$$1$$) {
      $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$ = $headerElements$$inline_5983_obj$$44$$.$originalIndex$;
      $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = $contentNode$$inline_5985_i$$451_item$$inline_5977$$;
      break;
    }
  }
  $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$ = $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$;
  $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$ = new $AdfReorderEvent$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$getComponent$(), $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$, $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$);
  $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$.$queue$(!0);
  $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$.$isCanceled$() ? $JSCompiler_StaticMethods__revertReorder$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$) : ($event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_contentElement$.getElementsByTagName("div"), $contentNode$$inline_5985_i$$451_item$$inline_5977$$ = $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$[$currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$], 
  $parent$$inline_5978_parentNode$$inline_5986_size$$41$$ = $contentNode$$inline_5985_i$$451_item$$inline_5977$$.parentNode, $parent$$inline_5978_parentNode$$inline_5986_size$$41$$.removeChild($contentNode$$inline_5985_i$$451_item$$inline_5977$$), $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ == $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$.length ? $parent$$inline_5978_parentNode$$inline_5986_size$$41$$.appendChild($contentNode$$inline_5985_i$$451_item$$inline_5977$$) : 
  $parent$$inline_5978_parentNode$$inline_5986_size$$41$$.insertBefore($contentNode$$inline_5985_i$$451_item$$inline_5977$$, $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$[$computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$]), $headerElements$$inline_5983_obj$$44$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$), $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$ = 
  $headerElements$$inline_5983_obj$$44$$[$currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$], $contentNode$$inline_5985_i$$451_item$$inline_5977$$ = $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$.nextSibling, $headerElements$$inline_5983_obj$$44$$.splice($currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$, 1), $parent$$inline_5978_parentNode$$inline_5986_size$$41$$ = $event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$.parentNode, 
  $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$ = $AdfPage$$.$PAGE$.$_activeDomNode$, $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ == $headerElements$$inline_5983_obj$$44$$.length ? ($computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = $JSCompiler_StaticMethods__getRootChildElements$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$), $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = 
  $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$[$computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$.length - $AdfDhtmlPanelAccordionPeer$$.$_TRAILING_NON_ITEM_NODE_COUNT$]) : $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = $headerElements$$inline_5983_obj$$44$$[$computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$], 
  $parent$$inline_5978_parentNode$$inline_5986_size$$41$$.insertBefore($event$$inline_3171_fromIndex$$5_headerNode$$inline_5984_menuItems$$inline_5976$$, $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$), $parent$$inline_5978_parentNode$$inline_5986_size$$41$$.insertBefore($contentNode$$inline_5985_i$$451_item$$inline_5977$$, $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$), delete $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_headerNodes$, 
  $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$ && $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$.focus && ($computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$ = $AdfAgent$$.$AGENT$.getComputedStyle($currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$), $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$.style && "none" != $computedStyle$$inline_5990_infrontOf$$inline_5988_nodes$$inline_5989_toIndex$$5_toIndex$$inline_3170$$.style.display && 
  $currFocus$$inline_5987_data$$59_fromIndex$$inline_3169$$.focus()), delete $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_reorderData$, $JSCompiler_StaticMethods__terminateReorderDrag$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$), $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_selectedChildId$ = $JSCompiler_StaticMethods__getClientId$$($dragNode$$1$$), $JSCompiler_StaticMethods__forceResize$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$));
}
function $JSCompiler_StaticMethods__revertReorder$$($JSCompiler_StaticMethods__revertReorder$self$$, $animationObjects$$4$$) {
  var $data$$60$$ = $JSCompiler_StaticMethods__revertReorder$self$$.$_reorderData$;
  null == $animationObjects$$4$$ && ($animationObjects$$4$$ = []);
  var $headerSubClass$$1_laf$$104$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $headerClass$$1$$ = $headerSubClass$$1_laf$$104$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_CLASS$), $headerSubClass$$1_laf$$104$$ = $headerSubClass$$1_laf$$104$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUBSEQUENT_CLASS$);
  $data$$60$$.sort(function($JSCompiler_StaticMethods__revertReorder$self$$, $animationObjects$$4$$) {
    return $JSCompiler_StaticMethods__revertReorder$self$$.$originalIndex$ - $animationObjects$$4$$.$originalIndex$;
  });
  for (var $i$$452$$ = 0, $size$$42$$ = $data$$60$$.length;$i$$452$$ < $size$$42$$;++$i$$452$$) {
    var $dataItem_itemHeader$$1$$ = $data$$60$$[$i$$452$$];
    $dataItem_itemHeader$$1$$.top = $dataItem_itemHeader$$1$$.$origTop$;
    var $dataItem_itemHeader$$1$$ = $dataItem_itemHeader$$1$$.$header$, $offsetHeight$$6$$ = $dataItem_itemHeader$$1$$.offsetHeight;
    $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $i$$452$$, $dataItem_itemHeader$$1$$, $headerClass$$1$$);
    $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $i$$452$$, $dataItem_itemHeader$$1$$, $headerSubClass$$1_laf$$104$$);
    $offsetHeight$$6$$ != $dataItem_itemHeader$$1$$.offsetHeight && $AdfAgent$$.$AGENT$.$setOuterHeight$($dataItem_itemHeader$$1$$, $offsetHeight$$6$$);
    $data$$60$$[$i$$452$$].$dragged$ && ($AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $i$$452$$, $JSCompiler_StaticMethods__revertReorder$self$$.$_ghost$.childNodes[0], $headerClass$$1$$), $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $i$$452$$, $JSCompiler_StaticMethods__revertReorder$self$$.$_ghost$.childNodes[0], $headerSubClass$$1_laf$$104$$));
  }
  $JSCompiler_StaticMethods__animateReorder$$($JSCompiler_StaticMethods__revertReorder$self$$, $animationObjects$$4$$, function($JSCompiler_StaticMethods__revertReorder$self$$) {
    delete $JSCompiler_StaticMethods__revertReorder$self$$.$_reorderData$;
    $JSCompiler_StaticMethods__terminateReorderDrag$$($JSCompiler_StaticMethods__revertReorder$self$$);
  });
}
$JSCompiler_prototypeAlias$$.$_handleReorderAbort$ = function $$JSCompiler_prototypeAlias$$$$_handleReorderAbort$$() {
  null != this.$_ghost$ && $JSCompiler_StaticMethods__revertReorder$$(this, [{element:this.$_ghost$, $properties$:{top:this.$_dragSourceTop$, left:this.$_dragSourceLeft$}}]);
};
$JSCompiler_prototypeAlias$$.$_handleResizeDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleResizeDrag$$($evt$$127_mousePosition$$inline_3176_top$$inline_3177$$) {
  var $pageBounds$$inline_3175$$ = this.$_pageBounds$;
  $evt$$127_mousePosition$$inline_3176_top$$inline_3177$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($evt$$127_mousePosition$$inline_3176_top$$inline_3177$$);
  $evt$$127_mousePosition$$inline_3176_top$$inline_3177$$ = Math.max($evt$$127_mousePosition$$inline_3176_top$$inline_3177$$.y, $pageBounds$$inline_3175$$.top);
  $evt$$127_mousePosition$$inline_3176_top$$inline_3177$$ = Math.min($evt$$127_mousePosition$$inline_3176_top$$inline_3177$$, $pageBounds$$inline_3175$$.bottom);
  this.$_resizeDivider$.style.top = $evt$$127_mousePosition$$inline_3176_top$$inline_3177$$ + "px";
};
$JSCompiler_prototypeAlias$$.$_handleResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleResizeDrop$$($domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$, $deltaX$$27_itemComponent$$2_page$$inline_3181$$, $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$) {
  $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  var $minHeight$$1$$ = parseInt($domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_MINIMUM_INFLEXIBLE_HEIGHT$));
  $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$ = this.$_resizeChildId$;
  $AdfAssert$$.$assertString$($domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$ = $AdfPage$$.$PAGE$.$findComponent$($domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$);
  $AdfAssert$$.$assertPrototype$($deltaX$$27_itemComponent$$2_page$$inline_3181$$, AdfRichShowDetailItem);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$.$getPeer$().bind($deltaX$$27_itemComponent$$2_page$$inline_3181$$);
  $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$ = $deltaX$$27_itemComponent$$2_page$$inline_3181$$.$getPeer$().$getDomNode$();
  var $height$$37$$ = $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$.offsetHeight, $height$$37$$ = $height$$37$$ + $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$;
  $height$$37$$ < $minHeight$$1$$ && ($height$$37$$ = $minHeight$$1$$);
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$ = this.$_pageBounds$;
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$ = $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.bottom - $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.top;
  $height$$37$$ > $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$ && ($height$$37$$ = $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$.$ResizeHandlePropertyChange$ = !0;
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$.setFlex(0);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$.setProperty("inflexibleHeight", $height$$37$$, !0);
  delete $deltaX$$27_itemComponent$$2_page$$inline_3181$$.$ResizeHandlePropertyChange$;
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$ = this.$_resizeDivider$;
  $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$ = $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$.parentNode;
  $AdfAssert$$.$assertDomNode$($deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$);
  $AdfAssert$$.$assertDomNode$($domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$ = $AdfPage$$.$PAGE$;
  $AdfDomUtils$$.$removeCSSClassName$($deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$, $AdfDhtmlPanelAccordionPeer$$.$_DRAG_STYLECLASS$);
  $deltaX$$27_itemComponent$$2_page$$inline_3181$$.$getZOrderManager$().$removeElement$($deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$);
  $domNode$$69_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3180$$.appendChild($deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$);
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$ = $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.style;
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.width = "";
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.left = "";
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.top = "";
  $deltaY$$32_dividerNode$$inline_3179_dividerStyle$$inline_3182_maxHeight$$2_pageBounds$$1$$.zIndex = "";
  delete this.$_resizeDivider$;
  delete this.$_dragInProgress$;
  delete this.$_pageBounds$;
  delete this.$_resizeChildId$;
  $JSCompiler_StaticMethods__forceResize$$(this);
  $AdfAgent$$.$AGENT$.$enableUserSelect$(document.body);
};
function $JSCompiler_StaticMethods__forceResize$$($JSCompiler_StaticMethods__forceResize$self$$) {
  var $component$$1672$$ = $JSCompiler_StaticMethods__forceResize$self$$.$getComponent$();
  $JSCompiler_StaticMethods__forceResize$self$$.$_reallocateSize$ = !0;
  $AdfPage$$.$PAGE$.$doResizeNotify$($component$$1672$$);
}
$JSCompiler_prototypeAlias$$.$HandleComponentKeyDown$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentKeyDown$$($componentEvent$$352$$) {
  if (!$componentEvent$$352$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $nativeEvent$$42$$ = $componentEvent$$352$$.$getNativeEvent$();
    switch($AdfAgent$$.$AGENT$.$getKeyCode$($nativeEvent$$42$$)) {
      case $AdfKeyStroke$$.$ENTER_KEY$:
      ;
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
      ;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
      ;
      case $AdfKeyStroke$$.$SPACE_KEY$:
        this.$_handleSelection$($componentEvent$$352$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentKeyUp$$($componentEvent$$353$$) {
  if (!$componentEvent$$353$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $nativeEvent$$43$$ = $componentEvent$$353$$.$getNativeEvent$(), $handled$$1$$ = !1;
    switch($AdfAgent$$.$AGENT$.$getKeyCode$($nativeEvent$$43$$)) {
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$353$$);
        $nativeEvent$$43$$.shiftKey && $nativeEvent$$43$$.ctrlKey ? $handled$$1$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$$(this, !0, $componentEvent$$353$$) : $nativeEvent$$43$$.shiftKey || $nativeEvent$$43$$.ctrlKey || ($handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, !1));
        break;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$353$$);
        $nativeEvent$$43$$.shiftKey && $nativeEvent$$43$$.ctrlKey ? $handled$$1$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$$(this, !1, $componentEvent$$353$$) : $nativeEvent$$43$$.shiftKey || $nativeEvent$$43$$.ctrlKey || ($handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, !0));
        break;
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$353$$);
        break;
      case $AdfKeyStroke$$.$SPACE_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$353$$), $handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, null);
    }
    $handled$$1$$ && $componentEvent$$353$$.cancel();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyUp$});
function $JSCompiler_StaticMethods__handleReorderKeyUp$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $moveUp$$1$$, $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$) {
  if ("disable" != $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$getComponent$().getReorder() && !$JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_dragInProgress$ && !$JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_discloseAnimationData$) {
    $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$ = $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$.$getNativeEvent$();
    $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$);
    if (!$clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$.id) {
      return !1;
    }
    var $headerElements$$6_idParts$$ = $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$.id.split("::");
    if ($headerElements$$6_idParts$$[$headerElements$$6_idParts$$.length - 1] != $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$) {
      return !1;
    }
    if ($clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_getCurrencyFromDomElement$($clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$, $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$getDomElement$())) {
      $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$ = $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$[0];
      for (var $headerElements$$6_idParts$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$), $firstVisibleIndex$$2$$ = null != $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_lastTopOverflowPaneIndex$ ? $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_lastTopOverflowPaneIndex$ + 1 : 0, $lastVisibleIndex$$2$$ = null != $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_firstBottomOverflowPaneIndex$ ? $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_firstBottomOverflowPaneIndex$ - 
      1 : $headerElements$$6_idParts$$.length - 1, $i$$453$$ = 0;$i$$453$$ < $headerElements$$6_idParts$$.length;++$i$$453$$) {
        if ($JSCompiler_StaticMethods__getClientId$$($headerElements$$6_idParts$$[$i$$453$$]) == $clientId$$340_componentEvent$$354_currency_nativeEvent$$44_target$$153$$) {
          if ($moveUp$$1$$) {
            if ($i$$453$$ <= $firstVisibleIndex$$2$$) {
              return !1;
            }
            $JSCompiler_StaticMethods__reorderPanel$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $i$$453$$, $i$$453$$ - 1);
          } else {
            if ($i$$453$$ >= $lastVisibleIndex$$2$$) {
              return !1;
            }
            $JSCompiler_StaticMethods__reorderPanel$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $i$$453$$, $i$$453$$ + 1);
          }
          return !0;
        }
      }
    }
  }
}
function $JSCompiler_StaticMethods__reorderPanel$$($JSCompiler_StaticMethods__reorderPanel$self$$, $fromIndex$$8$$, $toIndex$$8$$) {
  if (!$JSCompiler_StaticMethods__reorderPanel$self$$.$_dragInProgress$ && !$JSCompiler_StaticMethods__reorderPanel$self$$.$_discloseAnimationData$) {
    var $data$$61$$ = $JSCompiler_StaticMethods__reorderPanel$self$$.$_reorderData$ = $JSCompiler_StaticMethods__getReorderItemPlacement$$($JSCompiler_StaticMethods__reorderPanel$self$$), $agent$$478_i$$454_rootElement$$113$$, $item$$47$$ = $data$$61$$[$fromIndex$$8$$];
    $data$$61$$.splice($fromIndex$$8$$, 1);
    $JSCompiler_StaticMethods__reorderPanel$self$$.$_dragInProgress$ = !0;
    $JSCompiler_StaticMethods__reorderPanel$self$$.$_dragHeaderNode$ = $item$$47$$.$header$;
    $JSCompiler_StaticMethods__reorderPanel$self$$.$_dragHeaderHeight$ = $item$$47$$.$header$.offsetHeight;
    if (0 == $fromIndex$$8$$ || 0 == $toIndex$$8$$) {
      $agent$$478_i$$454_rootElement$$113$$ = $AdfAgent$$.$AGENT$;
      var $headerSubClass$$2_laf$$106$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $headerClass$$2$$ = $headerSubClass$$2_laf$$106$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_CLASS$), $headerSubClass$$2_laf$$106$$ = $headerSubClass$$2_laf$$106$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUBSEQUENT_CLASS$), $firstHeader$$ = $data$$61$$[0].$header$, $itemHeader$$2$$ = $item$$47$$.$header$, $firstOffsetHeight$$ = $firstHeader$$.offsetHeight, $itemOffsetHeight$$ = $itemHeader$$2$$.offsetHeight;
      0 == $fromIndex$$8$$ ? ($AdfDomUtils$$.$addCSSClassName$($firstHeader$$, $headerClass$$2$$), $AdfDomUtils$$.$removeCSSClassName$($firstHeader$$, $headerSubClass$$2_laf$$106$$), $AdfDomUtils$$.$addCSSClassName$($itemHeader$$2$$, $headerSubClass$$2_laf$$106$$), $AdfDomUtils$$.$removeCSSClassName$($itemHeader$$2$$, $headerClass$$2$$)) : ($AdfDomUtils$$.$addCSSClassName$($firstHeader$$, $headerSubClass$$2_laf$$106$$), $AdfDomUtils$$.$removeCSSClassName$($firstHeader$$, $headerClass$$2$$), $AdfDomUtils$$.$addCSSClassName$($itemHeader$$2$$, 
      $headerClass$$2$$), $AdfDomUtils$$.$removeCSSClassName$($itemHeader$$2$$, $headerSubClass$$2_laf$$106$$));
      $agent$$478_i$$454_rootElement$$113$$.$setOuterHeight$($firstHeader$$, $firstOffsetHeight$$);
      $agent$$478_i$$454_rootElement$$113$$.$setOuterHeight$($itemHeader$$2$$, $itemOffsetHeight$$);
    }
    $agent$$478_i$$454_rootElement$$113$$ = $JSCompiler_StaticMethods__reorderPanel$self$$.$getDomElement$();
    $AdfDomUtils$$.$containsCSSClassName$($agent$$478_i$$454_rootElement$$113$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$) && $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$$($JSCompiler_StaticMethods__reorderPanel$self$$, $agent$$478_i$$454_rootElement$$113$$, $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__reorderPanel$self$$));
    for ($agent$$478_i$$454_rootElement$$113$$ = $fromIndex$$8$$;$agent$$478_i$$454_rootElement$$113$$ < $toIndex$$8$$;++$agent$$478_i$$454_rootElement$$113$$) {
      $data$$61$$[$agent$$478_i$$454_rootElement$$113$$].top -= $item$$47$$.height, $item$$47$$.top += $data$$61$$[$agent$$478_i$$454_rootElement$$113$$].height;
    }
    for ($agent$$478_i$$454_rootElement$$113$$ = $toIndex$$8$$;$agent$$478_i$$454_rootElement$$113$$ < $fromIndex$$8$$;++$agent$$478_i$$454_rootElement$$113$$) {
      $data$$61$$[$agent$$478_i$$454_rootElement$$113$$].top += $item$$47$$.height, $item$$47$$.top -= $data$$61$$[$agent$$478_i$$454_rootElement$$113$$].height;
    }
    $toIndex$$8$$ == $data$$61$$.length ? $data$$61$$.push($item$$47$$) : $data$$61$$.splice($toIndex$$8$$, 0, $item$$47$$);
    $JSCompiler_StaticMethods__animateReorder$$($JSCompiler_StaticMethods__reorderPanel$self$$, [], function($JSCompiler_StaticMethods__reorderPanel$self$$) {
      $JSCompiler_StaticMethods__afterReorderDropAnimation$$($JSCompiler_StaticMethods__reorderPanel$self$$);
    });
  }
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$getShowDetailItems$ = function $$AdfDhtmlPanelAccordionPeer$$$$$getShowDetailItems$$() {
  var $components$$8$$ = [], $headerElements$$7$$ = $JSCompiler_StaticMethods__getHeaderElements$$(this), $index$$160$$;
  for ($index$$160$$ in $headerElements$$7$$) {
    var $component$$1673_id$$335$$ = $headerElements$$7$$[$index$$160$$].id;
    $component$$1673_id$$335$$ && ($component$$1673_id$$335$$ = $AdfPage$$.$PAGE$.$findComponent$($component$$1673_id$$335$$.replace("::head", ""))) && $components$$8$$.push($component$$1673_id$$335$$);
  }
  return $components$$8$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.getShowDetailItems", {$getShowDetailItems$:$AdfDhtmlPanelAccordionPeer$$.prototype.$getShowDetailItems$});
function $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__getHeaderElements$self$$) {
  if (null == $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$) {
    $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$ = [];
    for (var $nodes$$22$$ = $JSCompiler_StaticMethods__getRootChildElements$$($JSCompiler_StaticMethods__getHeaderElements$self$$), $lastBodyNodeIndex$$ = $nodes$$22$$.length - $AdfDhtmlPanelAccordionPeer$$.$_TRAILING_NON_ITEM_NODE_COUNT$ - 1, $i$$455$$ = $AdfDhtmlPanelAccordionPeer$$.$_LEADING_NON_ITEM_NODE_COUNT$;$i$$455$$ < $lastBodyNodeIndex$$;$i$$455$$ += 2) {
      $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$.push($nodes$$22$$[$i$$455$$]);
    }
  }
  return $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$;
}
function $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$114$$) {
  if (1 == $AdfDomUtils$$.$getNonWhitespaceChildCount$($rootElement$$114$$)) {
    var $firstChild$$8$$ = $AdfDomUtils$$.$getFirstChildElement$($rootElement$$114$$);
    if ($firstChild$$8$$ && "none" != $firstChild$$8$$.style.display) {
      return $firstChild$$8$$;
    }
  }
  return $rootElement$$114$$;
}
function $JSCompiler_StaticMethods__getRootChildElements$$($JSCompiler_StaticMethods__getRootChildElements$self_rawNodes$$2$$) {
  $JSCompiler_StaticMethods__getRootChildElements$self_rawNodes$$2$$ = $JSCompiler_StaticMethods__getRootWrapper$$($JSCompiler_StaticMethods__getRootChildElements$self_rawNodes$$2$$.$getDomElement$()).childNodes;
  for (var $nodes$$23$$ = [], $nodeIndex$$2$$ = 0, $len$$28$$ = $JSCompiler_StaticMethods__getRootChildElements$self_rawNodes$$2$$.length;$nodeIndex$$2$$ < $len$$28$$;$nodeIndex$$2$$++) {
    var $node$$97$$ = $JSCompiler_StaticMethods__getRootChildElements$self_rawNodes$$2$$[$nodeIndex$$2$$];
    $node$$97$$ && 1 == $node$$97$$.nodeType && $nodes$$23$$.push($node$$97$$);
  }
  return $nodes$$23$$;
}
$AdfDhtmlPanelAccordionPeer$$.$DragAbortAnimationComplete$ = function $$AdfDhtmlPanelAccordionPeer$$$$DragAbortAnimationComplete$$($callbackParameters$$6$$) {
  $callbackParameters$$6$$.$DestroyDragGhost$();
};
$goog$exportSymbol$$("AdfDhtmlPanelAccordionPeer.DragAbortAnimationComplete", $AdfDhtmlPanelAccordionPeer$$.$DragAbortAnimationComplete$);
$AdfDhtmlPanelAccordionPeer$$.prototype.$DestroyDragGhost$ = function $$AdfDhtmlPanelAccordionPeer$$$$$DestroyDragGhost$$() {
  $AdfAgent$$.$AGENT$.$enableUserSelect$(document.body);
  this.$_ghost$ && this.$_ghost$.parentNode.removeChild(this.$_ghost$);
  $AdfSubIdUtils$$.$getSubIdElementById$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_DROP_TARGET_SUB_ID$).style.display = "none";
  delete this.$_ghost$;
  this.$_dragInProgress$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.DestroyDragGhost", {$DestroyDragGhost$:$AdfDhtmlPanelAccordionPeer$$.prototype.$DestroyDragGhost$});
function $JSCompiler_StaticMethods__setDisclosure$$($JSCompiler_StaticMethods__setDisclosure$self$$, $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$, $newDisclosureState$$) {
  if (!$JSCompiler_StaticMethods__setDisclosure$self$$.$_discloseAnimationData$) {
    var $elem$$34_target$$154$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$);
    $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$ = $JSCompiler_StaticMethods__setDisclosure$self$$.$_getCurrencyFromDomElement$($elem$$34_target$$154$$, $JSCompiler_StaticMethods__setDisclosure$self$$.$getDomElement$());
    if (null != $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$) {
      var $agent$$480_childId$$8_disclosed$$3$$ = $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$[0];
      if ($clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$[1] == $AdfDhtmlPanelAccordionPeer$$.$_EVENT_TYPE_DISCLOSURE$) {
        return $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$[3] ? ($AdfDhtmlPanelAccordionPeer$$.$handleOverflowItemClick$($agent$$480_childId$$8_disclosed$$3$$, $JSCompiler_StaticMethods__setDisclosure$self$$.$getComponent$().$getClientId$()), !0) : $JSCompiler_StaticMethods__doDisclose$$($JSCompiler_StaticMethods__setDisclosure$self$$, $agent$$480_childId$$8_disclosed$$3$$, $newDisclosureState$$, $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$[2]);
      }
    } else {
      $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$ = $JSCompiler_StaticMethods__setDisclosure$self$$.$getDomElement$();
      var $agent$$480_childId$$8_disclosed$$3$$ = $AdfAgent$$.$AGENT$, $first$$3$$ = !0;
      if (!$AdfDomUtils$$.$isAncestor$($clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$, $elem$$34_target$$154$$)) {
        return !1;
      }
      for (;null != $elem$$34_target$$154$$;) {
        var $parent$$55$$ = $elem$$34_target$$154$$.parentNode;
        if (!$first$$3$$ && $agent$$480_childId$$8_disclosed$$3$$.getAttribute($elem$$34_target$$154$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_TOOLBAR$)) {
          break;
        }
        var $first$$3$$ = !1, $elemId$$1$$ = $elem$$34_target$$154$$.id;
        if (null != $elemId$$1$$ && -1 != $elemId$$1$$.indexOf("::reorder")) {
          break;
        }
        if ($parent$$55$$ == $JSCompiler_StaticMethods__getRootWrapper$$($clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$)) {
          $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$ = $JSCompiler_StaticMethods__getClientId$$($elem$$34_target$$154$$);
          if (null == $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$) {
            break;
          }
          if ($AdfDomUtils$$.$containsCSSClassName$($elem$$34_target$$154$$, $AdfDhtmlPanelAccordionPeer$$.$_DISABLED_STYLECLASS$)) {
            break;
          }
          $agent$$480_childId$$8_disclosed$$3$$ = $AdfDomUtils$$.$containsCSSClassName$($elem$$34_target$$154$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$);
          return $JSCompiler_StaticMethods__doDisclose$$($JSCompiler_StaticMethods__setDisclosure$self$$, $clickInfo_clientId$$341_nativeEvent$$45_rootElem$$1$$, $newDisclosureState$$, $agent$$480_childId$$8_disclosed$$3$$);
        }
        $elem$$34_target$$154$$ = $parent$$55$$;
      }
    }
    return !1;
  }
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$disclose$ = function $$AdfDhtmlPanelAccordionPeer$$$$$disclose$$($showDetailItem$$1$$, $disclosureState$$1$$) {
  if (!this.$_discloseAnimationData$) {
    var $clientId$$342$$ = $showDetailItem$$1$$.$getClientId$(), $disclosed$$4_element$$271_headerSubId$$2$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$342$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $disclosed$$4_element$$271_headerSubId$$2$$ = $AdfAgent$$.$AGENT$.getElementById($disclosed$$4_element$$271_headerSubId$$2$$);
    if ($AdfDomUtils$$.$containsCSSClassName$($disclosed$$4_element$$271_headerSubId$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_DISABLED_STYLECLASS$)) {
      return !1;
    }
    void 0 === $disclosureState$$1$$ && ($disclosureState$$1$$ = !0);
    $disclosed$$4_element$$271_headerSubId$$2$$ = $AdfDomUtils$$.$containsCSSClassName$($disclosed$$4_element$$271_headerSubId$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$);
    return $JSCompiler_StaticMethods__doDisclose$$(this, $clientId$$342$$, $disclosureState$$1$$, $disclosed$$4_element$$271_headerSubId$$2$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.disclose", {$disclose$:$AdfDhtmlPanelAccordionPeer$$.prototype.$disclose$});
function $JSCompiler_StaticMethods__isElementInToolbar$$($JSCompiler_StaticMethods__isElementInToolbar$self$$, $elem$$35$$) {
  var $agent$$481$$ = $AdfAgent$$.$AGENT$, $rootElem$$2$$ = $JSCompiler_StaticMethods__isElementInToolbar$self$$.$getDomElement$();
  for ($elem$$35$$ = $elem$$35$$.parentNode;null != $elem$$35$$ && $elem$$35$$ != $rootElem$$2$$;$elem$$35$$ = $elem$$35$$.parentNode) {
    if (1 == $elem$$35$$.nodeType && $agent$$481$$.getAttribute($elem$$35$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_TOOLBAR$)) {
      return !0;
    }
  }
  return !1;
}
function $JSCompiler_StaticMethods__doDisclose$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$, $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$, $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$) {
  var $animationData_component$$1674_disclosedItemCount$$inline_3193$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$getComponent$(), $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$), $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$ = "immediate" == $animationData_component$$1674_disclosedItemCount$$inline_3193$$.getContentDelivery(), 
  $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$ = "attachment" == $AdfPage$$.$PAGE$.$_outputMode$;
  if (null == $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$) {
    $AdfLogger$$.$LOGGER$.severe("AdfDhtmlPanelAccordionPeer encountered an unexpected null newDisclosed: ", $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, " where clientIdToDisclose \x3d ", $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$);
  } else {
    if ($contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$ && !$attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$) {
      $AdfLogger$$.$LOGGER$.warning("PanelAccordion contentDelivery\x3dimmediate is not supported outside of attachment mode. Disclose ability is disabled while in this state.");
    } else {
      if ($contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$) {
        var $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$getComponent$(), $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ = $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$.getDiscloseMany(), $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ = $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$.getDiscloseNone();
        0 == $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ ? ($AdfLogger$$.$LOGGER$.warning("PanelAccordion discloseMany\x3dfalse is not supported in attachment mode."), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = !1) : null != $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ && $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ == 
        $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ ? $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = !1 : ($isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !$childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ = 
        $JSCompiler_StaticMethods__getDisclosedClientIds$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$getDomElement$()), $animationData_component$$1674_disclosedItemCount$$inline_3193$$ = $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$.length, $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ && 
        !$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ && 1 == $animationData_component$$1674_disclosedItemCount$$inline_3193$$ ? $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = !1 : ($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$, 
        $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$), $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $AdfPage$$.$PAGE$.$findComponent$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$), $JSCompiler_StaticMethods__beginDisclosureAnimation$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$, 
        $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, null, $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$), $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$.setDisclosed($isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$), 
        $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$ = $AdfAgent$$.$AGENT$, 
        ($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.getElementById($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$)) && 
        ($isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ ? $AdfDomUtils$$.$addCSSClassName$($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_PSEUDO_CLASS$) : $AdfDomUtils$$.$removeCSSClassName$($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, 
        $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_PSEUDO_CLASS$)), $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$), $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = 
        $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.getElementById($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$), null != $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ && 
        $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.setAttribute($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_DISCLOSED$, $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$), $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$ = 
        $AdfPage$$.$PAGE$.$getLookAndFeel$(), $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$ = $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ ? $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_UNDISCLOSED_ICON_STYLE_CLASS$) : $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_ICON_STYLE_CLASS$), $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$ = 
        $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ ? $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_ICON_STYLE_CLASS$) : $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_UNDISCLOSED_ICON_STYLE_CLASS$), $AdfDomUtils$$.$removeCSSClassName$($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, 
        $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$), $AdfDomUtils$$.$addCSSClassName$($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$, $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$), !$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ && $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ && 
        1 == $animationData_component$$1674_disclosedItemCount$$inline_3193$$ && ($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $AdfRichUIPeer$$.$CreateSubId$($discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$[0], $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_BTN_SUB_ID$), 
        $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.getElementById($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$), 
        null != $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ && ($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$.style.display = "")), $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$ || 
        $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ || 2 != $animationData_component$$1674_disclosedItemCount$$inline_3193$$ || ($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = $AdfRichUIPeer$$.$CreateSubId$($discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$[0] == $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ ? 
        $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$[1] : $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$[0], $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_BTN_SUB_ID$), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.getElementById($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$), 
        null != $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ && ($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$.style.display = "none")), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$ = !0));
        return $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$;
      }
      $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$ = $animationData_component$$1674_disclosedItemCount$$inline_3193$$.getDiscloseMany();
      $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$ = $animationData_component$$1674_disclosedItemCount$$inline_3193$$.getDiscloseNone();
      $animationData_component$$1674_disclosedItemCount$$inline_3193$$ = null;
      if (null == $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ || $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ != $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$) {
        $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !1;
        if ($contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3201$$) {
          if ($discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ = $JSCompiler_StaticMethods__getDisclosedClientIds$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$getDomElement$()).length, $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$) {
            if (1 < $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ || $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$) {
              $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, !1) && ($animationData_component$$1674_disclosedItemCount$$inline_3193$$ = {item:$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, $disclosed$:!1, $previouslyDisclosedItem$:null}), $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !0;
            }
          } else {
            $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, !0) && ($animationData_component$$1674_disclosedItemCount$$inline_3193$$ = {item:$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, $disclosed$:!0, $previouslyDisclosedItem$:null}), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, 
            $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !0;
          }
        } else {
          $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ ? $attachmentMode_discloseNone_laf$$inline_3200_newAnchorStyle$$inline_3202$$ && ($JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, !1) && ($animationData_component$$1674_disclosedItemCount$$inline_3193$$ = 
          {item:$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, $disclosed$:!1, $previouslyDisclosedItem$:null}), $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !0) : ($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$), 
          null != $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$ && ($discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$), 
          $AdfAssert$$.assert(null != $discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$, "Could not find a showDetailItem component with clientId \x3d " + $childAnchor$$inline_3199_childAnchorSubId$$inline_3198_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3204_openItemBtnSubId$$inline_3203_sdiHeadElement$$inline_3197_sdiHeadId$$inline_3195_showDetailItem$$inline_3194$$)), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$_queueClientDisclosureChanges$($discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$, 
          $component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$) && ($animationData_component$$1674_disclosedItemCount$$inline_3193$$ = {item:$component$$inline_3188_discloseNone$$inline_3190_newDisclosed$$1$$, $disclosed$:!0, $previouslyDisclosedItem$:$discloseMany$$inline_3189_disclosedClientIds$$inline_3192_disclosedItemCount_oldDisclosed$$1$$}), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$, 
          $isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$ = !0);
        }
        $animationData_component$$1674_disclosedItemCount$$inline_3193$$ && $JSCompiler_StaticMethods__beginDisclosureAnimation$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$, $animationData_component$$1674_disclosedItemCount$$inline_3193$$.item, $animationData_component$$1674_disclosedItemCount$$inline_3193$$.$previouslyDisclosedItem$, $animationData_component$$1674_disclosedItemCount$$inline_3193$$.$disclosed$);
        if ($isOpening$$inline_3191_newDisclosureState$$1_redrawAccordion$$) {
          return $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3196$$, $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3206_otherItemIdBtnSubId$$inline_3205$$), !0;
        }
      }
    }
  }
  return !1;
}
function $JSCompiler_StaticMethods__beginDisclosureAnimation$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, $descendantResizeComponent_item$$49_toBeDisclosedData$$, $animationObjects$$6_oldDisclosed$$2$$, $afterData_newDisclosureState$$3$$) {
  if (!$JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_discloseAnimationData$) {
    var $dimensionsFromChildren_rootElement$$116$$ = $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$getDomElement$(), $dimensionsFromChildren_rootElement$$116$$ = $AdfDomUtils$$.$containsCSSClassName$($dimensionsFromChildren_rootElement$$116$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$), $clientId$$343_visibleBefore$$ = $descendantResizeComponent_item$$49_toBeDisclosedData$$.$getClientId$(), $oldClientId$$1_visibleAfter$$ = $animationObjects$$6_oldDisclosed$$2$$ ? $animationObjects$$6_oldDisclosed$$2$$.$getClientId$() : 
    null, $animDuration$$2_headerElements$$8$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$), $i$$456$$, $size$$43$$, $elem$$36$$, $cid_contentElem$$2$$;
    $animationObjects$$6_oldDisclosed$$2$$ = [];
    var $toBeUnDisclosedData$$ = $descendantResizeComponent_item$$49_toBeDisclosedData$$ = null;
    if ($dimensionsFromChildren_rootElement$$116$$) {
      var $beforeData_bodyDisclosing$$ = null, $bodyUndisclosing_forcedVisible$$ = null;
      $i$$456$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$456$$ < $size$$43$$;++$i$$456$$) {
        $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$456$$], $cid_contentElem$$2$$ = $JSCompiler_StaticMethods__getClientId$$($elem$$36$$), $cid_contentElem$$2$$ == $clientId$$343_visibleBefore$$ ? $afterData_newDisclosureState$$3$$ ? $beforeData_bodyDisclosing$$ = $elem$$36$$.nextSibling : $bodyUndisclosing_forcedVisible$$ = $elem$$36$$.nextSibling : $cid_contentElem$$2$$ == $oldClientId$$1_visibleAfter$$ && ($bodyUndisclosing_forcedVisible$$ = $elem$$36$$.nextSibling);
      }
      null != $beforeData_bodyDisclosing$$ && ($beforeData_bodyDisclosing$$.style.overflow = "hidden", $AdfAgent$$.$AGENT$.$setOpacity$($beforeData_bodyDisclosing$$, 0), $beforeData_bodyDisclosing$$.style.display = "block", $descendantResizeComponent_item$$49_toBeDisclosedData$$ = {$bodyId$:$beforeData_bodyDisclosing$$.id}, $animationObjects$$6_oldDisclosed$$2$$.push({element:$beforeData_bodyDisclosing$$, $properties$:{alpha:100}}));
      null != $bodyUndisclosing_forcedVisible$$ && ($bodyUndisclosing_forcedVisible$$.style.overflow = "hidden", $toBeUnDisclosedData$$ = {$bodyId$:$bodyUndisclosing_forcedVisible$$.id}, $animationObjects$$6_oldDisclosed$$2$$.push({element:$bodyUndisclosing_forcedVisible$$, $properties$:{height:0}}));
    } else {
      $beforeData_bodyDisclosing$$ = $JSCompiler_StaticMethods__getItemSizingData$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_mostRecentHeight$);
      $bodyUndisclosing_forcedVisible$$ = [];
      $i$$456$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$456$$ < $size$$43$$;++$i$$456$$) {
        $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$456$$], $cid_contentElem$$2$$ = $JSCompiler_StaticMethods__getClientId$$($elem$$36$$), $cid_contentElem$$2$$ == $clientId$$343_visibleBefore$$ ? $bodyUndisclosing_forcedVisible$$[$i$$456$$] = $afterData_newDisclosureState$$3$$ : $cid_contentElem$$2$$ == $oldClientId$$1_visibleAfter$$ && ($bodyUndisclosing_forcedVisible$$[$i$$456$$] = !1);
      }
      $afterData_newDisclosureState$$3$$ = $JSCompiler_StaticMethods__getItemSizingData$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_mostRecentHeight$, $bodyUndisclosing_forcedVisible$$);
      $i$$456$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$456$$ < $size$$43$$;++$i$$456$$) {
        $i$$456$$ < $beforeData_bodyDisclosing$$.$startIndex$ && $i$$456$$ < $afterData_newDisclosureState$$3$$.$startIndex$ || ($i$$456$$ < $afterData_newDisclosureState$$3$$.$startIndex$ ? $JSCompiler_StaticMethods__animateDiscloseIntoOverflow$$($animDuration$$2_headerElements$$8$$[$i$$456$$], $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$456$$ - $beforeData_bodyDisclosing$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$456$$ < $beforeData_bodyDisclosing$$.$startIndex$ ? $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, 
        $animDuration$$2_headerElements$$8$$[$i$$456$$], $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$456$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$456$$ > $beforeData_bodyDisclosing$$.$endIndex$ && $i$$456$$ > $afterData_newDisclosureState$$3$$.$endIndex$ || ($i$$456$$ > $beforeData_bodyDisclosing$$.$endIndex$ ? $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, 
        $animDuration$$2_headerElements$$8$$[$i$$456$$], $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$456$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$456$$ > $afterData_newDisclosureState$$3$$.$endIndex$ ? $JSCompiler_StaticMethods__animateDiscloseIntoOverflow$$($animDuration$$2_headerElements$$8$$[$i$$456$$], $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$456$$ - $beforeData_bodyDisclosing$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : 
        ($clientId$$343_visibleBefore$$ = $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$456$$ - $beforeData_bodyDisclosing$$.$startIndex$], $oldClientId$$1_visibleAfter$$ = $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$456$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$456$$], $cid_contentElem$$2$$ = $elem$$36$$.nextSibling, $clientId$$343_visibleBefore$$.top != $oldClientId$$1_visibleAfter$$.top && $animationObjects$$6_oldDisclosed$$2$$.push({element:$elem$$36$$, 
        $properties$:{offsetTop:$oldClientId$$1_visibleAfter$$.top}}), -1 != $oldClientId$$1_visibleAfter$$.$contentTop$ && -1 == $clientId$$343_visibleBefore$$.$contentTop$ ? ($AdfAgent$$.$AGENT$.$setOpacity$($cid_contentElem$$2$$, 0), $cid_contentElem$$2$$.style.display = "block", $descendantResizeComponent_item$$49_toBeDisclosedData$$ = {$headerId$:$elem$$36$$.id, $bodyId$:$cid_contentElem$$2$$.id, $sizingData$:$oldClientId$$1_visibleAfter$$}, $animationObjects$$6_oldDisclosed$$2$$.push({element:$cid_contentElem$$2$$, 
        $properties$:{alpha:100}})) : -1 == $oldClientId$$1_visibleAfter$$.$contentTop$ && -1 != $clientId$$343_visibleBefore$$.$contentTop$ ? ($toBeUnDisclosedData$$ = {$headerId$:$elem$$36$$.id, $bodyId$:$cid_contentElem$$2$$.id, $sizingData$:$clientId$$343_visibleBefore$$}, $animationObjects$$6_oldDisclosed$$2$$.push({element:$cid_contentElem$$2$$, $properties$:{offsetTop:$oldClientId$$1_visibleAfter$$.top + $elem$$36$$.offsetHeight, height:0}})) : $oldClientId$$1_visibleAfter$$.$contentTop$ == 
        $clientId$$343_visibleBefore$$.$contentTop$ && $oldClientId$$1_visibleAfter$$.$contentHeight$ == $clientId$$343_visibleBefore$$.$contentHeight$ || $animationObjects$$6_oldDisclosed$$2$$.push({element:$cid_contentElem$$2$$, $properties$:{offsetTop:$oldClientId$$1_visibleAfter$$.$contentTop$, height:$oldClientId$$1_visibleAfter$$.$contentHeight$}}))));
      }
    }
    $animDuration$$2_headerElements$$8$$ = parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelAccordion-tr-disclosure-animation-duration"));
    $animDuration$$2_headerElements$$8$$ = isNaN($animDuration$$2_headerElements$$8$$) ? 0 : $animDuration$$2_headerElements$$8$$ * $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSE_PHASE1_ANIMATION_DURATION_FACTOR$;
    $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_discloseAnimationData$ = {$objects$:$animationObjects$$6_oldDisclosed$$2$$, $toBeDisclosedData$:$descendantResizeComponent_item$$49_toBeDisclosedData$$, $toBeUnDisclosedData$:$toBeUnDisclosedData$$, $dimensionsFromChildren$:$dimensionsFromChildren_rootElement$$116$$};
    $descendantResizeComponent_item$$49_toBeDisclosedData$$ = null;
    $dimensionsFromChildren_rootElement$$116$$ && ($descendantResizeComponent_item$$49_toBeDisclosedData$$ = $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$getComponent$());
    $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_discloseAnimator$ = $AdfDhtmlElementAnimator$animate$$(3, $animDuration$$2_headerElements$$8$$, $animationObjects$$6_oldDisclosed$$2$$, null, function($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$) {
      $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$ = $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$[0];
      delete $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_discloseAnimator$;
      var $descendantResizeComponent_item$$49_toBeDisclosedData$$ = $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$getComponent$();
      if ($descendantResizeComponent_item$$49_toBeDisclosedData$$ && "immediate" == $descendantResizeComponent_item$$49_toBeDisclosedData$$.getContentDelivery()) {
        $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_reallocateSize$ = !0;
        var $animationObjects$$6_oldDisclosed$$2$$ = $JSCompiler_StaticMethods__getMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$), $descendantResizeComponent_item$$49_toBeDisclosedData$$ = $AdfRichUIPeer$$.$CreateSubId$($animationObjects$$6_oldDisclosed$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $descendantResizeComponent_item$$49_toBeDisclosedData$$ = $AdfAgent$$.$getAgent$().getElementById($descendantResizeComponent_item$$49_toBeDisclosedData$$), 
        $animationObjects$$6_oldDisclosed$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($animationObjects$$6_oldDisclosed$$2$$, "body");
        ($animationObjects$$6_oldDisclosed$$2$$ = $AdfAgent$$.$getAgent$().getElementById($animationObjects$$6_oldDisclosed$$2$$)) && $descendantResizeComponent_item$$49_toBeDisclosedData$$ && $JSCompiler_StaticMethods__completeDisclosureAnimation$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, [$animationObjects$$6_oldDisclosed$$2$$, $descendantResizeComponent_item$$49_toBeDisclosedData$$], [$animationObjects$$6_oldDisclosed$$2$$, $descendantResizeComponent_item$$49_toBeDisclosedData$$]);
      }
    }, [$JSCompiler_StaticMethods__beginDisclosureAnimation$self$$], $descendantResizeComponent_item$$49_toBeDisclosedData$$);
  }
}
function $JSCompiler_StaticMethods__completeDisclosureAnimation$$($JSCompiler_StaticMethods__completeDisclosureAnimation$self$$, $replacedDomElements_stretchElements$$, $data$$62_newDomElements$$) {
  if ($JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimationData$) {
    $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimator$ && ($JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimator$.stop(), delete $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimator$);
    for (var $animationObjects$$7$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimationData$.$objects$, $contentElement$$13_toBeDisclosedData$$1$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimationData$.$toBeDisclosedData$, $childElement$$11_toBeUnDisclosedData$$1$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimationData$.$toBeUnDisclosedData$, $agent$$483_childStyle$$5$$ = $AdfAgent$$.$AGENT$, $animDuration$$3$$ = 
    parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|panelAccordion-tr-disclosure-animation-duration")), $animDuration$$3$$ = isNaN($animDuration$$3$$) ? 0 : $animDuration$$3$$ * $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSE_PHASE2_ANIMATION_DURATION_FACTOR$, $replacedCount_styleHeight$$1$$ = $replacedDomElements_stretchElements$$.length, $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$, $newElem$$1$$, $needsToBeRemoved$$ = null, $replaceObj$$ = null, $descendantResizeComponent$$1_unstretchData$$ = 
    [], $i$$457$$ = 0, $size$$44$$ = $animationObjects$$7$$.length;$i$$457$$ < $size$$44$$;++$i$$457$$) {
      var $obj$$45$$ = $animationObjects$$7$$[$i$$457$$];
      $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$ = $obj$$45$$.element;
      for (var $elemStyle$$1_index$$161$$ = -1, $j$$43$$ = 0;$j$$43$$ < $replacedCount_styleHeight$$1$$;++$j$$43$$) {
        if ($newElem$$1$$ = $data$$62_newDomElements$$[$j$$43$$], $newElem$$1$$.id == $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$.id) {
          $elemStyle$$1_index$$161$$ = $j$$43$$;
          break;
        }
      }
      if (-1 != $elemStyle$$1_index$$161$$) {
        $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$ = $replacedDomElements_stretchElements$$[$elemStyle$$1_index$$161$$];
        $obj$$45$$.element = $newElem$$1$$;
        var $dimensionsFromChildren$$1_rootElement$$117$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$getDomElement$(), $dimensionsFromChildren$$1_rootElement$$117$$ = $AdfDomUtils$$.$containsCSSClassName$($dimensionsFromChildren$$1_rootElement$$117$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$), $elemStyle$$1_index$$161$$ = $newElem$$1$$.style;
        if ($contentElement$$13_toBeDisclosedData$$1$$ && $newElem$$1$$.id == $contentElement$$13_toBeDisclosedData$$1$$.$bodyId$) {
          $agent$$483_childStyle$$5$$.$setOpacity$($newElem$$1$$, 0), $dimensionsFromChildren$$1_rootElement$$117$$ || ($elem$$37_headerElem$$3_replacedElem$$1_sizingData$$ = $agent$$483_childStyle$$5$$.getElementById($contentElement$$13_toBeDisclosedData$$1$$.$headerId$), $elemStyle$$1_index$$161$$.top = $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$.offsetTop + $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$.offsetHeight + "px", $elemStyle$$1_index$$161$$.bottom = ""), $elemStyle$$1_index$$161$$.display = 
          "block", $elemStyle$$1_index$$161$$.visibility = "visible", $elemStyle$$1_index$$161$$.height = "1px", $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$ = $contentElement$$13_toBeDisclosedData$$1$$.$sizingData$, $dimensionsFromChildren$$1_rootElement$$117$$ ? $obj$$45$$.$properties$.height = $AdfDomUtils$$.$getFirstChildElement$($newElem$$1$$).offsetHeight : ($obj$$45$$.$properties$.height = $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$.$contentHeight$, $obj$$45$$.$properties$.offsetTop = 
          $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$.$contentTop$), $descendantResizeComponent$$1_unstretchData$$.push({element:$newElem$$1$$, $sizingData$:$elem$$37_headerElem$$3_replacedElem$$1_sizingData$$});
        } else {
          if ($childElement$$11_toBeUnDisclosedData$$1$$ && $newElem$$1$$.id == $childElement$$11_toBeUnDisclosedData$$1$$.$bodyId$) {
            "immediate" != $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$getComponent$().getContentDelivery() && $agent$$483_childStyle$$5$$.$removeIdsFromDomSubTree$($elem$$37_headerElem$$3_replacedElem$$1_sizingData$$);
            $newElem$$1$$.parentNode.insertBefore($elem$$37_headerElem$$3_replacedElem$$1_sizingData$$, $newElem$$1$$);
            var $needsToBeRemoved$$ = $elem$$37_headerElem$$3_replacedElem$$1_sizingData$$, $replaceObj$$ = {element:$needsToBeRemoved$$, $properties$:{}}, $propName$$31$$;
            for ($propName$$31$$ in $obj$$45$$.$properties$) {
              $replaceObj$$.$properties$[$propName$$31$$] = $obj$$45$$.$properties$[$propName$$31$$];
            }
            $descendantResizeComponent$$1_unstretchData$$.push({element:$elem$$37_headerElem$$3_replacedElem$$1_sizingData$$, $sizingData$:$childElement$$11_toBeUnDisclosedData$$1$$.$sizingData$});
          }
        }
      }
    }
    null != $replaceObj$$ && $animationObjects$$7$$.push($replaceObj$$);
    $replacedDomElements_stretchElements$$ = [];
    $i$$457$$ = 0;
    for ($size$$44$$ = $descendantResizeComponent$$1_unstretchData$$.length;$i$$457$$ < $size$$44$$;++$i$$457$$) {
      $data$$62_newDomElements$$ = $descendantResizeComponent$$1_unstretchData$$[$i$$457$$], $contentElement$$13_toBeDisclosedData$$1$$ = $data$$62_newDomElements$$.element, $dimensionsFromChildren$$1_rootElement$$117$$ ? $replacedDomElements_stretchElements$$.push($contentElement$$13_toBeDisclosedData$$1$$) : ($childElement$$11_toBeUnDisclosedData$$1$$ = $AdfDomUtils$$.$getFirstChildElement$($contentElement$$13_toBeDisclosedData$$1$$), $agent$$483_childStyle$$5$$ = $childElement$$11_toBeUnDisclosedData$$1$$.style, 
      $replacedCount_styleHeight$$1$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_getStyleHeight$($contentElement$$13_toBeDisclosedData$$1$$), $agent$$483_childStyle$$5$$.height = $data$$62_newDomElements$$.$sizingData$.$contentHeight$ - ($contentElement$$13_toBeDisclosedData$$1$$.offsetHeight - $replacedCount_styleHeight$$1$$) + "px", $agent$$483_childStyle$$5$$.bottom = "", $replacedDomElements_stretchElements$$.push($childElement$$11_toBeUnDisclosedData$$1$$));
    }
    $descendantResizeComponent$$1_unstretchData$$ = null;
    $dimensionsFromChildren$$1_rootElement$$117$$ && ($descendantResizeComponent$$1_unstretchData$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$getComponent$());
    $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$_discloseAnimator$ = $AdfDhtmlElementAnimator$animate$$(3, $animDuration$$3$$, $animationObjects$$7$$, null, function($JSCompiler_StaticMethods__completeDisclosureAnimation$self$$) {
      var $replacedDomElements_stretchElements$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$[0], $data$$62_newDomElements$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$[1];
      $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$[2];
      delete $replacedDomElements_stretchElements$$.$_discloseAnimator$;
      delete $replacedDomElements_stretchElements$$.$_discloseAnimationData$;
      var $animationObjects$$7$$ = $AdfAgent$$.$AGENT$;
      $data$$62_newDomElements$$ && ("immediate" == $replacedDomElements_stretchElements$$.$getComponent$().getContentDelivery() ? $animationObjects$$7$$.setAttribute($data$$62_newDomElements$$, "style", "display: none;") : $data$$62_newDomElements$$.parentNode.removeChild($data$$62_newDomElements$$));
      delete $replacedDomElements_stretchElements$$.$_headerNodes$;
      var $data$$62_newDomElements$$ = $replacedDomElements_stretchElements$$.$getDomElement$(), $data$$62_newDomElements$$ = $AdfDomUtils$$.$containsCSSClassName$($data$$62_newDomElements$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$), $contentElement$$13_toBeDisclosedData$$1$$ = $JSCompiler_StaticMethods__getHeaderElements$$($replacedDomElements_stretchElements$$), $childElement$$11_toBeUnDisclosedData$$1$$;
      $childElement$$11_toBeUnDisclosedData$$1$$ = 0;
      for (size = $contentElement$$13_toBeDisclosedData$$1$$.length;$childElement$$11_toBeUnDisclosedData$$1$$ < size;++$childElement$$11_toBeUnDisclosedData$$1$$) {
        var $agent$$483_childStyle$$5$$ = $contentElement$$13_toBeDisclosedData$$1$$[$childElement$$11_toBeUnDisclosedData$$1$$], $animDuration$$3$$ = $agent$$483_childStyle$$5$$.nextSibling;
        $animationObjects$$7$$.$setOpacity$($agent$$483_childStyle$$5$$, 100);
        $animationObjects$$7$$.$setOpacity$($animDuration$$3$$, 100);
      }
      $childElement$$11_toBeUnDisclosedData$$1$$ = 0;
      for (size = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.length;$childElement$$11_toBeUnDisclosedData$$1$$ < size;++$childElement$$11_toBeUnDisclosedData$$1$$) {
        $animationObjects$$7$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$[$childElement$$11_toBeUnDisclosedData$$1$$].style, $animationObjects$$7$$.height = "", $data$$62_newDomElements$$ ? $animationObjects$$7$$.height = "auto" : $animationObjects$$7$$.bottom = "0px";
      }
      $JSCompiler_StaticMethods__forceResize$$($replacedDomElements_stretchElements$$);
    }, [$JSCompiler_StaticMethods__completeDisclosureAnimation$self$$, $needsToBeRemoved$$, $replacedDomElements_stretchElements$$], $descendantResizeComponent$$1_unstretchData$$);
  }
}
function $JSCompiler_StaticMethods__animateDiscloseIntoOverflow$$($element$$272$$, $visibleItemData$$, $animationObjects$$8$$) {
  $animationObjects$$8$$.push({element:$element$$272$$, $properties$:{alpha:0}});
  -1 != $visibleItemData$$.$contentTop$ && $animationObjects$$8$$.push({element:$element$$272$$.nextSibling, $properties$:{alpha:0}});
}
function $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$273$$, $visibleItemData$$1$$, $animationObjects$$9$$) {
  var $agent$$485$$ = $AdfAgent$$.$AGENT$;
  $agent$$485$$.$setOpacity$($contentElem$$3_element$$273$$, 0);
  $JSCompiler_StaticMethods__markPaneAsNotOverflown$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$273$$, $visibleItemData$$1$$.top);
  $animationObjects$$9$$.push({element:$contentElem$$3_element$$273$$, $properties$:{alpha:100}});
  -1 != $visibleItemData$$1$$.$contentTop$ && ($contentElem$$3_element$$273$$ = $contentElem$$3_element$$273$$.nextSibling, $agent$$485$$.$setOpacity$($contentElem$$3_element$$273$$, 0), $JSCompiler_StaticMethods__markPaneAsNotOverflown$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$273$$, $visibleItemData$$1$$.$contentTop$), $contentElem$$3_element$$273$$.style.display = "block", $agent$$485$$.$setOuterHeight$($contentElem$$3_element$$273$$, $visibleItemData$$1$$.$contentHeight$), 
  $animationObjects$$9$$.push({element:$contentElem$$3_element$$273$$, $properties$:{alpha:100}}));
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$_queueClientDisclosureChanges$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_queueClientDisclosureChanges$$($oldDisclosed$$3$$, $newDisclosed$$2$$) {
  if (null == $oldDisclosed$$3$$) {
    return $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($newDisclosed$$2$$, !0);
  }
  if (1 == $oldDisclosed$$3$$.getDisclosed()) {
    $oldDisclosed$$3$$.$getPeer$().bind($oldDisclosed$$3$$);
    var $event$$260$$ = new $AdfDisclosureEvent$$($oldDisclosed$$3$$, !1, $newDisclosed$$2$$);
    $event$$260$$.$queue$(!0);
    return !$event$$260$$.$isCanceled$();
  }
  $AdfLogger$$.$LOGGER$.severe("Unexpected panelAccordion showDetailItem disclosure state for queueing client events");
  return !1;
};
function $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($showDetailItem$$3$$, $newDisclosedState$$) {
  if ($showDetailItem$$3$$.getDisclosed() != $newDisclosedState$$) {
    $showDetailItem$$3$$.$getPeer$().bind($showDetailItem$$3$$);
    var $event$$261$$ = new $AdfDisclosureEvent$$($showDetailItem$$3$$, $newDisclosedState$$, null);
    $event$$261$$.$queue$(!0);
    return !$event$$261$$.$isCanceled$();
  }
  $AdfLogger$$.$LOGGER$.severe("Unexpected panelAccordion showDetailItem disclosure state for queueing a client event");
  return !1;
}
function $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$($JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$) {
  $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$ = $JSCompiler_StaticMethods__getDisclosedClientIds$$($JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$.$getDomElement$());
  if (null != $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$) {
    var $disclosedCount$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$.length;
    if (0 < $disclosedCount$$) {
      return $AdfAssert$$.assert(1 >= $disclosedCount$$, "There are too many disclosed accordion panes."), $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$self_disclosedClientIds$$2$$[0];
    }
  }
  return null;
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlPanelAccordionPeer$$$$$needsResizeNotify$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlPanelAccordionPeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlPanelAccordionPeer$$$$$ResizeNotify$$($headerElements$$10_oldWidth$$20$$, $agent$$486_oldHeight$$20$$, $headerCount_itemData_newWidth$$26$$, $data$$63_newHeight$$23$$) {
  var $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$, $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$;
  if (!this.$_discloseAnimationData$ && ($headerElements$$10_oldWidth$$20$$ != $headerCount_itemData_newWidth$$26$$ || $agent$$486_oldHeight$$20$$ != $data$$63_newHeight$$23$$ || this.$_reallocateSize$) && ($headerElements$$10_oldWidth$$20$$ = $JSCompiler_StaticMethods__getHeaderElements$$(this), $headerCount_itemData_newWidth$$26$$ = $headerElements$$10_oldWidth$$20$$.length, $agent$$486_oldHeight$$20$$ = $AdfAgent$$.$AGENT$, $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ = this.$getDomElement$(), 
  !$AdfDomUtils$$.$containsCSSClassName$($JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$))) {
    delete this.$_reallocateSize$;
    this.$_mostRecentHeight$ = $data$$63_newHeight$$23$$;
    this.$_firstOverflowPassComputed$ = !0;
    $data$$63_newHeight$$23$$ = $JSCompiler_StaticMethods__getItemSizingData$$(this, $data$$63_newHeight$$23$$);
    0 < $data$$63_newHeight$$23$$.$startIndex$ || $data$$63_newHeight$$23$$.$endIndex$ < $headerCount_itemData_newWidth$$26$$ - 1 ? (this.$_lastTopOverflowPaneIndex$ = $data$$63_newHeight$$23$$.$startIndex$ - 1, this.$_firstBottomOverflowPaneIndex$ = $data$$63_newHeight$$23$$.$endIndex$ + 1) : (delete this.$_lastTopOverflowPaneIndex$, delete this.$_firstBottomOverflowPaneIndex$);
    $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$ = $JSCompiler_StaticMethods__getRootChildElements$$(this);
    $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ = $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$[0];
    $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$ = $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$[$JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.length - $AdfDhtmlPanelAccordionPeer$$.$_BOTTOM_OVERFLOW_OFFSET$];
    var $node$$98$$;
    if (0 == $data$$63_newHeight$$23$$.$startIndex$) {
      $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$.style.display = "none";
    } else {
      for ($JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$.style.display = "block", $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ = 0;$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ < $data$$63_newHeight$$23$$.$startIndex$;++$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$) {
        $node$$98$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$], $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$), $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$.nextSibling);
      }
    }
    if ($data$$63_newHeight$$23$$.$endIndex$ == $headerCount_itemData_newWidth$$26$$ - 1) {
      $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.style.display = "none";
    } else {
      for ($JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.style.display = "block", $JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ = $data$$63_newHeight$$23$$.$endIndex$ + 1;$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ < $headerCount_itemData_newWidth$$26$$;++$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$) {
        $node$$98$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$], $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$), $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$.nextSibling);
      }
    }
    for ($JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ = $data$$63_newHeight$$23$$.$startIndex$;$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ <= $data$$63_newHeight$$23$$.$endIndex$;++$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$) {
      $headerCount_itemData_newWidth$$26$$ = $data$$63_newHeight$$23$$.$visibleItemData$[$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$ - $data$$63_newHeight$$23$$.$startIndex$], $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5474_i$$459_rootElement$$119$$], $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.style.bottom = "", 
      $JSCompiler_StaticMethods__markPaneAsNotOverflown$$(this, $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$, $headerCount_itemData_newWidth$$26$$.top), -1 != $headerCount_itemData_newWidth$$26$$.$contentTop$ && ($JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$ = $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.nextSibling, $JSCompiler_StaticMethods__markPaneAsNotOverflown$$(this, 
      $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$, $headerCount_itemData_newWidth$$26$$.$contentTop$), $agent$$486_oldHeight$$20$$.$setOuterHeight$($JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$, $headerCount_itemData_newWidth$$26$$.$contentHeight$), $JSCompiler_object_inline_bottom_5475_contentElement$$15_headerElement$$6_nodes$$inline_3229$$.style.bottom = "");
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlPanelAccordionPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$ReallocateSizesForNewSelection$ = function $$AdfDhtmlPanelAccordionPeer$$$$$ReallocateSizesForNewSelection$$($detailItemId$$2$$, $accordionComponent$$1$$) {
  this.$_selectedChildId$ = $detailItemId$$2$$;
  this.$_reallocateSize$ = !0;
  $AdfPage$$.$PAGE$.$doResizeNotify$($accordionComponent$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.ReallocateSizesForNewSelection", {$ReallocateSizesForNewSelection$:$AdfDhtmlPanelAccordionPeer$$.prototype.$ReallocateSizesForNewSelection$});
function $JSCompiler_StaticMethods__markPaneAsNotOverflown$$($JSCompiler_StaticMethods__markPaneAsNotOverflown$self$$, $node$$99$$, $newTop$$6$$) {
  $node$$99$$.style.top = $newTop$$6$$ + "px";
  null != $JSCompiler_StaticMethods__markPaneAsNotOverflown$self$$.$_firstOverflowPassComputed$ && ($node$$99$$.style.visibility = "visible");
}
function $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$100$$) {
  $node$$100$$.style.top = "-100000px";
  $node$$100$$.style.visibility = "hidden";
}
function $JSCompiler_StaticMethods__getItemSizingData$$($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$, $accordionHeight_newAvailableHeight$$, $bodyHeight_forcedVisible$$1_headerHeights$$) {
  var $data$$64$$ = {$startIndex$:0, $endIndex$:0, $visibleItemData$:[]}, $headerElements$$11_laf$$108$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $overflowButtonHeight$$1_visibleInflexibleHeights$$ = parseInt($headerElements$$11_laf$$108$$.$getSkinProperty$("af|panelAccordion-tr-overflow-height"));
  $headerElements$$11_laf$$108$$.$getSkinProperty$("af|panelAccordion-tr-header-height");
  for (var $headerElements$$11_laf$$108$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$), $firstVisibleHeaderTop_headerCount$$1$$ = $headerElements$$11_laf$$108$$.length, $JSCompiler_object_inline_flexValues_6353$$ = [], $JSCompiler_object_inline_inflexibleHeights_6354$$ = [], $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$ = [], $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$ = 
  0, $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ = 0, $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ = 0, $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ = -1, $JSCompiler_object_inline_firstDisclosedPaneIndex_6360$$ = -1, $agent$$inline_3235$$ = $AdfAgent$$.$AGENT$, $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$, $headerCount$$inline_3237$$ = $headerElements$$11_laf$$108$$.length, 
  $i$$inline_3238$$ = 0;$i$$inline_3238$$ < $headerCount$$inline_3237$$;++$i$$inline_3238$$) {
    var $contentNode$$inline_3239_flex$$inline_3243$$ = $headerElements$$11_laf$$108$$[$i$$inline_3238$$].nextSibling;
    $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$ = $agent$$inline_3235$$.getAttribute($contentNode$$inline_3239_flex$$inline_3243$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);
    var $forceVisibleValue$$inline_3241$$ = $bodyHeight_forcedVisible$$1_headerHeights$$ && $bodyHeight_forcedVisible$$1_headerHeights$$.length ? $bodyHeight_forcedVisible$$1_headerHeights$$[$i$$inline_3238$$] : null;
    $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$ == $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$.$_selectedChildId$ && ($JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ = $i$$inline_3238$$);
    null == $forceVisibleValue$$inline_3241$$ && "none" != $contentNode$$inline_3239_flex$$inline_3243$$.style.display || $forceVisibleValue$$inline_3241$$ ? (-1 == $JSCompiler_object_inline_firstDisclosedPaneIndex_6360$$ && ($JSCompiler_object_inline_firstDisclosedPaneIndex_6360$$ = $i$$inline_3238$$), $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$ = $AdfPage$$.$PAGE$.$findComponent$($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$), 
    $contentNode$$inline_3239_flex$$inline_3243$$ = $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$.getFlex(), $JSCompiler_object_inline_flexValues_6353$$.push($contentNode$$inline_3239_flex$$inline_3243$$), 0 == $contentNode$$inline_3239_flex$$inline_3243$$ ? ($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$ = $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$.getInflexibleHeight() + 1, $JSCompiler_object_inline_inflexibleHeights_6354$$.push($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$), 
    $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$.push($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$), $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ += $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$) : ($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$ = $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$.getInflexibleHeight() + 
    1, $JSCompiler_object_inline_inflexibleHeights_6354$$.push(0), $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$.push($childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$), $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$ += $contentNode$$inline_3239_flex$$inline_3243$$), $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ += $childComponent$$inline_3242_clientId$$inline_3240_inflexibleHeight$$inline_3236$$) : 
    ($JSCompiler_object_inline_flexValues_6353$$.push(null), $JSCompiler_object_inline_inflexibleHeights_6354$$.push(null), $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$.push(null));
  }
  -1 == $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ && ($JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ = $JSCompiler_object_inline_firstDisclosedPaneIndex_6360$$);
  for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = $bodyHeight_forcedVisible$$1_headerHeights$$ = 0;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ < $firstVisibleHeaderTop_headerCount$$1$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$) {
    $bodyHeight_forcedVisible$$1_headerHeights$$ += $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$].offsetHeight;
  }
  $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = $accordionHeight_newAvailableHeight$$ - $bodyHeight_forcedVisible$$1_headerHeights$$;
  $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ -= $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$;
  if (0 < $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$) {
    $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$ = $firstVisibleHeaderTop_headerCount$$1$$;
    $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ < $firstVisibleHeaderTop_headerCount$$1$$ - 1 && ($JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ += $overflowButtonHeight$$1_visibleInflexibleHeights$$, $accordionHeight_newAvailableHeight$$ -= $overflowButtonHeight$$1_visibleInflexibleHeights$$);
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = $firstVisibleHeaderTop_headerCount$$1$$ - 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ > $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ && 0 < $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$;--$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$) {
      $bodyHeight_forcedVisible$$1_headerHeights$$ = $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$], $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$].offsetHeight, null != $bodyHeight_forcedVisible$$1_headerHeights$$ && ($JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ -= 
      $bodyHeight_forcedVisible$$1_headerHeights$$), --$JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$;
    }
    $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ = -1;
    $firstVisibleHeaderTop_headerCount$$1$$ = 0;
    0 < $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ && 0 < $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ && ($JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ += $overflowButtonHeight$$1_visibleInflexibleHeights$$, $firstVisibleHeaderTop_headerCount$$1$$ = $overflowButtonHeight$$1_visibleInflexibleHeights$$, $accordionHeight_newAvailableHeight$$ -= $overflowButtonHeight$$1_visibleInflexibleHeights$$);
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = 0;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ < $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ && 0 < $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$) {
      $bodyHeight_forcedVisible$$1_headerHeights$$ = $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$], $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$].offsetHeight, null != $bodyHeight_forcedVisible$$1_headerHeights$$ && ($JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ -= 
      $bodyHeight_forcedVisible$$1_headerHeights$$), ++$JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$;
    }
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ + 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ < $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$) {
      $accordionHeight_newAvailableHeight$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$].offsetHeight;
    }
    $data$$64$$.$startIndex$ = $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ + 1;
    $data$$64$$.$endIndex$ = $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$ - 1;
    $overflowButtonHeight$$1_visibleInflexibleHeights$$ = [];
    $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$ = 0;
    $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$ = [];
    $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ = 0;
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ = $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ + 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$ < $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$) {
      inflexibleHeight = $JSCompiler_object_inline_inflexibleHeights_6354$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$], $overflowButtonHeight$$1_visibleInflexibleHeights$$.push(inflexibleHeight), null != inflexibleHeight && ($JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$ += inflexibleHeight), $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ = $JSCompiler_object_inline_flexValues_6353$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$], 
      $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$.push($JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$), null != $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$ && ($JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$ += $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$);
    }
    $JSCompiler_StaticMethods__addVisiblePaneSizingData$$($data$$64$$, $overflowButtonHeight$$1_visibleInflexibleHeights$$, $JSCompiler_object_inline_minimumHeights_6355_visibleInflexibleTotal$$, $JSCompiler_object_inline_selectedPaneIndex_6359_visibleFlexValues$$, $JSCompiler_object_inline_minimumTotal_6358_overflow_visibleFlexTotal$$, $headerElements$$11_laf$$108$$, $firstVisibleHeaderTop_headerCount$$1$$, $accordionHeight_newAvailableHeight$$);
  } else {
    $data$$64$$.$startIndex$ = 0, $data$$64$$.$endIndex$ = $firstVisibleHeaderTop_headerCount$$1$$ - 1, $JSCompiler_StaticMethods__addVisiblePaneSizingData$$($data$$64$$, $JSCompiler_object_inline_inflexibleHeights_6354$$, $JSCompiler_object_inline_inflexibleTotal_6357_flexValue_lastTopOverflowPaneIndex$$, $JSCompiler_object_inline_flexValues_6353$$, $JSCompiler_object_inline_flexTotal_6356_firstBottomOverflowPaneIndex$$, $headerElements$$11_laf$$108$$, 0, $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$460$$)
    ;
  }
  return $data$$64$$;
}
function $JSCompiler_StaticMethods__addVisiblePaneSizingData$$($data$$65$$, $inflexibleHeights$$, $bottom$$4_inflexibleTotal$$, $flexValues$$, $flexTotal$$, $headers$$2$$, $firstVisibleHeaderTop$$1_itemData$$1$$, $availableHeight$$1$$) {
  if (0 == $flexTotal$$) {
    for (var $flex_oldInflexibleHeight_wrapperHeight$$ = null, $i$$461$$ = $inflexibleHeights$$.length - 1;0 <= $i$$461$$;--$i$$461$$) {
      var $inflexibleHeight$$1$$ = $inflexibleHeights$$[$i$$461$$];
      if (null != $inflexibleHeight$$1$$) {
        $flex_oldInflexibleHeight_wrapperHeight$$ = $inflexibleHeight$$1$$;
        $inflexibleHeights$$[$i$$461$$] = null;
        $flexTotal$$ = $flexValues$$[$i$$461$$] = 1;
        break;
      }
    }
    null != $flex_oldInflexibleHeight_wrapperHeight$$ && ($availableHeight$$1$$ = Math.max(0, $availableHeight$$1$$ - $bottom$$4_inflexibleTotal$$ + $flex_oldInflexibleHeight_wrapperHeight$$));
  } else {
    $availableHeight$$1$$ = Math.max(0, $availableHeight$$1$$ - $bottom$$4_inflexibleTotal$$);
  }
  $bottom$$4_inflexibleTotal$$ = $firstVisibleHeaderTop$$1_itemData$$1$$;
  for ($i$$461$$ = 0;$i$$461$$ < $inflexibleHeights$$.length;$i$$461$$++) {
    $firstVisibleHeaderTop$$1_itemData$$1$$ = {top:0, $contentHeight$:-1, $contentTop$:-1}, $flex_oldInflexibleHeight_wrapperHeight$$ = $flexValues$$[$i$$461$$], $firstVisibleHeaderTop$$1_itemData$$1$$.top = $bottom$$4_inflexibleTotal$$, $bottom$$4_inflexibleTotal$$ += $headers$$2$$[$i$$461$$].offsetHeight, null != $flex_oldInflexibleHeight_wrapperHeight$$ && ($firstVisibleHeaderTop$$1_itemData$$1$$.$contentTop$ = $bottom$$4_inflexibleTotal$$, $flex_oldInflexibleHeight_wrapperHeight$$ = 0 != $flex_oldInflexibleHeight_wrapperHeight$$ ? 
    Math.floor($flex_oldInflexibleHeight_wrapperHeight$$ / $flexTotal$$ * $availableHeight$$1$$) : $inflexibleHeights$$[$i$$461$$], $bottom$$4_inflexibleTotal$$ += $flex_oldInflexibleHeight_wrapperHeight$$, $firstVisibleHeaderTop$$1_itemData$$1$$.$contentHeight$ = Math.max(1, $flex_oldInflexibleHeight_wrapperHeight$$)), $data$$65$$.$visibleItemData$.push($firstVisibleHeaderTop$$1_itemData$$1$$);
  }
}
function $JSCompiler_StaticMethods__getClientId$$($contentElement$$16_headerElement$$7$$) {
  return ($contentElement$$16_headerElement$$7$$ = $contentElement$$16_headerElement$$7$$.nextSibling) ? $AdfAgent$$.$AGENT$.getAttribute($contentElement$$16_headerElement$$7$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$) : null;
}
function $JSCompiler_StaticMethods__getDisclosedClientIds$$($childElems_rootElement$$120$$) {
  var $agent$$488$$ = $AdfAgent$$.$getAgent$(), $disclosedClientIds$$3$$ = [];
  if ($childElems_rootElement$$120$$ && ($childElems_rootElement$$120$$ = $JSCompiler_StaticMethods__getRootWrapper$$($childElems_rootElement$$120$$), $childElems_rootElement$$120$$ = $childElems_rootElement$$120$$.childNodes, null != $childElems_rootElement$$120$$)) {
    for (var $i$$463$$ = 0;$i$$463$$ < $childElems_rootElement$$120$$.length;$i$$463$$++) {
      if (1 == $childElems_rootElement$$120$$[$i$$463$$].nodeType) {
        var $element$$274$$ = $childElems_rootElement$$120$$[$i$$463$$], $clientId$$345$$ = $agent$$488$$.getAttribute($element$$274$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);
        null != $clientId$$345$$ && "none" != $element$$274$$.style.display && $disclosedClientIds$$3$$.push($clientId$$345$$);
      }
    }
  }
  return $disclosedClientIds$$3$$;
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$_getCurrencyFromDomElement$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_getCurrencyFromDomElement$$($targetElement$$41$$, $rootElement$$121$$) {
  $AdfAssert$$.$assertDomElement$($targetElement$$41$$);
  var $currElement$$15$$ = $targetElement$$41$$, $agent$$489_disclosed$$7$$ = $AdfAgent$$.$getAgent$();
  if (null == $currElement$$15$$ || 1 != $currElement$$15$$.nodeType) {
    return null;
  }
  for (var $rowKey$$53$$ = $agent$$489_disclosed$$7$$.getAttribute($currElement$$15$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);null == $rowKey$$53$$;) {
    if (null == $currElement$$15$$ || $currElement$$15$$ == $rootElement$$121$$) {
      return null;
    }
    $currElement$$15$$ = $currElement$$15$$.parentNode;
    if (null == $currElement$$15$$ || 1 != $currElement$$15$$.nodeType) {
      return null;
    }
    $rowKey$$53$$ = $agent$$489_disclosed$$7$$.getAttribute($currElement$$15$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);
    if ($agent$$489_disclosed$$7$$.getAttribute($currElement$$15$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_TOOLBAR$)) {
      return null;
    }
  }
  if (null == $rowKey$$53$$) {
    return null;
  }
  var $eventType$$48$$ = $agent$$489_disclosed$$7$$.getAttribute($currElement$$15$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_EVENT_TYPE$), $agent$$489_disclosed$$7$$ = "true" == $agent$$489_disclosed$$7$$.getAttribute($currElement$$15$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_DISCLOSED$);
  return [$rowKey$$53$$, $eventType$$48$$, $agent$$489_disclosed$$7$$, "hidden" == $currElement$$15$$.style.visibility];
};
function $JSCompiler_StaticMethods__showOverflowMenu$$($JSCompiler_StaticMethods__showOverflowMenu$self$$, $effectiveReverseOrder_menuAlignElement$$, $reverseOrder$$, $popupId$$60$$) {
  var $hints$$86_paneCutoffIndex$$1$$ = paneCutoffIndex, $component$$1680$$ = $JSCompiler_StaticMethods__showOverflowMenu$self$$.$getComponent$();
  if ($JSCompiler_StaticMethods__showOverflowMenu$self$$.$isPopupVisible$($component$$1680$$, $popupId$$60$$)) {
    $JSCompiler_StaticMethods__showOverflowMenu$self$$.$hidePopup$($component$$1680$$, $popupId$$60$$);
  } else {
    var $menuItems$$5$$ = $JSCompiler_StaticMethods__showOverflowMenu$self$$.$_contentElement$.getElementsByTagName("a"), $menuItemCount$$ = $menuItems$$5$$.length, $menuItemIndex$$;
    if ($hints$$86_paneCutoffIndex$$1$$ < $menuItemCount$$) {
      for ($menuItemIndex$$ = 0;$menuItemIndex$$ < $menuItemCount$$;++$menuItemIndex$$) {
        $menuItems$$5$$[$menuItemIndex$$].style.display = $reverseOrder$$ && $menuItemIndex$$ < $hints$$86_paneCutoffIndex$$1$$ ? "none" : !$reverseOrder$$ && $menuItemIndex$$ > $hints$$86_paneCutoffIndex$$1$$ ? "none" : "";
      }
    } else {
      for ($AdfLogger$$.$LOGGER$.warning("There were an unexpected number of accordion pane overflow menu items: ", $menuItemCount$$), $menuItemIndex$$ = 0;$menuItemIndex$$ < $menuItemCount$$;$menuItemIndex$$++) {
        $menuItems$$5$$[$menuItemIndex$$].style.display = "";
      }
    }
    $hints$$86_paneCutoffIndex$$1$$ = {};
    $hints$$86_paneCutoffIndex$$1$$.alignElement = $effectiveReverseOrder_menuAlignElement$$;
    $hints$$86_paneCutoffIndex$$1$$.type = "menu";
    $hints$$86_paneCutoffIndex$$1$$.autodismiss = "autodismissAlways";
    $hints$$86_paneCutoffIndex$$1$$.focus = !0;
    $effectiveReverseOrder_menuAlignElement$$ = $reverseOrder$$;
    $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$() && ($effectiveReverseOrder_menuAlignElement$$ = !$effectiveReverseOrder_menuAlignElement$$);
    $hints$$86_paneCutoffIndex$$1$$[AdfRichPopup.$HINT_ALIGN$] = $effectiveReverseOrder_menuAlignElement$$ ? AdfRichPopup.$ALIGN_AFTER_END$ : AdfRichPopup.$ALIGN_BEFORE_START$;
    $JSCompiler_StaticMethods__showOverflowMenu$self$$.$_whereToResorePopupContent$ = $JSCompiler_StaticMethods__showOverflowMenu$self$$.$_contentElement$.parentNode;
    $JSCompiler_StaticMethods__showOverflowMenu$self$$.$showPopup$($component$$1680$$, $JSCompiler_StaticMethods__showOverflowMenu$self$$.$_contentElement$, $hints$$86_paneCutoffIndex$$1$$, $popupId$$60$$);
    $AdfFocusUtils$$.$focusFirstTabStop$($JSCompiler_StaticMethods__showOverflowMenu$self$$.$_contentElement$);
  }
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlPanelAccordionPeer$$$$$PopupClosed$$($component$$1681$$, $contentDom$$19$$) {
  this.$_whereToResorePopupContent$.appendChild($contentDom$$19$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlPanelAccordionPeer$$.prototype.$PopupClosed$});
