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$$1664_endIndicator$$2_id$$331_overflowBottomId$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.Init.call(this, $component$$1664_endIndicator$$2_id$$331_overflowBottomId$$);
  var $agent$$460$$ = $AdfAgent$$.$AGENT$;
  $component$$1664_endIndicator$$2_id$$331_overflowBottomId$$ = $component$$1664_endIndicator$$2_id$$331_overflowBottomId$$.$getClientId$();
  var $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1664_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$$1664_endIndicator$$2_id$$331_overflowBottomId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1664_endIndicator$$2_id$$331_overflowBottomId$$, "overflowBottom");
  $component$$1664_endIndicator$$2_id$$331_overflowBottomId$$ = $agent$$460$$.getElementById($component$$1664_endIndicator$$2_id$$331_overflowBottomId$$);
  $component$$1664_endIndicator$$2_id$$331_overflowBottomId$$.tabIndex = 0;
  $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = this.$createCallback$(this.$_endOverflowButtonPressed$);
  $agent$$460$$.$addBubbleEventListener$($component$$1664_endIndicator$$2_id$$331_overflowBottomId$$, "mousedown", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $agent$$460$$.$addBubbleEventListener$($component$$1664_endIndicator$$2_id$$331_overflowBottomId$$, "keydown", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$ = this.$createCallback$(this.$_mouseAwayFromEndOverflowButton$);
  $agent$$460$$.$addBubbleEventListener$($component$$1664_endIndicator$$2_id$$331_overflowBottomId$$, "mouseup", $mouseAwayFromEndOverflow_overflowTopId_showEndOverflow_startIndicator$$2$$);
  $agent$$460$$.$addBubbleEventListener$($component$$1664_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$$247$$) {
  var $agent$$461$$ = $AdfAgent$$.$AGENT$, $eventType$$45_targetElement$$36$$ = $event$$247$$.type;
  if ("keydown" != $eventType$$45_targetElement$$36$$ || $event$$247$$.keyCode == $AdfKeyStroke$$.$ENTER_KEY$ || $event$$247$$.keyCode == $AdfKeyStroke$$.$SPACE_KEY$ || $event$$247$$.keyCode == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
    if ("mousedown" == $eventType$$45_targetElement$$36$$ && $event$$247$$.button && $event$$247$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
      $agent$$461$$.$eatEvent$($event$$247$$);
    } else {
      if (!this.$_discloseAnimationData$) {
        var $currElement$$13$$ = $agent$$461$$.$getEventTarget$($event$$247$$);
        "mousedown" == $eventType$$45_targetElement$$36$$ && ($eventType$$45_targetElement$$36$$ = $agent$$461$$.$getEventTarget$($event$$247$$), 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$$247$$);
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_endOverflowButtonPressed$ = function $$JSCompiler_prototypeAlias$$$$_endOverflowButtonPressed$$($event$$248$$) {
  var $agent$$462$$ = $AdfAgent$$.$AGENT$, $eventType$$46_targetElement$$37$$ = $event$$248$$.type;
  if ("keydown" != $eventType$$46_targetElement$$37$$ || $event$$248$$.keyCode == $AdfKeyStroke$$.$ENTER_KEY$ || $event$$248$$.keyCode == $AdfKeyStroke$$.$SPACE_KEY$ || $event$$248$$.keyCode == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
    if ("mousedown" == $eventType$$46_targetElement$$37$$ && $event$$248$$.button && $event$$248$$.button != $AdfUIInputEvent$$.$LEFT_BUTTON_FLAG$) {
      $agent$$462$$.$eatEvent$($event$$248$$);
    } else {
      if (!this.$_discloseAnimationData$) {
        var $currElement$$14$$ = $agent$$462$$.$getEventTarget$($event$$248$$);
        "mousedown" == $eventType$$46_targetElement$$37$$ && ($eventType$$46_targetElement$$37$$ = $agent$$462$$.$getEventTarget$($event$$248$$), 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$$248$$);
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_mouseAwayFromStartOverflowButton$ = function $$JSCompiler_prototypeAlias$$$$_mouseAwayFromStartOverflowButton$$($event$$249_targetElement$$38$$) {
  $event$$249_targetElement$$38$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$249_targetElement$$38$$);
  this.$_setDepressedStyle$($event$$249_targetElement$$38$$, !1);
};
$JSCompiler_prototypeAlias$$.$_mouseAwayFromEndOverflowButton$ = function $$JSCompiler_prototypeAlias$$$$_mouseAwayFromEndOverflowButton$$($event$$250_targetElement$$39$$) {
  $event$$250_targetElement$$39$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($event$$250_targetElement$$39$$);
  this.$_setDepressedStyle$($event$$250_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$$440$$ = $discToggleDisplay_headerSubId_newChildren$$.length - 1;-1 < $i$$440$$;--$i$$440$$) {
        var $newChild$$7$$ = $discToggleDisplay_headerSubId_newChildren$$[$i$$440$$];
        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$$102$$ = this.$getDomElement$();
              $AdfDomUtils$$.$containsCSSClassName$($rootElement$$102$$, $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$$66$$) {
  delete this.$_headerNodes$;
  var $rootElement$$103$$ = this.$getDomElement$();
  return 0 < $domNode$$66$$.id.indexOf("optimizedData") ? (this.$_selectedChildId$ = $AdfAgent$$.$AGENT$.getAttribute($domNode$$66$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$), this.$_reallocateSize$ = !0, $rootElement$$103$$) : $domNode$$66$$.parentNode == $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$103$$) ? (this.$_reallocateSize$ = !0, $rootElement$$103$$) : $domNode$$66$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.DomReplaceNotify", {$DomReplaceNotify$:$AdfDhtmlPanelAccordionPeer$$.prototype.$DomReplaceNotify$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlPanelAccordionPeer$$$$$ComponentRemoved$$($component$$1665$$) {
  var $agent$$464$$ = $AdfAgent$$.$AGENT$, $endIndicator$$3_id$$333_overflowBottomId$$1$$ = $component$$1665$$.$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$$1665$$);
};
$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$$1667$$, $rootElement$$104$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1667$$, $rootElement$$104$$);
  this.$_overflowMenuHolderSubId$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1667$$.$getClientId$(), "overflowMenuHolder");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlPanelAccordionPeer$$.prototype.$InitDomElement$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$BindToComponent$ = function $$AdfDhtmlPanelAccordionPeer$$$$$BindToComponent$$($component$$1668$$, $rootElement$$105$$) {
  $AdfDhtmlPanelAccordionPeer$$.$superclass$.$BindToComponent$.call(this, $component$$1668$$, $rootElement$$105$$);
  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$$341$$) {
  if (!$componentEvent$$341$$.$isCanceled$() && !this.$_dragInProgress$ && !this.$_discloseAnimationData$) {
    var $nativeEvent$$37_targetId$$11_tokens$$22$$ = $componentEvent$$341$$.$getNativeEvent$();
    if ($JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$37_targetId$$11_tokens$$22$$, null)) {
      $componentEvent$$341$$.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$$341$$.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$$341$$.cancel());
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentMouseDown$$($componentEvent$$342_domEvent$$inline_3093$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$342_domEvent$$inline_3093$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$ = $componentEvent$$342_domEvent$$inline_3093$$.$getNativeEvent$(), $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$ = $AdfAgent$$.$AGENT$, $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$ = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.$getEventTarget$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$);
    if ($JSCompiler_StaticMethods__isElementInToolbar$$(this, $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$)) {
      return;
    }
    var $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.id;
    if ($dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ && ($dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ = $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.split("::"), 1 < $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.length)) {
      var $domElement$$359_i$$inline_3090_lastToken$$3$$ = $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$[$dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.length - 1];
      if ($domElement$$359_i$$inline_3090_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_ITEM_RESIZE_DRAG_SUB_ID$) {
        $domElement$$359_i$$inline_3090_lastToken$$3$$ = $JSCompiler_StaticMethods__getRootWrapper$$(this.$getDomElement$());
        $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.$disableUserSelect$(document.body);
        this.$_pageBounds$ = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.$getElementPageBounds$($domElement$$359_i$$inline_3090_lastToken$$3$$);
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.pop();
        $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$ = this.$_resizeChildId$ = $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.join("::");
        $AdfAssert$$.$assertString$($agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$);
        $AdfAssert$$.$assertDomNode$($agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$);
        $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$ = this.$_pageBounds$;
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ = $AdfPage$$.$PAGE$;
        $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.parentNode.removeChild($agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$);
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.$getZOrderManager$().$addElementToLayer$($agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$, $AdfDhtmlZOrderManager$$.$FLOATINGTYPE_TOOLTIP$);
        $AdfDomUtils$$.$addCSSClassName$($agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$, $AdfDhtmlPanelAccordionPeer$$.$_DRAG_STYLECLASS$);
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.style;
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.width = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.right - $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.left + "px";
        $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$.left = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.left + "px";
        this.$_resizeDivider$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$;
        $AdfPage$$.$PAGE$.$startDrag$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$, this.$_onResizeDrag$, this.$_onResizeDrop$, void 0, !0);
        this.$_dragInProgress$ = !0;
        $componentEvent$$342_domEvent$$inline_3093$$.cancel();
        return;
      }
      this.$_handleSelection$($componentEvent$$342_domEvent$$inline_3093$$);
      if ($domElement$$359_i$$inline_3090_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_UP_SUB_ID$ || $domElement$$359_i$$inline_3090_lastToken$$3$$ == $AdfDhtmlPanelAccordionPeer$$.$_MOVE_DOWN_SUB_ID$) {
        return;
      }
    }
  }
  this.$_handleSelection$($componentEvent$$342_domEvent$$inline_3093$$);
  a: {
    if (!("disable" == this.$getComponent$().getReorder() || this.$_discloseAnimationData$ || ($agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$ = $componentEvent$$342_domEvent$$inline_3093$$.$getNativeEventTarget$(), $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$ = $JSCompiler_StaticMethods__getHeaderElements$$(this), $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$ = null != 
    this.$_lastTopOverflowPaneIndex$ ? this.$_lastTopOverflowPaneIndex$ + 1 : 0, $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ = null != this.$_firstBottomOverflowPaneIndex$ ? this.$_firstBottomOverflowPaneIndex$ - 1 : $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.length - 1, 1 > $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$ - $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$ || 
    $JSCompiler_StaticMethods__isElementInToolbar$$(this, $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$)))) {
      for ($domElement$$359_i$$inline_3090_lastToken$$3$$ = $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$;$domElement$$359_i$$inline_3090_lastToken$$3$$ <= $dividerStyle$$inline_3082_lastVisibleIndex$$inline_3089_page$$inline_3081_targetId$$12_tokens$$23$$;++$domElement$$359_i$$inline_3090_lastToken$$3$$) {
        if ($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$ = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$[$domElement$$359_i$$inline_3090_lastToken$$3$$], $AdfDomUtils$$.$isAncestorOrSelf$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$, $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$)) {
          $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$ = $AdfAgent$$.$AGENT$;
          $componentEvent$$342_domEvent$$inline_3093$$ = $componentEvent$$342_domEvent$$inline_3093$$.$getNativeEvent$();
          this.$_dragHeaderNode$ = $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$;
          this.$_dragHeaderHeight$ = $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$.offsetHeight;
          this.$_dragSourceTop$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.$getElementTop$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$);
          this.$_dragSourceLeft$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.$getElementLeft$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$);
          $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.$getMousePosition$($componentEvent$$342_domEvent$$inline_3093$$);
          $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$ = $agent$$inline_3092_eventTarget$$inline_3086_targetNode$$42$$.$getElementPosition$($firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$);
          this.$_dragOffsetX$ = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.x - $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$.x;
          this.$_dragOffsetY$ = $agent$$467_headerElements$$inline_3087_mousePosition$$inline_3094_pageBounds$$inline_3080_resizeChildId$$.y - $firstVisibleIndex$$inline_3088_headerNode$$inline_3091_headerPosition$$inline_3095_nativeEvent$$38$$.y;
          $AdfPage$$.$PAGE$.$startDrag$($componentEvent$$342_domEvent$$inline_3093$$, 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$$343_headerElement_itemId$$33$$) {
  if (!(this.$_dragInProgress$ || $componentEvent$$343_headerElement_itemId$$33$$.$isCanceled$() || this.$_discloseAnimationData$)) {
    var $nativeEvent$$39_targetNode$$43$$ = $componentEvent$$343_headerElement_itemId$$33$$.$getNativeEvent$();
    if ($componentEvent$$343_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$$343_headerElement_itemId$$33$$ = $agent$$468_contentElement$$8$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$343_headerElement_itemId$$33$$.$clientId$, "head"))) && $AdfDomUtils$$.$isAncestorOrSelf$($componentEvent$$343_headerElement_itemId$$33$$, $nativeEvent$$39_targetNode$$43$$) && ($agent$$468_contentElement$$8$$ = $componentEvent$$343_headerElement_itemId$$33$$.nextSibling, 
      $AdfDomUtils$$.$addCSSClassName$($componentEvent$$343_headerElement_itemId$$33$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$), $AdfDomUtils$$.$addCSSClassName$($agent$$468_contentElement$$8$$, $AdfDhtmlPanelAccordionPeer$$.$_SELECTED_PSEUDO_CLASS$));
    }
  }
};
$AdfDhtmlPanelAccordionPeer$$.prototype.$_handleRemoveSelection$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_handleRemoveSelection$$($componentEvent$$344_headerElement$$1_itemId$$34$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$344_headerElement$$1_itemId$$34$$.$isCanceled$() && ($componentEvent$$344_headerElement$$1_itemId$$34$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $componentEvent$$344_headerElement$$1_itemId$$34$$.$getNativeEvent$())) && ($componentEvent$$344_headerElement$$1_itemId$$34$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$344_headerElement$$1_itemId$$34$$.$clientId$, "head")))) {
    var $contentElement$$9$$ = $componentEvent$$344_headerElement$$1_itemId$$34$$.nextSibling;
    $AdfDomUtils$$.$removeCSSClassName$($componentEvent$$344_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$$345_itemId$$35$$) {
  if (!this.$_dragInProgress$ && !$componentEvent$$345_itemId$$35$$.$isCanceled$() && ($componentEvent$$345_itemId$$35$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $componentEvent$$345_itemId$$35$$.$getNativeEvent$()))) {
    var $headerElement$$2$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$345_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$$345_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$$346_headerElement$$3_itemId$$36$$) {
  if (!(this.$_dragInProgress$ || $componentEvent$$346_headerElement$$3_itemId$$36$$.$isCanceled$() || this.$_discloseAnimationData$)) {
    var $contentElement$$11_nativeEvent$$40_targetNode$$44$$ = $componentEvent$$346_headerElement$$3_itemId$$36$$.$getNativeEvent$();
    if ($componentEvent$$346_headerElement$$3_itemId$$36$$ = $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $contentElement$$11_nativeEvent$$40_targetNode$$44$$)) {
      var $agent$$469$$ = $AdfAgent$$.$AGENT$;
      if ($componentEvent$$346_headerElement$$3_itemId$$36$$ = $agent$$469$$.getElementById($AdfRichUIPeer$$.$CreateSubId$($componentEvent$$346_headerElement$$3_itemId$$36$$.$clientId$, "head"))) {
        $contentElement$$11_nativeEvent$$40_targetNode$$44$$ = $agent$$469$$.$getEventTarget$($contentElement$$11_nativeEvent$$40_targetNode$$44$$), $AdfDomUtils$$.$isAncestorOrSelf$($componentEvent$$346_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$$346_headerElement$$3_itemId$$36$$.nextSibling, 
        $AdfDomUtils$$.$addCSSClassName$($componentEvent$$346_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$$347$$) {
  var $source$$196$$ = $componentEvent$$347$$.getSource(), $component$$1669$$ = this.$getComponent$();
  if ($source$$196$$ instanceof AdfRichShowDetailItem && $source$$196$$.getParent() == $component$$1669$$ && $componentEvent$$347$$.$getRoot$() == $source$$196$$) {
    var $isCounterpartDiscloseChanging$$ = !0;
    if ($component$$1669$$.getDiscloseMany()) {
      $isCounterpartDiscloseChanging$$ = !1;
    } else {
      if ($component$$1669$$.getDiscloseNone()) {
        if ($componentEvent$$347$$.$isExpanded$()) {
          var $disclosingClinetId$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$(this);
          $disclosingClinetId$$ && $disclosingClinetId$$ != $source$$196$$.$getClientId$() || ($isCounterpartDiscloseChanging$$ = !1);
        } else {
          $isCounterpartDiscloseChanging$$ = !1;
        }
      }
    }
    $isCounterpartDiscloseChanging$$ && $componentEvent$$347$$.$setRoot$($component$$1669$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentDisclosure$});
$JSCompiler_prototypeAlias$$ = $AdfDhtmlPanelAccordionPeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_handleComponentBlurAndFocus$ = function $$JSCompiler_prototypeAlias$$$$_handleComponentBlurAndFocus$$($add_componentEvent$$348$$) {
  if (!this.$_dragInProgress$ && !$add_componentEvent$$348$$.$isCanceled$()) {
    var $headerElement$$4_itemId$$37$$ = $add_componentEvent$$348$$ instanceof $AdfDomComponentFocusEvent$$ ? $JSCompiler_StaticMethods__extractItemSubIdFromEvent$$(this, $add_componentEvent$$348$$.$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$$348$$ = $add_componentEvent$$348$$.getType() == $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$;
        $add_componentEvent$$348$$ && this.$_discloseAnimationData$ || ($AdfDomUtils$$.$addOrRemoveCSSClassName$($add_componentEvent$$348$$, $headerElement$$4_itemId$$37$$, $AdfDhtmlPanelAccordionPeer$$.$_HIGHLIGHT_PSEUDO_CLASS$), $AdfDomUtils$$.$addOrRemoveCSSClassName$($add_componentEvent$$348$$, $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$$106_tokens$$24$$ = $JSCompiler_StaticMethods__getRootWrapper$$($JSCompiler_StaticMethods__extractItemSubIdFromElement$self$$.$getDomElement$()), $e$$149$$ = $domElement$$360$$;$e$$149$$ != $id$$334_rootElement$$106_tokens$$24$$;$e$$149$$ = $e$$149$$.parentNode) {
    if (null == $e$$149$$) {
      return null;
    }
    $domElement$$360$$ = $e$$149$$;
  }
  $id$$334_rootElement$$106_tokens$$24$$ = $domElement$$360$$.id;
  if (!$id$$334_rootElement$$106_tokens$$24$$) {
    return null;
  }
  $id$$334_rootElement$$106_tokens$$24$$ = $id$$334_rootElement$$106_tokens$$24$$.split("::");
  return 1 < $id$$334_rootElement$$106_tokens$$24$$.length ? {$subId$:$id$$334_rootElement$$106_tokens$$24$$[$id$$334_rootElement$$106_tokens$$24$$.length - 1], $clientId$:$id$$334_rootElement$$106_tokens$$24$$.slice(0, $id$$334_rootElement$$106_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$$441$$ = 0, $size$$36$$ = $headers$$1$$.length;$i$$441$$ < $size$$36$$;++$i$$441$$) {
    if ($headers$$1$$[$i$$441$$].id == $searchId$$) {
      return $i$$441$$;
    }
  }
  return -1;
}
$JSCompiler_prototypeAlias$$.$_handleReorderDrag$ = function $$JSCompiler_prototypeAlias$$$$_handleReorderDrag$$($evt$$123$$, $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$, $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$) {
  if (null == this.$_ghost$) {
    if (3 > Math.abs($agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$)) {
      return;
    }
    this.$_reorderData$ = $JSCompiler_StaticMethods__getReorderItemPlacement$$(this);
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$ = $AdfAgent$$.$AGENT$;
    $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$ = this.$_dragHeaderNode$;
    var $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ = $AdfDomUtils$$.$containsCSSClassName$($agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$);
    this.$_origDocumentCursor$ = document.body.style.cursor || "auto";
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.setCursor(document.body, "move");
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.$disableUserSelect$(document.body);
    this.$_dragInProgress$ = !0;
    var $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ = this.$getDomElement$().ownerDocument;
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$ = this.$_ghost$ = $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$.createElement("div");
    var $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.className = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_DRAG_GHOST_CLASS$);
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.style;
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.position = "absolute";
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.overflow = "hidden";
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.top = "-10000px";
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.zIndex = 1E3;
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.width = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.offsetWidth + "px";
    $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$.body.appendChild($agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$);
    var $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.offsetHeight, $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.nextSibling;
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ && ($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ += $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$.offsetHeight);
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.height = $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ + "px";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ = $AdfSubIdUtils$$.$getSubIdElementById$(this.$getComponent$(), $AdfDhtmlPanelAccordionPeer$$.$_DROP_TARGET_SUB_ID$).style;
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.height = $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ + "px";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.top = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.offsetTop + "px";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.position = "absolute";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.overflow = "hidden";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.left = "0px";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.right = "0px";
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.cloneNode(!0);
    $AdfAgent$$.$AGENT$.$removeIdsFromDomSubTree$($domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$);
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.appendChild($domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$);
    $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.style;
    $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$.top = "0px";
    $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$.bottom = "";
    $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$.cloneNode(!0);
    $AdfAgent$$.$AGENT$.$removeIdsFromDomSubTree$($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$);
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.appendChild($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$);
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$ = $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$.style;
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.top = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.offsetHeight + "px";
    $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.bottom = "0px";
    $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$.style.display = "none";
    $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.style.display = "none";
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.display = "block";
  }
  $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$ = this.$_ghost$;
  $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ = $AdfAgent$$.$AGENT$;
  $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.ownerDocument;
  $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$ = $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.$getMousePosition$($evt$$123$$);
  $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ = $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.getWindowWidth();
  $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$.getWindowHeight();
  $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.documentElement.scrollLeft;
  $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$.documentElement.scrollTop;
  $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = Math.min($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ - $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.offsetHeight - 1 + $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, 
  Math.max($agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.y - this.$_dragOffsetY$, $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$));
  $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.style;
  $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$.left = Math.min($contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ - $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.offsetWidth - 1 + $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$, 
  Math.max($agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.x - this.$_dragOffsetX$, $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$)) + "px";
  $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$.top = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ + "px";
  if (this.$_reorderData$ && ($agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$ = $AdfAgent$$.$AGENT$, $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$ = this.$_reorderData$, $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ = $JSCompiler_StaticMethods__getRootWrapper$$(this.$getDomElement$()), $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.$isEventInElement$($evt$$123$$, 
  $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$))) {
    for (var $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.$getMousePosition$($evt$$123$$).y, $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ = $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.$getElementPosition$($contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$).y, 
    $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ = null != this.$_lastTopOverflowPaneIndex$ ? this.$_lastTopOverflowPaneIndex$ + 1 : 0, $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ = null != this.$_firstBottomOverflowPaneIndex$ ? this.$_firstBottomOverflowPaneIndex$ - 1 : $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.length - 
    1, $itemIndex$$inline_3135_nextTop$$inline_3147$$ = -1, $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = -1, $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$;$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ <= 
    $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$;++$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$) {
      var $itemHeader$$inline_3150_obj$$inline_3138$$ = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$[$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$];
      if (-1 == $itemIndex$$inline_3135_nextTop$$inline_3147$$) {
        var $offsetHeight$$inline_3151_top$$inline_3139$$ = $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ + $itemHeader$$inline_3150_obj$$inline_3138$$.top, $bottom$$inline_3140$$ = $offsetHeight$$inline_3151_top$$inline_3139$$ + $itemHeader$$inline_3150_obj$$inline_3138$$.height;
        $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ >= $offsetHeight$$inline_3151_top$$inline_3139$$ && $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ <= $bottom$$inline_3140$$ && ($itemIndex$$inline_3135_nextTop$$inline_3147$$ = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$);
      }
      $itemHeader$$inline_3150_obj$$inline_3138$$.$dragged$ && ($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$);
      if (0 <= $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ && 0 <= $itemIndex$$inline_3135_nextTop$$inline_3147$$) {
        break;
      }
    }
    if (!(0 > $itemIndex$$inline_3135_nextTop$$inline_3147$$ || $itemIndex$$inline_3135_nextTop$$inline_3147$$ == $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$) && ($itemHeader$$inline_3150_obj$$inline_3138$$ = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$[$itemIndex$$inline_3135_nextTop$$inline_3147$$], 
    $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ < $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ + $itemHeader$$inline_3150_obj$$inline_3138$$.top + $itemHeader$$inline_3150_obj$$inline_3138$$.height / 2, $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = 
    $itemIndex$$inline_3135_nextTop$$inline_3147$$ < $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ ? $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ ? $itemIndex$$inline_3135_nextTop$$inline_3147$$ : $itemIndex$$inline_3135_nextTop$$inline_3147$$ + 
    1 : $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ ? $itemIndex$$inline_3135_nextTop$$inline_3147$$ - 1 : $itemIndex$$inline_3135_nextTop$$inline_3147$$, $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ != 
    $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$)) {
      $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$[$contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$];
      $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.splice($contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$, 1);
      $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ == $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.length ? $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.push($dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$) : 
      $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.splice($domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, 0, $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$);
      $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
      $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$ = $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_CLASS$);
      $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$ = $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUBSEQUENT_CLASS$);
      $itemIndex$$inline_3135_nextTop$$inline_3147$$ = 0;
      0 < $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ && ($item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ = parseInt($item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.$getSkinProperty$("af|panelAccordion-tr-overflow-height")), $itemIndex$$inline_3135_nextTop$$inline_3147$$ += $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$);
      $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, this.$_ghost$.childNodes[0], $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$);
      $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, this.$_ghost$.childNodes[0], $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$);
      $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ = 0;
      for (size = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$.length;$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ < size;++$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$) {
        $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$ = $agent$$inline_3098_contentCloneStyle$$inline_3111_data$$inline_3129_deltaY$$28_ghost$$inline_3102_mousePosition$$inline_3118$$[$domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$], $itemHeader$$inline_3150_obj$$inline_3138$$ = $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.$header$, 
        $offsetHeight$$inline_3151_top$$inline_3139$$ = $itemHeader$$inline_3150_obj$$inline_3138$$.offsetHeight, $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ >= $contentElem$$inline_3106_doc$$inline_3101_firstVisibleIndex$$inline_3133_root$$inline_3130_windowWidth$$inline_3119$$ && $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$ <= 
        $agent$$inline_3116_disclosed$$inline_3100_dropStyle$$inline_3107_lastVisibleIndex$$inline_3134_smallestWindowX$$inline_3121$$ ? ($item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.top = $itemIndex$$inline_3135_nextTop$$inline_3147$$, $itemIndex$$inline_3135_nextTop$$inline_3147$$ += $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.height) : $item$$inline_3149_laf$$inline_3144_overflowButtonHeight$$inline_3148_rootY$$inline_3132$$.top = 
        -1E5, $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, $itemHeader$$inline_3150_obj$$inline_3138$$, $contentClone$$inline_3110_dragIndex$$inline_3136_ghostStyle$$inline_3124_headerClass$$inline_3145_headerNodeCloneStyle$$inline_3109_height$$inline_3105_windowHeight$$inline_3120$$), $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < 
        $domDocument$$inline_3117_ghostStyle$$inline_3104_headerClone$$inline_3108_i$$inline_3137_inTopOfItem$$inline_3142_laf$$inline_3103_smallestWindowY$$inline_3122_targetIndex$$inline_3141_top$$inline_3123$$, $itemHeader$$inline_3150_obj$$inline_3138$$, $dragItem$$inline_3143_headerSubClass$$inline_3146_mouseY$$inline_3131$$), $offsetHeight$$inline_3151_top$$inline_3139$$ != $itemHeader$$inline_3150_obj$$inline_3138$$.offsetHeight && $agent$$inline_3128_deltaX$$23_ghost$$inline_3114_headerNode$$inline_3099$$.$setOuterHeight$($itemHeader$$inline_3150_obj$$inline_3138$$, 
        $offsetHeight$$inline_3151_top$$inline_3139$$);
      }
      $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$$108_size$$37$$ = $JSCompiler_StaticMethods__getReorderItemPlacement$self$$.$getDomElement$();
  $AdfDomUtils$$.$containsCSSClassName$($rootElement$$108_size$$37$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$) && $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$$($JSCompiler_StaticMethods__getReorderItemPlacement$self$$, $rootElement$$108_size$$37$$, $headerElements$$2$$);
  for (var $rootElement$$108_size$$37$$ = $headerElements$$2$$.length, $i$$443$$ = 0;$i$$443$$ < $rootElement$$108_size$$37$$;++$i$$443$$) {
    var $headerNode$$2$$ = $headerElements$$2$$[$i$$443$$], $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$$443$$, $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$$444$$, $headerNode$$3_rootElement$$109$$, $headerElements$$3$$) {
  $headerNode$$3_rootElement$$109$$ = $JSCompiler_StaticMethods__getRootWrapper$$($headerNode$$3_rootElement$$109$$);
  var $accordionElementTop$$ = $AdfAgent$$.$AGENT$.$getElementTop$($headerNode$$3_rootElement$$109$$), $rootStyle$$13$$ = $headerNode$$3_rootElement$$109$$.style;
  $rootStyle$$13$$.overflow = "hidden";
  $rootStyle$$13$$.height = $headerNode$$3_rootElement$$109$$.offsetHeight + "px";
  $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$444$$.$_oldWidth$ = $rootStyle$$13$$.width;
  $rootStyle$$13$$.width = $headerNode$$3_rootElement$$109$$.offsetWidth + "px";
  for ($JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$444$$ = $headerElements$$3$$.length - 1;0 <= $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$444$$;--$JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$444$$) {
    $headerNode$$3_rootElement$$109$$ = $headerElements$$3$$[$JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$self_i$$444$$], $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($headerNode$$3_rootElement$$109$$.nextSibling, $accordionElementTop$$), $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($headerNode$$3_rootElement$$109$$, $accordionElementTop$$);
  }
}
function $JSCompiler_StaticMethods__convertFlowingElementToPositioned$$($element$$267$$, $accordionElementTop$$1$$) {
  var $style$$31$$ = $element$$267$$.style;
  $style$$31$$.top = $AdfAgent$$.$AGENT$.$getElementTop$($element$$267$$) - $accordionElementTop$$1$$ + "px";
  $style$$31$$.left = "0px";
  $style$$31$$.right = "0px";
  $style$$31$$.position = "absolute";
}
function $JSCompiler_StaticMethods__restoreFlowingElement$$($element$$268_style$$32$$) {
  $element$$268_style$$32$$ = $element$$268_style$$32$$.style;
  $element$$268_style$$32$$.position = "relative";
  $element$$268_style$$32$$.top = "auto";
  $element$$268_style$$32$$.left = "auto";
  $element$$268_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$$447$$ = 0, $size$$40$$ = $data$$58$$.length;$i$$447$$ < $size$$40$$;++$i$$447$$) {
    var $item$$46$$ = $data$$58$$[$i$$447$$], $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_3155_headerNode$$5_rootStyle$$inline_3160$$ = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderNode$;
  $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.style.display = "block";
  $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderHeight$ != $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.offsetHeight && $AdfAgent$$.$AGENT$.$setOuterHeight$($headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$, $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_dragHeaderHeight$);
  $AdfDomUtils$$.$containsCSSClassName$($headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$) && ($headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.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$$111_rootElement$$inline_3154$$ = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$getDomElement$();
  if ($AdfDomUtils$$.$containsCSSClassName$($rootElement$$111_rootElement$$inline_3154$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$)) {
    for (var $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$ = headerElements = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__terminateReorderDrag$self$$), $rootElement$$111_rootElement$$inline_3154$$ = $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$111_rootElement$$inline_3154$$), $size$$inline_3156$$ = $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.length, $i$$inline_3157$$ = 0;$i$$inline_3157$$ < $size$$inline_3156$$;++$i$$inline_3157$$) {
      var $headerNode$$inline_3158$$ = $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$[$i$$inline_3157$$], $contentNode$$inline_3159$$ = $headerNode$$inline_3158$$.nextSibling;
      $JSCompiler_StaticMethods__restoreFlowingElement$$($headerNode$$inline_3158$$);
      $JSCompiler_StaticMethods__restoreFlowingElement$$($contentNode$$inline_3159$$);
    }
    $rootElement$$111_rootElement$$inline_3154$$.style.width = $JSCompiler_StaticMethods__terminateReorderDrag$self$$.$_oldWidth$;
    $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$ = $rootElement$$111_rootElement$$inline_3154$$.style;
    $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.overflow = "visible";
    $headerElements$$inline_3155_headerNode$$5_rootStyle$$inline_3160$$.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_5982_data$$59_fromIndex$$inline_3164$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_reorderData$, $dragNode$$1$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_dragHeaderNode$, $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$ = -1, $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = -1, $contentNode$$inline_5980_i$$448_item$$inline_5972$$ = 0, $parent$$inline_5973_parentNode$$inline_5981_size$$41$$ = 
  $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$.length;$contentNode$$inline_5980_i$$448_item$$inline_5972$$ < $parent$$inline_5973_parentNode$$inline_5981_size$$41$$;++$contentNode$$inline_5980_i$$448_item$$inline_5972$$) {
    var $headerElements$$inline_5978_obj$$44$$ = $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$[$contentNode$$inline_5980_i$$448_item$$inline_5972$$];
    if ($headerElements$$inline_5978_obj$$44$$.$header$ == $dragNode$$1$$) {
      $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$ = $headerElements$$inline_5978_obj$$44$$.$originalIndex$;
      $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = $contentNode$$inline_5980_i$$448_item$$inline_5972$$;
      break;
    }
  }
  $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$ = $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$;
  $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$ = new $AdfReorderEvent$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$getComponent$(), $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$, $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$);
  $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$.$queue$(!0);
  $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$.$isCanceled$() ? $JSCompiler_StaticMethods__revertReorder$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$) : ($event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$ = $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_contentElement$.getElementsByTagName("div"), $contentNode$$inline_5980_i$$448_item$$inline_5972$$ = $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$[$currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$], 
  $parent$$inline_5973_parentNode$$inline_5981_size$$41$$ = $contentNode$$inline_5980_i$$448_item$$inline_5972$$.parentNode, $parent$$inline_5973_parentNode$$inline_5981_size$$41$$.removeChild($contentNode$$inline_5980_i$$448_item$$inline_5972$$), $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ == $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$.length ? $parent$$inline_5973_parentNode$$inline_5981_size$$41$$.appendChild($contentNode$$inline_5980_i$$448_item$$inline_5972$$) : 
  $parent$$inline_5973_parentNode$$inline_5981_size$$41$$.insertBefore($contentNode$$inline_5980_i$$448_item$$inline_5972$$, $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$[$computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$]), $headerElements$$inline_5978_obj$$44$$ = $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$), $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$ = 
  $headerElements$$inline_5978_obj$$44$$[$currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$], $contentNode$$inline_5980_i$$448_item$$inline_5972$$ = $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$.nextSibling, $headerElements$$inline_5978_obj$$44$$.splice($currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$, 1), $parent$$inline_5973_parentNode$$inline_5981_size$$41$$ = $event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$.parentNode, 
  $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$ = $AdfPage$$.$PAGE$.$_activeDomNode$, $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ == $headerElements$$inline_5978_obj$$44$$.length ? ($computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = $JSCompiler_StaticMethods__getRootChildElements$$($JSCompiler_StaticMethods__afterReorderDropAnimation$self$$), $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = 
  $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$[$computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$.length - $AdfDhtmlPanelAccordionPeer$$.$_TRAILING_NON_ITEM_NODE_COUNT$]) : $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = $headerElements$$inline_5978_obj$$44$$[$computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$], 
  $parent$$inline_5973_parentNode$$inline_5981_size$$41$$.insertBefore($event$$inline_3166_fromIndex$$5_headerNode$$inline_5979_menuItems$$inline_5971$$, $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$), $parent$$inline_5973_parentNode$$inline_5981_size$$41$$.insertBefore($contentNode$$inline_5980_i$$448_item$$inline_5972$$, $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$), delete $JSCompiler_StaticMethods__afterReorderDropAnimation$self$$.$_headerNodes$, 
  $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$ && $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$.focus && ($computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$ = $AdfAgent$$.$AGENT$.getComputedStyle($currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$), $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$.style && "none" != $computedStyle$$inline_5985_infrontOf$$inline_5983_nodes$$inline_5984_toIndex$$5_toIndex$$inline_3165$$.style.display && 
  $currFocus$$inline_5982_data$$59_fromIndex$$inline_3164$$.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$$449$$ = 0, $size$$42$$ = $data$$60$$.length;$i$$449$$ < $size$$42$$;++$i$$449$$) {
    var $dataItem_itemHeader$$1$$ = $data$$60$$[$i$$449$$];
    $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$$449$$, $dataItem_itemHeader$$1$$, $headerClass$$1$$);
    $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $i$$449$$, $dataItem_itemHeader$$1$$, $headerSubClass$$1_laf$$104$$);
    $offsetHeight$$6$$ != $dataItem_itemHeader$$1$$.offsetHeight && $AdfAgent$$.$AGENT$.$setOuterHeight$($dataItem_itemHeader$$1$$, $offsetHeight$$6$$);
    $data$$60$$[$i$$449$$].$dragged$ && ($AdfDomUtils$$.$addOrRemoveCSSClassName$(0 == $i$$449$$, $JSCompiler_StaticMethods__revertReorder$self$$.$_ghost$.childNodes[0], $headerClass$$1$$), $AdfDomUtils$$.$addOrRemoveCSSClassName$(0 < $i$$449$$, $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_3171_top$$inline_3172$$) {
  var $pageBounds$$inline_3170$$ = this.$_pageBounds$;
  $evt$$127_mousePosition$$inline_3171_top$$inline_3172$$ = $AdfAgent$$.$AGENT$.$getMousePosition$($evt$$127_mousePosition$$inline_3171_top$$inline_3172$$);
  $evt$$127_mousePosition$$inline_3171_top$$inline_3172$$ = Math.max($evt$$127_mousePosition$$inline_3171_top$$inline_3172$$.y, $pageBounds$$inline_3170$$.top);
  $evt$$127_mousePosition$$inline_3171_top$$inline_3172$$ = Math.min($evt$$127_mousePosition$$inline_3171_top$$inline_3172$$, $pageBounds$$inline_3170$$.bottom);
  this.$_resizeDivider$.style.top = $evt$$127_mousePosition$$inline_3171_top$$inline_3172$$ + "px";
};
$JSCompiler_prototypeAlias$$.$_handleResizeDrop$ = function $$JSCompiler_prototypeAlias$$$$_handleResizeDrop$$($domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$, $deltaX$$27_itemComponent$$2_page$$inline_3176$$, $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$) {
  $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  var $minHeight$$1$$ = parseInt($domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$.$getSkinProperty$($AdfDhtmlPanelAccordionPeer$$.$_MINIMUM_INFLEXIBLE_HEIGHT$));
  $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$ = this.$_resizeChildId$;
  $AdfAssert$$.$assertString$($domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$ = $AdfPage$$.$PAGE$.$findComponent$($domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$);
  $AdfAssert$$.$assertPrototype$($deltaX$$27_itemComponent$$2_page$$inline_3176$$, AdfRichShowDetailItem);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$.$getPeer$().bind($deltaX$$27_itemComponent$$2_page$$inline_3176$$);
  $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$ = $deltaX$$27_itemComponent$$2_page$$inline_3176$$.$getPeer$().$getDomNode$();
  var $height$$37$$ = $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$.offsetHeight, $height$$37$$ = $height$$37$$ + $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$;
  $height$$37$$ < $minHeight$$1$$ && ($height$$37$$ = $minHeight$$1$$);
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$ = this.$_pageBounds$;
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$ = $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.bottom - $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.top;
  $height$$37$$ > $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$ && ($height$$37$$ = $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$.$ResizeHandlePropertyChange$ = !0;
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$.setFlex(0);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$.setProperty("inflexibleHeight", $height$$37$$, !0);
  delete $deltaX$$27_itemComponent$$2_page$$inline_3176$$.$ResizeHandlePropertyChange$;
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$ = this.$_resizeDivider$;
  $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$ = $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$.parentNode;
  $AdfAssert$$.$assertDomNode$($deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$);
  $AdfAssert$$.$assertDomNode$($domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$ = $AdfPage$$.$PAGE$;
  $AdfDomUtils$$.$removeCSSClassName$($deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$, $AdfDhtmlPanelAccordionPeer$$.$_DRAG_STYLECLASS$);
  $deltaX$$27_itemComponent$$2_page$$inline_3176$$.$getZOrderManager$().$removeElement$($deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$);
  $domNode$$67_evt$$128_laf$$105_resizeChildId$$1_targetParentNode$$inline_3175$$.appendChild($deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$);
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$ = $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.style;
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.width = "";
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.left = "";
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_maxHeight$$2_pageBounds$$1$$.top = "";
  $deltaY$$32_dividerNode$$inline_3174_dividerStyle$$inline_3177_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$$1670$$ = $JSCompiler_StaticMethods__forceResize$self$$.$getComponent$();
  $JSCompiler_StaticMethods__forceResize$self$$.$_reallocateSize$ = !0;
  $AdfPage$$.$PAGE$.$doResizeNotify$($component$$1670$$);
}
$JSCompiler_prototypeAlias$$.$HandleComponentKeyDown$ = function $$JSCompiler_prototypeAlias$$$$HandleComponentKeyDown$$($componentEvent$$350$$) {
  if (!$componentEvent$$350$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $nativeEvent$$42$$ = $componentEvent$$350$$.$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$$350$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlPanelAccordionPeer$$$$$HandleComponentKeyUp$$($componentEvent$$351$$) {
  if (!$componentEvent$$351$$.$isCanceled$() && !this.$_discloseAnimationData$) {
    var $nativeEvent$$43$$ = $componentEvent$$351$$.$getNativeEvent$(), $handled$$1$$ = !1;
    switch($AdfAgent$$.$AGENT$.$getKeyCode$($nativeEvent$$43$$)) {
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$351$$);
        $nativeEvent$$43$$.shiftKey && $nativeEvent$$43$$.ctrlKey ? $handled$$1$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$$(this, !0, $componentEvent$$351$$) : $nativeEvent$$43$$.shiftKey || $nativeEvent$$43$$.ctrlKey || ($handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, !1));
        break;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$351$$);
        $nativeEvent$$43$$.shiftKey && $nativeEvent$$43$$.ctrlKey ? $handled$$1$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$$(this, !1, $componentEvent$$351$$) : $nativeEvent$$43$$.shiftKey || $nativeEvent$$43$$.ctrlKey || ($handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, !0));
        break;
      case $AdfKeyStroke$$.$ENTER_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$351$$);
        break;
      case $AdfKeyStroke$$.$SPACE_KEY$:
        this.$_handleRemoveSelection$($componentEvent$$351$$), $handled$$1$$ = $JSCompiler_StaticMethods__setDisclosure$$(this, $nativeEvent$$43$$, null);
    }
    $handled$$1$$ && $componentEvent$$351$$.cancel();
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlPanelAccordionPeer$$.prototype.$HandleComponentKeyUp$});
function $JSCompiler_StaticMethods__handleReorderKeyUp$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $moveUp$$1$$, $clientId$$340_componentEvent$$352_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$$352_currency_nativeEvent$$44_target$$153$$ = $clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$.$getNativeEvent$();
    $clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$);
    if (!$clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$.id) {
      return !1;
    }
    var $headerElements$$6_idParts$$ = $clientId$$340_componentEvent$$352_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$$352_currency_nativeEvent$$44_target$$153$$ = $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$_getCurrencyFromDomElement$($clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$, $JSCompiler_StaticMethods__handleReorderKeyUp$self$$.$getDomElement$())) {
      $clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$ = $clientId$$340_componentEvent$$352_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$$450$$ = 0;$i$$450$$ < $headerElements$$6_idParts$$.length;++$i$$450$$) {
        if ($JSCompiler_StaticMethods__getClientId$$($headerElements$$6_idParts$$[$i$$450$$]) == $clientId$$340_componentEvent$$352_currency_nativeEvent$$44_target$$153$$) {
          if ($moveUp$$1$$) {
            if ($i$$450$$ <= $firstVisibleIndex$$2$$) {
              return !1;
            }
            $JSCompiler_StaticMethods__reorderPanel$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $i$$450$$, $i$$450$$ - 1);
          } else {
            if ($i$$450$$ >= $lastVisibleIndex$$2$$) {
              return !1;
            }
            $JSCompiler_StaticMethods__reorderPanel$$($JSCompiler_StaticMethods__handleReorderKeyUp$self$$, $i$$450$$, $i$$450$$ + 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$$451_rootElement$$112$$, $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$$451_rootElement$$112$$ = $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$$451_rootElement$$112$$.$setOuterHeight$($firstHeader$$, $firstOffsetHeight$$);
      $agent$$478_i$$451_rootElement$$112$$.$setOuterHeight$($itemHeader$$2$$, $itemOffsetHeight$$);
    }
    $agent$$478_i$$451_rootElement$$112$$ = $JSCompiler_StaticMethods__reorderPanel$self$$.$getDomElement$();
    $AdfDomUtils$$.$containsCSSClassName$($agent$$478_i$$451_rootElement$$112$$, $AdfDhtmlPanelAccordionPeer$$.$_FLOW_STYLECLASS$) && $JSCompiler_StaticMethods__prepareFlowingStructureForAnimation$$($JSCompiler_StaticMethods__reorderPanel$self$$, $agent$$478_i$$451_rootElement$$112$$, $JSCompiler_StaticMethods__getHeaderElements$$($JSCompiler_StaticMethods__reorderPanel$self$$));
    for ($agent$$478_i$$451_rootElement$$112$$ = $fromIndex$$8$$;$agent$$478_i$$451_rootElement$$112$$ < $toIndex$$8$$;++$agent$$478_i$$451_rootElement$$112$$) {
      $data$$61$$[$agent$$478_i$$451_rootElement$$112$$].top -= $item$$47$$.height, $item$$47$$.top += $data$$61$$[$agent$$478_i$$451_rootElement$$112$$].height;
    }
    for ($agent$$478_i$$451_rootElement$$112$$ = $toIndex$$8$$;$agent$$478_i$$451_rootElement$$112$$ < $fromIndex$$8$$;++$agent$$478_i$$451_rootElement$$112$$) {
      $data$$61$$[$agent$$478_i$$451_rootElement$$112$$].top += $item$$47$$.height, $item$$47$$.top -= $data$$61$$[$agent$$478_i$$451_rootElement$$112$$].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$$1671_id$$335$$ = $headerElements$$7$$[$index$$160$$].id;
    $component$$1671_id$$335$$ && ($component$$1671_id$$335$$ = $AdfPage$$.$PAGE$.$findComponent$($component$$1671_id$$335$$.replace("::head", ""))) && $components$$8$$.push($component$$1671_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$$452$$ = $AdfDhtmlPanelAccordionPeer$$.$_LEADING_NON_ITEM_NODE_COUNT$;$i$$452$$ < $lastBodyNodeIndex$$;$i$$452$$ += 2) {
      $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$.push($nodes$$22$$[$i$$452$$]);
    }
  }
  return $JSCompiler_StaticMethods__getHeaderElements$self$$.$_headerNodes$;
}
function $JSCompiler_StaticMethods__getRootWrapper$$($rootElement$$113$$) {
  if (1 == $AdfDomUtils$$.$getNonWhitespaceChildCount$($rootElement$$113$$)) {
    var $firstChild$$8$$ = $AdfDomUtils$$.$getFirstChildElement$($rootElement$$113$$);
    if ($firstChild$$8$$ && "none" != $firstChild$$8$$.style.display) {
      return $firstChild$$8$$;
    }
  }
  return $rootElement$$113$$;
}
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$$269_headerSubId$$2$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$342$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $disclosed$$4_element$$269_headerSubId$$2$$ = $AdfAgent$$.$AGENT$.getElementById($disclosed$$4_element$$269_headerSubId$$2$$);
    if ($AdfDomUtils$$.$containsCSSClassName$($disclosed$$4_element$$269_headerSubId$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_DISABLED_STYLECLASS$)) {
      return !1;
    }
    void 0 === $disclosureState$$1$$ && ($disclosureState$$1$$ = !0);
    $disclosed$$4_element$$269_headerSubId$$2$$ = $AdfDomUtils$$.$containsCSSClassName$($disclosed$$4_element$$269_headerSubId$$2$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_STYLECLASS$);
    return $JSCompiler_StaticMethods__doDisclose$$(this, $clientId$$342$$, $disclosureState$$1$$, $disclosed$$4_element$$269_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_3191$$, $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$, $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$) {
  var $animationData_component$$1672_disclosedItemCount$$inline_3188$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$getComponent$(), $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$), $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$ = "immediate" == $animationData_component$$1672_disclosedItemCount$$inline_3188$$.getContentDelivery(), 
  $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$ = "attachment" == $AdfPage$$.$PAGE$.$_outputMode$;
  if (null == $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$) {
    $AdfLogger$$.$LOGGER$.severe("AdfDhtmlPanelAccordionPeer encountered an unexpected null newDisclosed: ", $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, " where clientIdToDisclose \x3d ", $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$);
  } else {
    if ($contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$ && !$attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$) {
      $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_3196$$) {
        var $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$getComponent$(), $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ = $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$.getDiscloseMany(), $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ = $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$.getDiscloseNone();
        0 == $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ ? ($AdfLogger$$.$LOGGER$.warning("PanelAccordion discloseMany\x3dfalse is not supported in attachment mode."), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = !1) : null != $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ && $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ == 
        $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ ? $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = !1 : ($isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !$childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ = 
        $JSCompiler_StaticMethods__getDisclosedClientIds$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$getDomElement$()), $animationData_component$$1672_disclosedItemCount$$inline_3188$$ = $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$.length, $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ && 
        !$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ && 1 == $animationData_component$$1672_disclosedItemCount$$inline_3188$$ ? $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = !1 : ($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$, 
        $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$), $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $AdfPage$$.$PAGE$.$findComponent$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$), $JSCompiler_StaticMethods__beginDisclosureAnimation$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$, 
        $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, null, $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$), $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$.setDisclosed($isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$), 
        $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, $AdfDhtmlPanelAccordionPeer$$.$_HEADER_SUB_ID$), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$ = $AdfAgent$$.$AGENT$, 
        ($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.getElementById($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$)) && 
        ($isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ ? $AdfDomUtils$$.$addCSSClassName$($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_PSEUDO_CLASS$) : $AdfDomUtils$$.$removeCSSClassName$($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, 
        $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_PSEUDO_CLASS$)), $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_SUB_ID$), $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = 
        $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.getElementById($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$), null != $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ && 
        $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.setAttribute($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_DISCLOSED$, $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$), $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$ = 
        $AdfPage$$.$PAGE$.$getLookAndFeel$(), $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$ = $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ ? $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_UNDISCLOSED_ICON_STYLE_CLASS$) : $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_ICON_STYLE_CLASS$), $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$ = 
        $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ ? $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_DISCLOSED_ICON_STYLE_CLASS$) : $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$.getStyleClass($AdfDhtmlPanelAccordionPeer$$.$_UNDISCLOSED_ICON_STYLE_CLASS$), $AdfDomUtils$$.$removeCSSClassName$($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, 
        $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$), $AdfDomUtils$$.$addCSSClassName$($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$, $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$), !$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ && $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ && 
        1 == $animationData_component$$1672_disclosedItemCount$$inline_3188$$ && ($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $AdfRichUIPeer$$.$CreateSubId$($discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$[0], $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_BTN_SUB_ID$), 
        $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.getElementById($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$), 
        null != $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ && ($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$.style.display = "")), $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$ || 
        $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ || 2 != $animationData_component$$1672_disclosedItemCount$$inline_3188$$ || ($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = $AdfRichUIPeer$$.$CreateSubId$($discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$[0] == $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ ? 
        $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$[1] : $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$[0], $AdfDhtmlPanelAccordionPeer$$.$_DISCLOSURE_BTN_SUB_ID$), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.getElementById($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$), 
        null != $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ && ($JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$.style.display = "none")), $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$ = !0));
        return $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$;
      }
      $contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$ = $animationData_component$$1672_disclosedItemCount$$inline_3188$$.getDiscloseMany();
      $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$ = $animationData_component$$1672_disclosedItemCount$$inline_3188$$.getDiscloseNone();
      $animationData_component$$1672_disclosedItemCount$$inline_3188$$ = null;
      if (null == $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ || $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ != $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$) {
        $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !1;
        if ($contentDeliveryImmediate_discloseMany_removeAnchorStyle$$inline_3196$$) {
          if ($discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ = $JSCompiler_StaticMethods__getDisclosedClientIds$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$getDomElement$()).length, $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$) {
            if (1 < $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ || $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$) {
              $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, !1) && ($animationData_component$$1672_disclosedItemCount$$inline_3188$$ = {item:$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, $disclosed$:!1, $previouslyDisclosedItem$:null}), $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !0;
            }
          } else {
            $JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, !0) && ($animationData_component$$1672_disclosedItemCount$$inline_3188$$ = {item:$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, $disclosed$:!0, $previouslyDisclosedItem$:null}), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, 
            $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !0;
          }
        } else {
          $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ ? $attachmentMode_discloseNone_laf$$inline_3195_newAnchorStyle$$inline_3197$$ && ($JSCompiler_StaticMethods__queueSingleClientDisclosureChange$$($component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, !1) && ($animationData_component$$1672_disclosedItemCount$$inline_3188$$ = 
          {item:$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, $disclosed$:!1, $previouslyDisclosedItem$:null}), $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !0) : ($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ = $JSCompiler_StaticMethods__getDiscloseManyFalseDisclosedClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$), 
          null != $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$ && ($discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$), 
          $AdfAssert$$.assert(null != $discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$, "Could not find a showDetailItem component with clientId \x3d " + $childAnchor$$inline_3194_childAnchorSubId$$inline_3193_disclosed$$5_oldDisclosedClientId$$1_openItemBtn$$inline_3199_openItemBtnSubId$$inline_3198_sdiHeadElement$$inline_3192_sdiHeadId$$inline_3190_showDetailItem$$inline_3189$$)), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$_queueClientDisclosureChanges$($discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$, 
          $component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$) && ($animationData_component$$1672_disclosedItemCount$$inline_3188$$ = {item:$component$$inline_3183_discloseNone$$inline_3185_newDisclosed$$1$$, $disclosed$:!0, $previouslyDisclosedItem$:$discloseMany$$inline_3184_disclosedClientIds$$inline_3187_disclosedItemCount_oldDisclosed$$1$$}), $JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$.$_selectedChildId$ = $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$, 
          $isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$ = !0);
        }
        $animationData_component$$1672_disclosedItemCount$$inline_3188$$ && $JSCompiler_StaticMethods__beginDisclosureAnimation$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$, $animationData_component$$1672_disclosedItemCount$$inline_3188$$.item, $animationData_component$$1672_disclosedItemCount$$inline_3188$$.$previouslyDisclosedItem$, $animationData_component$$1672_disclosedItemCount$$inline_3188$$.$disclosed$);
        if ($isOpening$$inline_3186_newDisclosureState$$1_redrawAccordion$$) {
          return $JSCompiler_StaticMethods__setMostRecentDisclosedPaneClientId$$($JSCompiler_StaticMethods__doDisclose$self_agent$$inline_3191$$, $JSCompiler_inline_result$$183_clientIdToDisclose_otherItemBtn$$inline_3201_otherItemIdBtnSubId$$inline_3200$$), !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$$115$$ = $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$getDomElement$(), $dimensionsFromChildren_rootElement$$115$$ = $AdfDomUtils$$.$containsCSSClassName$($dimensionsFromChildren_rootElement$$115$$, $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$$453$$, $size$$43$$, $elem$$36$$, $cid_contentElem$$2$$;
    $animationObjects$$6_oldDisclosed$$2$$ = [];
    var $toBeUnDisclosedData$$ = $descendantResizeComponent_item$$49_toBeDisclosedData$$ = null;
    if ($dimensionsFromChildren_rootElement$$115$$) {
      var $beforeData_bodyDisclosing$$ = null, $bodyUndisclosing_forcedVisible$$ = null;
      $i$$453$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$453$$ < $size$$43$$;++$i$$453$$) {
        $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$453$$], $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$$453$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$453$$ < $size$$43$$;++$i$$453$$) {
        $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$453$$], $cid_contentElem$$2$$ = $JSCompiler_StaticMethods__getClientId$$($elem$$36$$), $cid_contentElem$$2$$ == $clientId$$343_visibleBefore$$ ? $bodyUndisclosing_forcedVisible$$[$i$$453$$] = $afterData_newDisclosureState$$3$$ : $cid_contentElem$$2$$ == $oldClientId$$1_visibleAfter$$ && ($bodyUndisclosing_forcedVisible$$[$i$$453$$] = !1);
      }
      $afterData_newDisclosureState$$3$$ = $JSCompiler_StaticMethods__getItemSizingData$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, $JSCompiler_StaticMethods__beginDisclosureAnimation$self$$.$_mostRecentHeight$, $bodyUndisclosing_forcedVisible$$);
      $i$$453$$ = 0;
      for ($size$$43$$ = $animDuration$$2_headerElements$$8$$.length;$i$$453$$ < $size$$43$$;++$i$$453$$) {
        $i$$453$$ < $beforeData_bodyDisclosing$$.$startIndex$ && $i$$453$$ < $afterData_newDisclosureState$$3$$.$startIndex$ || ($i$$453$$ < $afterData_newDisclosureState$$3$$.$startIndex$ ? $JSCompiler_StaticMethods__animateDiscloseIntoOverflow$$($animDuration$$2_headerElements$$8$$[$i$$453$$], $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$453$$ - $beforeData_bodyDisclosing$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$453$$ < $beforeData_bodyDisclosing$$.$startIndex$ ? $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, 
        $animDuration$$2_headerElements$$8$$[$i$$453$$], $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$453$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$453$$ > $beforeData_bodyDisclosing$$.$endIndex$ && $i$$453$$ > $afterData_newDisclosureState$$3$$.$endIndex$ || ($i$$453$$ > $beforeData_bodyDisclosing$$.$endIndex$ ? $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__beginDisclosureAnimation$self$$, 
        $animDuration$$2_headerElements$$8$$[$i$$453$$], $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$453$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : $i$$453$$ > $afterData_newDisclosureState$$3$$.$endIndex$ ? $JSCompiler_StaticMethods__animateDiscloseIntoOverflow$$($animDuration$$2_headerElements$$8$$[$i$$453$$], $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$453$$ - $beforeData_bodyDisclosing$$.$startIndex$], $animationObjects$$6_oldDisclosed$$2$$) : 
        ($clientId$$343_visibleBefore$$ = $beforeData_bodyDisclosing$$.$visibleItemData$[$i$$453$$ - $beforeData_bodyDisclosing$$.$startIndex$], $oldClientId$$1_visibleAfter$$ = $afterData_newDisclosureState$$3$$.$visibleItemData$[$i$$453$$ - $afterData_newDisclosureState$$3$$.$startIndex$], $elem$$36$$ = $animDuration$$2_headerElements$$8$$[$i$$453$$], $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$$115$$};
    $descendantResizeComponent_item$$49_toBeDisclosedData$$ = null;
    $dimensionsFromChildren_rootElement$$115$$ && ($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$$454$$ = 0, $size$$44$$ = $animationObjects$$7$$.length;$i$$454$$ < $size$$44$$;++$i$$454$$) {
      var $obj$$45$$ = $animationObjects$$7$$[$i$$454$$];
      $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$$116$$ = $JSCompiler_StaticMethods__completeDisclosureAnimation$self$$.$getDomElement$(), $dimensionsFromChildren$$1_rootElement$$116$$ = $AdfDomUtils$$.$containsCSSClassName$($dimensionsFromChildren$$1_rootElement$$116$$, $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$$116$$ || ($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$$116$$ ? $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$$454$$ = 0;
    for ($size$$44$$ = $descendantResizeComponent$$1_unstretchData$$.length;$i$$454$$ < $size$$44$$;++$i$$454$$) {
      $data$$62_newDomElements$$ = $descendantResizeComponent$$1_unstretchData$$[$i$$454$$], $contentElement$$13_toBeDisclosedData$$1$$ = $data$$62_newDomElements$$.element, $dimensionsFromChildren$$1_rootElement$$116$$ ? $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$$116$$ && ($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$$270$$, $visibleItemData$$, $animationObjects$$8$$) {
  $animationObjects$$8$$.push({element:$element$$270$$, $properties$:{alpha:0}});
  -1 != $visibleItemData$$.$contentTop$ && $animationObjects$$8$$.push({element:$element$$270$$.nextSibling, $properties$:{alpha:0}});
}
function $JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$271$$, $visibleItemData$$1$$, $animationObjects$$9$$) {
  var $agent$$485$$ = $AdfAgent$$.$AGENT$;
  $agent$$485$$.$setOpacity$($contentElem$$3_element$$271$$, 0);
  $JSCompiler_StaticMethods__markPaneAsNotOverflown$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$271$$, $visibleItemData$$1$$.top);
  $animationObjects$$9$$.push({element:$contentElem$$3_element$$271$$, $properties$:{alpha:100}});
  -1 != $visibleItemData$$1$$.$contentTop$ && ($contentElem$$3_element$$271$$ = $contentElem$$3_element$$271$$.nextSibling, $agent$$485$$.$setOpacity$($contentElem$$3_element$$271$$, 0), $JSCompiler_StaticMethods__markPaneAsNotOverflown$$($JSCompiler_StaticMethods__animateDiscloseOutOfOverflow$self$$, $contentElem$$3_element$$271$$, $visibleItemData$$1$$.$contentTop$), $contentElem$$3_element$$271$$.style.display = "block", $agent$$485$$.$setOuterHeight$($contentElem$$3_element$$271$$, $visibleItemData$$1$$.$contentHeight$), 
  $animationObjects$$9$$.push({element:$contentElem$$3_element$$271$$, $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$$253$$ = new $AdfDisclosureEvent$$($oldDisclosed$$3$$, !1, $newDisclosed$$2$$);
    $event$$253$$.$queue$(!0);
    return !$event$$253$$.$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$$254$$ = new $AdfDisclosureEvent$$($showDetailItem$$3$$, $newDisclosedState$$, null);
    $event$$254$$.$queue$(!0);
    return !$event$$254$$.$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_5469_i$$456_rootElement$$118$$, $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$;
  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_5469_i$$456_rootElement$$118$$ = this.$getDomElement$(), 
  !$AdfDomUtils$$.$containsCSSClassName$($JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$, $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_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$ = $JSCompiler_StaticMethods__getRootChildElements$$(this);
    $JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ = $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$[0];
    $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$ = $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$[$JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.length - $AdfDhtmlPanelAccordionPeer$$.$_BOTTOM_OVERFLOW_OFFSET$];
    var $node$$98$$;
    if (0 == $data$$63_newHeight$$23$$.$startIndex$) {
      $JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$.style.display = "none";
    } else {
      for ($JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$.style.display = "block", $JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ = 0;$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ < $data$$63_newHeight$$23$$.$startIndex$;++$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$) {
        $node$$98$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$], $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_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.style.display = "none";
    } else {
      for ($JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.style.display = "block", $JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ = $data$$63_newHeight$$23$$.$endIndex$ + 1;$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ < $headerCount_itemData_newWidth$$26$$;++$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$) {
        $node$$98$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$], $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$), $JSCompiler_StaticMethods__markPaneAsOverflown$$($node$$98$$.nextSibling);
      }
    }
    for ($JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ = $data$$63_newHeight$$23$$.$startIndex$;$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ <= $data$$63_newHeight$$23$$.$endIndex$;++$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$) {
      $headerCount_itemData_newWidth$$26$$ = $data$$63_newHeight$$23$$.$visibleItemData$[$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$ - $data$$63_newHeight$$23$$.$startIndex$], $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$ = $headerElements$$10_oldWidth$$20$$[$JSCompiler_object_inline_top_5469_i$$456_rootElement$$118$$], $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.style.bottom = "", 
      $JSCompiler_StaticMethods__markPaneAsNotOverflown$$(this, $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$, $headerCount_itemData_newWidth$$26$$.top), -1 != $headerCount_itemData_newWidth$$26$$.$contentTop$ && ($JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$ = $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.nextSibling, $JSCompiler_StaticMethods__markPaneAsNotOverflown$$(this, 
      $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$, $headerCount_itemData_newWidth$$26$$.$contentTop$), $agent$$486_oldHeight$$20$$.$setOuterHeight$($JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$, $headerCount_itemData_newWidth$$26$$.$contentHeight$), $JSCompiler_object_inline_bottom_5470_contentElement$$15_headerElement$$6_nodes$$inline_3224$$.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$$457$$, $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$$457$$), $firstVisibleHeaderTop_headerCount$$1$$ = $headerElements$$11_laf$$108$$.length, $JSCompiler_object_inline_flexValues_6348$$ = [], $JSCompiler_object_inline_inflexibleHeights_6349$$ = [], $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$ = [], $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$ = 
  0, $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ = 0, $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ = 0, $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ = -1, $JSCompiler_object_inline_firstDisclosedPaneIndex_6355$$ = -1, $agent$$inline_3230$$ = $AdfAgent$$.$AGENT$, $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$, $headerCount$$inline_3232$$ = $headerElements$$11_laf$$108$$.length, 
  $i$$inline_3233$$ = 0;$i$$inline_3233$$ < $headerCount$$inline_3232$$;++$i$$inline_3233$$) {
    var $contentNode$$inline_3234_flex$$inline_3238$$ = $headerElements$$11_laf$$108$$[$i$$inline_3233$$].nextSibling;
    $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$ = $agent$$inline_3230$$.getAttribute($contentNode$$inline_3234_flex$$inline_3238$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);
    var $forceVisibleValue$$inline_3236$$ = $bodyHeight_forcedVisible$$1_headerHeights$$ && $bodyHeight_forcedVisible$$1_headerHeights$$.length ? $bodyHeight_forcedVisible$$1_headerHeights$$[$i$$inline_3233$$] : null;
    $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$ == $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$.$_selectedChildId$ && ($JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ = $i$$inline_3233$$);
    null == $forceVisibleValue$$inline_3236$$ && "none" != $contentNode$$inline_3234_flex$$inline_3238$$.style.display || $forceVisibleValue$$inline_3236$$ ? (-1 == $JSCompiler_object_inline_firstDisclosedPaneIndex_6355$$ && ($JSCompiler_object_inline_firstDisclosedPaneIndex_6355$$ = $i$$inline_3233$$), $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$ = $AdfPage$$.$PAGE$.$findComponent$($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$), 
    $contentNode$$inline_3234_flex$$inline_3238$$ = $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$.getFlex(), $JSCompiler_object_inline_flexValues_6348$$.push($contentNode$$inline_3234_flex$$inline_3238$$), 0 == $contentNode$$inline_3234_flex$$inline_3238$$ ? ($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$ = $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$.getInflexibleHeight() + 1, $JSCompiler_object_inline_inflexibleHeights_6349$$.push($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$), 
    $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$.push($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$), $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ += $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$) : ($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$ = $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$.getInflexibleHeight() + 
    1, $JSCompiler_object_inline_inflexibleHeights_6349$$.push(0), $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$.push($childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$), $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$ += $contentNode$$inline_3234_flex$$inline_3238$$), $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ += $childComponent$$inline_3237_clientId$$inline_3235_inflexibleHeight$$inline_3231$$) : 
    ($JSCompiler_object_inline_flexValues_6348$$.push(null), $JSCompiler_object_inline_inflexibleHeights_6349$$.push(null), $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$.push(null));
  }
  -1 == $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ && ($JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ = $JSCompiler_object_inline_firstDisclosedPaneIndex_6355$$);
  for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = $bodyHeight_forcedVisible$$1_headerHeights$$ = 0;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ < $firstVisibleHeaderTop_headerCount$$1$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$) {
    $bodyHeight_forcedVisible$$1_headerHeights$$ += $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$].offsetHeight;
  }
  $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = $accordionHeight_newAvailableHeight$$ - $bodyHeight_forcedVisible$$1_headerHeights$$;
  $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ -= $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$;
  if (0 < $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$) {
    $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$ = $firstVisibleHeaderTop_headerCount$$1$$;
    $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ < $firstVisibleHeaderTop_headerCount$$1$$ - 1 && ($JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ += $overflowButtonHeight$$1_visibleInflexibleHeights$$, $accordionHeight_newAvailableHeight$$ -= $overflowButtonHeight$$1_visibleInflexibleHeights$$);
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = $firstVisibleHeaderTop_headerCount$$1$$ - 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ > $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ && 0 < $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$;--$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$) {
      $bodyHeight_forcedVisible$$1_headerHeights$$ = $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$], $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$].offsetHeight, null != $bodyHeight_forcedVisible$$1_headerHeights$$ && ($JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ -= 
      $bodyHeight_forcedVisible$$1_headerHeights$$), --$JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$;
    }
    $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ = -1;
    $firstVisibleHeaderTop_headerCount$$1$$ = 0;
    0 < $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ && 0 < $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ && ($JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ += $overflowButtonHeight$$1_visibleInflexibleHeights$$, $firstVisibleHeaderTop_headerCount$$1$$ = $overflowButtonHeight$$1_visibleInflexibleHeights$$, $accordionHeight_newAvailableHeight$$ -= $overflowButtonHeight$$1_visibleInflexibleHeights$$);
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = 0;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ < $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ && 0 < $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$) {
      $bodyHeight_forcedVisible$$1_headerHeights$$ = $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$], $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$].offsetHeight, null != $bodyHeight_forcedVisible$$1_headerHeights$$ && ($JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ -= 
      $bodyHeight_forcedVisible$$1_headerHeights$$), ++$JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$;
    }
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ + 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ < $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$) {
      $accordionHeight_newAvailableHeight$$ -= $headerElements$$11_laf$$108$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$].offsetHeight;
    }
    $data$$64$$.$startIndex$ = $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ + 1;
    $data$$64$$.$endIndex$ = $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$ - 1;
    $overflowButtonHeight$$1_visibleInflexibleHeights$$ = [];
    $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$ = 0;
    $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$ = [];
    $JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ = 0;
    for ($JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ = $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ + 1;$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$ < $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$;++$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$) {
      inflexibleHeight = $JSCompiler_object_inline_inflexibleHeights_6349$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$], $overflowButtonHeight$$1_visibleInflexibleHeights$$.push(inflexibleHeight), null != inflexibleHeight && ($JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$ += inflexibleHeight), $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ = $JSCompiler_object_inline_flexValues_6348$$[$JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$], 
      $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$.push($JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$), null != $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$ && ($JSCompiler_object_inline_minimumTotal_6353_overflow_visibleFlexTotal$$ += $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$);
    }
    $JSCompiler_StaticMethods__addVisiblePaneSizingData$$($data$$64$$, $overflowButtonHeight$$1_visibleInflexibleHeights$$, $JSCompiler_object_inline_minimumHeights_6350_visibleInflexibleTotal$$, $JSCompiler_object_inline_selectedPaneIndex_6354_visibleFlexValues$$, $JSCompiler_object_inline_minimumTotal_6353_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_6349$$, $JSCompiler_object_inline_inflexibleTotal_6352_flexValue_lastTopOverflowPaneIndex$$, $JSCompiler_object_inline_flexValues_6348$$, $JSCompiler_object_inline_flexTotal_6351_firstBottomOverflowPaneIndex$$, $headerElements$$11_laf$$108$$, 0, $JSCompiler_StaticMethods__getItemSizingData$self_availableHeight_i$$457$$)
    ;
  }
  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$$458$$ = $inflexibleHeights$$.length - 1;0 <= $i$$458$$;--$i$$458$$) {
      var $inflexibleHeight$$1$$ = $inflexibleHeights$$[$i$$458$$];
      if (null != $inflexibleHeight$$1$$) {
        $flex_oldInflexibleHeight_wrapperHeight$$ = $inflexibleHeight$$1$$;
        $inflexibleHeights$$[$i$$458$$] = null;
        $flexTotal$$ = $flexValues$$[$i$$458$$] = 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$$458$$ = 0;$i$$458$$ < $inflexibleHeights$$.length;$i$$458$$++) {
    $firstVisibleHeaderTop$$1_itemData$$1$$ = {top:0, $contentHeight$:-1, $contentTop$:-1}, $flex_oldInflexibleHeight_wrapperHeight$$ = $flexValues$$[$i$$458$$], $firstVisibleHeaderTop$$1_itemData$$1$$.top = $bottom$$4_inflexibleTotal$$, $bottom$$4_inflexibleTotal$$ += $headers$$2$$[$i$$458$$].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$$458$$], $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$$119$$) {
  var $agent$$488$$ = $AdfAgent$$.$getAgent$(), $disclosedClientIds$$3$$ = [];
  if ($childElems_rootElement$$119$$ && ($childElems_rootElement$$119$$ = $JSCompiler_StaticMethods__getRootWrapper$$($childElems_rootElement$$119$$), $childElems_rootElement$$119$$ = $childElems_rootElement$$119$$.childNodes, null != $childElems_rootElement$$119$$)) {
    for (var $i$$460$$ = 0;$i$$460$$ < $childElems_rootElement$$119$$.length;$i$$460$$++) {
      if (1 == $childElems_rootElement$$119$$[$i$$460$$].nodeType) {
        var $element$$272$$ = $childElems_rootElement$$119$$[$i$$460$$], $clientId$$345$$ = $agent$$488$$.getAttribute($element$$272$$, $AdfDhtmlPanelAccordionPeer$$.$_ATTRIBUTE_ROWKEY$);
        null != $clientId$$345$$ && "none" != $element$$272$$.style.display && $disclosedClientIds$$3$$.push($clientId$$345$$);
      }
    }
  }
  return $disclosedClientIds$$3$$;
}
$AdfDhtmlPanelAccordionPeer$$.prototype.$_getCurrencyFromDomElement$ = function $$AdfDhtmlPanelAccordionPeer$$$$$_getCurrencyFromDomElement$$($targetElement$$41$$, $rootElement$$120$$) {
  $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$$120$$) {
      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$$1678$$ = $JSCompiler_StaticMethods__showOverflowMenu$self$$.$getComponent$();
  if ($JSCompiler_StaticMethods__showOverflowMenu$self$$.$isPopupVisible$($component$$1678$$, $popupId$$60$$)) {
    $JSCompiler_StaticMethods__showOverflowMenu$self$$.$hidePopup$($component$$1678$$, $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$$1678$$, $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$$1679$$, $contentDom$$19$$) {
  this.$_whereToResorePopupContent$.appendChild($contentDom$$19$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlPanelAccordionPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlPanelAccordionPeer$$.prototype.$PopupClosed$});
