AdfUIComponents.createComponentClass("AdfRichPivotTable", {componentType:"oracle.dss.adf.pivotTable.PivotTable", propertyKeys:[{name:"pivotEnabled", type:"boolean", "default":!0}, {name:"pivotLabelVisible", type:"boolean", "default":!0}, {name:"sizing", type:"String", "default":"fixed"}, {name:"splitRow", type:"int"}, {name:"splitColumn", type:"int"}, {name:"startRow", type:"int"}, {name:"startColumn", type:"int"}, {name:"secondStartRow", type:"int"}, {name:"secondStartColumn", type:"int"}, {name:"rowHeaderStartLayer", 
type:"int"}, {name:"columnHeaderStartLayer", type:"int"}, {name:"contextMenuId", type:"String"}, {name:"bodyContextMenuId", type:"String"}, {name:"startRowPixel", type:"int"}, {name:"startColumnPixel", type:"int"}, {name:"secondStartRowPixel", type:"int"}, {name:"secondStartColumnPixel", type:"int"}, {name:"rowHeaderStartPixel", type:"int"}, {name:"columnHeaderStartPixel", type:"int"}, {name:"selection", type:"String"}, {name:"modelName", type:"String"}, "activeCellKey"], eventNames:["rangeChange"], 
namingContainer:!0, superclass:AdfUIObject});
AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$ = "_sizeOverrides";
AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$ = "_clientBlocks";
AdfRichPivotTable.$__DATABODY_SIZES_KEY$ = "_databodySizes";
AdfRichPivotTable.$__ROW_HEADER_WIDTHS_KEY$ = "_rowHeaderWidths";
AdfRichPivotTable.$__COLUMN_HEADER_HEIGHTS_KEY$ = "_columnHeaderHeights";
AdfRichPivotTable.$__SPLIT_ROW_KEY$ = "splitRow";
AdfRichPivotTable.$__SPLIT_COLUMN_KEY$ = "splitColumn";
AdfRichPivotTable.$__START_ROW_KEY$ = "startRow";
AdfRichPivotTable.$__START_COLUMN_KEY$ = "startColumn";
AdfRichPivotTable.$__SECOND_START_ROW_KEY$ = "secondStartRow";
AdfRichPivotTable.$__SECOND_START_COLUMN_KEY$ = "secondStartColumn";
AdfRichPivotTable.$__ROW_HEADER_START_LAYER_KEY$ = "rowHeaderStartLayer";
AdfRichPivotTable.$__COLUMN_HEADER_START_LAYER_KEY$ = "columnHeaderStartLayer";
AdfRichPivotTable.$__START_ROW_PIXEL_KEY$ = "startRowPixel";
AdfRichPivotTable.$__START_COLUMN_PIXEL_KEY$ = "startColumnPixel";
AdfRichPivotTable.$__SECOND_START_ROW_PIXEL_KEY$ = "secondStartRowPixel";
AdfRichPivotTable.$__SECOND_START_COLUMN_PIXEL_KEY$ = "secondStartColumnPixel";
AdfRichPivotTable.$__ROW_HEADER_START_PIXEL_KEY$ = "rowHeaderStartPixel";
AdfRichPivotTable.$__COLUMN_HEADER_START_PIXEL_KEY$ = "columnHeaderStartPixel";
AdfRichPivotTable.$__SELECTION_KEY$ = "selection";
AdfRichPivotTable.$__ACTIVE_CELL_KEY$ = "_activeCellKey";
AdfRichPivotTable.$__PENDING_CELL_EDITS_KEY$ = "_pendingCellEdits";
AdfRichPivotTable.prototype.GetChanges = function $AdfRichPivotTable$$GetChanges$() {
  var $changes$$ = AdfRichPivotTable.superclass.GetChanges.call(this), $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ = $changes$$[AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$];
  if ($JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$) {
    var $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$ = AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$;
    this.getPeer();
    var $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$ = "", $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$;
    for ($databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ in $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$) {
      $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$.hasOwnProperty($databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$) && ($agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$ += $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ + ":" + $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$[$databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$] + 
      ",");
    }
    $changes$$[$JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$] = $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$;
    this.getPeer();
    this.setProperty(AdfRichPivotTable.$__SIZE_OVERRIDES_KEY$, void 0);
  }
  var $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ = AdfRichPivotTable.$__CLIENT_BLOCKS_KEY$, $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$ = this.getPeer(), $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$ = [], $prefix$$inline_3983_rows$$inline_3960$$, $blockDesc$$inline_3963_startCol$$inline_3961$$, $cols$$inline_3962$$;
  if ($JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_isAda$) {
    for (var $isWidth$$inline_3984_rowPane$$inline_3964$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaStartPane$[1];2 > $isWidth$$inline_3984_rowPane$$inline_3964$$;++$isWidth$$inline_3984_rowPane$$inline_3964$$) {
      $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaStartSlice$[1][$isWidth$$inline_3984_rowPane$$inline_3964$$];
      $prefix$$inline_3983_rows$$inline_3960$$ = Math.min($JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaBlockSize$[1], $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaCanvasEndSlice$[1][$isWidth$$inline_3984_rowPane$$inline_3964$$] - $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$);
      for (var $colPane$$inline_3965_edge$$inline_3985$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaStartPane$[0];2 > $colPane$$inline_3965_edge$$inline_3985$$;++$colPane$$inline_3965_edge$$inline_3985$$) {
        $blockDesc$$inline_3963_startCol$$inline_3961$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaStartSlice$[0][$colPane$$inline_3965_edge$$inline_3985$$], $cols$$inline_3962$$ = Math.min($JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaBlockSize$[0], 
        $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_adaCanvasEndSlice$[0][$colPane$$inline_3965_edge$$inline_3985$$] - $blockDesc$$inline_3963_startCol$$inline_3961$$), $blockDesc$$inline_3963_startCol$$inline_3961$$ = [$databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$, $prefix$$inline_3983_rows$$inline_3960$$, $blockDesc$$inline_3963_startCol$$inline_3961$$, 
        $cols$$inline_3962$$], $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$.push($blockDesc$$inline_3963_startCol$$inline_3961$$);
      }
    }
  } else {
    for (var $pane$$inline_3986_startPane$$inline_3966$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.$_startPane$, $buffer$$inline_3987_databodyBuffers$$inline_3967$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.$_databodyBuffers$, 
    $length$$inline_3988_rowHeaderBuffers$$inline_3968$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.$_rowHeaderBuffers$, $colHeaderBuffers$$inline_3969_i$$inline_3989$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.$_colHeaderBuffers$, 
    $isWidth$$inline_3984_rowPane$$inline_3964$$ = $pane$$inline_3986_startPane$$inline_3966$$[1];2 > $isWidth$$inline_3984_rowPane$$inline_3964$$;++$isWidth$$inline_3984_rowPane$$inline_3964$$) {
      for (var $block$$inline_3990_rowOfDatabodyBuffers$$inline_3970$$ = $buffer$$inline_3987_databodyBuffers$$inline_3967$$[$isWidth$$inline_3984_rowPane$$inline_3964$$], $rowHeaderBuffer$$inline_3971$$ = $length$$inline_3988_rowHeaderBuffers$$inline_3968$$[$isWidth$$inline_3984_rowPane$$inline_3964$$], $numRows$$inline_3972$$ = $rowHeaderBuffer$$inline_3971$$.length, $colPane$$inline_3965_edge$$inline_3985$$ = $pane$$inline_3986_startPane$$inline_3966$$[0];2 > $colPane$$inline_3965_edge$$inline_3985$$;++$colPane$$inline_3965_edge$$inline_3985$$) {
        for (var $databodyBuffer$$inline_3973$$ = $block$$inline_3990_rowOfDatabodyBuffers$$inline_3970$$[$colPane$$inline_3965_edge$$inline_3985$$], $colHeaderBuffer$$inline_3974$$ = $colHeaderBuffers$$inline_3969_i$$inline_3989$$[$colPane$$inline_3965_edge$$inline_3985$$], $numCols$$inline_3975$$ = $colHeaderBuffer$$inline_3974$$.length, $i$$inline_3976$$ = 0;$i$$inline_3976$$ < $numRows$$inline_3972$$;++$i$$inline_3976$$) {
          for (var $rowOfDatabodyBlocks$$inline_3977$$ = $databodyBuffer$$inline_3973$$[$i$$inline_3976$$], $j$$inline_3978$$ = 0;$j$$inline_3978$$ < $numCols$$inline_3975$$;++$j$$inline_3978$$) {
            $rowOfDatabodyBlocks$$inline_3977$$[$j$$inline_3978$$] && ($databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.getIntAttribute($rowHeaderBuffer$$inline_3971$$[$i$$inline_3976$$], "_startSlice"), $prefix$$inline_3983_rows$$inline_3960$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.getIntAttribute($rowHeaderBuffer$$inline_3971$$[$i$$inline_3976$$], 
            "_numSlices"), $blockDesc$$inline_3963_startCol$$inline_3961$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.getIntAttribute($colHeaderBuffer$$inline_3974$$[$j$$inline_3978$$], "_startSlice"), $cols$$inline_3962$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_ptUtils$.getIntAttribute($colHeaderBuffer$$inline_3974$$[$j$$inline_3978$$], 
            "_numSlices"), $blockDesc$$inline_3963_startCol$$inline_3961$$ = [$databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$, $prefix$$inline_3983_rows$$inline_3960$$, $blockDesc$$inline_3963_startCol$$inline_3961$$, $cols$$inline_3962$$], $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$.push($blockDesc$$inline_3963_startCol$$inline_3961$$));
          }
        }
      }
    }
  }
  $changes$$[$JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$] = $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$;
  $changes$$[AdfRichPivotTable.$__ACTIVE_CELL_KEY$] = this.getProperty(AdfRichPivotTable.$__ACTIVE_CELL_KEY$);
  $changes$$.activeCellKey = this.getProperty("activeCellKey");
  if ($JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ = $changes$$[AdfRichPivotTable.$__SELECTION_KEY$]) {
    $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$ = [], $JSCompiler_StaticMethods__writeObject$$(this, $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$, $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$), $changes$$[AdfRichPivotTable.$__SELECTION_KEY$] = 
    $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.join(AdfRichPivotTable.$_TOKEN_OUTER_SEPARATOR$);
  }
  if (!this.getPeer().$_isAda$) {
    $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ = AdfRichPivotTable.$__DATABODY_SIZES_KEY$;
    $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$ = this.getPeer().$_ptUtils$;
    $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$ = AdfAgent.getAgent();
    $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ = "";
    $prefix$$inline_3983_rows$$inline_3960$$ = "Rows:";
    $isWidth$$inline_3984_rowPane$$inline_3964$$ = !1;
    for ($colPane$$inline_3965_edge$$inline_3985$$ = 1;0 <= $colPane$$inline_3965_edge$$inline_3985$$;--$colPane$$inline_3965_edge$$inline_3985$$) {
      for (0 == $colPane$$inline_3965_edge$$inline_3985$$ && ($prefix$$inline_3983_rows$$inline_3960$$ = "Columns:", $isWidth$$inline_3984_rowPane$$inline_3964$$ = !0), $pane$$inline_3986_startPane$$inline_3966$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_startPane$[$colPane$$inline_3965_edge$$inline_3985$$];2 > $pane$$inline_3986_startPane$$inline_3966$$;++$pane$$inline_3986_startPane$$inline_3966$$) {
        $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ += $prefix$$inline_3983_rows$$inline_3960$$;
        $buffer$$inline_3987_databodyBuffers$$inline_3967$$ = $JSCompiler_StaticMethods_getClientBlocks$self$$inline_3957_JSCompiler_StaticMethods_getDatabodySizes$self$$inline_3980_JSCompiler_temp_const$$98_selectionString$$18$$.$_buffers2$[$colPane$$inline_3965_edge$$inline_3985$$][$pane$$inline_3986_startPane$$inline_3966$$];
        $length$$inline_3988_rowHeaderBuffers$$inline_3968$$ = $buffer$$inline_3987_databodyBuffers$$inline_3967$$.length;
        for ($colHeaderBuffers$$inline_3969_i$$inline_3989$$ = 0;$colHeaderBuffers$$inline_3969_i$$inline_3989$$ < $length$$inline_3988_rowHeaderBuffers$$inline_3968$$;$colHeaderBuffers$$inline_3969_i$$inline_3989$$++) {
          $block$$inline_3990_rowOfDatabodyBuffers$$inline_3970$$ = $buffer$$inline_3987_databodyBuffers$$inline_3967$$[$colHeaderBuffers$$inline_3969_i$$inline_3989$$], $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ += $agent$$inline_3981_blocks$$inline_3958_str$$inline_3951$$.getAttribute($block$$inline_3990_rowOfDatabodyBuffers$$inline_3970$$, "_startSlice") + ":" + $JSCompiler_StaticMethods_getSizeString$$($isWidth$$inline_3984_rowPane$$inline_3964$$, $block$$inline_3990_rowOfDatabodyBuffers$$inline_3970$$) + 
          ":";
        }
        $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$ += ";";
      }
    }
    $changes$$[$JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$] = $databodySizing$$inline_3982_prop$$inline_3952_startRow$$inline_3959$$;
    $changes$$[AdfRichPivotTable.$__ROW_HEADER_WIDTHS_KEY$] = $JSCompiler_StaticMethods_getRowHeaderWidths$$(this.getPeer().$_ptUtils$);
    $changes$$[AdfRichPivotTable.$__COLUMN_HEADER_HEIGHTS_KEY$] = $JSCompiler_StaticMethods_getColumnHeaderHeights$$(this.getPeer().$_ptUtils$);
    $JSCompiler_StaticMethods_setViewportStartLayerFromPosition$$(this.getPeer().$_ptUtils$);
    $changes$$[AdfRichPivotTable.$__ROW_HEADER_START_LAYER_KEY$] = this.getProperty(AdfRichPivotTable.$__ROW_HEADER_START_LAYER_KEY$);
    $changes$$[AdfRichPivotTable.$__ROW_HEADER_START_PIXEL_KEY$] = this.getProperty(AdfRichPivotTable.$__ROW_HEADER_START_PIXEL_KEY$);
    $changes$$[AdfRichPivotTable.$__COLUMN_HEADER_START_LAYER_KEY$] = this.getProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_LAYER_KEY$);
    $changes$$[AdfRichPivotTable.$__COLUMN_HEADER_START_PIXEL_KEY$] = this.getProperty(AdfRichPivotTable.$__COLUMN_HEADER_START_PIXEL_KEY$);
  }
  $JSCompiler_StaticMethods__isClickToEditAll$$(this.getPeer()) && ($JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ = $JSCompiler_StaticMethods__getDirtyCells$$(this.getPeer()), $changes$$[AdfRichPivotTable.$__PENDING_CELL_EDITS_KEY$] = null != $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$ && 0 < $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$.length ? 
  $JSCompiler_temp_const$$126_JSCompiler_temp_const$$77_dirtyCells_selection$$36_sizeOverrides$$2$$.join(",") : "");
  return $changes$$;
};
AdfRichPivotTable.prototype.GetChanges = AdfRichPivotTable.prototype.GetChanges;
AdfRichPivotTable.prototype.$getPivotEnabled$ = function $AdfRichPivotTable$$$getPivotEnabled$$() {
  return this.getProperty("pivotEnabled");
};
AdfRichPivotTable.prototype.getPivotEnabled = AdfRichPivotTable.prototype.$getPivotEnabled$;
AdfRichPivotTable.prototype.$getPivotLabelVisible$ = function $AdfRichPivotTable$$$getPivotLabelVisible$$() {
  return this.getProperty("pivotLabelVisible");
};
AdfRichPivotTable.prototype.getPivotLabelVisible = AdfRichPivotTable.prototype.$getPivotLabelVisible$;
function $JSCompiler_StaticMethods__writeObject$$($JSCompiler_StaticMethods__writeObject$self$$, $obj$$40$$, $out$$) {
  if (null == $obj$$40$$) {
    $out$$.push(AdfRichPivotTable.$_TOKEN_NULL$);
  } else {
    if ($obj$$40$$.constructor == Array) {
      $out$$.push(AdfRichPivotTable.$_TOKEN_ARRAY_BEGIN$);
      for (var $i$$238_prop$$31$$ = 0;$i$$238_prop$$31$$ < $obj$$40$$.length;++$i$$238_prop$$31$$) {
        $JSCompiler_StaticMethods__writeObject$$($JSCompiler_StaticMethods__writeObject$self$$, $obj$$40$$[$i$$238_prop$$31$$], $out$$);
      }
      $out$$.push(AdfRichPivotTable.$_TOKEN_ARRAY_END$);
    } else {
      if ($obj$$40$$.constructor == String) {
        $out$$.push($obj$$40$$);
      } else {
        if ("object" == typeof $obj$$40$$) {
          $out$$.push(AdfRichPivotTable.$_TOKEN_OBJECT_BEGIN$);
          for ($i$$238_prop$$31$$ in $obj$$40$$) {
            $obj$$40$$.hasOwnProperty($i$$238_prop$$31$$) && ($out$$.push($i$$238_prop$$31$$), $JSCompiler_StaticMethods__writeObject$$($JSCompiler_StaticMethods__writeObject$self$$, $obj$$40$$[$i$$238_prop$$31$$], $out$$));
          }
          $out$$.push(AdfRichPivotTable.$_TOKEN_OBJECT_END$);
        } else {
          $out$$.push($obj$$40$$);
        }
      }
    }
  }
}
AdfRichPivotTable.$_TOKEN_OUTER_SEPARATOR$ = "$1!";
AdfRichPivotTable.$_TOKEN_NULL$ = "$2!";
AdfRichPivotTable.$_TOKEN_ARRAY_BEGIN$ = "$3!";
AdfRichPivotTable.$_TOKEN_ARRAY_END$ = "$4!";
AdfRichPivotTable.$_TOKEN_OBJECT_BEGIN$ = "$5!";
AdfRichPivotTable.$_TOKEN_OBJECT_END$ = "$6!";
AdfRichPivotTable.prototype.$getCellComponent$ = function $AdfRichPivotTable$$$getCellComponent$$($cell$$59_row$$57$$, $column$$12$$, $compId$$) {
  $cell$$59_row$$57$$ = $JSCompiler_StaticMethods__getDataCellFromKey$$(this.getPeer(), $cell$$59_row$$57$$ + ":" + $column$$12$$);
  return null != $cell$$59_row$$57$$ ? void 0 != $compId$$ ? AdfPage.PAGE.findComponent($cell$$59_row$$57$$.id + ":" + $compId$$) : new $AdfRichDataCell$$($cell$$59_row$$57$$) : null;
};
AdfRichPivotTable.prototype.getCellComponent = AdfRichPivotTable.prototype.$getCellComponent$;
AdfRichPivotTable.prototype.$getComponentValue$ = function $AdfRichPivotTable$$$getComponentValue$$($component$$501_elems$$5$$) {
  var $value$$188$$ = $component$$501_elems$$5$$.getValue();
  if (null == $value$$188$$) {
    $component$$501_elems$$5$$ = $JSCompiler_StaticMethods__getInputElementsInNode$$(this.getPeer(), $component$$501_elems$$5$$.getPeer().getDomElement());
    for (var $i$$239$$ = 0;$i$$239$$ < $component$$501_elems$$5$$.length && ($value$$188$$ = $component$$501_elems$$5$$[$i$$239$$].$_afrOldValue$, null == $value$$188$$);$i$$239$$++) {
    }
  }
  return $value$$188$$;
};
AdfRichPivotTable.prototype.getComponentValue = AdfRichPivotTable.prototype.$getComponentValue$;
AdfRichPivotTable.$_TOKEN_OUTER_SEPARATOR$ = "$1!";
AdfRichPivotTable.$_TOKEN_NULL$ = "$2!";
AdfRichPivotTable.$_TOKEN_ARRAY_BEGIN$ = "$3!";
AdfRichPivotTable.$_TOKEN_ARRAY_END$ = "$4!";
AdfRichPivotTable.$_TOKEN_OBJECT_BEGIN$ = "$5!";
AdfRichPivotTable.$_TOKEN_OBJECT_END$ = "$6!";
function $AdfRichDataCell$$($domElement$$183$$) {
  this.$domElement$ = $domElement$$183$$;
}
$goog$exportSymbol$$("AdfRichDataCell", $AdfRichDataCell$$);
AdfObject.createSubclass($AdfRichDataCell$$);
$AdfRichDataCell$$.prototype.setInlineStyle = function $$AdfRichDataCell$$$$setInlineStyle$($backgroundColor_inlineStyle$$2$$) {
  this.$domElement$.style.cssText = $backgroundColor_inlineStyle$$2$$;
  $backgroundColor_inlineStyle$$2$$ = this.$domElement$.style.backgroundColor;
  if (null != $backgroundColor_inlineStyle$$2$$) {
    var $savedColor$$1$$ = this.$domElement$[AdfDhtmlPivotTablePeer.$ORIGINAL_COLOR$];
    null == $savedColor$$1$$ && ($savedColor$$1$$ = AdfAgent.AGENT.getAttribute(this.$domElement$, AdfDhtmlPivotTablePeer.$ORIGINAL_COLOR$));
    null != $savedColor$$1$$ && ($savedColor$$1$$ = AdfDhtmlPivotTablePeer.$_StandardizeColor$($backgroundColor_inlineStyle$$2$$), this.$domElement$[AdfDhtmlPivotTablePeer.$ORIGINAL_COLOR$] = $savedColor$$1$$);
  }
};
$AdfRichDataCell$$.prototype.setInlineStyle = $AdfRichDataCell$$.prototype.setInlineStyle;
$AdfRichDataCell$$.prototype.getDescendantComponents = function $$AdfRichDataCell$$$$getDescendantComponents$($children$$20$$) {
  if (void 0 == $children$$20$$ || null == $children$$20$$) {
    $children$$20$$ = [];
  }
  for (var $page$$32$$ = AdfPage.PAGE, $childNodes$$2$$ = this.$domElement$.childNodes, $i$$240$$ = 0;$i$$240$$ < $childNodes$$2$$.length;$i$$240$$++) {
    if ($childNodes$$2$$[$i$$240$$].id) {
      var $component$$502$$ = $page$$32$$.findComponent($childNodes$$2$$[$i$$240$$].id);
      null != $component$$502$$ && $children$$20$$.push($component$$502$$);
    }
  }
  return $children$$20$$;
};
$AdfRichDataCell$$.prototype.getDescendantComponents = $AdfRichDataCell$$.prototype.getDescendantComponents;
