function $AdfDhtmlActiveData$$() {
  this.Init()
}
$goog$exportSymbol$$("AdfDhtmlActiveData", $AdfDhtmlActiveData$$);
$AdfObject$$.$createSubclass$($AdfDhtmlActiveData$$);
$AdfDhtmlActiveData$$.prototype.Init = function $$AdfDhtmlActiveData$$$$Init$() {
  $AdfDhtmlActiveData$$.$superclass$.Init.call(this);
  this.$_activeComponents$ = {};
  this.$_serverTimeDifference$ = 0;
  this.$_isWindowClosing$ = $JSCompiler_alias_FALSE$$;
  this.$_lastPollTime$ = $JSCompiler_alias_NULL$$;
  this.$_reconnectRetries$ = this.$_lastActiveDataActivityTime$ = 0;
  this.$_restartInterval$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$restartInterval$;
  this.$_maxReconnectionRetries$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$maxReconnectionRetries$;
  this.$_reconnectWaitTime$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$reconnectWaitTime$;
  this.$_latencyThreshold$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$latencyThreshold$;
  this.$_transport$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$transport$;
  this.$_pollingInterval$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$pollingInterval$;
  this.$_keepAliveInterval$ = $AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$.$keepAliveInterval$;
  this.$_pollingTimer$ = $JSCompiler_alias_NULL$$;
  this.$_adsConnectionStateListeners$ = [];
  this.$_messageCount$ = 0
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.Init", {Init:$AdfDhtmlActiveData$$.prototype.Init});
$AdfDhtmlActiveData$$.prototype.$requestStatusChanged$ = function $$AdfDhtmlActiveData$$$$$requestStatusChanged$$($requestEvent$$) {
  $requestEvent$$.$getStatus$() == $AdfDataTransferRequestEvent$$.$STATUS_COMPLETE$ && 200 == $requestEvent$$.$getResponseStatusCode$() && $requestEvent$$.$isRichResponse$() && $AdfPage$$.$PAGE$.$requestStatusChanged$($requestEvent$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.requestStatusChanged", {$requestStatusChanged$:$AdfDhtmlActiveData$$.prototype.$requestStatusChanged$});
$AdfDhtmlActiveData$$.$_requestCallback$ = function $$AdfDhtmlActiveData$$$$_requestCallback$$($xmlRequest$$1$$) {
  $AdfLogger$$.$LOGGER$.finer("Request complete:", $xmlRequest$$1$$);
  var $dts$$3$$ = $AdfPage$$.$PAGE$.$getDataTransferService$($JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$);
  $dts$$3$$ && $JSCompiler_StaticMethods__handleRequestCallback$$($dts$$3$$, $xmlRequest$$1$$)
};
$AdfDhtmlActiveData$$.prototype.$initializeActiveForm$ = function $$AdfDhtmlActiveData$$$$$initializeActiveForm$$($wls$$, $ctxName$$) {
  $AdfAssert$$.$assertBoolean$($wls$$);
  this.$_ACTIVE_FORM_URL$ = $wls$$ ? $ctxName$$ + "/adwwls/wls.ads" : "adw.jspx"
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.initializeActiveForm", {$initializeActiveForm$:$AdfDhtmlActiveData$$.prototype.$initializeActiveForm$});
$AdfDhtmlActiveData$$.prototype.$updateActiveDataComponents$ = function $$AdfDhtmlActiveData$$$$$updateActiveDataComponents$$($masterWindowId$$, $masterPageId$$, $pageId$$13$$, $modelChanged$$, $clientIds$$3$$, $changeCounts$$) {
  $AdfAssert$$.$assertString$($masterWindowId$$);
  this.$_masterWindowId$ = $masterWindowId$$;
  this.$_masterPageId$ = $masterPageId$$;
  $AdfPage$$.$PAGE$.$setPageId$($pageId$$13$$);
  var $argCount$$6$$ = arguments.length;
  $AdfAssert$$.assert(0 == $argCount$$6$$ % 2, "An equal number of clientId and changeCount parameters are required");
  for(var $activeComponents$$ = this.$_activeComponents$, $i$$156$$ = 4;$i$$156$$ < $argCount$$6$$;$i$$156$$++) {
    var $clientId$$56_component$$343$$ = arguments[$i$$156$$];
    $AdfAssert$$.$assertString$($clientId$$56_component$$343$$);
    $i$$156$$++;
    var $changeCount$$3$$ = arguments[$i$$156$$];
    $AdfAssert$$.$assertNumber$($changeCount$$3$$);
    var $needsStart$$ = !($clientId$$56_component$$343$$ in $activeComponents$$);
    $activeComponents$$[$clientId$$56_component$$343$$] = {};
    $activeComponents$$[$clientId$$56_component$$343$$].$changeCount$ = $changeCount$$3$$;
    if($modelChanged$$ || $needsStart$$) {
      $AdfLogger$$.$LOGGER$.fine("Register active data on:", $clientId$$56_component$$343$$), this.$_admInitialized$ || this.$initActivePage$(), $AdfPage$$.$PAGE$.$updateStartActiveDataStateChange$($modelChanged$$, $clientId$$56_component$$343$$), ($clientId$$56_component$$343$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$56_component$$343$$)) && $clientId$$56_component$$343$$.$registerADSAccessibility$()
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.updateActiveDataComponents", {$updateActiveDataComponents$:$AdfDhtmlActiveData$$.prototype.$updateActiveDataComponents$});
function $JSCompiler_StaticMethods__registerWindowWithADSMaster$$($JSCompiler_StaticMethods__registerWindowWithADSMaster$self$$, $registeringWindow$$) {
  $AdfAssert$$.assert($registeringWindow$$);
  $JSCompiler_StaticMethods__registerWindowWithADSMaster$self$$.$_windowNameToWindow$[$registeringWindow$$.name] = $registeringWindow$$
}
function $JSCompiler_StaticMethods__processPushData$$($JSCompiler_StaticMethods__processPushData$self$$, $clientId$$57$$, $currentTime_payload$$4$$, $changeCount$$4$$, $isLate$$1_lastChangeCount$$, $eventNumber$$, $perfLogging$$) {
  $AdfAssert$$.$assertString$($clientId$$57$$);
  $AdfAssert$$.assert($currentTime_payload$$4$$ !== $JSCompiler_alias_VOID$$);
  $AdfAssert$$.$assertNumber$($changeCount$$4$$);
  $AdfAssert$$.$assertBoolean$($perfLogging$$);
  $AdfAssert$$.$assertNumberOrNull$($eventNumber$$);
  var $component$$344$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$57$$);
  $component$$344$$ ? ($isLate$$1_lastChangeCount$$ && $AdfLogger$$.$LOGGER$.fine("Event received beyond the configured threshold for component:", $clientId$$57$$), $isLate$$1_lastChangeCount$$ = $JSCompiler_StaticMethods__processPushData$self$$.$_activeComponents$[$clientId$$57$$].$changeCount$, $isLate$$1_lastChangeCount$$ === $JSCompiler_alias_VOID$$ ? $AdfLogger$$.$LOGGER$.severe("Active data for unregistered component:", $clientId$$57$$) : $changeCount$$4$$ > $isLate$$1_lastChangeCount$$ ? ($component$$344$$.$processPushData$($currentTime_payload$$4$$, 
  $changeCount$$4$$), $eventNumber$$ !== $JSCompiler_alias_VOID$$ && ($currentTime_payload$$4$$ = (new Date).getTime(), 0 == $eventNumber$$ % 500 && $AdfLogger$$.$LOGGER$.info("ADS: GENERAL: component finished processing event : ", " windowId:", $AdfPage$$.$PAGE$.$getWindowId$(), " pageId:", $AdfPage$$.$PAGE$.$_pageId$, " clientId:", $clientId$$57$$, " eventId:", $changeCount$$4$$, " client time:", $currentTime_payload$$4$$, " event number:", $eventNumber$$), $perfLogging$$ && $AdfLogger$$.$LOGGER$.info("ADS: component finished processing event : ", 
  " windowId:", $AdfPage$$.$PAGE$.$getWindowId$(), " pageId:", $AdfPage$$.$PAGE$.$_pageId$, " clientId:", $clientId$$57$$, " eventId:", $changeCount$$4$$, " client time:", $currentTime_payload$$4$$)), $JSCompiler_StaticMethods__processPushData$self$$.$_activeComponents$[$clientId$$57$$].$changeCount$ = $changeCount$$4$$) : $AdfLogger$$.$LOGGER$.fine("Old active data for", $clientId$$57$$, " declined")) : $AdfLogger$$.$LOGGER$.fine("No active component:", $clientId$$57$$, " Deregestering component")
}
$AdfDhtmlActiveData$$.prototype.$processActiveDataEvent$ = function $$AdfDhtmlActiveData$$$$$processActiveDataEvent$$($isLate$$2_windowId$$5$$, $pageId$$14$$, $clientId$$58_targetPageId$$inline_876$$, $payload$$5_targetPageNum$$inline_879$$, $changeCount$$5_requestPageNum$$inline_880$$, $timeStamp$$, $eventNumber$$1$$, $perfLogging$$1$$) {
  $AdfAssert$$.$assertString$($isLate$$2_windowId$$5$$);
  $AdfAssert$$.$assertString$($pageId$$14$$);
  $AdfAssert$$.$assertString$($clientId$$58_targetPageId$$inline_876$$);
  $AdfAssert$$.$assertObject$($payload$$5_targetPageNum$$inline_879$$);
  $AdfAssert$$.$assertNumber$($changeCount$$5_requestPageNum$$inline_880$$);
  $AdfAssert$$.$assertNumber$($timeStamp$$);
  $AdfAssert$$.$assertNumber$($perfLogging$$1$$);
  $AdfAssert$$.$assertNumberOrNull$($eventNumber$$1$$);
  this.$_lastActiveDataActivityTime$ = (new Date).getTime();
  this.$_messageCount$++;
  $eventNumber$$1$$ !== $JSCompiler_alias_VOID$$ && (0 == $eventNumber$$1$$ % 500 && $AdfLogger$$.$LOGGER$.info("ADS: GENERAL: active data manager receives event : ", " windowId:", $isLate$$2_windowId$$5$$, " pageId:", $pageId$$14$$, " clientId:", $clientId$$58_targetPageId$$inline_876$$, " eventId:", $changeCount$$5_requestPageNum$$inline_880$$, " event generation time:", $timeStamp$$, " client time:", this.$_lastActiveDataActivityTime$, " event number:", $eventNumber$$1$$), $perfLogging$$1$$ && 
  $AdfLogger$$.$LOGGER$.info("ADS: active data manager receives event : ", " windowId:", $isLate$$2_windowId$$5$$, " pageId:", $pageId$$14$$, " clientId:", $clientId$$58_targetPageId$$inline_876$$, " eventId:", $changeCount$$5_requestPageNum$$inline_880$$, " event generation time:", $timeStamp$$, " client time:", this.$_lastActiveDataActivityTime$));
  var $targetPage_targetWindow$$inline_871$$;
  $AdfAssert$$.$assertString$($isLate$$2_windowId$$5$$);
  if($isLate$$2_windowId$$5$$ == $AdfPage$$.$PAGE$.$getWindowId$()) {
    $targetPage_targetWindow$$inline_871$$ = $AdfPage$$.$PAGE$
  }else {
    $targetPage_targetWindow$$inline_871$$ = $JSCompiler_alias_NULL$$;
    var $targetPage$$inline_873_windowMap$$inline_872$$ = this.$_windowNameToWindow$;
    $targetPage$$inline_873_windowMap$$inline_872$$ != $JSCompiler_alias_NULL$$ && ($targetPage_targetWindow$$inline_871$$ = $targetPage$$inline_873_windowMap$$inline_872$$[$isLate$$2_windowId$$5$$]);
    $targetPage$$inline_873_windowMap$$inline_872$$ = $JSCompiler_alias_NULL$$;
    if($JSCompiler_StaticMethods__testAdfPageExistence$$($targetPage_targetWindow$$inline_871$$)) {
      try {
        $targetPage$$inline_873_windowMap$$inline_872$$ = $targetPage_targetWindow$$inline_871$$.$AdfPage$.$PAGE$
      }catch($e$$inline_874$$) {
        $AdfLogger$$.$LOGGER$.fine("Could not access active window:", $isLate$$2_windowId$$5$$)
      }
    }
    $targetPage_targetWindow$$inline_871$$ = $targetPage$$inline_873_windowMap$$inline_872$$
  }
  $targetPage_targetWindow$$inline_871$$ && ($targetPage_targetWindow$$inline_871$$.$_pageId$ == $pageId$$14$$ ? ($isLate$$2_windowId$$5$$ = $AdfDhtmlActiveData$$.$_getTimeDifference$($timeStamp$$) - this.$_serverTimeDifference$ > this.$_latencyThreshold$, $eventNumber$$1$$ !== $JSCompiler_alias_VOID$$ ? $JSCompiler_StaticMethods__processPushData$$($targetPage_targetWindow$$inline_871$$.$getActiveDataSupport$(), $clientId$$58_targetPageId$$inline_876$$, $payload$$5_targetPageNum$$inline_879$$, $changeCount$$5_requestPageNum$$inline_880$$, 
  $isLate$$2_windowId$$5$$, $eventNumber$$1$$, 1 == $perfLogging$$1$$) : $JSCompiler_StaticMethods__processPushData$$($targetPage_targetWindow$$inline_871$$.$getActiveDataSupport$(), $clientId$$58_targetPageId$$inline_876$$, $payload$$5_targetPageNum$$inline_879$$, $changeCount$$5_requestPageNum$$inline_880$$, $isLate$$2_windowId$$5$$)) : ($clientId$$58_targetPageId$$inline_876$$ = $targetPage_targetWindow$$inline_871$$.$_pageId$, $payload$$5_targetPageNum$$inline_879$$ = Number($clientId$$58_targetPageId$$inline_876$$), 
  $changeCount$$5_requestPageNum$$inline_880$$ = Number($pageId$$14$$), isNaN($payload$$5_targetPageNum$$inline_879$$) ? $AdfLogger$$.$LOGGER$.error("Invalid target pageId: ", $clientId$$58_targetPageId$$inline_876$$, " windowId: ", $isLate$$2_windowId$$5$$) : isNaN($changeCount$$5_requestPageNum$$inline_880$$) ? $AdfLogger$$.$LOGGER$.error("Invalid request pageId: ", $pageId$$14$$, " windowId: ", $isLate$$2_windowId$$5$$) : $payload$$5_targetPageNum$$inline_879$$ < $changeCount$$5_requestPageNum$$inline_880$$ ? 
  $AdfLogger$$.$LOGGER$.error("Data update is newer than current page", " request pageId: ", $pageId$$14$$, " current pageId: ", $clientId$$58_targetPageId$$inline_876$$, " windowId: ", $isLate$$2_windowId$$5$$) : $payload$$5_targetPageNum$$inline_879$$ > $changeCount$$5_requestPageNum$$inline_880$$ && $AdfLogger$$.$LOGGER$.info("Old data update is discarded for pageId: ", $pageId$$14$$, " current pageId: ", $clientId$$58_targetPageId$$inline_876$$, " windowId: ", $isLate$$2_windowId$$5$$)))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.processActiveDataEvent", {$processActiveDataEvent$:$AdfDhtmlActiveData$$.prototype.$processActiveDataEvent$});
$AdfDhtmlActiveData$$.prototype.$restartAllPushComponents$ = function $$AdfDhtmlActiveData$$$$$restartAllPushComponents$$() {
  this.$_messageCount$ = 1;
  var $windowMap$$2$$ = $JSCompiler_StaticMethods__getRegistryMap$$(this), $winId$$;
  for($winId$$ in $windowMap$$2$$) {
    if(currWindow = $windowMap$$2$$[$winId$$], $JSCompiler_StaticMethods__testAdfPageExistence$$(currWindow)) {
      var $targetPage$$2$$ = currWindow.$AdfPage$.$PAGE$;
      $targetPage$$2$$.$isActiveDataSupported$() && ($targetPage$$2$$.$getActiveDataSupport$(), $AdfPage$$.$PAGE$.$__restartAllADSComponents$())
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.restartAllPushComponents", {$restartAllPushComponents$:$AdfDhtmlActiveData$$.prototype.$restartAllPushComponents$});
function $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$($JSCompiler_StaticMethods__notifyADSConnectionStateChange$self$$, $adsConnectionState$$) {
  $AdfAssert$$.assert($JSCompiler_StaticMethods__notifyADSConnectionStateChange$self$$.$_masterWindowId$ == $AdfPage$$.$PAGE$.$getWindowId$(), "_notifyADSConnectionStateChange should not be called on a non-master window");
  var $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$ = $JSCompiler_alias_VOID$$, $windowMap$$3$$ = $JSCompiler_StaticMethods__getRegistryMap$$($JSCompiler_StaticMethods__notifyADSConnectionStateChange$self$$), $winId$$1$$;
  for($winId$$1$$ in $windowMap$$3$$) {
    if($adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$ = $windowMap$$3$$[$winId$$1$$], $JSCompiler_StaticMethods__testAdfPageExistence$$($adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$)) {
      try {
        var $JSCompiler_StaticMethods__broadcastADSConnectionStateChange$self$$inline_884$$ = $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$.$AdfPage$.$PAGE$.$getActiveDataSupport$(), $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$ = $adsConnectionState$$, $oldConnectionState$$inline_886$$ = $JSCompiler_StaticMethods__broadcastADSConnectionStateChange$self$$inline_884$$.$_pushChannelState$;
        if($oldConnectionState$$inline_886$$ == $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$) {
          $AdfLogger$$.$LOGGER$.finest("broadcastADSConnectionStateChange called without a change in state")
        }else {
          $JSCompiler_StaticMethods__broadcastADSConnectionStateChange$self$$inline_884$$.$_pushChannelState$ = $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$;
          var $listenerArray$$inline_887$$ = $JSCompiler_StaticMethods__broadcastADSConnectionStateChange$self$$inline_884$$.$_adsConnectionStateListeners$;
          if($listenerArray$$inline_887$$) {
            var $length$$inline_888$$ = $listenerArray$$inline_887$$.length;
            if(0 < $length$$inline_888$$) {
              for(var $event$$inline_889$$ = new $AdfPropertyChangeEvent$$($JSCompiler_StaticMethods__broadcastADSConnectionStateChange$self$$inline_884$$, "adsConnectionState", $oldConnectionState$$inline_886$$, $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$), $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$ = 0;$adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$ < $length$$inline_888$$;$adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$++) {
                var $callback$$inline_891$$ = $listenerArray$$inline_887$$[$adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$];
                $adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$++;
                var $instance$$inline_892$$ = $listenerArray$$inline_887$$[$adsConnectionState$$inline_885_currWindow$$1_i$$inline_890$$];
                try {
                  $instance$$inline_892$$ != $JSCompiler_alias_NULL$$ ? $callback$$inline_891$$.call($instance$$inline_892$$, $event$$inline_889$$) : $callback$$inline_891$$($event$$inline_889$$)
                }catch($e$$inline_893$$) {
                  $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$inline_893$$, "Error broadcasting ADS connection state")
                }
              }
            }
          }
        }
      }catch($e$$94$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$94$$, "Error broadcasting ADS connection state to window ", $winId$$1$$)
      }
    }
  }
}
function $JSCompiler_StaticMethods__stopActiveData$$($JSCompiler_StaticMethods__stopActiveData$self$$, $clientId$$60$$) {
  $AdfAssert$$.$assertString$($clientId$$60$$);
  delete $JSCompiler_StaticMethods__stopActiveData$self$$.$_activeComponents$[$clientId$$60$$];
  $AdfPage$$.$PAGE$.$updateStopActiveDataStateChange$($clientId$$60$$)
}
$AdfDhtmlActiveData$$.prototype.$initActivePage$ = function $$AdfDhtmlActiveData$$$$$initActivePage$$() {
  if(!this.$_admInitialized$ && this.$_masterWindowId$ != $JSCompiler_alias_NULL$$) {
    var $domWindow$$inline_5082_domWindow$$inline_896$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
    $AdfAssert$$.assert($domWindow$$inline_5082_domWindow$$inline_896$$.AdfDhtmlActiveData, "AdfActiveDataService JavaScript feature not loaded. Please make sure it is not blocked by ad block software.");
    var $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$ = this.$_masterWindowId$, $masterPageId$$inline_898_url$$inline_5084$$ = this.$_masterPageId$, $pageId$$inline_899$$ = $AdfPage$$.$PAGE$.$_pageId$, $windowId$$inline_900$$ = $JSCompiler_alias_NULL$$, $windowId$$inline_900$$ = $domWindow$$inline_5082_domWindow$$inline_896$$.name ? $domWindow$$inline_5082_domWindow$$inline_896$$.name : this.$_expectedWindowId$;
    if(!this.$_admInitialized$) {
      if($AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$) {
        var $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$ = $AdfPage$$.$PAGE$.$getDomDocument$(), $cursorURL$$inline_5061_masterWindow$$inline_903$$ = $AdfPage$$.$PAGE$.$getResourceURL$("/afr/default_arrow_black.cur");
        $AdfAgent$$.$AGENT$.$getOS$() == $AdfAgent$$.$WINDOWS_OS$ && ($cursorURL$$inline_5061_masterWindow$$inline_903$$ = $AdfPage$$.$PAGE$.$getResourceURL$("/afr/default_arrow_white.cur"));
        $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$.body.style.cursor = "url('" + $cursorURL$$inline_5061_masterWindow$$inline_903$$ + "'), progress"
      }
      this.$_admInitialized$ = $JSCompiler_alias_TRUE$$;
      $AdfLogger$$.$LOGGER$.fine("Initialize active data manager");
      this.$_replaceMasterPageId$ = this.$_masterPageId$ = this.$_replaceMasterWindowId$ = this.$_masterWindowRef$ = this.$_masterWindowId$ = $JSCompiler_alias_VOID$$;
      this.$_ESTABLISH_CHANNEL_ACTION$ = "establishChannel";
      this.$_RECONNECT_ACTION$ = "reconnect";
      this.$_POLL_EVENTS_ACTION$ = "pollEvents";
      this.$_ACTIVE_FRAME_NAME$ = "afr::PushIframe";
      this.$_ACTIVE_FORM_NAME$ = "_activeDataForm";
      this.$_ACTIVE_WINDOW_REGISTRY_MAP$ = this.$_windowNameToWindow$;
      $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$ = $JSCompiler_StaticMethods__wrapMasterWindowId$$($iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$);
      $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$ == $AdfPage$$.$PAGE$.$getWindowId$() ? ($AdfLogger$$.$LOGGER$.info("self is master window: ", $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$), this.$_windowNameToWindow$ == $JSCompiler_alias_NULL$$ && (this.$_windowNameToWindow$ = {}), $domWindow$$inline_5082_domWindow$$inline_896$$.name = $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$, $AdfPage$$.$PAGE$.$setWindowId$($windowId$$inline_900$$), 
      this.$_replaceMasterWindowId$ = this.$_masterWindowId$ = $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$, $AdfPage$$.$PAGE$.$setPageId$($pageId$$inline_899$$), this.$_replaceMasterPageId$ = this.$_masterPageId$ = $masterPageId$$inline_898_url$$inline_5084$$, this.$_masterWindowRef$ = $domWindow$$inline_5082_domWindow$$inline_896$$, $JSCompiler_StaticMethods__registerWindowWithADSMaster$$(this, $domWindow$$inline_5082_domWindow$$inline_896$$), $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$ = 
      this.$_ACTIVE_FRAME_NAME$, $domWindow$$inline_5082_domWindow$$inline_896$$ = $AdfPage$$.$PAGE$.$getDomWindow$(), $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$ = $domWindow$$inline_5082_domWindow$$inline_896$$.frames[$iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$], $AdfPage$$.$PAGE$.$getDomDocument$(), $masterPageId$$inline_898_url$$inline_5084$$ = this.$_ACTIVE_FORM_URL$, $masterPageId$$inline_898_url$$inline_5084$$ += "?action\x3d" + 
      this.$_ESTABLISH_CHANNEL_ACTION$ + "\x26windowId\x3d" + $AdfPage$$.$PAGE$.$getWindowId$() + "\x26pageId\x3d" + $AdfPage$$.$PAGE$.$_pageId$ + "\x26replaceMasterWindowId\x3d" + this.$_replaceMasterWindowId$ + "\x26replaceMasterPageId\x3d" + this.$_replaceMasterPageId$, $AdfLogger$$.$LOGGER$.fine("Connecting for master window:", $AdfPage$$.$PAGE$.$getWindowId$(), " in window:", $domWindow$$inline_5082_domWindow$$inline_896$$.name), $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, 
      $AdfDhtmlPage$$.$PushChannelStates$.CONNECTING), $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$.location.replace($masterPageId$$inline_898_url$$inline_5084$$)) : $domWindow$$inline_5082_domWindow$$inline_896$$.name == $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$ ? $JSCompiler_StaticMethods__claimMaster$$(this, $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$, $masterPageId$$inline_898_url$$inline_5084$$) : 
      ($AdfLogger$$.$LOGGER$.info("non-master window, needs to register with: ", $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$), $domWindow$$inline_5082_domWindow$$inline_896$$.name = $windowId$$inline_900$$, $currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$ = $JSCompiler_alias_NULL$$, $cursorURL$$inline_5061_masterWindow$$inline_903$$ = $JSCompiler_StaticMethods__getADSMasterWindow$$($iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$), 
      $cursorURL$$inline_5061_masterWindow$$inline_903$$ != $JSCompiler_alias_NULL$$ ? ($currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$ = $cursorURL$$inline_5061_masterWindow$$inline_903$$.$AdfPage$.$PAGE$, $JSCompiler_StaticMethods__registerWindowWithADSMaster$$($currDocument$$inline_5060_masterPage$$inline_902_wrappedMasterWindowId$$inline_901$$.$getActiveDataSupport$(), $domWindow$$inline_5082_domWindow$$inline_896$$), $AdfPage$$.$PAGE$.$setWindowId$($windowId$$inline_900$$), 
      this.$_replaceMasterWindowId$ = this.$_masterWindowId$ = $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$, $AdfPage$$.$PAGE$.$setPageId$($pageId$$inline_899$$), this.$_replaceMasterPageId$ = this.$_masterPageId$ = $masterPageId$$inline_898_url$$inline_5084$$, this.$_masterWindowRef$ = $cursorURL$$inline_5061_masterWindow$$inline_903$$) : ($AdfPage$$.$PAGE$.$setWindowId$($domWindow$$inline_5082_domWindow$$inline_896$$.name), $AdfPage$$.$PAGE$.$setPageId$($pageId$$inline_899$$), 
      $JSCompiler_StaticMethods__claimMaster$$(this, $iframeName$$inline_5081_iframeWindow$$inline_5083_masterWindowId$$inline_897$$, $masterPageId$$inline_898_url$$inline_5084$$)))
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.initActivePage", {$initActivePage$:$AdfDhtmlActiveData$$.prototype.$initActivePage$});
function $JSCompiler_StaticMethods__getADSMasterWindow$$($masterWindowId$$2$$) {
  $AdfAssert$$.$assertString$($masterWindowId$$2$$);
  var $masterWindow$$1$$ = $AdfPage$$.$PAGE$.$getDomWindow$().open("", $masterWindowId$$2$$, "height\x3d1,width\x3d1,top\x3d0,left\x3d0,status\x3dno,toolbar\x3dno,menubar\x3dno,location\x3dno"), $JSCompiler_temp$$4969$$;
  if(!($JSCompiler_temp$$4969$$ = !$JSCompiler_StaticMethods__testAdfPageExistence$$($masterWindow$$1$$))) {
    $JSCompiler_temp$$4969$$ = $masterWindow$$1$$.$AdfPage$.$PAGE$.$getActiveDataSupport$().$_masterWindowId$ != $masterWindowId$$2$$
  }
  if($JSCompiler_temp$$4969$$) {
    $AdfLogger$$.$LOGGER$.warning("can't get the master window for: ", $masterWindowId$$2$$);
    try {
      var $loc$$ = $masterWindow$$1$$.location;
      ($loc$$ == $JSCompiler_alias_NULL$$ || "about:blank" == $loc$$ || "about:Tabs" == $loc$$) && $masterWindow$$1$$.close()
    }catch($e$$95$$) {
    }
    $masterWindow$$1$$ = $JSCompiler_alias_NULL$$
  }
  return $masterWindow$$1$$
}
function $JSCompiler_StaticMethods__getRegistryMap$$($JSCompiler_StaticMethods__getRegistryMap$self$$) {
  $JSCompiler_StaticMethods__getRegistryMap$self$$.$_windowNameToWindow$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__getRegistryMap$self$$.$_windowNameToWindow$ = {});
  return $JSCompiler_StaticMethods__getRegistryMap$self$$.$_windowNameToWindow$
}
$AdfDhtmlActiveData$$.prototype.$onBeforeUnload$ = function $$AdfDhtmlActiveData$$$$$onBeforeUnload$$() {
  this.$_isWindowClosing$ = $JSCompiler_alias_TRUE$$;
  var $currWindow$$inline_5104_masterWindowId$$4$$ = this.$_masterWindowId$;
  if($currWindow$$inline_5104_masterWindowId$$4$$) {
    if($currWindow$$inline_5104_masterWindowId$$4$$ == $AdfPage$$.$PAGE$.$getWindowId$() && this.$_handlingFailover$ != $JSCompiler_alias_TRUE$$) {
      try {
        $JSCompiler_StaticMethods__cancelADSTimers$$(this);
        var $windowMap$$inline_936$$ = $JSCompiler_StaticMethods__getRegistryMap$$(this), $candidateWindow$$inline_937$$, $candidateWindow$$inline_5105$$ = $currWindow$$inline_5104_masterWindowId$$4$$ = $JSCompiler_alias_VOID$$, $domWindow$$inline_5106$$ = $AdfPage$$.$PAGE$.$getDomWindow$(), $winId$$inline_5107$$;
        for($winId$$inline_5107$$ in $windowMap$$inline_936$$) {
          $currWindow$$inline_5104_masterWindowId$$4$$ = $windowMap$$inline_936$$[$winId$$inline_5107$$], $currWindow$$inline_5104_masterWindowId$$4$$ != $domWindow$$inline_5106$$ && $JSCompiler_StaticMethods__testAdfPageExistence$$($currWindow$$inline_5104_masterWindowId$$4$$) && ($currWindow$$inline_5104_masterWindowId$$4$$.$AdfPage$.$PAGE$.$getActiveDataSupport$().$isHAMigrated$() || ($candidateWindow$$inline_5105$$ = $windowMap$$inline_936$$[$winId$$inline_5107$$]))
        }
        $candidateWindow$$inline_937$$ = $candidateWindow$$inline_5105$$;
        if($candidateWindow$$inline_937$$ == $JSCompiler_alias_NULL$$) {
          $AdfLogger$$.$LOGGER$.fine("Could not find candidate window to migrate to")
        }else {
          var $newMasterPage$$inline_938$$ = $candidateWindow$$inline_937$$.$AdfPage$.$PAGE$, $newADS$$inline_939$$ = $newMasterPage$$inline_938$$.$getActiveDataSupport$(), $newWindowMap$$inline_940$$ = $JSCompiler_StaticMethods__getRegistryMap$$($newADS$$inline_939$$);
          $AdfCollections$$.$copyInto$($newWindowMap$$inline_940$$, $windowMap$$inline_936$$);
          $candidateWindow$$inline_937$$.name = $JSCompiler_StaticMethods__wrapMasterWindowId$$($newMasterPage$$inline_938$$.$getWindowId$());
          var $replaceMasterWindowId$$inline_5110$$ = page.$getWindowId$();
          $newADS$$inline_939$$.$_replaceMasterWindowId$ = $replaceMasterWindowId$$inline_5110$$;
          $newADS$$inline_939$$.$_replaceMasterPageId$ = page.$_pageId$;
          var $masterWindowId$$inline_5116$$ = $newMasterPage$$inline_938$$.$getWindowId$();
          $newADS$$inline_939$$.$_masterWindowId$ = $masterWindowId$$inline_5116$$;
          $newADS$$inline_939$$.$_masterPageId$ = $newMasterPage$$inline_938$$.$_pageId$;
          $newMasterPage$$inline_938$$.$scheduleTimer$($newADS$$inline_939$$, $newADS$$inline_939$$.$_createADSChannel$, $JSCompiler_alias_NULL$$, 50)
        }
      }catch($e$$inline_941$$) {
        $AdfLogger$$.$LOGGER$.info("Can not migrate the active channel to other windows")
      }
    }
    $AdfPage$$.$PAGE$.$__notifyWindowCloseImmediately$($JSCompiler_alias_FALSE$$, "")
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.onBeforeUnload", {$onBeforeUnload$:$AdfDhtmlActiveData$$.prototype.$onBeforeUnload$});
function $JSCompiler_StaticMethods__cancelADSTimers$$($JSCompiler_StaticMethods__cancelADSTimers$self$$) {
  var $page$$65$$ = $AdfPage$$.$PAGE$, $currentTimer_pollingTimer$$ = $JSCompiler_StaticMethods__cancelADSTimers$self$$.$_adsConnectionCheckTimer$;
  if($currentTimer_pollingTimer$$) {
    try {
      $page$$65$$.$cancelTimer$($currentTimer_pollingTimer$$)
    }catch($e$$96$$) {
      $AdfLogger$$.$LOGGER$.$logErrorAsInfo$($e$$96$$, "Error clearing connection check timer")
    }
    $JSCompiler_StaticMethods__cancelADSTimers$self$$.$_adsConnectionCheckTimer$ = $JSCompiler_alias_NULL$$
  }
  if($currentTimer_pollingTimer$$ = $JSCompiler_StaticMethods__cancelADSTimers$self$$.$_pollingTimer$) {
    try {
      $page$$65$$.$cancelTimer$($currentTimer_pollingTimer$$)
    }catch($e$$97$$) {
      $AdfLogger$$.$LOGGER$.$logErrorAsInfo$($e$$97$$, "Error clearing polling timer")
    }
    $JSCompiler_StaticMethods__cancelADSTimers$self$$.$_pollingTimer$ = $JSCompiler_alias_NULL$$
  }
}
$AdfDhtmlActiveData$$.prototype.$_createADSChannel$ = function $$AdfDhtmlActiveData$$$$$_createADSChannel$$($channelParameterMap$$inline_957_reconnect$$) {
  var $action$$inline_5124_parameterMap$$inline_5123$$ = $JSCompiler_alias_VOID$$;
  this.$_replaceMasterWindowId$ == $JSCompiler_alias_NULL$$ && (this.$_replaceMasterWindowId$ = this.$_masterWindowId$);
  $action$$inline_5124_parameterMap$$inline_5123$$ = $JSCompiler_alias_VOID$$;
  $action$$inline_5124_parameterMap$$inline_5123$$ = $channelParameterMap$$inline_957_reconnect$$ != $JSCompiler_alias_TRUE$$ ? this.$_ESTABLISH_CHANNEL_ACTION$ : this.$_RECONNECT_ACTION$;
  $action$$inline_5124_parameterMap$$inline_5123$$ = {action:$action$$inline_5124_parameterMap$$inline_5123$$, windowId:$AdfPage$$.$PAGE$.$getWindowId$(), replaceMasterWindowId:this.$_replaceMasterWindowId$, pageId:$AdfPage$$.$PAGE$.$_pageId$, replaceMasterPageId:this.$_replaceMasterPageId$};
  $channelParameterMap$$inline_957_reconnect$$ ? $action$$inline_5124_parameterMap$$inline_5123$$.messageCount = this.$_messageCount$ : this.$_messageCount$ = 0;
  $channelParameterMap$$inline_957_reconnect$$ = $action$$inline_5124_parameterMap$$inline_5123$$;
  $AdfPage$$.$PAGE$.$getDomWindow$();
  $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$RECONNECTING$);
  $JSCompiler_StaticMethods__sendADSChannelRequest$$(this, $channelParameterMap$$inline_957_reconnect$$, {})
};
$AdfDhtmlActiveData$$.prototype.$registerWithNewMaster$ = function $$AdfDhtmlActiveData$$$$$registerWithNewMaster$$($masterWindowId$$5$$, $masterPageId$$3$$) {
  $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_registerWithNewMaster$, {$wId$:$masterWindowId$$5$$, $pId$:$masterPageId$$3$$}, 3E3)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.registerWithNewMaster", {$registerWithNewMaster$:$AdfDhtmlActiveData$$.prototype.$registerWithNewMaster$});
$AdfDhtmlActiveData$$.prototype.$_registerWithNewMaster$ = function $$AdfDhtmlActiveData$$$$$_registerWithNewMaster$$($masterPageId$$4_state$$24$$) {
  var $masterWindowId$$6$$ = $masterPageId$$4_state$$24$$.$wId$;
  $masterPageId$$4_state$$24$$ = $masterPageId$$4_state$$24$$.$pId$;
  $AdfLogger$$.$LOGGER$.info("register with new master ", $masterWindowId$$6$$);
  this.$_masterWindowId$ = $masterWindowId$$6$$;
  this.$_masterPageId$ = $masterPageId$$4_state$$24$$;
  try {
    var $masterWindow$$2$$ = $JSCompiler_StaticMethods__getADSMasterWindow$$($masterWindowId$$6$$);
    if($masterWindow$$2$$ != $JSCompiler_alias_NULL$$) {
      this.$_masterWindowRef$ = $masterWindow$$2$$;
      var $newMasterPage$$1$$ = $masterWindow$$2$$.$AdfPage$.$PAGE$;
      if($newMasterPage$$1$$ != $JSCompiler_alias_NULL$$) {
        $JSCompiler_StaticMethods__registerWindowWithADSMaster$$($newMasterPage$$1$$.$getActiveDataSupport$(), $AdfPage$$.$PAGE$.$getDomWindow$());
        var $windowMap$$5$$ = $JSCompiler_StaticMethods__getRegistryMap$$(this), $newWindowMap$$1$$ = $JSCompiler_StaticMethods__getRegistryMap$$($newMasterPage$$1$$.$getActiveDataSupport$());
        $AdfCollections$$.$copyInto$($newWindowMap$$1$$, $windowMap$$5$$)
      }
    }else {
      $AdfLogger$$.$LOGGER$.fine("can't find the master page " + $masterWindowId$$6$$), $JSCompiler_StaticMethods__claimMaster$$(this, $masterWindowId$$6$$, $masterPageId$$4_state$$24$$)
    }
    this.$_pushChannelState$ != $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$ && $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$($newMasterPage$$1$$.$getActiveDataSupport$(), $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$);
    this.$_startGlobalActiveData$();
    this.$_triedRegisterWithMaster$ = $JSCompiler_alias_FALSE$$
  }catch($e$$99$$) {
    $AdfLogger$$.$LOGGER$.info("ADS register with new master failed"), this.$_triedRegisterWithMaster$ ? ($JSCompiler_StaticMethods__claimMaster$$(this, $masterWindowId$$6$$, $masterPageId$$4_state$$24$$), this.$_triedRegisterWithMaster$ = $JSCompiler_alias_FALSE$$, this.$_pushChannelState$ != $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$ && $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$($newMasterPage$$1$$.$getActiveDataSupport$(), $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$)) : 
    (this.$_triedRegisterWithMaster$ = $JSCompiler_alias_TRUE$$, this.$registerWithNewMaster$($masterWindowId$$6$$, $masterPageId$$4_state$$24$$))
  }
  this.$_windowNameToWindow$ = $JSCompiler_alias_NULL$$
};
function $JSCompiler_StaticMethods__claimMaster$$($JSCompiler_StaticMethods__claimMaster$self$$, $domWindow$$85_masterWindowId$$7$$, $masterPageId$$5$$) {
  $AdfAssert$$.$assertString$($domWindow$$85_masterWindowId$$7$$);
  $AdfAssert$$.$assertString$($masterPageId$$5$$);
  var $windowId$$9$$ = $AdfPage$$.$PAGE$.$getWindowId$(), $pageId$$17$$ = $AdfPage$$.$PAGE$.$_pageId$;
  $JSCompiler_StaticMethods__claimMaster$self$$.$_windowNameToWindow$ == $JSCompiler_alias_NULL$$ && ($JSCompiler_StaticMethods__claimMaster$self$$.$_windowNameToWindow$ = {});
  $JSCompiler_StaticMethods__claimMaster$self$$.$_masterWindowId$ = $windowId$$9$$;
  $JSCompiler_StaticMethods__claimMaster$self$$.$_replaceMasterWindowId$ = $domWindow$$85_masterWindowId$$7$$;
  $JSCompiler_StaticMethods__claimMaster$self$$.$_masterPageId$ = $pageId$$17$$;
  $JSCompiler_StaticMethods__claimMaster$self$$.$_replaceMasterPageId$ = $masterPageId$$5$$;
  $domWindow$$85_masterWindowId$$7$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  $JSCompiler_StaticMethods__claimMaster$self$$.$_masterWindowRef$ = $domWindow$$85_masterWindowId$$7$$;
  $JSCompiler_StaticMethods__registerWindowWithADSMaster$$($JSCompiler_StaticMethods__claimMaster$self$$, $domWindow$$85_masterWindowId$$7$$);
  $JSCompiler_StaticMethods__claimMaster$self$$.$_createADSChannel$()
}
function $JSCompiler_StaticMethods__wrapMasterWindowId$$($windowId$$10$$) {
  return $windowId$$10$$.replace(/\//g, "S").replace(/-/g, "M").replace(/\./g, "D")
}
function $JSCompiler_StaticMethods__testAdfPageExistence$$($windowObject$$1$$) {
  var $page$$66$$ = $JSCompiler_alias_NULL$$;
  try {
    $page$$66$$ = $windowObject$$1$$.$AdfPage$.$PAGE$
  }catch($e$$102$$) {
    $AdfLogger$$.$LOGGER$.$logErrorAsInfo$($e$$102$$, "Could not access active window")
  }
  return $page$$66$$ != $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
$AdfDhtmlActiveData$$.$_DEFAULT_ACTIVEDATA_CONFIG$ = {restartInterval:15, maxReconnectionRetries:10, reconnectWaitTime:1E4, latencyThreshold:1E4, transport:"STREAMING", pollingInterval:5E3, keepAliveInterval:1E4};
$AdfDhtmlActiveData$$.prototype.$initLongPolling$ = function $$AdfDhtmlActiveData$$$$$initLongPolling$$() {
  var $page$$67_params$$30$$ = $AdfPage$$.$PAGE$, $helper$$ = $page$$67_params$$30$$.$__getUserInactivityTimeoutHelper$();
  if($helper$$ && $helper$$.$hasTimedOut$()) {
    return this.$_longPollingInitTimer$ || (this.$_longPollingInitTimer$ = $page$$67_params$$30$$.$scheduleTimer$(this, this.$initLongPolling$, $JSCompiler_alias_NULL$$, 300)), 300
  }
  this.$_longPollingInitTimer$ && ($page$$67_params$$30$$.$cancelTimer$(this.$_longPollingInitTimer$), this.$_longPollingInitTimer$ = $JSCompiler_alias_NULL$$);
  $page$$67_params$$30$$ = {action:this.$_POLL_EVENTS_ACTION$, windowId:$page$$67_params$$30$$.$getWindowId$(), pageId:$page$$67_params$$30$$.$_pageId$};
  $JSCompiler_StaticMethods__sendADSChannelRequest$$(this, $page$$67_params$$30$$, $JSCompiler_alias_NULL$$);
  this.$setConnected$()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.initLongPolling", {$initLongPolling$:$AdfDhtmlActiveData$$.prototype.$initLongPolling$});
$AdfDhtmlActiveData$$.prototype.$setConfiguration$ = function $$AdfDhtmlActiveData$$$$$setConfiguration$$($config$$1$$) {
  try {
    this.$_transport$ = $config$$1$$.$transport$, this.$_pollingInterval$ = $config$$1$$.$pollingInterval$, this.$_maxReconnectionRetries$ = $config$$1$$.$maxReconnectionRetries$, this.$_reconnectWaitTime$ = $config$$1$$.$reconnectWaitTime$, this.$_latencyThreshold$ = $config$$1$$.$latencyThreshold$, this.$_restartInterval$ = $config$$1$$.$restartInterval$, this.$_keepAliveInterval$ = $config$$1$$.$keepAliveInterval$
  }catch($e$$103$$) {
    $AdfLogger$$.$LOGGER$.warning("Exception occurred while setting configuration. Name: " + $e$$103$$.name + ", Message: " + $e$$103$$.message)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.setConfiguration", {$setConfiguration$:$AdfDhtmlActiveData$$.prototype.$setConfiguration$});
$AdfDhtmlActiveData$$.prototype.$refreshPushComponent$ = function $$AdfDhtmlActiveData$$$$$refreshPushComponent$$($windowId$$11$$, $pageId$$18_targetWindow$$1$$, $clientId$$61$$) {
  $AdfAssert$$.$assertString$($windowId$$11$$);
  $AdfAssert$$.$assertString$($pageId$$18_targetWindow$$1$$);
  $AdfAssert$$.$assertString$($clientId$$61$$);
  this.$_lastActiveDataActivityTime$ = (new Date).getTime();
  this.$_messageCount$++;
  $pageId$$18_targetWindow$$1$$ = $JSCompiler_alias_NULL$$;
  var $windowMap$$8$$ = this.$_windowNameToWindow$;
  $windowMap$$8$$ != $JSCompiler_alias_NULL$$ && ($pageId$$18_targetWindow$$1$$ = $windowMap$$8$$[$windowId$$11$$]);
  if($JSCompiler_StaticMethods__testAdfPageExistence$$($pageId$$18_targetWindow$$1$$)) {
    try {
      var $JSCompiler_StaticMethods__refreshPushComponent$self$$inline_983$$ = $pageId$$18_targetWindow$$1$$.$AdfPage$.$PAGE$.$getActiveDataSupport$();
      $AdfAssert$$.$assertString$($clientId$$61$$);
      if($clientId$$61$$ in $JSCompiler_StaticMethods__refreshPushComponent$self$$inline_983$$.$_activeComponents$) {
        var $component$$inline_985$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$61$$);
        $component$$inline_985$$ ? $AdfPage$$.$PAGE$.$addPartialTargets$($component$$inline_985$$) : ($JSCompiler_StaticMethods__stopActiveData$$($JSCompiler_StaticMethods__refreshPushComponent$self$$inline_983$$, $clientId$$61$$), $AdfLogger$$.$LOGGER$.info("No active component:", $clientId$$61$$))
      }else {
        $AdfLogger$$.$LOGGER$.info("ADS: active data component is not refreshed because it's not active, clientId\x3d", $clientId$$61$$)
      }
    }catch($e$$104$$) {
      $AdfLogger$$.$LOGGER$.fine("can't access the window ", $windowId$$11$$)
    }
  }else {
    $AdfLogger$$.$LOGGER$.info("No window found for refreshing component: windowId \x3d ", $windowId$$11$$)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.refreshPushComponent", {$refreshPushComponent$:$AdfDhtmlActiveData$$.prototype.$refreshPushComponent$});
function $JSCompiler_StaticMethods__sendADSChannelRequest$$($JSCompiler_StaticMethods__sendADSChannelRequest$self$$, $channelParameterMap$$1_idx$$, $clientStateMap$$2_index$$94$$) {
  var $iframeWindow$$1$$ = $AdfPage$$.$PAGE$.$getDomWindow$().frames[$JSCompiler_StaticMethods__sendADSChannelRequest$self$$.$_ACTIVE_FRAME_NAME$], $queryString_url$$30$$ = "", $param$$5_windowStateMap$$;
  for($param$$5_windowStateMap$$ in $channelParameterMap$$1_idx$$) {
    $queryString_url$$30$$ += "\x26" + $param$$5_windowStateMap$$ + "\x3d" + $channelParameterMap$$1_idx$$[$param$$5_windowStateMap$$]
  }
  $channelParameterMap$$1_idx$$ = 1;
  for(var $winId$$4$$ in $clientStateMap$$2_index$$94$$) {
    $param$$5_windowStateMap$$ = $clientStateMap$$2_index$$94$$[$winId$$4$$];
    if(!$AdfCollections$$.$isEmpty$($param$$5_windowStateMap$$)) {
      var $queryString_url$$30$$ = $queryString_url$$30$$ + ("\x26pageKey" + $channelParameterMap$$1_idx$$ + "\x3d" + $winId$$4$$), $compId$$;
      for($compId$$ in $param$$5_windowStateMap$$) {
        var $currentComponentIndexKey$$ = "componentIndex" + $channelParameterMap$$1_idx$$, $queryString_url$$30$$ = $queryString_url$$30$$ + ("\x26componentId" + $channelParameterMap$$1_idx$$ + "\x3d" + $compId$$), $queryString_url$$30$$ = $queryString_url$$30$$ + ("\x26" + $currentComponentIndexKey$$ + "\x3d" + $param$$5_windowStateMap$$[$compId$$].$changeCount$)
      }
    }
    $channelParameterMap$$1_idx$$ += 1
  }
  $clientStateMap$$2_index$$94$$ = $queryString_url$$30$$.indexOf("\x26");
  0 < $queryString_url$$30$$.length && 0 == $clientStateMap$$2_index$$94$$ && ($queryString_url$$30$$ = $queryString_url$$30$$.substring(1));
  $queryString_url$$30$$ = $JSCompiler_StaticMethods__sendADSChannelRequest$self$$.$_ACTIVE_FORM_URL$ + "?" + $queryString_url$$30$$;
  "STREAMING" == $JSCompiler_StaticMethods__sendADSChannelRequest$self$$.$_transport$ ? (2E3 < $queryString_url$$30$$.length && $JSCompiler_StaticMethods__handleAllFailovers$$($JSCompiler_StaticMethods__sendADSChannelRequest$self$$, []), $iframeWindow$$1$$.location.replace($queryString_url$$30$$)) : $JSCompiler_StaticMethods__sendADSChannelRequest$self$$.$_pollingRequest$ = $AdfPage$$.$PAGE$.$getDataTransferService$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$).$sendPollingRequest$($queryString_url$$30$$, 
  [$JSCompiler_StaticMethods__sendADSChannelRequest$self$$])
}
$AdfDhtmlActiveData$$.prototype.$setServerTimestamp$ = function $$AdfDhtmlActiveData$$$$$setServerTimestamp$$($timestamp$$) {
  this.$_serverTimeDifference$ = $AdfDhtmlActiveData$$.$_getTimeDifference$($timestamp$$);
  this.$_perfProfileEnabled$ && $AdfLogger$$.$PROFILER_LOGGER$.info("ADS: Server time difference: ", this.$_serverTimeDifference$, ";;")
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.setServerTimestamp", {$setServerTimestamp$:$AdfDhtmlActiveData$$.prototype.$setServerTimestamp$});
$AdfDhtmlActiveData$$.$_getTimeDifference$ = function $$AdfDhtmlActiveData$$$$_getTimeDifference$$($timestamp$$1$$) {
  return $timestamp$$1$$ == $JSCompiler_alias_NULL$$ ? 0 : new Date - new Date($timestamp$$1$$)
};
$AdfDhtmlActiveData$$.prototype.$recordActiveDataActivity$ = function $$AdfDhtmlActiveData$$$$$recordActiveDataActivity$$() {
  this.$_messageCount$++;
  var $now$$1$$ = (new Date).getTime();
  this.$_lastActiveDataActivityTime$ = $now$$1$$;
  $AdfLogger$$.$LOGGER$.finer($now$$1$$, ": got keep alive")
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.recordActiveDataActivity", {$recordActiveDataActivity$:$AdfDhtmlActiveData$$.prototype.$recordActiveDataActivity$});
$AdfDhtmlActiveData$$.prototype.$setConnected$ = function $$AdfDhtmlActiveData$$$$$setConnected$$() {
  $AdfLogger$$.$LOGGER$.finer("ADS Channel Connected");
  $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$);
  "POLLING" == this.$_transport$ && (this.$_pollSucceeded$ = $JSCompiler_alias_TRUE$$);
  this.$_lastActiveDataActivityTime$ = this.$_reconnectRetries$ = 0;
  var $pageId$$19_windowId$$12$$ = $AdfPage$$.$PAGE$.$_pageId$;
  this.$_replaceMasterPageId$ = this.$_masterPageId$ = $pageId$$19_windowId$$12$$;
  this.$_replaceMasterWindowId$ = this.$_masterWindowId$ = $pageId$$19_windowId$$12$$ = $AdfPage$$.$PAGE$.$getWindowId$();
  "POLLING" == this.$_transport$ ? this.$_startPolling$() : ($AdfPage$$.$PAGE$.$getDomWindow$(), this.$_adsConnectionCheckTimer$ && $AdfPage$$.$PAGE$.$cancelTimer$(this.$_adsConnectionCheckTimer$), this.$_adsConnectionCheckTimer$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$__checkAdsConnection$, $JSCompiler_alias_NULL$$, this.$_latencyThreshold$ + this.$_keepAliveInterval$));
  $AdfPage$$.$PAGE$.$__perfTimings$($JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$, "ADS channel connected")
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.setConnected", {$setConnected$:$AdfDhtmlActiveData$$.prototype.$setConnected$});
$AdfDhtmlActiveData$$.prototype.stop = function $$AdfDhtmlActiveData$$$$stop$() {
  $AdfLogger$$.$LOGGER$.finer("ADS stopped due to user inactivity timeout.");
  var $page$$68$$ = $AdfPage$$.$PAGE$;
  if("LONG_POLLING" == this.$_transport$) {
    if(this.$_pollingRequest$) {
      try {
        this.$_pollingRequest$.abort(), delete this.$_pollingRequest$, this.$_pollingRequest$ = $JSCompiler_alias_NULL$$
      }catch($e$$105$$) {
        $AdfLogger$$.$LOGGER$.fine("Failed to abort Long-Polling request due to error: ", $e$$105$$.message)
      }
    }
  }else {
    if("STREAMING" == this.$_transport$) {
      var $iframeName$$2_iframeWindow$$2$$ = this.$_ACTIVE_FRAME_NAME$, $domWindow$$88$$ = $page$$68$$.$getDomWindow$();
      if(($iframeName$$2_iframeWindow$$2$$ = $domWindow$$88$$.frames[$iframeName$$2_iframeWindow$$2$$]) && $iframeName$$2_iframeWindow$$2$$.frameElement) {
        $iframeName$$2_iframeWindow$$2$$.frameElement.src = ""
      }
      $AdfLogger$$.$LOGGER$.fine("Terminate the push channel for master window:", $page$$68$$.$getWindowId$(), " in window:", $domWindow$$88$$.name)
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.stop", {stop:$AdfDhtmlActiveData$$.prototype.stop});
$AdfDhtmlActiveData$$.prototype.$__checkAdsConnection$ = function $$AdfDhtmlActiveData$$$$$__checkAdsConnection$$() {
  var $elapsed_page$$69$$ = $AdfPage$$.$PAGE$, $helper$$1_latencyThreshold$$ = $elapsed_page$$69$$.$__getUserInactivityTimeoutHelper$();
  if($helper$$1_latencyThreshold$$ && $helper$$1_latencyThreshold$$.$hasTimedOut$()) {
    return 300
  }
  var $helper$$1_latencyThreshold$$ = this.$_latencyThreshold$, $keepAliveInterval$$ = this.$_keepAliveInterval$;
  if(this.$_pushChannelState$ == $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$ && this.$_masterWindowId$ == $AdfPage$$.$PAGE$.$getWindowId$()) {
    var $disconnected$$ = $JSCompiler_alias_FALSE$$;
    "STREAMING" == this.$_transport$ && ($disconnected$$ = "complete" == $elapsed_page$$69$$.$getDomWindow$().frames[this.$_ACTIVE_FRAME_NAME$].document.readyState);
    $elapsed_page$$69$$ = $AdfDhtmlActiveData$$.$_getTimeDifference$(this.$_lastActiveDataActivityTime$);
    if($disconnected$$ || $elapsed_page$$69$$ > $helper$$1_latencyThreshold$$ + $keepAliveInterval$$) {
      $AdfLogger$$.$LOGGER$.finer("ADS Channel Disconnected"), this.$_reconnectRetries$ = 0, this.$_isWindowClosing$ ? $AdfLogger$$.$LOGGER$.finer("Closing window ... will not try to reconnect") : ($JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$RECONNECTING$), this.$_reconnect$())
    }
  }
  return $helper$$1_latencyThreshold$$ + $keepAliveInterval$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.__checkAdsConnection", {$__checkAdsConnection$:$AdfDhtmlActiveData$$.prototype.$__checkAdsConnection$});
$AdfDhtmlActiveData$$.prototype.$_reconnect$ = function $$AdfDhtmlActiveData$$$$$_reconnect$$() {
  this.$_isWindowClosing$ ? this.$_reconnectRetries$ = 0 : ($AdfLogger$$.$LOGGER$.fine("Reconnect called ", this.$_reconnectRetries$ + 1, " time(s)"), this.$_pushChannelState$ != $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$ && (this.$_reconnectRetries$ <= this.$_maxReconnectionRetries$ ? (this.$_reconnectRetries$++, $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$GECKO_PLATFORM$ && 3 < this.$_reconnectRetries$ && $AdfPage$$.$PAGE$.$getDomWindow$().stop(), this.$_createADSChannel$($JSCompiler_alias_TRUE$$), 
  $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_reconnect$, $JSCompiler_alias_NULL$$, this.$_reconnectWaitTime$)) : ($AdfLogger$$.$LOGGER$.warning("Cannot connect. Exceeded number of retries for reconnection"), $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$DISCONNECTED$))))
};
$AdfDhtmlActiveData$$.prototype.$getADSConnectionState$ = $JSCompiler_get$$("$_pushChannelState$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.getADSConnectionState", {$getADSConnectionState$:$AdfDhtmlActiveData$$.prototype.$getADSConnectionState$});
$AdfDhtmlActiveData$$.prototype.$addADSConnectionStateListener$ = function $$AdfDhtmlActiveData$$$$$addADSConnectionStateListener$$($listener$$87$$, $instance$$19$$) {
  $AdfAssert$$.$assertFunction$($listener$$87$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$19$$);
  this.$_adsConnectionStateListeners$.push($listener$$87$$, $instance$$19$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.addADSConnectionStateListener", {$addADSConnectionStateListener$:$AdfDhtmlActiveData$$.prototype.$addADSConnectionStateListener$});
$AdfDhtmlActiveData$$.prototype.$removeADSConnectionStateListener$ = function $$AdfDhtmlActiveData$$$$$removeADSConnectionStateListener$$($listener$$88$$, $instance$$20$$) {
  $AdfAssert$$.$assertFunction$($listener$$88$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$20$$);
  var $listenerArray$$ = this.$_adsConnectionStateListeners$;
  $AdfAssert$$.assert($listenerArray$$, "adsConnectionStateListeners array must exist");
  for(var $length$$29$$ = $listenerArray$$.length, $i$$157$$ = 0;$i$$157$$ < $length$$29$$;$i$$157$$++) {
    var $curListener$$ = $listenerArray$$[$i$$157$$];
    $i$$157$$++;
    $curListener$$ == $listener$$88$$ && $listenerArray$$[$i$$157$$] === $instance$$20$$ && $listenerArray$$.splice($i$$157$$ - 1, 2)
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.removeADSConnectionStateListener", {$removeADSConnectionStateListener$:$AdfDhtmlActiveData$$.prototype.$removeADSConnectionStateListener$});
$AdfDhtmlActiveData$$.prototype.$_startPolling$ = function $$AdfDhtmlActiveData$$$$$_startPolling$$() {
  if($AdfPage$$.$PAGE$.$isPPRNavigationEnabled$() && $AdfCollections$$.$isEmpty$(this.$_activeComponents$)) {
    this.$_pollingTimer$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_startPolling$, $JSCompiler_alias_NULL$$, this.$_pollingInterval$)
  }else {
    if(!this.$_pollSucceeded$ && (this.$_reconnectRetries$++, this.$_reconnectRetries$ > this.$_maxReconnectionRetries$)) {
      $AdfLogger$$.$LOGGER$.warning("Cannot connect. Exceeded number of retries for reconnection");
      $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$DISCONNECTED$);
      return
    }
    $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, $AdfDhtmlPage$$.$PushChannelStates$.$CONNECTED$);
    if(this.$_pollingTimer$ != $JSCompiler_alias_NULL$$) {
      try {
        clearTimeout(this.$_pollingTimer$)
      }catch($e$$107$$) {
      }
      this.$_pollingTimer$ = $JSCompiler_alias_NULL$$
    }
    var $clientStateMap$$inline_5127_now$$2_remainingTime$$ = new Date, $elapsedTime_helper$$inline_1004_params$$inline_1005$$ = this.$_pollingInterval$;
    this.$_lastPollTime$ != $JSCompiler_alias_NULL$$ && ($elapsedTime_helper$$inline_1004_params$$inline_1005$$ = $clientStateMap$$inline_5127_now$$2_remainingTime$$.getTime() - this.$_lastPollTime$);
    $clientStateMap$$inline_5127_now$$2_remainingTime$$ = 0;
    $elapsedTime_helper$$inline_1004_params$$inline_1005$$ < this.$_pollingInterval$ && ($clientStateMap$$inline_5127_now$$2_remainingTime$$ = this.$_pollingInterval$ - $elapsedTime_helper$$inline_1004_params$$inline_1005$$);
    if(200 >= $clientStateMap$$inline_5127_now$$2_remainingTime$$) {
      $elapsedTime_helper$$inline_1004_params$$inline_1005$$ = $AdfPage$$.$PAGE$.$__getUserInactivityTimeoutHelper$();
      if(!$elapsedTime_helper$$inline_1004_params$$inline_1005$$ || !$elapsedTime_helper$$inline_1004_params$$inline_1005$$.$hasTimedOut$()) {
        var $elapsedTime_helper$$inline_1004_params$$inline_1005$$ = {action:this.$_POLL_EVENTS_ACTION$, windowId:$AdfPage$$.$PAGE$.$getWindowId$(), pageId:$AdfPage$$.$PAGE$.$_pageId$}, $clientStateMap$$inline_5127_now$$2_remainingTime$$ = {}, $windowMap$$inline_5128$$ = $JSCompiler_StaticMethods__getRegistryMap$$(this), $winId$$inline_5129$$;
        for($winId$$inline_5129$$ in $windowMap$$inline_5128$$) {
          var $JSCompiler_temp_const$$5809_windowObject$$inline_5130$$ = $windowMap$$inline_5128$$[$winId$$inline_5129$$];
          try {
            if($JSCompiler_StaticMethods__testAdfPageExistence$$($JSCompiler_temp_const$$5809_windowObject$$inline_5130$$)) {
              var $pageRef$$inline_5131$$ = $JSCompiler_temp_const$$5809_windowObject$$inline_5130$$.$AdfPage$.$PAGE$, $JSCompiler_temp_const$$5809_windowObject$$inline_5130$$ = $clientStateMap$$inline_5127_now$$2_remainingTime$$, $JSCompiler_temp_const$$5808$$ = $winId$$inline_5129$$ + ":" + $pageRef$$inline_5131$$.$_pageId$, $JSCompiler_StaticMethods__getClientStateMap$self$$inline_5812$$ = $pageRef$$inline_5131$$.$getActiveDataSupport$();
              $JSCompiler_temp_const$$5809_windowObject$$inline_5130$$[$JSCompiler_temp_const$$5808$$] = $JSCompiler_StaticMethods__getClientStateMap$self$$inline_5812$$.$_activeComponents$
            }
          }catch($e$$inline_5132$$) {
            $AdfLogger$$.$LOGGER$.$logErrorAsInfo$($e$$inline_5132$$, "Could not access active page:" + $winId$$inline_5129$$)
          }
        }
        this.$_lastPollTime$ = (new Date).getTime();
        $JSCompiler_StaticMethods__notifyADSConnectionStateChange$$(this, this.$_pollSucceeded$ ? $AdfDhtmlPage$$.$PushChannelStates$.CONNECTING : $AdfDhtmlPage$$.$PushChannelStates$.$RECONNECTING$);
        this.$_pollSucceeded$ = $JSCompiler_alias_FALSE$$;
        $JSCompiler_StaticMethods__sendADSChannelRequest$$(this, $elapsedTime_helper$$inline_1004_params$$inline_1005$$, $clientStateMap$$inline_5127_now$$2_remainingTime$$)
      }
      this.$_pollingTimer$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_startPolling$, $JSCompiler_alias_NULL$$, this.$_pollingInterval$)
    }else {
      $AdfLogger$$.$LOGGER$.finer("Timer is fired much before the _pollingInterval, scheduling timer for ", $clientStateMap$$inline_5127_now$$2_remainingTime$$), this.$_pollingTimer$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_startPolling$, $JSCompiler_alias_NULL$$, $clientStateMap$$inline_5127_now$$2_remainingTime$$)
    }
  }
};
$AdfDhtmlActiveData$$.prototype.$failover$ = function $$AdfDhtmlActiveData$$$$$failover$$($windows$$1$$) {
  this.$_handlingFailover$ = $JSCompiler_alias_TRUE$$;
  $JSCompiler_StaticMethods__handleAllFailovers$$(this, $windows$$1$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.failover", {$failover$:$AdfDhtmlActiveData$$.prototype.$failover$});
function $JSCompiler_StaticMethods__handleFailover$$($JSCompiler_StaticMethods__handleFailover$self$$) {
  $JSCompiler_StaticMethods__handleFailover$self$$.$setHAMigrated$($JSCompiler_alias_FALSE$$);
  var $domWindow$$90$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
  $JSCompiler_StaticMethods__handleFailover$self$$.$_isWindowClosing$ || $domWindow$$90$$.location.reload($JSCompiler_alias_TRUE$$)
}
function $JSCompiler_StaticMethods__handleAllFailovers$$($JSCompiler_StaticMethods__handleAllFailovers$self$$, $windows$$2$$) {
  var $windowMap$$9$$ = $JSCompiler_StaticMethods__getRegistryMap$$($JSCompiler_StaticMethods__handleAllFailovers$self$$), $currWindow$$3_targetPage$$3_windowString$$ = $JSCompiler_alias_VOID$$, $domWindow$$91$$ = $AdfPage$$.$PAGE$.$getDomWindow$(), $refreshDom$$ = $JSCompiler_alias_VOID$$;
  $AdfCollections$$.isArray($windows$$2$$) || ($currWindow$$3_targetPage$$3_windowString$$ = $windows$$2$$, $windows$$2$$ = [], $windows$$2$$ = $windows$$2$$.concat($currWindow$$3_targetPage$$3_windowString$$));
  for(var $winId$$5$$ in $windowMap$$9$$) {
    -1 == $AdfCollections$$.indexOf($windows$$2$$, $winId$$5$$) && ($currWindow$$3_targetPage$$3_windowString$$ = $windowMap$$9$$[$winId$$5$$], $currWindow$$3_targetPage$$3_windowString$$ != $domWindow$$91$$ ? $JSCompiler_StaticMethods__testAdfPageExistence$$($currWindow$$3_targetPage$$3_windowString$$) && ($currWindow$$3_targetPage$$3_windowString$$ = $currWindow$$3_targetPage$$3_windowString$$.$AdfPage$.$PAGE$, $currWindow$$3_targetPage$$3_windowString$$.$getActiveDataSupport$().$isHAMigrated$() || 
    $JSCompiler_StaticMethods__handleFailover$$($currWindow$$3_targetPage$$3_windowString$$.$getActiveDataSupport$())) : $refreshDom$$ = $JSCompiler_alias_TRUE$$)
  }
  $refreshDom$$ && $JSCompiler_StaticMethods__testAdfPageExistence$$($domWindow$$91$$) && $JSCompiler_StaticMethods__handleFailover$$($domWindow$$91$$.$AdfPage$.$PAGE$.$getActiveDataSupport$())
}
$AdfDhtmlActiveData$$.prototype.$setHAMigrated$ = function $$AdfDhtmlActiveData$$$$$setHAMigrated$$($migration$$) {
  $AdfAssert$$.$assertBoolean$($migration$$);
  this.$_haMigrated$ = $migration$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.setHAMigrated", {$setHAMigrated$:$AdfDhtmlActiveData$$.prototype.$setHAMigrated$});
$AdfDhtmlActiveData$$.prototype.$isHAMigrated$ = $JSCompiler_get$$("$_haMigrated$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.isHAMigrated", {$isHAMigrated$:$AdfDhtmlActiveData$$.prototype.$isHAMigrated$});
$AdfDhtmlActiveData$$.prototype.$unmapComponent$ = function $$AdfDhtmlActiveData$$$$$unmapComponent$$($clientId$$62$$) {
  $clientId$$62$$ in this.$_activeComponents$ && $JSCompiler_StaticMethods__stopActiveData$$(this, $clientId$$62$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.unmapComponent", {$unmapComponent$:$AdfDhtmlActiveData$$.prototype.$unmapComponent$});
$AdfDhtmlActiveData$$.prototype.$populateStartActiveDataArray$ = function $$AdfDhtmlActiveData$$$$$populateStartActiveDataArray$$($startActiveDataArray$$, $startActiveDataEventIdArray$$, $currClientId$$1$$) {
  var $activeComponents$$1$$ = this.$_activeComponents$;
  $startActiveDataArray$$.push($currClientId$$1$$);
  $startActiveDataEventIdArray$$.push($activeComponents$$1$$[$currClientId$$1$$].$changeCount$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.populateStartActiveDataArray", {$populateStartActiveDataArray$:$AdfDhtmlActiveData$$.prototype.$populateStartActiveDataArray$});
$AdfDhtmlActiveData$$.prototype.$getActiveComponents$ = $JSCompiler_get$$("$_activeComponents$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.getActiveComponents", {$getActiveComponents$:$AdfDhtmlActiveData$$.prototype.$getActiveComponents$});
$AdfDhtmlActiveData$$.prototype.reset = function $$AdfDhtmlActiveData$$$$reset$() {
  $JSCompiler_StaticMethods__cancelADSTimers$$(this);
  this.$_activeComponents$ = {};
  this.$_admInitialized$ = $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.reset", {reset:$AdfDhtmlActiveData$$.prototype.reset});
$AdfDhtmlActiveData$$.prototype.$setActiveComponents$ = $JSCompiler_set$$("$_activeComponents$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlActiveData.prototype.setActiveComponents", {$setActiveComponents$:$AdfDhtmlActiveData$$.prototype.$setActiveComponents$});
