var AdfDhtmlPivotTablePeer = AdfRichUIPeer.createPeerClass(AdfRichUIPeer, "AdfDhtmlPivotTablePeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer", AdfDhtmlPivotTablePeer);
AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.pivotTable.PivotTable", "AdfDhtmlPivotTablePeer");
AdfDhtmlPivotTablePeer.InitSubclass = function $AdfDhtmlPivotTablePeer$InitSubclass$() {
  AdfRichUIPeer.addDomEventHandlers(this, "change");
  AdfRichUIPeer.addComponentEventHandlers(this, AdfUIInputEvent.CLICK_EVENT_TYPE, AdfUIInputEvent.MOUSE_DOWN_EVENT_TYPE, AdfUIInputEvent.KEY_DOWN_EVENT_TYPE, AdfUIInputEvent.KEY_UP_EVENT_TYPE, AdfComponentEvent.FOCUS_EVENT_TYPE, AdfComponentEvent.BLUR_EVENT_TYPE, AdfUIInputEvent.DOUBLE_CLICK_EVENT_TYPE, AdfUIInputEvent.MOUSE_OUT_EVENT_TYPE, AdfUIInputEvent.MOUSE_IN_EVENT_TYPE, AdfComponentEvent.CONTEXT_MENU_EVENT_TYPE, AdfActionEvent.ACTION_EVENT_TYPE, AdfDialogEvent.EVENT_TYPE, AdfPopupOpeningEvent.POPUP_OPENING_EVENT_TYPE, 
  AdfPopupClosedEvent.POPUP_CLOSED_EVENT_TYPE);
  AdfObject.ensureClassInitialization(AdfDhtmlPivotTablePeer);
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "splitRow");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "splitColumn");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "startRow");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "startColumn");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "secondStartRow");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "secondStartColumn");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "startRowPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "startColumnPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "secondStartRowPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "secondStartColumnPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "rowHeaderStartLayer");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "columnHeaderStartLayer");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "rowHeaderStartPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "columnHeaderStartPixel");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "_sizeOverrides");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "selection");
  AdfRichUIPeer.addSuppressedPPRAttributes(this, "activeCellKey");
  this.$ROW_HEADER_COMPONENT$ = "0";
  this.$COLUMN_HEADER_COMPONENT$ = "1";
  this.$DATABODY_COMPONENT$ = "2";
  this.$PARTIAL$ = "partial";
  this.$STATE_NORMAL$ = 0;
  this.$STATE_CONTEXT_MENU$ = 1;
  this.$STATE_DIALOG$ = 2;
  this.$STATE_STAMP_POPUP$ = 3;
  this.$PIVOT_BEFOREAFTER_MARGIN$ = 5;
  this.$COLUMN_RESIZE_MARGIN$ = 3;
  this.$ROW_RESIZE_MARGIN$ = 1;
  AdfPivotTableUtils.$isMobileTouchDevice$() ? this.$MIN_COL_HEADER_HEIGHT$ = this.$MIN_ROW_HEADER_WIDTH$ = this.$MIN_ROW_HEIGHT$ = this.$MIN_COLUMN_WIDTH$ = 22 : this.$MIN_COL_HEADER_HEIGHT$ = this.$MIN_ROW_HEADER_WIDTH$ = this.$MIN_ROW_HEIGHT$ = this.$MIN_COLUMN_WIDTH$ = 10;
  this.$_INPUT_REGEXP$ = /^INPUT|SELECT|OPTION|BUTTON|^A\b|TEXTAREA/;
  this.$_DIGIT_REGEXP$ = /\d+/g;
  this.$_WHITESPACE_REGEXP$ = /\s+/g;
  this.$ORIGINAL_COLOR$ = "_oc";
  this.$BACKGROUND_COLOR_NEEDS_RESTORING$ = "_bc";
  this.$_NAMED_COLOR_MAP$ = {$ALICEBLUE$:"#F0F8FF", $ANTIQUEWHITE$:"#FAEBD7", $AQUA$:"#00FFFF", $AQUAMARINE$:"#7FFFD4", $AZURE$:"#F0FFFF", $BEIGE$:"#F5F5DC", $BISQUE$:"#FFE4C4", $BLACK$:"#000000", $BLANCHEDALMOND$:"#FFEBCD", $BLUE$:"#0000FF", $BLUEVIOLET$:"#8A2BE2", $BROWN$:"#A52A2A", $BURLYWOOD$:"#DEB887", $CADETBLUE$:"#5F9EA0", $CHARTREUSE$:"#7FFF00", $CHOCOLATE$:"#D2691E", $CORAL$:"#FF7F50", $CORNFLOWERBLUE$:"#6495ED", $CORNSILK$:"#FFF8DC", $CRIMSON$:"#DC143C", $CYAN$:"#00FFFF", $DARKBLUE$:"#00008B", 
  $DARKCYAN$:"#008B8B", $DARKGOLDENROD$:"#B8860B", $DARKGRAY$:"#A9A9A9", $DARKGREEN$:"#006400", $DARKKHAKI$:"#BDB76B", $DARKMAGENTA$:"#8B008B", $DARKOLIVEGREEN$:"#556B2F", $DARKORANGE$:"#FF8C00", $DARKORCHID$:"#9932CC", $DARKRED$:"#8B0000", $DARKSALMON$:"#E9967A", $DARKSEAGREEN$:"#8FBC8F", $DARKSLATEBLUE$:"#483D8B", $DARKSLATEGRAY$:"#2F4F4F", $DARKTURQUOISE$:"#00CED1", $DARKVIOLET$:"#9400D3", $DEEPPINK$:"#FF1493", $DEEPSKYBLUE$:"#00BFFF", $DIMGRAY$:"#696969", $DODGERBLUE$:"#1E90FF", $FIREBRICK$:"#B22222", 
  $FLORALWHITE$:"#FFFAF0", $FORESTGREEN$:"#228B22", $FUCHSIA$:"#FF00FF", $GAINSBORO$:"#DCDCDC", $GHOSTWHITE$:"#F8F8FF", $GOLD$:"#FFD700", $GOLDENROD$:"#DAA520", $GRAY$:"#808080", $GREEN$:"#008000", $GREENYELLOW$:"#ADFF2F", $HONEYDEW$:"#F0FFF0", $HOTPINK$:"#FF69B4", $INDIANRED$:"#CD5C5C", $INDIGO$:"#4B0082", $IVORY$:"#FFFFF0", $KHAKI$:"#F0E68C", $LAVENDER$:"#E6E6FA", $LAVENDERBLUSH$:"#FFF0F5", $LAWNGREEN$:"#7CFC00", $LEMONCHIFFON$:"#FFFACD", $LIGHTBLUE$:"#ADD8E6", $LIGHTCORAL$:"#F08080", $LIGHTCYAN$:"#E0FFFF", 
  $LIGHTGOLDENRODYELLOW$:"#FAFAD2", $LIGHTGREY$:"#D3D3D3", $LIGHTGREEN$:"#90EE90", $LIGHTPINK$:"#FFB6C1", $LIGHTSALMON$:"#FFA07A", $LIGHTSEAGREEN$:"#20B2AA", $LIGHTSKYBLUE$:"#87CEFA", $LIGHTSLATEGRAY$:"#778899", $LIGHTSTEELBLUE$:"#B0C4DE", $LIGHTYELLOW$:"#FFFFE0", $LIME$:"#00FF00", $LIMEGREEN$:"#32CD32", $LINEN$:"#FAF0E6", $MAGENTA$:"#FF00FF", $MAROON$:"#800000", $MEDIUMAQUAMARINE$:"#66CDAA", $MEDIUMBLUE$:"#0000CD", $MEDIUMORCHID$:"#BA55D3", $MEDIUMPURPLE$:"#9370D8", $MEDIUMSEAGREEN$:"#3CB371", $MEDIUMSLATEBLUE$:"#7B68EE", 
  $MEDIUMSPRINGGREEN$:"#00FA9A", $MEDIUMTURQUOISE$:"#48D1CC", $MEDIUMVIOLETRED$:"#C71585", $MIDNIGHTBLUE$:"#191970", $MINTCREAM$:"#F5FFFA", $MISTYROSE$:"#FFE4E1", $MOCCASIN$:"#FFE4B5", $NAVAJOWHITE$:"#FFDEAD", $NAVY$:"#000080", $OLDLACE$:"#FDF5E6", $OLIVE$:"#808000", $OLIVEDRAB$:"#6B8E23", $ORANGE$:"#FFA500", $ORANGERED$:"#FF4500", $ORCHID$:"#DA70D6", $PALEGOLDENROD$:"#EEE8AA", $PALEGREEN$:"#98FB98", $PALETURQUOISE$:"#AFEEEE", $PALEVIOLETRED$:"#D87093", $PAPAYAWHIP$:"#FFEFD5", $PEACHPUFF$:"#FFDAB9", 
  $PERU$:"#CD853F", $PINK$:"#FFC0CB", $PLUM$:"#DDA0DD", $POWDERBLUE$:"#B0E0E6", $PURPLE$:"#800080", $RED$:"#FF0000", $ROSYBROWN$:"#BC8F8F", $ROYALBLUE$:"#4169E1", $SADDLEBROWN$:"#8B4513", $SALMON$:"#FA8072", $SANDYBROWN$:"#F4A460", $SEAGREEN$:"#2E8B57", $SEASHELL$:"#FFF5EE", $SIENNA$:"#A0522D", $SILVER$:"#C0C0C0", $SKYBLUE$:"#87CEEB", $SLATEBLUE$:"#6A5ACD", $SLATEGRAY$:"#708090", $SNOW$:"#FFFAFA", $SPRINGGREEN$:"#00FF7F", $STEELBLUE$:"#4682B4", $TAN$:"#D2B48C", $TEAL$:"#008080", $THISTLE$:"#D8BFD8", 
  $TOMATO$:"#FF6347", $TURQUOISE$:"#40E0D0", $VIOLET$:"#EE82EE", $WHEAT$:"#F5DEB3", $WHITE$:"#FFFFFF", $WHITESMOKE$:"#F5F5F5", $YELLOW$:"#FFFF00", $YELLOWGREEN$:"#9ACD32"};
  this.$_SELECT_RANGE$ = [["colNav0", "colNav1"], ["rowNav0", "rowNav1"]];
  this.$_CHOICE_ID_SUFFIX$ = "c";
  this.$_PREV_LINK_ID_SUFFIX$ = "p";
  this.$_NEXT_LINK_ID_SUFFIX$ = "n";
  this.$_ADA_CLEAR_SELECTION_LINK_ID$ = "ClearSelectionLink";
  this.$_ADA_TOGGLE_SELECTION_CHECKBOXES_LINK_ID$ = "ToggleCheckboxesLink";
  this.$_ADA_SELECTION_CHECKBOX_ID$ = "SelectionCheckbox";
  this.$EMPTY_TEXT_ID$ = "et";
  this.$NAV_LAYER_DECREASE$ = 0;
  this.$NAV_LAYER_INCREASE$ = 1;
  this.$NAV_SLICE_DECREASE$ = 2;
  this.$NAV_SLICE_INCREASE$ = 3;
  this.$_SELECTION_DIV_ID$ = "SelectionDiv";
  this.$HIGHLIGHTING_NORMAL$ = 0;
  this.$HIGHLIGHTING_SELECTED$ = 1;
  this.$HIGHLIGHTING_FOCUSED$ = 2;
  this.$HIGHLIGHTING_FOCUSED_AND_SELECTED$ = 3;
  this.$CONTEXT_MENU_POPUP_ID$ = "MainContextMenuPopup";
  this.$BODY_CONTEXT_MENU_POPUP_ID$ = "BodyContextMenuPopup";
  this.$EMPTY_MENU_ID$ = "EmptyMenu";
  this.$HEADER_SORT_ASCENDING_MENU_ITEM_ID$ = "HeaderSortAscendingMenuItem";
  this.$HEADER_SORT_DESCENDING_MENU_ITEM_ID$ = "HeaderSortDescendingMenuItem";
  this.$DATA_SORT_ASCENDING_MENU_ITEM_ID$ = "DataSortAscendingMenuItem";
  this.$DATA_SORT_DESCENDING_MENU_ITEM_ID$ = "DataSortDescendingMenuItem";
  this.$RESIZE_HEIGHT_MENU_ITEM_ID$ = "ResizeHeightMenuItem";
  this.$RESIZE_WIDTH_MENU_ITEM_ID$ = "ResizeWidthMenuItem";
  this.$SPLIT_PANES_MENU_ITEM_ID$ = "SplitPanesMenuItem";
  this.$RESIZE_DIALOG_POPUP_ID$ = "ResizeDialogPopup";
  this.$RESIZE_DIALOG_ID$ = "ResizeDialog";
  this.$RESIZE_DIALOG_PLM_ID$ = "ResizeDialogPlm";
  this.$RESIZE_DIALOG_SPINNER_ID$ = "ResizeDialogSpin";
  this.$_SORT_INDICATOR$ = "si";
  this.$_SORT_ASCENDING$ = "_asc";
  this.$_SORT_DESCENDING$ = "_desc";
  this.$_SORTED_TYPE$ = "_sorted";
  this.$_SORTED_ASCENDING$ = "1";
  this.$_SORTED_DESCENDING$ = "2";
  this.$_NAMING_SEP$ = ":";
  this.$_isNavigationMode$ = $JSCompiler_alias_FALSE$$;
  this.$_NAVBAR_PREV$ = [[], []];
  this.$_NAVBAR_PREV$[0][0] = "nb_pv_00";
  this.$_NAVBAR_PREV$[0][1] = "nb_pv_01";
  this.$_NAVBAR_PREV$[1][0] = "nb_pv_10";
  this.$_NAVBAR_PREV$[1][1] = "nb_pv_11";
  this.$_NAVBAR_FIRST$ = [[], []];
  this.$_NAVBAR_FIRST$[0][0] = "nb_fr_00";
  this.$_NAVBAR_FIRST$[0][1] = "nb_fr_01";
  this.$_NAVBAR_FIRST$[1][0] = "nb_fr_10";
  this.$_NAVBAR_FIRST$[1][1] = "nb_fr_11";
  this.$_NAVBAR_NEXT$ = [[], []];
  this.$_NAVBAR_NEXT$[0][0] = "nb_nx_00";
  this.$_NAVBAR_NEXT$[0][1] = "nb_nx_01";
  this.$_NAVBAR_NEXT$[1][0] = "nb_nx_10";
  this.$_NAVBAR_NEXT$[1][1] = "nb_nx_11";
  this.$_NAVBAR_LAST$ = [[], []];
  this.$_NAVBAR_LAST$[0][0] = "nb_ls_00";
  this.$_NAVBAR_LAST$[0][1] = "nb_ls_01";
  this.$_NAVBAR_LAST$[1][0] = "nb_ls_10";
  this.$_NAVBAR_LAST$[1][1] = "nb_ls_11"
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.InitSubclass", AdfDhtmlPivotTablePeer.InitSubclass);
function $JSCompiler_StaticMethods_preserveEditingBehavior$$($JSCompiler_StaticMethods_preserveEditingBehavior$self$$) {
  return"true" == $JSCompiler_StaticMethods_preserveEditingBehavior$self$$.getDomElement().getAttribute("_old_edit") ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods__isReadOnly$self$$) {
  return"true" == $JSCompiler_StaticMethods__isReadOnly$self$$.getDomElement().getAttribute("_readonly") ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__isClickToEditAll$$($JSCompiler_StaticMethods__isClickToEditAll$self$$) {
  return"true" == $JSCompiler_StaticMethods__isClickToEditAll$self$$.getDomElement().getAttribute("_cteAll") ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
AdfDhtmlPivotTablePeer.prototype.$HandleComponentFocus$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentFocus$$($componentEvent$$81_domEvent$$31_eventTarget$$4$$) {
  if(!this.$_isAda$ && !(0 == this.$_ptUtils$.$_rowExtent$ || 0 == this.$_ptUtils$.$_colExtent$)) {
    if(this.$_serverBusy$ && AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM) {
      AdfPage.PAGE.getGlassPane().focus()
    }else {
      if(this.$_activeCellKeySetFromServer$) {
        var $attrs$$15_cellIndex$$1_cellKey$$1$$ = $JSCompiler_StaticMethods__getActiveCellKey$$(this);
        $attrs$$15_cellIndex$$1_cellKey$$1$$ != $JSCompiler_alias_NULL$$ && this.$_focusCellIndex$ == $JSCompiler_alias_NULL$$ && ($attrs$$15_cellIndex$$1_cellKey$$1$$ = $JSCompiler_StaticMethods__getDataCellIndexFromKey$$($attrs$$15_cellIndex$$1_cellKey$$1$$), $JSCompiler_StaticMethods_selectAndFocusDataCell$$(this, $attrs$$15_cellIndex$$1_cellKey$$1$$), this.$_focusCellNeedsInit$ = $JSCompiler_alias_FALSE$$)
      }else {
        this.$_focusCellNeedsInit$ ? $JSCompiler_StaticMethods_initializeFocusCell$$(this) : $JSCompiler_StaticMethods_highlightFocusCell$$(this)
      }
      $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) || ($componentEvent$$81_domEvent$$31_eventTarget$$4$$ = $componentEvent$$81_domEvent$$31_eventTarget$$4$$.getNativeEvent(), $componentEvent$$81_domEvent$$31_eventTarget$$4$$ = AdfAgent.AGENT.getEventTarget($componentEvent$$81_domEvent$$31_eventTarget$$4$$), $attrs$$15_cellIndex$$1_cellKey$$1$$ = $JSCompiler_StaticMethods__getDataCellKeyAndCell$$(this, $componentEvent$$81_domEvent$$31_eventTarget$$4$$), $attrs$$15_cellIndex$$1_cellKey$$1$$ != 
      $JSCompiler_alias_NULL$$ && $attrs$$15_cellIndex$$1_cellKey$$1$$[0] != $JSCompiler_alias_NULL$$ && $attrs$$15_cellIndex$$1_cellKey$$1$$[1] != $JSCompiler_alias_NULL$$ && $attrs$$15_cellIndex$$1_cellKey$$1$$[1].id && $componentEvent$$81_domEvent$$31_eventTarget$$4$$.$_afrOldValue$ == $JSCompiler_alias_VOID$$ && AdfDhtmlPivotTablePeer.$_saveFocusCellValue$($componentEvent$$81_domEvent$$31_eventTarget$$4$$))
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentFocus", AdfDhtmlPivotTablePeer.prototype.$HandleComponentFocus$);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentBlur$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentBlur$$() {
  !this.$_isAda$ && 0 == this.$_codeExecutionCounter$ && (AdfPivotTableUtils.$isMobileTouchDevice$() && $JSCompiler_StaticMethods_hidePivotHandle$$(this), $JSCompiler_StaticMethods_highlightFocusCell$$(this, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods_endKeyboardPivoting$$(this, $JSCompiler_alias_TRUE$$))
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentBlur", AdfDhtmlPivotTablePeer.prototype.$HandleComponentBlur$);
AdfDhtmlPivotTablePeer.prototype._displayContextMenuAfterEdit = function $AdfDhtmlPivotTablePeer$$_displayContextMenuAfterEdit$() {
  $JSCompiler_StaticMethods__displayContextMenu$$(this, this.$domEventForContextMenuAfterEdit$, this.$domEventForContextMenuAfterEdit$.flag);
  this.$domEventForContextMenuAfterEdit$ = $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$($JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$self$$, $componentEvent$$83$$, $isBodyContextMenu$$) {
  var $domEvent$$32$$ = $componentEvent$$83$$.getNativeEvent();
  $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$self$$.$_activeCell$ != $JSCompiler_alias_NULL$$ ? ($JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$self$$, $componentEvent$$83$$), AdfAgent.AGENT.preventDefault($domEvent$$32$$), $domEvent$$32$$.flag = $isBodyContextMenu$$, $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$self$$.$domEventForContextMenuAfterEdit$ = $domEvent$$32$$) : $JSCompiler_StaticMethods__displayContextMenu$$($JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$self$$, 
  $domEvent$$32$$, $isBodyContextMenu$$)
}
AdfDhtmlPivotTablePeer.prototype.$HandleComponentContextMenu$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentContextMenu$$($componentEvent$$84$$) {
  if(!this.$_attachmentMode$ && $JSCompiler_StaticMethods_isSelectionUiEnabled$$(this) && !(this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_DIALOG$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_STAMP_POPUP$) && !this.$_isAda$) {
    var $agent$$29_headerCellIndex$$ = AdfAgent.AGENT, $domEvent$$33$$ = $componentEvent$$84$$.getNativeEvent(), $cell$$6_context$$31_eventTarget$$5$$ = $agent$$29_headerCellIndex$$.getEventTarget($domEvent$$33$$);
    if(!$JSCompiler_StaticMethods__isInputElement$$(this, $cell$$6_context$$31_eventTarget$$5$$)) {
      if($JSCompiler_StaticMethods_isClientValidationError$$(this, $cell$$6_context$$31_eventTarget$$5$$)) {
        $agent$$29_headerCellIndex$$.preventDefault($domEvent$$33$$)
      }else {
        if(this.getDomElement().focus(), $cell$$6_context$$31_eventTarget$$5$$ = $JSCompiler_StaticMethods__getMouseContext$$(this, $domEvent$$33$$), $cell$$6_context$$31_eventTarget$$5$$.$headerContext$ && $cell$$6_context$$31_eventTarget$$5$$.$headerContext$.cell && !$cell$$6_context$$31_eventTarget$$5$$.$headerContext$.$isEmptyEdge$) {
          $agent$$29_headerCellIndex$$ = $JSCompiler_StaticMethods_newHeaderCellIndexWithEdgeFromCell$$($cell$$6_context$$31_eventTarget$$5$$.$headerContext$.cell), this.isSelected($agent$$29_headerCellIndex$$) || $JSCompiler_StaticMethods_selectAndFocusHeaderCell$$(this, $agent$$29_headerCellIndex$$), $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_FALSE$$)
        }else {
          if($cell$$6_context$$31_eventTarget$$5$$.$databodyContext$) {
            var $cell$$6_context$$31_eventTarget$$5$$ = $cell$$6_context$$31_eventTarget$$5$$.$databodyContext$.cell, $dataCellIndex$$ = $JSCompiler_StaticMethods_newDataCellIndexFromCell$$(this, $cell$$6_context$$31_eventTarget$$5$$), $selectedStyleClass$$ = this.$_getStyleClass$(AdfPivotTableUtils.$DATABODY_CELL_SELECTED_STYLE$);
            $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) ? (!this.isSelected($dataCellIndex$$) && !$AdfDhtmlCommonUtils$$.$containsCSSClassName$($cell$$6_context$$31_eventTarget$$5$$, $selectedStyleClass$$) && $JSCompiler_StaticMethods_selectAndFocusDataCell$$(this, $dataCellIndex$$), $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_FALSE$$)) : $JSCompiler_StaticMethods_isInHeaderSelection$$(this, $dataCellIndex$$, $JSCompiler_alias_NULL$$, 
            $JSCompiler_alias_TRUE$$) || $JSCompiler_StaticMethods_isMultipleDatabodyCellsSelected$$(this) && this.isSelected($dataCellIndex$$) ? $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_FALSE$$) : this.$_activeCell$ == $cell$$6_context$$31_eventTarget$$5$$ ? $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_FALSE$$) : (!this.isSelected($dataCellIndex$$) && !$AdfDhtmlCommonUtils$$.$containsCSSClassName$($cell$$6_context$$31_eventTarget$$5$$, 
            $selectedStyleClass$$) && $JSCompiler_StaticMethods_selectAndFocusDataCell$$(this, $dataCellIndex$$), $agent$$29_headerCellIndex$$.preventDefault($domEvent$$33$$), $JSCompiler_StaticMethods__isReadOnly$$(this) ? $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods__isClickToEditAll$$(this) ? ($JSCompiler_StaticMethods__dismissPreviousActiveCell$$(this, $cell$$6_context$$31_eventTarget$$5$$, $JSCompiler_alias_NULL$$, 
            $JSCompiler_alias_NULL$$), this.$_cancelDismiss$ = $JSCompiler_alias_FALSE$$, this.$_dismissClickToEdit$($JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__displayContextMenu$$(this, $domEvent$$33$$, $JSCompiler_alias_FALSE$$)) : (this.$domEventForContextMenuAfterEdit$ = $agent$$29_headerCellIndex$$.copyEvent($domEvent$$33$$), $JSCompiler_StaticMethods_doHandleClickToEdit$$(this, $componentEvent$$84$$)))
          }else {
            $JSCompiler_StaticMethods__dismissEditAndDisplayContextMenu$$(this, $componentEvent$$84$$, $JSCompiler_alias_TRUE$$)
          }
        }
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentContextMenu", AdfDhtmlPivotTablePeer.prototype.$HandleComponentContextMenu$);
function $JSCompiler_StaticMethods__displayContextMenu$$($JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$, $domEvent$$34$$, $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$, $element$$67$$) {
  $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_CONTEXT_MENU$;
  $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.$selectionChangedSinceLastCmRequest$ = $JSCompiler_alias_FALSE$$;
  var $component$$inline_1786_menuFindContainer$$inline_1790$$ = $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.getComponent(), $isLegacy$$inline_1787$$ = $JSCompiler_alias_FALSE$$, $agent$$inline_1791_menuId$$inline_1788$$ = $JSCompiler_alias_NULL$$;
  if($agent$$inline_1791_menuId$$inline_1788$$ = $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ ? $component$$inline_1786_menuFindContainer$$inline_1790$$.getBodyContextMenuId ? $component$$inline_1786_menuFindContainer$$inline_1790$$.getBodyContextMenuId() : $JSCompiler_alias_NULL$$ : $component$$inline_1786_menuFindContainer$$inline_1790$$.getContextMenuId ? $component$$inline_1786_menuFindContainer$$inline_1790$$.getContextMenuId() : $JSCompiler_alias_NULL$$) {
    var $isLegacy$$inline_1787$$ = $JSCompiler_alias_TRUE$$, $popup$$inline_1789$$ = $component$$inline_1786_menuFindContainer$$inline_1790$$.findComponent($agent$$inline_1791_menuId$$inline_1788$$);
    $popup$$inline_1789$$ == $JSCompiler_alias_NULL$$ && ($popup$$inline_1789$$ = AdfPage.PAGE.findComponent($agent$$inline_1791_menuId$$inline_1788$$), $component$$inline_1786_menuFindContainer$$inline_1790$$ = $JSCompiler_alias_NULL$$);
    $popup$$inline_1789$$ != $JSCompiler_alias_NULL$$ && ($popup$$inline_1789$$.removeEventListener("popupClosed", $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.$handleLegacyContextMenuClosing$, $JSCompiler_alias_NULL$$), $popup$$inline_1789$$.addEventListener("popupClosed", $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.$handleLegacyContextMenuClosing$, $JSCompiler_alias_NULL$$));
    $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.showContextMenu($domEvent$$34$$, $agent$$inline_1791_menuId$$inline_1788$$, $component$$inline_1786_menuFindContainer$$inline_1790$$, $element$$67$$);
    $agent$$inline_1791_menuId$$inline_1788$$ = AdfAgent.AGENT;
    $agent$$inline_1791_menuId$$inline_1788$$.stopPropagation($domEvent$$34$$);
    $agent$$inline_1791_menuId$$inline_1788$$.preventDefault($domEvent$$34$$)
  }
  $isLegacy$$inline_1787$$ || ($JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ ? ($JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ = $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.getDomElement().getAttribute("_cbcm"), $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ = $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ == $JSCompiler_alias_NULL$$ ? 
  AdfDhtmlPivotTablePeer.$BODY_CONTEXT_MENU_POPUP_ID$ : $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$) : ($JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ = $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.getDomElement().getAttribute("_ccm"), $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ = $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$ == 
  $JSCompiler_alias_NULL$$ ? AdfDhtmlPivotTablePeer.$CONTEXT_MENU_POPUP_ID$ : $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$), $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.showContextMenu($domEvent$$34$$, $JSCompiler_temp$$90_isBodyContextMenu$$1_popupId$$inline_1794_popupId$$inline_1797$$, $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.getComponent(), $element$$67$$), $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$ = 
  AdfAgent.AGENT, $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.stopPropagation($domEvent$$34$$), $JSCompiler_StaticMethods__displayContextMenu$self_agent$$30$$.preventDefault($domEvent$$34$$))
}
AdfDhtmlPivotTablePeer.prototype.$handleLegacyContextMenuClosing$ = function $AdfDhtmlPivotTablePeer$$$handleLegacyContextMenuClosing$$() {
  this.$HandleComponentPopupClosed$($JSCompiler_alias_NULL$$)
};
AdfDhtmlPivotTablePeer.prototype.HandleComponentAction = function $AdfDhtmlPivotTablePeer$$HandleComponentAction$($componentEvent$$85$$) {
  var $clientId$$97_component$$inline_1800_source$$169$$ = $componentEvent$$85$$.getSource();
  if(!$clientId$$97_component$$inline_1800_source$$169$$.getDisabled()) {
    if($clientId$$97_component$$inline_1800_source$$169$$ = $clientId$$97_component$$inline_1800_source$$169$$.getClientId(), -1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$DATA_SORT_ASCENDING_MENU_ITEM_ID$)) {
      $JSCompiler_StaticMethods_handleSortContextMenuAction$$(this, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_FALSE$$), $componentEvent$$85$$.cancel()
    }else {
      if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$DATA_SORT_DESCENDING_MENU_ITEM_ID$)) {
        $JSCompiler_StaticMethods_handleSortContextMenuAction$$(this, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$), $componentEvent$$85$$.cancel()
      }else {
        if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$HEADER_SORT_ASCENDING_MENU_ITEM_ID$)) {
          $JSCompiler_StaticMethods_handleSortContextMenuAction$$(this, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$), $componentEvent$$85$$.cancel()
        }else {
          if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$HEADER_SORT_DESCENDING_MENU_ITEM_ID$)) {
            $JSCompiler_StaticMethods_handleSortContextMenuAction$$(this, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$), $componentEvent$$85$$.cancel()
          }else {
            if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$RESIZE_HEIGHT_MENU_ITEM_ID$)) {
              this.$showResizeDialog$($JSCompiler_alias_TRUE$$), $componentEvent$$85$$.cancel()
            }else {
              if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$RESIZE_WIDTH_MENU_ITEM_ID$)) {
                this.$showResizeDialog$($JSCompiler_alias_FALSE$$), $componentEvent$$85$$.cancel()
              }else {
                if(-1 != $clientId$$97_component$$inline_1800_source$$169$$.indexOf(AdfDhtmlPivotTablePeer.$SPLIT_PANES_MENU_ITEM_ID$)) {
                  $JSCompiler_StaticMethods__focusElement$$(this.getDomElement());
                  if(this.$_isAda$ || $JSCompiler_StaticMethods_checkCellPositionBeforeSplit$$(this)) {
                    var $clientId$$97_component$$inline_1800_source$$169$$ = this.getComponent(), $event$$inline_1801$$ = new $AdfPivotTableSplitEvent$$($clientId$$97_component$$inline_1800_source$$169$$);
                    $event$$inline_1801$$.setPartial($JSCompiler_alias_TRUE$$);
                    $clientId$$97_component$$inline_1800_source$$169$$.queueEvent($event$$inline_1801$$);
                    $event$$inline_1801$$.isCanceled() ? $JSCompiler_StaticMethods__clientValidationErrorRecovery$$(this, $JSCompiler_StaticMethods__getActiveCellKey$$(this)) : ($JSCompiler_StaticMethods_setCurrentRequest$$(this, AdfDhtmlPivotTablePeer.$PARTIAL$), this.$_serverRequest$ = $JSCompiler_alias_NULL$$, this.$_isAda$ || this.$_displayStatus$(this.$_fetchText$, $JSCompiler_alias_TRUE$$))
                  }
                  $componentEvent$$85$$.cancel()
                }
              }
            }
          }
        }
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentAction", AdfDhtmlPivotTablePeer.prototype.HandleComponentAction);
function $JSCompiler_StaticMethods_handleSortContextMenuAction$$($JSCompiler_StaticMethods_handleSortContextMenuAction$self$$, $isAscending$$, $isHeader$$) {
  var $reorderedEdge_selectedEdge$$ = $JSCompiler_StaticMethods_getSelectedEdge$$($JSCompiler_StaticMethods_handleSortContextMenuAction$self$$), $sliceOrLayer_startIndex$$4$$ = $JSCompiler_StaticMethods_getSelectionForEdge$$($JSCompiler_StaticMethods_handleSortContextMenuAction$self$$, $reorderedEdge_selectedEdge$$)[0].startIndex;
  $isHeader$$ ? $sliceOrLayer_startIndex$$4$$ = $sliceOrLayer_startIndex$$4$$.layer : ($reorderedEdge_selectedEdge$$ = 1 - $reorderedEdge_selectedEdge$$, $sliceOrLayer_startIndex$$4$$ = $sliceOrLayer_startIndex$$4$$.slice);
  $JSCompiler_StaticMethods_handleSortContextMenuAction$self$$.$queueSortRequest$($reorderedEdge_selectedEdge$$, $sliceOrLayer_startIndex$$4$$, $isAscending$$, $isHeader$$)
}
AdfDhtmlPivotTablePeer.prototype.$HandleComponentDialog$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentDialog$$($clientId$$98_componentEvent$$86$$) {
  if($clientId$$98_componentEvent$$86$$.getSource().getClientId() == this.getComponent().getClientId() + AdfDhtmlPivotTablePeer.$_NAMING_SEP$ + AdfDhtmlPivotTablePeer.$RESIZE_DIALOG_ID$ && $clientId$$98_componentEvent$$86$$.getOutcome() == AdfDialogEvent.OUTCOME_OK) {
    var $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$ = this.$_resizeDialogInfo$, $delta$$inline_1814_oldSize$$inline_1805$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$oldSize$, $isHeight$$inline_1806_minSize$$inline_1813$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$isHeight$, $isLayer$$inline_1807$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$isLayer$, $pane$$inline_1808$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$pane$, $blockIndex$$inline_1809$$ = 
    $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$blockIndex$, $localIndex$$inline_1810$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$localIndex$, $cell$$inline_1811$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.cell, $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$.$spinner$.getValue(), $isHeight$$inline_1806_minSize$$inline_1813$$ = Math.min($isHeight$$inline_1806_minSize$$inline_1813$$ ? 16 : 11, $delta$$inline_1814_oldSize$$inline_1805$$), 
    $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$ = Math.max($newSize$$inline_1812_resizeDialogInfo$$inline_1804$$, $isHeight$$inline_1806_minSize$$inline_1813$$), $delta$$inline_1814_oldSize$$inline_1805$$ = $newSize$$inline_1812_resizeDialogInfo$$inline_1804$$ - $delta$$inline_1814_oldSize$$inline_1805$$;
    0 != $delta$$inline_1814_oldSize$$inline_1805$$ && (this.$_resizeDialogIsForHeight$ ? $JSCompiler_StaticMethods__resizeRow$$(this, $isLayer$$inline_1807$$, $pane$$inline_1808$$, $blockIndex$$inline_1809$$, $cell$$inline_1811$$, $localIndex$$inline_1810$$, $delta$$inline_1814_oldSize$$inline_1805$$, $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods__resizeColumn$$(this, $isLayer$$inline_1807$$, $pane$$inline_1808$$, $blockIndex$$inline_1809$$, $cell$$inline_1811$$, $localIndex$$inline_1810$$, 
    $delta$$inline_1814_oldSize$$inline_1805$$));
    $clientId$$98_componentEvent$$86$$.cancel();
    $clientId$$98_componentEvent$$86$$ = this.getComponent().getClientId();
    AdfPage.PAGE.findComponent($clientId$$98_componentEvent$$86$$ + AdfDhtmlPivotTablePeer.$_NAMING_SEP$ + AdfDhtmlPivotTablePeer.$RESIZE_DIALOG_POPUP_ID$).hide()
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentDialog", AdfDhtmlPivotTablePeer.prototype.$HandleComponentDialog$);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentPopupOpening$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentPopupOpening$$($cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$) {
  if(this.$_currentRequest$ == AdfDhtmlPivotTablePeer.$PARTIAL$) {
    $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.cancel()
  }else {
    var $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.getSource().getClientId(), $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$ = $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$.indexOf(":", this.getComponent().getClientId().length + 1), $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$.substring(this.getComponent().getClientId().length + 
    1, $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$);
    if(isNaN($cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$)) {
      switch(this.$_ptState$) {
        case AdfDhtmlPivotTablePeer.$STATE_NORMAL$:
        ;
        case AdfDhtmlPivotTablePeer.$STATE_CONTEXT_MENU$:
          $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = this.$selectionChangedSinceLastCmRequest$;
          $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ || ($cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.getSource().getDescendantComponents(), $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ == $JSCompiler_alias_NULL$$ || 1 >= $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$.length);
          $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ ? ($cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.cancel(), this.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_NORMAL$) : this.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_CONTEXT_MENU$;
          break;
        case AdfDhtmlPivotTablePeer.$STATE_DIALOG$:
          var $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ = $JSCompiler_StaticMethods_getSelectedEdge$$(this);
          $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$ = $JSCompiler_StaticMethods_getCurrentRange$$(this).startIndex;
          var $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.layer, $pane$$inline_1827_slice$$inline_1820$$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$.slice;
          $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$ = this.$_resizeDialogIsForHeight$;
          var $cell$$inline_1829_layerSlice$$inline_1823$$ = ($cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ = $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ == AdfPivotTableUtils.$ROW_EDGE$ != $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$) ? $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$ : $pane$$inline_1827_slice$$inline_1820$$, $block$$inline_1825_oldSize$$inline_1830$$;
          $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$ ? ($pane$$inline_1827_slice$$inline_1820$$ = this.$_ptUtils$.$_startPane$[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$], $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$ = 0, $block$$inline_1825_oldSize$$inline_1830$$ = this.$_ptUtils$.$_buffers2$[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$][$pane$$inline_1827_slice$$inline_1820$$][$blockIndex$$inline_1824_index$$71_layer$$inline_1819$$], 
          $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ = $cell$$inline_1829_layerSlice$$inline_1823$$ + 1) : ($pane$$inline_1827_slice$$inline_1820$$ = $cell$$inline_1829_layerSlice$$inline_1823$$ < this.$_ptUtils$.$_splitSlice$[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$] ? 0 : 1, $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$ = $JSCompiler_StaticMethods_getBlockNumOfSlice$$(this, $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$, 
          $cell$$inline_1829_layerSlice$$inline_1823$$, $pane$$inline_1827_slice$$inline_1820$$), $block$$inline_1825_oldSize$$inline_1830$$ = this.$_ptUtils$.$_buffers2$[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$][$pane$$inline_1827_slice$$inline_1820$$][$blockIndex$$inline_1824_index$$71_layer$$inline_1819$$], $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ = AdfAgent.AGENT.getIntAttribute($block$$inline_1825_oldSize$$inline_1830$$, "_startSlice"), 
          $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ = $cell$$inline_1829_layerSlice$$inline_1823$$ - $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$ + 1);
          $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$ ? ($cell$$inline_1829_layerSlice$$inline_1823$$ = $block$$inline_1825_oldSize$$inline_1830$$.childNodes[0].rows[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$].cells[0], $block$$inline_1825_oldSize$$inline_1830$$ = $cell$$inline_1829_layerSlice$$inline_1823$$.offsetHeight) : ($cell$$inline_1829_layerSlice$$inline_1823$$ = $block$$inline_1825_oldSize$$inline_1830$$.childNodes[0].rows[0].cells[$blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$], 
          $block$$inline_1825_oldSize$$inline_1830$$ = $cell$$inline_1829_layerSlice$$inline_1823$$.offsetWidth);
          var $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ = this.getComponent().getClientId(), $spinner$$inline_1832$$ = AdfPage.PAGE.findComponent($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ + AdfDhtmlPivotTablePeer.$_NAMING_SEP$ + AdfDhtmlPivotTablePeer.$RESIZE_DIALOG_SPINNER_ID$);
          $spinner$$inline_1832$$.setValue($block$$inline_1825_oldSize$$inline_1830$$);
          var $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$ ? this.$_heightText$ : this.$_widthText$;
          AdfPage.PAGE.findComponent($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ + AdfDhtmlPivotTablePeer.$_NAMING_SEP$ + AdfDhtmlPivotTablePeer.$RESIZE_DIALOG_ID$).setTitle($heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$);
          $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ = $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ + AdfDhtmlPivotTablePeer.$_NAMING_SEP$ + AdfDhtmlPivotTablePeer.$RESIZE_DIALOG_PLM_ID$;
          AdfPage.PAGE.findComponent($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$).setLabel($heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$);
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$ = AdfAgent.getAgent().getElementById($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$).childNodes[0];
          $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$ = $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.cloneNode($JSCompiler_alias_TRUE$$);
          $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$.style.visibility = "hidden";
          this.getDomElement().appendChild($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$);
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.style.width = $clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$.offsetWidth + "px";
          this.getDomElement().removeChild($clientId$$inline_1831_labelContent$$inline_1836_labelId$$inline_1834$$);
          this.$_resizeDialogInfo$ || (this.$_resizeDialogInfo$ = {});
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$ = this.$_resizeDialogInfo$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$spinner$ = $spinner$$inline_1832$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$oldSize$ = $block$$inline_1825_oldSize$$inline_1830$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$isLayer$ = $cancelCM_cellIndex$$2_clientId$$99_desc$$1_isLayer$$inline_1822$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$isHeight$ = $cellIndex$$inline_1818_componentEvent$$87_isHeight$$inline_1821$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$pane$ = $pane$$inline_1827_slice$$inline_1820$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$blockIndex$ = $blockIndex$$inline_1824_index$$71_layer$$inline_1819$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.$localIndex$ = $blockStartSlice$$inline_1828_edge$$inline_1817_localIndex$$inline_1826$$;
          $heightWidthText$$inline_1833_labelContainer$$inline_1835_resizeDialogInfo$$inline_1837$$.cell = $cell$$inline_1829_layerSlice$$inline_1823$$
      }
    }else {
      this.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_STAMP_POPUP$
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentPopupOpening", AdfDhtmlPivotTablePeer.prototype.$HandleComponentPopupOpening$);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentPopupClosed$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentPopupClosed$$() {
  this.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_NORMAL$
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentPopupClosed", AdfDhtmlPivotTablePeer.prototype.$HandleComponentPopupClosed$);
function $JSCompiler_StaticMethods_isClientValidationError$$($JSCompiler_StaticMethods_isClientValidationError$self$$, $target$$115$$) {
  var $agent$$32_elem$$63_inputElems$$ = AdfAgent.AGENT, $clientIds$$3_component$$469$$ = $JSCompiler_StaticMethods_isClientValidationError$self$$.getComponent();
  if($target$$115$$ == $JSCompiler_StaticMethods_isClientValidationError$self$$.$_activeCell$ && ($clientIds$$3_component$$469$$ = AdfPage.PAGE.getClientIdsWithMessages($clientIds$$3_component$$469$$.getClientId()), $clientIds$$3_component$$469$$ != $JSCompiler_alias_NULL$$ && 0 < $clientIds$$3_component$$469$$.length)) {
    for(var $i$$152$$ = 0;$i$$152$$ < $clientIds$$3_component$$469$$.length;$i$$152$$++) {
      if(0 == $clientIds$$3_component$$469$$[$i$$152$$].indexOf($target$$115$$.id)) {
        return $agent$$32_elem$$63_inputElems$$ = $agent$$32_elem$$63_inputElems$$.getElementById($clientIds$$3_component$$469$$[$i$$152$$]), $agent$$32_elem$$63_inputElems$$ = $JSCompiler_StaticMethods__getInputElementsInNode$$($JSCompiler_StaticMethods_isClientValidationError$self$$, $agent$$32_elem$$63_inputElems$$), $agent$$32_elem$$63_inputElems$$ != $JSCompiler_alias_NULL$$ && 0 < $agent$$32_elem$$63_inputElems$$.length && $agent$$32_elem$$63_inputElems$$[0].focus(), $JSCompiler_alias_TRUE$$
      }
    }
  }
  return $JSCompiler_alias_FALSE$$
}
AdfDhtmlPivotTablePeer.prototype.$HandleComponentClick$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentClick$$($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$) {
  if(!(this.$_currentRequest$ == AdfDhtmlPivotTablePeer.$PARTIAL$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_DIALOG$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_STAMP_POPUP$)) {
    var $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = this.getComponent(), $agent$$33_delta$$inline_1858_target$$116$$ = AdfAgent.AGENT, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$ = $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$.getNativeEvent(), $agent$$33_delta$$inline_1858_target$$116$$ = $agent$$33_delta$$inline_1858_target$$116$$.getEventTarget($dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$);
    if(!$JSCompiler_StaticMethods_isClientValidationError$$(this, $agent$$33_delta$$inline_1858_target$$116$$) && (!this.$_isPaging$ || !$JSCompiler_StaticMethods__handleClickOnPagingControl$$(this, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$, $agent$$33_delta$$inline_1858_target$$116$$))) {
      if($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$.isLeftButtonPressed() && (this.$handleImageAction$($attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$, $agent$$33_delta$$inline_1858_target$$116$$), this.$_isSortEnabled$ && this.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$ && (($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = $agent$$33_delta$$inline_1858_target$$116$$.parentNode.getAttribute(AdfDhtmlPivotTablePeer.$_SORT_ASCENDING$)) || 
      ($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = $agent$$33_delta$$inline_1858_target$$116$$.parentNode.parentNode.getAttribute(AdfDhtmlPivotTablePeer.$_SORT_ASCENDING$)), ($attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = $agent$$33_delta$$inline_1858_target$$116$$.parentNode.getAttribute(AdfDhtmlPivotTablePeer.$_SORT_DESCENDING$)) || ($attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = 
      $agent$$33_delta$$inline_1858_target$$116$$.parentNode.parentNode.getAttribute(AdfDhtmlPivotTablePeer.$_SORT_DESCENDING$)), $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ || $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$))) {
        var $sortedType$$inline_1848_th$$inline_1844$$ = $JSCompiler_StaticMethods__getParentElement$$(this, $agent$$33_delta$$inline_1858_target$$116$$, "TH"), $cellCoords$$inline_1845$$ = $JSCompiler_StaticMethods_getHeaderCellCoordinates$$($sortedType$$inline_1848_th$$inline_1844$$), $siId$$inline_1846_sortOrder$$inline_1849$$ = AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), $cellCoords$$inline_1845$$.startSlice + "::" + AdfDhtmlPivotTablePeer.$_SORT_INDICATOR$), $siElem$$inline_1847$$ = 
        $JSCompiler_alias_NULL$$, $siElem$$inline_1847$$ = $sortedType$$inline_1848_th$$inline_1844$$.getAttribute("_vt") == $JSCompiler_alias_VOID$$ ? AdfPivotTableUtils.$isMobileTouchDevice$() ? AdfDhtmlPivotTablePeer.$_getChildById$($sortedType$$inline_1848_th$$inline_1844$$.childNodes[0], $siId$$inline_1846_sortOrder$$inline_1849$$) : AdfDhtmlPivotTablePeer.$_getChildById$($sortedType$$inline_1848_th$$inline_1844$$, $siId$$inline_1846_sortOrder$$inline_1849$$) : AdfDhtmlPivotTablePeer.$_getChildById$($sortedType$$inline_1848_th$$inline_1844$$.childNodes[0].rows[0].cells[0], 
        $siId$$inline_1846_sortOrder$$inline_1849$$), $sortedType$$inline_1848_th$$inline_1844$$ = $siElem$$inline_1847$$.getAttribute(AdfDhtmlPivotTablePeer.$_SORTED_TYPE$), $siId$$inline_1846_sortOrder$$inline_1849$$ = $JSCompiler_alias_VOID$$;
        $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ && $sortedType$$inline_1848_th$$inline_1844$$ != AdfDhtmlPivotTablePeer.$_SORTED_ASCENDING$ ? $siId$$inline_1846_sortOrder$$inline_1849$$ = $JSCompiler_alias_TRUE$$ : $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ && $sortedType$$inline_1848_th$$inline_1844$$ != AdfDhtmlPivotTablePeer.$_SORTED_DESCENDING$ && ($siId$$inline_1846_sortOrder$$inline_1849$$ = $JSCompiler_alias_FALSE$$);
        $siId$$inline_1846_sortOrder$$inline_1849$$ != $JSCompiler_alias_VOID$$ && (this.$queueSortRequest$(AdfPivotTableUtils.$ROW_EDGE$, $cellCoords$$inline_1845$$.startSlice, $siId$$inline_1846_sortOrder$$inline_1849$$, $JSCompiler_alias_FALSE$$), AdfAgent.AGENT.eatEvent($dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$))
      }
      $JSCompiler_StaticMethods__isClickToEditAll$$(this) ? ($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = $JSCompiler_alias_TRUE$$, this.$_activeCell$ != $JSCompiler_alias_NULL$$ && ($attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = $JSCompiler_StaticMethods__findInputComponentInCell$$(this, this.$_activeCell$).$component$, $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ != 
      $JSCompiler_alias_NULL$$ && $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ instanceof AdfUIEditableValue && ($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$.getValid())), $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ ? ($attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = 
      $JSCompiler_StaticMethods__getDataCellKeyAndCell$$(this, $agent$$33_delta$$inline_1858_target$$116$$), $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ != $JSCompiler_alias_NULL$$ && ($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$[0], $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ = 
      $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$[1], $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ == $JSCompiler_alias_NULL$$ || $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$ == $JSCompiler_alias_NULL$$ || ($JSCompiler_StaticMethods__updateInputReadOnlyState$$(this, $agent$$33_delta$$inline_1858_target$$116$$, $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$) ? 
      (this.$_submittedCellKey$ != $JSCompiler_alias_NULL$$ && (this.$_cancelDismiss$ = $JSCompiler_alias_FALSE$$, this.$_dismissClickToEdit$($JSCompiler_alias_FALSE$$)), $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$.parentNode.offsetHeight, this.$_activeCell$ != this.$_prevActiveCell$ && $JSCompiler_StaticMethods__dismissPreviousActiveCell$$(this, $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$, 
      $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$), this.$_cellRowHeight$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$.parentNode.offsetHeight, $agent$$33_delta$$inline_1858_target$$116$$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$.parentNode.offsetHeight - $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$, 
      0 != $agent$$33_delta$$inline_1858_target$$116$$ && $JSCompiler_StaticMethods__clickToEditResize$$(this, $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$, $agent$$33_delta$$inline_1858_target$$116$$), this.$_lastUpdatedRow$ = $JSCompiler_StaticMethods_getCoordinates$$(this, $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$).row, this.$_oldRowHeight$ = $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$, 
      this.$_prevActiveCell$ = this.$_activeCell$ = $attrs$$inline_1854_cell$$inline_1856_comp$$5_component$$470_sortDescending$$inline_1843$$, $JSCompiler_StaticMethods__setActiveCellKey$$(this, $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$, $JSCompiler_alias_TRUE$$)) : $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) || $JSCompiler_StaticMethods_doHandleClickToEdit$$(this, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$, $agent$$33_delta$$inline_1858_target$$116$$)))) : 
      ($dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$ = $JSCompiler_StaticMethods_newDataCellIndexFromCell$$(this, this.$_activeCell$), $JSCompiler_StaticMethods_selectAndFocusDataCell$$(this, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$), this.$_processClickToEditRequest$())) : ($cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$ = AdfAgent.AGENT.getMousePosition($dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$), (this.$_resizeDropMousePos$ == 
      $JSCompiler_alias_VOID$$ || this.$_resizeDropMousePos$.x != $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$.x || this.$_resizeDropMousePos$.x != $cellKey$$inline_1855_componentEvent$$89_mousePos$$12_sortAscending$$inline_1842_valid$$.x) && !$dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$.shiftKey && !$JSCompiler_StaticMethods_ctrlEquivalent$$($dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$) && $JSCompiler_StaticMethods__dismissClickToEditIfNeeded$$(this, 
      $agent$$33_delta$$inline_1858_target$$116$$), this.$_resizeDropMousePos$ = $JSCompiler_alias_VOID$$, $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) || $JSCompiler_StaticMethods_doHandleClickToEdit$$(this, $dataCellIndex$$1_domEvent$$36_oldRowHeight$$inline_1857$$, $agent$$33_delta$$inline_1858_target$$116$$))
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentClick", AdfDhtmlPivotTablePeer.prototype.$HandleComponentClick$);
function $JSCompiler_StaticMethods_doHandleClickToEdit$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$, $domEvent$$38_eventTarget$$6$$, $cellKey$$3_target$$118$$) {
  if(!$JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_isAda$ && !$JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_attachmentMode$ && !$JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$)) {
    if(!$domEvent$$38_eventTarget$$6$$.shiftKey && !$JSCompiler_StaticMethods_ctrlEquivalent$$($domEvent$$38_eventTarget$$6$$)) {
      var $attrs$$17_cell$$8$$ = $JSCompiler_StaticMethods__getDataCellKeyAndCell$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$, $cellKey$$3_target$$118$$);
      $attrs$$17_cell$$8$$ != $JSCompiler_alias_NULL$$ && ($cellKey$$3_target$$118$$ = $attrs$$17_cell$$8$$[0], $attrs$$17_cell$$8$$ = $attrs$$17_cell$$8$$[1], $cellKey$$3_target$$118$$ != $JSCompiler_alias_NULL$$ && $attrs$$17_cell$$8$$.id && ($cellKey$$3_target$$118$$ != $JSCompiler_StaticMethods__getActiveCellKey$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$) ? ($JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_activeCell$ = $attrs$$17_cell$$8$$, $JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_cellRowHeight$ = 
      $attrs$$17_cell$$8$$.parentNode.offsetHeight, $JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_cancelDismiss$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__setActiveCellKey$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$, $cellKey$$3_target$$118$$)) : $JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_activeCellKeySetFromServer$ && ($domEvent$$38_eventTarget$$6$$ = AdfAgent.AGENT.getEventTarget($domEvent$$38_eventTarget$$6$$), "INPUT" == $domEvent$$38_eventTarget$$6$$.tagName && 
      "text" == $domEvent$$38_eventTarget$$6$$.type && $domEvent$$38_eventTarget$$6$$.select())))
    }else {
      $JSCompiler_StaticMethods__getActiveCellKey$$($JSCompiler_StaticMethods_doHandleClickToEdit$self$$) != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_processClickToEditRequest$()
    }
    $JSCompiler_StaticMethods_doHandleClickToEdit$self$$.$_activeCellKeySetFromServer$ = $JSCompiler_alias_FALSE$$
  }
}
AdfDhtmlPivotTablePeer.prototype.$HandleComponentDblClick$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentDblClick$$($componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$) {
  if($JSCompiler_StaticMethods_preserveEditingBehavior$$(this)) {
    $JSCompiler_StaticMethods_doHandleClickToEdit$$(this, $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$)
  }else {
    var $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$ = AdfAgent.AGENT;
    $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$ = $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.getNativeEvent();
    $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$ = $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.getEventTarget($componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$);
    "INPUT" == $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.tagName && "text" == $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.type && ($agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.getPlatform() == AdfAgent.IE_PLATFORM ? ($agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$ = $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.createTextRange(), $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.moveStart("character", 
    $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.value.length), $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.moveEnd("character", $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.value.length), $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.select()) : ($componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.setSelectionRange($componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.value.length, $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.value.length), 
    $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.blur(), $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.focus(), $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$ = document.createEvent("KeyboardEvent"), $agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$.initKeyEvent("keypress", $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, 
    27, 0), $componentEvent$$91_domEvent$$inline_1862_eventTarget$$inline_1863$$.dispatchEvent($agent$$inline_1861_evt$$inline_1865_range$$inline_1864$$)))
  }
  this.$_clickCellKey$ = this.$_clickTimeStamp$ = $JSCompiler_alias_NULL$$
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentDblClick", AdfDhtmlPivotTablePeer.prototype.$HandleComponentDblClick$);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentKeyDown$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentKeyDown$$($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$) {
  if(!(this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_DIALOG$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_CONTEXT_MENU$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_STAMP_POPUP$)) {
    var $domEvent$$40$$ = $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.getNativeEvent(), $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = AdfAgent.AGENT, $eventTarget$$8_index$$72$$ = $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$.getEventTarget($domEvent$$40$$), $keyCode$$15_newCellIndex$$inline_1875$$ = $domEvent$$40$$.keyCode;
    if(this.$_isPaging$) {
      for(var $component$$471_elem$$64$$ = $eventTarget$$8_index$$72$$, $domElem$$5_shiftKey$$3$$ = this.getDomElement();$component$$471_elem$$64$$ != $domElem$$5_shiftKey$$3$$;) {
        if($component$$471_elem$$64$$ == this.$_ptUtils$.$_pagingControl$[0][0] || $component$$471_elem$$64$$ == this.$_ptUtils$.$_pagingControl$[0][1] || $component$$471_elem$$64$$ == this.$_ptUtils$.$_pagingControl$[1][1] || $component$$471_elem$$64$$ == this.$_ptUtils$.$_pagingControl$[1][0]) {
          $keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.ENTER_KEY && (this.$_updatedPagingInputValue$ = $JSCompiler_alias_TRUE$$);
          return
        }
        $component$$471_elem$$64$$ = $component$$471_elem$$64$$.parentNode
      }
    }
    var $altKey$$3$$ = $domEvent$$40$$.altKey, $ctrlKey$$3$$ = $domEvent$$40$$.ctrlKey, $domElem$$5_shiftKey$$3$$ = $domEvent$$40$$.shiftKey, $component$$471_elem$$64$$ = this.getComponent();
    if("A" == $eventTarget$$8_index$$72$$.tagName && $keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.ENTER_KEY) {
      var $attrs$$18_focusCellIndex_th$$ = $JSCompiler_StaticMethods__getDataCellKeyAndCell$$(this, $eventTarget$$8_index$$72$$);
      if($attrs$$18_focusCellIndex_th$$ != $JSCompiler_alias_NULL$$) {
        var $cell$$9_elems$$1_isMultipleCellsSelected$$ = $attrs$$18_focusCellIndex_th$$[1];
        if($attrs$$18_focusCellIndex_th$$[0] != $JSCompiler_alias_NULL$$ && $cell$$9_elems$$1_isMultipleCellsSelected$$.id && $cell$$9_elems$$1_isMultipleCellsSelected$$ == this.$_activeCell$) {
          return
        }
      }
    }
    if(!this.$_isAda$ && this.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$) {
      $attrs$$18_focusCellIndex_th$$ = this.$_focusCellIndex$;
      $cell$$9_elems$$1_isMultipleCellsSelected$$ = $JSCompiler_StaticMethods_isMultipleDatabodyCellsSelected$$(this);
      if($attrs$$18_focusCellIndex_th$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_getEdge$$($attrs$$18_focusCellIndex_th$$) == AdfPivotTableUtils.$DATABODY$ && this.$_activeCell$ != $JSCompiler_alias_NULL$$ && ($cell$$9_elems$$1_isMultipleCellsSelected$$ || $JSCompiler_StaticMethods__getDataCellFromCellIndex$$(this, $attrs$$18_focusCellIndex_th$$) == this.$_activeCell$)) {
        switch($keyCode$$15_newCellIndex$$inline_1875$$) {
          case AdfKeyStroke.ESC_KEY:
            $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel();
            !$JSCompiler_StaticMethods_preserveEditingBehavior$$(this) && $JSCompiler_alias_VOID$$ != $eventTarget$$8_index$$72$$.$_afrOldValue$ ? AdfDhtmlPivotTablePeer.$_hasFocusCellValueChanged$($eventTarget$$8_index$$72$$) ? (AdfPage.PAGE.scheduleTimer($JSCompiler_alias_NULL$$, AdfDhtmlPivotTablePeer.$_restoreFocusCellValue$, $eventTarget$$8_index$$72$$, 0), $JSCompiler_StaticMethods__isClickToEditAll$$(this) && ($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ = 
            $JSCompiler_StaticMethods__findInputComponent$$(this, $eventTarget$$8_index$$72$$, this.$_activeCell$), $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ != $JSCompiler_alias_NULL$$ && ($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.resetValue(), $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ = AdfRichUIPeer.getDomElementForComponent($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$), 
            $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ != $JSCompiler_alias_NULL$$ && $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.removeAttribute("_afrCellDirty")))) : ($JSCompiler_StaticMethods__isClickToEditAll$$(this) || $JSCompiler_StaticMethods__clearMessageAndRevalidate$$($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$), $JSCompiler_StaticMethods__processDismissCTE$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$), 
            this.$_isNavigationMode$ = $JSCompiler_alias_TRUE$$) : $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) && ($JSCompiler_StaticMethods__clearMessageAndRevalidate$$($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$), $JSCompiler_StaticMethods__processDismissCTE$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$));
            break;
          case AdfKeyStroke.TAB_KEY:
          ;
          case AdfKeyStroke.ENTER_KEY:
            $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = $JSCompiler_alias_TRUE$$;
            $eventTarget$$8_index$$72$$.$_afrOldValue$ != $JSCompiler_alias_VOID$$ && $eventTarget$$8_index$$72$$.$_afrOldValue$ != $eventTarget$$8_index$$72$$.value && ($agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = $JSCompiler_StaticMethods__clearMessageAndRevalidate$$($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$));
            $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel();
            $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ && ($keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.TAB_KEY ? $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $keyCode$$15_newCellIndex$$inline_1875$$) : $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $keyCode$$15_newCellIndex$$inline_1875$$));
            break;
          case AdfKeyStroke.ARROWLEFT_KEY:
          ;
          case AdfKeyStroke.ARROWRIGHT_KEY:
          ;
          case AdfKeyStroke.ARROWUP_KEY:
          ;
          case AdfKeyStroke.ARROWDOWN_KEY:
            !$JSCompiler_StaticMethods_preserveEditingBehavior$$(this) && ($ctrlKey$$3$$ && !$domElem$$5_shiftKey$$3$$) && ($agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = $JSCompiler_alias_TRUE$$, $eventTarget$$8_index$$72$$.$_afrOldValue$ != $JSCompiler_alias_VOID$$ && $eventTarget$$8_index$$72$$.$_afrOldValue$ != $eventTarget$$8_index$$72$$.value && ($agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = $JSCompiler_StaticMethods__clearMessageAndRevalidate$$($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$)), 
            $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel(), $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ && ($keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.ARROWLEFT_KEY || $keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.ARROWRIGHT_KEY ? $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $keyCode$$15_newCellIndex$$inline_1875$$) : 
            $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $keyCode$$15_newCellIndex$$inline_1875$$)))
        }
        return
      }
      $attrs$$18_focusCellIndex_th$$ = this.$_focusCellIndex$;
      if($attrs$$18_focusCellIndex_th$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_getEdge$$($attrs$$18_focusCellIndex_th$$) != AdfPivotTableUtils.$DATABODY$ && $keyCode$$15_newCellIndex$$inline_1875$$ == AdfKeyStroke.ENTER_KEY) {
        range = $JSCompiler_StaticMethods_newHeaderCellRange$$($attrs$$18_focusCellIndex_th$$);
        nodes = $JSCompiler_StaticMethods_getNodesInHeaderCellRange$$(this, range, $attrs$$18_focusCellIndex_th$$.edge);
        if(0 == nodes.length) {
          return
        }
        $attrs$$18_focusCellIndex_th$$ = nodes[0];
        $cell$$9_elems$$1_isMultipleCellsSelected$$ = $JSCompiler_StaticMethods__getInputElementsInNode$$(this, $attrs$$18_focusCellIndex_th$$);
        $eventTarget$$8_index$$72$$ = $JSCompiler_StaticMethods__getCurrentInputElementIndex$$($cell$$9_elems$$1_isMultipleCellsSelected$$, $eventTarget$$8_index$$72$$);
        if($cell$$9_elems$$1_isMultipleCellsSelected$$ != $JSCompiler_alias_NULL$$ && -1 == $eventTarget$$8_index$$72$$) {
          $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ = $attrs$$18_focusCellIndex_th$$.firstChild;
          if($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ == $JSCompiler_alias_NULL$$) {
            return
          }
          $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ = $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.firstChild;
          if($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ == $JSCompiler_alias_NULL$$ || "SPAN" != $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.nodeName) {
            return
          }
          $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$.getAttribute($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, "_dr") && $JSCompiler_StaticMethods_handleDrillAction$$(this, $component$$471_elem$$64$$, $attrs$$18_focusCellIndex_th$$);
          return
        }
      }
    }
    switch($keyCode$$15_newCellIndex$$inline_1875$$) {
      case 16:
      ;
      case 18:
        if(this.$_isAda$) {
          break
        }
        if($altKey$$3$$ && $domElem$$5_shiftKey$$3$$ && (!this.$_showingPivotHandleForShiftAlt$ && $JSCompiler_StaticMethods_isPivotEnabled$$(this)) && ($comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ = $JSCompiler_StaticMethods_getSelectedEdge$$(this), $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ == AdfPivotTableUtils.$ROW_EDGE$ || $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$ == AdfPivotTableUtils.$COLUMN_EDGE$)) {
          $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = $JSCompiler_StaticMethods_getLayerOfSelection$$(this), $JSCompiler_StaticMethods_isPivotable$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$) && ($JSCompiler_StaticMethods_hidePivotHandle$$(this), $JSCompiler_StaticMethods_showPivotHandle$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, 
          $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$, $JSCompiler_StaticMethods_getPivotHandle$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$, $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$)), this.$_showingPivotHandleForShiftAlt$ = $JSCompiler_alias_TRUE$$)
        }
        break;
      case AdfKeyStroke.ARROWRIGHT_KEY:
      ;
      case AdfKeyStroke.ARROWDOWN_KEY:
      ;
      case AdfKeyStroke.ARROWUP_KEY:
      ;
      case AdfKeyStroke.ARROWLEFT_KEY:
        if(this.$_isAda$) {
          break
        }
        $altKey$$3$$ ? $ctrlKey$$3$$ || this.$_attachmentMode$ || $JSCompiler_StaticMethods_handleKeyboardPivoting$$(this, $keyCode$$15_newCellIndex$$inline_1875$$, $domElem$$5_shiftKey$$3$$) : !$ctrlKey$$3$$ || $domElem$$5_shiftKey$$3$$ ? ($JSCompiler_StaticMethods_handleKeyboardNavigation$$(this, $domElem$$5_shiftKey$$3$$, $keyCode$$15_newCellIndex$$inline_1875$$, $JSCompiler_alias_FALSE$$), $JSCompiler_StaticMethods__focusElement$$(this.getDomElement())) : $JSCompiler_StaticMethods_handleCtrlArrowNavigation$$(this, 
        $keyCode$$15_newCellIndex$$inline_1875$$);
        $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel();
        break;
      case AdfKeyStroke.ESC_KEY:
        if(this.$_isAda$) {
          break
        }
        $altKey$$3$$ && $domElem$$5_shiftKey$$3$$ && $JSCompiler_StaticMethods_endKeyboardPivoting$$(this, $JSCompiler_alias_TRUE$$);
        break;
      case AdfKeyStroke.SPACE_KEY:
        if(this.$_isAda$) {
          break
        }
        $attrs$$18_focusCellIndex_th$$ = this.$_focusCellIndex$;
        $attrs$$18_focusCellIndex_th$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_getEdge$$($attrs$$18_focusCellIndex_th$$) != AdfPivotTableUtils.$DATABODY$ && $JSCompiler_StaticMethods_handleHeaderSelection$$(this, $attrs$$18_focusCellIndex_th$$, $domEvent$$40$$);
        $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel();
        break;
      case AdfKeyStroke.F2_KEY:
        if(this.$_isAda$) {
          break
        }
        $JSCompiler_StaticMethods_editCellWithFocus$$(this);
        break;
      case AdfKeyStroke.TAB_KEY:
        if(this.$_isAda$) {
          break
        }
        if(this.$_focusCellIndex$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_getEdge$$(this.$_focusCellIndex$) == AdfPivotTableUtils.$DATABODY$) {
          if(this.$_activeCell$ != $JSCompiler_alias_NULL$$) {
            $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel()
          }else {
            if($JSCompiler_StaticMethods__isReadOnly$$(this) && !$JSCompiler_StaticMethods_preserveEditingBehavior$$(this)) {
              a: {
                if(this.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$) {
                  $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = -1;
                  if($domElem$$5_shiftKey$$3$$) {
                    if(0 == this.$_focusCellIndex$.column) {
                      if(0 < this.$_focusCellIndex$.row) {
                        $keyCode$$15_newCellIndex$$inline_1875$$ = $JSCompiler_StaticMethods_newDataCellIndex$$(this.$_focusCellIndex$.row - 1, this.$_ptUtils$.$_colExtent$ - 1), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$(this, $keyCode$$15_newCellIndex$$inline_1875$$)
                      }else {
                        break a
                      }
                    }else {
                      $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = this.$_ptUtils$.$_rightToLeft$ ? AdfKeyStroke.ARROWRIGHT_KEY : AdfKeyStroke.ARROWLEFT_KEY
                    }
                  }else {
                    if(this.$_focusCellIndex$.column == this.$_ptUtils$.$_colExtent$ - 1) {
                      if(this.$_focusCellIndex$.row < this.$_ptUtils$.$_rowExtent$ - 1) {
                        $keyCode$$15_newCellIndex$$inline_1875$$ = $JSCompiler_StaticMethods_newDataCellIndex$$(this.$_focusCellIndex$.row + 1, 0), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$(this, $keyCode$$15_newCellIndex$$inline_1875$$)
                      }else {
                        break a
                      }
                    }else {
                      $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ = this.$_ptUtils$.$_rightToLeft$ ? AdfKeyStroke.ARROWLEFT_KEY : AdfKeyStroke.ARROWRIGHT_KEY
                    }
                  }
                  -1 != $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$ && $JSCompiler_StaticMethods_handleKeyboardNavigation$$(this, $JSCompiler_alias_FALSE$$, $agent$$35_currentLayer$$inline_1869_isValid_keyCode$$inline_1874$$, $JSCompiler_alias_FALSE$$);
                  $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$.cancel()
                }
              }
            }else {
              $JSCompiler_StaticMethods_handleTABKey_NonEditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$)
            }
          }
        }else {
          $JSCompiler_StaticMethods_handleTABKey_NonEditMode$$(this, $comp$$6_componentEvent$$92_currentEdge$$inline_1868_div$$2_domElement$$171_span$$)
        }
        break;
      case AdfKeyStroke.M_KEY:
        $ctrlKey$$3$$ && $altKey$$3$$ && this.$handleKeyboardContextMenu$($domEvent$$40$$);
        break;
      case AdfKeyStroke.ENTER_KEY:
        if(this.$_isAda$) {
          break
        }
        $JSCompiler_StaticMethods_preserveEditingBehavior$$(this) || ($JSCompiler_StaticMethods__isReadOnly$$(this) ? $JSCompiler_StaticMethods_handleEnterKey$$(this, $domEvent$$40$$) : (this.$domEventForReadOnlyContentCheck$ = AdfAgent.AGENT.copyEvent($domEvent$$40$$), $JSCompiler_StaticMethods_editCellWithFocus$$(this)))
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentKeyDown", AdfDhtmlPivotTablePeer.prototype.$HandleComponentKeyDown$);
AdfDhtmlPivotTablePeer.prototype.HandleComponentKeyUp = function $AdfDhtmlPivotTablePeer$$HandleComponentKeyUp$($componentEvent$$93_domEvent$$41$$) {
  this.$_isAda$ || ($componentEvent$$93_domEvent$$41$$ = $componentEvent$$93_domEvent$$41$$.getNativeEvent(), (!$componentEvent$$93_domEvent$$41$$.altKey || !$componentEvent$$93_domEvent$$41$$.shiftKey && this.$_keyboardPivotingShiftKey$) && $JSCompiler_StaticMethods_endKeyboardPivoting$$(this, $JSCompiler_alias_FALSE$$))
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentKeyUp", AdfDhtmlPivotTablePeer.prototype.HandleComponentKeyUp);
AdfDhtmlPivotTablePeer.$_hasFocusCellValueChanged$ = function $AdfDhtmlPivotTablePeer$$_hasFocusCellValueChanged$$($eventTarget$$9$$) {
  if("INPUT" == $eventTarget$$9$$.tagName) {
    if("text" == $eventTarget$$9$$.type) {
      return $eventTarget$$9$$.$_afrOldValue$ != $eventTarget$$9$$.value
    }
    if("checkbox" == $eventTarget$$9$$.type || "radio" == $eventTarget$$9$$.type) {
      return $eventTarget$$9$$.$_afrOldValue$ != $eventTarget$$9$$.checked
    }
  }else {
    if("SELECT" == $eventTarget$$9$$.tagName) {
      for(var $i$$153$$ = 0;$i$$153$$ < $eventTarget$$9$$.options.length;$i$$153$$++) {
        if($eventTarget$$9$$.options[$i$$153$$].selected) {
          return $eventTarget$$9$$.$_afrOldValue$ != $eventTarget$$9$$.options[$i$$153$$].value
        }
      }
    }else {
      if("TEXTAREA" == $eventTarget$$9$$.tagName) {
        return $eventTarget$$9$$.$_afrOldValue$ != $eventTarget$$9$$.value
      }
    }
  }
  return $JSCompiler_alias_FALSE$$
};
AdfDhtmlPivotTablePeer.$_saveFocusCellValue$ = function $AdfDhtmlPivotTablePeer$$_saveFocusCellValue$$($eventTarget$$10$$) {
  if("INPUT" == $eventTarget$$10$$.tagName) {
    if("text" == $eventTarget$$10$$.type) {
      $eventTarget$$10$$.$_afrOldValue$ = $eventTarget$$10$$.value
    }else {
      if("checkbox" == $eventTarget$$10$$.type || "radio" == $eventTarget$$10$$.type) {
        $eventTarget$$10$$.$_afrOldValue$ = $eventTarget$$10$$.checked
      }
    }
  }else {
    if("SELECT" == $eventTarget$$10$$.tagName) {
      for(var $i$$154$$ = 0;$i$$154$$ < $eventTarget$$10$$.options.length;$i$$154$$++) {
        $eventTarget$$10$$.options[$i$$154$$].selected && ($eventTarget$$10$$.$_afrOldValue$ = $eventTarget$$10$$.options[$i$$154$$].value)
      }
    }else {
      "TEXTAREA" == $eventTarget$$10$$.tagName && ($eventTarget$$10$$.$_afrOldValue$ = $eventTarget$$10$$.value)
    }
  }
};
AdfDhtmlPivotTablePeer.$_restoreFocusCellValue$ = function $AdfDhtmlPivotTablePeer$$_restoreFocusCellValue$$($eventTarget$$11$$) {
  if("INPUT" == $eventTarget$$11$$.tagName) {
    if("text" == $eventTarget$$11$$.type) {
      $eventTarget$$11$$.value = $eventTarget$$11$$.$_afrOldValue$, $eventTarget$$11$$.select()
    }else {
      if("checkbox" == $eventTarget$$11$$.type || "radio" == $eventTarget$$11$$.type) {
        $eventTarget$$11$$.checked = $eventTarget$$11$$.$_afrOldValue$
      }
    }
  }else {
    if("SELECT" == $eventTarget$$11$$.tagName) {
      for(var $i$$155$$ = 0;$i$$155$$ < $eventTarget$$11$$.options.length;$i$$155$$++) {
        $eventTarget$$11$$.options[$i$$155$$].selected = $JSCompiler_alias_FALSE$$, $eventTarget$$11$$.$_afrOldValue$ == $eventTarget$$11$$.options[$i$$155$$].value && ($eventTarget$$11$$.options[$i$$155$$].selected = $JSCompiler_alias_TRUE$$)
      }
    }else {
      "TEXTAREA" == $eventTarget$$11$$.tagName && ($eventTarget$$11$$.value = $eventTarget$$11$$.$_afrOldValue$, $eventTarget$$11$$.select())
    }
  }
};
function $JSCompiler_StaticMethods_isDataCellInBuffer$$($JSCompiler_StaticMethods_isDataCellInBuffer$self$$, $dataCellIndex$$2$$) {
  for(var $edge$$11$$ = 0;2 > $edge$$11$$;++$edge$$11$$) {
    var $slice$$3$$ = $dataCellIndex$$2$$[$JSCompiler_StaticMethods_isDataCellInBuffer$self$$.$_ptUtils$.$sliceAttr$[$edge$$11$$]], $bufferEndSlice_pane$$1$$ = $slice$$3$$ < $JSCompiler_StaticMethods_isDataCellInBuffer$self$$.$_ptUtils$.$_splitSlice$[$edge$$11$$] ? 0 : 1, $bufferStartSlice$$ = $JSCompiler_StaticMethods_getBufferStartSlice$$($JSCompiler_StaticMethods_isDataCellInBuffer$self$$, $edge$$11$$, $bufferEndSlice_pane$$1$$);
    if($slice$$3$$ < $bufferStartSlice$$) {
      return $JSCompiler_alias_FALSE$$
    }
    $bufferEndSlice_pane$$1$$ = $JSCompiler_StaticMethods_getBufferEndSlice$$($JSCompiler_StaticMethods_isDataCellInBuffer$self$$, $edge$$11$$, $bufferEndSlice_pane$$1$$);
    if($slice$$3$$ >= $bufferEndSlice_pane$$1$$) {
      return $JSCompiler_alias_FALSE$$
    }
  }
  return $JSCompiler_alias_TRUE$$
}
function $JSCompiler_StaticMethods_handleEnterKey$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $domEvent$$42$$) {
  if($JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$ != $JSCompiler_alias_NULL$$) {
    var $activeCellKey$$1_newCellIndex_scroller$$14$$;
    $domEvent$$42$$.shiftKey ? $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row == $JSCompiler_StaticMethods_handleEnterKey$self$$.$_ptUtils$.$_splitSlice$[1] ? $activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_closestVisibleDataCellIndex$$($JSCompiler_StaticMethods_handleEnterKey$self$$, 1, 0, $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.column) : 0 < $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row && 
    ($activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row - 1, $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.column)) : $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row + 1 == $JSCompiler_StaticMethods_handleEnterKey$self$$.$_ptUtils$.$_splitSlice$[1] ? $activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_closestVisibleDataCellIndex$$($JSCompiler_StaticMethods_handleEnterKey$self$$, 
    1, 1, $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.column) : $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row + 1 < $JSCompiler_StaticMethods_handleEnterKey$self$$.$_ptUtils$.$_rowExtent$ && ($activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.row + 1, $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.column));
    if($activeCellKey$$1_newCellIndex_scroller$$14$$ == $JSCompiler_alias_NULL$$) {
      !$JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods_handleEnterKey$self$$) && !$JSCompiler_StaticMethods__isClickToEditAll$$($JSCompiler_StaticMethods_handleEnterKey$self$$) && ($activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_handleEnterKey$self$$.getComponent().getProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$), $JSCompiler_StaticMethods__queueClickToEditEvent$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $activeCellKey$$1_newCellIndex_scroller$$14$$, 
      $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods_handleEnterKey$self$$.$_cellRowHeight$, $JSCompiler_alias_NULL$$) && ($JSCompiler_StaticMethods_handleEnterKey$self$$.$_oldActiveCellKey$ = $activeCellKey$$1_newCellIndex_scroller$$14$$))
    }else {
      if($JSCompiler_StaticMethods_isDataCellInBuffer$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $activeCellKey$$1_newCellIndex_scroller$$14$$)) {
        $JSCompiler_StaticMethods_selectAndFocusDataCell$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $activeCellKey$$1_newCellIndex_scroller$$14$$), $JSCompiler_StaticMethods_scrollToDataCell$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $activeCellKey$$1_newCellIndex_scroller$$14$$), $JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods_handleEnterKey$self$$) || $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods_handleEnterKey$self$$)
      }else {
        var $cellHeight_isLongScroll$$ = $JSCompiler_StaticMethods_handleEnterKey$self$$.$_focusCellIndex$.column != $activeCellKey$$1_newCellIndex_scroller$$14$$.column;
        $JSCompiler_StaticMethods_selectAndFocusDataCell$$($JSCompiler_StaticMethods_handleEnterKey$self$$, $activeCellKey$$1_newCellIndex_scroller$$14$$);
        $JSCompiler_StaticMethods_handleEnterKey$self$$.$_isEditingCellWithFocus$ = $JSCompiler_alias_TRUE$$;
        $cellHeight_isLongScroll$$ ? $JSCompiler_StaticMethods_handleEnterKey$self$$.$longJumpToCell$($activeCellKey$$1_newCellIndex_scroller$$14$$.row, $activeCellKey$$1_newCellIndex_scroller$$14$$.column) : ($activeCellKey$$1_newCellIndex_scroller$$14$$ = $JSCompiler_StaticMethods_handleEnterKey$self$$.$_ptUtils$.$_databodyScrollers$[$activeCellKey$$1_newCellIndex_scroller$$14$$.row < $JSCompiler_StaticMethods_handleEnterKey$self$$.$_ptUtils$.$_splitSlice$[1] ? 0 : 1][1], $cellHeight_isLongScroll$$ = 
        $JSCompiler_StaticMethods_handleEnterKey$self$$.$_activeCell$.parentNode.offsetHeight, $activeCellKey$$1_newCellIndex_scroller$$14$$.scrollTop = $domEvent$$42$$.shiftKey ? $activeCellKey$$1_newCellIndex_scroller$$14$$.scrollTop - $cellHeight_isLongScroll$$ : $activeCellKey$$1_newCellIndex_scroller$$14$$.scrollTop + $cellHeight_isLongScroll$$, $JSCompiler_StaticMethods_handleEnterKey$self$$.$HandleDomScroll$($JSCompiler_StaticMethods_handleEnterKey$self$$.getComponent()))
      }
    }
  }
}
function $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$, $componentEvent$$94_shortScroll$$, $keyCode$$16$$) {
  var $activeCellKey$$2_domEvent$$43$$ = $componentEvent$$94_shortScroll$$.getNativeEvent();
  if($keyCode$$16$$ == AdfKeyStroke.ENTER_KEY) {
    $JSCompiler_StaticMethods_handleEnterKey$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$, $activeCellKey$$2_domEvent$$43$$)
  }else {
    if($keyCode$$16$$ == AdfKeyStroke.ARROWUP_KEY && 0 == $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_focusCellIndex$.row) {
      $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_navigateToHeaderKeyCode$ = AdfKeyStroke.ARROWUP_KEY, $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$, $componentEvent$$94_shortScroll$$)
    }else {
      if($keyCode$$16$$ == AdfKeyStroke.ARROWDOWN_KEY || $keyCode$$16$$ == AdfKeyStroke.ARROWUP_KEY) {
        $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_setFocusOnLastElement$ = $keyCode$$16$$ == AdfKeyStroke.ARROWUP_KEY ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$, $JSCompiler_StaticMethods_handleKeyboardNavigation$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$, $JSCompiler_alias_FALSE$$, $keyCode$$16$$, $JSCompiler_alias_TRUE$$), ($componentEvent$$94_shortScroll$$ = $JSCompiler_StaticMethods__isShortScrollActive$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$)) ? 
        $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_isEditingCellWithFocus$ = $JSCompiler_alias_TRUE$$ : ($activeCellKey$$2_domEvent$$43$$ = $JSCompiler_StaticMethods_getCoordinates$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$, $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_activeCell$), $keyCode$$16$$ == AdfKeyStroke.ARROWDOWN_KEY && $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_focusCellIndex$ != $JSCompiler_alias_NULL$$ && 
        !$componentEvent$$94_shortScroll$$ && $activeCellKey$$2_domEvent$$43$$.col == $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_focusCellIndex$.column && $activeCellKey$$2_domEvent$$43$$.row == $JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$.$_focusCellIndex$.row || $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods_handleEnterUpDownKey_EditMode$self$$))
      }
    }
  }
}
function $JSCompiler_StaticMethods_scrollToCellIndexCTE$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$, $newCellIndex$$1$$) {
  $JSCompiler_StaticMethods_selectAndFocusDataCell$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$, $newCellIndex$$1$$);
  $JSCompiler_StaticMethods_isDataCellInBuffer$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$, $newCellIndex$$1$$) ? ($JSCompiler_StaticMethods_scrollToDataCell$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$, $newCellIndex$$1$$), $JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$) || $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$)) : ($JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$.$_isEditingCellWithFocus$ = 
  $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods_scrollToCellIndexCTE$self$$.$longJumpToCell$($newCellIndex$$1$$.row, $newCellIndex$$1$$.column))
}
function $JSCompiler_StaticMethods_handleEditLeftCell$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, $componentEvent$$96_newCellIndex$$3$$, $isTabKey$$) {
  var $activeCellKey$$3$$ = $JSCompiler_StaticMethods_getCoordinates$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_activeCell$);
  0 != $activeCellKey$$3$$.col && !$JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rightToLeft$ || $activeCellKey$$3$$.col < $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_colExtent$ - 1 && $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rightToLeft$ ? ($JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_setFocusOnLastElement$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods_handleKeyboardNavigation$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, 
  $JSCompiler_alias_FALSE$$, AdfKeyStroke.ARROWLEFT_KEY, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__isShortScrollActive$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$) && ($JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_isEditingCellWithFocus$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__isClickToEditAll$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$) && $JSCompiler_StaticMethods__dismissPreviousActiveCell$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, 
  $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_activeCell$, $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_activeCell$, $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_oldRowHeight$)), $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$)) : $isTabKey$$ ? !$JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rightToLeft$ && 0 == $activeCellKey$$3$$.col ? $JSCompiler_StaticMethods_preserveEditingBehavior$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$) || 
  0 == $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_focusCellIndex$.row ? $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, $componentEvent$$96_newCellIndex$$3$$) : ($componentEvent$$96_newCellIndex$$3$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_focusCellIndex$.row - 1, $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_colExtent$ - 1), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, 
  $componentEvent$$96_newCellIndex$$3$$)) : $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rightToLeft$ && $activeCellKey$$3$$.col == $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_colExtent$ - 1 && ($JSCompiler_StaticMethods_preserveEditingBehavior$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$) || $activeCellKey$$3$$.row == $JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rowExtent$ - 1 ? $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, 
  $componentEvent$$96_newCellIndex$$3$$) : ($componentEvent$$96_newCellIndex$$3$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_focusCellIndex$.row + 1, 0), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, $componentEvent$$96_newCellIndex$$3$$))) : !$JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_ptUtils$.$_rightToLeft$ && 0 == $activeCellKey$$3$$.col && ($JSCompiler_StaticMethods_handleEditLeftCell$self$$.$_navigateToHeaderKeyCode$ = 
  AdfKeyStroke.ARROWLEFT_KEY, $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditLeftCell$self$$, $componentEvent$$96_newCellIndex$$3$$))
}
function $JSCompiler_StaticMethods_handleEditRightCell$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$, $isTabKey$$1$$) {
  var $activeCellKey$$4$$ = $JSCompiler_StaticMethods_getCoordinates$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_activeCell$);
  $activeCellKey$$4$$.col < $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_colExtent$ - 1 && !$JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_rightToLeft$ || 0 != $activeCellKey$$4$$.col && $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_rightToLeft$ ? ($JSCompiler_StaticMethods_handleKeyboardNavigation$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $JSCompiler_alias_FALSE$$, AdfKeyStroke.ARROWRIGHT_KEY, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__isShortScrollActive$$($JSCompiler_StaticMethods_handleEditRightCell$self$$) && 
  ($JSCompiler_StaticMethods_handleEditRightCell$self$$.$_isEditingCellWithFocus$ = $JSCompiler_alias_TRUE$$, $JSCompiler_StaticMethods__isClickToEditAll$$($JSCompiler_StaticMethods_handleEditRightCell$self$$) && $JSCompiler_StaticMethods__dismissPreviousActiveCell$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_activeCell$, $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_activeCell$, $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_oldRowHeight$)), 
  $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods_handleEditRightCell$self$$)) : !$JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_rightToLeft$ && $activeCellKey$$4$$.col == $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_colExtent$ - 1 ? $isTabKey$$1$$ && ($JSCompiler_StaticMethods_preserveEditingBehavior$$($JSCompiler_StaticMethods_handleEditRightCell$self$$) || $activeCellKey$$4$$.row == $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_rowExtent$ - 
  1 ? $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$) : ($componentEvent$$97_newCellIndex$$4$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEditRightCell$self$$.$_focusCellIndex$.row + 1, 0), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$))) : $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_rightToLeft$ && 
  0 == $activeCellKey$$4$$.col && ($isTabKey$$1$$ ? 0 == $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_focusCellIndex$.row ? $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$) : ($componentEvent$$97_newCellIndex$$4$$ = $JSCompiler_StaticMethods_newDataCellIndex$$($JSCompiler_StaticMethods_handleEditRightCell$self$$.$_focusCellIndex$.row - 1, $JSCompiler_StaticMethods_handleEditRightCell$self$$.$_ptUtils$.$_colExtent$ - 
  1), $JSCompiler_StaticMethods_scrollToCellIndexCTE$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$)) : ($JSCompiler_StaticMethods_handleEditRightCell$self$$.$_navigateToHeaderKeyCode$ = AdfKeyStroke.ARROWRIGHT_KEY, $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleEditRightCell$self$$, $componentEvent$$97_newCellIndex$$4$$)))
}
function $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $elems$$2_keyCode$$18$$) {
  var $domEvent$$44$$ = $componentEvent$$98$$.getNativeEvent(), $eventTarget$$12$$ = AdfAgent.AGENT.getEventTarget($domEvent$$44$$), $dataCell_index$$73$$ = $JSCompiler_StaticMethods__getDataCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $eventTarget$$12$$), $rightToLeft$$ = $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$.$_ptUtils$.$_rightToLeft$;
  $dataCell_index$$73$$ ? $elems$$2_keyCode$$18$$ == AdfKeyStroke.TAB_KEY ? ($elems$$2_keyCode$$18$$ = $JSCompiler_StaticMethods__getInputElementsInNode$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $dataCell_index$$73$$), $dataCell_index$$73$$ = $JSCompiler_StaticMethods__getCurrentInputElementIndex$$($elems$$2_keyCode$$18$$, $eventTarget$$12$$), $domEvent$$44$$.shiftKey && !$rightToLeft$$ || !$domEvent$$44$$.shiftKey && $rightToLeft$$ ? $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$.$_isAncestorOrSelf$($elems$$2_keyCode$$18$$[0], 
  $eventTarget$$12$$) ? $JSCompiler_StaticMethods_handleEditLeftCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_TRUE$$) : $JSCompiler_StaticMethods__focusElement$$(-1 == $dataCell_index$$73$$ ? $elems$$2_keyCode$$18$$[0] : $elems$$2_keyCode$$18$$[$dataCell_index$$73$$ - 1]) : $JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$.$_isAncestorOrSelf$($elems$$2_keyCode$$18$$[$elems$$2_keyCode$$18$$.length - 1], $eventTarget$$12$$) ? 
  $JSCompiler_StaticMethods_handleEditRightCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_TRUE$$) : $JSCompiler_StaticMethods__focusElement$$(-1 == $dataCell_index$$73$$ ? $elems$$2_keyCode$$18$$[0] : $elems$$2_keyCode$$18$$[$dataCell_index$$73$$ + 1])) : $elems$$2_keyCode$$18$$ == AdfKeyStroke.ARROWLEFT_KEY ? $JSCompiler_StaticMethods_handleEditLeftCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, 
  $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods_handleEditRightCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_FALSE$$) : $elems$$2_keyCode$$18$$ == AdfKeyStroke.TAB_KEY ? $domEvent$$44$$.shiftKey && !$rightToLeft$$ || !$domEvent$$44$$.shiftKey && $rightToLeft$$ ? $JSCompiler_StaticMethods_handleEditLeftCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_TRUE$$) : 
  $JSCompiler_StaticMethods_handleEditRightCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_TRUE$$) : $elems$$2_keyCode$$18$$ == AdfKeyStroke.ARROWLEFT_KEY ? $JSCompiler_StaticMethods_handleEditLeftCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods_handleEditRightCell$$($JSCompiler_StaticMethods_handleTabLeftRightKey_EditMode$self$$, $componentEvent$$98$$, 
  $JSCompiler_alias_FALSE$$)
}
function $JSCompiler_StaticMethods_handleTABKey_NonEditMode$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$, $componentEvent$$99$$) {
  var $domElement$$172_domEvent$$45_lastTabStop$$ = $componentEvent$$99$$.getNativeEvent();
  if(!$JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$.$_isAda$) {
    if($JSCompiler_StaticMethods__getActiveCellKey$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$) == $JSCompiler_alias_NULL$$) {
      var $JSCompiler_inline_result$$55_domEvent$$inline_1879$$;
      a: {
        $JSCompiler_inline_result$$55_domEvent$$inline_1879$$ = $componentEvent$$99$$.getNativeEvent();
        var $eventTarget$$inline_1880_index$$inline_1885$$ = AdfAgent.AGENT.getEventTarget($JSCompiler_inline_result$$55_domEvent$$inline_1879$$), $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$ = $JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$.$_focusCellIndex$;
        if($elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_isHeaderCellIndex$$($elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$)) {
          var $range$$inline_1882$$ = $JSCompiler_StaticMethods_newHeaderCellRange$$($elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$), $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$ = $JSCompiler_StaticMethods_getNodesInHeaderCellRange$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$, $range$$inline_1882$$, $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$.edge);
          if(0 < $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$.length && ($elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$ = $JSCompiler_StaticMethods__getInputElementsInNode$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$, $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$[0]), $eventTarget$$inline_1880_index$$inline_1885$$ = $JSCompiler_StaticMethods__getCurrentInputElementIndex$$($elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$, 
          $eventTarget$$inline_1880_index$$inline_1885$$), 0 < $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$.length)) {
            if(!$JSCompiler_inline_result$$55_domEvent$$inline_1879$$.shiftKey && $eventTarget$$inline_1880_index$$inline_1885$$ != $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$.length - 1) {
              $componentEvent$$99$$.cancel();
              $JSCompiler_StaticMethods__focusElement$$(-1 == $eventTarget$$inline_1880_index$$inline_1885$$ ? $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$[0] : $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$[$eventTarget$$inline_1880_index$$inline_1885$$ + 1]);
              $JSCompiler_inline_result$$55_domEvent$$inline_1879$$ = $JSCompiler_alias_TRUE$$;
              break a
            }
            if($JSCompiler_inline_result$$55_domEvent$$inline_1879$$.shiftKey && 0 != $eventTarget$$inline_1880_index$$inline_1885$$) {
              $componentEvent$$99$$.cancel();
              $JSCompiler_StaticMethods__focusElement$$(-1 == $eventTarget$$inline_1880_index$$inline_1885$$ ? $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$[$elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$.length - 1] : $elems$$inline_1884_focusCellIndex$$inline_1881_nodes$$inline_1883$$[$eventTarget$$inline_1880_index$$inline_1885$$ - 1]);
              $JSCompiler_inline_result$$55_domEvent$$inline_1879$$ = $JSCompiler_alias_TRUE$$;
              break a
            }
          }
        }
        $JSCompiler_inline_result$$55_domEvent$$inline_1879$$ = $JSCompiler_alias_FALSE$$
      }
      $JSCompiler_inline_result$$55_domEvent$$inline_1879$$ || ($domElement$$172_domEvent$$45_lastTabStop$$.shiftKey ? $JSCompiler_StaticMethods__focusElement$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$.getDomElement()) : ($domElement$$172_domEvent$$45_lastTabStop$$ = $JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$.getDomElement(), $domElement$$172_domEvent$$45_lastTabStop$$ = AdfDhtmlPivotTablePeer.$_getChildById$($domElement$$172_domEvent$$45_lastTabStop$$.childNodes[0], 
      $domElement$$172_domEvent$$45_lastTabStop$$.id + "::ScrollbarTesterParent"), $domElement$$172_domEvent$$45_lastTabStop$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__focusElement$$($domElement$$172_domEvent$$45_lastTabStop$$)))
    }else {
      $JSCompiler_StaticMethods__clearMessageAndRevalidate$$($componentEvent$$99$$), $componentEvent$$99$$.cancel(), $JSCompiler_StaticMethods__processDismissCTE$$($JSCompiler_StaticMethods_handleTABKey_NonEditMode$self$$, $componentEvent$$99$$)
    }
  }
}
AdfDhtmlPivotTablePeer.prototype.$handleKeyboardContextMenu$ = function $AdfDhtmlPivotTablePeer$$$handleKeyboardContextMenu$$($domEvent$$47$$) {
  if(!this.$_attachmentMode$ && $JSCompiler_StaticMethods_isSelectionUiEnabled$$(this)) {
    if(this.getDomElement().focus(), this.$_isAda$) {
      var $focusCellIndex$$2_nothingSelected$$ = $JSCompiler_StaticMethods_getSelectedEdge$$(this) == $JSCompiler_alias_NULL$$;
      $JSCompiler_StaticMethods__displayContextMenu$$(this, $domEvent$$47$$, $focusCellIndex$$2_nothingSelected$$)
    }else {
      if($focusCellIndex$$2_nothingSelected$$ = this.$_focusCellIndex$, $focusCellIndex$$2_nothingSelected$$ == $JSCompiler_alias_NULL$$) {
        $JSCompiler_StaticMethods__displayContextMenu$$(this, $domEvent$$47$$, $JSCompiler_alias_TRUE$$)
      }else {
        if($JSCompiler_StaticMethods_isHeaderCellIndex$$($focusCellIndex$$2_nothingSelected$$)) {
          var $nodes$$7_range$$9$$ = $JSCompiler_StaticMethods_newHeaderCellRange$$($focusCellIndex$$2_nothingSelected$$), $nodes$$7_range$$9$$ = $JSCompiler_StaticMethods_getNodesInHeaderCellRange$$(this, $nodes$$7_range$$9$$, $focusCellIndex$$2_nothingSelected$$.edge);
          0 < $nodes$$7_range$$9$$.length && (this.isSelected($focusCellIndex$$2_nothingSelected$$) || $JSCompiler_StaticMethods_selectAndFocusHeaderCell$$(this, $focusCellIndex$$2_nothingSelected$$), $JSCompiler_StaticMethods__displayContextMenu$$(this, $domEvent$$47$$, $JSCompiler_alias_FALSE$$, $nodes$$7_range$$9$$[0]))
        }else {
          $nodes$$7_range$$9$$ = $JSCompiler_StaticMethods_newDataCellRange$$($focusCellIndex$$2_nothingSelected$$), $nodes$$7_range$$9$$ = $JSCompiler_StaticMethods_getNodesInDataCellRange$$(this, $nodes$$7_range$$9$$), 0 < $nodes$$7_range$$9$$.length && $JSCompiler_StaticMethods__displayContextMenu$$(this, $domEvent$$47$$, $JSCompiler_alias_FALSE$$, $nodes$$7_range$$9$$[0])
        }
      }
    }
  }
};
AdfDhtmlPivotTablePeer.prototype.HandleComponentMouseOver = function $AdfDhtmlPivotTablePeer$$HandleComponentMouseOver$($componentEvent$$101_target$$119_th$$1$$) {
  !this.$_isAda$ && (!AdfPivotTableUtils.$isMobileTouchDevice$() && !this.$_attachmentMode$) && (!this.$_resizeDragState$ && (!this.$_headerSelectionDragState$ && !this.$_databodySelectionDragState$) && this.$_isSortEnabled$) && ($componentEvent$$101_target$$119_th$$1$$ = $componentEvent$$101_target$$119_th$$1$$.getNativeEventTarget(), ($componentEvent$$101_target$$119_th$$1$$ = $JSCompiler_StaticMethods__getParentElement$$(this, $componentEvent$$101_target$$119_th$$1$$, "TH")) && $JSCompiler_StaticMethods__setSortIndicatorEnabled$$(this, 
  $componentEvent$$101_target$$119_th$$1$$, $JSCompiler_alias_TRUE$$))
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentMouseOver", AdfDhtmlPivotTablePeer.prototype.HandleComponentMouseOver);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentMouseOut$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentMouseOut$$($componentEvent$$102_target$$120_th$$2$$) {
  !this.$_isAda$ && !AdfPivotTableUtils.$isMobileTouchDevice$() && ($JSCompiler_StaticMethods_hidePivotHandle$$(this), this.$_isSortEnabled$ && ($componentEvent$$102_target$$120_th$$2$$ = $componentEvent$$102_target$$120_th$$2$$.getNativeEventTarget(), ($componentEvent$$102_target$$120_th$$2$$ = $JSCompiler_StaticMethods__getParentElement$$(this, $componentEvent$$102_target$$120_th$$2$$, "TH")) && $JSCompiler_StaticMethods__setSortIndicatorEnabled$$(this, $componentEvent$$102_target$$120_th$$2$$, 
  $JSCompiler_alias_FALSE$$)))
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentMouseOut", AdfDhtmlPivotTablePeer.prototype.$HandleComponentMouseOut$);
AdfDhtmlPivotTablePeer.prototype.$HandleDomMouseMove$ = function $AdfDhtmlPivotTablePeer$$$HandleDomMouseMove$$($component$$472$$, $domEvent$$48$$) {
  if(!this.$_isAda$ && !AdfPivotTableUtils.$isMobileTouchDevice$() && this.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$ && !this.$_resizeDragState$ && !this.$_headerSelectionDragState$ && !this.$_databodySelectionDragState$) {
    var $agent$$38$$ = AdfAgent.AGENT, $isIE8Plus$$ = AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM && 8 <= $agent$$38$$.getVersion();
    this.$_oldMousePos$ = $agent$$38$$.getMousePosition($domEvent$$48$$);
    var $context$$32_isEmptyEdge_pivotHandle$$1$$ = $JSCompiler_StaticMethods__getMouseContext$$(this, $domEvent$$48$$), $action$$3_edge$$12_target$$inline_1891$$ = $JSCompiler_StaticMethods__getHeaderResizeMouseAction$$(this, $agent$$38$$, $context$$32_isEmptyEdge_pivotHandle$$1$$), $headerCell$$1$$;
    $action$$3_edge$$12_target$$inline_1891$$ && ($headerCell$$1$$ = $action$$3_edge$$12_target$$inline_1891$$.cell);
    var $bSetCursor$$ = $JSCompiler_alias_FALSE$$;
    $action$$3_edge$$12_target$$inline_1891$$ && ($headerCell$$1$$ && "resize" == $action$$3_edge$$12_target$$inline_1891$$.type && !this.$_resizedCell$) && ($bSetCursor$$ = $JSCompiler_alias_TRUE$$, "startRow" == $action$$3_edge$$12_target$$inline_1891$$.data || "endRow" == $action$$3_edge$$12_target$$inline_1891$$.data ? AdfDhtmlPivotTablePeer.$_setCursor$($headerCell$$1$$, $agent$$38$$.getCursor("row-resize")) : AdfDhtmlPivotTablePeer.$_setCursor$($headerCell$$1$$, $agent$$38$$.getCursor("col-resize")));
    if($context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$ && $context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$.cell || $context$$32_isEmptyEdge_pivotHandle$$1$$.$pivotHandleContext$) {
      var $layer$$10$$, $bPivotHeader$$ = $JSCompiler_alias_FALSE$$;
      $context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$ ? ($action$$3_edge$$12_target$$inline_1891$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$.edge, $layer$$10$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$.layer, $context$$32_isEmptyEdge_pivotHandle$$1$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$headerContext$.$isEmptyEdge$, !$context$$32_isEmptyEdge_pivotHandle$$1$$ && !$bSetCursor$$ && (AdfDhtmlPivotTablePeer.$_setCursor$($headerCell$$1$$, this.$_headerSelectionCursors$[$action$$3_edge$$12_target$$inline_1891$$]), 
      $bSetCursor$$ = $JSCompiler_alias_TRUE$$)) : ($bPivotHeader$$ = $JSCompiler_alias_TRUE$$, $action$$3_edge$$12_target$$inline_1891$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$pivotHandleContext$.edge, $layer$$10$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$pivotHandleContext$.layer, $context$$32_isEmptyEdge_pivotHandle$$1$$ = $context$$32_isEmptyEdge_pivotHandle$$1$$.$pivotHandleContext$.$isEmptyEdge$);
      if(!this.$_attachmentMode$) {
        if($context$$32_isEmptyEdge_pivotHandle$$1$$) {
          $JSCompiler_StaticMethods_hidePivotHandle$$(this)
        }else {
          if($context$$32_isEmptyEdge_pivotHandle$$1$$ = $JSCompiler_StaticMethods_getPivotHandle$$(this, $action$$3_edge$$12_target$$inline_1891$$, $layer$$10$$), $bPivotHeader$$ && ($JSCompiler_StaticMethods_isPivotEnabled$$(this) && $JSCompiler_StaticMethods_isPivotable$$(this, $action$$3_edge$$12_target$$inline_1891$$, $layer$$10$$, $context$$32_isEmptyEdge_pivotHandle$$1$$)) && ($bSetCursor$$ = $JSCompiler_alias_TRUE$$, AdfDhtmlPivotTablePeer.$_setCursor$($context$$32_isEmptyEdge_pivotHandle$$1$$, 
          $agent$$38$$.getCursor("move"))), this.$_currentPivotHandle$ == $JSCompiler_alias_NULL$$ || $context$$32_isEmptyEdge_pivotHandle$$1$$ != $JSCompiler_alias_NULL$$ && $context$$32_isEmptyEdge_pivotHandle$$1$$.id != this.$_currentPivotHandle$.id) {
            $JSCompiler_StaticMethods_hidePivotHandle$$(this), $context$$32_isEmptyEdge_pivotHandle$$1$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_showPivotHandle$$(this, $action$$3_edge$$12_target$$inline_1891$$, $layer$$10$$, $context$$32_isEmptyEdge_pivotHandle$$1$$)
          }
        }
      }
    }else {
      $JSCompiler_StaticMethods_hidePivotHandle$$(this)
    }
    $action$$3_edge$$12_target$$inline_1891$$ = $agent$$38$$.getEventTarget($domEvent$$48$$);
    $agent$$38$$.getAttribute($action$$3_edge$$12_target$$inline_1891$$.parentNode.parentNode, "_cellImgName") ? this.$_imagePopupDisplayed$ ? $action$$3_edge$$12_target$$inline_1891$$ != this.$_lastCellImage$ && (this.$_imagePopupDisplayed$ = $JSCompiler_alias_FALSE$$, this.hidePopup($component$$472$$), $JSCompiler_StaticMethods_showImagePopup$$(this, $component$$472$$, $action$$3_edge$$12_target$$inline_1891$$)) : $JSCompiler_StaticMethods_showImagePopup$$(this, $component$$472$$, $action$$3_edge$$12_target$$inline_1891$$) : 
    this.$_imagePopupDisplayed$ && (this.$_imagePopupDisplayed$ = $JSCompiler_alias_FALSE$$, this.hidePopup($component$$472$$));
    !$bSetCursor$$ && !$isIE8Plus$$ && AdfDhtmlPivotTablePeer.$_setCursor$($headerCell$$1$$, "")
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleDomMouseMove", AdfDhtmlPivotTablePeer.prototype.$HandleDomMouseMove$);
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleDomMouseMove", AdfDhtmlPivotTablePeer.prototype.$HandleDomMouseMove$);
AdfDhtmlPivotTablePeer.prototype.$HandleComponentMouseDown$ = function $AdfDhtmlPivotTablePeer$$$HandleComponentMouseDown$$($componentEvent$$103$$) {
  if(!this.$_isAda$ && !(this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_DIALOG$ || this.$_ptState$ == AdfDhtmlPivotTablePeer.$STATE_STAMP_POPUP$)) {
    var $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ = $componentEvent$$103$$.getNativeEvent(), $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = AdfAgent.AGENT;
    if($action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.isLeftButton($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$)) {
      var $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.getEventTarget($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$);
      if($JSCompiler_StaticMethods__isInputElement$$(this, $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$) && !$JSCompiler_StaticMethods__isClickToEditAll$$(this)) {
        this.enableUserSelect()
      }else {
        this.disableUserSelect();
        var $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ = $JSCompiler_StaticMethods__getMouseContext$$(this, $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$), $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = $JSCompiler_StaticMethods__getHeaderResizeMouseAction$$(this, $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$);
        if("resize" == $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.type && !AdfPivotTableUtils.$isMobileTouchDevice$()) {
          $JSCompiler_StaticMethods_hidePivotHandle$$(this);
          if($bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ = "startRow" == $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.data || "endRow" == $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.data) {
            var $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.cell, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ = $JSCompiler_StaticMethods_getParentBlock$$(this, $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.parentNode), $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ = AdfAgent.AGENT.getIntAttribute($block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$, 
            "_startSlice"), $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$ ? 1 : 0, $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ = $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ < this.$_ptUtils$.$_splitSlice$[$agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$] ? 0 : 1, $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$ = 
            this.$_ptUtils$.$_buffers2$[$agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$][$absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$], $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ = $JSCompiler_StaticMethods_getHeaderBlockIndex$$($blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$), 
            $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$ = AdfAgent.AGENT, $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ = $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.parentNode.rowIndex;
            "startRow" == $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.data ? ($absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$--, 0 == $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ && (AdfAssert.assert(AdfPivotTableUtils.$assertsOff$ || $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$ && 0 < $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$), 
            $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$--, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ = $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$[$blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$], $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ = 
            $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.childNodes[0].rows.length - 1)) : $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ += $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.rowSpan - 1;
            this.$_resizedCell$ = $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.childNodes[0].rows[$absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$].cells[0];
            this.$_resizedIndex$ = $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$;
            this.$_resizedBlockIndex$ = $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$;
            this.$_resizedIsHeader$ = !$action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$;
            this.$_resizedPane$ = $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$;
            $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ = this.$_ptUtils$.$_resizeIndicator$;
            $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$.className = $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$.getAttribute($blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$, "_rowClass");
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ = $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$.style;
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.display = "block";
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.zIndex = 20;
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.left = "0px";
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.height = "0px";
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.width = this.$_ptUtils$.$_rowHeaders$[1]._width + this.$_ptUtils$.$_databodies$[1][1]._width + (0 < this.$_ptUtils$.$_splitSlice$[0] ? this.$_ptUtils$.$_databodies$[1][0]._width : 0) + "px";
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.offsetTop + $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.offsetHeight;
            this.$_resizeIndicatorStartPos$ = $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$ ? $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ + (this.$_ptUtils$.$_headers$[$agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$][$absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$]._top + 
            $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$._top) : $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ - this.$_ptUtils$.$_colHeaders$[1].scrollTop;
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$.top = $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ + "px";
            AdfDhtmlPivotTablePeer.$_setCursor$($blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$, $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$.getCursor("row-resize"))
          }else {
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.cell;
            $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$ = $JSCompiler_StaticMethods_getParentBlock$$(this, $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.parentNode);
            $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$ = AdfAgent.AGENT.getIntAttribute($agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$, "_startSlice");
            $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$ ? 1 : 0;
            $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ = $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$ < this.$_ptUtils$.$_splitSlice$[$block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$] ? 0 : 1;
            $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ = this.$_ptUtils$.$_buffers2$[$block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$][$absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$];
            $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$ = $JSCompiler_StaticMethods_getHeaderBlockIndex$$($blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$, $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$);
            $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$ = AdfAgent.AGENT;
            $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ = $JSCompiler_StaticMethods_getAbsoluteColumnIndex$$($agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$, $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$);
            "startCol" == $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.data ? ($absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$--, 0 == $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ && (AdfAssert.assert(AdfPivotTableUtils.$assertsOff$ || !$action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$ && 0 < $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$), 
            $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$--, $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$ = $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$[$blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$], $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ = $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$.childNodes[0].rows[0].cells.length - 
            1)) : $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ += $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.colSpan - 1;
            this.$_resizedCell$ = $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ = $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$.childNodes[0].rows[0].cells[$absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$];
            this.$_resizedIndex$ = $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$;
            this.$_resizedBlockIndex$ = $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$;
            this.$_resizedIsHeader$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.$isRowHeader$;
            this.$_resizedPane$ = $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$;
            $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = this.$_ptUtils$.$_resizeIndicator$;
            $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.className = $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$.getAttribute($action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$, "_colClass");
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$ = $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$.style;
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.display = "block";
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.zIndex = 20;
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.top = "0px";
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.width = "0px";
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.height = this.$_ptUtils$.$_colHeaders$[1]._height + this.$_ptUtils$.$_databodies$[1][1]._height + (0 < this.$_ptUtils$.$_splitSlice$[1] ? this.$_ptUtils$.$_databodies$[0][1]._height : 0) + "px";
            var $fineTuning$$inline_3657$$, $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$ = this.$_ptUtils$.$_headers$[$block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$][$absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$], $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ = $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$._left, 
            $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$ = $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ ? -$blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$.scrollLeft : $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$._left, $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$ = $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$.offsetLeft, 
            $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ = this.$_ptUtils$.$_rightToLeft$ ? 0 : $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$.offsetWidth;
            $fineTuning$$inline_3657$$ = $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ || this.$_ptUtils$.$_rightToLeft$ ? -1 : 0;
            $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ && $absColIndex$$inline_1919_blockStartSlice$$inline_1897_pane$$inline_1899$$ == this.$_ptUtils$.$_rowLayerCount$ && ($fineTuning$$inline_3657$$ = this.$_ptUtils$.$_rightToLeft$ ? -2 : 0);
            this.$_resizeIndicatorStartPos$ = $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ = $absRowIndex$$inline_1903_headerLeft$$inline_3653_pane$$inline_1915_s$$inline_1906$$ + $agent$$inline_1902_block$$inline_1912_blockLeft$$inline_3654$$ + $blockIndex$$inline_1917_cellLeft$$inline_3655_header$$inline_3658_headerBuffer$$inline_1900$$ + $blockIndex$$inline_1901_distToCellEnd$$inline_3656_headerBuffer$$inline_1916_indicator$$inline_1905_resizedCell$$inline_1920$$ + $fineTuning$$inline_3657$$;
            $cell$$inline_1895_cell$$inline_1911_resizedCell$$inline_1904_s$$inline_1922_top$$inline_1907$$.left = $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$ + "px";
            AdfDhtmlPivotTablePeer.$_setCursor$($action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$, $agent$$inline_1918_blockStartSlice$$inline_1913_edge$$inline_1898$$.getCursor("col-resize"))
          }
          this.$_resizeDeltaRaw$ = this.$_resizeDelta$ = 0;
          this.$_resizeDragState$ = $JSCompiler_alias_TRUE$$;
          $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ ? AdfPage.PAGE.startDrag($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$, this.$_rowResizeDragCallback$, this.$_rowResizeDropCallback$) : AdfPage.PAGE.startDrag($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$, this.$_colResizeDragCallback$, this.$_colResizeDropCallback$)
        }else {
          $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.$headerContext$ && $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.$headerContext$.cell && !$block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.$headerContext$.$isEmptyEdge$ ? (this.getDomElement().focus(), $JSCompiler_StaticMethods_isSelectionUiEnabled$$(this) && ($bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ = $JSCompiler_StaticMethods_newHeaderCellIndexWithEdgeFromCell$$($block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.$headerContext$.cell), 
          $JSCompiler_StaticMethods_handleHeaderSelection$$(this, $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$, $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$) && (this.$_headerSelectionDragState$ = $JSCompiler_alias_TRUE$$, AdfPage.PAGE.startDrag($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$, this.$_selectionDragCallback$, this.$_selectionDropCallback$)))) : $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$.$databodyContext$ ? AdfPivotTableUtils.$isMobileTouchDevice$() ? 
          ($JSCompiler_StaticMethods_handleMouseDatabodySelection$$(this, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$, $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$), this.getDomElement().focus(), $JSCompiler_StaticMethods_hidePivotHandle$$(this)) : (this.getDomElement().focus(), $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = $JSCompiler_alias_FALSE$$, $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ != $JSCompiler_alias_NULL$$ && 
          (this.$_activeCell$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods__getDataCell$$(this, $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$) == this.$_activeCell$) && ($action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = $JSCompiler_alias_TRUE$$), $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ || $JSCompiler_StaticMethods_handleMouseDatabodySelection$$(this, $block$$inline_1896_context$$33_edge$$inline_1914_left$$inline_1923$$, 
          $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$)) : AdfPivotTableUtils.$isMobileTouchDevice$() && $JSCompiler_StaticMethods_hidePivotHandle$$(this)
        }
        $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ = $JSCompiler_StaticMethods__getDataCellKeyAndCell$$(this, $componentEvent$$103$$.getNativeEventTarget());
        $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ != $JSCompiler_alias_NULL$$ && $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$[0] != $JSCompiler_alias_NULL$$ && ($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ = $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$[0], $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ = (new Date).getTime(), $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ = $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$ - 
        this.$_clickTimeStamp$, this.$_clickTimeStamp$ == $JSCompiler_alias_NULL$$ || 3E3 < $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ || this.$_clickCellKey$ != $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ ? (this.$_clickTimeStamp$ = $bRowResize_clickedCellIndex$$inline_1928_currTimeStamp_eventTarget$$14$$, this.$_clickCellKey$ = $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$) : this.$_clickTimeStamp$ != $JSCompiler_alias_NULL$$ && (0 < $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ && 
        3E3 > $action$$4_agent$$40_indicator$$inline_1921_skipSelection_timeDiff$$ && this.$_clickCellKey$ == $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$) && ($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ = $JSCompiler_StaticMethods__getDataCellIndexFromKey$$($attrs$$19_currCellIndex_currCellKey_domEvent$$50$$), this.$_clickCellKey$ != $JSCompiler_alias_NULL$$ && (this.$_focusCellIndex$ != $JSCompiler_alias_NULL$$ && $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$ != $JSCompiler_alias_NULL$$ && 
        $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$.row == this.$_focusCellIndex$.row && $attrs$$19_currCellIndex_currCellKey_domEvent$$50$$.column == this.$_focusCellIndex$.column) && this.$HandleComponentDblClick$($componentEvent$$103$$)))
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleComponentMouseDown", AdfDhtmlPivotTablePeer.prototype.$HandleComponentMouseDown$);
function $JSCompiler_StaticMethods__getMouseContext$$($JSCompiler_StaticMethods__getMouseContext$self$$, $domEvent$$51$$) {
  var $context$$34$$ = {}, $agent$$41$$ = AdfAgent.AGENT, $mousePos$$13$$ = $agent$$41$$.getMousePosition($domEvent$$51$$);
  if($JSCompiler_StaticMethods__getMouseContext$self$$.$_ptUtils$.$_rightToLeft$) {
    var $windowWidth$$1$$ = $agent$$41$$.getWindowWidth();
    normalizedMouseX = $windowWidth$$1$$ - $mousePos$$13$$.x
  }else {
    normalizedMouseX = $mousePos$$13$$.x
  }
  $context$$34$$.$component$ = $JSCompiler_StaticMethods__getVisitedComponent$$($JSCompiler_StaticMethods__getMouseContext$self$$, $agent$$41$$, $mousePos$$13$$);
  $context$$34$$.target = $agent$$41$$.getEventTarget($domEvent$$51$$);
  if($context$$34$$.$component$ == AdfPivotTableUtils.$COLUMN_EDGE$ || $context$$34$$.$component$ == AdfPivotTableUtils.$ROW_EDGE$) {
    var $headerContext$$ = {};
    $context$$34$$.$headerContext$ = $headerContext$$;
    $context$$34$$.$headerContext$.$isEmptyEdge$ = $context$$34$$.$component$ == AdfPivotTableUtils.$COLUMN_EDGE$ && 0 == $JSCompiler_StaticMethods__getMouseContext$self$$.$_ptUtils$.$_colLayerCount$ || $context$$34$$.$component$ == AdfPivotTableUtils.$ROW_EDGE$ && 0 == $JSCompiler_StaticMethods__getMouseContext$self$$.$_ptUtils$.$_rowLayerCount$;
    var $cell$$11$$ = $JSCompiler_StaticMethods__getParentElement$$($JSCompiler_StaticMethods__getMouseContext$self$$, $context$$34$$.target, "TH");
    if($cell$$11$$) {
      $headerContext$$.cell = $cell$$11$$;
      var $cellPos$$ = $agent$$41$$.getElementPosition($cell$$11$$);
      $headerContext$$.cellWidth = $cell$$11$$.offsetWidth;
      $headerContext$$.cellHeight = $cell$$11$$.offsetHeight;
      $JSCompiler_StaticMethods__getMouseContext$self$$.$_ptUtils$.$_rightToLeft$ && ($cellPos$$.x = $windowWidth$$1$$ - $cellPos$$.x - $headerContext$$.cellWidth);
      $headerContext$$.cellMouseX = normalizedMouseX - $cellPos$$.x;
      $headerContext$$.cellMouseY = $mousePos$$13$$.y - $cellPos$$.y;
      $headerContext$$.edge = $context$$34$$.$component$;
      $headerContext$$.layer = $context$$34$$.$component$ == AdfPivotTableUtils.$ROW_EDGE$ ? $JSCompiler_StaticMethods_getAbsoluteColumnIndex$$($agent$$41$$, $cell$$11$$) - 1 : $JSCompiler_StaticMethods__getParentElement$$($JSCompiler_StaticMethods__getMouseContext$self$$, $cell$$11$$, "TR").rowIndex - 1
    }
    $context$$34$$.$pivotHandleContext$ = $context$$34$$.$component$ == AdfPivotTableUtils.$ROW_EDGE$ ? $JSCompiler_StaticMethods__getRowHeaderPivotContext$$($JSCompiler_StaticMethods__getMouseContext$self$$, $agent$$41$$, $mousePos$$13$$.x, $windowWidth$$1$$) : $JSCompiler_StaticMethods__getColHeaderPivotContext$$($JSCompiler_StaticMethods__getMouseContext$self$$, $agent$$41$$, $mousePos$$13$$.y)
  }else {
    if($context$$34$$.$component$ == AdfPivotTableUtils.$ROW_PIVOT_HANDLES$) {
      $context$$34$$.$pivotHandleContext$ = $JSCompiler_StaticMethods__getRowHeaderPivotContext$$($JSCompiler_StaticMethods__getMouseContext$self$$, $agent$$41$$, $mousePos$$13$$.x, $windowWidth$$1$$)
    }else {
      if($context$$34$$.$component$ == AdfPivotTableUtils.$COL_PIVOT_HANDLES$) {
        $context$$34$$.$pivotHandleContext$ = $JSCompiler_StaticMethods__getColHeaderPivotContext$$($JSCompiler_StaticMethods__getMouseContext$self$$, $agent$$41$$, $mousePos$$13$$.y)
      }else {
        if($cell$$11$$ = $JSCompiler_StaticMethods__getDataCell$$($JSCompiler_StaticMethods__getMouseContext$self$$, $context$$34$$.target)) {
          $context$$34$$.$databodyContext$ = {}, $context$$34$$.$databodyContext$.cell = $cell$$11$$
        }
      }
    }
  }
  return $context$$34$$
}
function $JSCompiler_StaticMethods__getVisitedComponent$$($JSCompiler_StaticMethods__getVisitedComponent$self$$, $agent$$42_rowPos$$, $mousePos$$14$$) {
  var $rightToLeft$$1$$ = $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_rightToLeft$;
  if($JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_splitSlice$ != $JSCompiler_alias_VOID$$) {
    var $colHeader$$ = $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_colHeaders$[0 < $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_splitSlice$[0] ? 0 : 1], $colPos$$ = $agent$$42_rowPos$$.getElementPosition($colHeader$$), $colPivotHandleWidth_horizTest$$ = $rightToLeft$$1$$ ? $mousePos$$14$$.x - $colPos$$.x <= $colHeader$$._width : 0 < $mousePos$$14$$.x - $colPos$$.x;
    if($colPivotHandleWidth_horizTest$$ && $mousePos$$14$$.y - $colPos$$.y <= $colHeader$$._height) {
      return $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$COLUMN_EDGE$
    }
    var $rowHeader$$ = $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_rowHeaders$[0 < $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_ptUtils$.$_splitSlice$[1] ? 0 : 1];
    $agent$$42_rowPos$$ = $agent$$42_rowPos$$.getElementPosition($rowHeader$$);
    if(($colPivotHandleWidth_horizTest$$ = $rightToLeft$$1$$ ? 0 < $mousePos$$14$$.x - $agent$$42_rowPos$$.x : $mousePos$$14$$.x - $agent$$42_rowPos$$.x <= $rowHeader$$._width) && 0 < $mousePos$$14$$.y - $agent$$42_rowPos$$.y) {
      return $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$ROW_EDGE$
    }
    var $lastPH_rowPivotHandleHeight$$;
    switch($JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$) {
      case AdfPivotTableUtils.$ROW_EDGE$:
      ;
      case AdfPivotTableUtils.$ROW_PIVOT_HANDLES$:
        $lastPH_rowPivotHandleHeight$$ = AdfPivotTableUtils.$ROW_PIVOT_HANDLES$;
        break;
      case AdfPivotTableUtils.$COLUMN_EDGE$:
      ;
      case AdfPivotTableUtils.$COL_PIVOT_HANDLES$:
        $lastPH_rowPivotHandleHeight$$ = AdfPivotTableUtils.$COL_PIVOT_HANDLES$;
        break;
      default:
        $lastPH_rowPivotHandleHeight$$ = $JSCompiler_alias_NULL$$
    }
    var $isRowPivotHandle_phSize$$ = $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_phSize$ ? $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_phSize$ : 0, $colPivotHandleWidth_horizTest$$ = $lastPH_rowPivotHandleHeight$$ == AdfPivotTableUtils.$COL_PIVOT_HANDLES$ && 40 < $isRowPivotHandle_phSize$$ ? $isRowPivotHandle_phSize$$ : 40;
    $lastPH_rowPivotHandleHeight$$ = $lastPH_rowPivotHandleHeight$$ == AdfPivotTableUtils.$ROW_PIVOT_HANDLES$ && 40 < $isRowPivotHandle_phSize$$ ? $isRowPivotHandle_phSize$$ : 40;
    var $isColPivotHandle$$ = $isRowPivotHandle_phSize$$ = $JSCompiler_alias_FALSE$$;
    ($colPivotHandleWidth_horizTest$$ = $rightToLeft$$1$$ ? $mousePos$$14$$.x - $colPos$$.x <= $colHeader$$._width + $colPivotHandleWidth_horizTest$$ : $mousePos$$14$$.x - $colPos$$.x > -$colPivotHandleWidth_horizTest$$) && $mousePos$$14$$.y - $colPos$$.y <= $colHeader$$._height && ($isColPivotHandle$$ = $JSCompiler_alias_TRUE$$);
    ($colPivotHandleWidth_horizTest$$ = $rightToLeft$$1$$ ? 0 < $mousePos$$14$$.x - $agent$$42_rowPos$$.x : $mousePos$$14$$.x - $agent$$42_rowPos$$.x <= $rowHeader$$._width) && $mousePos$$14$$.y - $agent$$42_rowPos$$.y > -$lastPH_rowPivotHandleHeight$$ && ($isRowPivotHandle_phSize$$ = $JSCompiler_alias_TRUE$$);
    return $isColPivotHandle$$ && $isRowPivotHandle_phSize$$ ? $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ == AdfPivotTableUtils.$ROW_EDGE$ || $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ == AdfPivotTableUtils.$ROW_PIVOT_HANDLES$ ? $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$ROW_PIVOT_HANDLES$ : $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$COL_PIVOT_HANDLES$ : 
    $isColPivotHandle$$ ? $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$COL_PIVOT_HANDLES$ : $isRowPivotHandle_phSize$$ ? $JSCompiler_StaticMethods__getVisitedComponent$self$$.$_lastVisitedComponent$ = AdfPivotTableUtils.$ROW_PIVOT_HANDLES$ : $JSCompiler_alias_NULL$$
  }
}
function $JSCompiler_StaticMethods_showImagePopup$$($JSCompiler_StaticMethods_showImagePopup$self$$, $component$$475$$, $target$$122$$) {
  $JSCompiler_StaticMethods_showImagePopup$self$$.$_imagePopupDisplayed$ = $JSCompiler_alias_TRUE$$;
  $JSCompiler_StaticMethods_showImagePopup$self$$.$_lastCellImage$ = $target$$122$$;
  var $popupContent$$ = $target$$122$$.parentNode.parentNode.firstChild.firstChild.cloneNode($JSCompiler_alias_TRUE$$), $hints$$18$$ = {};
  $hints$$18$$[$AdfDhtmlCommonUtils$$.TYPE] = $AdfDhtmlCommonUtils$$.$TYPE_NOTEWINDOW$;
  $hints$$18$$[$AdfDhtmlCommonUtils$$.$ALIGN_ELEMENT$] = $target$$122$$;
  $hints$$18$$[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_BEFORE_START;
  $hints$$18$$[$AdfDhtmlCommonUtils$$.$AUTODISMISS$] = $AdfDhtmlCommonUtils$$.$AUTODISMISS_NEVER$;
  $JSCompiler_StaticMethods_showImagePopup$self$$.showPopup($component$$475$$, $popupContent$$, $hints$$18$$)
}
AdfDhtmlPivotTablePeer.prototype.$handleImageAction$ = function $AdfDhtmlPivotTablePeer$$$handleImageAction$$($component$$476$$, $target$$123$$) {
  var $agent$$43_pivotPeer$$3$$ = AdfAgent.AGENT, $fromLayer_iRow_ret$$14$$ = $JSCompiler_alias_FALSE$$;
  if($target$$123$$) {
    var $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$;
    $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = "A" == $target$$123$$.tagName ? $target$$123$$ : $target$$123$$.parentNode;
    var $dropData$$2_fromEdge_imageName$$1$$ = $agent$$43_pivotPeer$$3$$.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_cellImgName");
    if($dropData$$2_fromEdge_imageName$$1$$) {
      if(this.$_currentRequest$ == AdfDhtmlPivotTablePeer.$PARTIAL$) {
        return
      }
      this.$_isAda$ ? ($fromLayer_iRow_ret$$14$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_row"), $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_col")) : ($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = $JSCompiler_StaticMethods_getCoordinates$$(this, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode.parentNode), 
      $fromLayer_iRow_ret$$14$$ = $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.row, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.col);
      $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = new $AdfPivotTableCellImageClickEvent$$($component$$476$$, $fromLayer_iRow_ret$$14$$, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$, $dropData$$2_fromEdge_imageName$$1$$);
      $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.setPartial($JSCompiler_alias_TRUE$$);
      $component$$476$$.queueEvent($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$);
      $fromLayer_iRow_ret$$14$$ = $JSCompiler_alias_TRUE$$
    }else {
      if($agent$$43_pivotPeer$$3$$.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_dr")) {
        $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = $JSCompiler_StaticMethods__getParentElement$$(this, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "TH"), $JSCompiler_StaticMethods_handleDrillAction$$(this, $component$$476$$, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$), $fromLayer_iRow_ret$$14$$ = $JSCompiler_alias_TRUE$$
      }else {
        if($agent$$43_pivotPeer$$3$$.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_adaPivot")) {
          var $dropData$$2_fromEdge_imageName$$1$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_fromEdge"), $fromLayer_iRow_ret$$14$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_fromLayer"), $toEdge$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_toEdge"), $toLayer$$2$$ = $agent$$43_pivotPeer$$3$$.getIntAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, 
          "_toLayer");
          $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$ = $agent$$43_pivotPeer$$3$$.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_flags");
          $JSCompiler_StaticMethods__pivot$$(this, $dropData$$2_fromEdge_imageName$$1$$, $fromLayer_iRow_ret$$14$$, $toEdge$$, $toLayer$$2$$, $coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$);
          $fromLayer_iRow_ret$$14$$ = $JSCompiler_alias_TRUE$$
        }else {
          $agent$$43_pivotPeer$$3$$.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_adaExtPivot") && ($agent$$43_pivotPeer$$3$$ = this.$getKeyboardPivotPeer$(), $agent$$43_pivotPeer$$3$$ != $JSCompiler_alias_NULL$$ && ($dropData$$2_fromEdge_imageName$$1$$ = {}, $dropData$$2_fromEdge_imageName$$1$$.fromLayerName = AdfAgent.AGENT.getAttribute($coords$$3_event$$168_flags$$1_iCol_imageContainer$$3_th$$3$$.parentNode, "_fromLayerName"), $agent$$43_pivotPeer$$3$$.getPeer().$PerformADADrop$($component$$476$$, 
          $dropData$$2_fromEdge_imageName$$1$$), $fromLayer_iRow_ret$$14$$ = $JSCompiler_alias_TRUE$$))
        }
      }
    }
  }
  return $fromLayer_iRow_ret$$14$$
};
function $JSCompiler_StaticMethods_handleDrillAction$$($JSCompiler_StaticMethods_handleDrillAction$self$$, $component$$477$$, $cellCoords_event$$169_imageContainer$$4$$) {
  $JSCompiler_StaticMethods_handleDrillAction$self$$.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$ && ($cellCoords_event$$169_imageContainer$$4$$ = $JSCompiler_StaticMethods_getHeaderCellCoordinates$$($cellCoords_event$$169_imageContainer$$4$$), $cellCoords_event$$169_imageContainer$$4$$ = new $AdfPivotTableDrillEvent$$($component$$477$$, $cellCoords_event$$169_imageContainer$$4$$.edge, $cellCoords_event$$169_imageContainer$$4$$.startLayer, $cellCoords_event$$169_imageContainer$$4$$.startSlice, 
  "0"), $cellCoords_event$$169_imageContainer$$4$$.setPartial($JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__focusElement$$($JSCompiler_StaticMethods_handleDrillAction$self$$.getDomElement()), $component$$477$$.queueEvent($cellCoords_event$$169_imageContainer$$4$$), $cellCoords_event$$169_imageContainer$$4$$.isCanceled() ? $JSCompiler_StaticMethods__clientValidationErrorRecovery$$($JSCompiler_StaticMethods_handleDrillAction$self$$, $JSCompiler_StaticMethods__getActiveCellKey$$($JSCompiler_StaticMethods_handleDrillAction$self$$)) : 
  ($JSCompiler_StaticMethods_setCurrentRequest$$($JSCompiler_StaticMethods_handleDrillAction$self$$, AdfDhtmlPivotTablePeer.$PARTIAL$), $JSCompiler_StaticMethods_handleDrillAction$self$$.$_serverRequest$ = $JSCompiler_alias_NULL$$, $JSCompiler_StaticMethods_handleDrillAction$self$$.$_isAda$ || $JSCompiler_StaticMethods_handleDrillAction$self$$.$_displayStatus$($JSCompiler_StaticMethods_handleDrillAction$self$$.$_fetchText$, $JSCompiler_alias_TRUE$$)))
}
AdfDhtmlPivotTablePeer.prototype.$queueSortRequest$ = function $AdfDhtmlPivotTablePeer$$$queueSortRequest$$($edge$$14_event$$170$$, $sliceOrLayer$$1$$, $isAscending$$1$$, $isHeader$$1$$) {
  $sliceOrLayer$$1$$ = "" + $sliceOrLayer$$1$$;
  var $component$$479$$ = this.getComponent();
  $edge$$14_event$$170$$ = new $AdfPivotTableSortEvent$$($component$$479$$, $edge$$14_event$$170$$, $sliceOrLayer$$1$$, $isAscending$$1$$, $isHeader$$1$$);
  $edge$$14_event$$170$$.setPartial($JSCompiler_alias_TRUE$$);
  $JSCompiler_StaticMethods__focusElement$$(this.getDomElement());
  $component$$479$$.queueEvent($edge$$14_event$$170$$);
  $edge$$14_event$$170$$.isCanceled() ? $JSCompiler_StaticMethods__clientValidationErrorRecovery$$(this, $JSCompiler_StaticMethods__getActiveCellKey$$(this)) : ($JSCompiler_StaticMethods_setCurrentRequest$$(this, AdfDhtmlPivotTablePeer.$PARTIAL$), this.$_serverRequest$ = $JSCompiler_alias_NULL$$, this.$_isAda$ || this.$_displayStatus$(this.$_fetchText$, $JSCompiler_alias_TRUE$$))
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.queueSortRequest", AdfDhtmlPivotTablePeer.prototype.$queueSortRequest$);
function $JSCompiler_StaticMethods__setSortIndicatorEnabled$$($JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$, $headerCell$$2$$, $enabled$$3$$) {
  var $cellCoords$$2_siElem$$1$$ = $JSCompiler_StaticMethods_getHeaderCellCoordinates$$($headerCell$$2$$);
  $cellCoords$$2_siElem$$1$$ && ($JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$ = AdfRichUIPeer.CreateSubId($JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$.getComponent().getClientId(), $cellCoords$$2_siElem$$1$$.startSlice + "::" + AdfDhtmlPivotTablePeer.$_SORT_INDICATOR$), $cellCoords$$2_siElem$$1$$ = $JSCompiler_alias_NULL$$, $cellCoords$$2_siElem$$1$$ = $headerCell$$2$$.getAttribute("_vt") == $JSCompiler_alias_VOID$$ ? AdfPivotTableUtils.$isMobileTouchDevice$() ? 
  AdfDhtmlPivotTablePeer.$_getChildById$($headerCell$$2$$.childNodes[0], $JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$) : AdfDhtmlPivotTablePeer.$_getChildById$($headerCell$$2$$, $JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$) : AdfDhtmlPivotTablePeer.$_getChildById$($headerCell$$2$$.childNodes[0].rows[0].cells[0], $JSCompiler_StaticMethods__setSortIndicatorEnabled$self_siId$$1$$), $cellCoords$$2_siElem$$1$$ != $JSCompiler_alias_NULL$$ && $cellCoords$$2_siElem$$1$$.getAttribute(AdfDhtmlPivotTablePeer.$_SORTED_TYPE$) == 
  $JSCompiler_alias_NULL$$ && ($cellCoords$$2_siElem$$1$$.childNodes[0].style.display = $enabled$$3$$ ? "" : "none"))
}
AdfDhtmlPivotTablePeer.prototype.getComponent = function $AdfDhtmlPivotTablePeer$$getComponent$() {
  return this.$_tempComponent$ ? this.$_tempComponent$ : AdfDhtmlPivotTablePeer.superclass.getComponent.call(this)
};
AdfDhtmlPivotTablePeer.prototype.InitDomElement = function $AdfDhtmlPivotTablePeer$$InitDomElement$($component$$480$$, $domElement$$173$$) {
  try {
    this.$_tempComponent$ = $component$$480$$;
    this.$_codeExecutionCounter$ = 0;
    AdfDhtmlPivotTablePeer.superclass.InitDomElement.call(this, $component$$480$$, $domElement$$173$$);
    if(this.$__logEnabled$ = $JSCompiler_alias_FALSE$$) {
      this.$__log$ = [], this.$__logIndex$ = 0, this.$__logLength$ = 200, this.$__baseTime$ = (new Date).getTime()
    }
    var $agent$$44$$ = AdfAgent.AGENT, $ada$$1_isNext$$ = $agent$$44$$.getAttribute($domElement$$173$$, "_ada"), $immediate$$2$$ = $agent$$44$$.getAttribute($domElement$$173$$, "_immediate");
    this.$_adsEnabled$ = $agent$$44$$.getAttribute($domElement$$173$$, "_adsEnabled") != $JSCompiler_alias_VOID$$;
    this.$_fetchText$ = $agent$$44$$.getAttribute($domElement$$173$$, "_fetchText");
    this.$_cellSelected$ = $agent$$44$$.getAttribute($domElement$$173$$, "_cellSelected");
    this.$_rowSelected$ = $agent$$44$$.getAttribute($domElement$$173$$, "_rowSelected");
    this.$_colSelected$ = $agent$$44$$.getAttribute($domElement$$173$$, "_colSelected");
    this.$_multiple$ = $agent$$44$$.getAttribute($domElement$$173$$, "_multiple");
    this.$_rowInfo$ = $agent$$44$$.getAttribute($domElement$$173$$, "_rowInfo");
    this.$_colInfo$ = $agent$$44$$.getAttribute($domElement$$173$$, "_colInfo");
    this.$_heightText$ = $agent$$44$$.getAttribute($domElement$$173$$, "_heightText");
    this.$_widthText$ = $agent$$44$$.getAttribute($domElement$$173$$, "_widthText");
    this.$_moveBefore$ = $agent$$44$$.getAttribute($domElement$$173$$, "_moveBefore");
    this.$_swapWith$ = $agent$$44$$.getAttribute($domElement$$173$$, "_swapWith");
    this.$_moveAfter$ = $agent$$44$$.getAttribute($domElement$$173$$, "_moveAfter");
    this.$_moveToRows$ = $agent$$44$$.getAttribute($domElement$$173$$, "_moveToRows");
    this.$_moveToCols$ = $agent$$44$$.getAttribute($domElement$$173$$, "_moveToCols");
    this.$_ptState$ = AdfDhtmlPivotTablePeer.$STATE_NORMAL$;
    this.$_isAda$ = $ada$$1_isNext$$ != $JSCompiler_alias_VOID$$;
    this.$_isSortEnabled$ = $JSCompiler_alias_FALSE$$;
    this.$_isImmediate$ = $immediate$$2$$ != $JSCompiler_alias_VOID$$;
    this.$_streamingDisabled$ = $JSCompiler_alias_FALSE$$;
    AdfPage.PAGE.isStreamingDisabled && (this.$_streamingDisabled$ = AdfPage.PAGE.isStreamingDisabled());
    this.$_currentRequest$ = "initBlock";
    this.$_resizeDragState$ = this.$_pivotDragEnabled$ = $JSCompiler_alias_FALSE$$;
    this.$_selectedLayer$ = this.$_selectedEdge$ = this.$_currentPivotHandle$ = $JSCompiler_alias_NULL$$;
    $component$$480$$.setProperty(AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$, $JSCompiler_alias_VOID$$);
    this.$_serverBusy$ = this.$_cellDirty$ = this.$alreadyRequestedDismissEdit$ = $JSCompiler_alias_FALSE$$;
    this.$_bufferADSCounter$ = this.$_blockADSCounter$ = -1;
    var $modelName$$3$$ = $component$$480$$.getProperty("modelName");
    $modelName$$3$$ != $JSCompiler_alias_NULL$$ && AdfPage.PAGE.setPageProperty("ROW_AND_COLUMN_EDGE:" + $modelName$$3$$, $component$$480$$.getClientId());
    this.$_attachmentMode$ = "true" == $domElement$$173$$.getAttribute("_attachment");
    this.$_isPaging$ = AdfDhtmlPivotTablePeer.$isPaging$($domElement$$173$$);
    if(this.$_isAda$) {
      for(var $j$$40_nodes$$8$$ = $domElement$$173$$.childNodes[0].childNodes, $edge$$15_i$$156$$ = 0;$edge$$15_i$$156$$ < $j$$40_nodes$$8$$.length;++$edge$$15_i$$156$$) {
        var $node$$31$$ = $j$$40_nodes$$8$$[$edge$$15_i$$156$$];
        if($node$$31$$.id && (-1 != $node$$31$$.id.indexOf("Inner") || $node$$31$$.id.lastIndexOf("::et") == $node$$31$$.id.length - 4)) {
          var $adaTable$$ = $j$$40_nodes$$8$$[$edge$$15_i$$156$$];
          break
        }
      }
      this.$_ptUtils$ = {};
      var $colExtent$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_colExtent"), $rowExtent$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_rowExtent");
      this.$_adaEdgeExtent$ = [$colExtent$$, $rowExtent$$];
      var $colBlockSize$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_colBlockSize"), $rowBlockSize$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_rowBlockSize");
      this.$_adaBlockSize$ = [$colBlockSize$$, $rowBlockSize$$];
      var $startRow$$1$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_startRow"), $startCol$$1$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_startCol");
      $component$$480$$.setProperty(AdfRichPivotTable.$__START_ROW_KEY$, $startRow$$1$$);
      $component$$480$$.setProperty(AdfRichPivotTable.$__START_COLUMN_KEY$, $startCol$$1$$);
      this.$_adaStartSlice$ = [];
      this.$_adaStartPane$ = [];
      this.$_adaCanvasStartSlice$ = [];
      this.$_adaCanvasEndSlice$ = [];
      var $splitCol$$1$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_splitCol"), $splitRow$$1$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_splitRow");
      this.$_ptUtils$.$_splitSlice$ = [$splitCol$$1$$, $splitRow$$1$$];
      $component$$480$$.setProperty(AdfRichPivotTable.$__SPLIT_COLUMN_KEY$, $splitCol$$1$$);
      $component$$480$$.setProperty(AdfRichPivotTable.$__SPLIT_ROW_KEY$, $splitRow$$1$$);
      if(-1 != $splitCol$$1$$) {
        var $secondStartCol$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_secondStartCol");
        $component$$480$$.setProperty(AdfRichPivotTable.$__SECOND_START_COLUMN_KEY$, $secondStartCol$$);
        this.$_adaStartPane$[0] = 0;
        this.$_adaStartSlice$[0] = [$startCol$$1$$, $secondStartCol$$];
        this.$_adaCanvasStartSlice$[0] = [0, $secondStartCol$$];
        this.$_adaCanvasEndSlice$[0] = [$secondStartCol$$, $colExtent$$]
      }else {
        this.$_adaStartPane$[0] = 1, this.$_adaStartSlice$[0] = [$JSCompiler_alias_VOID$$, $startCol$$1$$], this.$_adaCanvasStartSlice$[0] = [$JSCompiler_alias_VOID$$, 0], this.$_adaCanvasEndSlice$[0] = [$JSCompiler_alias_VOID$$, $colExtent$$]
      }
      if(-1 != $splitRow$$1$$) {
        var $secondStartRow$$ = $agent$$44$$.getIntAttribute($adaTable$$, "_secondStartRow");
        $component$$480$$.setProperty(AdfRichPivotTable.$__SECOND_START_ROW_KEY$, $secondStartRow$$);
        this.$_adaStartPane$[1] = 0;
        this.$_adaStartSlice$[1] = [$startRow$$1$$, $secondStartRow$$];
        this.$_adaCanvasStartSlice$[1] = [0, $secondStartRow$$];
        this.$_adaCanvasEndSlice$[1] = [$secondStartRow$$, $rowExtent$$]
      }else {
        this.$_adaStartPane$[1] = 1, this.$_adaStartSlice$[1] = [$JSCompiler_alias_VOID$$, $startRow$$1$$], this.$_adaCanvasStartSlice$[1] = [$JSCompiler_alias_VOID$$, 0], this.$_adaCanvasEndSlice$[1] = [$JSCompiler_alias_VOID$$, $rowExtent$$]
      }
      var $clientBlocks$$ = $component$$480$$.getProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$);
      $clientBlocks$$ == $JSCompiler_alias_VOID$$ || "foo" == $clientBlocks$$ ? $component$$480$$.setProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$, "bar", $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS) : $component$$480$$.setProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$, "foo", $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS);
      for(var $edge$$15_i$$156$$ = 0;2 > $edge$$15_i$$156$$;++$edge$$15_i$$156$$) {
        for(var $pane$$2$$ = this.$_adaStartPane$[$edge$$15_i$$156$$];2 > $pane$$2$$;++$pane$$2$$) {
          var $choiceElement$$ = $JSCompiler_StaticMethods__getAdaNavElement$$($component$$480$$, $edge$$15_i$$156$$, $pane$$2$$, AdfDhtmlPivotTablePeer.$_CHOICE_ID_SUFFIX$);
          $choiceElement$$ && AdfRichUIPeer.addEventHandlerToDomInstance(AdfDhtmlPivotTablePeer, $choiceElement$$, "change");
          for($ada$$1_isNext$$ = 0;2 > $ada$$1_isNext$$;++$ada$$1_isNext$$) {
            var $linkElement$$ = $JSCompiler_StaticMethods__getAdaNavElement$$($component$$480$$, $edge$$15_i$$156$$, $pane$$2$$, $ada$$1_isNext$$ ? AdfDhtmlPivotTablePeer.$_NEXT_LINK_ID_SUFFIX$ : AdfDhtmlPivotTablePeer.$_PREV_LINK_ID_SUFFIX$);
            if($linkElement$$) {
              var $handleClick$$ = $JSCompiler_StaticMethods_createCallback2$$(this, this.$_handlePrevNextSliceClick$, [$edge$$15_i$$156$$, $pane$$2$$, $ada$$1_isNext$$]);
              $agent$$44$$.addBubbleEventListener($linkElement$$, "click", $handleClick$$)
            }
          }
        }
      }
      AdfPivotTableUtils.$DATABODY$ = -1;
      AdfPivotTableUtils.$COLUMN_EDGE$ = 0;
      AdfPivotTableUtils.$ROW_EDGE$ = 1;
      this.$_graphScreenReaderMode$ = $agent$$44$$.getBooleanAttribute($adaTable$$, "_graphSR");
      $JSCompiler_StaticMethods_initializeSelectionAda$$(this, $adaTable$$, $j$$40_nodes$$8$$)
    }else {
      this.$_ptUtils$ = new AdfPivotTableUtils($component$$480$$, this, $domElement$$173$$);
      for($edge$$15_i$$156$$ = 0;2 > $edge$$15_i$$156$$;++$edge$$15_i$$156$$) {
        for($j$$40_nodes$$8$$ = 0;2 > $j$$40_nodes$$8$$;++$j$$40_nodes$$8$$) {
          0 < $edge$$15_i$$156$$ + $j$$40_nodes$$8$$ && AdfRichUIPeer.addEventHandlerToDomInstance(AdfDhtmlPivotTablePeer, this.$_ptUtils$.$_databodyScrollers$[$edge$$15_i$$156$$][$j$$40_nodes$$8$$], "scroll"), this.$_ptUtils$.$_headers$[$edge$$15_i$$156$$][$j$$40_nodes$$8$$].onscroll = $JSCompiler_StaticMethods_createCallback2$$(this, this.$handleHeaderScroll$, [$edge$$15_i$$156$$, $j$$40_nodes$$8$$]), this.$_ptUtils$.$_databodies$[$edge$$15_i$$156$$][$j$$40_nodes$$8$$].onscroll = $JSCompiler_StaticMethods_createCallback2$$(this, 
          this.$handleDatabodyScroll$, [$edge$$15_i$$156$$, $j$$40_nodes$$8$$])
        }
      }
      AdfRichUIPeer.addEventHandlerToDomInstance(AdfDhtmlPivotTablePeer, $domElement$$173$$, "mousemove");
      AdfPivotTableUtils.$isMobileTouchDevice$() || this.$setupMouseWheel$();
      this.$_colResizeDragCallback$ = this.createCallback(this.$_handleColResizeDrag$);
      this.$_colResizeDropCallback$ = this.createCallback(this.$_handleColResizeDrop$);
      this.$_rowResizeDragCallback$ = this.createCallback(this.$_handleRowResizeDrag$);
      this.$_rowResizeDropCallback$ = this.createCallback(this.$_handleRowResizeDrop$);
      this.$_selectionDragCallback$ = this.createCallback(this.$handleSelectionDrag$);
      this.$_selectionDropCallback$ = this.createCallback(this.$handleSelectionDrop$);
      "true" == $agent$$44$$.getAttribute($domElement$$173$$, "_cteAll") && AdfPage.PAGE.addBusyStateListener(this, this.$_handleBusyState$);
      this.$_attachmentMode$ || ($component$$480$$.setDragSource(new $AdfPivotTableDragSource$$), $component$$480$$.getDropTarget() == $JSCompiler_alias_NULL$$ && $component$$480$$.setDropTarget(new $AdfPivotTableDropTarget$$));
      this.$_headerSelectionCursors$ = [$JSCompiler_StaticMethods_getHeaderSelectionCursor$$($domElement$$173$$, 0), $JSCompiler_StaticMethods_getHeaderSelectionCursor$$($domElement$$173$$, 1)]
    }
  }finally {
    this.$_tempComponent$ = $JSCompiler_alias_NULL$$
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.InitDomElement", AdfDhtmlPivotTablePeer.prototype.InitDomElement);
AdfDhtmlPivotTablePeer.prototype.needsResizeNotify = function $AdfDhtmlPivotTablePeer$$needsResizeNotify$() {
  return this.$_isAda$ ? $JSCompiler_alias_FALSE$$ : $JSCompiler_alias_TRUE$$
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.needsResizeNotify", AdfDhtmlPivotTablePeer.prototype.needsResizeNotify);
AdfDhtmlPivotTablePeer.prototype.ResizeNotify = function $AdfDhtmlPivotTablePeer$$ResizeNotify$($oldWidth$$11_size$$11$$, $oldHeight$$11_size$$inline_1943$$, $newWidth$$14_pprTarget$$, $newHeight$$13$$) {
  if(this.$_fetchInitialBlock$) {
    this.$_ptUtils$.$isShrinkToFit$() || (this.$_maxHeight$ = $newHeight$$13$$, this.$_maxWidth$ = $newWidth$$14_pprTarget$$), this.$HandleDomScroll$(this.getComponent()), this.$_ptUtils$.$sizePivotTable$($newWidth$$14_pprTarget$$, $newHeight$$13$$), $JSCompiler_StaticMethods_scrollHTMLBlocks$$(this.$_ptUtils$), $JSCompiler_StaticMethods_fetchNearbyBlocks$$(this.$_ptUtils$, $JSCompiler_alias_TRUE$$), this.$_isPaging$ && $JSCompiler_StaticMethods_updatePagingControls$$(this)
  }else {
    if(this.$_ptUtils$.$_innerContainer$.style.width = this.getDomElement().offsetWidth - 1 + "px", this.$_ptUtils$.$_innerContainer$.style.height = this.getDomElement().offsetHeight - 1 + "px", this.$_maxHeight$ = $newHeight$$13$$, this.$_maxWidth$ = $newWidth$$14_pprTarget$$, this.$_fetchInitialBlock$ = $JSCompiler_alias_TRUE$$, this.$_isImmediate$) {
      $newWidth$$14_pprTarget$$ = AdfDhtmlPivotTablePeer.$_getChildBySubId$(this.getDomElement()), this.DomReplaceNotify($newWidth$$14_pprTarget$$)
    }else {
      if(this.$_streamingDisabled$ || !AdfPage.PAGE.isStreamingRequestPending(this.getComponent().getClientId())) {
        $oldWidth$$11_size$$11$$ = [], $oldHeight$$11_size$$inline_1943$$ = {}, $oldHeight$$11_size$$inline_1943$$.$w$ = $newWidth$$14_pprTarget$$, $oldHeight$$11_size$$inline_1943$$.$h$ = $newHeight$$13$$, $oldWidth$$11_size$$11$$[0] = $oldHeight$$11_size$$inline_1943$$, $JSCompiler_StaticMethods_fetchBlocks$$(this, "initBlock", AdfPivotTableUtils.$DELAY_INITIAL$, [], $oldWidth$$11_size$$11$$, $JSCompiler_alias_VOID$$, $JSCompiler_alias_VOID$$, $JSCompiler_alias_VOID$$)
      }
      this.$_displayStatus$(this.$_fetchText$, $JSCompiler_alias_TRUE$$)
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.ResizeNotify", AdfDhtmlPivotTablePeer.prototype.ResizeNotify);
AdfDhtmlPivotTablePeer.prototype.DomReplaceNotify = function $AdfDhtmlPivotTablePeer$$DomReplaceNotify$($domNode$$11$$) {
  try {
    this.$_ptUtils$.$startTimer$(1, 2);
    this.$_ptUtils$.$checkpointTimer$(1, "wrote to logger");
    this.$_codeExecutionCounter$++;
    if(this.$_isAda$) {
      return
    }
    this.$_cellDirty$ = $JSCompiler_alias_FALSE$$;
    var $component$$482$$ = this.getComponent(), $clientBlocks$$1$$ = $component$$482$$.getProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$);
    $clientBlocks$$1$$ == $JSCompiler_alias_VOID$$ || "foo" == $clientBlocks$$1$$ ? $component$$482$$.setProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$, "bar", $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS) : $component$$482$$.setProperty(AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$, "foo", $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS);
    var $clickToEdit$$ = AdfAgent.AGENT.getAttribute($domNode$$11$$, "_cte");
    this.$_ptUtils$.$checkpointTimer$(1, "before CTE block");
    if($clickToEdit$$) {
      var $rowHeight$$1$$, $delta$$3$$ = $JSCompiler_alias_VOID$$, $oldRowHeight$$1$$ = AdfAgent.AGENT.getIntAttribute($domNode$$11$$, "_orh");
      if("true" == $clickToEdit$$) {
        $rowHeight$$1$$ = $domNode$$11$$.parentNode.offsetHeight;
        $delta$$3$$ = $rowHeight$$1$$ - $oldRowHeight$$1$$;
        if(this.$_oldActiveCellKey$ != $JSCompiler_alias_NULL$$) {
          var $oldActiveCellIndex$$ = $JSCompiler_StaticMethods__getDataCellIndexFromKey$$(this.$_oldActiveCellKey$), $newActiveCellKeyInfo$$ = $JSCompiler_StaticMethods_getCoordinates$$(this, $domNode$$11$$);
          $oldActiveCellIndex$$.column == $newActiveCellKeyInfo$$.col && $oldActiveCellIndex$$.row == $newActiveCellKeyInfo$$.row && ($delta$$3$$ = 0)
        }
        this.$_oldCellRowHeight$ = $oldRowHeight$$1$$;
        this.$_lastUpdatedRow$ = $JSCompiler_StaticMethods_getCoordinates$$(this, $domNode$$11$$).row;
        this.$_activeCell$ = $domNode$$11$$;
        this.$_lastEditCellRowHeight$ = $rowHeight$$1$$
      }else {
        "false" == $clickToEdit$$ && ($rowHeight$$1$$ = $domNode$$11$$.parentNode.offsetHeight, $oldRowHeight$$1$$ && ($delta$$3$$ = $oldRowHeight$$1$$ - $rowHeight$$1$$), $JSCompiler_StaticMethods_getCoordinates$$(this, $domNode$$11$$).row == this.$_lastUpdatedRow$ && ($delta$$3$$ = 0, this.$_oldCellRowHeight$ = $oldRowHeight$$1$$))
      }
      $delta$$3$$ ? $JSCompiler_StaticMethods__clickToEditResize$$(this, $domNode$$11$$, $delta$$3$$) : AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM && $JSCompiler_StaticMethods_updateTextAreaCellHeights$$($domNode$$11$$.parentNode, $rowHeight$$1$$);
      return
    }
    this.$_ptUtils$.$checkpointTimer$(1, "CTE block");
    if($domNode$$11$$.id == this.getDomElement().id + "::RequestDone") {
      $JSCompiler_StaticMethods_highlightFocusCell$$(this);
      var $vError$$ = AdfAgent.AGENT.getBooleanAttribute($domNode$$11$$, "_vError", $JSCompiler_alias_FALSE$$);
      if($vError$$) {
        var $currentActiveCellKey$$inline_1947$$;
        $currentActiveCellKey$$inline_1947$$ = AdfAgent.AGENT.getBooleanAttribute($domNode$$11$$, "_CTEAction", $JSCompiler_alias_FALSE$$) ? this.$_oldActiveCellKey$ : $JSCompiler_StaticMethods__getActiveCellKey$$(this);
        this.getComponent().setProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$, $currentActiveCellKey$$inline_1947$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS);
        $JSCompiler_StaticMethods__recover$$(this, $currentActiveCellKey$$inline_1947$$);
        $JSCompiler_StaticMethods_setCurrentRequest$$(this, $JSCompiler_alias_NULL$$);
        this.$_serverRequest$ = $JSCompiler_alias_NULL$$;
        this.$_unfinishedHeaderKeyboardNavigation$ = this.$_isEditingCellWithFocus$ = $JSCompiler_alias_FALSE$$;
        this.$domEventForContextMenuAfterEdit$ = $JSCompiler_alias_NULL$$
      }
      $JSCompiler_StaticMethods__syncAckWithAC$$(this);
      this.$_currentRequest$ == AdfDhtmlPivotTablePeer.$PARTIAL$ && $JSCompiler_StaticMethods_setCurrentRequest$$(this, $JSCompiler_alias_NULL$$);
      this.$alreadyRequestedDismissEdit$ = $JSCompiler_alias_FALSE$$;
      this._hideStatus();
      this.$_processClickToEditRequestCB$ || (this.$_processClickToEditRequestCB$ = this.createCallback(this.$_processClickToEditRequest$));
      AdfAgent.AGENT.getDomWindow().setTimeout(this.$_processClickToEditRequestCB$, 10);
      this.$_needFetchNearbyBlock$ && this.$_startDelayedDismissCTE$ && $JSCompiler_StaticMethods_fetchNearbyBlocks$$(this.$_ptUtils$, $JSCompiler_alias_TRUE$$);
      this.$_startDelayedDismissCTE$ = this.$_needFetchNearbyBlock$ = $JSCompiler_alias_NULL$$;
      this.$_navigateToHeaderKeyCode$ != $JSCompiler_alias_NULL$$ && ($vError$$ || (this.getDomElement().focus(), $JSCompiler_StaticMethods_handleCtrlArrowNavigation$$(this, this.$_navigateToHeaderKeyCode$)), this.$_navigateToHeaderKeyCode$ = $JSCompiler_alias_NULL$$);
      this.$domEventForContextMenuAfterEdit$ != $JSCompiler_alias_NULL$$ && (this.$_displayContextMenuCB$ = this.createCallback(this._displayContextMenuAfterEdit), AdfAgent.AGENT.getDomWindow().setTimeout(this.$_displayContextMenuCB$, 300));
      this.$domEventForReadOnlyContentCheck$ != $JSCompiler_alias_NULL$$ && (this.$_activeCell$ != $JSCompiler_alias_NULL$$ && 0 == $JSCompiler_StaticMethods__getInputElementsInNode$$(this, this.$_activeCell$).length && $JSCompiler_StaticMethods_handleEnterKey$$(this, this.$domEventForReadOnlyContentCheck$), this.$domEventForReadOnlyContentCheck$ = $JSCompiler_alias_NULL$$)
    }
    this.$_ptUtils$.$checkpointTimer$(1, "RequestDone block");
    var $pprTarget$$1$$ = AdfDhtmlPivotTablePeer.$_getChildBySubId$(this.getDomElement());
    if($domNode$$11$$ == $pprTarget$$1$$) {
      var $renderType$$ = AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_renType"), $databodyBlocks$$ = $JSCompiler_StaticMethods_getArrivingBlocks$$($pprTarget$$1$$, this.$_ptUtils$.$_id$, AdfPivotTableUtils.$DATABODY$);
      if(this.$__logEnabled$) {
        var $item$$1$$ = {};
        $JSCompiler_StaticMethods_putInTestLog$$(this, $item$$1$$);
        $item$$1$$.type = "DRN";
        $item$$1$$.time = (new Date).getTime() - this.$__baseTime$;
        $item$$1$$.scrollLeft = this.$_ptUtils$.$getScroller$(1, 1).scrollLeft;
        $item$$1$$.scrollTop = this.$_ptUtils$.$getScroller$(1, 1).scrollTop;
        $item$$1$$.$renderType$ = $renderType$$;
        $item$$1$$.$databodyBlocks$ = $databodyBlocks$$;
        $item$$1$$.$rowHeaderBlocks$ = $JSCompiler_StaticMethods_getArrivingBlocks$$($pprTarget$$1$$, this.$_ptUtils$.$_id$, AdfPivotTableUtils.$ROW_EDGE$);
        $item$$1$$.$colHeaderBlocks$ = $JSCompiler_StaticMethods_getArrivingBlocks$$($pprTarget$$1$$, this.$_ptUtils$.$_id$, AdfPivotTableUtils.$COLUMN_EDGE$)
      }
      $JSCompiler_StaticMethods_requestMatchesResponse$$(this.$_serverRequest$, $databodyBlocks$$, $renderType$$) && (this.$_serverRequest$ = $JSCompiler_alias_NULL$$);
      if(this.$_currentRequest$ == AdfDhtmlPivotTablePeer.$PARTIAL$ && $renderType$$ != AdfDhtmlPivotTablePeer.$PARTIAL$) {
        this.$__logEnabled$ && ($item$$1$$.$bailingDueToAp$ = $JSCompiler_alias_TRUE$$);
        "initialFillViewport" == $renderType$$ && this.$_startDelayedDismissCTE$ && (this.$_needFetchNearbyBlock$ = $JSCompiler_alias_TRUE$$);
        return
      }
      if("longScroll" == $renderType$$ || "shortScroll" == $renderType$$ || "initialFillViewport" == $renderType$$) {
        this.$__logEnabled$ && ($item$$1$$.$callingHdsJustInCase$ = $JSCompiler_alias_TRUE$$), this.$HandleDomScroll$(0, 0, $JSCompiler_alias_TRUE$$)
      }
      if(this.$_currentRequest$ != AdfDhtmlPivotTablePeer.$PARTIAL$ && !$JSCompiler_StaticMethods_requestMatchesResponse$$(this.$_currentRequest$, $databodyBlocks$$, $renderType$$)) {
        this.$__logEnabled$ && ($item$$1$$.$bailingBcDoesntMatchAtTime$ = (new Date).getTime() - this.$__baseTime$);
        return
      }
      if(this.$_adsEnabled$) {
        var $adsCounter$$ = AdfAgent.AGENT.getIntAttribute($databodyBlocks$$[0], "_adsCounter"), $isKeepingOldBlocks$$inline_1959$$ = "shortScroll" == $renderType$$ || "initialFillViewport" == $renderType$$;
        if($adsCounter$$ < this.$_blockADSCounter$ || $adsCounter$$ > this.$_bufferADSCounter$ && $isKeepingOldBlocks$$inline_1959$$) {
          AdfPage.PAGE.addPartialTargets(this.getComponent());
          return
        }
      }
      this._hideStatus();
      AdfPivotTableUtils.$isMobileTouchDevice$() && !this.$_isPaging$ && (this.$_ptUtils$.$_scrollWaitForFetch$ = $JSCompiler_alias_FALSE$$);
      $component$$482$$.setProperty(AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$, $JSCompiler_alias_VOID$$);
      var $selectionString$$13$$;
      a: {
        for(var $nodes$$inline_1965$$ = $pprTarget$$1$$.childNodes, $i$$inline_1966$$ = 0;$i$$inline_1966$$ < $nodes$$inline_1965$$.length;$i$$inline_1966$$++) {
          var $node$$inline_1967$$ = $nodes$$inline_1965$$[$i$$inline_1966$$];
          if($node$$inline_1967$$.id && -1 != $node$$inline_1967$$.id.indexOf(AdfDhtmlPivotTablePeer.$_SELECTION_DIV_ID$)) {
            $selectionString$$13$$ = $node$$inline_1967$$.getAttribute("_selection");
            break a
          }
        }
        AdfLogger.LOGGER.severe("Selection String not found.  This is unexpected.");
        $selectionString$$13$$ = $JSCompiler_alias_NULL$$
      }
      this.$_ptUtils$.$checkpointTimer$(1, "in block-fetch block, just before switch");
      switch($renderType$$) {
        case "initBlock":
          var $summary$$inline_1971$$ = AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_summary"), $summaryDiv$$inline_1972$$ = this.$_ptUtils$.$_summaryDiv$, $summaryDivId$$inline_1973$$ = AdfAgent.AGENT.getAttribute($summaryDiv$$inline_1972$$, "id");
          AdfAgent.AGENT.setTextContent($summaryDiv$$inline_1972$$, $summary$$inline_1971$$);
          AdfAgent.AGENT.setAttribute(this.$_ptUtils$.$_container$, "aria-describedby", $summaryDivId$$inline_1973$$);
        case AdfDhtmlPivotTablePeer.$PARTIAL$:
          var $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$ = this.$_ptUtils$, $viewportStartRow$$inline_1978$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_startRow"), $viewportStartCol$$inline_1979$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_startCol"), $viewportStartRowPixel$$inline_1980$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_startRowPixel"), $viewportStartColPixel$$inline_1981$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_startColPixel"), $rowHeaderStartLayer$$inline_1982$$ = 
          AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_rowHeaderStartLayer"), $colHeaderStartLayer$$inline_1983$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_colHeaderStartLayer"), $rowHeaderStartPixel$$inline_1984$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_rowHeaderStartPixel"), $colHeaderStartPixel$$inline_1985$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_colHeaderStartPixel");
          $component$$482$$.setProperty(AdfRichPivotTable.$__START_ROW_KEY$, $viewportStartRow$$inline_1978$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__START_COLUMN_KEY$, $viewportStartCol$$inline_1979$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__START_ROW_PIXEL_KEY$, $viewportStartRowPixel$$inline_1980$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__START_COLUMN_PIXEL_KEY$, $viewportStartColPixel$$inline_1981$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__ROW_HEADER_START_LAYER_KEY$, $rowHeaderStartLayer$$inline_1982$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_LAYER_KEY$, $colHeaderStartLayer$$inline_1983$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__ROW_HEADER_START_PIXEL_KEY$, $rowHeaderStartPixel$$inline_1984$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_PIXEL_KEY$, $colHeaderStartPixel$$inline_1985$$);
          var $splitCol$$inline_1986$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_splitCol"), $splitRow$$inline_1987$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_splitRow");
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_splitSlice$ = [$splitCol$$inline_1986$$, $splitRow$$inline_1987$$];
          var $splitSlice$$inline_1988$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_splitSlice$;
          $component$$482$$.setProperty(AdfRichPivotTable.$__SPLIT_COLUMN_KEY$, $splitCol$$inline_1986$$);
          $component$$482$$.setProperty(AdfRichPivotTable.$__SPLIT_ROW_KEY$, $splitRow$$inline_1987$$);
          -1 == $splitCol$$inline_1986$$ && -1 == $splitRow$$inline_1987$$ && ($JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_splitPercentage$[0] = 0.5, $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_splitPercentage$[1] = 0.5);
          if(-1 != $splitCol$$inline_1986$$) {
            var $secondStartCol$$inline_1989$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_secondStartCol"), $secondStartColPixel$$inline_1990$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_secondStartColPixel");
            $component$$482$$.setProperty(AdfRichPivotTable.$__SECOND_START_COLUMN_KEY$, $secondStartCol$$inline_1989$$);
            $component$$482$$.setProperty(AdfRichPivotTable.$__SECOND_START_COLUMN_PIXEL_KEY$, $secondStartColPixel$$inline_1990$$)
          }
          if(-1 != $splitRow$$inline_1987$$) {
            var $secondStartRow$$inline_1991$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_secondStartRow"), $secondStartRowPixel$$inline_1992$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_secondStartRowPixel");
            $component$$482$$.setProperty(AdfRichPivotTable.$__SECOND_START_ROW_KEY$, $secondStartRow$$inline_1991$$);
            $component$$482$$.setProperty(AdfRichPivotTable.$__SECOND_START_ROW_PIXEL_KEY$, $secondStartRowPixel$$inline_1992$$)
          }
          var $colExtent$$inline_1993$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_cExtent"), $rowExtent$$inline_1994$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_rExtent");
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_edgeExtent$ = [$colExtent$$inline_1993$$, $rowExtent$$inline_1994$$];
          var $edgeExtent$$inline_1995$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_edgeExtent$, $colLayerCount$$inline_1996$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_cLayerCount"), $rowLayerCount$$inline_1997$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_rLayerCount");
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_layerCount$ = [$colLayerCount$$inline_1996$$, $rowLayerCount$$inline_1997$$];
          var $colBlockSize$$inline_1998$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_cBlockSize"), $rowBlockSize$$inline_1999$$ = AdfAgent.AGENT.getIntAttribute($pprTarget$$1$$, "_rBlockSize");
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_blockSize$ = [$colBlockSize$$inline_1998$$, $rowBlockSize$$inline_1999$$];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_startPane$ = [];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_canvasStartSlice$ = [[], []];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_canvasEndSlice$ = [[], []];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_paneExtent$ = [[], []];
          for(var $startPane$$inline_2000$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_startPane$, $canvasStartSlice$$inline_2001$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_canvasStartSlice$, $canvasEndSlice$$inline_2002$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_canvasEndSlice$, $paneExtent$$inline_2003$$ = $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_paneExtent$, $edge$$inline_2004$$ = 0;2 > $edge$$inline_2004$$;++$edge$$inline_2004$$) {
            -1 == $splitSlice$$inline_1988$$[$edge$$inline_2004$$] ? $startPane$$inline_2000$$[$edge$$inline_2004$$] = 1 : ($startPane$$inline_2000$$[$edge$$inline_2004$$] = 0, $canvasStartSlice$$inline_2001$$[$edge$$inline_2004$$][1] = $splitSlice$$inline_1988$$[$edge$$inline_2004$$], $canvasEndSlice$$inline_2002$$[$edge$$inline_2004$$][0] = $splitSlice$$inline_1988$$[$edge$$inline_2004$$]);
            $canvasStartSlice$$inline_2001$$[$edge$$inline_2004$$][$startPane$$inline_2000$$[$edge$$inline_2004$$]] = 0;
            $canvasEndSlice$$inline_2002$$[$edge$$inline_2004$$][1] = $edgeExtent$$inline_1995$$[$edge$$inline_2004$$];
            for(var $pane$$inline_2005$$ = $startPane$$inline_2000$$[$edge$$inline_2004$$];2 > $pane$$inline_2005$$;++$pane$$inline_2005$$) {
              $paneExtent$$inline_2003$$[$edge$$inline_2004$$][$pane$$inline_2005$$] = $canvasEndSlice$$inline_2002$$[$edge$$inline_2004$$][$pane$$inline_2005$$] - $canvasStartSlice$$inline_2001$$[$edge$$inline_2004$$][$pane$$inline_2005$$]
            }
          }
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_headerSizeAllocation$ = [Number(AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_sizeAlloc0")), Number(AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_sizeAlloc1"))];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_headerSizeAllocUnit$ = [AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_sizeUnit0"), AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_sizeUnit1")];
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_colExtent$ = $colExtent$$inline_1993$$;
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_rowExtent$ = $rowExtent$$inline_1994$$;
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_colLayerCount$ = $colLayerCount$$inline_1996$$;
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_rowLayerCount$ = $rowLayerCount$$inline_1997$$;
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_colBlockSize$ = $colBlockSize$$inline_1998$$;
          $JSCompiler_StaticMethods_initInfo$self$$inline_1975$$.$_rowBlockSize$ = $rowBlockSize$$inline_1999$$;
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: just called initInfo");
          this.$_isSortEnabled$ = AdfAgent.AGENT.getBooleanAttribute($pprTarget$$1$$, "_sortEnabled");
          this.$_currentPivotHandle$ = $JSCompiler_alias_NULL$$;
          var $emptyTextDiv$$ = $JSCompiler_StaticMethods_getArrivingElements$$($pprTarget$$1$$, this.$_ptUtils$.$_id$ + "::" + AdfDhtmlPivotTablePeer.$EMPTY_TEXT_ID$)[0];
          this.$_ptUtils$.$_emptyTextDiv$ = $emptyTextDiv$$;
          this.$_colInfo$ = TrFastMessageFormatUtils.format(this.$_colInfo$, "{0}", this.$_ptUtils$.$_colExtent$);
          this.$_rowInfo$ = TrFastMessageFormatUtils.format(this.$_rowInfo$, "{0}", this.$_ptUtils$.$_rowExtent$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: just did some misc init");
          for(var $JSCompiler_StaticMethods_setVisibilityOfPanes$self$$inline_2007$$ = this.$_ptUtils$, $splitSlice$$inline_2008$$ = $JSCompiler_StaticMethods_setVisibilityOfPanes$self$$inline_2007$$.$_splitSlice$, $headers$$inline_2009$$ = $JSCompiler_StaticMethods_setVisibilityOfPanes$self$$inline_2007$$.$_headers$, $databodies$$inline_2010$$ = $JSCompiler_StaticMethods_setVisibilityOfPanes$self$$inline_2007$$.$_databodies$, $scrollers$$inline_2011$$ = $JSCompiler_StaticMethods_setVisibilityOfPanes$self$$inline_2007$$.$_databodyScrollers$, 
          $edge$$inline_2012$$ = 0;2 > $edge$$inline_2012$$;++$edge$$inline_2012$$) {
            var $display$$inline_2013$$ = -1 == $splitSlice$$inline_2008$$[$edge$$inline_2012$$] ? "none" : "block";
            $headers$$inline_2009$$[$edge$$inline_2012$$][0].style.display = $display$$inline_2013$$;
            ($edge$$inline_2012$$ ? $databodies$$inline_2010$$[0][1] : $databodies$$inline_2010$$[1][0]).style.display = $display$$inline_2013$$;
            AdfPivotTableUtils.$isMobileTouchDevice$() || (($edge$$inline_2012$$ ? $scrollers$$inline_2011$$[0][1] : $scrollers$$inline_2011$$[1][0]).style.display = $display$$inline_2013$$)
          }
          $databodies$$inline_2010$$[0][0].style.display = -1 != $splitSlice$$inline_2008$$[0] && -1 != $splitSlice$$inline_2008$$[1] ? "block" : "none";
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: setVisibilityOfPanes");
          $JSCompiler_StaticMethods_removeAllBlocks$$(this.$_ptUtils$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: removeAllBlocks");
          for(var $JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$ = this.$_ptUtils$, $pivotHandles$$inline_2016$$ = $JSCompiler_StaticMethods_getArrivingElements$$($JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_corner$, $JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_id$ + "::ph"), $length$$inline_2017$$ = $pivotHandles$$inline_2016$$.length, $i$$inline_2018$$ = 0;$i$$inline_2018$$ < $length$$inline_2017$$;$i$$inline_2018$$++) {
            $JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_corner$.removeChild($pivotHandles$$inline_2016$$[$i$$inline_2018$$])
          }
          $JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_layerLabelBlock$ && $JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_corner$.removeChild($JSCompiler_StaticMethods_removePivotHandlesAndLayerLabelBlock$self$$inline_2015$$.$_layerLabelBlock$);
          for(var $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$ = this.$_ptUtils$, $pivotHandles$$inline_2022$$ = $JSCompiler_StaticMethods_getArrivingElements$$($pprTarget$$1$$, $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_id$ + "::ph"), $length$$inline_2023$$ = $pivotHandles$$inline_2022$$.length, $i$$inline_2024$$ = 0;$i$$inline_2024$$ < $length$$inline_2023$$;$i$$inline_2024$$++) {
            $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_corner$.appendChild($pivotHandles$$inline_2022$$[$i$$inline_2024$$])
          }
          $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_layerLabelBlock$ = AdfDhtmlPivotTablePeer.$_getChildById$($pprTarget$$1$$, $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_id$ + "::LayerLabelBlock");
          $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_layerLabelBlock$ && $JSCompiler_StaticMethods_addBlockToDOM$$($JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$, $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_corner$, $JSCompiler_StaticMethods_addPivotHandlesAndLayerLabelBlock$self$$inline_2020$$.$_layerLabelBlock$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: pivothandles");
          $emptyTextDiv$$ && this.$_ptUtils$.$_databodies$[1][1].appendChild($emptyTextDiv$$);
          $JSCompiler_StaticMethods_addBlocksToBuffer$$(this.$_ptUtils$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: addBlocksToBuffer");
          var $sizeBeforeViewport$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$$(this.$_ptUtils$, $JSCompiler_alias_TRUE$$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: sizeInitialHTMLBlocks");
          $JSCompiler_StaticMethods__isRowHeaderTextWrap$$(this) && this.$_ptUtils$.$_isRowHeaderWidthOverrideSmaller$ && $JSCompiler_StaticMethods_coordinateRowBlockSizes$$(this.$_ptUtils$);
          this.$_ptUtils$.$sizePivotTable$(this.$_maxWidth$, this.$_maxHeight$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: sizePivotTable");
          $JSCompiler_StaticMethods_positionInitialBlocks$$(this.$_ptUtils$, $sizeBeforeViewport$$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: positionInitialBlocks");
          $JSCompiler_StaticMethods_setCurrentRequest$$(this, $JSCompiler_alias_NULL$$, $adsCounter$$);
          $JSCompiler_StaticMethods_markBlocksNotNew$$(this.$_ptUtils$);
          $JSCompiler_StaticMethods_fetchNearbyBlocks$$(this.$_ptUtils$, $JSCompiler_alias_TRUE$$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: fetchNearbyBlocks");
          $JSCompiler_StaticMethods_initializeSelection$$(this, $selectionString$$13$$);
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: initializeSelection");
          var $varActiveCellKey$$ = AdfAgent.AGENT.getAttribute($pprTarget$$1$$, "_ack");
          "null" != $varActiveCellKey$$ ? ($component$$482$$.setProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$, $varActiveCellKey$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS), $component$$482$$.setProperty("activeCellKey", $varActiveCellKey$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS)) : ($component$$482$$.setProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS), $component$$482$$.setProperty("activeCellKey", 
          $JSCompiler_alias_NULL$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_ALWAYS));
          this.$_ptUtils$.$checkpointTimer$(1, "Init case: ACK");
          var $component$$inline_2028$$ = this.getComponent(), $activeCellKey$$inline_2029$$ = $pprTarget$$1$$.getAttribute("_initACK");
          $activeCellKey$$inline_2029$$ ? ($component$$inline_2028$$.setProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$, $activeCellKey$$inline_2029$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_NEVER), $component$$inline_2028$$.setProperty("activeCellKey", $activeCellKey$$inline_2029$$, $JSCompiler_alias_FALSE$$, AdfUIComponent.PROPAGATE_NEVER), this.$_activeCellKeySetFromServer$ = $JSCompiler_alias_TRUE$$) : $pprTarget$$1$$.getAttribute("_afrACKChange") && (this.$_activeCellKeySetFromServer$ = 
          $JSCompiler_alias_TRUE$$);
          break;
        case "longScroll":
          if("true" == this.getDomElement().getAttribute("_rngChgLstnr")) {
            var $clone$$3$$ = this.$_ptUtils$.cloneArray(this.$_ptUtils$.$_databodyBuffers$)
          }
          $JSCompiler_StaticMethods_removeAllBlocks$$(this.$_ptUtils$);
          $JSCompiler_StaticMethods_addBlocksToBuffer$$(this.$_ptUtils$);
          if($clone$$3$$ != $JSCompiler_alias_NULL$$) {
            var $event$$171$$ = $JSCompiler_StaticMethods__getRangeChangeEvent$$(this, $clone$$3$$, this.$_ptUtils$.$_databodyBuffers$);
            $event$$171$$.$_blockRemoved$ = $JSCompiler_alias_FALSE$$
          }
          $sizeBeforeViewport$$ = $JSCompiler_StaticMethods_sizeInitialHTMLBlocks$$(this.$_ptUtils$, $JSCompiler_alias_FALSE$$);
          $JSCompiler_StaticMethods__isRowHeaderTextWrap$$(this) && this.$_ptUtils$.$_isRowHeaderWidthOverrideSmaller$ && $JSCompiler_StaticMethods_coordinateRowBlockSizes$$(this.$_ptUtils$);
          this.$_ptUtils$.$sizePivotTable$(this.$_maxWidth$, this.$_maxHeight$);
          $JSCompiler_StaticMethods_positionInitialBlocks$$(this.$_ptUtils$, $sizeBeforeViewport$$);
          $JSCompiler_StaticMethods_setUnchangedSelection$$(this, $selectionString$$13$$);
          $JSCompiler_StaticMethods_setCurrentRequest$$(this, $JSCompiler_alias_NULL$$, $adsCounter$$);
          $JSCompiler_StaticMethods_markBlocksNotNew$$(this.$_ptUtils$);
          $event$$171$$ != $JSCompiler_alias_NULL$$ && $component$$482$$.queueEvent($event$$171$$);
          $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$$(this);
          break;
        case "shortScroll":
        ;
        case "initialFillViewport":
          for(var $deltas$$ = [[], []], $edge$$16$$ = 1;0 <= $edge$$16$$;--$edge$$16$$) {
            for(var $pane$$3$$ = this.$_ptUtils$.$_startPane$[$edge$$16$$];2 > $pane$$3$$;++$pane$$3$$) {
              $deltas$$[$edge$$16$$][$pane$$3$$] = this.$_ptUtils$.$getScrollPos$($edge$$16$$, $pane$$3$$) - $JSCompiler_StaticMethods_getOldScrollPos$$(this.$_ptUtils$, $edge$$16$$, $pane$$3$$)
            }
          }
          "true" == this.getDomElement().getAttribute("_rngChgLstnr") && ($clone$$3$$ = this.$_ptUtils$.cloneArray(this.$_ptUtils$.$_databodyBuffers$));
          var $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$ = this.$_ptUtils$, $boundses$$inline_2036$$ = [[], []], $bufferEmpty$$inline_2037$$ = $JSCompiler_alias_FALSE$$, $noOverlap$$inline_2038$$ = $JSCompiler_alias_FALSE$$, $edge$$inline_2039$$ = 0;
          a:for(;2 > $edge$$inline_2039$$;++$edge$$inline_2039$$) {
            for(var $pane$$inline_2040$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_startPane$[$edge$$inline_2039$$];2 > $pane$$inline_2040$$;++$pane$$inline_2040$$) {
              var $bufferLength$$inline_2041$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_buffers2$[$edge$$inline_2039$$][$pane$$inline_2040$$].length;
              if(0 == $bufferLength$$inline_2041$$) {
                $bufferEmpty$$inline_2037$$ = $JSCompiler_alias_TRUE$$;
                break a
              }
              var $bounds$$inline_2042$$ = $JSCompiler_StaticMethods_rangeOfBlocksOverlappingShiftedViewport$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $deltas$$ ? $deltas$$[$edge$$inline_2039$$][$pane$$inline_2040$$] : 0);
              if(!$JSCompiler_StaticMethods_doesBufferOverlapShiftedViewport$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $bounds$$inline_2042$$)) {
                $noOverlap$$inline_2038$$ = $JSCompiler_alias_TRUE$$;
                break a
              }
              $bounds$$inline_2042$$.start = Math.max($bounds$$inline_2042$$.start, 0);
              $bounds$$inline_2042$$.end = Math.min($bounds$$inline_2042$$.end, $bufferLength$$inline_2041$$ - 1);
              $boundses$$inline_2036$$[$edge$$inline_2039$$][$pane$$inline_2040$$] = $bounds$$inline_2042$$
            }
          }
          if($bufferEmpty$$inline_2037$$) {
            AdfLogger.LOGGER.severe("trimBuffer found that the buffer was already empty.  This is unexpected."), $JSCompiler_StaticMethods_removeAllBlocks$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$)
          }else {
            if($noOverlap$$inline_2038$$) {
              AdfLogger.LOGGER.severe("trimBuffer is removing all blocks due to no overlap.  This is unexpected."), $JSCompiler_StaticMethods_removeAllBlocks$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$)
            }else {
              for($edge$$inline_2039$$ = 1;0 <= $edge$$inline_2039$$;--$edge$$inline_2039$$) {
                for($pane$$inline_2040$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_startPane$[$edge$$inline_2039$$];2 > $pane$$inline_2040$$;++$pane$$inline_2040$$) {
                  var $bounds$$inline_2042$$ = $boundses$$inline_2036$$[$edge$$inline_2039$$][$pane$$inline_2040$$], $deleteStart$$inline_2043$$ = $bounds$$inline_2042$$.end + 1, $bufferLength$$inline_2041$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_buffers2$[$edge$$inline_2039$$][$pane$$inline_2040$$].length, $deleteCount$$inline_2044$$ = $bufferLength$$inline_2041$$ - $deleteStart$$inline_2043$$;
                  $JSCompiler_StaticMethods__trimBuffer$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $deleteStart$$inline_2043$$, $deleteCount$$inline_2044$$);
                  $deleteStart$$inline_2043$$ = 0;
                  $deleteCount$$inline_2044$$ = $bounds$$inline_2042$$.start;
                  $JSCompiler_StaticMethods__trimBuffer$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $deleteStart$$inline_2043$$, $deleteCount$$inline_2044$$)
                }
              }
              for($edge$$inline_2039$$ = 1;0 <= $edge$$inline_2039$$;--$edge$$inline_2039$$) {
                for($pane$$inline_2040$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_startPane$[$edge$$inline_2039$$];2 > $pane$$inline_2040$$;++$pane$$inline_2040$$) {
                  var $headerBuffer$$inline_2045$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_buffers2$[$edge$$inline_2039$$][$pane$$inline_2040$$], $lastIndex$$inline_2046$$ = $headerBuffer$$inline_2045$$.length - 1;
                  $headerBuffer$$inline_2045$$[$lastIndex$$inline_2046$$]._placeholder && ($deleteStart$$inline_2043$$ = $lastIndex$$inline_2046$$, $deleteCount$$inline_2044$$ = 1, $JSCompiler_StaticMethods__trimBuffer$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $deleteStart$$inline_2043$$, $deleteCount$$inline_2044$$))
                }
              }
              for($edge$$inline_2039$$ = 1;0 <= $edge$$inline_2039$$;--$edge$$inline_2039$$) {
                for($pane$$inline_2040$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_startPane$[$edge$$inline_2039$$];2 > $pane$$inline_2040$$;++$pane$$inline_2040$$) {
                  var $headerBuffer$$inline_2045$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_buffers2$[$edge$$inline_2039$$][$pane$$inline_2040$$], $firstBlock$$inline_2047$$ = $headerBuffer$$inline_2045$$[0];
                  $firstBlock$$inline_2047$$ && $firstBlock$$inline_2047$$._placeholder && ($deleteStart$$inline_2043$$ = 0, $deleteCount$$inline_2044$$ = 1, $JSCompiler_StaticMethods__trimBuffer$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$, $edge$$inline_2039$$, $pane$$inline_2040$$, $deleteStart$$inline_2043$$, $deleteCount$$inline_2044$$))
                }
              }
              for($edge$$inline_2039$$ = 0;2 > $edge$$inline_2039$$;++$edge$$inline_2039$$) {
                for($pane$$inline_2040$$ = $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_startPane$[$edge$$inline_2039$$];2 > $pane$$inline_2040$$;++$pane$$inline_2040$$) {
                  0 == $JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$.$_buffers2$[$edge$$inline_2039$$][$pane$$inline_2040$$].length && (AdfLogger.LOGGER.severe("trimBuffer found overlap betweeen the buffer and the viewport, but that overlap was exclusively placeholder rows/columns, so it removed all blocks.  This is unexpected."), $JSCompiler_StaticMethods_removeAllBlocks$$($JSCompiler_StaticMethods_trimBuffer$self$$inline_2034$$))
                }
              }
            }
          }
          $clone$$3$$ != $JSCompiler_alias_NULL$$ && ($event$$171$$ = $JSCompiler_StaticMethods__getRangeChangeEvent$$(this, $clone$$3$$, this.$_ptUtils$.$_databodyBuffers$));
          $JSCompiler_StaticMethods_addBlocksToBuffer$$(this.$_ptUtils$);
          if(this.$_adsEnabled$) {
            var $adsCounter$$inline_2051$$ = $adsCounter$$, $list$$inline_2052$$ = this.$_activeMessageBuffer$;
            if($list$$inline_2052$$) {
              for(var $i$$inline_2053$$ = 0;$i$$inline_2053$$ < $list$$inline_2052$$.length && $list$$inline_2052$$[$i$$inline_2053$$] <= $adsCounter$$inline_2051$$;) {
                $i$$inline_2053$$++;
                var $payload$$inline_2054$$ = $list$$inline_2052$$[$i$$inline_2053$$++];
                $JSCompiler_StaticMethods_applyAdsPayload$$(this, $payload$$inline_2054$$, $JSCompiler_alias_FALSE$$)
              }
              $list$$inline_2052$$.splice(0, $i$$inline_2053$$)
            }
          }
          for(var $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$ = this.$_ptUtils$, $isIE$$inline_3664$$ = AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM, $colHeaderBlocks$$inline_3665$$ = [], $colPane$$inline_3666$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_startPane$[0];2 > $colPane$$inline_3666$$;++$colPane$$inline_3666$$) {
            for(var $colHeaderBuffer$$inline_3667$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_colHeaderBuffers$[$colPane$$inline_3666$$], $length$$inline_3668$$ = $colHeaderBuffer$$inline_3667$$.length, $iCol$$inline_3669$$ = 0;$iCol$$inline_3669$$ < $length$$inline_3668$$;$iCol$$inline_3669$$++) {
              var $colHeaderBlock$$inline_3670$$ = $colHeaderBuffer$$inline_3667$$[$iCol$$inline_3669$$];
              if(!$colHeaderBlock$$inline_3670$$._placeholder) {
                for(var $databodyBlocks$$inline_3671$$ = [], $rowPane$$inline_3672$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_startPane$[1];2 > $rowPane$$inline_3672$$;++$rowPane$$inline_3672$$) {
                  for(var $databodyBuffer$$inline_3673$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_databodyBuffers$[$rowPane$$inline_3672$$][$colPane$$inline_3666$$], $numBlockRows$$inline_3674$$ = $databodyBuffer$$inline_3673$$.length, $iRow$$inline_3675$$ = 0;$iRow$$inline_3675$$ < $numBlockRows$$inline_3674$$;$iRow$$inline_3675$$++) {
                    var $block$$inline_3676$$ = $databodyBuffer$$inline_3673$$[$iRow$$inline_3675$$][$iCol$$inline_3669$$];
                    $block$$inline_3676$$ && $block$$inline_3676$$._new && $databodyBlocks$$inline_3671$$.push($block$$inline_3676$$)
                  }
                }
                if($colHeaderBlock$$inline_3670$$._new) {
                  $JSCompiler_StaticMethods_coordinateHTMLBlockColumnWidths$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $colHeaderBlock$$inline_3670$$, $databodyBlocks$$inline_3671$$)
                }else {
                  for(var $databodyBlocks$$inline_3808$$ = $databodyBlocks$$inline_3671$$, $width$$inline_3809$$ = $colHeaderBlock$$inline_3670$$.$_width$, $length$$inline_3810$$ = $databodyBlocks$$inline_3808$$.length, $i$$inline_3811$$ = 0;$i$$inline_3811$$ < $length$$inline_3810$$;++$i$$inline_3811$$) {
                    $databodyBlocks$$inline_3808$$[$i$$inline_3811$$].$_width$ = $width$$inline_3809$$
                  }
                }
                $colHeaderBlocks$$inline_3665$$.push($colHeaderBlock$$inline_3670$$)
              }
            }
          }
          for($rowPane$$inline_3672$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_startPane$[1];2 > $rowPane$$inline_3672$$;++$rowPane$$inline_3672$$) {
            for(var $rowHeaderBuffer$$inline_3677$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_rowHeaderBuffers$[$rowPane$$inline_3672$$], $length$$inline_3668$$ = $rowHeaderBuffer$$inline_3677$$.length, $iRow$$inline_3675$$ = 0;$iRow$$inline_3675$$ < $length$$inline_3668$$;$iRow$$inline_3675$$++) {
              for(var $rowHeaderBlock$$inline_3678$$ = $rowHeaderBuffer$$inline_3677$$[$iRow$$inline_3675$$], $databodyBlocks$$inline_3671$$ = [], $existingDatabodyBlocks$$inline_3679$$ = [], $colPane$$inline_3666$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_startPane$[0];2 > $colPane$$inline_3666$$;++$colPane$$inline_3666$$) {
                for(var $databodyBuffer$$inline_3673$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_databodyBuffers$[$rowPane$$inline_3672$$][$colPane$$inline_3666$$], $numBlockCols$$inline_3680$$ = $databodyBuffer$$inline_3673$$[$iRow$$inline_3675$$].length, $iCol$$inline_3669$$ = 0;$iCol$$inline_3669$$ < $numBlockCols$$inline_3680$$;$iCol$$inline_3669$$++) {
                  ($block$$inline_3676$$ = $databodyBuffer$$inline_3673$$[$iRow$$inline_3675$$][$iCol$$inline_3669$$]) && $block$$inline_3676$$._new ? ($isIE$$inline_3664$$ && $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_rightToLeft$ && ($block$$inline_3676$$.childNodes[0].style.position = "absolute"), $databodyBlocks$$inline_3671$$.push($block$$inline_3676$$)) : $existingDatabodyBlocks$$inline_3679$$.push($block$$inline_3676$$)
                }
              }
              ($rowHeaderBlock$$inline_3678$$._new || 0 < $databodyBlocks$$inline_3671$$.length) && $JSCompiler_StaticMethods_coordinateHTMLBlockRowHeights$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $rowHeaderBlock$$inline_3678$$, $databodyBlocks$$inline_3671$$, $existingDatabodyBlocks$$inline_3679$$, $iRow$$inline_3675$$)
            }
          }
          $JSCompiler_StaticMethods_coordinateColumnHeaderRowHeights$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $colHeaderBlocks$$inline_3665$$, $JSCompiler_alias_FALSE$$);
          $JSCompiler_StaticMethods_setBlockTableStyles$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $JSCompiler_alias_TRUE$$);
          var $buffer$$inline_2057$$, $block$$inline_2058$$, $length$$inline_2059$$;
          if(AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM && !(8 <= AdfAgent.AGENT.getVersion())) {
            $JSCompiler_StaticMethods_shiftAllPlaceholderCells$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $JSCompiler_alias_TRUE$$)
          }else {
            for(var $pane$$inline_2060$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_startPane$[1];2 > $pane$$inline_2060$$;++$pane$$inline_2060$$) {
              $buffer$$inline_2057$$ = $JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$.$_rowHeaderBuffers$[$pane$$inline_2060$$];
              $length$$inline_2059$$ = $buffer$$inline_2057$$.length;
              for(i = 0;i < $length$$inline_2059$$;i++) {
                $block$$inline_2058$$ = $buffer$$inline_2057$$[i], !$block$$inline_2058$$._placeholder && $block$$inline_2058$$._new && $JSCompiler_StaticMethods_setCachedSize$$($JSCompiler_StaticMethods_sizeNewHTMLBlocks$self$$inline_2056$$, $block$$inline_2058$$, $block$$inline_2058$$.childNodes[0].offsetWidth, AdfPivotTableUtils.$COLUMN_EDGE$)
              }
            }
          }
          $JSCompiler_StaticMethods__isRowHeaderTextWrap$$(this) && $JSCompiler_StaticMethods_coordinateRowBlockSizes$$(this.$_ptUtils$);
          this.$_ptUtils$.$sizePivotTable$(this.$_maxWidth$, this.$_maxHeight$);
          var $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$ = this.$_ptUtils$, $edge$$inline_2064$$, $pane$$inline_2065$$, $i$$inline_2066$$, $j$$inline_2067$$, $scrollPos$$inline_2068$$ = [[], []];
          for($edge$$inline_2064$$ = 1;0 <= $edge$$inline_2064$$;--$edge$$inline_2064$$) {
            var $headerBuffers$$inline_2069$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_buffers2$[$edge$$inline_2064$$], $_canvasPosAttr$$inline_2070$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_canvasPosAttr$[$edge$$inline_2064$$], $_sizeAttr$$inline_2071$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_sizeAttr$[$edge$$inline_2064$$], $_posAttr$$inline_2072$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_posAttr$[$edge$$inline_2064$$];
            for($pane$$inline_2065$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_startPane$[$edge$$inline_2064$$];2 > $pane$$inline_2065$$;++$pane$$inline_2065$$) {
              var $headerBuffer$$inline_2073$$ = $headerBuffers$$inline_2069$$[$pane$$inline_2065$$], $length$$inline_2074$$ = $headerBuffer$$inline_2073$$.length, $oldHeaderBlock$$inline_2075$$ = $JSCompiler_alias_NULL$$, $block$$inline_2076$$ = $headerBuffer$$inline_2073$$[0];
              $block$$inline_2076$$._new || ($oldHeaderBlock$$inline_2075$$ = $block$$inline_2076$$);
              var $slicesBeforeBlock$$inline_2077$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.getIntAttribute($block$$inline_2076$$, "_startSlice") - $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_canvasStartSlice$[$edge$$inline_2064$$][$pane$$inline_2065$$];
              $JSCompiler_StaticMethods_setCanvasPos$$($edge$$inline_2064$$, $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_defaultSliceSize$[$edge$$inline_2064$$] * $slicesBeforeBlock$$inline_2077$$, $block$$inline_2076$$);
              for($i$$inline_2066$$ = 1;$i$$inline_2066$$ < $length$$inline_2074$$;$i$$inline_2066$$++) {
                var $prevBlock$$inline_2078$$ = $block$$inline_2076$$, $block$$inline_2076$$ = $headerBuffer$$inline_2073$$[$i$$inline_2066$$];
                $oldHeaderBlock$$inline_2075$$ == $JSCompiler_alias_NULL$$ && !$block$$inline_2076$$._new && ($oldHeaderBlock$$inline_2075$$ = $block$$inline_2076$$);
                $JSCompiler_StaticMethods_setCanvasPos$$($edge$$inline_2064$$, $prevBlock$$inline_2078$$[$_canvasPosAttr$$inline_2070$$] + $prevBlock$$inline_2078$$[$_sizeAttr$$inline_2071$$], $block$$inline_2076$$);
                $block$$inline_2076$$.style[$edge$$inline_2064$$ ? "left" : "top"] = "0px"
              }
              $scrollPos$$inline_2068$$[$edge$$inline_2064$$][$pane$$inline_2065$$] = $oldHeaderBlock$$inline_2075$$[$_canvasPosAttr$$inline_2070$$] - ($oldHeaderBlock$$inline_2075$$[$_posAttr$$inline_2072$$] - $deltas$$[$edge$$inline_2064$$][$pane$$inline_2065$$])
            }
          }
          for(var $rowHeaderBuffers$$inline_2079$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_rowHeaderBuffers$, $colHeaderBuffers$$inline_2080$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_colHeaderBuffers$, $databodyBuffers$$inline_2081$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_databodyBuffers$, $rowPane$$inline_2082$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_startPane$[1];2 > 
          $rowPane$$inline_2082$$;++$rowPane$$inline_2082$$) {
            for(var $rowHeaderBuffer$$inline_2083$$ = $rowHeaderBuffers$$inline_2079$$[$rowPane$$inline_2082$$], $rowOfDatabodyBuffers$$inline_2084$$ = $databodyBuffers$$inline_2081$$[$rowPane$$inline_2082$$], $colPane$$inline_2085$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_startPane$[0];2 > $colPane$$inline_2085$$;++$colPane$$inline_2085$$) {
              var $colHeaderBuffer$$inline_2086$$ = $colHeaderBuffers$$inline_2080$$[$colPane$$inline_2085$$], $databodyBuffer$$inline_2087$$ = $rowOfDatabodyBuffers$$inline_2084$$[$colPane$$inline_2085$$], $length$$inline_2074$$ = $databodyBuffer$$inline_2087$$.length;
              for($i$$inline_2066$$ = 0;$i$$inline_2066$$ < $length$$inline_2074$$;$i$$inline_2066$$++) {
                var $rowHeaderBlock$$inline_2088$$ = $rowHeaderBuffer$$inline_2083$$[$i$$inline_2066$$], $rowOfDatabodyBlocks$$inline_2089$$ = $databodyBuffer$$inline_2087$$[$i$$inline_2066$$], $rLength$$inline_2090$$ = $rowOfDatabodyBlocks$$inline_2089$$.length;
                for($j$$inline_2067$$ = 0;$j$$inline_2067$$ < $rLength$$inline_2090$$;$j$$inline_2067$$++) {
                  var $colHeaderBlock$$inline_2091$$ = $colHeaderBuffer$$inline_2086$$[$j$$inline_2067$$], $databodyBlock$$inline_2092$$ = $rowOfDatabodyBlocks$$inline_2089$$[$j$$inline_2067$$];
                  $JSCompiler_StaticMethods_setCanvasPos$$(1, $rowHeaderBlock$$inline_2088$$._canvasTop, $databodyBlock$$inline_2092$$);
                  $JSCompiler_StaticMethods_setCanvasPos$$(0, $colHeaderBlock$$inline_2091$$._canvasHorizPos, $databodyBlock$$inline_2092$$)
                }
              }
            }
          }
          for($edge$$inline_2064$$ = 1;0 <= $edge$$inline_2064$$;--$edge$$inline_2064$$) {
            for($pane$$inline_2065$$ = $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_startPane$[$edge$$inline_2064$$];2 > $pane$$inline_2065$$;++$pane$$inline_2065$$) {
              $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_pivotTablePeer$.$__logEnabled$ && $JSCompiler_StaticMethods_putInTestLog$$($JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.$_pivotTablePeer$, "positionNewHTMLBlocks calling setScrollPos(" + $edge$$inline_2064$$ + ", " + $pane$$inline_2065$$ + ", " + $scrollPos$$inline_2068$$[$edge$$inline_2064$$][$pane$$inline_2065$$] + ")"), $JSCompiler_StaticMethods_positionNewHTMLBlocks$self$$inline_2062$$.setScrollPos($edge$$inline_2064$$, 
              $pane$$inline_2065$$, $scrollPos$$inline_2068$$[$edge$$inline_2064$$][$pane$$inline_2065$$])
            }
          }
          $JSCompiler_StaticMethods_scrollHTMLBlocks$$(this.$_ptUtils$, $JSCompiler_alias_TRUE$$);
          $JSCompiler_StaticMethods_setViewportStartSliceFromPosition$$(this.$_ptUtils$);
          $JSCompiler_StaticMethods_mergeSelection$$(this, $selectionString$$13$$);
          $JSCompiler_StaticMethods_highlightSelection$$(this, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$);
          $JSCompiler_StaticMethods_setCurrentRequest$$(this, $JSCompiler_alias_NULL$$, $adsCounter$$);
          $JSCompiler_StaticMethods_markBlocksNotNew$$(this.$_ptUtils$);
          $event$$171$$ != $JSCompiler_alias_NULL$$ && $component$$482$$.queueEvent($event$$171$$);
          $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$$(this);
          break;
        default:
          AdfAssert.assert(AdfPivotTableUtils.$assertsOff$, "unexpected renderType in DomReplaceNotify")
      }
      this.$_ptUtils$.$checkpointTimer$(1, "after switch");
      if(this.$_unfinishedHeaderKeyboardNavigation$) {
        this.$_unfinishedHeaderKeyboardNavigation$ = $JSCompiler_alias_FALSE$$;
        var $context$$inline_2095$$ = this.$_unfinishedNavContext$, $newCellInfo$$inline_2096$$ = $JSCompiler_StaticMethods_getHeaderCellInfo$$(this, $context$$inline_2095$$.edge, $context$$inline_2095$$.$newLayer$, $context$$inline_2095$$.$newSlice$);
        $newCellInfo$$inline_2096$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_finishHandlingHeaderKeyboardNavigation$$(this, $newCellInfo$$inline_2096$$, $context$$inline_2095$$.$pane$, $context$$inline_2095$$.extend)
      }
      $JSCompiler_StaticMethods__syncAckWithAC$$(this);
      $JSCompiler_StaticMethods_highlightFocusCell$$(this);
      this.$_isPaging$ && $JSCompiler_StaticMethods_updatePagingControls$$(this)
    }else {
      if("TD" == $domNode$$11$$.nodeName && AdfAgent.AGENT.getPlatform() == AdfAgent.IE_PLATFORM) {
        var $parent$$10$$ = $domNode$$11$$.parentNode;
        $parent$$10$$ != $JSCompiler_alias_NULL$$ && $JSCompiler_StaticMethods_updateTextAreaCellHeights$$($parent$$10$$)
      }
    }
    this.$_activeCell$ != $JSCompiler_alias_NULL$$ && ($domNode$$11$$ != $JSCompiler_alias_NULL$$ && $domNode$$11$$.id == this.$_activeCell$.id) && (this.$_activeCell$ = $domNode$$11$$)
  }catch($e$$37$$) {
    AdfLogger.LOGGER.severe($e$$37$$.message)
  }finally {
    this.$_codeExecutionCounter$--
  }
  this.$_ptUtils$.$stopTimer$(1, "end", "DomReplaceNotify");
  return $domNode$$11$$
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.DomReplaceNotify", AdfDhtmlPivotTablePeer.prototype.DomReplaceNotify);
function $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$) {
  if(!$JSCompiler_StaticMethods_fetchNearbyBlocks$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$, $JSCompiler_alias_TRUE$$)) {
    if($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_isEditingCellWithFocus$) {
      $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_focusCellIndex$ != $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods_scrollToDataCell$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_focusCellIndex$), $JSCompiler_StaticMethods__isReadOnly$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$) ? $JSCompiler_StaticMethods_selectAndFocusDataCell$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, 
      $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_focusCellIndex$) : $JSCompiler_StaticMethods_editCellWithFocus$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$)), $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_isEditingCellWithFocus$ = $JSCompiler_alias_FALSE$$
    }else {
      if($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_horizScrollOutOfBlock$ || $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_vertScrollOutOfBlock$) {
        var $_focusCellIndex$$ = $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_selectionFrontier$;
        if($_focusCellIndex$$ != $JSCompiler_alias_NULL$$) {
          if($JSCompiler_StaticMethods_isDataCellInBuffer$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, $_focusCellIndex$$)) {
            $JSCompiler_StaticMethods_scrollToDataCell$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, $_focusCellIndex$$)
          }else {
            if($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_horizScrollOutOfBlock$) {
              var $pane$$4_startCol$$2_startRow$$2$$ = $_focusCellIndex$$.row < $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_splitSlice$[1] ? 0 : 1, $pane$$4_startCol$$2_startRow$$2$$ = $JSCompiler_StaticMethods_getBufferStartSlice$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, AdfPivotTableUtils.$ROW_EDGE$, $pane$$4_startCol$$2_startRow$$2$$);
              $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$longJumpToCell$($pane$$4_startCol$$2_startRow$$2$$, $_focusCellIndex$$.column)
            }else {
              $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_vertScrollOutOfBlock$ && ($pane$$4_startCol$$2_startRow$$2$$ = $_focusCellIndex$$.column < $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_splitSlice$[0] ? 0 : 1, $pane$$4_startCol$$2_startRow$$2$$ = $JSCompiler_StaticMethods_getBufferStartSlice$$($JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$, AdfPivotTableUtils.$COLUMN_EDGE$, $pane$$4_startCol$$2_startRow$$2$$), 
              $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$longJumpToCell$($_focusCellIndex$$.row, $pane$$4_startCol$$2_startRow$$2$$))
            }
          }
        }
        $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_horizScrollOutOfBlock$ = $JSCompiler_alias_FALSE$$;
        $JSCompiler_StaticMethods__handleEditingAndFocusAfterFetch$self$$.$_ptUtils$.$_vertScrollOutOfBlock$ = $JSCompiler_alias_FALSE$$
      }
    }
  }
}
function $JSCompiler_StaticMethods__syncAckWithAC$$($JSCompiler_StaticMethods__syncAckWithAC$self$$) {
  var $updatedActiveCellKey$$ = $JSCompiler_StaticMethods__getActiveCellKey$$($JSCompiler_StaticMethods__syncAckWithAC$self$$);
  $JSCompiler_StaticMethods__syncAckWithAC$self$$.$_activeCell$ = $updatedActiveCellKey$$ == $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_NULL$$ : $JSCompiler_StaticMethods__getDataCellFromKey$$($JSCompiler_StaticMethods__syncAckWithAC$self$$, $updatedActiveCellKey$$)
}
function $JSCompiler_StaticMethods__clientValidationErrorRecovery$$($JSCompiler_StaticMethods__clientValidationErrorRecovery$self$$, $activeCellKey$$5$$) {
  $JSCompiler_StaticMethods__recover$$($JSCompiler_StaticMethods__clientValidationErrorRecovery$self$$, $activeCellKey$$5$$);
  $JSCompiler_StaticMethods__realignValidationErrorRowHeight$$($JSCompiler_StaticMethods__clientValidationErrorRecovery$self$$);
  $JSCompiler_StaticMethods__clientValidationErrorRecovery$self$$._hideStatus()
}
function $JSCompiler_StaticMethods__recover$$($JSCompiler_StaticMethods__recover$self$$, $activeCellKey$$6$$) {
  if($activeCellKey$$6$$ != $JSCompiler_alias_NULL$$) {
    var $dataCellIndex$$3$$ = $JSCompiler_StaticMethods__getDataCellIndexFromKey$$($activeCellKey$$6$$);
    if($dataCellIndex$$3$$ != $JSCompiler_alias_NULL$$) {
      $JSCompiler_StaticMethods_selectAndFocusDataCell$$($JSCompiler_StaticMethods__recover$self$$, $dataCellIndex$$3$$);
      for(var $edge$$inline_2099$$ = 0;2 > $edge$$inline_2099$$;$edge$$inline_2099$$++) {
        for(var $pane$$inline_2100$$ = $JSCompiler_StaticMethods__recover$self$$.$_ptUtils$.$_startPane$[$edge$$inline_2099$$];2 > $pane$$inline_2100$$;++$pane$$inline_2100$$) {
          var $oldScrollPos$$inline_2101$$ = $JSCompiler_StaticMethods_getOldScrollPos$$($JSCompiler_StaticMethods__recover$self$$.$_ptUtils$, $edge$$inline_2099$$, $pane$$inline_2100$$);
          $JSCompiler_StaticMethods__recover$self$$.$__logEnabled$ && $JSCompiler_StaticMethods_putInTestLog$$($JSCompiler_StaticMethods__recover$self$$, "_readjustScrollPos calling setScrollPos(" + $edge$$inline_2099$$ + ", " + $pane$$inline_2100$$ + ", " + $oldScrollPos$$inline_2101$$ + ")");
          $JSCompiler_StaticMethods__recover$self$$.$_ptUtils$.setScrollPos($edge$$inline_2099$$, $pane$$inline_2100$$, $oldScrollPos$$inline_2101$$)
        }
      }
      $JSCompiler_StaticMethods_scrollToDataCell$$($JSCompiler_StaticMethods__recover$self$$, $dataCellIndex$$3$$);
      $JSCompiler_StaticMethods__recover$self$$.$domEventForContextMenuAfterEdit$ = $JSCompiler_alias_NULL$$
    }
  }
}
function $JSCompiler_StaticMethods__getDataCellIndexFromKey$$($cellDetail_cellKey$$5$$) {
  $cellDetail_cellKey$$5$$ = $cellDetail_cellKey$$5$$.split(":");
  return 2 == $cellDetail_cellKey$$5$$.length ? $JSCompiler_StaticMethods_newDataCellIndex$$(1 * $cellDetail_cellKey$$5$$[0], 1 * $cellDetail_cellKey$$5$$[1]) : $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getDataCellFromKey$$($JSCompiler_StaticMethods__getDataCellFromKey$self$$, $cellKey$$6$$) {
  var $cellIndex$$3_nodes$$9_range$$10$$ = $JSCompiler_StaticMethods__getDataCellIndexFromKey$$($cellKey$$6$$);
  return $cellIndex$$3_nodes$$9_range$$10$$ != $JSCompiler_alias_NULL$$ && ($cellIndex$$3_nodes$$9_range$$10$$ = $JSCompiler_StaticMethods_newDataCellRange$$($cellIndex$$3_nodes$$9_range$$10$$), $cellIndex$$3_nodes$$9_range$$10$$ = $JSCompiler_StaticMethods_getNodesInDataCellRange$$($JSCompiler_StaticMethods__getDataCellFromKey$self$$, $cellIndex$$3_nodes$$9_range$$10$$), 0 < $cellIndex$$3_nodes$$9_range$$10$$.length && $cellIndex$$3_nodes$$9_range$$10$$[0] != $JSCompiler_alias_NULL$$) ? $cellIndex$$3_nodes$$9_range$$10$$[0] : 
  $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getDataCellFromCellIndex$$($JSCompiler_StaticMethods__getDataCellFromCellIndex$self_nodes$$10$$, $cellIndex$$4_range$$11$$, $newBlocks$$) {
  return $cellIndex$$4_range$$11$$ != $JSCompiler_alias_NULL$$ && ($cellIndex$$4_range$$11$$ = $JSCompiler_StaticMethods_newDataCellRange$$($cellIndex$$4_range$$11$$), $JSCompiler_StaticMethods__getDataCellFromCellIndex$self_nodes$$10$$ = $JSCompiler_StaticMethods_getNodesInDataCellRange$$($JSCompiler_StaticMethods__getDataCellFromCellIndex$self_nodes$$10$$, $cellIndex$$4_range$$11$$, $JSCompiler_alias_VOID$$, $newBlocks$$), 0 < $JSCompiler_StaticMethods__getDataCellFromCellIndex$self_nodes$$10$$.length) ? 
  $JSCompiler_StaticMethods__getDataCellFromCellIndex$self_nodes$$10$$[0] : $JSCompiler_alias_NULL$$
}
AdfDhtmlPivotTablePeer.$isPaging$ = function $AdfDhtmlPivotTablePeer$$isPaging$$($domElement$$174$$) {
  return"true" == AdfAgent.AGENT.getAttribute($domElement$$174$$, "_paging")
};
function $JSCompiler_StaticMethods__handleClickOnPagingControl$$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$, $domEvent$$53_domEvent$$inline_2107_domEvent$$inline_2118_domEvent$$inline_2127_domEvent$$inline_2132$$, $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$) {
  for(var $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$ = 0;2 > $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$;$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$++) {
    for(var $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$ = $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$_startPane$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$];2 > 
    $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$;$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$++) {
      if($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_isNavBarLink$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, AdfDhtmlPivotTablePeer.$_NAVBAR_PREV$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$])) {
        $AdfDhtmlCommonUtils$$.$addCSSClassName$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, "p_AFActivated");
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_pagingControlInput$ = AdfPivotTableUtils.$PAGE_PREV$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$];
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_adjustScroll$ = 0;
        $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$ = $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$_databodiesByEdgeAndPane$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$];
        var $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ = $JSCompiler_StaticMethods_firstSliceInShiftedViewport$$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$, 
        $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, 0), $lastEdgeProperties$$inline_2112$$ = $JSCompiler_StaticMethods_lastSliceInShiftedViewport$$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$, 
        $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$), $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$ = 1;
        0 < $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.$pixel$ && $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.slice != $lastEdgeProperties$$inline_2112$$.slice ? $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$ = $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.$pixelsInsideViewport$ : 
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_adjustScroll$ = 1;
        $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ = $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$getScrollPos$($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, 
        $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$);
        $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$ = ($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$ == AdfPivotTableUtils.$ROW_EDGE$ ? $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$.clientHeight : $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$.clientWidth) - $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$;
        $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$ > $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ && ($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_adjustScroll$ = 
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_adjustScroll$ + $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$ - $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$);
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.setScrollPos($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, 
        $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ - $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, $JSCompiler_alias_TRUE$$);
        $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$HandleDomScroll$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.getComponent());
        AdfAgent.AGENT.eatEvent($domEvent$$53_domEvent$$inline_2107_domEvent$$inline_2118_domEvent$$inline_2127_domEvent$$inline_2132$$);
        return $JSCompiler_alias_TRUE$$
      }
      if($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_isNavBarLink$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, AdfDhtmlPivotTablePeer.$_NAVBAR_NEXT$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$])) {
        return $AdfDhtmlCommonUtils$$.$addCSSClassName$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, "p_AFActivated"), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_pagingControlInput$ = 
        AdfPivotTableUtils.$PAGE_NEXT$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$], $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$ = $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$_databodiesByEdgeAndPane$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$], 
        $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ = $JSCompiler_StaticMethods_lastSliceInShiftedViewport$$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$, 
        $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$), $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$ = $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.$pixelsInsideViewport$, 0 >= $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.$pixelsOutsideViewport$ ? 
        $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$ = $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.$pixelsOutsideViewport$ : $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$.slice == $JSCompiler_StaticMethods_firstSliceInShiftedViewport$$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$, 
        $edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, 0).slice && ($firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$ = 0), $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ = $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$getScrollPos$($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, 
        $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.setScrollPos($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, 
        $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, $firstEdgeProperties$$inline_2111_lastEdgeProperties$$inline_2122_scrollPos$$inline_2114_scrollPos$$inline_2124$$ + ($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$ == AdfPivotTableUtils.$ROW_EDGE$ ? $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$.clientHeight : $databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$.clientWidth) - 
        $firstEdgePixels$$inline_2113_lastEdgePixels$$inline_2123$$, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$HandleDomScroll$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.getComponent()), 
        AdfAgent.AGENT.eatEvent($domEvent$$53_domEvent$$inline_2107_domEvent$$inline_2118_domEvent$$inline_2127_domEvent$$inline_2132$$), $JSCompiler_alias_TRUE$$
      }
      if($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_isNavBarLink$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, AdfDhtmlPivotTablePeer.$_NAVBAR_FIRST$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$])) {
        return $AdfDhtmlCommonUtils$$.$addCSSClassName$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, "p_AFActivated"), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_pagingControlInput$ = 
        AdfPivotTableUtils.$PAGE_FIRST$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$], $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.setScrollPos($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, 
        $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, 0, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$HandleDomScroll$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.getComponent()), 
        AdfAgent.AGENT.eatEvent($domEvent$$53_domEvent$$inline_2107_domEvent$$inline_2118_domEvent$$inline_2127_domEvent$$inline_2132$$), $JSCompiler_alias_TRUE$$
      }
      if($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_isNavBarLink$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, AdfDhtmlPivotTablePeer.$_NAVBAR_LAST$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$])) {
        return $AdfDhtmlCommonUtils$$.$addCSSClassName$($databody$$inline_2110_databody$$inline_2121_scrollAmount$$inline_2115_target$$126$$, "p_AFActivated"), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_pagingControlInput$ = 
        AdfPivotTableUtils.$PAGE_LAST$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$], $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.setScrollPos($edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$, 
        $pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$, $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$_ptUtils$.$_maxScrollPos$[$edge$$17_edge$$inline_2108_edge$$inline_2119_edge$$inline_2128_edge$$inline_2133$$][$pane$$5_pane$$inline_2109_pane$$inline_2120_pane$$inline_2129_pane$$inline_2134$$], 
        $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.$HandleDomScroll$($JSCompiler_StaticMethods__handleClickOnPagingControl$self_JSCompiler_StaticMethods__handlePageFirstClick$self$$inline_2126_JSCompiler_StaticMethods__handlePageLastClick$self$$inline_2131_JSCompiler_StaticMethods__handlePageNextClick$self$$inline_2117_JSCompiler_StaticMethods__handlePagePrevClick$self$$inline_2106$$.getComponent()), 
        AdfAgent.AGENT.eatEvent($domEvent$$53_domEvent$$inline_2107_domEvent$$inline_2118_domEvent$$inline_2127_domEvent$$inline_2132$$), $JSCompiler_alias_TRUE$$
      }
    }
  }
  return $JSCompiler_alias_FALSE$$
}
AdfDhtmlPivotTablePeer.prototype.$_getParentMatchingId$ = function $AdfDhtmlPivotTablePeer$$$_getParentMatchingId$$($domElem$$6$$, $id$$192$$) {
  for(var $target$$127$$ = $domElem$$6$$, $elem$$65$$ = $JSCompiler_alias_NULL$$, $rootElem$$1$$ = this.getDomElement();!$elem$$65$$ && $target$$127$$ && $target$$127$$ != $rootElem$$1$$.parent && 1 == $target$$127$$.nodeType;) {
    if($target$$127$$.id && 0 <= $target$$127$$.id.indexOf($id$$192$$)) {
      $elem$$65$$ = $target$$127$$;
      break
    }else {
      $target$$127$$ = $target$$127$$.parentNode
    }
  }
  return $elem$$65$$
};
AdfDhtmlPivotTablePeer.prototype.$_isNavBarLink$ = function $AdfDhtmlPivotTablePeer$$$_isNavBarLink$$($target$$128$$, $suffixId$$2$$) {
  var $linkId$$2$$ = AdfRichUIPeer.CreateSubId(this.getComponent().getClientId(), $suffixId$$2$$);
  return this.$_getParentMatchingId$($target$$128$$, $linkId$$2$$) != $JSCompiler_alias_NULL$$ ? !$AdfDhtmlCommonUtils$$.$containsCSSClassName$($target$$128$$, "p_AFDisabled") : $JSCompiler_alias_FALSE$$
};
function $JSCompiler_StaticMethods_getPageStartSlice$$($JSCompiler_StaticMethods_getPageStartSlice$self$$, $edge$$22$$) {
  var $firstProperties$$ = $JSCompiler_StaticMethods_firstSliceInShiftedViewport$$($JSCompiler_StaticMethods_getPageStartSlice$self$$.$_ptUtils$, $edge$$22$$, 1, 0);
  return 0 < $firstProperties$$.$pixel$ ? $firstProperties$$.slice + 1 : $firstProperties$$.slice
}
function $JSCompiler_StaticMethods_updatePagingControls$$($JSCompiler_StaticMethods_updatePagingControls$self$$) {
  for(var $edge$$24$$ = 0;2 > $edge$$24$$;$edge$$24$$++) {
    for(var $pane$$10$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_startPane$[$edge$$24$$];2 > $pane$$10$$;$pane$$10$$++) {
      var $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$;
      if($JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_pagingControlInput$ == AdfPivotTableUtils.$PAGE_PREV$[$edge$$24$$][$pane$$10$$]) {
        a: {
          $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$;
          var $edge$$inline_2137_startValue$$ = $edge$$24$$, $lastProperties_pane$$inline_2138$$ = $pane$$10$$;
          if($JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_adjustScroll$ != $JSCompiler_alias_NULL$$ && 1 < $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_adjustScroll$) {
            var $endValue_scrollPos$$inline_2140$$ = $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_ptUtils$.$getScrollPos$($edge$$inline_2137_startValue$$, $lastProperties_pane$$inline_2138$$);
            if(1 < $endValue_scrollPos$$inline_2140$$) {
              $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_ptUtils$.setScrollPos($edge$$inline_2137_startValue$$, $lastProperties_pane$$inline_2138$$, $endValue_scrollPos$$inline_2140$$ - $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_adjustScroll$, $JSCompiler_alias_TRUE$$);
              $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_adjustScroll$ = 0;
              $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$HandleDomScroll$($JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.getComponent());
              $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$ = $JSCompiler_alias_TRUE$$;
              break a
            }
            $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$.$_adjustScroll$ = 0
          }
          $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$ = $JSCompiler_alias_FALSE$$
        }
      }
      if($JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$) {
        return
      }
    }
  }
  $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$ = [[], []];
  var $edge$$inline_2137_startValue$$ = [[], []], $lastProperties_pane$$inline_2138$$ = [[], []], $endValue_scrollPos$$inline_2140$$ = [[], []], $edgeExtent$$ = [[], []];
  $edgeExtent$$[0][0] = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_splitSlice$[0];
  $edgeExtent$$[1][0] = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_splitSlice$[1];
  $edgeExtent$$[0][1] = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_edgeExtent$[0];
  $edgeExtent$$[1][1] = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_edgeExtent$[1];
  for($edge$$24$$ = 0;2 > $edge$$24$$;$edge$$24$$++) {
    for($pane$$10$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_startPane$[$edge$$24$$];2 > $pane$$10$$;$pane$$10$$++) {
      if($JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$[$edge$$24$$][$pane$$10$$] = $JSCompiler_StaticMethods_firstSliceInShiftedViewport$$($JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$, $edge$$24$$, $pane$$10$$, 0), $edge$$inline_2137_startValue$$[$edge$$24$$][$pane$$10$$] = $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$[$edge$$24$$][$pane$$10$$].slice, $lastProperties_pane$$inline_2138$$[$edge$$24$$][$pane$$10$$] = 
      $JSCompiler_StaticMethods_lastSliceInShiftedViewport$$($JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$, $edge$$24$$, $pane$$10$$), $endValue_scrollPos$$inline_2140$$[$edge$$24$$][$pane$$10$$] = $lastProperties_pane$$inline_2138$$[$edge$$24$$][$pane$$10$$].slice, -1 != $edge$$inline_2137_startValue$$[$edge$$24$$][$pane$$10$$] && -1 != $endValue_scrollPos$$inline_2140$$[$edge$$24$$][$pane$$10$$]) {
        var $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$;
        $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$;
        var $firstProperties$$inline_2143_splitSlice$$ = $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$[$edge$$24$$][$pane$$10$$], $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$ = $lastProperties_pane$$inline_2138$$[$edge$$24$$][$pane$$10$$], $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$ = $endValue_scrollPos$$inline_2140$$[$edge$$24$$][$pane$$10$$], $edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$ = 
        $edge$$24$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$ = $pane$$10$$, $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$ = $edgeExtent$$[$edge$$24$$][$pane$$10$$], $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_databodiesByEdgeAndPane$[$edge$$24$$][$pane$$10$$];
        if($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_pagingControlInput$ == AdfPivotTableUtils.$PAGE_FIRST$[$edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$][$endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$] && 0 < $firstProperties$$inline_2143_splitSlice$$.$pixel$) {
          $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.setScrollPos($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$, 0, $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$HandleDomScroll$($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.getComponent()), 
          $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_TRUE$$
        }else {
          if($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_pagingControlInput$ == AdfPivotTableUtils.$PAGE_LAST$[$edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$][$endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$] && 0 < $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$pixelsOutsideViewport$) {
            $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.setScrollPos($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$, $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.$_maxScrollPos$[$edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$][$endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$], 
            $JSCompiler_alias_TRUE$$), $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$HandleDomScroll$($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.getComponent()), $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_TRUE$$
          }else {
            if(0 < $firstProperties$$inline_2143_splitSlice$$.$pixel$ && !(0 == $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$pixelsOutsideViewport$ && $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$ + 1 == $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$ && $firstProperties$$inline_2143_splitSlice$$.slice != $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.slice)) {
              var $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$ = $firstProperties$$inline_2143_splitSlice$$.$pixelsInsideViewport$, $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ = $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.$getScrollPos$($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$);
              if($firstProperties$$inline_2143_splitSlice$$.$pixel$ == $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_adjustScroll$) {
                $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.setScrollPos($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$, $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ - $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_adjustScroll$, 
                $JSCompiler_alias_TRUE$$)
              }else {
                if(($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_pagingControlInput$ == AdfPivotTableUtils.$PAGE_PREV$[$edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$][$endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$] || $firstProperties$$inline_2143_splitSlice$$.slice == $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.slice && $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$ + 
                1 == $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$) && $firstProperties$$inline_2143_splitSlice$$.$pixelsInsideViewport$ >= ($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$ == AdfPivotTableUtils.$ROW_EDGE$ ? $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$.clientHeight : $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$.clientWidth) - $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_adjustScroll$) {
                  $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$ = -1 * $firstProperties$$inline_2143_splitSlice$$.$pixel$
                }
                $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_ptUtils$.setScrollPos($edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$, $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$, $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ + $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, $JSCompiler_alias_TRUE$$)
              }
              $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$_adjustScroll$ = 0;
              $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.$HandleDomScroll$($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$.getComponent());
              $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_TRUE$$
            }else {
              $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_FALSE$$
            }
          }
        }
        if($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$) {
          return
        }
      }else {
        return
      }
    }
  }
  $JSCompiler_StaticMethods_updatePagingControls$self$$.$_updatedPagingInputValue$ = $JSCompiler_alias_FALSE$$;
  $JSCompiler_StaticMethods_updatePagingControls$self$$.$_keepPagingValueChange$ = [[$JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$], [$JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$]];
  $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_TRUE$$;
  for($edge$$24$$ = 0;2 > $edge$$24$$;$edge$$24$$++) {
    $firstProperties$$inline_2143_splitSlice$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_splitSlice$[$edge$$24$$];
    for($pane$$10$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$.$_ptUtils$.$_startPane$[$edge$$24$$];2 > $pane$$10$$;$pane$$10$$++) {
      var $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$ = $JSCompiler_StaticMethods_updatePagingControls$self$$, $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$ = $edge$$24$$, $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$ = $pane$$10$$, $edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$ = -1 != $firstProperties$$inline_2143_splitSlice$$ && 1 == $pane$$10$$ ? $firstProperties$$inline_2143_splitSlice$$ + 
      1 : 1, $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$ = $edgeExtent$$[$edge$$24$$][$pane$$10$$], $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ = $edge$$inline_2137_startValue$$[$edge$$24$$][$pane$$10$$], $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$ = $endValue_scrollPos$$inline_2140$$[$edge$$24$$][$pane$$10$$], $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$ = $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_ptUtils$.$_pagingControl$[$databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$][$pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$], 
      $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$ = $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_ptUtils$.$_pagingControlInputId$[$databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$][$pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$];
      if(-1 != $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ && -1 != $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$) {
        $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ != $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$ && (0 < $JSCompiler_StaticMethods_adjustPagingScrollPos$self$$inline_2136_JSCompiler_temp$$12_firstProperties$$1$$[$edge$$24$$][$pane$$10$$].$pixel$ && $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$++, 0 < $lastProperties_pane$$inline_2138$$[$edge$$24$$][$pane$$10$$].$pixelsOutsideViewport$ && $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$--);
        $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$++;
        $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$++;
        var $pagingWidth$$inline_2164_rangeText$$inline_2166$$ = $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.childNodes[0].offsetWidth, $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$ = $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.childNodes[0].childNodes[0].childNodes[0];
        if($JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.offsetWidth < $pagingWidth$$inline_2164_rangeText$$inline_2166$$) {
          $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$_pw$ == $JSCompiler_alias_NULL$$ && ($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[3].style.display = "none", $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[4].style.display = "none", $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[5].style.display = "none", $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$_pw$ = 
          $pagingWidth$$inline_2164_rangeText$$inline_2166$$)
        }else {
          if($JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$_pw$ == $JSCompiler_alias_NULL$$ || parseInt($JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$_pw$) <= $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.offsetWidth) {
            $pagingWidth$$inline_2164_rangeText$$inline_2166$$ = $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[5], $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_pagingRangeText$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_pagingRangeText$ = $pagingWidth$$inline_2164_rangeText$$inline_2166$$.innerHTML), 
            $pagingWidth$$inline_2164_rangeText$$inline_2166$$.innerHTML = $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_pagingRangeText$.replace("-", $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$).replace("_", "- ".concat($endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$)), $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[3].style.display = "", $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[4].style.display = 
            "", $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[5].style.display = "", $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.$_pw$ = $JSCompiler_alias_NULL$$
          }
        }
        $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$ = AdfPage.PAGE.findComponent($JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.getComponent().getClientId().concat($agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$));
        $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ != $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.getValue() && ($JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$.$_keepPagingValueChange$[$databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$][$pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$] = $JSCompiler_alias_TRUE$$, $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.setValue("".concat($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$)));
        firstArrow = $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[1].childNodes[0];
        prevArrow = $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[2].childNodes[0];
        lastArrow = $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[7].childNodes[0];
        nextArrow = $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.childNodes[6].childNodes[0];
        $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$ = $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$;
        $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$ = firstArrow;
        $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$ = prevArrow;
        $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$ = lastArrow;
        $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$ = nextArrow;
        $AdfDhtmlCommonUtils$$.$containsCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFActivated") ? $AdfDhtmlCommonUtils$$.$removeCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFActivated") : $AdfDhtmlCommonUtils$$.$containsCSSClassName$($pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, "p_AFActivated") ? $AdfDhtmlCommonUtils$$.$removeCSSClassName$($pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, 
        "p_AFActivated") : $AdfDhtmlCommonUtils$$.$containsCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFActivated") ? $AdfDhtmlCommonUtils$$.$removeCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFActivated") : $AdfDhtmlCommonUtils$$.$containsCSSClassName$($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$, "p_AFActivated") && $AdfDhtmlCommonUtils$$.$removeCSSClassName$($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$, 
        "p_AFActivated");
        $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$ = AdfAgent.AGENT;
        $JSCompiler_StaticMethods_updatePagingInput$self$$inline_2153_edgeExtent$$inline_2148_startValue$$inline_3682$$ == $edge$$inline_2146_edgeStart$$inline_2156_edgeStart$$inline_3684$$ ? $AdfDhtmlCommonUtils$$.$containsCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFDisabled") || ($AdfDhtmlCommonUtils$$.$addCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFDisabled"), $databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$.removeAttribute("href"), 
        $AdfDhtmlCommonUtils$$.$addCSSClassName$($pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, "p_AFDisabled"), $pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$.removeAttribute("href")) : $AdfDhtmlCommonUtils$$.$containsCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFDisabled") && ($AdfDhtmlCommonUtils$$.$removeCSSClassName$($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, "p_AFDisabled"), $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.setAttribute($databody$$inline_2149_edge$$inline_2154_firstArrow$$inline_3686$$, 
        "href", "#"), $AdfDhtmlCommonUtils$$.$removeCSSClassName$($pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, "p_AFDisabled"), $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.setAttribute($pane$$inline_2155_prevArrow$$inline_3687_scrollOffset$$inline_2150$$, "href", "#"));
        $endValue$$inline_2161_endValue$$inline_3683_pane$$inline_2147$$ == $edgeExtent$$inline_2157_edgeExtent$$inline_3685_endValue$$inline_2145$$ ? $AdfDhtmlCommonUtils$$.$containsCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFDisabled") || ($AdfDhtmlCommonUtils$$.$addCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFDisabled"), $lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$.removeAttribute("href"), 
        $AdfDhtmlCommonUtils$$.$addCSSClassName$($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$, "p_AFDisabled"), $nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$.removeAttribute("href")) : $AdfDhtmlCommonUtils$$.$containsCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFDisabled") && ($AdfDhtmlCommonUtils$$.$removeCSSClassName$($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "p_AFDisabled"), 
        $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.setAttribute($lastArrow$$inline_3688_scrollPos$$inline_2151_startValue$$inline_2159$$, "href", "#"), $AdfDhtmlCommonUtils$$.$removeCSSClassName$($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$, "p_AFDisabled"), $agent$$inline_3690_inputComp$$inline_2167_inputId$$inline_2163$$.setAttribute($nextArrow$$inline_3689_pagingControlInnerContentNode$$inline_2165$$, "href", "#"));
        $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$.parentNode.style.visibility = "visible";
        $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$ = $JSCompiler_alias_TRUE$$
      }else {
        $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$ = $JSCompiler_alias_VOID$$
      }
      $JSCompiler_inline_result$$94_lastProperties$$inline_2144_pagingControl$$inline_2162$$ || ($JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ = $JSCompiler_alias_FALSE$$)
    }
  }
  $JSCompiler_StaticMethods_alignPagingScrollPos$self$$inline_2142_JSCompiler_inline_result$$56_clearPagingControlInput$$ && ($JSCompiler_StaticMethods_updatePagingControls$self$$.$_pagingControlInput$ = $JSCompiler_alias_NULL$$)
}
function $JSCompiler_StaticMethods__clearMessageAndRevalidate$$($componentEvent$$104_source$$170$$) {
  $componentEvent$$104_source$$170$$ = $componentEvent$$104_source$$170$$.getSource();
  return $componentEvent$$104_source$$170$$ instanceof AdfUIEditableValue ? (AdfPage.PAGE.clearMessages($componentEvent$$104_source$$170$$.getClientId()), $componentEvent$$104_source$$170$$.validate(), $componentEvent$$104_source$$170$$.getValid()) : $JSCompiler_alias_TRUE$$
}
function $JSCompiler_StaticMethods_setCurrentRequest$$($JSCompiler_StaticMethods_setCurrentRequest$self$$, $list$$inline_2171_request$$, $adsCounter$$1$$) {
  $JSCompiler_StaticMethods_setCurrentRequest$self$$.$_currentRequest$ = $list$$inline_2171_request$$;
  if($JSCompiler_StaticMethods_setCurrentRequest$self$$.$_adsEnabled$ && $list$$inline_2171_request$$ == $JSCompiler_alias_NULL$$) {
    if($list$$inline_2171_request$$ = $JSCompiler_StaticMethods_setCurrentRequest$self$$.$_activeMessageBuffer$) {
      for(var $i$$inline_2172$$ = 0;$i$$inline_2172$$ < $list$$inline_2171_request$$.length;) {
        id = $list$$inline_2171_request$$[$i$$inline_2172$$++], payload = $list$$inline_2171_request$$[$i$$inline_2172$$++], id > $adsCounter$$1$$ && $JSCompiler_StaticMethods_applyAdsPayload$$($JSCompiler_StaticMethods_setCurrentRequest$self$$, payload)
      }
      $list$$inline_2171_request$$.length = 0
    }
    $JSCompiler_StaticMethods_setCurrentRequest$self$$.$_bufferADSCounter$ = Math.max($JSCompiler_StaticMethods_setCurrentRequest$self$$.$_bufferADSCounter$, $adsCounter$$1$$);
    $JSCompiler_StaticMethods_setCurrentRequest$self$$.$_blockADSCounter$ = $JSCompiler_StaticMethods_setCurrentRequest$self$$.$_bufferADSCounter$
  }
}
AdfDhtmlPivotTablePeer.prototype.enableUserSelect = function $AdfDhtmlPivotTablePeer$$enableUserSelect$() {
  AdfAgent.AGENT.enableUserSelect(this.getDomElement());
  this.$_enableUserSelect$ = $JSCompiler_alias_TRUE$$
};
AdfDhtmlPivotTablePeer.prototype.disableUserSelect = function $AdfDhtmlPivotTablePeer$$disableUserSelect$() {
  (this.$_enableUserSelect$ == $JSCompiler_alias_VOID$$ || this.$_enableUserSelect$) && AdfAgent.AGENT.disableUserSelect(this.getDomElement());
  this.$_enableUserSelect$ = $JSCompiler_alias_FALSE$$
};
function $JSCompiler_StaticMethods_putInTestLog$$($JSCompiler_StaticMethods_putInTestLog$self$$, $entry$$) {
  $JSCompiler_StaticMethods_putInTestLog$self$$.$__log$[$JSCompiler_StaticMethods_putInTestLog$self$$.$__logIndex$] = $entry$$;
  ++$JSCompiler_StaticMethods_putInTestLog$self$$.$__logIndex$ == $JSCompiler_StaticMethods_putInTestLog$self$$.$__logLength$ && ($JSCompiler_StaticMethods_putInTestLog$self$$.$__logIndex$ = 0)
}
function $JSCompiler_StaticMethods__getBlockInfo$$($buffer$$8$$) {
  for(var $result$$13$$ = {}, $i$$158$$ = 0;$i$$158$$ < $buffer$$8$$.length;$i$$158$$++) {
    for(var $j$$42$$ = 0;$j$$42$$ < $buffer$$8$$[$i$$158$$].length;$j$$42$$++) {
      var $block$$7_endCol$$1$$ = $buffer$$8$$[$i$$158$$][$j$$42$$];
      if($block$$7_endCol$$1$$.getAttribute) {
        var $endRow$$1_startRow$$4$$ = parseInt($block$$7_endCol$$1$$.getAttribute("_startrow"), 10), $startCol$$4$$ = parseInt($block$$7_endCol$$1$$.getAttribute("_startcol"), 10);
        if($result$$13$$.$startRow$ == $JSCompiler_alias_NULL$$ || $result$$13$$.$startRow$ > $endRow$$1_startRow$$4$$) {
          $result$$13$$.$startRow$ = $endRow$$1_startRow$$4$$
        }
        if($result$$13$$.$startCol$ == $JSCompiler_alias_NULL$$ || $result$$13$$.$startCol$ > $startCol$$4$$) {
          $result$$13$$.$startCol$ = $startCol$$4$$
        }
        if($block$$7_endCol$$1$$.firstChild && "TABLE" == $block$$7_endCol$$1$$.firstChild.tagName) {
          $endRow$$1_startRow$$4$$ = $endRow$$1_startRow$$4$$ + ($block$$7_endCol$$1$$.firstChild.rows.length - 1) - 1;
          $block$$7_endCol$$1$$ = $startCol$$4$$ + ($block$$7_endCol$$1$$.firstChild.rows[0].cells.length - 1) - 1;
          if($result$$13$$.$endRow$ == $JSCompiler_alias_NULL$$ || $result$$13$$.$endRow$ < $endRow$$1_startRow$$4$$) {
            $result$$13$$.$endRow$ = $endRow$$1_startRow$$4$$
          }
          if($result$$13$$.$endCol$ == $JSCompiler_alias_NULL$$ || $result$$13$$.$endCol$ < $block$$7_endCol$$1$$) {
            $result$$13$$.$endCol$ = $block$$7_endCol$$1$$
          }
        }
      }
    }
  }
  return $result$$13$$
}
function $JSCompiler_StaticMethods__getRangeChangeEvent$$($JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$, $oldBuffer_oldDatabodyBuffer$$, $newBuffer_newDatabodyBuffer$$) {
  $oldBuffer_oldDatabodyBuffer$$ = $oldBuffer_oldDatabodyBuffer$$[1][1];
  $newBuffer_newDatabodyBuffer$$ = $newBuffer_newDatabodyBuffer$$[1][1];
  var $oldBlockInfo$$ = $JSCompiler_StaticMethods__getBlockInfo$$($oldBuffer_oldDatabodyBuffer$$), $newBlockInfo$$ = $JSCompiler_StaticMethods__getBlockInfo$$($newBuffer_newDatabodyBuffer$$);
  if($oldBlockInfo$$.$startRow$ == $newBlockInfo$$.$startRow$ && $oldBlockInfo$$.$endRow$ == $newBlockInfo$$.$endRow$ && $oldBlockInfo$$.$startCol$ == $newBlockInfo$$.$startCol$ && $oldBlockInfo$$.$endCol$ == $newBlockInfo$$.$endCol$) {
    return $JSCompiler_alias_NULL$$
  }
  $JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$ = $JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$.getComponent();
  $JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$ = new $AdfPivotTableRangeChangeEvent$$($JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$, $oldBlockInfo$$.$startRow$, $oldBlockInfo$$.$startCol$, $oldBlockInfo$$.$endRow$, $oldBlockInfo$$.$endCol$, $newBlockInfo$$.$startRow$, $newBlockInfo$$.$startCol$, $newBlockInfo$$.$endRow$, $newBlockInfo$$.$endCol$);
  $oldBuffer_oldDatabodyBuffer$$.length != $newBuffer_newDatabodyBuffer$$.length && ($JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$.$_blockRemoved$ = $JSCompiler_alias_TRUE$$);
  return $JSCompiler_StaticMethods__getRangeChangeEvent$self_component$$483_event$$172$$
}
;