function $AdfDomLibraryLoadableScript$$($domWindow$$123$$, $domDocument$$65$$, $librarySource$$, $loadMethod$$) {
  this.Init($domWindow$$123$$, $domDocument$$65$$, $librarySource$$, $loadMethod$$)
}
$goog$exportSymbol$$("AdfDomLibraryLoadableScript", $AdfDomLibraryLoadableScript$$);
$AdfObject$$.$createSubclass$($AdfDomLibraryLoadableScript$$, $AdfLoadableScript$$);
$AdfDomLibraryLoadableScript$$.prototype.Init = function $$AdfDomLibraryLoadableScript$$$$Init$($domWindow$$124$$, $domDocument$$66$$, $librarySource$$1$$, $loadMethod$$1$$) {
  $loadMethod$$1$$ == $AdfScriptLoadingService$$.$METHOD_SYNCHRONOUS$ && $JSCompiler_alias_THROW$$("AdfDomLibraryLoadableScript does not support Synchronous library loading.");
  $loadMethod$$1$$ == $AdfScriptLoadingService$$.$METHOD_ANY$ && ($loadMethod$$1$$ = $AdfScriptLoadingService$$.$METHOD_ASYNCHRONOUS$);
  $AdfDomLibraryLoadableScript$$.$superclass$.Init.call(this, $domWindow$$124$$);
  this.$_domDocument$ = $domDocument$$66$$;
  this.$_librarySource$ = $librarySource$$1$$;
  this.$_loadMethod$ = $loadMethod$$1$$;
  this.$_loaded$ = $JSCompiler_alias_FALSE$$;
  this.$_loadCompleteCallback$ = this.$createCallback$(this.$_loadComplete$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDomLibraryLoadableScript.prototype.Init", {Init:$AdfDomLibraryLoadableScript$$.prototype.Init});
$AdfDomLibraryLoadableScript$$.prototype.$getLoadMethod$ = $JSCompiler_get$$("$_loadMethod$");
$AdfObject$$.$exportPrototypeSymbol$("AdfDomLibraryLoadableScript.prototype.getLoadMethod", {$getLoadMethod$:$AdfDomLibraryLoadableScript$$.prototype.$getLoadMethod$});
$AdfDomLibraryLoadableScript$$.prototype.load = function $$AdfDomLibraryLoadableScript$$$$load$($domDocument$$67_loadCallback$$2$$) {
  this.$_loadCallback$ = $domDocument$$67_loadCallback$$2$$;
  $domDocument$$67_loadCallback$$2$$ = this.$_domDocument$;
  var $scriptElement$$ = $domDocument$$67_loadCallback$$2$$.createElement("script");
  $scriptElement$$.onload = this.$_loadCompleteCallback$;
  $scriptElement$$.onreadystatechange = this.$_loadCompleteCallback$;
  $scriptElement$$.src = this.$_librarySource$;
  $domDocument$$67_loadCallback$$2$$.body.appendChild($scriptElement$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDomLibraryLoadableScript.prototype.load", {load:$AdfDomLibraryLoadableScript$$.prototype.load});
$AdfDomLibraryLoadableScript$$.prototype.$_loadComplete$ = function $$AdfDomLibraryLoadableScript$$$$$_loadComplete$$($JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$) {
  if(!this.$_loaded$) {
    $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ || ($JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ = window.event);
    var $target$$217$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$);
    "readystatechange" == $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$.type ? ($JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ = $target$$217$$.readyState, $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ = "loaded" == $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ || "complete" == $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$) : $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ = $JSCompiler_alias_TRUE$$;
    $JSCompiler_inline_result$$85_evt$$154_readyState$$inline_4700$$ && (this.$_loaded$ = $JSCompiler_alias_TRUE$$, $target$$217$$.onload = $JSCompiler_alias_NULL$$, $target$$217$$.onreadystatechange = $JSCompiler_alias_NULL$$, this.$_loadCallback$ && this.$_loadCallback$(this.$_librarySource$))
  }
};
