var $AdfDhtmlTreeTablePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlTablePeer$$, "AdfDhtmlTreeTablePeer", !1);
$goog$exportSymbol$$("AdfDhtmlTreeTablePeer", $AdfDhtmlTreeTablePeer$$);
$AdfDhtmlTreeTablePeer$$.$InitSubclass$ = function $$AdfDhtmlTreeTablePeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfUITree.DISCLOSED_ROW_KEYS);
  this.$_NODE_IMAGE_ATTR$ = "_afrDisImg";
  this.$_DISCLOSURE_ICON_ID$ = "di";
  this.$NODE_DEPTH_ATTR$ = "_afrNdDth";
  this.$TREE_FLAGS_ATTR$ = "_afrTrFgs";
  this.$_COLLAPSED_NODE_KEY$ = "af_tree.TIP_COLLAPSED_NODE";
  this.$_EXPANDED_NODE_KEY$ = "af_tree.TIP_EXPANDED_NODE";
  this.$_TREE_TABLE_ICON_EXPANDED$ = "af|treeTable::expanded-icon";
  this.$_TREE_TABLE_ICON_COLLAPSED$ = "af|treeTable::collapsed-icon";
  this.$_TREE_TABLE_ICON_ANIM$ = "af|treeTable::node-anim-icon";
  this.$_TREE_TABLE_ICON_LEAF$ = "af|treeTable::leaf-icon";
  this.$_TREE_TABLE_ICON_STYLE_EXPANDED$ = "af|treeTable::expanded-icon-style";
  this.$_TREE_TABLE_ICON_STYLE_COLLAPSED$ = "af|treeTable::collapsed-icon-style";
  this.$_TREE_TABLE_ICON_STYLE_ANIM$ = "af|treeTable::node-anim-icon-style";
  this.$_TREE_TABLE_ICON_STYLE_LEAF$ = "af|treeTable::leaf-icon-style";
  this.$_TREE_TABLE_ICON_STYLE_SELECTOR$ = "af|treeTable::selector-icon-style";
  this.$_NODE_STAMP_COLUMN$ = "_afrNdCol";
  this.$_TREE_UP_MARKER$ = "_afrTreeUp";
  this.$_CLIENT_ANCESTOR_PATH$ = "_afrAP";
  this.$_KEY_PATH_SEPARATOR$ = "_";
  this.$_INDENT_PADDING$ = 16;
  this.$_FIRST_VISIBLE_KEY$ = "_afrFstVbl";
  this.$_VISIBLE_ROWS_KEY$ = "_afrVblRws";
  this.READ_ONLY = "_afrReadOnly";
  this.$_SELECTED_CLASS$ = "p_AFSelected";
  this.$NODE_COLLAPSE_ROW_MARGIN$ = 5;
};
$goog$exportSymbol$$("AdfDhtmlTreeTablePeer.InitSubclass", $AdfDhtmlTreeTablePeer$$.$InitSubclass$);
$AdfDhtmlTreeTablePeer$$.prototype.$ComponentRemoved$ = function $$AdfDhtmlTreeTablePeer$$$$$ComponentRemoved$$($component$$2278$$) {
  $JSCompiler_StaticMethods__getTreeUtils$$(this).$removeContextMenuEventListeners$($component$$2278$$);
  $AdfDhtmlTreeTablePeer$$.$superclass$.$ComponentRemoved$.call(this, $component$$2278$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.ComponentRemoved", {$ComponentRemoved$:$AdfDhtmlTreeTablePeer$$.prototype.$ComponentRemoved$});
$AdfDhtmlTreeTablePeer$$.prototype.$getNodeStampColumn$ = function $$AdfDhtmlTreeTablePeer$$$$$getNodeStampColumn$$() {
  var $columns$$24$$ = this.$__getVisibleLeafColumns$();
  for (i = 0;i < $columns$$24$$.length;i++) {
    var $column$$24$$ = $columns$$24$$[i];
    if ($column$$24$$.$getProperty$($AdfDhtmlTreeTablePeer$$.$_NODE_STAMP_COLUMN$)) {
      return $column$$24$$;
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.getNodeStampColumn", {$getNodeStampColumn$:$AdfDhtmlTreeTablePeer$$.prototype.$getNodeStampColumn$});
$AdfDhtmlTreeTablePeer$$.prototype.$__triggerSortEvent$ = function $$AdfDhtmlTreeTablePeer$$$$$__triggerSortEvent$$($componentEvent$$511$$, $sortOrder$$5$$) {
  this.$queueSortEvent$(this.$_currency$, $sortOrder$$5$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.__triggerSortEvent", {$__triggerSortEvent$:$AdfDhtmlTreeTablePeer$$.prototype.$__triggerSortEvent$});
$AdfDhtmlTreeTablePeer$$.prototype.$queueSortEvent$ = function $$AdfDhtmlTreeTablePeer$$$$$queueSortEvent$$($rowKey$$133$$, $sortOrder$$6$$) {
  var $component$$2279$$ = this.$getComponent$(), $nodeStampColumn_sortProperty$$3$$ = this.$getNodeStampColumn$();
  null != $nodeStampColumn_sortProperty$$3$$ && ($nodeStampColumn_sortProperty$$3$$ = $nodeStampColumn_sortProperty$$3$$.getSortProperty(), null != $nodeStampColumn_sortProperty$$3$$ && (new $AdfSortEvent$$($component$$2279$$, [$nodeStampColumn_sortProperty$$3$$ + ("$afr$" + $rowKey$$133$$)], [$sortOrder$$6$$])).$queue$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.queueSortEvent", {$queueSortEvent$:$AdfDhtmlTreeTablePeer$$.prototype.$queueSortEvent$});
$AdfDhtmlTreeTablePeer$$.prototype.$AutoPPRBlockReceived$ = function $$AdfDhtmlTreeTablePeer$$$$$AutoPPRBlockReceived$$($block$$60_rowDiscState_state$$98$$) {
  $block$$60_rowDiscState_state$$98$$ = $AdfAgent$$.$AGENT$.getAttribute($block$$60_rowDiscState_state$$98$$, "_autoPPRDiscUpdate", null);
  if (null != $block$$60_rowDiscState_state$$98$$ && ($block$$60_rowDiscState_state$$98$$ = $block$$60_rowDiscState_state$$98$$.split(":"), 2 == $block$$60_rowDiscState_state$$98$$.length)) {
    var $image$$7$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $block$$60_rowDiscState_state$$98$$[1]);
    if ($image$$7$$) {
      var $rowInfo$$28_tr$$19$$ = this.$FindRowByKey$($block$$60_rowDiscState_state$$98$$[1]), $rowInfo$$28_tr$$19$$ = $rowInfo$$28_tr$$19$$ ? $rowInfo$$28_tr$$19$$.$tr$ : null;
      switch($block$$60_rowDiscState_state$$98$$[0]) {
        case "exp":
          $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $image$$7$$, !0, $rowInfo$$28_tr$$19$$);
          break;
        case "clp":
          $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $image$$7$$, !1, $rowInfo$$28_tr$$19$$);
          break;
        case "lf":
          $JSCompiler_StaticMethods__setLeafIcon$$(this, $image$$7$$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.AutoPPRBlockReceived", {$AutoPPRBlockReceived$:$AdfDhtmlTreeTablePeer$$.prototype.$AutoPPRBlockReceived$});
$AdfDhtmlTreeTablePeer$$.prototype.$SetFirst$ = function $$AdfDhtmlTreeTablePeer$$$$$SetFirst$$($first$$16$$) {
  this.$getComponent$().setProperty($AdfDhtmlTreeTablePeer$$.$_FIRST_VISIBLE_KEY$, $first$$16$$, !1, !0);
  var $buddyComponent$$4$$ = this.$GetAssociatedComponent$();
  null != $buddyComponent$$4$$ && $buddyComponent$$4$$.setProperty($AdfDhtmlTreeTablePeer$$.$_FIRST_VISIBLE_KEY$, $first$$16$$, !1, !0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.SetFirst", {$SetFirst$:$AdfDhtmlTreeTablePeer$$.prototype.$SetFirst$});
$AdfDhtmlTreeTablePeer$$.prototype.$SetRows$ = function $$AdfDhtmlTreeTablePeer$$$$$SetRows$$($rows$$55$$) {
  this.$getComponent$().setProperty($AdfDhtmlTreeTablePeer$$.$_VISIBLE_ROWS_KEY$, $rows$$55$$, !1, !0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.SetRows", {$SetRows$:$AdfDhtmlTreeTablePeer$$.prototype.$SetRows$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleComponentKeyDown$$($componentEvent$$512$$) {
  if (!this.$isDisclosureFetchPending$()) {
    var $domEvent$$90_selectorRowKey$$ = $componentEvent$$512$$.$getNativeEvent$(), $ctrlDown$$ = $domEvent$$90_selectorRowKey$$.ctrlKey, $shiftDown$$1$$ = $domEvent$$90_selectorRowKey$$.shiftKey, $agent$$746$$ = $AdfAgent$$.$AGENT$, $target$$217$$ = $agent$$746$$.$getEventTarget$($domEvent$$90_selectorRowKey$$), $keyCode$$120$$ = $domEvent$$90_selectorRowKey$$.keyCode, $component$$2282_iconId$$12$$ = this.$getComponent$(), $clientId$$468$$ = $component$$2282_iconId$$12$$.$getClientId$(), $treeUtils$$ = 
    $JSCompiler_StaticMethods__getTreeUtils$$(this);
    switch($keyCode$$120$$) {
      default:
        $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentKeyDown$.call(this, $componentEvent$$512$$);
        break;
      case 54:
        !$treeUtils$$.$isSelectorPopupVisible$() && $ctrlDown$$ && $shiftDown$$1$$ ? ($component$$2282_iconId$$12$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$468$$, $AdfTreeUtils$$.$_SELECTOR_ICON_ID$), $AdfAgent$$.$AGENT$.getElementById($component$$2282_iconId$$12$$) && ($treeUtils$$.$showSelectorPopup$(), $agent$$746$$.$eatEvent$($domEvent$$90_selectorRowKey$$))) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentKeyDown$.call(this, $componentEvent$$512$$);
        break;
      case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
        $treeUtils$$.$isSelectorPopupVisible$() ? $treeUtils$$.$selectSelectorPopupItem$(!0) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentKeyDown$.call(this, $componentEvent$$512$$);
        break;
      case $AdfKeyStroke$$.$ARROWUP_KEY$:
        $treeUtils$$.$isSelectorPopupVisible$() ? $treeUtils$$.$selectSelectorPopupItem$(!1) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentKeyDown$.call(this, $componentEvent$$512$$);
        break;
      case $AdfKeyStroke$$.$ENTER_KEY$:
        if ($treeUtils$$.$isSelectorPopupVisible$()) {
          if ($domEvent$$90_selectorRowKey$$ = $treeUtils$$.$getSelectorSelectedRowKey$()) {
            $treeUtils$$.$hideSelectorPopup$(), $AdfFocusEvent$$.$queue$($component$$2282_iconId$$12$$, $domEvent$$90_selectorRowKey$$);
          }
        } else {
          $JSCompiler_StaticMethods__isDisclosure$$(this, $target$$217$$) && !this.$BusyAnimating$() ? this.$HandleDisclosure$($target$$217$$) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentKeyDown$.call(this, $componentEvent$$512$$);
        }
      ;
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentMouseDown$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleComponentMouseDown$$($componentEvent$$513$$) {
  if (!this.$isDisclosureFetchPending$()) {
    var $agent$$747$$ = $AdfAgent$$.$AGENT$, $nativeEvent$$67$$ = $componentEvent$$513$$.$getNativeEvent$(), $target$$218$$ = $agent$$747$$.$getEventTarget$($nativeEvent$$67$$);
    $agent$$747$$.$isLeftButton$($nativeEvent$$67$$) ? $JSCompiler_StaticMethods__isDisclosure$$(this, $target$$218$$) && !this.$BusyAnimating$() ? this.$HandleDisclosure$($target$$218$$) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentMouseDown$.call(this, $componentEvent$$513$$) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentMouseDown$.call(this, $componentEvent$$513$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleComponentMouseDown", {$HandleComponentMouseDown$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentMouseDown$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleDisclosure$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleDisclosure$$($rowKey$$134_target$$219$$) {
  var $attrs$$57_row$$134$$ = this.$GetRowKeyAndRow$($rowKey$$134_target$$219$$, this.$getDomElement$());
  if (null != $attrs$$57_row$$134$$ && ($rowKey$$134_target$$219$$ = $attrs$$57_row$$134$$[0], $attrs$$57_row$$134$$ = $attrs$$57_row$$134$$[1], !this.$isLeaf$($rowKey$$134_target$$219$$))) {
    var $component$$2283_focusSet$$inline_4917$$ = this.$getComponent$(), $expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$ = $component$$2283_focusSet$$inline_4917$$.$isPathExpanded$($rowKey$$134_target$$219$$), $image$$8_imageElem$$1$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $rowKey$$134_target$$219$$), $iconNames$$2_laf$$140_styleAnim$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $iconStyleNames$$ = this.$GetIconStyleNames$($component$$2283_focusSet$$inline_4917$$), 
    $iconNames$$2_laf$$140_styleAnim$$ = $iconNames$$2_laf$$140_styleAnim$$.getStyleClass($iconStyleNames$$.$anim$);
    $image$$8_imageElem$$1$$.className = $iconNames$$2_laf$$140_styleAnim$$;
    if ($image$$8_imageElem$$1$$ = this.$_getDisclosureIcon$($image$$8_imageElem$$1$$)) {
      $iconNames$$2_laf$$140_styleAnim$$ = this.$GetIconNames$($component$$2283_focusSet$$inline_4917$$), $AdfDomUtils$$.$swapIcon$($image$$8_imageElem$$1$$, $iconNames$$2_laf$$140_styleAnim$$.$anim$);
    }
    $component$$2283_focusSet$$inline_4917$$.$setDisclosedRowKey$($rowKey$$134_target$$219$$, !$expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$);
    $component$$2283_focusSet$$inline_4917$$ = !1;
    if ($expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$ = this.$FindRowByKey$($rowKey$$134_target$$219$$)) {
      if ($expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$ = this.$GetRowHeaderCellFromRow$($expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$.$tr$)) {
        this.$UpdateFocusManager$($AdfDhtmlTableBasePeer$$.$_ROW_HEADER_FOCUS_TYPE$, $rowKey$$134_target$$219$$, $expanded$$6_rowHeaderCell$$inline_4919_rowInfo$$inline_4918$$), $component$$2283_focusSet$$inline_4917$$ = !0;
      }
    }
    $component$$2283_focusSet$$inline_4917$$ || this.$UpdateFocusManager$($AdfDhtmlTableBasePeer$$.$_TABLE_BODY_FOCUS_TYPE$, $rowKey$$134_target$$219$$, $attrs$$57_row$$134$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleDisclosure", {$HandleDisclosure$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleDisclosure$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleComponentClick$$($componentEvent$$514$$) {
  var $agent$$748$$ = $AdfAgent$$.$AGENT$, $nativeEvent$$68$$ = $componentEvent$$514$$.$getNativeEvent$(), $target$$220$$ = $agent$$748$$.$getEventTarget$($nativeEvent$$68$$), $treeUtils$$1$$ = $JSCompiler_StaticMethods__getTreeUtils$$(this), $selectorRowKey$$1$$ = null, $component$$2284$$ = this.$getComponent$();
  $treeUtils$$1$$.$getParentWithAttribute$($target$$220$$, $AdfTreeUtils$$.$SELECTOR_IMAGE_ATTR$, 1) ? ($treeUtils$$1$$.$showSelectorPopup$(), $agent$$748$$.$eatEvent$($nativeEvent$$68$$)) : null != ($selectorRowKey$$1$$ = $treeUtils$$1$$.$getSelectorItemRowKey$($nativeEvent$$68$$, $target$$220$$)) ? ($treeUtils$$1$$.$hideSelectorPopup$(), $AdfFocusEvent$$.$queue$($component$$2284$$, $selectorRowKey$$1$$)) : $JSCompiler_StaticMethods__isDisclosure$$(this, $target$$220$$) || $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentClick$.call(this, 
  $componentEvent$$514$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentClick$});
function $JSCompiler_StaticMethods__setDisclosureIcon$$($JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$, $element$$334_imageElem$$2$$, $disclosed$$17$$, $tr$$20$$) {
  if ($element$$334_imageElem$$2$$) {
    var $laf$$141_title$$20$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $iconStyleNames$$1_styleCollapsed$$2$$ = $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$GetIconStyleNames$($JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$getComponent$()), $styleExpanded$$2$$ = $laf$$141_title$$20$$.getStyleClass($iconStyleNames$$1_styleCollapsed$$2$$.$expanded$), $iconStyleNames$$1_styleCollapsed$$2$$ = $laf$$141_title$$20$$.getStyleClass($iconStyleNames$$1_styleCollapsed$$2$$.collapsed);
    $element$$334_imageElem$$2$$.className = $disclosed$$17$$ ? $styleExpanded$$2$$ : $iconStyleNames$$1_styleCollapsed$$2$$;
    $laf$$141_title$$20$$ = $disclosed$$17$$ ? $laf$$141_title$$20$$.$getTranslatedString$($AdfDhtmlTreeTablePeer$$.$_EXPANDED_NODE_KEY$) : $laf$$141_title$$20$$.$getTranslatedString$($AdfDhtmlTreeTablePeer$$.$_COLLAPSED_NODE_KEY$);
    $element$$334_imageElem$$2$$.title = $laf$$141_title$$20$$;
    if ($element$$334_imageElem$$2$$ = $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$_getDisclosureIcon$($element$$334_imageElem$$2$$)) {
      $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$ = $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$GetIconNames$($JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$getComponent$()), $AdfDomUtils$$.$swapIcon$($element$$334_imageElem$$2$$, $disclosed$$17$$ ? $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.$expanded$ : $JSCompiler_StaticMethods__setDisclosureIcon$self_iconNames$$3$$.collapsed);
    }
    $tr$$20$$ && $tr$$20$$.setAttribute("aria-expanded", $disclosed$$17$$ ? "true" : "false");
  }
}
function $JSCompiler_StaticMethods__setLeafIcon$$($JSCompiler_StaticMethods__setLeafIcon$self$$, $element$$335$$) {
  if ($element$$335$$) {
    var $imageElem$$3_laf$$142_styleLeaf$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $iconNames$$4_iconStyleNames$$2$$ = $JSCompiler_StaticMethods__setLeafIcon$self$$.$GetIconStyleNames$($JSCompiler_StaticMethods__setLeafIcon$self$$.$getComponent$()), $imageElem$$3_laf$$142_styleLeaf$$ = $imageElem$$3_laf$$142_styleLeaf$$.getStyleClass($iconNames$$4_iconStyleNames$$2$$.$leaf$);
    $element$$335$$.className = $imageElem$$3_laf$$142_styleLeaf$$;
    $element$$335$$.title = "";
    if ($imageElem$$3_laf$$142_styleLeaf$$ = $JSCompiler_StaticMethods__setLeafIcon$self$$.$_getDisclosureIcon$($element$$335$$)) {
      $iconNames$$4_iconStyleNames$$2$$ = $JSCompiler_StaticMethods__setLeafIcon$self$$.$GetIconNames$($JSCompiler_StaticMethods__setLeafIcon$self$$.$getComponent$()), $AdfDomUtils$$.$swapIcon$($imageElem$$3_laf$$142_styleLeaf$$, $iconNames$$4_iconStyleNames$$2$$.$leaf$);
    }
  }
}
$AdfDhtmlTreeTablePeer$$.prototype.$ComponentDisclosedRowKeysChanged$ = function $$AdfDhtmlTreeTablePeer$$$$$ComponentDisclosedRowKeysChanged$$($component$$2285_pcPeer$$6$$, $domElement$$576$$, $newValue$$175$$, $oldValue$$110$$) {
  $AdfDhtmlTreeTablePeer$$.$superclass$.$ComponentDisclosedRowKeysChanged$.call(this, $component$$2285_pcPeer$$6$$, $domElement$$576$$, $newValue$$175$$, $oldValue$$110$$);
  $JSCompiler_StaticMethods__getTreeUtils$$(this).$setAssociatedDisclosedRowKeys$($newValue$$175$$, $oldValue$$110$$);
  ($component$$2285_pcPeer$$6$$ = this.$GetPanelCollectionPeer$()) && $component$$2285_pcPeer$$6$$.$updateRowSelectionContext$();
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.ComponentDisclosedRowKeysChanged", {$ComponentDisclosedRowKeysChanged$:$AdfDhtmlTreeTablePeer$$.prototype.$ComponentDisclosedRowKeysChanged$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentCollapseEvent$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleComponentCollapseEvent$$($collapsedItems$$3_lastToken$$4$$) {
  var $component$$2286_deficit$$ = this.$getComponent$();
  if ("page" == $component$$2286_deficit$$.$getProperty$("scrollPolicy")) {
    $AdfPage$$.$PAGE$.$addPartialTargets$($component$$2286_deficit$$);
  } else {
    if (!$component$$2286_deficit$$.$getProperty$($AdfDhtmlTreeTablePeer$$.READ_ONLY) || this.$isHeightAutoSized$()) {
      $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentCollapseEvent$.call(this, $collapsedItems$$3_lastToken$$4$$);
    } else {
      var $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ = this.$GetDataBody$(), $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ = $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$.childNodes, $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ = $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$[$blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$.length - 1], 
      $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ = $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$.$startPos$ + $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$.$cachedHeight$ - this.$_currentScrollTop$, $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ = $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$.offsetHeight, $key$$inline_4934_removedHeight$$inline_4923$$ = 0, $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$;
      for ($hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ in $collapsedItems$$3_lastToken$$4$$) {
        var $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$ = $JSCompiler_StaticMethods__findChildList$$(this, $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$, !1);
        $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$ && ($key$$inline_4934_removedHeight$$inline_4923$$ += $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$.height);
      }
      $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ = $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ - $key$$inline_4934_removedHeight$$inline_4923$$;
      if ($hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ < $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ && this.$_canvasHeight$ > $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$) {
        $component$$2286_deficit$$ = ($dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ - $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$) / this.$_averageRowHeight$;
        $component$$2286_deficit$$ = Math.ceil($component$$2286_deficit$$);
        $component$$2286_deficit$$ += $AdfDhtmlTreeTablePeer$$.$NODE_COLLAPSE_ROW_MARGIN$;
        a: {
          var $blocks$$inline_4929_evt$$175_key$$105$$ = this.$GetDataBody$().childNodes;
          for ($hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ = $blocks$$inline_4929_evt$$175_key$$105$$.length - 1;0 <= $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$;$hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$--) {
            for ($blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ = $blocks$$inline_4929_evt$$175_key$$105$$[$hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$].rows, $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ = $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$.length - 1;0 <= $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$;$dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$--) {
              if ($listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$ = $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$[$dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$], $key$$inline_4934_removedHeight$$inline_4923$$ = $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$.getAttribute($AdfDhtmlTableBasePeer$$.$_ROW_KEY$), $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$ = $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$) + 
              "_" + $key$$inline_4934_removedHeight$$inline_4923$$, !$JSCompiler_StaticMethods__isParentInSet$$($collapsedItems$$3_lastToken$$4$$, $listInfo$$inline_4925_rkPath$$inline_4935_tr$$inline_4933$$)) {
                $collapsedItems$$3_lastToken$$4$$ = $key$$inline_4934_removedHeight$$inline_4923$$;
                break a;
              }
            }
          }
          $collapsedItems$$3_lastToken$$4$$ = null;
        }
        if ($blocks$$inline_4929_evt$$175_key$$105$$ = this.$_queueFetchEvent$(!1, $AdfTableDataFetchEvent$$.$COLLAPSE_SUBTYPE$)) {
          $blocks$$inline_4929_evt$$175_key$$105$$.$setFillRows$($component$$2286_deficit$$), $blocks$$inline_4929_evt$$175_key$$105$$.$setLastClientKey$($collapsedItems$$3_lastToken$$4$$), $AdfDhtmlTableBasePeer$$.$SetCursor$(this.$GetDataBody$(), "wait");
        }
      } else {
        $hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ = null != $component$$2286_deficit$$.$getProperty$(AdfUITree.$DISCLOSURE_LISTENER_KEY$);
        $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ = $component$$2286_deficit$$.$getProperty$(AdfUITree.$LOCAL_DISCLOSURE_STATE$);
        $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$ = {};
        $AdfCollections$$.$copyInto$($blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$, $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$);
        for ($blocks$$inline_4929_evt$$175_key$$105$$ in $collapsedItems$$3_lastToken$$4$$) {
          $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$ = this.$FindRowByKey$($blocks$$inline_4929_evt$$175_key$$105$$).$tr$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$) + "_" + $blocks$$inline_4929_evt$$175_key$$105$$, $JSCompiler_StaticMethods__isParentInSet$$($collapsedItems$$3_lastToken$$4$$, $dataBody$$149_oldState$$3_r$$inline_4932_rkPath_viewportHeight$$12$$) || ($hasListeners_i$$inline_4930_key$$inline_4924_newLastBottom$$ || ($blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$[$blocks$$inline_4929_evt$$175_key$$105$$] = 
          !0), $JSCompiler_StaticMethods__removeChildNodes$$(this, $blocks$$inline_4929_evt$$175_key$$105$$, !0));
        }
        $component$$2286_deficit$$.setProperty(AdfUITree.$LOCAL_DISCLOSURE_STATE$, $blockList$$27_clientState_lastBlock$$11_lastBottom$$2_rows$$inline_4931$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleComponentCollapseEvent", {$HandleComponentCollapseEvent$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentCollapseEvent$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentExpandEvent$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleComponentExpandEvent$$($collapsedItems$$4$$) {
  var $component$$2287$$ = this.$getComponent$();
  "page" == $component$$2287$$.$getProperty$("scrollPolicy") ? $AdfPage$$.$PAGE$.$addPartialTargets$($component$$2287$$) : $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleComponentExpandEvent$.call(this, $collapsedItems$$4$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleComponentExpandEvent", {$HandleComponentExpandEvent$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleComponentExpandEvent$});
function $JSCompiler_StaticMethods__removeChildNodes$$($JSCompiler_StaticMethods__removeChildNodes$self$$, $page$$215_rowKey$$136$$, $animate$$2$$) {
  var $listInfo$$1_startRow$$17$$ = $JSCompiler_StaticMethods__findChildList$$($JSCompiler_StaticMethods__removeChildNodes$self$$, $page$$215_rowKey$$136$$, !1);
  if ($listInfo$$1_startRow$$17$$) {
    var $oldAnimate_totalCount$$ = $JSCompiler_StaticMethods__removeChildNodes$self$$.$GetRowCount$(), $node$$133_ownerDoc$$25$$ = $JSCompiler_StaticMethods__removeChildNodes$self$$.$getDomElement$().ownerDocument, $totalRemoved$$ = $listInfo$$1_startRow$$17$$.end - $listInfo$$1_startRow$$17$$.start + 1, $node$$133_ownerDoc$$25$$ = $node$$133_ownerDoc$$25$$.createElement("table"), $listInfo$$1_startRow$$17$$ = $JSCompiler_StaticMethods__removeChildNodes$self$$.$FindRowByKey$($page$$215_rowKey$$136$$).index;
    $node$$133_ownerDoc$$25$$.setAttribute("totalRemoved", $totalRemoved$$);
    $node$$133_ownerDoc$$25$$.setAttribute("_parentKey", $page$$215_rowKey$$136$$);
    $node$$133_ownerDoc$$25$$.setAttribute("_startRow", $listInfo$$1_startRow$$17$$, null);
    $node$$133_ownerDoc$$25$$.setAttribute("_rowCount", $oldAnimate_totalCount$$ - $totalRemoved$$, null);
    $page$$215_rowKey$$136$$ = $AdfPage$$.$PAGE$;
    $oldAnimate_totalCount$$ = $page$$215_rowKey$$136$$.$isAnimationEnabled$();
    $page$$215_rowKey$$136$$.$setAnimationEnabled$($animate$$2$$);
    $JSCompiler_StaticMethods__removeChildNodes$self$$.$HandleCollapse$($node$$133_ownerDoc$$25$$, $listInfo$$1_startRow$$17$$, 0);
    $page$$215_rowKey$$136$$.$setAnimationEnabled$($oldAnimate_totalCount$$);
  }
}
$AdfDhtmlTreeTablePeer$$.prototype.$HandleAutoPPRRemove$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleAutoPPRRemove$$($block$$61$$) {
  this.$getComponent$();
  var $rowKey$$137$$ = $AdfAgent$$.$AGENT$.getAttribute($block$$61$$, "_parentKey", null);
  $rowKey$$137$$ && $JSCompiler_StaticMethods__removeChildNodes$$(this, $rowKey$$137$$, !1);
  return $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleAutoPPRRemove$.call(this, $block$$61$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleAutoPPRRemove", {$HandleAutoPPRRemove$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleAutoPPRRemove$});
$AdfDhtmlTreeTablePeer$$.prototype.$BeginHandleDataBlocks$ = function $$AdfDhtmlTreeTablePeer$$$$$BeginHandleDataBlocks$$() {
  this.$getComponent$().setProperty(AdfUITree.$LOCAL_DISCLOSURE_STATE$, {}, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.BeginHandleDataBlocks", {$BeginHandleDataBlocks$:$AdfDhtmlTreeTablePeer$$.prototype.$BeginHandleDataBlocks$});
function $JSCompiler_StaticMethods__isParentInSet$$($keySet$$, $childKey$$1$$) {
  for (var $key$$106$$ in $keySet$$) {
    if (-1 != $childKey$$1$$.indexOf($key$$106$$ + "_")) {
      return !0;
    }
  }
  return !1;
}
function $JSCompiler_StaticMethods__isDisclosure$$($JSCompiler_StaticMethods__isDisclosure$self$$, $target$$221$$) {
  var $laf$$143_styleLeaf$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $iconStyleNames$$3_targetClassName$$ = $JSCompiler_StaticMethods__isDisclosure$self$$.$GetIconStyleNames$($JSCompiler_StaticMethods__isDisclosure$self$$.$getComponent$()), $styleExpanded$$3$$ = $laf$$143_styleLeaf$$1$$.getStyleClass($iconStyleNames$$3_targetClassName$$.$expanded$), $parentClassName$$2_styleAnim$$1$$ = $laf$$143_styleLeaf$$1$$.getStyleClass($iconStyleNames$$3_targetClassName$$.$anim$), $styleCollapsed$$3$$ = $laf$$143_styleLeaf$$1$$.getStyleClass($iconStyleNames$$3_targetClassName$$.collapsed), 
  $laf$$143_styleLeaf$$1$$ = $laf$$143_styleLeaf$$1$$.getStyleClass($iconStyleNames$$3_targetClassName$$.$leaf$), $iconStyleNames$$3_targetClassName$$ = $target$$221$$.className;
  if (0 <= $iconStyleNames$$3_targetClassName$$.indexOf($styleExpanded$$3$$) || 0 <= $iconStyleNames$$3_targetClassName$$.indexOf($styleCollapsed$$3$$) || 0 <= $iconStyleNames$$3_targetClassName$$.indexOf($laf$$143_styleLeaf$$1$$) || 0 <= $iconStyleNames$$3_targetClassName$$.indexOf($parentClassName$$2_styleAnim$$1$$)) {
    return !0;
  }
  $parentClassName$$2_styleAnim$$1$$ = $target$$221$$.parentNode.className;
  return 0 <= $parentClassName$$2_styleAnim$$1$$.indexOf($styleExpanded$$3$$) || 0 <= $parentClassName$$2_styleAnim$$1$$.indexOf($styleCollapsed$$3$$) || 0 <= $parentClassName$$2_styleAnim$$1$$.indexOf($laf$$143_styleLeaf$$1$$);
}
$AdfDhtmlTreeTablePeer$$.prototype.$_getDisclosureIcon$ = function $$AdfDhtmlTreeTablePeer$$$$$_getDisclosureIcon$$($element$$336_imgChild$$1$$) {
  var $agent$$750_nodeName$$13$$ = $AdfAgent$$.$getAgent$();
  return null != $element$$336_imgChild$$1$$.firstChild && ($element$$336_imgChild$$1$$ = $element$$336_imgChild$$1$$.firstChild, $agent$$750_nodeName$$13$$ = $agent$$750_nodeName$$13$$.$getNodeName$($element$$336_imgChild$$1$$).toLowerCase(), "img" == $agent$$750_nodeName$$13$$ || "span" == $agent$$750_nodeName$$13$$ || "#text" == $agent$$750_nodeName$$13$$) ? $element$$336_imgChild$$1$$ : null;
};
$AdfDhtmlTreeTablePeer$$.prototype.$isLeaf$ = function $$AdfDhtmlTreeTablePeer$$$$$isLeaf$$($info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$) {
  var $cell$$38_icon$$20_row$$136$$ = null;
  $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$ = this.$FindRowByKey$($info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$);
  null != $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$ && ($cell$$38_icon$$20_row$$136$$ = $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$.$tr$);
  if (null != $cell$$38_icon$$20_row$$136$$ && ($cell$$38_icon$$20_row$$136$$ = $JSCompiler_StaticMethods__getNodeStampCell$$(this, $cell$$38_icon$$20_row$$136$$), null != $cell$$38_icon$$20_row$$136$$ && ($cell$$38_icon$$20_row$$136$$ = $JSCompiler_StaticMethods__getDisclosureIconInCell$$(this, $cell$$38_icon$$20_row$$136$$), null != $cell$$38_icon$$20_row$$136$$))) {
    $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
    var $iconStyleNames$$4$$ = this.$GetIconStyleNames$(this.$getComponent$());
    $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$ = $info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$.getStyleClass($iconStyleNames$$4$$.$leaf$);
    return 0 <= $cell$$38_icon$$20_row$$136$$.className.indexOf($info$$25_laf$$144_rowKey$$138_styleLeaf$$2$$);
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.isLeaf", {$isLeaf$:$AdfDhtmlTreeTablePeer$$.prototype.$isLeaf$});
$AdfDhtmlTreeTablePeer$$.prototype.$isSelectorIconVisible$ = function $$AdfDhtmlTreeTablePeer$$$$$isSelectorIconVisible$$() {
  return $JSCompiler_StaticMethods__getTreeUtils$$(this).$isSelectorIconVisible$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.isSelectorIconVisible", {$isSelectorIconVisible$:$AdfDhtmlTreeTablePeer$$.prototype.$isSelectorIconVisible$});
$AdfDhtmlTreeTablePeer$$.prototype.$getDepth$ = function $$AdfDhtmlTreeTablePeer$$$$$getDepth$$($discImage_rowKey$$139_span$$9$$) {
  var $agent$$751$$ = $AdfAgent$$.$AGENT$, $depth$$9$$ = -1;
  if ($discImage_rowKey$$139_span$$9$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $discImage_rowKey$$139_span$$9$$)) {
    $discImage_rowKey$$139_span$$9$$ = $discImage_rowKey$$139_span$$9$$.parentNode, "SPAN" == $discImage_rowKey$$139_span$$9$$.tagName && ($depth$$9$$ = $agent$$751$$.$getIntAttribute$($discImage_rowKey$$139_span$$9$$, $AdfDhtmlTreeTablePeer$$.$NODE_DEPTH_ATTR$, -1));
  }
  return $depth$$9$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.getDepth", {$getDepth$:$AdfDhtmlTreeTablePeer$$.prototype.$getDepth$});
$AdfDhtmlTreeTablePeer$$.prototype.$isMultiRoot$ = function $$AdfDhtmlTreeTablePeer$$$$$isMultiRoot$$() {
  return $JSCompiler_StaticMethods__getTreeUtils$$(this).$isMultiRoot$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.isMultiRoot", {$isMultiRoot$:$AdfDhtmlTreeTablePeer$$.prototype.$isMultiRoot$});
$AdfDhtmlTreeTablePeer$$.prototype.$hasPathStamp$ = function $$AdfDhtmlTreeTablePeer$$$$$hasPathStamp$$() {
  return $JSCompiler_StaticMethods__getTreeUtils$$(this).$hasPathStamp$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.hasPathStamp", {$hasPathStamp$:$AdfDhtmlTreeTablePeer$$.prototype.$hasPathStamp$});
function $JSCompiler_StaticMethods__getNodeStampCell$$($JSCompiler_StaticMethods__getNodeStampCell$self$$, $row$$137$$) {
  for (var $agent$$752_colCount$$11$$ = $AdfAgent$$.$AGENT$, $cells$$26_dataBody$$151$$ = $JSCompiler_StaticMethods__getNodeStampCell$self$$.$GetDataBody$(), $agent$$752_colCount$$11$$ = $agent$$752_colCount$$11$$.$getIntAttribute$($cells$$26_dataBody$$151$$, $AdfDhtmlTableBasePeer$$.$_COL_COUNT$, -1), $cells$$26_dataBody$$151$$ = $row$$137$$.cells, $agent$$752_colCount$$11$$ = 0 <= $agent$$752_colCount$$11$$ ? $agent$$752_colCount$$11$$ : $cells$$26_dataBody$$151$$.length, $i$$677$$ = 0;$i$$677$$ < 
  $agent$$752_colCount$$11$$;$i$$677$$++) {
    var $cell$$39$$ = 0 <= $JSCompiler_StaticMethods__getNodeStampCell$self$$.$_lastFrozen$ && $i$$677$$ > $JSCompiler_StaticMethods__getNodeStampCell$self$$.$_lastFrozen$ ? $JSCompiler_StaticMethods__getInnerTableCell$$($JSCompiler_StaticMethods__getNodeStampCell$self$$, $row$$137$$, $i$$677$$) : $cells$$26_dataBody$$151$$[$i$$677$$];
    if ($JSCompiler_StaticMethods__getNodeStampCell$self$$.$IsNodeStampCell$($cell$$39$$)) {
      return $cell$$39$$;
    }
  }
  return null;
}
$AdfDhtmlTreeTablePeer$$.prototype.$IsNodeStampCell$ = function $$AdfDhtmlTreeTablePeer$$$$$IsNodeStampCell$$($cell$$40$$) {
  return $AdfAgent$$.$AGENT$.getAttribute($cell$$40$$, $AdfDhtmlTreeTablePeer$$.$_NODE_STAMP_COLUMN$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.IsNodeStampCell", {$IsNodeStampCell$:$AdfDhtmlTreeTablePeer$$.prototype.$IsNodeStampCell$});
function $JSCompiler_StaticMethods__getDisclosureIconInCell$$($JSCompiler_StaticMethods__getDisclosureIconInCell$self$$, $cell$$41$$) {
  for (var $agent$$753$$ = $AdfAgent$$.$AGENT$, $spans$$ = $cell$$41$$.getElementsByTagName("SPAN"), $spanCount$$ = $spans$$.length, $i$$678$$ = 0;$i$$678$$ < $spanCount$$;$i$$678$$++) {
    if (void 0 != $agent$$753$$.getAttribute($spans$$[$i$$678$$], $AdfDhtmlTreeTablePeer$$.$_NODE_IMAGE_ATTR$)) {
      for (var $currentSpan$$ = $spans$$[$i$$678$$], $childCount$$31$$ = $currentSpan$$.childNodes.length, $j$$74$$ = 0;$j$$74$$ < $childCount$$31$$;$j$$74$$++) {
        var $icon$$21$$ = $currentSpan$$.childNodes[$j$$74$$];
        if (1 == $icon$$21$$.nodeType && $JSCompiler_StaticMethods__isDisclosure$$($JSCompiler_StaticMethods__getDisclosureIconInCell$self$$, $icon$$21$$)) {
          return $icon$$21$$;
        }
      }
    }
  }
  return null;
}
function $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$($JSCompiler_StaticMethods__getDisclosureImageFromRowKey$self$$, $rowKey$$140$$) {
  return document.getElementById($JSCompiler_StaticMethods__getDisclosureImageId$$($JSCompiler_StaticMethods__getDisclosureImageFromRowKey$self$$, $rowKey$$140$$));
}
function $JSCompiler_StaticMethods__getDisclosureImageId$$($JSCompiler_StaticMethods__getDisclosureImageId$self$$, $rowKey$$141$$) {
  var $idPrefix$$3$$ = $JSCompiler_StaticMethods__getDisclosureImageId$self$$.$getComponent$().$getClientId$() + ":" + $rowKey$$141$$;
  return $AdfRichUIPeer$$.$CreateSubId$($idPrefix$$3$$, $AdfDhtmlTreeTablePeer$$.$_DISCLOSURE_ICON_ID$);
}
$AdfDhtmlTreeTablePeer$$.prototype.$GetRowContextMenuId$ = function $$AdfDhtmlTreeTablePeer$$$$$GetRowContextMenuId$$($isFocusRow$$1_rowKey$$142$$) {
  var $component$$2291$$ = this.$getComponent$(), $isLeaf$$2_menuId$$7$$ = $component$$2291$$.getContextMenuId();
  if ($isLeaf$$2_menuId$$7$$) {
    return $isLeaf$$2_menuId$$7$$;
  }
  var $isLeaf$$2_menuId$$7$$ = this.$isLeaf$($isFocusRow$$1_rowKey$$142$$), $isExpanded$$11$$ = $component$$2291$$.$isPathExpanded$($isFocusRow$$1_rowKey$$142$$), $isMultiRoot$$1$$ = this.$isMultiRoot$(), $nodeDepth$$1$$ = this.$getDepth$($isFocusRow$$1_rowKey$$142$$), $treeUtils$$2$$ = $JSCompiler_StaticMethods__getTreeUtils$$(this);
  $isFocusRow$$1_rowKey$$142$$ = $isFocusRow$$1_rowKey$$142$$ == $component$$2291$$.getFocusRowKey();
  return $treeUtils$$2$$.$setupDefaultRowContextMenu$($isLeaf$$2_menuId$$7$$, $isExpanded$$11$$, $nodeDepth$$1$$, $isMultiRoot$$1$$, $isFocusRow$$1_rowKey$$142$$).$getClientId$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetRowContextMenuId", {$GetRowContextMenuId$:$AdfDhtmlTreeTablePeer$$.prototype.$GetRowContextMenuId$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleRowContextMenu$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleRowContextMenu$$($domEvent$$91$$, $rowKey$$143$$, $row$$138$$, $alignElement$$25$$, $alignHint$$5$$) {
  this.$_currency$ = $rowKey$$143$$;
  $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleRowContextMenu$.call(this, $domEvent$$91$$, $rowKey$$143$$, $row$$138$$, $alignElement$$25$$, $alignHint$$5$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleRowContextMenu", {$HandleRowContextMenu$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleRowContextMenu$});
$AdfDhtmlTreeTablePeer$$.prototype.$ContextMenuOpened$ = function $$AdfDhtmlTreeTablePeer$$$$$ContextMenuOpened$$() {
  var $component$$2292_isFocusRow$$2$$ = this.$getComponent$(), $currency$$2$$ = this.$_currency$, $treeUtils$$3$$ = $JSCompiler_StaticMethods__getTreeUtils$$(this);
  if ($currency$$2$$) {
    $treeUtils$$3$$.$addContextMenuEventListeners$();
    var $isLeaf$$3$$ = this.$isLeaf$($currency$$2$$), $isExpanded$$12$$ = $component$$2292_isFocusRow$$2$$.$isPathExpanded$($currency$$2$$), $isMultiRoot$$2$$ = this.$isMultiRoot$(), $nodeDepth$$2$$ = this.$getDepth$($currency$$2$$), $isContextMenuSelect$$ = $component$$2292_isFocusRow$$2$$.getContextMenuSelect(), $component$$2292_isFocusRow$$2$$ = $currency$$2$$ == $component$$2292_isFocusRow$$2$$.getFocusRowKey();
    $treeUtils$$3$$.$updateContextMenu$($isLeaf$$3$$, $isExpanded$$12$$, $nodeDepth$$2$$, $isMultiRoot$$2$$, $isContextMenuSelect$$, $component$$2292_isFocusRow$$2$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.ContextMenuOpened", {$ContextMenuOpened$:$AdfDhtmlTreeTablePeer$$.prototype.$ContextMenuOpened$});
$AdfDhtmlTreeTablePeer$$.prototype.$ContextMenuClosed$ = function $$AdfDhtmlTreeTablePeer$$$$$ContextMenuClosed$$() {
  $JSCompiler_StaticMethods__getTreeUtils$$(this).$clearCachedContextMenuItems$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.ContextMenuClosed", {$ContextMenuClosed$:$AdfDhtmlTreeTablePeer$$.prototype.$ContextMenuClosed$});
$AdfDhtmlTreeTablePeer$$.prototype.$__getCurrency$ = function $$AdfDhtmlTreeTablePeer$$$$$__getCurrency$$() {
  return this.$_currency$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.__getCurrency", {$__getCurrency$:$AdfDhtmlTreeTablePeer$$.prototype.$__getCurrency$});
$AdfDhtmlTreeTablePeer$$.prototype.$showAsTop$ = function $$AdfDhtmlTreeTablePeer$$$$$showAsTop$$($rowKey$$144$$) {
  var $component$$2293$$ = this.$getComponent$();
  $AdfFocusEvent$$.$queue$($component$$2293$$, $rowKey$$144$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.showAsTop", {$showAsTop$:$AdfDhtmlTreeTablePeer$$.prototype.$showAsTop$});
$AdfDhtmlTreeTablePeer$$.prototype.$goUp$ = function $$AdfDhtmlTreeTablePeer$$$$$goUp$$() {
  var $component$$2294$$ = this.$getComponent$();
  $AdfFocusEvent$$.$queue$($component$$2294$$, $AdfDhtmlTreeTablePeer$$.$_TREE_UP_MARKER$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.goUp", {$goUp$:$AdfDhtmlTreeTablePeer$$.prototype.$goUp$});
$AdfDhtmlTreeTablePeer$$.prototype.$discloseAll$ = function $$AdfDhtmlTreeTablePeer$$$$$discloseAll$$($rowKey$$145$$, $expand$$) {
  var $component$$2295_statusText$$6$$ = this.$getComponent$();
  $AdfDhtmlTableBasePeer$$.$SetCursor$(this.$GetDataBody$(), "wait");
  $expand$$ || $rowKey$$145$$ && 0 != $rowKey$$145$$.length || $component$$2295_statusText$$6$$.setProperty("scrollTopRowKey", null, !0, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
  $AdfTreeExpandAllEvent$$.$queue$($component$$2295_statusText$$6$$, $rowKey$$145$$, $expand$$);
  $component$$2295_statusText$$6$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("af_table.LABEL_FETCHING");
  this.$DisplayStatus$($component$$2295_statusText$$6$$, !0);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.discloseAll", {$discloseAll$:$AdfDhtmlTreeTablePeer$$.prototype.$discloseAll$});
$AdfDhtmlTreeTablePeer$$.prototype.$InsertActiveRow$ = function $$AdfDhtmlTreeTablePeer$$$$$InsertActiveRow$$($message$$92$$, $type$$194$$) {
  var $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = "insertAfter" != $type$$194$$, $insertRowKey$$2_rerender$$3$$ = "";
  this.$IsEmpty$ || (blocks = this.$GetDataBody$().childNodes);
  if (blocks && 0 < blocks.length) {
    var $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = -1, $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = 0, $insertRowKey$$2_rerender$$3$$ = $message$$92$$.rKey, $anchorKey$$1_last$$11_templateRow$$3$$ = $message$$92$$.iKey, $agent$$inline_4963_ancestorPath$$1_parentPath$$ = null;
    if ($anchorKey$$1_last$$11_templateRow$$3$$) {
      var $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ = this.$FindRowByKey$($anchorKey$$1_last$$11_templateRow$$3$$);
      if ($count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$) {
        if ("insertInside" == $type$$194$$) {
          if ($before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $anchorKey$$1_last$$11_templateRow$$3$$), this.$getComponent$().$isPathExpanded$($anchorKey$$1_last$$11_templateRow$$3$$)) {
            if ($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.index + 1, $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = $JSCompiler_StaticMethods__getNodeStampDepth$$(this, $anchorKey$$1_last$$11_templateRow$$3$$) + 1, $agent$$inline_4963_ancestorPath$$1_parentPath$$ = ($agent$$inline_4963_ancestorPath$$1_parentPath$$ = $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.$tr$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$)) ? 
            $agent$$inline_4963_ancestorPath$$1_parentPath$$ + $AdfDhtmlTreeTablePeer$$.$_KEY_PATH_SEPARATOR$ + $anchorKey$$1_last$$11_templateRow$$3$$ : $anchorKey$$1_last$$11_templateRow$$3$$, this.$isLeaf$($anchorKey$$1_last$$11_templateRow$$3$$)) {
              if ($before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$) {
                $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$, !0, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.$tr$);
              } else {
                if ($count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ = null, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = this.$FindRowByKey$($anchorKey$$1_last$$11_templateRow$$3$$), null != $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ && ($count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ = 
                $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.$tr$), null != $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ && ($before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $JSCompiler_StaticMethods__getNodeStampCell$$(this, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$), null != $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$)) {
                  for (var $currentSpan$$inline_4953_spans$$inline_4946$$ = $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.getElementsByTagName("SPAN"), $childCount$$inline_4954_spanCount$$inline_4947$$ = $currentSpan$$inline_4953_spans$$inline_4946$$.length, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), 
                  $agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$ = this.$GetIconStyleNames$(this.$getComponent$()), $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.getStyleClass($agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$.$leaf$), $agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$ = 
                  $AdfAgent$$.$AGENT$, $i$$inline_4952_icon$$inline_4956$$ = 0;$i$$inline_4952_icon$$inline_4956$$ < $childCount$$inline_4954_spanCount$$inline_4947$$;$i$$inline_4952_icon$$inline_4956$$++) {
                    if (void 0 != $agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$.getAttribute($currentSpan$$inline_4953_spans$$inline_4946$$[$i$$inline_4952_icon$$inline_4956$$], $AdfDhtmlTreeTablePeer$$.$_NODE_IMAGE_ATTR$)) {
                      $currentSpan$$inline_4953_spans$$inline_4946$$ = $currentSpan$$inline_4953_spans$$inline_4946$$[$i$$inline_4952_icon$$inline_4956$$];
                      $childCount$$inline_4954_spanCount$$inline_4947$$ = $currentSpan$$inline_4953_spans$$inline_4946$$.childNodes.length;
                      for ($agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$ = 0;$agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$ < $childCount$$inline_4954_spanCount$$inline_4947$$;$agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$++) {
                        if ($i$$inline_4952_icon$$inline_4956$$ = $currentSpan$$inline_4953_spans$$inline_4946$$.childNodes[$agent$$inline_4951_iconStyleNames$$inline_4949_j$$inline_4955$$], $i$$inline_4952_icon$$inline_4956$$.className && 0 <= $i$$inline_4952_icon$$inline_4956$$.className.indexOf($before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$)) {
                          $currentSpan$$inline_4953_spans$$inline_4946$$.removeChild($i$$inline_4952_icon$$inline_4956$$);
                          $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $currentSpan$$inline_4953_spans$$inline_4946$$.ownerDocument.createElement("a");
                          $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.id = $JSCompiler_StaticMethods__getDisclosureImageId$$(this, $anchorKey$$1_last$$11_templateRow$$3$$);
                          $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.onclick = "return false";
                          $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.href = "#";
                          $currentSpan$$inline_4953_spans$$inline_4946$$.appendChild($before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$);
                          $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$, !0, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$);
                          break;
                        }
                      }
                      break;
                    }
                  }
                }
              }
            }
          } else {
            $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ && $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$, !1, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.$tr$);
          }
        } else {
          $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = 0, this.$getComponent$().$isPathExpanded$($anchorKey$$1_last$$11_templateRow$$3$$) && ($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = $JSCompiler_StaticMethods__findChildList$$(this, $anchorKey$$1_last$$11_templateRow$$3$$, !1)) && ($childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$.count), $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ ? 
          $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.index : $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.index + 1 + $childCount$$32_insertLevel_level$$inline_4961_update$$3$$, $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = $JSCompiler_StaticMethods__getNodeStampDepth$$(this, $anchorKey$$1_last$$11_templateRow$$3$$), $agent$$inline_4963_ancestorPath$$1_parentPath$$ = $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$.$tr$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$)
          ;
        }
      }
    } else {
      $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ ? ($anchorKey$$1_last$$11_templateRow$$3$$ = blocks[blocks.length - 1], $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ = this.$GetRowCount$(), -1 != $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ && $anchorKey$$1_last$$11_templateRow$$3$$.$startRow$ + $anchorKey$$1_last$$11_templateRow$$3$$.$numRows$ == $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ && 
      ($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$)) : 0 == blocks[0].$startRow$ && ($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = 0);
    }
    -1 != $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ && this.$IsInsertAllowed$($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$) ? ($anchorKey$$1_last$$11_templateRow$$3$$ = this.$GetTemplateRow$(blocks), $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = this.$InsertClonedRow$($anchorKey$$1_last$$11_templateRow$$3$$, $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$, $insertRowKey$$2_rerender$$3$$), $agent$$inline_4963_ancestorPath$$1_parentPath$$ && $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$.setAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$, 
    $agent$$inline_4963_ancestorPath$$1_parentPath$$), $agent$$inline_4963_ancestorPath$$1_parentPath$$ = $AdfAgent$$.$AGENT$, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$ = $JSCompiler_StaticMethods__getNodeStampCell$$(this, $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$), $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$ = $JSCompiler_StaticMethods__getDisclosureIconInCell$$(this, $count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$), 
    $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.id = $JSCompiler_StaticMethods__getDisclosureImageId$$(this, $insertRowKey$$2_rerender$$3$$), $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$, !1, $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$), $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$ = 
    $before$$4_cell$$inline_4945_elem$$inline_4957_icon$$inline_4965_image$$9_info$$inline_4944_laf$$inline_4948_styleLeaf$$inline_4950$$.parentNode, "SPAN" == $insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$.tagName && (depth = $agent$$inline_4963_ancestorPath$$1_parentPath$$.setAttribute($insertAt$$3_listInfo$$2_span$$inline_4966_tr$$22$$, $AdfDhtmlTreeTablePeer$$.$NODE_DEPTH_ATTR$, $childCount$$32_insertLevel_level$$inline_4961_update$$3$$)), $AdfDhtmlTableBasePeer$$.$FindFirstChildByTagName$($count$$34_row$$inline_4943_rowInfo$$31_treeCell$$inline_4964$$, 
    "DIV").style.paddingLeft = $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ * $AdfDhtmlTreeTablePeer$$.$_INDENT_PADDING$ + "px", this.$InsertClonedComponents$($anchorKey$$1_last$$11_templateRow$$3$$, $insertRowKey$$2_rerender$$3$$), $insertRowKey$$2_rerender$$3$$ = this.$UpdateActiveRow$($message$$92$$).rerender) : $insertRowKey$$2_rerender$$3$$ = $AdfDhtmlTableBasePeer$$.$RERENDER_CONTAINER_CHILDREN$;
  } else {
    $insertRowKey$$2_rerender$$3$$ = $AdfDhtmlTableBasePeer$$.$RERENDER_CONTAINER$;
  }
  $childCount$$32_insertLevel_level$$inline_4961_update$$3$$ = this.$GetActiveRowText$($message$$92$$.rKey, $type$$194$$);
  return {rerender:$insertRowKey$$2_rerender$$3$$, updates:$childCount$$32_insertLevel_level$$inline_4961_update$$3$$};
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.InsertActiveRow", {$InsertActiveRow$:$AdfDhtmlTreeTablePeer$$.prototype.$InsertActiveRow$});
$AdfDhtmlTreeTablePeer$$.prototype.$RemoveActiveRow$ = function $$AdfDhtmlTreeTablePeer$$$$$RemoveActiveRow$$($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$) {
  if (this.$IsEmpty$) {
    return {rerender:!1, updates:""};
  }
  var $update$$4$$ = "", $deletedElems$$1_key$$108$$ = $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$.rKey;
  if ($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ = $JSCompiler_StaticMethods__findChildList$$(this, $deletedElems$$1_key$$108$$, !0)) {
    var $count$$35_info$$27$$ = this.$FindRowByKey$($deletedElems$$1_key$$108$$), $ancestorPath$$2_row$$140_rowKey$$147$$ = null;
    $count$$35_info$$27$$ && ($ancestorPath$$2_row$$140_rowKey$$147$$ = $count$$35_info$$27$$.$tr$, $update$$4$$ = this.$GetActiveRowText$($deletedElems$$1_key$$108$$, "remove"), $ancestorPath$$2_row$$140_rowKey$$147$$ = $ancestorPath$$2_row$$140_rowKey$$147$$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$));
    $count$$35_info$$27$$ = $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$.end - $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$.start + 1;
    $deletedElems$$1_key$$108$$ = [];
    this.$DeleteBlock$($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$.start, $count$$35_info$$27$$, $count$$35_info$$27$$, 0, $deletedElems$$1_key$$108$$);
    for ($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ = 0;$i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ < $deletedElems$$1_key$$108$$.length;$i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$++) {
      $AdfPage$$.$PAGE$.$removeComponentsInSubtree$($deletedElems$$1_key$$108$$[$i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$]);
    }
    null != $ancestorPath$$2_row$$140_rowKey$$147$$ && ($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ = $JSCompiler_StaticMethods__findParentRowByAncestorPath$$(this, $ancestorPath$$2_row$$140_rowKey$$147$$), null != $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ && ($ancestorPath$$2_row$$140_rowKey$$147$$ = $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$.getAttribute($AdfDhtmlTableBasePeer$$.$_ROW_KEY$), $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ = $JSCompiler_StaticMethods__findChildList$$(this, 
    $ancestorPath$$2_row$$140_rowKey$$147$$, !1), $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ || ($i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $ancestorPath$$2_row$$140_rowKey$$147$$), $JSCompiler_StaticMethods__setLeafIcon$$(this, $i$$680_image$$10_listInfo$$3_message$$93_parentRow$$4$$))));
  }
  return {rerender:"", updates:$update$$4$$};
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.RemoveActiveRow", {$RemoveActiveRow$:$AdfDhtmlTreeTablePeer$$.prototype.$RemoveActiveRow$});
function $JSCompiler_StaticMethods__findParentRowByAncestorPath$$($JSCompiler_StaticMethods__findParentRowByAncestorPath$self$$, $ancestorPath$$3$$) {
  var $row$$141$$ = null;
  if (null != $ancestorPath$$3$$) {
    var $results$$2_rowinfo$$ = $ancestorPath$$3$$.split($AdfDhtmlTreeTablePeer$$.$_KEY_PATH_SEPARATOR$);
    if ($results$$2_rowinfo$$ = $JSCompiler_StaticMethods__findParentRowByAncestorPath$self$$.$FindRowByKey$($results$$2_rowinfo$$[$results$$2_rowinfo$$.length - 1])) {
      $row$$141$$ = $results$$2_rowinfo$$.$tr$;
    }
  }
  return $row$$141$$;
}
function $JSCompiler_StaticMethods__getNodeStampDepth$$($JSCompiler_StaticMethods__getNodeStampDepth$self$$, $rowKey$$149$$) {
  var $agent$$755$$ = $AdfAgent$$.$AGENT$, $row$$142_spans$$2$$ = null, $info$$28_spanCount$$2$$ = $JSCompiler_StaticMethods__getNodeStampDepth$self$$.$FindRowByKey$($rowKey$$149$$);
  null != $info$$28_spanCount$$2$$ && ($row$$142_spans$$2$$ = $info$$28_spanCount$$2$$.$tr$);
  if (null != $row$$142_spans$$2$$) {
    for (var $row$$142_spans$$2$$ = $JSCompiler_StaticMethods__getNodeStampCell$$($JSCompiler_StaticMethods__getNodeStampDepth$self$$, $row$$142_spans$$2$$).getElementsByTagName("SPAN"), $info$$28_spanCount$$2$$ = $row$$142_spans$$2$$.length, $i$$681$$ = 0;$i$$681$$ < $info$$28_spanCount$$2$$;$i$$681$$++) {
      var $depth$$10$$ = $agent$$755$$.getAttribute($row$$142_spans$$2$$[$i$$681$$], $AdfDhtmlTreeTablePeer$$.$NODE_DEPTH_ATTR$, -1);
      if (void 0 != $depth$$10$$) {
        return parseInt($depth$$10$$, 10);
      }
    }
  }
}
function $JSCompiler_StaticMethods__findChildList$$($JSCompiler_StaticMethods__findChildList$self_blocks$$23$$, $parentKey$$1$$, $includeParent$$) {
  var $info$$29$$ = null;
  $JSCompiler_StaticMethods__findChildList$self_blocks$$23$$ = $JSCompiler_StaticMethods__findChildList$self_blocks$$23$$.$GetDataBody$().childNodes;
  for (var $startIndex$$19$$ = -1, $endIndex$$16$$ = -1, $withParent$$ = !1, $done$$ = !1, $childListHeight$$ = 0, $childCount$$34$$ = 0, $i$$682$$ = 0;$i$$682$$ < $JSCompiler_StaticMethods__findChildList$self_blocks$$23$$.length && !$done$$;$i$$682$$++) {
    for (var $block$$63$$ = $JSCompiler_StaticMethods__findChildList$self_blocks$$23$$[$i$$682$$], $rows$$57$$ = $block$$63$$.rows, $r$$24$$ = 0;$r$$24$$ < $rows$$57$$.length && !$done$$;$r$$24$$++) {
      var $tr$$24$$ = $rows$$57$$[$r$$24$$], $ancestorPath$$4_key$$109$$ = $tr$$24$$.getAttribute($AdfDhtmlTableBasePeer$$.$_ROW_KEY$), $index$$215$$ = $block$$63$$.$startRow$ + $r$$24$$;
      if ($ancestorPath$$4_key$$109$$ == $parentKey$$1$$) {
        $includeParent$$ && ($startIndex$$19$$ = $endIndex$$16$$ = $index$$215$$, $withParent$$ = !0, $childListHeight$$ += $tr$$24$$.offsetHeight);
      } else {
        var $ancestorPath$$4_key$$109$$ = $tr$$24$$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$), $matched$$3$$ = !1;
        $ancestorPath$$4_key$$109$$ && $ancestorPath$$4_key$$109$$.match(new RegExp("(^|_)" + $parentKey$$1$$ + "(_|$)")) && ($childListHeight$$ += $tr$$24$$.offsetHeight, $matched$$3$$ = !0, $endIndex$$16$$ = $index$$215$$, -1 == $startIndex$$19$$ && ($startIndex$$19$$ = $index$$215$$), $childCount$$34$$++);
        $matched$$3$$ || -1 == $startIndex$$19$$ || ($done$$ = !0);
      }
    }
  }
  -1 != $startIndex$$19$$ && ($info$$29$$ = {start:$startIndex$$19$$, end:$endIndex$$16$$, $hasParent$:$withParent$$, height:$childListHeight$$, count:$childCount$$34$$});
  return $info$$29$$;
}
$AdfDhtmlTreeTablePeer$$.prototype.$HandleExpand$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleExpand$$($node$$134$$, $size$$64$$, $remainingBlocks$$7$$) {
  var $key$$110_rowInfo$$32$$ = $AdfAgent$$.$AGENT$.getAttribute($node$$134$$, "_startKey");
  if ($key$$110_rowInfo$$32$$) {
    var $image$$11$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $key$$110_rowInfo$$32$$), $totalInserted$$3$$ = $AdfAgent$$.$AGENT$.$getIntAttribute$($node$$134$$, "totalInserted", 0);
    if (0 < $totalInserted$$3$$) {
      if ($key$$110_rowInfo$$32$$ = this.$FindRowByKey$($key$$110_rowInfo$$32$$)) {
        this.$InsertBlock$($node$$134$$, $key$$110_rowInfo$$32$$.index + 1, $size$$64$$, $totalInserted$$3$$, $remainingBlocks$$7$$), $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $image$$11$$, !0, $key$$110_rowInfo$$32$$.$tr$), this.$UpdateRange$(!1), this.$_expandBlockToAnimate$ = $node$$134$$;
      } else {
        return !1;
      }
    } else {
      $JSCompiler_StaticMethods__setLeafIcon$$(this, $image$$11$$);
    }
  }
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleExpand", {$HandleExpand$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleExpand$});
$AdfDhtmlTreeTablePeer$$.prototype.$BlockInserted$ = function $$AdfDhtmlTreeTablePeer$$$$$BlockInserted$$() {
  var $pcPeer$$7$$ = this.$GetPanelCollectionPeer$();
  $pcPeer$$7$$ && $pcPeer$$7$$.$updateRowSelectionContext$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.BlockInserted", {$BlockInserted$:$AdfDhtmlTreeTablePeer$$.prototype.$BlockInserted$});
$AdfDhtmlTreeTablePeer$$.prototype.$BlockDeleted$ = function $$AdfDhtmlTreeTablePeer$$$$$BlockDeleted$$() {
  var $pcPeer$$8$$ = this.$GetPanelCollectionPeer$();
  $pcPeer$$8$$ && $pcPeer$$8$$.$updateRowSelectionContext$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.BlockDeleted", {$BlockDeleted$:$AdfDhtmlTreeTablePeer$$.prototype.$BlockDeleted$});
$AdfDhtmlTreeTablePeer$$.prototype.$FetchCompleted$ = function $$AdfDhtmlTreeTablePeer$$$$$FetchCompleted$$() {
  var $expandBlock$$ = this.$_expandBlockToAnimate$;
  this.$_expandBlockToAnimate$ = null;
  if (null != $expandBlock$$ && !this.$IsFetchPending$()) {
    var $animDuration$$19_animDuration$$inline_4970$$ = 0;
    $AdfPage$$.$PAGE$.$isAnimationEnabled$() && !this.$isHeightAutoSized$() && ($animDuration$$19_animDuration$$inline_4970$$ = this.$GetDisclosureAnimationDuration$());
    if (0 < $animDuration$$19_animDuration$$inline_4970$$) {
      var $wrapper$$inline_4971$$ = $expandBlock$$.ownerDocument.createElement("div"), $wrapperStyle$$inline_4972$$ = $wrapper$$inline_4971$$.style, $finalHeight$$inline_4973$$ = $expandBlock$$.offsetHeight;
      this.$SetAnimating$(!0);
      $wrapperStyle$$inline_4972$$.overflow = "hidden";
      $wrapperStyle$$inline_4972$$.position = "relative";
      $wrapperStyle$$inline_4972$$.height = "1px";
      $expandBlock$$.parentNode.replaceChild($wrapper$$inline_4971$$, $expandBlock$$);
      $wrapper$$inline_4971$$.appendChild($expandBlock$$);
      this.$SetNewBlockScrollLeft$($expandBlock$$);
      this.$_insertDeleteAnimationInEffect$ = !0;
      $AdfDhtmlElementAnimator$animate$$(3, $animDuration$$19_animDuration$$inline_4970$$, [{element:$wrapper$$inline_4971$$, $properties$:{height:$finalHeight$$inline_4973$$}}], null, $AdfDhtmlTreeTablePeer$$.$_insertBlockAnimationComplete$, {$wrapper$:$wrapper$$inline_4971$$, $peer$:this});
    } else {
      this.$AdjustAutoHeight$();
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.FetchCompleted", {$FetchCompleted$:$AdfDhtmlTreeTablePeer$$.prototype.$FetchCompleted$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetDisclosureAnimationDuration$ = function $$AdfDhtmlTreeTablePeer$$$$$GetDisclosureAnimationDuration$$() {
  return parseInt($AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|treeTable-tr-node-disclosure-animation-duration"));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetDisclosureAnimationDuration", {$GetDisclosureAnimationDuration$:$AdfDhtmlTreeTablePeer$$.prototype.$GetDisclosureAnimationDuration$});
$AdfDhtmlTreeTablePeer$$.$_insertBlockAnimationComplete$ = function $$AdfDhtmlTreeTablePeer$$$$_insertBlockAnimationComplete$$($callbackObj$$2_peer$$186$$) {
  var $wrapper$$30$$ = $callbackObj$$2_peer$$186$$.$wrapper$;
  $callbackObj$$2_peer$$186$$ = $callbackObj$$2_peer$$186$$.$peer$;
  var $newBlock$$6$$ = $wrapper$$30$$.firstChild;
  $wrapper$$30$$.parentNode.replaceChild($newBlock$$6$$, $wrapper$$30$$);
  $callbackObj$$2_peer$$186$$.$_insertDeleteAnimationInEffect$ = !1;
  $callbackObj$$2_peer$$186$$ && ($callbackObj$$2_peer$$186$$.$SetNewBlockScrollLeft$($newBlock$$6$$), $callbackObj$$2_peer$$186$$.$SetAnimating$(!1), $callbackObj$$2_peer$$186$$.$delayedResizeNotify$ && ($callbackObj$$2_peer$$186$$.$delayedResizeNotify$(), $callbackObj$$2_peer$$186$$.$delayedResizeNotify$ = null), $callbackObj$$2_peer$$186$$.$AdjustAutoHeight$());
};
$AdfDhtmlTreeTablePeer$$.prototype.$HandleCollapse$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleCollapse$$($b$$9_node$$136_rows$$inline_4996$$, $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$, $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$) {
  var $agent$$758$$ = $AdfAgent$$.$AGENT$, $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ = $agent$$758$$.$getIntAttribute$($b$$9_node$$136_rows$$inline_4996$$, "totalRemoved", 0), $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $b$$9_node$$136_rows$$inline_4996$$.getAttribute("_parentKey"), $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = 
  null;
  $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ && ($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = $JSCompiler_StaticMethods__findChildList$$(this, $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$, !0));
  if ($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ && $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.$hasParent$) {
    var $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$), $childStart_ownerDoc$$inline_4979_parentRowInfo$$ = this.$FindRowByKey$($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$);
    $JSCompiler_StaticMethods__setDisclosureIcon$$(this, $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$, !1, $childStart_ownerDoc$$inline_4979_parentRowInfo$$ ? $childStart_ownerDoc$$inline_4979_parentRowInfo$$.$tr$ : null);
    $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ = $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.start;
    $childStart_ownerDoc$$inline_4979_parentRowInfo$$ = $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ + 1;
    if ($childStart_ownerDoc$$inline_4979_parentRowInfo$$ > $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.end) {
      return !1;
    }
    var $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.end - $childStart_ownerDoc$$inline_4979_parentRowInfo$$ + 1, $elem$$inline_4985_rowCountDelta$$4$$ = $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$, $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ = this.$GetRowCount$(), $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ = 
    $agent$$758$$.$getIntAttribute$($b$$9_node$$136_rows$$inline_4996$$, "_rowCount", -1);
    -1 != $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ && -1 != $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ && ($elem$$inline_4985_rowCountDelta$$4$$ = $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ - $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$);
    var $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ = 0, $cellCount$$inline_4988_deletedElems$$2$$ = null;
    $AdfPage$$.$PAGE$.$isAnimationEnabled$() && !this.$isHeightAutoSized$() && ($animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ = this.$GetDisclosureAnimationDuration$());
    0 < $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ && ($cellCount$$inline_4988_deletedElems$$2$$ = [], $cellCount$$inline_4988_deletedElems$$2$$.$totalHeight$ = 0);
    this.$DeleteBlock$($childStart_ownerDoc$$inline_4979_parentRowInfo$$, $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$, $elem$$inline_4985_rowCountDelta$$4$$, $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$, $cellCount$$inline_4988_deletedElems$$2$$);
    if ($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ != $elem$$inline_4985_rowCountDelta$$4$$) {
      $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$ -= $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$, 0 != $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$ && this.$ShiftIndex$(this.$GetDataBody$().firstChild, $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$, !0), this.$IsReceivingActiveEvents$() || ($childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$ = this.$GetDataBody$(), $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = 
      $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.firstChild, (0 > $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.$startRow$ || 0 == $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.$startRow$ && 0 > $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$) && this.$RemoveAllBlocks$($childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$), 
      -1 != $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ && ($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.lastChild, $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.$startRow$ + 
      $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.$numRows$, ($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ > $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ || $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ == $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ && 
      0 < $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$) && this.$RemoveAllBlocks$($childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$)));
    } else {
      if (0 < $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$) {
        disclosedRow = this.$FindRowByKey$($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$).$tr$;
        $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $cellCount$$inline_4988_deletedElems$$2$$;
        $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ = $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$;
        $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ = disclosedRow;
        this.$SetAnimating$(!0);
        $childStart_ownerDoc$$inline_4979_parentRowInfo$$ = $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.ownerDocument;
        $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$ = $childStart_ownerDoc$$inline_4979_parentRowInfo$$.createElement("tr");
        $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$ = $childStart_ownerDoc$$inline_4979_parentRowInfo$$.createElement("div");
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.style;
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.overflow = "hidden";
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.height = $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.$totalHeight$ + "px";
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.position = "relative";
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = $childStart_ownerDoc$$inline_4979_parentRowInfo$$.createElement("td");
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.style.padding = "0px";
        $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$.appendChild($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$);
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.appendChild($childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$);
        $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.colSpan = $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.cells.length;
        for ($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = null;0 < $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.length;) {
          if ($elem$$inline_4985_rowCountDelta$$4$$ = $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.pop(), "TR" == $elem$$inline_4985_rowCountDelta$$4$$.tagName) {
            if (null == $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$) {
              $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ = $childStart_ownerDoc$$inline_4979_parentRowInfo$$.createElement("table");
              $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$.cellSpacing = $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$.cellPadding = 0;
              $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$.style.cssText = $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.parentNode.parentNode.style.cssText;
              $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = $childStart_ownerDoc$$inline_4979_parentRowInfo$$.createElement("tbody");
              $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$.appendChild($childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$);
              $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.appendChild($animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$);
              for (var $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$ = $elem$$inline_4985_rowCountDelta$$4$$.cells, $cellCount$$inline_4988_deletedElems$$2$$ = $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$.length, $targetCells$$inline_4989$$ = $AdfDomUtils$$.$getFirstChildElement$($i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.parentNode).cells, $c$$inline_4990$$ = 0;$c$$inline_4990$$ < $cellCount$$inline_4988_deletedElems$$2$$;$c$$inline_4990$$++) {
                $animDuration$$21_cells$$inline_4987_oldCount$$3_tableElem$$inline_4986$$[$c$$inline_4990$$].style.width = $targetCells$$inline_4989$$[$c$$inline_4990$$].style.width;
              }
            }
            $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$.appendChild($elem$$inline_4985_rowCountDelta$$4$$);
          } else {
            $childCell$$inline_4983_childDivStyle$$inline_4982_foundCount_listInfo$$4_wrapperTbody$$inline_4984$$ = null, $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.appendChild($elem$$inline_4985_rowCountDelta$$4$$);
          }
        }
        $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.nextSibling ? $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.parentNode.insertBefore($count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$, $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.nextSibling) : $i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$.parentNode.appendChild($count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$);
        $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.childNodes.length;
        for ($i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ = 0;$i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$ < $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$;$i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$++) {
          this.$SetNewBlockScrollLeft$($childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$.childNodes[$i$$inline_4992_image$$12_parentRow$$inline_4978_parentStart$$]);
        }
        this.$_insertDeleteAnimationInEffect$ = !0;
        $AdfDhtmlElementAnimator$animate$$(3, $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$, [{element:$childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$, $properties$:{height:0}}], null, $AdfDhtmlTableBasePeer$$.$CollapseAnimationComplete$, {$wrapper$:$count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$, $peer$:this});
      }
    }
    $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$ = [];
    if ("TABLE" == $b$$9_node$$136_rows$$inline_4996$$.tagName) {
      for ($b$$9_node$$136_rows$$inline_4996$$ = $b$$9_node$$136_rows$$inline_4996$$.rows, $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$ = $b$$9_node$$136_rows$$inline_4996$$.length, $childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$ = 0;$childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$ < $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$;$childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$++) {
        var $block$$inline_4999_count$$37$$, $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$ = $b$$9_node$$136_rows$$inline_4996$$[$childDiv$$inline_4981_dataBody$$153_r$$inline_4998_remainingBlocks$$8$$].cells;
        0 < $cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$.length && null != ($block$$inline_4999_count$$37$$ = $AdfDhtmlTableBasePeer$$.$FindFirstChildByTagName$($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$[0], "TABLE")) && ($cells$$inline_5000_childCount$$inline_4991_deletedElems$$inline_4976_firstBlock$$14_lastBlock$$12_lastCount_parentKey$$2$$[0].removeChild($block$$inline_4999_count$$37$$), 
        $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$.push($block$$inline_4999_count$$37$$));
      }
    }
    $block$$inline_4999_count$$37$$ = $animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$.length;
    for ($b$$9_node$$136_rows$$inline_4996$$ = 0;$b$$9_node$$136_rows$$inline_4996$$ < $block$$inline_4999_count$$37$$;$b$$9_node$$136_rows$$inline_4996$$++) {
      $count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$ = $agent$$758$$.getAttribute($animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$[$b$$9_node$$136_rows$$inline_4996$$], "_startKey"), this.$FindRowByKey$($count$$inline_4997_indexShift$$2_key$$111_start$$34_wrapper$$inline_4980$$) && (this.$_handleDataCallback$($animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$[$b$$9_node$$136_rows$$inline_4996$$], $AdfTableDataFetchEvent$$.$AFTER_KEY_SUBTYPE$, 
      !0, 0), $agent$$758$$.$elementsAdded$($animDuration$$inline_4977_blocks$$inline_4995_newCount$$2_totalRemoved$$1$$[$b$$9_node$$136_rows$$inline_4996$$]));
    }
    this.$UpdateRange$(!1);
  }
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleCollapse", {$HandleCollapse$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleCollapse$});
$AdfDhtmlTreeTablePeer$$.prototype.$HandleTableBodyArrowLeftRight$ = function $$AdfDhtmlTreeTablePeer$$$$$HandleTableBodyArrowLeftRight$$($arrowLeft$$2$$, $ctrlKey$$6_lastRowKey$$6$$, $component$$2296_shiftKey$$7$$) {
  $AdfDhtmlTreeTablePeer$$.$superclass$.$HandleTableBodyArrowLeftRight$.call(this, $arrowLeft$$2$$, $ctrlKey$$6_lastRowKey$$6$$, $component$$2296_shiftKey$$7$$);
  !$ctrlKey$$6_lastRowKey$$6$$ || this.$isDisclosureFetchPending$() || this.$BusyAnimating$() || ($ctrlKey$$6_lastRowKey$$6$$ = this.$GetLastRowKey$(), null != $ctrlKey$$6_lastRowKey$$6$$ && (this.$scrollToPos$(0, -1), $component$$2296_shiftKey$$7$$ = this.$getComponent$(), (isLeafNode = this.$isLeaf$($ctrlKey$$6_lastRowKey$$6$$)) || $component$$2296_shiftKey$$7$$.$setDisclosedRowKey$($ctrlKey$$6_lastRowKey$$6$$, !$arrowLeft$$2$$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.HandleTableBodyArrowLeftRight", {$HandleTableBodyArrowLeftRight$:$AdfDhtmlTreeTablePeer$$.prototype.$HandleTableBodyArrowLeftRight$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetIconNames$ = function $$AdfDhtmlTreeTablePeer$$$$$GetIconNames$$() {
  var $iconNames$$5$$ = {};
  $iconNames$$5$$.$expanded$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_EXPANDED$;
  $iconNames$$5$$.collapsed = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_COLLAPSED$;
  $iconNames$$5$$.$anim$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_ANIM$;
  $iconNames$$5$$.$leaf$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_LEAF$;
  return $iconNames$$5$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetIconNames", {$GetIconNames$:$AdfDhtmlTreeTablePeer$$.prototype.$GetIconNames$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetIconStyleNames$ = function $$AdfDhtmlTreeTablePeer$$$$$GetIconStyleNames$$() {
  var $iconNames$$6$$ = {};
  $iconNames$$6$$.$expanded$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_STYLE_EXPANDED$;
  $iconNames$$6$$.collapsed = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_STYLE_COLLAPSED$;
  $iconNames$$6$$.$anim$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_STYLE_ANIM$;
  $iconNames$$6$$.$leaf$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_STYLE_LEAF$;
  $iconNames$$6$$.$selector$ = $AdfDhtmlTreeTablePeer$$.$_TREE_TABLE_ICON_STYLE_SELECTOR$;
  return $iconNames$$6$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetIconStyleNames", {$GetIconStyleNames$:$AdfDhtmlTreeTablePeer$$.prototype.$GetIconStyleNames$});
function $JSCompiler_StaticMethods__getTreeUtils$$($JSCompiler_StaticMethods__getTreeUtils$self$$) {
  $JSCompiler_StaticMethods__getTreeUtils$self$$.$_treeUtils$ || ($JSCompiler_StaticMethods__getTreeUtils$self$$.$_treeUtils$ = new $AdfTreeUtils$$($JSCompiler_StaticMethods__getTreeUtils$self$$));
  return $JSCompiler_StaticMethods__getTreeUtils$self$$.$_treeUtils$;
}
$AdfDhtmlTreeTablePeer$$.prototype.$RegisterFirstPropertyChange$ = function $$AdfDhtmlTreeTablePeer$$$$$RegisterFirstPropertyChange$$() {
  $AdfRichUIPeer$$.$addComponentPropertyChanges$($AdfDhtmlTreeTablePeer$$, $AdfDhtmlTreeTablePeer$$.$_FIRST_VISIBLE_KEY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.RegisterFirstPropertyChange", {$RegisterFirstPropertyChange$:$AdfDhtmlTreeTablePeer$$.prototype.$RegisterFirstPropertyChange$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetFirst$ = function $$AdfDhtmlTreeTablePeer$$$$$GetFirst$$() {
  return this.$getComponent$().$getProperty$($AdfDhtmlTreeTablePeer$$.$_FIRST_VISIBLE_KEY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetFirst", {$GetFirst$:$AdfDhtmlTreeTablePeer$$.prototype.$GetFirst$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetRows$ = function $$AdfDhtmlTreeTablePeer$$$$$GetRows$$() {
  return this.$getComponent$().$getProperty$($AdfDhtmlTreeTablePeer$$.$_VISIBLE_ROWS_KEY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetRows", {$GetRows$:$AdfDhtmlTreeTablePeer$$.prototype.$GetRows$});
$AdfDhtmlTreeTablePeer$$.prototype.$Component_afrFstVblChanged$ = function $$AdfDhtmlTreeTablePeer$$$$$Component_afrFstVblChanged$$($component$$2300$$, $domElement$$577$$, $newValue$$176$$, $oldValue$$111$$) {
  $AdfPage$$.$PAGE$.$addPartialTargets$($component$$2300$$);
  this.$QueueRangeChangeEvent$($oldValue$$111$$, $newValue$$176$$);
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.Component_afrFstVblChanged", {$Component_afrFstVblChanged$:$AdfDhtmlTreeTablePeer$$.prototype.$Component_afrFstVblChanged$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetRowHeaderText$ = function $$AdfDhtmlTreeTablePeer$$$$$GetRowHeaderText$$($td$$13$$, $table$$71$$) {
  try {
    var $row$$143$$ = this.$GetRowKeyAndRow$($td$$13$$, $table$$71$$)[1];
    return $JSCompiler_StaticMethods__getNodeStampCell$$(this, $row$$143$$).textContent;
  } catch ($err$$11$$) {
    return $AdfLogger$$.$LOGGER$.fine("Exception while trying to get node stamp text for the active row" + $err$$11$$), "";
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetRowHeaderText", {$GetRowHeaderText$:$AdfDhtmlTreeTablePeer$$.prototype.$GetRowHeaderText$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetActiveDataAnnouncementKey$ = function $$AdfDhtmlTreeTablePeer$$$$$GetActiveDataAnnouncementKey$$($type$$195$$) {
  return $AdfDhtmlTreeTablePeer$$.$msgMap$[$type$$195$$] || "AFActiveDataTreeTableRowInsert";
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetActiveDataAnnouncementKey", {$GetActiveDataAnnouncementKey$:$AdfDhtmlTreeTablePeer$$.prototype.$GetActiveDataAnnouncementKey$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetParentRowNodeText$ = function $$AdfDhtmlTreeTablePeer$$$$$GetParentRowNodeText$$($row$$144$$) {
  try {
    var $ancestorPath$$5$$ = $row$$144$$.getAttribute($AdfDhtmlTreeTablePeer$$.$_CLIENT_ANCESTOR_PATH$), $parentRow$$6$$ = $JSCompiler_StaticMethods__findParentRowByAncestorPath$$(this, $ancestorPath$$5$$);
    return $JSCompiler_StaticMethods__getNodeStampCell$$(this, $parentRow$$6$$).textContent;
  } catch ($err$$12$$) {
    return $AdfLogger$$.$LOGGER$.fine("Exception while trying to get the text for the parent row of the active row" + $err$$12$$), "";
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetParentRowNodeText", {$GetParentRowNodeText$:$AdfDhtmlTreeTablePeer$$.prototype.$GetParentRowNodeText$});
$AdfDhtmlTreeTablePeer$$.prototype.$GetRowText$ = function $$AdfDhtmlTreeTablePeer$$$$$GetRowText$$($i$$684_rowKey$$151$$, $table$$72$$, $agent$$759$$) {
  var $text$$48$$ = "";
  try {
    var $tr$$25$$ = this.$FindRowByKey$($i$$684_rowKey$$151$$).$tr$, $cells$$29$$ = $tr$$25$$.cells;
    if (this.$IsWholeRowRead$($table$$72$$, $agent$$759$$)) {
      var $length$$87$$ = $cells$$29$$.length;
      for ($i$$684_rowKey$$151$$ = 0;$i$$684_rowKey$$151$$ < $length$$87$$;$i$$684_rowKey$$151$$++) {
        $text$$48$$ = $text$$48$$ + $cells$$29$$[$i$$684_rowKey$$151$$].textContent + " ";
      }
    } else {
      $text$$48$$ = $JSCompiler_StaticMethods__getNodeStampCell$$(this, $tr$$25$$).textContent;
    }
    var $text$$48$$ = $text$$48$$.trim(), $parent$$73$$ = this.$GetParentRowNodeText$($tr$$25$$);
    if ("" !== $parent$$73$$) {
      var $parentMsg$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$("AFActiveDataTreeTableParent"), $text$$48$$ = TrFastMessageFormatUtils.format($parentMsg$$1$$, $parent$$73$$, $text$$48$$)
    }
    return $text$$48$$;
  } catch ($err$$13$$) {
    return $AdfLogger$$.$LOGGER$.fine("Exception while trying to get the node text for the active data row" + $err$$13$$), $text$$48$$;
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlTreeTablePeer.prototype.GetRowText", {$GetRowText$:$AdfDhtmlTreeTablePeer$$.prototype.$GetRowText$});
$AdfDhtmlTreeTablePeer$$.prototype.$_handleEnterKey$ = function $$AdfDhtmlTreeTablePeer$$$$$_handleEnterKey$$($eventTarget$$99$$, $domEvent$$92$$) {
  if ($AdfDhtmlTreeTablePeer$$.$superclass$.$_handleEnterKey$.call(this, $eventTarget$$99$$, $domEvent$$92$$) && this.$_focusManager$.$objectType$ == $AdfDhtmlTableBasePeer$$.$_TABLE_BODY_FOCUS_TYPE$) {
    var $activeRowKey$$3_imageElem$$4_imageId$$ = this.$GetFocusedRowKey$();
    if (null != $activeRowKey$$3_imageElem$$4_imageId$$) {
      var $target$$222$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($domEvent$$92$$), $activeRowKey$$3_imageElem$$4_imageId$$ = $JSCompiler_StaticMethods__getDisclosureImageFromRowKey$$(this, $activeRowKey$$3_imageElem$$4_imageId$$);
      null != $activeRowKey$$3_imageElem$$4_imageId$$ && ($activeRowKey$$3_imageElem$$4_imageId$$ = this.$_getDisclosureIcon$($activeRowKey$$3_imageElem$$4_imageId$$), null != $activeRowKey$$3_imageElem$$4_imageId$$ && $AdfDomUtils$$.$isAncestor$($target$$222$$, $activeRowKey$$3_imageElem$$4_imageId$$) && this.$HandleDisclosure$($eventTarget$$99$$));
    }
  }
};
$AdfDhtmlTreeTablePeer$$.$msgMap$ = {update:"AFActiveDataTreeTableRowUpdate", remove:"AFActiveDataTreeTableRowDelete"};
$goog$exportSymbol$$("AdfDhtmlTreeTablePeer.msgMap", $AdfDhtmlTreeTablePeer$$.$msgMap$);
