AdfDhtmlPivotTablePeer.prototype.$HandleDomChange$ = function $AdfDhtmlPivotTablePeer$$$HandleDomChange$$($component$$484$$, $domEvent$$58$$) {
  var $target$$140$$ = AdfAgent.getAgent().getEventTarget($domEvent$$58$$), $edge$$28$$ = 0;
  a: for (;2 > $edge$$28$$;++$edge$$28$$) {
    for (var $pane$$14$$ = this.$_adaStartPane$[$edge$$28$$];2 > $pane$$14$$;++$pane$$14$$) {
      var $target$$inline_3167$$ = $target$$140$$, $rangeSelectElem$$inline_3171$$ = $JSCompiler_StaticMethods__getAdaNavElement$$($component$$484$$, $edge$$28$$, $pane$$14$$, AdfDhtmlPivotTablePeer.$_CHOICE_ID_SUFFIX$);
      if ($target$$inline_3167$$ === $rangeSelectElem$$inline_3171$$) {
        $JSCompiler_StaticMethods_setViewportStartSliceProperty$$(this, $edge$$28$$, $pane$$14$$, !1, this.$_adaCanvasStartSlice$[$edge$$28$$][$pane$$14$$] + $target$$140$$.value);
        AdfPage.PAGE.addPartialTargets(this.getComponent());
        break a;
      }
    }
  }
};
$goog$exportSymbol$$("AdfDhtmlPivotTablePeer.prototype.HandleDomChange", AdfDhtmlPivotTablePeer.prototype.$HandleDomChange$);
function $JSCompiler_StaticMethods__getAdaNavElement$$($clientId$$103_component$$487$$, $edge$$31$$, $pane$$17$$, $elemId$$11_suffix$$) {
  $clientId$$103_component$$487$$ = $clientId$$103_component$$487$$.getClientId() + ":" + AdfDhtmlPivotTablePeer.$_SELECT_RANGE$[$edge$$31$$][$pane$$17$$];
  $elemId$$11_suffix$$ = AdfRichUIPeer.CreateSubId($clientId$$103_component$$487$$, $elemId$$11_suffix$$);
  return AdfAgent.AGENT.getElementById($elemId$$11_suffix$$);
}
AdfDhtmlPivotTablePeer.prototype.$_handlePrevNextSliceClick$ = function $AdfDhtmlPivotTablePeer$$$_handlePrevNextSliceClick$$($edge$$34$$, $pane$$20$$, $isNext$$2$$) {
  var $startSlice$$3$$ = $JSCompiler_StaticMethods_getViewportStartSliceProperty$$(this, $edge$$34$$, $pane$$20$$, !1), $fetchSize$$ = this.$_adaBlockSize$[$edge$$34$$];
  if ($isNext$$2$$) {
    if ($startSlice$$3$$ += $fetchSize$$, $startSlice$$3$$ >= this.$_adaCanvasEndSlice$[$edge$$34$$][$pane$$20$$]) {
      return;
    }
  } else {
    $startSlice$$3$$ -= $fetchSize$$, $startSlice$$3$$ < this.$_adaCanvasStartSlice$[$edge$$34$$][$pane$$20$$] && ($startSlice$$3$$ = this.$_adaCanvasStartSlice$[$edge$$34$$][$pane$$20$$]);
  }
  $JSCompiler_StaticMethods_setViewportStartSliceProperty$$(this, $edge$$34$$, $pane$$20$$, !1, $startSlice$$3$$);
  AdfPage.PAGE.addPartialTargets(this.getComponent());
};
AdfDhtmlPivotTablePeer.prototype.$PerformADADrop$ = function $AdfDhtmlPivotTablePeer$$$PerformADADrop$$($adaSource$$1$$, $dropData$$3$$) {
  $JSCompiler_StaticMethods__pivot$$(this, $dropData$$3$$.fromEdge, $dropData$$3$$.fromLayer, $dropData$$3$$.toEdge, $dropData$$3$$.toLayer, $dropData$$3$$.orientation);
  (new AdfCustomEvent($adaSource$$1$$, "dragDropEnd")).queue();
};
AdfDhtmlPivotTablePeer.prototype.$enableADAExtPivots$ = function $AdfDhtmlPivotTablePeer$$$enableADAExtPivots$$($element$$69$$, $domElement$$175$$) {
  if (null != $element$$69$$.getAttribute("_adaExtPivot")) {
    $AdfDhtmlCommonUtils$$.$removeCSSClassName$($element$$69$$, AdfAgent.AGENT.getAttribute($domElement$$175$$, "ada_icon_disabled"));
  } else {
    for (var $children$$19$$ = $element$$69$$.childNodes, $i$$157$$ = 0;$i$$157$$ < $children$$19$$.length;$i$$157$$++) {
      var $child$$25$$ = $children$$19$$[$i$$157$$];
      1 == $child$$25$$.nodeType && this.$enableADAExtPivots$($child$$25$$, $domElement$$175$$);
    }
  }
};
AdfDhtmlPivotTablePeer.prototype.setupADAExtPivots = function $AdfDhtmlPivotTablePeer$$setupADAExtPivots$() {
  null != this.$getKeyboardPivotPeer$() && this.$enableADAExtPivots$(this.getDomElement(), this.getDomElement());
};
AdfDhtmlPivotTablePeer.prototype.setupADAExtPivots = AdfDhtmlPivotTablePeer.prototype.setupADAExtPivots;
