function $AdfXmlHttpDataTransferService$$($domWindow$$64$$) {
  this.Init($domWindow$$64$$);
}
$goog$exportSymbol$$("AdfXmlHttpDataTransferService", $AdfXmlHttpDataTransferService$$);
$goog$exportSymbol$$("AdfXmlHttpDataTransferService", $AdfXmlHttpDataTransferService$$);
$AdfObject$$.$createSubclass$($AdfXmlHttpDataTransferService$$, $AdfDataTransferService$$);
$AdfXmlHttpDataTransferService$$.$InitClass$ = function $$AdfXmlHttpDataTransferService$$$$InitClass$$() {
  this.$_MULTIPART_FRAME$ = "_afrDTSFrame";
  this.$_ADF_STREAMING_IFRAME_ID$ = "_adfStreamingIframe";
  this.$_XMLHTTP_TYPE$ = 0;
  this.$_MULTIPART_TYPE$ = 1;
  this.$_STREAMING_TYPE$ = 2;
  this.$_POLLING_TYPE$ = 3;
};
$goog$exportSymbol$$("AdfXmlHttpDataTransferService.InitClass", $AdfXmlHttpDataTransferService$$.$InitClass$);
$AdfXmlHttpDataTransferService$$.prototype.Init = function $$AdfXmlHttpDataTransferService$$$$Init$($domWindow$$65$$) {
  $AdfXmlHttpDataTransferService$$.$superclass$.Init.call(this);
  this.$_state$ = $AdfDataTransferService$$.$STATE_READY$;
  this.$_requestQueue$ = [];
  this.$_stateChangeListeners$ = null;
  this.$_window$ = $domWindow$$65$$;
  this.$_suspendCount$ = this.$_reqCount$ = this.$_streamingCount$ = 0;
  this.$_pageUnloading$ = !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.Init", {Init:$AdfXmlHttpDataTransferService$$.prototype.Init});
$AdfXmlHttpDataTransferService$$.prototype.$dispose$ = function $$AdfXmlHttpDataTransferService$$$$$dispose$$() {
  this.$pageUnloading$();
  this.$_window$ = this.$_stateChangeListeners$ = this.$_requestQueue$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.dispose", {$dispose$:$AdfXmlHttpDataTransferService$$.prototype.$dispose$});
$AdfXmlHttpDataTransferService$$.prototype.$pageUnloading$ = function $$AdfXmlHttpDataTransferService$$$$$pageUnloading$$() {
  this.$_pageUnloading$ = !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.pageUnloading", {$pageUnloading$:$AdfXmlHttpDataTransferService$$.prototype.$pageUnloading$});
$AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$ = function $$AdfXmlHttpDataTransferService$$$$__broadcastRequestStatusChanged$$($listeners$$13$$, $event$$105$$) {
  $AdfLogger$$.$LOGGER$.fine("Broadcasting:", $event$$105$$);
  for (var $listenerCount$$2$$ = $listeners$$13$$ ? $listeners$$13$$.length : 0, $i$$123$$ = 0;$i$$123$$ < $listenerCount$$2$$;$i$$123$$++) {
    var $currListener$$3$$ = $listeners$$13$$[$i$$123$$];
    if ($currListener$$3$$.$requestStatusChanged$) {
      try {
        $currListener$$3$$.$requestStatusChanged$($event$$105$$);
      } catch ($e$$81$$) {
        $AdfLogger$$.$LOGGER$.$logError$($e$$81$$, $AdfLogger$$.WARNING, "Error delivering Datatransfer request status changed to:", $currListener$$3$$);
      }
    }
  }
};
function $JSCompiler_StaticMethods__addRequestToQueue$$($JSCompiler_StaticMethods__addRequestToQueue$self$$, $newRequest_type$$154$$, $context$$28$$, $actionURL$$15$$, $headerParams$$5$$, $content$$9$$, $listeners$$14$$, $eventListeners$$3$$, $minBusyState$$) {
  $newRequest_type$$154$$ = new $AdfXmlHttpDataTransferRequest$$($newRequest_type$$154$$, $context$$28$$, $actionURL$$15$$, $headerParams$$5$$, $content$$9$$, $listeners$$14$$, $eventListeners$$3$$);
  $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_requestQueue$.push($newRequest_type$$154$$);
  $newRequest_type$$154$$.$setStatus$($AdfDataTransferRequestEvent$$.$STATUS_QUEUED$);
  try {
    var $dtsRequestEvent$$1$$ = new $AdfDataTransferRequestEvent$$($AdfDataTransferRequestEvent$$.$STATUS_QUEUED$, $context$$28$$, null);
    $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($listeners$$14$$, $dtsRequestEvent$$1$$);
  } catch ($e$$82$$) {
    $AdfLogger$$.$LOGGER$.severe("Error on listener callback invocation - STATUS_QUEUED\n");
  }
  $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_state$ <= $minBusyState$$ && 1 == $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_requestQueue$.length && $JSCompiler_StaticMethods__addRequestToQueue$self$$.$_doNextRequest$();
  return $newRequest_type$$154$$;
}
$AdfXmlHttpDataTransferService$$.prototype.$sendRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendRequest$$($context$$29$$, $actionURL$$16$$, $headerParams$$6$$, $content$$10$$, $listeners$$15$$) {
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_XMLHTTP_TYPE$, $context$$29$$, $actionURL$$16$$, $headerParams$$6$$, $content$$10$$, $listeners$$15$$, null, $AdfDataTransferService$$.$STATE_READY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendRequest", {$sendRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendPollingRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendPollingRequest$$($actionURL$$17$$, $listeners$$16$$) {
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_POLLING_TYPE$, null, $actionURL$$17$$, null, null, $listeners$$16$$, null, $AdfDataTransferService$$.$STATE_READY$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendPollingRequest", {$sendPollingRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendPollingRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendMultiPartRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendMultiPartRequest$$($context$$30$$, $actionURL$$18$$, $headerParams$$7$$, $htmlForm$$5$$, $params$$22$$, $listeners$$17$$, $eventListeners$$4$$) {
  var $domDocument$$6_newRequest$$1$$ = null;
  null == $context$$30$$ ? $context$$30$$ = {_htmlForm:$htmlForm$$5$$} : $context$$30$$.$_htmlForm$ = $htmlForm$$5$$;
  if (null != $htmlForm$$5$$.nodeType && "FORM" == $htmlForm$$5$$.nodeName) {
    if ($params$$22$$ || $headerParams$$7$$) {
      var $domDocument$$6_newRequest$$1$$ = null, $domDocument$$6_newRequest$$1$$ = $htmlForm$$5$$.ownerDocument ? $htmlForm$$5$$.ownerDocument : this.$_window$.document, $key$$43$$;
      for ($key$$43$$ in $params$$22$$) {
        $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$6_newRequest$$1$$, $htmlForm$$5$$, $key$$43$$, $params$$22$$[$key$$43$$]);
      }
      for ($key$$43$$ in $headerParams$$7$$) {
        $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$6_newRequest$$1$$, $htmlForm$$5$$, $key$$43$$, $headerParams$$7$$[$key$$43$$]);
      }
    }
    $domDocument$$6_newRequest$$1$$ = $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$, $context$$30$$, $actionURL$$18$$, $headerParams$$7$$, null, $listeners$$17$$, $eventListeners$$4$$, $AdfDataTransferService$$.$STATE_READY$);
  } else {
    if ($params$$22$$) {
      for ($key$$43$$ in $params$$22$$) {
        $htmlForm$$5$$.append($key$$43$$, $params$$22$$[$key$$43$$]);
      }
    }
    $context$$30$$.$_formData$ = !0;
    $domDocument$$6_newRequest$$1$$ = $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$, $context$$30$$, $actionURL$$18$$, $headerParams$$7$$, $htmlForm$$5$$, $listeners$$17$$, $eventListeners$$4$$, $AdfDataTransferService$$.$STATE_READY$);
  }
  return $domDocument$$6_newRequest$$1$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendMultiPartRequest", {$sendMultiPartRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendMultiPartRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$sendStreamingRequest$ = function $$AdfXmlHttpDataTransferService$$$$$sendStreamingRequest$$($actionURL$$19$$, $params$$23$$) {
  $actionURL$$19$$ = -1 == $actionURL$$19$$.indexOf("?") ? $actionURL$$19$$ + "?" : $actionURL$$19$$ + "\x26";
  $actionURL$$19$$ = $actionURL$$19$$ + "Adf-Rich-Message\x3dtrue\x26unique\x3d" + (new Date).getTime();
  for (var $agent$$43_name$$90$$ in $params$$23$$) {
    $actionURL$$19$$ += "\x26" + $agent$$43_name$$90$$ + "\x3d" + $params$$23$$[$agent$$43_name$$90$$];
  }
  $agent$$43_name$$90$$ = $AdfAgent$$.$AGENT$;
  $agent$$43_name$$90$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && 9 > $agent$$43_name$$90$$.$getVersion$() && ($actionURL$$19$$ += "\x26oracle.adf.view.rich.forceHTML\x3dtrue");
  return $JSCompiler_StaticMethods__addRequestToQueue$$(this, $AdfXmlHttpDataTransferService$$.$_STREAMING_TYPE$, null, $actionURL$$19$$, null, null, null, null, $AdfDataTransferService$$.$TRANSFER_COMPLETE$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.sendStreamingRequest", {$sendStreamingRequest$:$AdfXmlHttpDataTransferService$$.prototype.$sendStreamingRequest$});
$AdfXmlHttpDataTransferService$$.prototype.$streamingResponsesOutstanding$ = function $$AdfXmlHttpDataTransferService$$$$$streamingResponsesOutstanding$$() {
  return 0 < this.$_streamingCount$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.streamingResponsesOutstanding", {$streamingResponsesOutstanding$:$AdfXmlHttpDataTransferService$$.prototype.$streamingResponsesOutstanding$});
$AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$ = function $$AdfXmlHttpDataTransferService$$$$$processStreamingResponse$$($script$$5$$) {
  $AdfAssert$$.assert(this.$_streamingFrame$, "Unexpected streaming response");
  0 < this.$_suspendCount$ || 1 < this.$_reqCount$ ? (this.$_streamingMsgQueue$ || (this.$_streamingMsgQueue$ = []), this.$_streamingMsgQueue$.push($script$$5$$)) : ($JSCompiler_StaticMethods__processQueuedStreamingMessages$$(this), $AdfAgent$$.$AGENT$.execScript(this.$_streamingFrame$.contentWindow, $script$$5$$));
};
$AdfXmlHttpDataTransferService$$.prototype.processStreamingResponse = $AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$;
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.processStreamingResponse", {$processStreamingResponse$:$AdfXmlHttpDataTransferService$$.prototype.$processStreamingResponse$});
function $JSCompiler_StaticMethods__processQueuedStreamingMessages$$($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$) {
  if ($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$) {
    for (var $agent$$44$$ = $AdfAgent$$.$AGENT$;$JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$ && 0 < $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$.length;) {
      $agent$$44$$.execScript($JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingFrame$.contentWindow, $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$.shift());
    }
    $JSCompiler_StaticMethods__processQueuedStreamingMessages$self$$.$_streamingMsgQueue$ = null;
  }
}
$AdfXmlHttpDataTransferService$$.prototype.$notifyStreamingRequestComplete$ = function $$AdfXmlHttpDataTransferService$$$$$notifyStreamingRequestComplete$$() {
  var $iframeDoc$$6$$ = this.$_streamingFrame$.contentWindow.document;
  $iframeDoc$$6$$.removeChild($iframeDoc$$6$$.documentElement);
  this.$_streamingFrame$ = null;
  this.$_streamingCount$--;
  $AdfAssert$$.assert(0 <= this.$_streamingCount$, "Streaming request underflow");
  $JSCompiler_StaticMethods__requestDone$$(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.notifyStreamingRequestComplete", {$notifyStreamingRequestComplete$:$AdfXmlHttpDataTransferService$$.prototype.$notifyStreamingRequestComplete$});
$AdfXmlHttpDataTransferService$$.prototype.$suspend$ = function $$AdfXmlHttpDataTransferService$$$$$suspend$$() {
  this.$_suspendCount$++;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.suspend", {$suspend$:$AdfXmlHttpDataTransferService$$.prototype.$suspend$});
$AdfXmlHttpDataTransferService$$.prototype.$resume$ = function $$AdfXmlHttpDataTransferService$$$$$resume$$() {
  this.$_suspendCount$--;
  $AdfAssert$$.assert(0 <= this.$_suspendCount$, "Suspend count underflow");
  0 < this.$_suspendCount$ || this.$_doNextRequest$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.resume", {$resume$:$AdfXmlHttpDataTransferService$$.prototype.$resume$});
function $JSCompiler_StaticMethods__doXmlHttpTransfer$$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $requestItem$$2$$, $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
  var $xmlHttp$$2$$ = new $AdfXMLRequest$$, $context$$31_eventListeners$$5_logger$$4$$ = $xmlHttp$$2$$.$__dtsRequestContext$ = $requestItem$$2$$.getContext();
  $xmlHttp$$2$$.$__dtsRequestListeners$ = $requestItem$$2$$.$getListeners$();
  $requestItem$$2$$.$setAdfXMLRequest$($xmlHttp$$2$$);
  $xmlHttp$$2$$.$setSynchronous$($context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$__isSynchronous$ ? !0 : !1);
  void 0 !== $callback$$83_headerParams$$8_isFormData_pageId$$10$$ ? $xmlHttp$$2$$.$setCallback$($callback$$83_headerParams$$8_isFormData_pageId$$10$$) : $xmlHttp$$2$$.$setCallback$($AdfXmlHttpDataTransferService$$.$_requestCallback$);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = !1;
  null != $context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$_formData$ && ($callback$$83_headerParams$$8_isFormData_pageId$$10$$ = !0);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ || $xmlHttp$$2$$.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset\x3dUTF-8");
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = $requestItem$$2$$.$getHeaderParams$();
  if (null != $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
    for (var $headerName_i$$124_ourWindow$$ in $callback$$83_headerParams$$8_isFormData_pageId$$10$$) {
      var $currHeader$$ = $callback$$83_headerParams$$8_isFormData_pageId$$10$$[$headerName_i$$124_ourWindow$$];
      $AdfCollections$$.isArray($currHeader$$) && ($currHeader$$ = $currHeader$$.join(","));
      $xmlHttp$$2$$.setRequestHeader($headerName_i$$124_ourWindow$$, $currHeader$$);
    }
  }
  $headerName_i$$124_ourWindow$$ = $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$.$_window$;
  ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $requestItem$$2$$.$getActionURL$()) || ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = "" + $headerName_i$$124_ourWindow$$.document.location.href);
  $callback$$83_headerParams$$8_isFormData_pageId$$10$$ = $AdfPage$$.$PAGE$.$_pageStateId$;
  $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $headerName_i$$124_ourWindow$$.name);
  $context$$31_eventListeners$$5_logger$$4$$ && $context$$31_eventListeners$$5_logger$$4$$.$richPostback$ && ($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$ = $AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $callback$$83_headerParams$$8_isFormData_pageId$$10$$));
  $context$$31_eventListeners$$5_logger$$4$$ = $requestItem$$2$$.$getEventListeners$();
  if (null != $context$$31_eventListeners$$5_logger$$4$$) {
    for ($headerName_i$$124_ourWindow$$ = 0;$headerName_i$$124_ourWindow$$ < $context$$31_eventListeners$$5_logger$$4$$.length;$headerName_i$$124_ourWindow$$ += 2) {
      $xmlHttp$$2$$.addEventListener($context$$31_eventListeners$$5_logger$$4$$[$headerName_i$$124_ourWindow$$], $context$$31_eventListeners$$5_logger$$4$$[$headerName_i$$124_ourWindow$$ + 1]);
    }
  }
  $AdfPage$$.$PAGE$.$__perfTimings$(!1, !1, !0, "Request sent to server: ", $JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$);
  $context$$31_eventListeners$$5_logger$$4$$ = $AdfLogger$$.$LOGGER$;
  $context$$31_eventListeners$$5_logger$$4$$.fine("Request sent to server:", $requestItem$$2$$);
  $context$$31_eventListeners$$5_logger$$4$$.$getLogWriter$().flush();
  $xmlHttp$$2$$.send($JSCompiler_StaticMethods__doXmlHttpTransfer$self_actionUrl$$1$$, $requestItem$$2$$.$getContent$());
}
function $JSCompiler_StaticMethods__appendParamNode$$($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$, $domDocument$$8$$, $form$$4$$, $name$$91$$, $value$$158$$) {
  $AdfAssert$$.assert(null != $form$$4$$);
  var $nodes$$8$$ = $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.$_paramNodes$;
  $nodes$$8$$ || ($nodes$$8$$ = [], $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.$_paramNodes$ = $nodes$$8$$);
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$ = $domDocument$$8$$.createElement("input");
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.type = "hidden";
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.name = $name$$91$$;
  $JSCompiler_StaticMethods__appendParamNode$self_node$$61$$.value = $value$$158$$;
  $nodes$$8$$.push($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$);
  $form$$4$$.insertBefore($JSCompiler_StaticMethods__appendParamNode$self_node$$61$$, $form$$4$$.firstChild);
}
$AdfXmlHttpDataTransferService$$.prototype.$_doStreamingTransfer$ = function $$AdfXmlHttpDataTransferService$$$$$_doStreamingTransfer$$($requestItem$$4$$) {
  this.$_streamingMsgQueue$ = null;
  var $doc$$32$$ = this.$_window$.document, $div$$4$$ = $doc$$32$$.getElementById($AdfXmlHttpDataTransferService$$.$_ADF_STREAMING_IFRAME_ID$);
  $div$$4$$ || ($div$$4$$ = $doc$$32$$.createElement("DIV"), $div$$4$$.id = $AdfXmlHttpDataTransferService$$.$_ADF_STREAMING_IFRAME_ID$, $div$$4$$.style.display = "none", $doc$$32$$.body.appendChild($div$$4$$));
  var $actionUrl$$2_windowId$$3$$ = this.$_window$.name, $actionUrl$$2_windowId$$3$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($requestItem$$4$$.$getActionURL$(), $actionUrl$$2_windowId$$3$$);
  $div$$4$$.innerHTML = '\x3cIFRAME id \x3d "iFrameID" src\x3d"' + $actionUrl$$2_windowId$$3$$ + '"\x3e\x3c/IFRAME\x3e';
  $doc$$32$$.getElementById("iFrameID").addEventListener("load", function anonymousStreamResponse() {
    $AdfPage$$.$PAGE$.$getDataTransferService$().$processStreamingResponse$("parent.AdfPage.PAGE.streamingResponseComplete();");
  });
  this.$_streamingFrame$ = $div$$4$$.firstChild;
  $AdfAssert$$.$assertDomElement$(this.$_streamingFrame$);
  $AdfAssert$$.assert("IFRAME" == this.$_streamingFrame$.tagName);
  $requestItem$$4$$.$setStreamingIFrame$(this.$_streamingFrame$);
};
$AdfXmlHttpDataTransferService$$.prototype.$_handleIFrameLoad$ = function $$AdfXmlHttpDataTransferService$$$$$_handleIFrameLoad$$() {
  var $domDocument$$9_hiddenFrame$$1$$ = this.$_window$.document, $agentIsIE$$5_iframeDoc$$inline_642$$ = $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$, $frameName$$1_iframeDoc$$8$$ = $AdfXmlHttpDataTransferService$$.$_MULTIPART_FRAME$;
  $agentIsIE$$5_iframeDoc$$inline_642$$ ? ($domDocument$$9_hiddenFrame$$1$$ = $domDocument$$9_hiddenFrame$$1$$.frames[$frameName$$1_iframeDoc$$8$$], $frameName$$1_iframeDoc$$8$$ = $domDocument$$9_hiddenFrame$$1$$.document) : ($domDocument$$9_hiddenFrame$$1$$ = $domDocument$$9_hiddenFrame$$1$$.getElementById($frameName$$1_iframeDoc$$8$$), $frameName$$1_iframeDoc$$8$$ = $domDocument$$9_hiddenFrame$$1$$.contentDocument);
  try {
    if (!$frameName$$1_iframeDoc$$8$$.documentElement || !$frameName$$1_iframeDoc$$8$$.documentElement.firstChild || $agentIsIE$$5_iframeDoc$$inline_642$$ && "complete" != $frameName$$1_iframeDoc$$8$$.readyState) {
      this.$_iframeLoadTimerId$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_handleIFrameLoad$, null, 50);
    } else {
      var $page$$20$$ = $AdfPage$$.$PAGE$, $iframeLoadTimerId$$ = this.$_iframeLoadTimerId$;
      $iframeLoadTimerId$$ && (delete this.$_iframeLoadTimerId$, $page$$20$$.$cancelTimer$($iframeLoadTimerId$$));
      $page$$20$$.$scheduleTimer$(this, $AdfXmlHttpDataTransferService$$.$_removeFrame$, $domDocument$$9_hiddenFrame$$1$$, 1);
      var $agentIsIE$$5_iframeDoc$$inline_642$$ = $frameName$$1_iframeDoc$$8$$, $i$$inline_5534_requestListeners$$inline_644$$ = this.$_dtsRequestlisteners$;
      try {
        var $dtsRequestEvent$$inline_645$$ = new $AdfIFrameDataTransferRequestEvent$$($agentIsIE$$5_iframeDoc$$inline_642$$, this.$_dtsContext$);
        $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($i$$inline_5534_requestListeners$$inline_644$$, $dtsRequestEvent$$inline_645$$);
      } finally {
        for (;$agentIsIE$$5_iframeDoc$$inline_642$$.firstChild;) {
          $agentIsIE$$5_iframeDoc$$inline_642$$.firstChild && $agentIsIE$$5_iframeDoc$$inline_642$$.removeChild($agentIsIE$$5_iframeDoc$$inline_642$$.firstChild);
        }
        this.$_htmlForm$.action = this.$_savedActionUrl$;
        this.$_htmlForm$.target = this.$_savedTarget$;
        var $nodes$$inline_5531$$ = this.$_paramNodes$;
        if ($nodes$$inline_5531$$) {
          for (var $form$$inline_5532$$ = $nodes$$inline_5531$$[0].parentNode, $count$$inline_5533$$ = $nodes$$inline_5531$$.length, $i$$inline_5534_requestListeners$$inline_644$$ = 0;$i$$inline_5534_requestListeners$$inline_644$$ < $count$$inline_5533$$;$i$$inline_5534_requestListeners$$inline_644$$++) {
            $form$$inline_5532$$ && $form$$inline_5532$$.removeChild($nodes$$inline_5531$$[$i$$inline_5534_requestListeners$$inline_644$$]);
          }
          delete this.$_paramNodes$;
        }
        $JSCompiler_StaticMethods__requestDone$$(this);
      }
    }
  } catch ($e$$84$$) {
    this.$_pageUnloading$ || ($AdfXmlHttpDataTransferService$$.$_alertError$("unknown"), $AdfLogger$$.$LOGGER$.$logErrorAsSevere$($e$$84$$, "Error (" + $e$$84$$.message + ") while performing Data Transfer request")), this.$_htmlForm$.action = this.$_savedActionUrl$, this.$_htmlForm$.target = this.$_savedTarget$;
  }
};
function $JSCompiler_StaticMethods__handleRequestCallback$$($JSCompiler_StaticMethods__handleRequestCallback$self$$, $xmlHttp$$3$$) {
  if ($xmlHttp$$3$$.$getCompletionState$() == $AdfXMLRequest$$.$COMPLETED$) {
    var $statusCode_warningMsg$$1$$ = 0;
    try {
      $statusCode_warningMsg$$1$$ = $xmlHttp$$3$$.$getStatus$();
    } catch ($e$$85$$) {
    }
    try {
      if (200 != $statusCode_warningMsg$$1$$ && 302 != $statusCode_warningMsg$$1$$ && 0 != $statusCode_warningMsg$$1$$) {
        $JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ || ($AdfXmlHttpDataTransferService$$.$_alertError$($statusCode_warningMsg$$1$$), $AdfLogger$$.$LOGGER$.severe("Error StatusCode(", $statusCode_warningMsg$$1$$, ") while performing Data Transfer request\n"));
      } else {
        if (!$JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$) {
          $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__handleRequestCallback$self$$, $AdfDataTransferService$$.$TRANSFER_COMPLETE$);
          var $dtsRequestEvent$$3$$ = new $AdfDataTransferRequestEvent$$($AdfDataTransferRequestEvent$$.$STATUS_COMPLETE$, $xmlHttp$$3$$.$__dtsRequestContext$, $xmlHttp$$3$$);
          $AdfXmlHttpDataTransferService$$.$__broadcastRequestStatusChanged$($xmlHttp$$3$$.$__dtsRequestListeners$, $dtsRequestEvent$$3$$);
        }
      }
    } finally {
      try {
        if (!$JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ && null != $AdfPage$$.$PAGE$.$getResponseIdentifier$() && $xmlHttp$$3$$.getResponseHeader) {
          var $responseId$$inline_648$$ = $xmlHttp$$3$$.getResponseHeader("Adf-Context-Id");
          $responseId$$inline_648$$ || ($responseId$$inline_648$$ = $xmlHttp$$3$$.getResponseHeader("X-ORACLE-DMS-ECID"));
          $responseId$$inline_648$$ && $AdfPage$$.$PAGE$.$__setResponseIdentifier$($responseId$$inline_648$$);
        }
      } catch ($e$$86$$) {
        $statusCode_warningMsg$$1$$ = "Not able to retrieve response id from header.Error (" + $e$$86$$.message, $AdfLogger$$.$LOGGER$.warning($statusCode_warningMsg$$1$$ + "). The response id in page object will not be up-to-date.");
      }
      $xmlHttp$$3$$.$cleanup$();
      delete $xmlHttp$$3$$;
      $JSCompiler_StaticMethods__handleRequestCallback$self$$.$_pageUnloading$ || $JSCompiler_StaticMethods__requestDone$$($JSCompiler_StaticMethods__handleRequestCallback$self$$);
    }
  }
}
function $JSCompiler_StaticMethods__requestDone$$($JSCompiler_StaticMethods__requestDone$self$$) {
  $JSCompiler_StaticMethods__requestDone$self$$.$_requestQueue$ && ($JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$--, $AdfAssert$$.assert(0 <= $JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$, "Request count underflow"), 1 == $JSCompiler_StaticMethods__requestDone$self$$.$_reqCount$ && 1 == $JSCompiler_StaticMethods__requestDone$self$$.$_streamingCount$ && $JSCompiler_StaticMethods__processQueuedStreamingMessages$$($JSCompiler_StaticMethods__requestDone$self$$), 0 == $JSCompiler_StaticMethods__requestDone$self$$.$_requestQueue$.length && 
  ($JSCompiler_StaticMethods__requestDone$self$$.$_state$ != $AdfDataTransferService$$.$TRANSFER_COMPLETE$ && $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__requestDone$self$$, $AdfDataTransferService$$.$TRANSFER_COMPLETE$), $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__requestDone$self$$, $AdfDataTransferService$$.$STATE_READY$)), $AdfPage$$.$PAGE$.$scheduleTimer$($JSCompiler_StaticMethods__requestDone$self$$, $JSCompiler_StaticMethods__requestDone$self$$.$_doNextRequest$, 
  null, 1));
}
$AdfXmlHttpDataTransferService$$.prototype.$_doNextRequest$ = function $$AdfXmlHttpDataTransferService$$$$$_doNextRequest$$() {
  if (!(0 < this.$_suspendCount$ || 0 < this.$_reqCount$) && 0 < this.$_requestQueue$.length) {
    this.$_state$ != $AdfDataTransferService$$.$STATE_BUSY$ && $JSCompiler_StaticMethods__broadcastStateChangeEvent$$(this, $AdfDataTransferService$$.$STATE_BUSY$);
    var $requestItem$$inline_651$$ = this.$_requestQueue$.shift();
    if ($requestItem$$inline_651$$.$getStatus$() == $AdfDataTransferRequestEvent$$.$STATUS_ABORTED$) {
      $AdfLogger$$.$LOGGER$.fine("Transfer request aborted beforing sending to server:", $requestItem$$inline_651$$);
    } else {
      switch($requestItem$$inline_651$$.$setStatus$($AdfDataTransferRequestEvent$$.$STATUS_SEND_BEFORE$), $AdfLogger$$.$LOGGER$.fine("Transfer start:", $requestItem$$inline_651$$), this.$_reqCount$++, $AdfAssert$$.assert(2 >= this.$_reqCount$, "Request count overflow"), $requestItem$$inline_651$$.getType()) {
        case $AdfXmlHttpDataTransferService$$.$_XMLHTTP_TYPE$:
          $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_651$$);
          break;
        case $AdfXmlHttpDataTransferService$$.$_POLLING_TYPE$:
          $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_651$$, $AdfDhtmlActiveData$$.$_requestCallback$);
          break;
        case $AdfXmlHttpDataTransferService$$.$_MULTIPART_TYPE$:
          if (null != $requestItem$$inline_651$$.$getContent$()) {
            $JSCompiler_StaticMethods__doXmlHttpTransfer$$(this, $requestItem$$inline_651$$, $AdfDhtmlMultipartUpload$$.$_requestCallback$);
          } else {
            var $context$$inline_5538$$ = $requestItem$$inline_651$$.getContext(), $htmlForm$$inline_5539$$ = $context$$inline_5538$$.$_htmlForm$, $actionURL$$inline_5542_windowId$$inline_5540$$ = this.$_window$.name, $frameName$$inline_5543_pageId$$inline_5541$$ = $AdfPage$$.$PAGE$.$_pageStateId$, $actionURL$$inline_5542_windowId$$inline_5540$$ = $AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$($requestItem$$inline_651$$.$getActionURL$(), $actionURL$$inline_5542_windowId$$inline_5540$$), 
            $actionURL$$inline_5542_windowId$$inline_5540$$ = $AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$($actionURL$$inline_5542_windowId$$inline_5540$$, $frameName$$inline_5543_pageId$$inline_5541$$);
            $AdfAssert$$.assert($htmlForm$$inline_5539$$.action, "form action cannot be null for multiform post");
            var $frameName$$inline_5543_pageId$$inline_5541$$ = $AdfXmlHttpDataTransferService$$.$_MULTIPART_FRAME$, $agent$$inline_5544_agentIsIE$$inline_5548$$ = $AdfAgent$$.$AGENT$, $domDocument$$inline_5545$$ = this.$_window$.document, $hiddenFrame$$inline_5546$$ = $domDocument$$inline_5545$$.getElementById($frameName$$inline_5543_pageId$$inline_5541$$), $frameStyle$$inline_5549_iframeDoc$$inline_5547$$, $agent$$inline_5544_agentIsIE$$inline_5548$$ = $agent$$inline_5544_agentIsIE$$inline_5548$$.$getPlatform$() == 
            $AdfAgent$$.$IE_PLATFORM$;
            null == this.$_iframeLoadCallback$ && (this.$_iframeLoadCallback$ = this.$createCallback$(this.$_handleIFrameLoad$));
            $hiddenFrame$$inline_5546$$ || ($hiddenFrame$$inline_5546$$ = $domDocument$$inline_5545$$.createElement("iframe"), $hiddenFrame$$inline_5546$$.name = $frameName$$inline_5543_pageId$$inline_5541$$, $hiddenFrame$$inline_5546$$.id = $frameName$$inline_5543_pageId$$inline_5541$$, $hiddenFrame$$inline_5546$$.dataset.$postReqCounter$ = 0, $frameStyle$$inline_5549_iframeDoc$$inline_5547$$ = $hiddenFrame$$inline_5546$$.style, $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.top = $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.left = 
            "0px", $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.width = $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.height = "1px", $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.position = "absolute", $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.visibility = "hidden", $domDocument$$inline_5545$$.body.appendChild($hiddenFrame$$inline_5546$$), $agent$$inline_5544_agentIsIE$$inline_5548$$ || ($hiddenFrame$$inline_5546$$.onload = this.$_iframeLoadCallback$));
            $agent$$inline_5544_agentIsIE$$inline_5548$$ ? ($hiddenFrame$$inline_5546$$ = $domDocument$$inline_5545$$.frames[$frameName$$inline_5543_pageId$$inline_5541$$], $hiddenFrame$$inline_5546$$.name = $frameName$$inline_5543_pageId$$inline_5541$$, $frameStyle$$inline_5549_iframeDoc$$inline_5547$$ = $hiddenFrame$$inline_5546$$.document) : $frameStyle$$inline_5549_iframeDoc$$inline_5547$$ = $hiddenFrame$$inline_5546$$.contentDocument;
            $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.firstChild && $frameStyle$$inline_5549_iframeDoc$$inline_5547$$.removeChild($frameStyle$$inline_5549_iframeDoc$$inline_5547$$.firstChild);
            this.$_dtsContext$ = $context$$inline_5538$$;
            this.$_dtsRequestlisteners$ = $requestItem$$inline_651$$.$getListeners$();
            this.$_htmlForm$ = $htmlForm$$inline_5539$$;
            this.$_savedActionUrl$ = $htmlForm$$inline_5539$$.action;
            this.$_savedTarget$ = $htmlForm$$inline_5539$$.target;
            $htmlForm$$inline_5539$$.method = "POST";
            $htmlForm$$inline_5539$$.action = $actionURL$$inline_5542_windowId$$inline_5540$$;
            $htmlForm$$inline_5539$$.target = $frameName$$inline_5543_pageId$$inline_5541$$;
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5545$$, $htmlForm$$inline_5539$$, "Adf-Rich-Message", "true");
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5545$$, $htmlForm$$inline_5539$$, "partial", "true");
            $JSCompiler_StaticMethods__appendParamNode$$(this, $domDocument$$inline_5545$$, $htmlForm$$inline_5539$$, $AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$, this.$_window$.name);
            $AdfAgent$$.$AGENT$.$autoCompleteForm$($htmlForm$$inline_5539$$);
            try {
              ($hiddenFrame$$inline_5546$$.parentNode ? $hiddenFrame$$inline_5546$$ : $hiddenFrame$$inline_5546$$.frameElement).dataset.$postReqCounter$++, $htmlForm$$inline_5539$$.submit(), $agent$$inline_5544_agentIsIE$$inline_5548$$ && (this.$_iframeLoadTimerId$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_handleIFrameLoad$, null, 50));
            } catch ($e$$inline_5550$$) {
              $AdfInputFileUtils$$.$addUploadErrorMessage$(), $JSCompiler_StaticMethods__requestDone$$(this);
            }
          }
          break;
        case $AdfXmlHttpDataTransferService$$.$_STREAMING_TYPE$:
          this.$_streamingCount$++;
          page.$scheduleTimer$(this, this.$_doStreamingTransfer$, $requestItem$$inline_651$$, 0);
          break;
        default:
          $AdfAssert$$.assert(!1, "Unknown transfer type"), this.$_reqCount$--;
      }
    }
  }
};
$AdfXmlHttpDataTransferService$$.$_requestCallback$ = function $$AdfXmlHttpDataTransferService$$$$_requestCallback$$($xmlRequest$$) {
  $AdfLogger$$.$LOGGER$.finer("Request complete:", $xmlRequest$$);
  var $dts$$2$$ = $AdfPage$$.$PAGE$.$getDataTransferService$(!0);
  $dts$$2$$ && $JSCompiler_StaticMethods__handleRequestCallback$$($dts$$2$$, $xmlRequest$$);
};
$AdfXmlHttpDataTransferService$$.prototype.$addStateChangeListener$ = function $$AdfXmlHttpDataTransferService$$$$$addStateChangeListener$$($listener$$96$$, $instance$$19$$) {
  $AdfAssert$$.$assertFunction$($listener$$96$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$19$$);
  var $stateChangeListeners$$ = this.$_stateChangeListeners$;
  $stateChangeListeners$$ || (this.$_stateChangeListeners$ = $stateChangeListeners$$ = []);
  $stateChangeListeners$$.push($listener$$96$$);
  $stateChangeListeners$$.push($instance$$19$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.addStateChangeListener", {$addStateChangeListener$:$AdfXmlHttpDataTransferService$$.prototype.$addStateChangeListener$});
$AdfXmlHttpDataTransferService$$.prototype.$removeStateChangeListener$ = function $$AdfXmlHttpDataTransferService$$$$$removeStateChangeListener$$($listener$$97$$, $instance$$20$$) {
  $AdfAssert$$.$assertFunction$($listener$$97$$);
  $AdfAssert$$.$assertObjectOrNull$($instance$$20$$);
  var $stateChangeListeners$$1$$ = this.$_stateChangeListeners$;
  $AdfAssert$$.assert($stateChangeListeners$$1$$, "stateChangeListeners must exist");
  for (var $length$$36$$ = $stateChangeListeners$$1$$.length, $i$$126$$ = 0;$i$$126$$ < $length$$36$$;$i$$126$$++) {
    var $currListener$$4$$ = $stateChangeListeners$$1$$[$i$$126$$];
    $i$$126$$++;
    $currListener$$4$$ == $listener$$97$$ && $stateChangeListeners$$1$$[$i$$126$$] === $instance$$20$$ && $stateChangeListeners$$1$$.splice($i$$126$$ - 1, 2);
  }
  0 == $stateChangeListeners$$1$$.length && (this.$_stateChangeListeners$ = null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.removeStateChangeListener", {$removeStateChangeListener$:$AdfXmlHttpDataTransferService$$.prototype.$removeStateChangeListener$});
$AdfXmlHttpDataTransferService$$.prototype.$getDTSState$ = function $$AdfXmlHttpDataTransferService$$$$$getDTSState$$() {
  return this.$_state$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfXmlHttpDataTransferService.prototype.getDTSState", {$getDTSState$:$AdfXmlHttpDataTransferService$$.prototype.$getDTSState$});
function $JSCompiler_StaticMethods__broadcastStateChangeEvent$$($JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$, $state$$11$$) {
  $JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$.$_state$ = $state$$11$$;
  var $stateChangeListeners$$2$$ = $JSCompiler_StaticMethods__broadcastStateChangeEvent$self$$.$_stateChangeListeners$;
  if ($stateChangeListeners$$2$$) {
    for (var $listenerCount$$3$$ = $stateChangeListeners$$2$$.length, $i$$127$$ = 0;$i$$127$$ < $listenerCount$$3$$;$i$$127$$++) {
      try {
        var $currListener$$5$$ = $stateChangeListeners$$2$$[$i$$127$$];
        $i$$127$$++;
        var $currInstance$$1$$ = $stateChangeListeners$$2$$[$i$$127$$];
        if (0 == (null != $currInstance$$1$$ ? $currListener$$5$$.call($currInstance$$1$$, $state$$11$$) : $currListener$$5$$($state$$11$$))) {
          break;
        }
      } catch ($e$$87$$) {
        $AdfLogger$$.$LOGGER$.$logErrorAsWarning$($e$$87$$, "Error on DTS State Change Listener");
      }
    }
  }
}
$AdfXmlHttpDataTransferService$$.$_alertError$ = function $$AdfXmlHttpDataTransferService$$$$_alertError$$($message$$57_statusCode$$1$$) {
  var $ecid$$1_failedConnectionText$$ = $AdfPage$$.$PAGE$.getFailedConnectionText();
  if (null != $ecid$$1_failedConnectionText$$) {
    $message$$57_statusCode$$1$$ = $ecid$$1_failedConnectionText$$ + " (status\x3d" + $message$$57_statusCode$$1$$;
    if ($ecid$$1_failedConnectionText$$ = $AdfPage$$.$PAGE$.$getResponseIdentifier$()) {
      $message$$57_statusCode$$1$$ += ",ecid\x3d", $message$$57_statusCode$$1$$ += $ecid$$1_failedConnectionText$$;
    }
    $message$$57_statusCode$$1$$ += ")";
    alert($message$$57_statusCode$$1$$);
  }
};
$AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$ = "Adf-Window-Id";
$AdfXmlHttpDataTransferService$$.$__encodeWindowIdOnUrl$ = function $$AdfXmlHttpDataTransferService$$$$__encodeWindowIdOnUrl$$($url$$37$$, $windowId$$4$$) {
  var $actionUrl$$3$$ = $url$$37$$, $windowParam$$ = $AdfXmlHttpDataTransferService$$.$_WINDOW_PARAM$ + "\x3d", $windowParamValue$$ = $windowParam$$ + $windowId$$4$$;
  -1 == $actionUrl$$3$$.indexOf($windowParam$$) ? ($actionUrl$$3$$ += -1 == $actionUrl$$3$$.indexOf("?") ? "?" : "\x26", $actionUrl$$3$$ += $windowParamValue$$) : $actionUrl$$3$$ = $actionUrl$$3$$.replace(/adf-window-id=[^&#]*/, $windowParamValue$$);
  return $actionUrl$$3$$;
};
$AdfXmlHttpDataTransferService$$.$__encodePageIdOnUrl$ = function $$AdfXmlHttpDataTransferService$$$$__encodePageIdOnUrl$$($url$$38$$, $pageId$$12$$) {
  if (null == $pageId$$12$$ || void 0 == $pageId$$12$$) {
    return $url$$38$$;
  }
  var $actionUrl$$4$$ = $url$$38$$, $pageParam$$ = $AdfDhtmlPage$$.$_PAGE_STATE_ID$ + "\x3d", $pageParamValue$$ = $pageParam$$ + $pageId$$12$$;
  -1 == $actionUrl$$4$$.indexOf($pageParam$$) ? ($actionUrl$$4$$ += -1 == $actionUrl$$4$$.indexOf("?") ? "?" : "\x26", $actionUrl$$4$$ += $pageParamValue$$) : $actionUrl$$4$$ = $actionUrl$$4$$.replace(/Adf-Page-Id=[^&#]*/, $pageParamValue$$);
  return $actionUrl$$4$$;
};
$AdfXmlHttpDataTransferService$$.$_removeFrame$ = function $$AdfXmlHttpDataTransferService$$$$_removeFrame$$($frameNode$$1_hiddenFrame$$2$$) {
  if ($frameNode$$1_hiddenFrame$$2$$ = $frameNode$$1_hiddenFrame$$2$$.parentNode ? $frameNode$$1_hiddenFrame$$2$$ : $frameNode$$1_hiddenFrame$$2$$.frameElement) {
    if ($frameNode$$1_hiddenFrame$$2$$.dataset.$postReqCounter$--, 0 >= $frameNode$$1_hiddenFrame$$2$$.dataset.$postReqCounter$) {
      $frameNode$$1_hiddenFrame$$2$$.onload = "void(0);";
      var $parentNode$$2$$ = $frameNode$$1_hiddenFrame$$2$$.parentNode;
      $parentNode$$2$$ && $parentNode$$2$$.removeChild($frameNode$$1_hiddenFrame$$2$$);
    }
  }
};
