"undefined" == typeof AdfDhtmlDvtGraphPeer && (AdfRichUIPeer.createPeerClass($AdfDhtmlDvtImageViewPeer$$, "AdfDhtmlDvtGraphPeer", !1), AdfPage.PAGE.getLookAndFeel().registerPeerConstructor("oracle.dss.adf.graph.Graph", "AdfDhtmlDvtGraphPeer"));
AdfDhtmlDvtGraphPeer.$POPUP_LAUNCH_CONTEXT$ = "popupLaunchContext";
AdfDhtmlDvtGraphPeer.InitSubclass = function $AdfDhtmlDvtGraphPeer$InitSubclass$() {
  AdfObject.ensureClassInitialization(AdfDhtmlDvtGraphPeer);
};
AdfDhtmlDvtGraphPeer.prototype.$AddFlashTagToDom$ = function $AdfDhtmlDvtGraphPeer$$$AddFlashTagToDom$$($component$$419$$) {
  AdfDhtmlDvtGraphPeer.superclass.$AddFlashTagToDom$($component$$419$$);
  $component$$419$$.$_mode$ = AdfDvtGraph.$MODE_DEFAULT$;
  $component$$419$$.$_timeSelListeners$ = null;
  $component$$419$$.$_bFlashTimeSelListenerAdded$ = !1;
  $JSCompiler_StaticMethods_CreateFlashSvgProxy$$($component$$419$$);
};
AdfDhtmlDvtGraphPeer.prototype.$LoadFlashXml$ = function $AdfDhtmlDvtGraphPeer$$$LoadFlashXml$$($component$$420$$) {
  AdfDhtmlDvtGraphPeer.superclass.$LoadFlashXml$($component$$420$$);
  $component$$420$$.$_mode$ = AdfDvtGraph.$MODE_DEFAULT$;
  $component$$420$$.$_timeSelListeners$ = null;
  $component$$420$$.$_bFlashTimeSelListenerAdded$ = !1;
};
function $JSCompiler_StaticMethods_CreateFlashSvgProxy$$($component$$422$$) {
  var $objName$$ = $JSCompiler_StaticMethods_GetSvgProxyName$$(0, $component$$422$$);
  window[$objName$$] = {};
  window[$objName$$].$BI_SVG_MODE_DEFAULT$ = AdfDvtGraph.$MODE_DEFAULT$;
  window[$objName$$].$BI_SVG_MODE_ZOOM$ = AdfDvtGraph.$MODE_ZOOM$;
  window[$objName$$].setMode = function anonymous$$1($objName$$) {
    return AdfPage.PAGE.findComponent($component$$422$$.getClientId()).setMode($objName$$);
  };
  window[$objName$$].$addTimeSelectorListener$ = function anonymous$$2($objName$$) {
    return AdfPage.PAGE.findComponent($component$$422$$.getClientId()).$addTimeSelectorListener$($objName$$);
  };
  window[$objName$$].$removeTimeSelectorListener$ = function anonymous$$3($objName$$) {
    return AdfPage.PAGE.findComponent($component$$422$$.getClientId()).$removeTimeSelectorListener$($objName$$);
  };
}
function $JSCompiler_StaticMethods_GetSvgProxyName$$($JSCompiler_StaticMethods_GetSvgProxyName$self$$, $component$$423$$) {
  var $graphId$$inline_2084$$ = new String($component$$423$$.getClientId());
  if ($graphId$$inline_2084$$ && 0 < $graphId$$inline_2084$$.length) {
    var $i$$inline_2085$$ = $graphId$$inline_2084$$.lastIndexOf(":");
    -1 < $i$$inline_2085$$ && $i$$inline_2085$$ < $graphId$$inline_2084$$.length - 1 && ($graphId$$inline_2084$$ = $graphId$$inline_2084$$.substring($i$$inline_2085$$ + 1, $graphId$$inline_2084$$.length));
  }
  return $graphId$$inline_2084$$ + "_svg";
}
function $JSCompiler_StaticMethods_TimeSelListenerHasArgs$$($JSCompiler_StaticMethods_TimeSelListenerHasArgs$self$$, $listener$$62$$) {
  var $indexA_indexStartTime$$ = $listener$$62$$.lastIndexOf("(");
  if (-1 < $indexA_indexStartTime$$) {
    var $indexB$$ = $listener$$62$$.indexOf(")", $indexA_indexStartTime$$);
    if ($indexB$$ > $indexA_indexStartTime$$) {
      var $indexEndTime_indexSrc$$ = $listener$$62$$.indexOf("src", $indexA_indexStartTime$$);
      if ($indexEndTime_indexSrc$$ > $indexA_indexStartTime$$ && $indexEndTime_indexSrc$$ < $indexB$$ && ($indexA_indexStartTime$$ = $listener$$62$$.indexOf("startTime", $indexEndTime_indexSrc$$), $indexA_indexStartTime$$ > $indexEndTime_indexSrc$$ && $indexA_indexStartTime$$ < $indexB$$ && ($indexEndTime_indexSrc$$ = $listener$$62$$.indexOf("endTime", $indexA_indexStartTime$$), $indexEndTime_indexSrc$$ > $indexA_indexStartTime$$ && $indexEndTime_indexSrc$$ < $indexB$$))) {
        return !0;
      }
    }
  }
  return !1;
}
AdfDhtmlDvtGraphPeer.prototype.$showPopupHelper$ = function $AdfDhtmlDvtGraphPeer$$$showPopupHelper$$($context$$20$$) {
  $JSCompiler_StaticMethods_ForceSetPropertyChange$$(this, AdfDhtmlDvtGraphPeer.$POPUP_LAUNCH_CONTEXT$, $context$$20$$, !1, AdfUIComponent.PROPAGATE_ALWAYS);
};
AdfDhtmlDvtGraphPeer.prototype.$getDragContext$ = function $AdfDhtmlDvtGraphPeer$$$getDragContext$$($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$) {
  $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$ = $JSCompiler_StaticMethods__getComponentCoords$$(this, this.getComponent(), $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$);
  if ("HTML5" == this.getComponent().$getClientImageFormat$()) {
    return this.$_view$ && this.$_view$.$getDragContext$ ? ($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$ = this.$_view$.$getDragContext$($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.x, $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.y), new AdfDvtGraphDragContext($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.$xValue$, $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.$yValue$)) : null;
  }
  var $movieObj$$23$$ = this.$getFlashMovieObj$();
  return $movieObj$$23$$ && $movieObj$$23$$.getDragContext ? ($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$ = $movieObj$$23$$.getDragContext($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.x, $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.y), new AdfDvtGraphDragContext($context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.$xValue$, $context$$21_dragContext$$2_inputEvent$$48_mousePos$$9$$.$yValue$)) : null;
};
AdfDhtmlDvtGraphPeer.prototype.getDragContext = AdfDhtmlDvtGraphPeer.prototype.$getDragContext$;
$JSCompiler_prototypeAlias$$ = AdfDhtmlDvtGraphPeer.prototype;
$JSCompiler_prototypeAlias$$.getDragData = function $$JSCompiler_prototypeAlias$$$getDragData$() {
  if ("HTML5" == this.getComponent().$getClientImageFormat$()) {
    if (this.$_view$ && this.$_view$.getDragData) {
      return this.$_view$.getDragData();
    }
  } else {
    var $movieObj$$24$$ = this.$getFlashMovieObj$();
    if ($movieObj$$24$$ && $movieObj$$24$$.getDragData) {
      return $movieObj$$24$$.getDragData();
    }
  }
  return null;
};
$JSCompiler_prototypeAlias$$.getAccessibleName = function $$JSCompiler_prototypeAlias$$$getAccessibleName$() {
  return this.getComponent().getShortDesc();
};
$JSCompiler_prototypeAlias$$.getDefaultDragRecognizer = function $$JSCompiler_prototypeAlias$$$getDefaultDragRecognizer$() {
  return new $AdfDvtDragRecognizer$$;
};
$JSCompiler_prototypeAlias$$.$LoadHTML5Content$ = function $$JSCompiler_prototypeAlias$$$$LoadHTML5Content$$($component$$427$$) {
  AdfDhtmlDvtGraphPeer.superclass.$LoadHTML5Content$.call(this, $component$$427$$);
  null != $component$$427$$.getMode() && $component$$427$$.setMode($component$$427$$.getMode());
};
$JSCompiler_prototypeAlias$$.$useDragGhostStyleClass$ = function $$JSCompiler_prototypeAlias$$$$useDragGhostStyleClass$$() {
  return !1;
};
