var $AdfDhtmlInputFilePeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputTextPeer$$, "AdfDhtmlInputFilePeer", !1);
$goog$exportSymbol$$("AdfDhtmlInputFilePeer", $AdfDhtmlInputFilePeer$$);
$AdfDhtmlInputFilePeer$$.$InitSubclass$ = function $$AdfDhtmlInputFilePeer$$$$InitSubclass$$() {
  this.$_UPDATE_BUTTON_ID$ = "upBtn";
  this.$_UPLOAD_BUTTON_ID$ = "uplBtn";
  this.$_CANCEL_BUTTON_ID$ = "cnlBtn";
  this.$_RETRY_BUTTON_ID$ = "rtBtn";
  this.$_STOP_BUTTON_ID$ = "stpBtn";
  this.$_DELETE_BUTTON_ID$ = "delBtn";
  this.$_UPDATE_VALUE_ID$ = "upVal";
  this.$_UPDATE_DLG_CONTAINER_ID$ = "dlg";
  this.$_UPDATE_DLG_CONTENT_ID$ = "dlgCont";
  this.$_INPUT_ID$ = "if";
  this.$_FALLBACK_ID$ = "iff";
  this.$_PANEL_ID$ = "p";
  this.$_DROP_AREA_ID$ = "da";
  this.$_ICON_ID$ = "icn";
  this.$_ICON_HOVER_ID$ = "icn_ovr";
  this.$_TABLE_ID$ = "t";
  this.$_ROW_ID$ = "r";
  this.$_FILENAME_ID$ = "fn";
  this.$_FILESIZE_ID$ = "fs";
  this.$_FILE_DONE_ID$ = "fd";
  this.$_FILE_FAILED_ID$ = "ff";
  this.$_DELAYED_UPLOAD_CONTENT_ID$ = "dc";
  this.$_DELAYED_UPLOAD_FORM_ID$ = "df";
  this.$_PROGRESS_INDICATOR_DTM_ID$ = "_afrProgressDet";
  this.$_PROGRESS_INDICATOR_INDTM_ID$ = "_afrProgressIndet";
  this.$_PROGRESS_ITEM_ID_ATTR$ = "_afrProgressItemId";
  this.$_MAXIMUM_FILES$ = "maximumFiles";
  this.$_ROWS$ = "rows";
  this.$_AUTO_HEIGHT_ROWS$ = "autoHeightRows";
  this.$_UPLOAD_TYPE$ = "uploadType";
  this.$_UPLOAD_TYPE_SUBMIT$ = "submit";
  this.$_UPLOAD_TYPE_AUTO$ = "auto";
  this.$_UPLOAD_TYPE_AUTO_IF_MULTIPLE$ = "autoIfMultiple";
  this.$_UPLOAD_TYPE_MANUAL$ = "manual";
  this.$_DISPLAY_MODE$ = "displayMode";
  this.$_DISPLAY_MODE_NONE$ = "none";
  this.$_DISPLAY_MODE_DROP_AREA$ = "dropArea";
  this.$_ITEM_ID_ATTR$ = "_afrItemId";
  this.$_ROW_UPLOADED_ATTR$ = "_afrRowUploaded";
  this.$_ROW_FILENAME_ATTR$ = "_afrFilename";
  this.$_ROW_FILESIZE_ATTR$ = "_afrFilesize";
  this.$_BUTTON_EXPANDO$ = "_adfFileBtn";
  this.$_DLG_ADD_BUTTON_BTN$ = "dlgAddBtn";
  this.$_DLG_UPDATE_BUTTON_BTN$ = "dlgUpdBtn";
  this.$_DLG_DELETE_BUTTON_BTN$ = "dlgDelBtn";
  this.$_HIDDENDATA_UPDATE$ = "UPDATE";
  this.$_HIDDENDATA_ADD$ = "ADD";
  this.$_HIDDENDATA_DELETE$ = "DELETE";
  this.$_STYLE_DISPLAY_NONE$ = "none";
  this.$_STYLE_DISPLAY_INLINE$ = "inline";
  this.$_STYLE_VISIBILITY_VISIBLE$ = "visible";
  this.$_STYLE_VISIBILITY_HIDDEN$ = "hidden";
  this.$_CSS_PROPERTY_DISPLAY$ = "display";
  this.$_CSS_PROPERTY_VISIBILITY$ = "visibility";
  this.$_CSS_PROPERTY_OVERFLOWY$ = "overflowY";
  this.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_PANEL_DRAG_CLASS$ = "af|inputFile::multiple-upload-drag";
  this.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$ = "af|inputFile::multiple-upload-dropzone";
  this.$_MAX_FILE_SIZE$ = "_afrFileSize";
  this.$_MAX_DISK_SPACE$ = "_afrDiskSpace";
  this.$_clone$;
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfDialogEvent$$.$EVENT_TYPE$);
  this.$_usesUnifiedButtons$ = "old" != $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|dialog-tr-button-type");
  this.$_usesUnifiedButtons$ = !1;
};
$goog$exportSymbol$$("AdfDhtmlInputFilePeer.InitSubclass", $AdfDhtmlInputFilePeer$$.$InitSubclass$);
$AdfDhtmlInputFilePeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputFilePeer$$$$$InitDomElement$$($component$$1264$$, $domElement$$257$$) {
  $AdfDhtmlInputFilePeer$$.$superclass$.$InitDomElement$.call(this, $component$$1264$$, $domElement$$257$$);
  if ($AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1264$$)) {
    var $agent$$inline_2035_iconHover$$inline_2045$$ = $AdfAgent$$.$AGENT$, $laf$$inline_2036$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $clientId$$inline_2037_iconHoverId$$inline_2041$$ = $component$$1264$$.$getClientId$(), $panel$$inline_2042_panelId$$inline_2038$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_2037_iconHoverId$$inline_2041$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$), $dropArea$$inline_2043_dropAreaId$$inline_2039$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_2037_iconHoverId$$inline_2041$$, 
    $AdfDhtmlInputFilePeer$$.$_DROP_AREA_ID$), $icon$$inline_2044_iconId$$inline_2040$$ = $AdfRichUIPeer$$.$CreateSubId$($panel$$inline_2042_panelId$$inline_2038$$, $AdfDhtmlInputFilePeer$$.$_ICON_ID$), $clientId$$inline_2037_iconHoverId$$inline_2041$$ = $AdfRichUIPeer$$.$CreateSubId$($panel$$inline_2042_panelId$$inline_2038$$, $AdfDhtmlInputFilePeer$$.$_ICON_HOVER_ID$), $panel$$inline_2042_panelId$$inline_2038$$ = $agent$$inline_2035_iconHover$$inline_2045$$.getElementById($panel$$inline_2042_panelId$$inline_2038$$), 
    $dropArea$$inline_2043_dropAreaId$$inline_2039$$ = $agent$$inline_2035_iconHover$$inline_2045$$.getElementById($dropArea$$inline_2043_dropAreaId$$inline_2039$$), $icon$$inline_2044_iconId$$inline_2040$$ = $agent$$inline_2035_iconHover$$inline_2045$$.getElementById($icon$$inline_2044_iconId$$inline_2040$$), $agent$$inline_2035_iconHover$$inline_2045$$ = $agent$$inline_2035_iconHover$$inline_2045$$.getElementById($clientId$$inline_2037_iconHoverId$$inline_2041$$);
    $icon$$inline_2044_iconId$$inline_2040$$ && (this.$_icon$ = $icon$$inline_2044_iconId$$inline_2040$$);
    $agent$$inline_2035_iconHover$$inline_2045$$ && (this.$_iconHover$ = $agent$$inline_2035_iconHover$$inline_2045$$);
    this.$_panel$ = $panel$$inline_2042_panelId$$inline_2038$$;
    this.$_dropArea$ = $dropArea$$inline_2043_dropAreaId$$inline_2039$$;
    this.$_rowList$ = [];
    this.$_autoHeightRows$ = $component$$1264$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_AUTO_HEIGHT_ROWS$);
    this.$_autoHeightRows$ || (this.$_autoHeightRows$ = 0);
    this.$_submitType$ = $AdfDhtmlInputFilePeer$$.$_getSubmitType$($component$$1264$$);
    this.$_maximumFiles$ = $component$$1264$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_MAXIMUM_FILES$);
    this.$_rows$ = $component$$1264$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_ROWS$);
    $component$$1264$$.getAutoSubmit() && ($component$$1264$$.setProperty("autoSubmit", !1, !1, $AdfUIComponent$$.$PROPAGATE_NEVER$), this.$_autoSubmit$ = !0);
    this.$_useFileApi$ = "undefined" != typeof File ? !0 : !1;
    void 0 === $AdfAgent$$.$AGENT$.slice() ? this.$_canSlice$ = !1 : this.$_canSlice$ = !0;
    this.$_useFormData$ = "undefined" != typeof FormData ? !0 : !1;
    (this.$_useDnD$ = "draggable" in $domElement$$257$$ && this.$_useFormData$ && this.$_canSlice$ ? !0 : !1) && !$component$$1264$$.getDisabled() && (this.$_cssClassUploadPanelDrag$ = $laf$$inline_2036$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_PANEL_DRAG_CLASS$), null != this.$_panel$ ? ($AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_panel$, "dragenter", this.$createCallback$(this.$_handleDragEnter$)), $AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_panel$, 
    "dragleave", this.$createCallback$(this.$_handleDragLeave$)), $AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_panel$, "dragover", this.$createCallback$(this.$_handleDragOver$))) : null != this.$_dropArea$ && ($AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_dropArea$, "dragenter", this.$createCallback$(this.$_handleDragEnter$)), $AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_dropArea$, "dragleave", this.$createCallback$(this.$_handleDragLeave$)), $AdfAgent$$.$AGENT$.$addBubbleEventListener$(this.$_dropArea$, 
    "dragover", this.$createCallback$(this.$_handleDragOver$))));
    $AdfPage$$.$PAGE$.$registerDirtyDataComponent$($component$$1264$$, "always");
    $JSCompiler_StaticMethods__initMultipleUploadDomElement$$(this, $component$$1264$$, $domElement$$257$$);
  }
  this.$_dlgContentOkHandlerSetuped$ = !1;
  this.$_deleteButtons$ = [];
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputFilePeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputFilePeer$$.prototype.$needsResizeNotify$ = function $$AdfDhtmlInputFilePeer$$$$$needsResizeNotify$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.needsResizeNotify", {$needsResizeNotify$:$AdfDhtmlInputFilePeer$$.prototype.$needsResizeNotify$});
$AdfDhtmlInputFilePeer$$.prototype.$resizeNotify$ = function $$AdfDhtmlInputFilePeer$$$$$resizeNotify$$($component$$1266$$) {
  var $domElement$$258$$ = this.$getDomElement$();
  $AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1266$$) && $JSCompiler_StaticMethods__initMultipleUploadDomElement$$(this, $component$$1266$$, $domElement$$258$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.resizeNotify", {$resizeNotify$:$AdfDhtmlInputFilePeer$$.prototype.$resizeNotify$});
$AdfDhtmlInputFilePeer$$.prototype.$getConvertedValue$ = function $$AdfDhtmlInputFilePeer$$$$$getConvertedValue$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.getConvertedValue", {$getConvertedValue$:$AdfDhtmlInputFilePeer$$.prototype.$getConvertedValue$});
$AdfDhtmlInputFilePeer$$.prototype.$getFileUploadManager$ = function $$AdfDhtmlInputFilePeer$$$$$getFileUploadManager$$() {
  null == this.$_fileUploadManager$ && (this.$_fileUploadManager$ = new $AdfFileUploadManager$$(this.$getComponent$()));
  return this.$_fileUploadManager$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.getFileUploadManager", {$getFileUploadManager$:$AdfDhtmlInputFilePeer$$.prototype.$getFileUploadManager$});
$AdfDhtmlInputFilePeer$$.prototype.$getFileUploadUtils$ = function $$AdfDhtmlInputFilePeer$$$$$getFileUploadUtils$$() {
  return this.$_fileUploadUtils$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.getFileUploadUtils", {$getFileUploadUtils$:$AdfDhtmlInputFilePeer$$.prototype.$getFileUploadUtils$});
$AdfDhtmlInputFilePeer$$.prototype.$isEmpty$ = function $$AdfDhtmlInputFilePeer$$$$$isEmpty$$($submittedValue$$22$$) {
  return $JSCompiler_StaticMethods__getUpdateButton$$(this) ? !1 : $AdfDhtmlInputFilePeer$$.$superclass$.$isEmpty$.call(this, $submittedValue$$22$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.isEmpty", {$isEmpty$:$AdfDhtmlInputFilePeer$$.prototype.$isEmpty$});
$AdfDhtmlInputFilePeer$$.prototype.$isUploadQueueEmpty$ = function $$AdfDhtmlInputFilePeer$$$$$isUploadQueueEmpty$$() {
  return 0 < this.$getFileUploadUtils$().$getFileUploadQueue$().length ? !1 : !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.isUploadQueueEmpty", {$isUploadQueueEmpty$:$AdfDhtmlInputFilePeer$$.prototype.$isUploadQueueEmpty$});
$AdfDhtmlInputFilePeer$$.prototype.$isUploadResultFailed$ = function $$AdfDhtmlInputFilePeer$$$$$isUploadResultFailed$$() {
  for (var $uploadResult$$ = this.$getFileUploadUtils$().$getFileUploadResults$(), $i$$320$$ = 0;$i$$320$$ < $uploadResult$$.length;$i$$320$$++) {
    if (!$uploadResult$$.item($i$$320$$).$_success$) {
      return !0;
    }
  }
  return !1;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.isUploadResultFailed", {$isUploadResultFailed$:$AdfDhtmlInputFilePeer$$.prototype.$isUploadResultFailed$});
$AdfDhtmlInputFilePeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputFilePeer$$$$$LazyInitialize$$($component$$1268$$, $domElement$$259$$) {
  $AdfDhtmlInputFilePeer$$.$superclass$.$LazyInitialize$.call(this, $component$$1268$$, $domElement$$259$$);
  if ($component$$1268$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE$) != $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_NONE$) {
    var $domNode$$35$$ = null;
    $AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1268$$) || ($domNode$$35$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1268$$, $domElement$$259$$), $JSCompiler_StaticMethods__getUpdateButton$$(this) && (this.$_clone$ = $domNode$$35$$.cloneNode(!0)), $AdfRichUIPeer$$.$addEventHandlerToDomInstance$($AdfDhtmlInputFilePeer$$, $domNode$$35$$, "change"));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputFilePeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputFilePeer$$.prototype.$ComponentValueChanged$ = function $$AdfDhtmlInputFilePeer$$$$$ComponentValueChanged$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlInputFilePeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlInputFilePeer$$.prototype.$Focus$ = function $$AdfDhtmlInputFilePeer$$$$$Focus$$() {
  var $btn$$ = $JSCompiler_StaticMethods__getUpdateButton$$(this);
  null != $btn$$ ? $AdfFocusUtils$$.$focusElement$($btn$$) : $AdfDhtmlInputFilePeer$$.$superclass$.$Focus$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.Focus", {$Focus$:$AdfDhtmlInputFilePeer$$.prototype.$Focus$});
$AdfDhtmlInputFilePeer$$.prototype.$GetNoteWindowAlignmentNode$ = function $$AdfDhtmlInputFilePeer$$$$$GetNoteWindowAlignmentNode$$($component$$1270$$, $rootNode$$11$$) {
  var $clientId$$218_domNode$$36_updateId$$ = $component$$1270$$.$getClientId$(), $clientId$$218_domNode$$36_updateId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$218_domNode$$36_updateId$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_VALUE_ID$), $clientId$$218_domNode$$36_updateId$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$218_domNode$$36_updateId$$);
  return null != $clientId$$218_domNode$$36_updateId$$ ? $clientId$$218_domNode$$36_updateId$$ : $AdfDhtmlInputFilePeer$$.$superclass$.$GetNoteWindowAlignmentNode$.call(this, $component$$1270$$, $rootNode$$11$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.GetNoteWindowAlignmentNode", {$GetNoteWindowAlignmentNode$:$AdfDhtmlInputFilePeer$$.prototype.$GetNoteWindowAlignmentNode$});
$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputFilePeer$$$$$HandleComponentClick$$($componentEvent$$244_domEvent$$28_inputTextInputElement$$) {
  $AdfDhtmlInputFilePeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$244_domEvent$$28_inputTextInputElement$$);
  var $component$$1271_dlgContentOkButton_element$$233_row$$27$$ = this.$getComponent$(), $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ = $component$$1271_dlgContentOkButton_element$$233_row$$27$$.$getPeer$(), $agent$$311_buttonExpando$$1$$ = $AdfAgent$$.$AGENT$, $page$$132$$ = $AdfPage$$.$PAGE$;
  if (!$component$$1271_dlgContentOkButton_element$$233_row$$27$$.getDisabled() && $componentEvent$$244_domEvent$$28_inputTextInputElement$$.$isLeftButtonPressed$()) {
    $componentEvent$$244_domEvent$$28_inputTextInputElement$$ = $componentEvent$$244_domEvent$$28_inputTextInputElement$$.$getNativeEvent$();
    var $rowUploaded_targetNode$$27$$ = $agent$$311_buttonExpando$$1$$.$getEventTarget$($componentEvent$$244_domEvent$$28_inputTextInputElement$$), $itemId$$2$$ = $agent$$311_buttonExpando$$1$$.getAttribute($rowUploaded_targetNode$$27$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$), $clientId$$219$$ = $component$$1271_dlgContentOkButton_element$$233_row$$27$$.$getClientId$(), $rowId_updateBtnId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$219$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_BUTTON_ID$), $cancelBtnId_uploadBtnId$$ = 
    $AdfRichUIPeer$$.$CreateSubId$($clientId$$219$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$), $deleteBtnId_stopBtnId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$219$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$);
    if ("LABEL" == $agent$$311_buttonExpando$$1$$.$getNodeName$($rowUploaded_targetNode$$27$$)) {
      return this.focus($component$$1271_dlgContentOkButton_element$$233_row$$27$$), $agent$$311_buttonExpando$$1$$.$eatEvent$($componentEvent$$244_domEvent$$28_inputTextInputElement$$), !0;
    }
    if ($rowUploaded_targetNode$$27$$.id == $rowId_updateBtnId$$) {
      $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$219$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$);
      if ($containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ = $agent$$311_buttonExpando$$1$$.getElementById($containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$)) {
        for ($containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ = $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.firstChild;$containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ && 1 != $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.nodeType;) {
          $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ = $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.nextSibling;
        }
        if (null != $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$ && (this.$HideNoteWindow$(), $page$$132$$.$clearMessages$($clientId$$219$$), 0 == $component$$1271_dlgContentOkButton_element$$233_row$$27$$.getValid() && $component$$1271_dlgContentOkButton_element$$233_row$$27$$.setProperty("valid", !0), this.$showPopup$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$, null, $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$), 
        !this.$_dlgContentOkHandlerSetuped$)) {
          this.$_dlgContentOkHandlerSetuped$ = !0;
          var $dlgContentId$$ = $JSCompiler_StaticMethods__getDialogSubId$$(this);
          if ($dlgContentId$$ && ($component$$1271_dlgContentOkButton_element$$233_row$$27$$ = $AdfDhtmlDialogPeer$$.$_getButtonDom$($dlgContentId$$, $AdfDhtmlDialogPeer$$.$_OK_ID$))) {
            var $self$$64$$ = this;
            $agent$$311_buttonExpando$$1$$.$addBubbleEventListener$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, function() {
              if ($AdfAgent$$.$AGENT$.getElementById($dlgContentId$$).getElementsByTagName("input")[0].value) {
                $page$$132$$.$clearMessages$($clientId$$219$$);
                var $componentEvent$$244_domEvent$$28_inputTextInputElement$$ = $self$$64$$.$getComponent$();
                0 == $componentEvent$$244_domEvent$$28_inputTextInputElement$$.getValid() && $componentEvent$$244_domEvent$$28_inputTextInputElement$$.setProperty("valid", !0);
              }
            });
          }
        }
      }
      $agent$$311_buttonExpando$$1$$.$eatEvent$($componentEvent$$244_domEvent$$28_inputTextInputElement$$);
      return !0;
    }
    if ($rowUploaded_targetNode$$27$$.id == $cancelBtnId_uploadBtnId$$) {
      return $page$$132$$.$clearMessages$($clientId$$219$$), $JSCompiler_StaticMethods__uploadFilesInQueue$$(this, $component$$1271_dlgContentOkButton_element$$233_row$$27$$), $agent$$311_buttonExpando$$1$$.$eatEvent$($componentEvent$$244_domEvent$$28_inputTextInputElement$$), !0;
    }
    if ($rowUploaded_targetNode$$27$$.id == $deleteBtnId_stopBtnId$$) {
      return $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$), "auto" != this.$_submitType$ && $AdfDhtmlInputFilePeer$$.$_unmaskPanelElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$), $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$cancelAllUploads$(!0), $agent$$311_buttonExpando$$1$$.$eatEvent$($componentEvent$$244_domEvent$$28_inputTextInputElement$$), 
      !0;
    }
    if (null != $itemId$$2$$) {
      $page$$132$$.$clearMessages$($clientId$$219$$);
      var $rowId_updateBtnId$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$219$$, $itemId$$2$$), $cancelBtnId_uploadBtnId$$ = $AdfRichUIPeer$$.$CreateSubId$($rowId_updateBtnId$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$), $deleteBtnId_stopBtnId$$ = $AdfRichUIPeer$$.$CreateSubId$($rowId_updateBtnId$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$), $retryBtnId$$ = $AdfRichUIPeer$$.$CreateSubId$($rowId_updateBtnId$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$);
      if ($rowUploaded_targetNode$$27$$.id == $cancelBtnId_uploadBtnId$$) {
        $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$cancelCurrentUpload$(!1);
      } else {
        if ($rowUploaded_targetNode$$27$$.id == $deleteBtnId_stopBtnId$$) {
          $component$$1271_dlgContentOkButton_element$$233_row$$27$$ = $agent$$311_buttonExpando$$1$$.getElementById($deleteBtnId_stopBtnId$$);
          if (null != $component$$1271_dlgContentOkButton_element$$233_row$$27$$ && $component$$1271_dlgContentOkButton_element$$233_row$$27$$.getAttribute("disabled")) {
            return;
          }
          $component$$1271_dlgContentOkButton_element$$233_row$$27$$ = $agent$$311_buttonExpando$$1$$.getElementById($rowId_updateBtnId$$);
          ($rowUploaded_targetNode$$27$$ = $agent$$311_buttonExpando$$1$$.getAttribute($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_ROW_UPLOADED_ATTR$)) && "false" != $rowUploaded_targetNode$$27$$ ? $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$deleteUploadedFile$($agent$$311_buttonExpando$$1$$.getAttribute($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$)) : $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$deleteFileFromQueue$($agent$$311_buttonExpando$$1$$.getAttribute($component$$1271_dlgContentOkButton_element$$233_row$$27$$, 
          $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$));
        } else {
          $rowUploaded_targetNode$$27$$.id != $retryBtnId$$ || null == this.$_getUploadResultItem$($itemId$$2$$) || this.$_getUploadResultItem$($itemId$$2$$).$_success$ || ($containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$addFileUploadQueueItem$(this.$_getUploadResultItem$($itemId$$2$$)), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, $itemId$$2$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, 
          $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$2$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $itemId$$2$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1271_dlgContentOkButton_element$$233_row$$27$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $itemId$$2$$), $JSCompiler_StaticMethods__showProgressIndicator$$(this, $itemId$$2$$), $containerId$$5_containerNode$$3_contentNode$$51_peer$$118$$.$getFileUploadUtils$().$isBusy$() || 
          $AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$($component$$1271_dlgContentOkButton_element$$233_row$$27$$));
        }
      }
      $agent$$311_buttonExpando$$1$$.$eatEvent$($componentEvent$$244_domEvent$$28_inputTextInputElement$$);
      return !0;
    }
    null != $rowUploaded_targetNode$$27$$.getAttribute($AdfDhtmlInputFilePeer$$.$_BUTTON_EXPANDO$) && ($agent$$311_buttonExpando$$1$$ = $rowUploaded_targetNode$$27$$.getAttribute($AdfDhtmlInputFilePeer$$.$_BUTTON_EXPANDO$), $componentEvent$$244_domEvent$$28_inputTextInputElement$$ = this.$_getHiddenField$($component$$1271_dlgContentOkButton_element$$233_row$$27$$)) && ($agent$$311_buttonExpando$$1$$ == $AdfDhtmlInputFilePeer$$.$_DLG_UPDATE_BUTTON_BTN$ ? $componentEvent$$244_domEvent$$28_inputTextInputElement$$.value = 
    $AdfDhtmlInputFilePeer$$.$_HIDDENDATA_UPDATE$ : $agent$$311_buttonExpando$$1$$ == $AdfDhtmlInputFilePeer$$.$_DLG_ADD_BUTTON_BTN$ ? $componentEvent$$244_domEvent$$28_inputTextInputElement$$.value = $AdfDhtmlInputFilePeer$$.$_HIDDENDATA_ADD$ : $agent$$311_buttonExpando$$1$$ == $AdfDhtmlInputFilePeer$$.$_DLG_DELETE_BUTTON_BTN$ && ($componentEvent$$244_domEvent$$28_inputTextInputElement$$.value = $AdfDhtmlInputFilePeer$$.$_HIDDENDATA_DELETE$));
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentClick$});
function $JSCompiler_StaticMethods__getDialogSubId$$($JSCompiler_StaticMethods__getDialogSubId$self_clientId$$220$$) {
  $JSCompiler_StaticMethods__getDialogSubId$self_clientId$$220$$ = $JSCompiler_StaticMethods__getDialogSubId$self_clientId$$220$$.$getComponent$().$getClientId$();
  return $AdfDhtmlInputFilePeer$$.$_usesUnifiedButtons$ ? $JSCompiler_StaticMethods__getDialogSubId$self_clientId$$220$$ + "_" + $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTENT_ID$ : $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getDialogSubId$self_clientId$$220$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTENT_ID$);
}
$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentDialog$ = function $$AdfDhtmlInputFilePeer$$$$$HandleComponentDialog$$($componentEvent$$245$$) {
  var $component$$1272_inputFile$$ = this.$getComponent$(), $container$$22_outcome$$3_subid$$7_valueNode$$ = $componentEvent$$245$$.$getOutcome$(), $agent$$312$$ = $AdfAgent$$.$AGENT$;
  this.$preValidate$($component$$1272_inputFile$$, this.$getFileList$($component$$1272_inputFile$$));
  if ($component$$1272_inputFile$$.getValid()) {
    if ($container$$22_outcome$$3_subid$$7_valueNode$$ == $AdfDialogEvent$$.$OUTCOME_OK$) {
      $component$$1272_inputFile$$.$getClientId$();
      var $container$$22_outcome$$3_subid$$7_valueNode$$ = $JSCompiler_StaticMethods__getDialogSubId$$(this), $inputText$$1_value$$200$$ = $agent$$312$$.getElementById($container$$22_outcome$$3_subid$$7_valueNode$$).getElementsByTagName("input")[0];
      if ($inputText$$1_value$$200$$.value) {
        var $container$$22_outcome$$3_subid$$7_valueNode$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1272_inputFile$$.$getClientId$(), $AdfDhtmlInputFilePeer$$.$_UPDATE_VALUE_ID$), $container$$22_outcome$$3_subid$$7_valueNode$$ = $agent$$312$$.getElementById($container$$22_outcome$$3_subid$$7_valueNode$$), $inputText$$1_value$$200$$ = $inputText$$1_value$$200$$.value, $sepIndex$$ = -1;
        if (0 <= ($sepIndex$$ = $inputText$$1_value$$200$$.lastIndexOf("\\")) || 0 <= ($sepIndex$$ = $inputText$$1_value$$200$$.lastIndexOf("/"))) {
          $inputText$$1_value$$200$$ = $inputText$$1_value$$200$$.substr($sepIndex$$ + 1);
        }
        "INPUT" == $AdfAgent$$.$AGENT$.$getNodeName$($container$$22_outcome$$3_subid$$7_valueNode$$) ? $container$$22_outcome$$3_subid$$7_valueNode$$.value = $inputText$$1_value$$200$$ : $agent$$312$$.$setTextContent$($container$$22_outcome$$3_subid$$7_valueNode$$, $inputText$$1_value$$200$$);
        $JSCompiler_StaticMethods__handleFileChange$$(this, $component$$1272_inputFile$$, $inputText$$1_value$$200$$);
      } else {
        return;
      }
    } else {
      $container$$22_outcome$$3_subid$$7_valueNode$$ == $AdfDialogEvent$$.$OUTCOME_CANCEL$ && ($component$$1272_inputFile$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1272_inputFile$$, this.$getDomElement$()), $container$$22_outcome$$3_subid$$7_valueNode$$ = $component$$1272_inputFile$$.parentNode, $container$$22_outcome$$3_subid$$7_valueNode$$.removeChild($component$$1272_inputFile$$), $container$$22_outcome$$3_subid$$7_valueNode$$.appendChild(this.$_clone$), $agent$$312$$.$elementsAdded$(this.$_clone$), 
      this.$_clone$ = this.$_clone$.cloneNode(!0));
    }
    $componentEvent$$245$$.cancel();
    this.$hidePopup$(this.$getComponent$(), $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.HandleComponentDialog", {$HandleComponentDialog$:$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentDialog$});
$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlInputFilePeer$$$$$HandleComponentKeyPress$$($componentEvent$$246$$) {
  var $evt$$101_keyCode$$64$$ = $componentEvent$$246$$.$getNativeEvent$(), $evt$$101_keyCode$$64$$ = $AdfAgent$$.$AGENT$.$getKeyCode$($evt$$101_keyCode$$64$$), $contentNode$$52$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$(this.$getComponent$());
  $AdfPage$$.$PAGE$.$_activeDomNode$ == $contentNode$$52$$ && $evt$$101_keyCode$$64$$ !== $AdfKeyStroke$$.$TAB_KEY$ && $componentEvent$$246$$.cancel();
  $evt$$101_keyCode$$64$$ == $AdfKeyStroke$$.$ENTER_KEY$ && ($AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $AdfLogger$$.$LOGGER$.info("Due to a bug in IE, the enter key press will not invoke the 'Choose File to Upload' dialog.") : $componentEvent$$246$$.$getNativeEventTarget$().click());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlInputFilePeer$$.prototype.$HandleComponentKeyPress$});
function $JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$$($JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$self$$, $element$$234$$) {
  var $component$$1273$$ = $JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$self$$.$getComponent$();
  if ($element$$234$$ && $element$$234$$.files && 1 === $element$$234$$.files.length && $element$$234$$.files[0] instanceof File && void 0 !== $element$$234$$.files[0].size) {
    var $fileSize$$ = $element$$234$$.files[0].size;
    if (!$AdfFileUploadUtils$$.$validateMaxFileSizeMaxDiskSpace$($component$$1273$$, $fileSize$$, $fileSize$$, function($JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$self$$) {
      $AdfPage$$.$PAGE$.$addMessage$($component$$1273$$.$getClientId$(), $JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$self$$);
    })) {
      return !1;
    }
  }
  return !0;
}
$AdfDhtmlInputFilePeer$$.prototype.$HandleDomChange$ = function $$AdfDhtmlInputFilePeer$$$$$HandleDomChange$$($component$$1274$$, $domEvent$$29$$) {
  var $agent$$313_btn$$1_files$$ = $AdfAgent$$.$AGENT$, $element$$235$$ = $AdfAgent$$.$AGENT$.$getEventTarget$($domEvent$$29$$);
  $component$$1274$$.focus();
  this.$preValidate$($component$$1274$$, this.$getFileList$($component$$1274$$));
  if ($component$$1274$$.getValid()) {
    if ($AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1274$$)) {
      if (this.$_useFormData$ && this.$_useFileApi$) {
        for (var $agent$$313_btn$$1_files$$ = $element$$235$$.files, $contentNode$$53_i$$321$$ = 0;$contentNode$$53_i$$321$$ < $agent$$313_btn$$1_files$$.length;$contentNode$$53_i$$321$$++) {
          $file$$6$$ = $agent$$313_btn$$1_files$$[$contentNode$$53_i$$321$$], this.$getFileUploadUtils$().$addFileToQueue$($file$$6$$);
        }
        this.$_displayMode$ != $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_NONE$ && $JSCompiler_StaticMethods__resetInputFileNode$$(this.$getFileUploadUtils$(), $element$$235$$);
      } else {
        this.$getFileUploadUtils$().$addFileToQueue$($element$$235$$);
      }
    } else {
      $agent$$313_btn$$1_files$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && ($agent$$313_btn$$1_files$$ = $JSCompiler_StaticMethods__getUpdateButton$$(this), $contentNode$$53_i$$321$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1274$$), (null == $agent$$313_btn$$1_files$$ ? $contentNode$$53_i$$321$$ : $agent$$313_btn$$1_files$$).select());
      var $file$$6$$ = $element$$235$$.value;
      $JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$$(this, $element$$235$$) && $JSCompiler_StaticMethods__handleFileChange$$(this, $component$$1274$$, $file$$6$$);
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.HandleDomChange", {$HandleDomChange$:$AdfDhtmlInputFilePeer$$.prototype.$HandleDomChange$});
$AdfDhtmlInputFilePeer$$.prototype.$HandleDomDrop$ = function $$AdfDhtmlInputFilePeer$$$$$HandleDomDrop$$($component$$1275$$, $domEvent$$30$$) {
  var $agent$$314$$ = $AdfAgent$$.$AGENT$, $files$$1$$ = $domEvent$$30$$.dataTransfer.files;
  this.$preValidate$($component$$1275$$, this.$getFileList$($component$$1275$$));
  if ($component$$1275$$.getValid()) {
    if ($files$$1$$) {
      for (var $i$$322$$ = 0;$i$$322$$ < $files$$1$$.length;$i$$322$$++) {
        var $file$$7$$ = $files$$1$$[$i$$322$$];
        this.$getFileUploadUtils$().$addFileToQueue$($file$$7$$);
      }
    }
    this.$_displayMode$ != $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_NONE$ && this.$_handleDragLeave$($domEvent$$30$$);
    $agent$$314$$.$eatEvent$($domEvent$$30$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.HandleDomDrop", {$HandleDomDrop$:$AdfDhtmlInputFilePeer$$.prototype.$HandleDomDrop$});
$AdfDhtmlInputFilePeer$$.prototype.$isDataDirty$ = function $$AdfDhtmlInputFilePeer$$$$$isDataDirty$$() {
  if ($AdfPage$$.$PAGE$.$_inAppNavigationFlag$) {
    return !1;
  }
  var $uploadResult$$1$$ = this.$getFileUploadUtils$().$getFileUploadResults$();
  if (null != $uploadResult$$1$$) {
    for (var $i$$323$$ = 0;$i$$323$$ < $uploadResult$$1$$.length;$i$$323$$++) {
      if ($uploadResult$$1$$.item($i$$323$$).$_success$) {
        return !0;
      }
    }
  }
  return this.$getFileUploadUtils$().$isBusy$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.isDataDirty", {$isDataDirty$:$AdfDhtmlInputFilePeer$$.prototype.$isDataDirty$});
$AdfDhtmlInputFilePeer$$.prototype.$isMultipleUpload$ = function $$AdfDhtmlInputFilePeer$$$$$isMultipleUpload$$() {
  return $AdfDhtmlInputFilePeer$$.$_isMultipleUpload$(this.$getComponent$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.isMultipleUpload", {$isMultipleUpload$:$AdfDhtmlInputFilePeer$$.prototype.$isMultipleUpload$});
$AdfDhtmlInputFilePeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlInputFilePeer$$$$$PopupClosed$$($component$$1276_contNode$$, $contentDom$$12$$, $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$) {
  $AdfDhtmlInputFilePeer$$.$superclass$.$PopupClosed$.call(this, $component$$1276_contNode$$, $contentDom$$12$$);
  if ($clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$ == $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$) {
    $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$ = $component$$1276_contNode$$.$getClientId$();
    $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$);
    $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$ = $AdfAgent$$.$AGENT$.getElementById($clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$);
    var $updateBtn$$2$$ = $JSCompiler_StaticMethods__getUpdateButton$$(this);
    $AdfFocusUtils$$.$focusElement$($updateBtn$$2$$);
    $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$ && $clientId$$222_containerId$$6_containerNode$$4_popupId$$47$$.appendChild($contentDom$$12$$);
    $AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1276_contNode$$) || ($component$$1276_contNode$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1276_contNode$$)) && $JSCompiler_StaticMethods__validateSingleInputFileSizeMaxDiskSpace$$(this, $component$$1276_contNode$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlInputFilePeer$$.prototype.$PopupClosed$});
$AdfDhtmlInputFilePeer$$.prototype.$VetoBlurValidation$ = function $$AdfDhtmlInputFilePeer$$$$$VetoBlurValidation$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.VetoBlurValidation", {$VetoBlurValidation$:$AdfDhtmlInputFilePeer$$.prototype.$VetoBlurValidation$});
$AdfDhtmlInputFilePeer$$.prototype.$VetoShowNoteWindow$ = function $$AdfDhtmlInputFilePeer$$$$$VetoShowNoteWindow$$($component$$1277$$) {
  return this.$isPopupVisible$($component$$1277$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_DLG_CONTAINER_ID$) ? !0 : $AdfDhtmlInputFilePeer$$.$superclass$.$VetoShowNoteWindow$.call(this);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.VetoShowNoteWindow", {$VetoShowNoteWindow$:$AdfDhtmlInputFilePeer$$.prototype.$VetoShowNoteWindow$});
function $JSCompiler_StaticMethods__initMultipleUploadDomElement$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$, $domElement$$262$$) {
  var $agent$$316_dropArea$$1$$ = $AdfAgent$$.$AGENT$, $clientId$$224$$ = $component$$1279$$.$getClientId$();
  $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_fileUploadUtils$ || ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_fileUploadUtils$ = new $AdfFileUploadUtils$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$, $domElement$$262$$));
  1 != $AdfFileUploadUtils$$.$_isInPopup$($component$$1279$$) || $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_popupAncestor$ || ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_popupAncestor$ = $AdfFileUploadUtils$$.$_getPopupAncestor$($component$$1279$$), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_popupAncestor$.addEventListener($AdfPopupClosedEvent$$.$POPUP_CLOSED_EVENT_TYPE$, $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$createCallback$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_handlePopupClosed$)), 
  $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_popupAncestor$.addEventListener($AdfPopupOpenedEvent$$.$POPUP_OPENED_EVENT_TYPE$, $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$createCallback$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_handlePopupOpened$)));
  $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_displayMode$ = $component$$1279$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE$);
  if ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_displayMode$ != $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_NONE$) {
    if ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_displayMode$ == $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$) {
      var $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$224$$, $AdfDhtmlInputFilePeer$$.$_DROP_AREA_ID$), $agent$$316_dropArea$$1$$ = $agent$$316_dropArea$$1$$.getElementById($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$);
      $JSCompiler_StaticMethods__loadSettings$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$);
      $JSCompiler_StaticMethods__initDropArea$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$, $agent$$316_dropArea$$1$$.offsetWidth, $agent$$316_dropArea$$1$$.offsetHeight);
    } else {
      var $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$224$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$), $filesize$$1_iconImgHeight$$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_icon$.children[0].height;
      "auto" == $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_submitType$ && $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$);
      $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$);
      for (var $i$$324_paneDivId_rowWidth$$ = 0;$i$$324_paneDivId_rowWidth$$ < $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightRows$;$i$$324_paneDivId_rowWidth$$++) {
        var $row$$28_rowId$$1_success$$1_tmplRow$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$224$$, $i$$324_paneDivId_rowWidth$$), $row$$28_rowId$$1_success$$1_tmplRow$$ = $agent$$316_dropArea$$1$$.getElementById($row$$28_rowId$$1_success$$1_tmplRow$$);
        if (null != $row$$28_rowId$$1_success$$1_tmplRow$$) {
          var $itemId$$3_scrollbarWidth_tmplRowId$$ = $agent$$316_dropArea$$1$$.getAttribute($row$$28_rowId$$1_success$$1_tmplRow$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$);
          null == $itemId$$3_scrollbarWidth_tmplRowId$$ && $AdfDhtmlInputFilePeer$$.$_hideRow$($component$$1279$$, $i$$324_paneDivId_rowWidth$$);
        }
      }
      $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, null);
      $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, null);
      $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, null);
      $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, null);
      $itemId$$3_scrollbarWidth_tmplRowId$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$224$$, null);
      $row$$28_rowId$$1_success$$1_tmplRow$$ = $agent$$316_dropArea$$1$$.getElementById($itemId$$3_scrollbarWidth_tmplRowId$$);
      $i$$324_paneDivId_rowWidth$$ = 0;
      0 < $row$$28_rowId$$1_success$$1_tmplRow$$.offsetWidth && ($i$$324_paneDivId_rowWidth$$ = $row$$28_rowId$$1_success$$1_tmplRow$$.offsetWidth);
      !$JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_rowHeight$ && 0 < $row$$28_rowId$$1_success$$1_tmplRow$$.offsetHeight && ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_rowHeight$ = $row$$28_rowId$$1_success$$1_tmplRow$$.offsetHeight);
      $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ || (0 < $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightRows$ ? 0 < $row$$28_rowId$$1_success$$1_tmplRow$$.offsetHeight && ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ = $row$$28_rowId$$1_success$$1_tmplRow$$.offsetHeight * $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightRows$) : $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ = 
      0);
      0 < $i$$324_paneDivId_rowWidth$$ && $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($itemId$$3_scrollbarWidth_tmplRowId$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_NONE$);
      $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ && 0 < $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ && $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ > $filesize$$1_iconImgHeight$$ ? $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_minPanelSize$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_autoHeightPanelSize$ : 0 < $filesize$$1_iconImgHeight$$ && 
      ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_minPanelSize$ = $filesize$$1_iconImgHeight$$);
      $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_OVERFLOWY$, "scroll");
      $itemId$$3_scrollbarWidth_tmplRowId$$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panel$.offsetWidth - $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panel$.clientWidth;
      if (0 < $i$$324_paneDivId_rowWidth$$) {
        0 === $itemId$$3_scrollbarWidth_tmplRowId$$ ? ($i$$324_paneDivId_rowWidth$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$224$$, "pane"), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ = $agent$$316_dropArea$$1$$.getElementById($i$$324_paneDivId_rowWidth$$).offsetWidth) : $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ = $i$$324_paneDivId_rowWidth$$ + $itemId$$3_scrollbarWidth_tmplRowId$$;
      } else {
        if ($component$$1279$$.getVisible() && (!$JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ || 0 == $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ || !$JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_minPanelSize$)) {
          setTimeout(function() {
            $JSCompiler_StaticMethods__initMultipleUploadDomElement$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$, $domElement$$262$$);
          }, 1E3);
          return;
        }
      }
      $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_OVERFLOWY$, "auto");
      $itemId$$3_scrollbarWidth_tmplRowId$$ = $agent$$316_dropArea$$1$$.getAttribute($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panel$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$);
      $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_addedEventListeners$ || ($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getFileUploadUtils$().addEventListener($AdfFileUploadManager$$.$EVENT_TYPE_PROGRESS$, function($component$$1279$$) {
        if (null != $component$$1279$$.$getFileItem$()) {
          var $domElement$$262$$ = $component$$1279$$.$getFileItem$().$getFilename$();
          $component$$1279$$ = $component$$1279$$.$getPercentComplete$();
          var $agent$$316_dropArea$$1$$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getComponent$(), $domElement$$262$$ = $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $domElement$$262$$).getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$), $domElement$$262$$ = $AdfPage$$.$PAGE$.$findComponent$($AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$($agent$$316_dropArea$$1$$, $domElement$$262$$));
          null != $domElement$$262$$ && $domElement$$262$$.$getPeer$().$UpdateProgressIndicator$($component$$1279$$);
        }
      }), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getFileUploadUtils$().addEventListener($AdfFileUploadManager$$.$EVENT_TYPE_STATUS$, function($component$$1279$$) {
        if ($component$$1279$$.$getOperation$() == $AdfFileUploadManager$$.$OPERATION_UPLOAD$ && $component$$1279$$.$getStatus$() != $AdfFileUploadManager$$.$EVENT_STATUS_START$) {
          var $domElement$$262$$ = $component$$1279$$.$getFileItem$().$getFilename$(), $agent$$316_dropArea$$1$$ = $component$$1279$$.$getStatus$() == $AdfFileUploadManager$$.$EVENT_STATUS_COMPLETE$, $clientId$$224$$ = $AdfAgent$$.$AGENT$;
          $component$$1279$$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getComponent$();
          var $domElement$$262$$ = $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $domElement$$262$$), $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = $domElement$$262$$.getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$);
          $agent$$316_dropArea$$1$$ ? ($AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), 
          $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $agent$$316_dropArea$$1$$ = $AdfAgent$$.$AGENT$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1279$$, 
          $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $agent$$316_dropArea$$1$$ = $agent$$316_dropArea$$1$$.getElementById($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), null != $agent$$316_dropArea$$1$$ && ($agent$$316_dropArea$$1$$.setAttribute("disabled", "disabled"), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_deleteButtons$.push($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$)), $clientId$$224$$.setAttribute($domElement$$262$$, 
          $AdfDhtmlInputFilePeer$$.$_ROW_UPLOADED_ATTR$, "true"), $AdfPage$$.$PAGE$.$setDataDirty$(!0)) : ($AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, 
          $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$));
          $AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$($component$$1279$$);
        } else {
          $component$$1279$$.$getOperation$() == $AdfFileUploadManager$$.$OPERATION_DELETE$ ? ($clientId$$224$$ = $component$$1279$$.$getFileItem$().$getFilename$(), $component$$1279$$ = $component$$1279$$.$getStatus$() == $AdfFileUploadManager$$.$EVENT_STATUS_COMPLETE$, $domElement$$262$$ = $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getComponent$(), $clientId$$224$$ = $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $clientId$$224$$), 
          $component$$1279$$ && $AdfDhtmlInputFilePeer$$.$_removeFileFromUploadQueueUI$($domElement$$262$$, $clientId$$224$$)) : $component$$1279$$.$getOperation$() == $AdfFileUploadManager$$.$OPERATION_CANCEL$ ? $JSCompiler_StaticMethods__handleUploadCancel$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$.$getFileItem$().$getFilename$(), $component$$1279$$.$getStatus$() == $AdfFileUploadManager$$.$EVENT_STATUS_COMPLETE$, !0) : $component$$1279$$.$getOperation$() == 
          $AdfFileUploadManager$$.$OPERATION_CANCEL_ALL$ && $JSCompiler_StaticMethods__handleUploadCancel$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$.$getFileItem$().$getFilename$(), $component$$1279$$.$getStatus$() == $AdfFileUploadManager$$.$EVENT_STATUS_COMPLETE$, !1);
        }
      }), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$getFileUploadUtils$().addEventListener($AdfFileUploadManager$$.$EVENT_TYPE_STATE$, function($domElement$$262$$) {
        if ($domElement$$262$$.$getOperationSource$() == $AdfFileUploadManager$$.$EVENT_SOURCE_QUEUE$) {
          var $agent$$316_dropArea$$1$$ = $domElement$$262$$.$getFileItem$();
          $domElement$$262$$.$getOperation$() == $AdfFileUploadManager$$.$OPERATION_DELETE$ ? $AdfDhtmlInputFilePeer$$.$_removeFileFromUploadQueueUI$($component$$1279$$, $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $agent$$316_dropArea$$1$$.$getFilename$())) : $domElement$$262$$.$getOperation$() == $AdfFileUploadManager$$.$OPERATION_ADDED$ && (null != $domElement$$262$$.getMessage() ? ($domElement$$262$$ = $domElement$$262$$.getMessage(), 
          $AdfInputFileUtils$$.$addUploadErrorFacesMessage$($clientId$$224$$, $component$$1279$$, $domElement$$262$$)) : ($domElement$$262$$ = $AdfDhtmlInputFilePeer$$.$_addFileToUploadQueueUI$($component$$1279$$, $agent$$316_dropArea$$1$$.$getFilename$(), $agent$$316_dropArea$$1$$.$getFilesize$(), $agent$$316_dropArea$$1$$.$getItemId$()), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_rowList$.push($domElement$$262$$)));
        }
      }), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_addedEventListeners$ = !0);
      $JSCompiler_StaticMethods__loadSettings$$($JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$, $component$$1279$$);
      if (null != $itemId$$3_scrollbarWidth_tmplRowId$$) {
        for ($i$$324_paneDivId_rowWidth$$ = 0;$i$$324_paneDivId_rowWidth$$ <= $itemId$$3_scrollbarWidth_tmplRowId$$;$i$$324_paneDivId_rowWidth$$++) {
          if ($row$$28_rowId$$1_success$$1_tmplRow$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$224$$, $i$$324_paneDivId_rowWidth$$), $row$$28_rowId$$1_success$$1_tmplRow$$ = $agent$$316_dropArea$$1$$.getElementById($row$$28_rowId$$1_success$$1_tmplRow$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, 
          $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $i$$324_paneDivId_rowWidth$$), $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = 
          $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $i$$324_paneDivId_rowWidth$$), $agent$$316_dropArea$$1$$.setAttribute($deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $i$$324_paneDivId_rowWidth$$), $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$ = $agent$$316_dropArea$$1$$.getAttribute($row$$28_rowId$$1_success$$1_tmplRow$$, $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$), $filesize$$1_iconImgHeight$$ = 
          $agent$$316_dropArea$$1$$.getAttribute($row$$28_rowId$$1_success$$1_tmplRow$$, $AdfDhtmlInputFilePeer$$.$_ROW_FILESIZE_ATTR$), $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_rowList$.push($row$$28_rowId$$1_success$$1_tmplRow$$), "true" == $agent$$316_dropArea$$1$$.getAttribute($row$$28_rowId$$1_success$$1_tmplRow$$, $AdfDhtmlInputFilePeer$$.$_ROW_UPLOADED_ATTR$)) {
            $row$$28_rowId$$1_success$$1_tmplRow$$ = !0;
            if (null == $filesize$$1_iconImgHeight$$ || 0 > $filesize$$1_iconImgHeight$$) {
              $row$$28_rowId$$1_success$$1_tmplRow$$ = !1, $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, $i$$324_paneDivId_rowWidth$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1279$$, $AdfDhtmlInputFilePeer$$.$_FILESIZE_ID$, $i$$324_paneDivId_rowWidth$$);
            }
            $AdfDhtmlInputFilePeer$$.$_addFileItemToUploadResultList$($component$$1279$$, new $AdfFileUploadManager$$.$FileItem$($i$$324_paneDivId_rowWidth$$, $deleteElem_dropAreaId$$1_filename$$6_panelId$$7$$, $filesize$$1_iconImgHeight$$, null, $row$$28_rowId$$1_success$$1_tmplRow$$));
          }
        }
      }
      $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ && 0 < $JSCompiler_StaticMethods__initMultipleUploadDomElement$self$$.$_panelWidth$ && $JSCompiler_StaticMethods__initPanelSize$$($component$$1279$$);
    }
  }
}
function $JSCompiler_StaticMethods__initPanelSize$$($clientId$$225_component$$1280_panelId$$8$$) {
  var $agent$$317$$ = $AdfAgent$$.$AGENT$, $laf$$83$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $peer$$120$$ = $clientId$$225_component$$1280_panelId$$8$$.$getPeer$();
  $clientId$$225_component$$1280_panelId$$8$$ = $clientId$$225_component$$1280_panelId$$8$$.$getClientId$();
  $clientId$$225_component$$1280_panelId$$8$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$225_component$$1280_panelId$$8$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$);
  var $icon$$12_iconId$$6$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$225_component$$1280_panelId$$8$$, $AdfDhtmlInputFilePeer$$.$_ICON_ID$), $panel$$12$$ = $agent$$317$$.getElementById($clientId$$225_component$$1280_panelId$$8$$), $icon$$12_iconId$$6$$ = $agent$$317$$.getElementById($icon$$12_iconId$$6$$);
  $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($panel$$12$$, "height:" + $peer$$120$$.$_minPanelSize$ + "px;width:" + $peer$$120$$.$_panelWidth$ + "px;overflow-y:hidden");
  $JSCompiler_StaticMethods__initDropArea$$($peer$$120$$, $clientId$$225_component$$1280_panelId$$8$$, $peer$$120$$.$_panelWidth$, $peer$$120$$.$_minPanelSize$);
  $peer$$120$$.$_initHeightRows$ = 0 < $peer$$120$$.$_autoHeightRows$ ? $peer$$120$$.$_autoHeightRows$ : 0;
  $peer$$120$$.$_useDnD$ && $AdfDomUtils$$.$addCSSClassName$($panel$$12$$, $laf$$83$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$));
  if (0 < $JSCompiler_StaticMethods__getTotalRows$$($peer$$120$$.$getFileUploadUtils$()) || !$peer$$120$$.$_useDnD$) {
    $icon$$12_iconId$$6$$ && $icon$$12_iconId$$6$$.parentNode && ($icon$$12_iconId$$6$$.parentNode.removeChild($icon$$12_iconId$$6$$), $agent$$317$$.$elementsRemoved$($icon$$12_iconId$$6$$)), $AdfDomUtils$$.$removeCSSClassName$($panel$$12$$, $laf$$83$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$));
  }
}
function $JSCompiler_StaticMethods__initDropArea$$($JSCompiler_StaticMethods__initDropArea$self$$, $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$, $width$$24$$, $height$$29$$) {
  var $agent$$318$$ = $AdfAgent$$.$AGENT$, $icon$$13_iconId$$7$$ = $AdfRichUIPeer$$.$CreateSubId$($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$, $AdfDhtmlInputFilePeer$$.$_ICON_ID$);
  $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$, $AdfDhtmlInputFilePeer$$.$_ICON_HOVER_ID$);
  $icon$$13_iconId$$7$$ = $agent$$318$$.getElementById($icon$$13_iconId$$7$$);
  $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$ = $agent$$318$$.getElementById($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$);
  if ($icon$$13_iconId$$7$$) {
    var $iconImg_iconImgHeight$$1$$ = $icon$$13_iconId$$7$$.children[0], $iconImgWidth$$ = $iconImg_iconImgHeight$$1$$.width, $iconImg_iconImgHeight$$1$$ = $iconImg_iconImgHeight$$1$$.height, $top$$16$$ = $height$$29$$ / 2 - $iconImg_iconImgHeight$$1$$ / 2, $top$$16$$ = 0 > $top$$16$$ ? 0 : $top$$16$$, $left$$15$$ = $width$$24$$ / 2 - $iconImgWidth$$ / 2, $left$$15$$ = 0 > $left$$15$$ ? 0 : $left$$15$$;
    $JSCompiler_StaticMethods__initDropArea$self$$.$_displayMode$ == $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$ ? $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($icon$$13_iconId$$7$$, "width:" + $iconImgWidth$$ + "px;height:" + $iconImg_iconImgHeight$$1$$ + "px;position:relative;top:" + $top$$16$$ + "px;left:" + $left$$15$$ + "px") : $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($icon$$13_iconId$$7$$, "width:" + $iconImgWidth$$ + "px;height:" + $iconImg_iconImgHeight$$1$$ + "px;position:absolute;top:" + 
    $top$$16$$ + "px;left:" + $left$$15$$ + "px");
  }
  $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$ && ($iconImg_iconImgHeight$$1$$ = $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$.children[0], $iconImgWidth$$ = $iconImg_iconImgHeight$$1$$.width, $iconImg_iconImgHeight$$1$$ = $iconImg_iconImgHeight$$1$$.height, $top$$16$$ = $height$$29$$ / 2 - $iconImg_iconImgHeight$$1$$ / 2, $top$$16$$ = 0 > $top$$16$$ ? 0 : $top$$16$$, $left$$15$$ = $width$$24$$ / 2 - $iconImgWidth$$ / 2, $left$$15$$ = 0 > $left$$15$$ ? 0 : $left$$15$$, $JSCompiler_StaticMethods__initDropArea$self$$.$_displayMode$ == 
  $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$ ? $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$, "width:" + $iconImgWidth$$ + "px;height:" + $iconImg_iconImgHeight$$1$$ + "px;position:relative;top:" + $top$$16$$ + "px;left:" + $left$$15$$ + "px") : $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$, "width:" + $iconImgWidth$$ + "px;height:" + $iconImg_iconImgHeight$$1$$ + "px;position:absolute;top:" + $top$$16$$ + 
  "px;left:" + $left$$15$$ + "px"), $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$ && $dropAreaId$$2_iconHover$$1_iconHoverId$$1$$.parentNode && ($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$.parentNode.removeChild($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$), $agent$$318$$.$elementsRemoved$($dropAreaId$$2_iconHover$$1_iconHoverId$$1$$)));
}
function $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__getDomRow$self$$, $filename$$7$$) {
  var $agent$$319$$ = $AdfAgent$$.$AGENT$;
  if ($JSCompiler_StaticMethods__getDomRow$self$$.$_rowList$) {
    for (var $i$$325$$ = 0;$i$$325$$ < $JSCompiler_StaticMethods__getDomRow$self$$.$_rowList$.length;$i$$325$$++) {
      if ($agent$$319$$.getAttribute($JSCompiler_StaticMethods__getDomRow$self$$.$_rowList$[$i$$325$$], $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$) == $filename$$7$$) {
        return $JSCompiler_StaticMethods__getDomRow$self$$.$_rowList$[$i$$325$$];
      }
    }
  }
  return null;
}
$JSCompiler_prototypeAlias$$ = $AdfDhtmlInputFilePeer$$.prototype;
$JSCompiler_prototypeAlias$$.$_getHiddenField$ = function $$JSCompiler_prototypeAlias$$$$_getHiddenField$$($component$$1281_hiddenFieldId$$) {
  $component$$1281_hiddenFieldId$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1281_hiddenFieldId$$.$getClientId$(), "hiddendata");
  return $AdfAgent$$.$AGENT$.getElementsByName($component$$1281_hiddenFieldId$$)[0];
};
function $JSCompiler_StaticMethods__getUpdateButton$$($JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$) {
  $JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$ = $JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$.$getComponent$().$getClientId$();
  $JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$, $AdfDhtmlInputFilePeer$$.$_UPDATE_BUTTON_ID$);
  return $AdfAgent$$.$AGENT$.getElementById($JSCompiler_StaticMethods__getUpdateButton$self_clientId$$226_updateBtnId$$1$$);
}
$JSCompiler_prototypeAlias$$.$_getUploadResultItem$ = function $$JSCompiler_prototypeAlias$$$$_getUploadResultItem$$($itemId$$4$$) {
  for (var $uploadResult$$2$$ = this.$getFileUploadUtils$().$getFileUploadResults$(), $i$$326$$ = 0;$i$$326$$ < $uploadResult$$2$$.length;$i$$326$$++) {
    if ($uploadResult$$2$$.item($i$$326$$).$getItemId$() == $itemId$$4$$) {
      return $uploadResult$$2$$.item($i$$326$$);
    }
  }
  return null;
};
$JSCompiler_prototypeAlias$$.$_handleDragEnter$ = function $$JSCompiler_prototypeAlias$$$$_handleDragEnter$$($event$$210$$) {
  var $agent$$320$$ = $AdfAgent$$.$AGENT$;
  if (null != $event$$210$$ && !this.$_dragEntered$) {
    var $panel$$13$$ = null == this.$_panel$ ? this.$_dropArea$ : this.$_panel$;
    $AdfDomUtils$$.$addCSSClassName$($panel$$13$$, this.$_cssClassUploadPanelDrag$);
    this.$_iconHover$ && this.$_useDnD$ && (this.$_icon$ && this.$_icon$.parentNode && (this.$_icon$.parentNode.removeChild(this.$_icon$), $agent$$320$$.$elementsRemoved$(this.$_icon$)), $panel$$13$$.appendChild(this.$_iconHover$), $agent$$320$$.$elementsAdded$(this.$_iconHover$));
    this.$_dragEntered$ = !0;
  }
  $agent$$320$$.$eatEvent$($event$$210$$);
};
$JSCompiler_prototypeAlias$$.$_handleDragLeave$ = function $$JSCompiler_prototypeAlias$$$$_handleDragLeave$$($event$$211$$) {
  var $agent$$321$$ = $AdfAgent$$.$AGENT$;
  if (null != $event$$211$$) {
    var $panel$$14$$ = null == this.$_panel$ ? this.$_dropArea$ : this.$_panel$, $totalRows$$ = $JSCompiler_StaticMethods__getTotalRows$$(this.$getFileUploadUtils$());
    $AdfDomUtils$$.$removeCSSClassName$($panel$$14$$, this.$_cssClassUploadPanelDrag$);
    this.$_icon$ && (0 < $totalRows$$ ? (this.$_icon$.parentNode && (this.$_icon$.parentNode.removeChild(this.$_icon$), $agent$$321$$.$elementsRemoved$(this.$_icon$)), this.$_iconHover$.parentNode && (this.$_iconHover$.parentNode.removeChild(this.$_iconHover$), $agent$$321$$.$elementsRemoved$(this.$_iconHover$))) : this.$_icon$ && this.$_useDnD$ && ($panel$$14$$.appendChild(this.$_icon$), $agent$$321$$.$elementsAdded$(this.$_icon$)));
    this.$_dragEntered$ = !1;
  }
  $agent$$321$$.$eatEvent$($event$$211$$);
};
$JSCompiler_prototypeAlias$$.$_handleDragOver$ = function $$JSCompiler_prototypeAlias$$$$_handleDragOver$$($event$$212$$) {
  var $agent$$322$$ = $AdfAgent$$.$AGENT$;
  if (null != $event$$212$$ && !this.$_dragEntered$) {
    var $panel$$15$$ = null == this.$_panel$ ? this.$_dropArea$ : this.$_panel$;
    $AdfDomUtils$$.$addCSSClassName$($panel$$15$$, this.$_cssClassUploadPanelDrag$);
    this.$_iconHover$ && this.$_useDnD$ && (this.$_icon$ && this.$_icon$.parentNode && (this.$_icon$.parentNode.removeChild(this.$_icon$), $agent$$322$$.$elementsRemoved$(this.$_icon$)), $panel$$15$$.appendChild(this.$_iconHover$), $agent$$322$$.$elementsAdded$(this.$_iconHover$));
    this.$_dragEntered$ = !0;
  }
  $agent$$322$$.$eatEvent$($event$$212$$);
};
function $JSCompiler_StaticMethods__handleFileChange$$($JSCompiler_StaticMethods__handleFileChange$self$$, $component$$1284$$, $file$$8$$) {
  var $sepIndex$$1$$ = -1;
  if ($file$$8$$ && 0 <= ($sepIndex$$1$$ = $file$$8$$.lastIndexOf("\\")) || 0 <= ($sepIndex$$1$$ = $file$$8$$.lastIndexOf("/"))) {
    $file$$8$$ = $file$$8$$.substr($sepIndex$$1$$ + 1);
  }
  $file$$8$$ && " " == $file$$8$$.charAt(0) ? ($component$$1284$$.setProperty("valid", !1), $AdfInputFileUtils$$.$addUploadErrorMessage$($component$$1284$$.$getClientId$())) : $JSCompiler_StaticMethods__handleFileChange$self$$.$Validate$($component$$1284$$, $file$$8$$);
}
$JSCompiler_prototypeAlias$$.$_handlePopupClosed$ = function $$JSCompiler_prototypeAlias$$$$_handlePopupClosed$$() {
  this.$getComponent$().$getClientId$();
  var $requestItemId$$ = this.$_currentRequestItemId$;
  null != $requestItemId$$ && (this.$_stopUpload$ = !0, this.$_cancelCurrentUpload$($requestItemId$$, !0, !0), $JSCompiler_StaticMethods__enableAllDeleteButtons$$(this));
  this.$getFileUploadUtils$().$unload$();
};
$JSCompiler_prototypeAlias$$.$_handlePopupOpened$ = function $$JSCompiler_prototypeAlias$$$$_handlePopupOpened$$() {
  $JSCompiler_StaticMethods__initMultipleUploadDomElement$$(this, this.$getComponent$(), this.$getDomElement$());
};
function $JSCompiler_StaticMethods__handleUploadCancel$$($JSCompiler_StaticMethods__handleUploadCancel$self$$, $filename$$9_itemId$$5$$, $removeItem$$, $uploadNext$$) {
  var $component$$1286$$ = $JSCompiler_StaticMethods__handleUploadCancel$self$$.$getComponent$();
  $filename$$9_itemId$$5$$ = $JSCompiler_StaticMethods__getDomRow$$($JSCompiler_StaticMethods__handleUploadCancel$self$$, $filename$$9_itemId$$5$$).getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$);
  $removeItem$$ ? ($JSCompiler_StaticMethods__handleUploadCancel$self$$.$_removeFileFromUploadQueue$($filename$$9_itemId$$5$$), $JSCompiler_StaticMethods__enableAllDeleteButtons$$($JSCompiler_StaticMethods__handleUploadCancel$self$$)) : ($AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1286$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $filename$$9_itemId$$5$$), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1286$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $filename$$9_itemId$$5$$));
  $uploadNext$$ && $AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$($component$$1286$$);
}
$JSCompiler_prototypeAlias$$.$_removeFileFromUploadQueue$ = function $$JSCompiler_prototypeAlias$$$$_removeFileFromUploadQueue$$($itemId$$7$$) {
  var $agent$$325$$ = $AdfAgent$$.$AGENT$, $component$$1288_i$$327$$ = this.$getComponent$();
  0 == $component$$1288_i$$327$$.getValid() && $component$$1288_i$$327$$.setProperty("valid", !0);
  for ($component$$1288_i$$327$$ = 0;$component$$1288_i$$327$$ < this.$_rowList$.length;$component$$1288_i$$327$$++) {
    if (this.$_rowList$[$component$$1288_i$$327$$].getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$) == $itemId$$7$$) {
      this.$getFileUploadUtils$().$deleteFileFromQueue$($agent$$325$$.getAttribute(this.$_rowList$[$component$$1288_i$$327$$], $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$));
      break;
    }
  }
};
function $JSCompiler_StaticMethods__loadSettings$$($JSCompiler_StaticMethods__loadSettings$self$$, $component$$1289$$) {
  var $clientId$$228$$ = $component$$1289$$.$getClientId$(), $settings$$ = null;
  if ($JSCompiler_StaticMethods__loadSettings$self$$.$_settings$) {
    $settings$$ = $JSCompiler_StaticMethods__loadSettings$self$$.$_settings$;
  } else {
    $JSCompiler_StaticMethods__loadSettings$self$$.$_settings$ = [];
    var $settings$$ = $JSCompiler_StaticMethods__loadSettings$self$$.$_settings$, $dropAreaId$$3$$ = null;
    $component$$1289$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE$) == $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$ ? ($dropAreaId$$3$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$228$$, $AdfDhtmlInputFilePeer$$.$_DROP_AREA_ID$), $settings$$.dropAreaId = $dropAreaId$$3$$, $settings$$.fallbackInputId = $AdfRichUIPeer$$.$CreateSubId$($clientId$$228$$, $AdfDhtmlInputFilePeer$$.$_FALLBACK_ID$)) : $dropAreaId$$3$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$228$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$);
    $component$$1289$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE$) != $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$ && ($settings$$.inputId = $AdfRichUIPeer$$.$CreateSubId$($clientId$$228$$, $AdfDhtmlInputFilePeer$$.$_INPUT_ID$));
    $settings$$.dropAreaId = $dropAreaId$$3$$;
  }
  $JSCompiler_StaticMethods__loadSettings$self$$.$getFileUploadUtils$().load($settings$$);
}
function $JSCompiler_StaticMethods__showProgressIndicator$$($JSCompiler_StaticMethods__showProgressIndicator$self$$, $itemId$$9$$) {
  var $prgIndTypeId$$ = null, $prgIndTypeId$$ = $JSCompiler_StaticMethods__showProgressIndicator$self$$.$_useFileApi$ && $JSCompiler_StaticMethods__showProgressIndicator$self$$.$_useFormData$ ? $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ : $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$;
  $AdfDhtmlInputFilePeer$$.$_showListElement$($JSCompiler_StaticMethods__showProgressIndicator$self$$.$getComponent$(), $prgIndTypeId$$, $itemId$$9$$);
}
function $JSCompiler_StaticMethods__uploadFilesInQueue$$($JSCompiler_StaticMethods__uploadFilesInQueue$self$$, $component$$1291$$, $filename$$12$$) {
  var $agent$$327$$ = $AdfAgent$$.$AGENT$, $clientId$$229_i$$328$$ = $component$$1291$$.$getClientId$();
  if ($JSCompiler_StaticMethods__getTotalRows$$($JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$getFileUploadUtils$()) > $JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_maximumFiles$ && 0 < $JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_maximumFiles$) {
    $AdfInputFileUtils$$.$addUploadErrorMessageKey$($clientId$$229_i$$328$$, $component$$1291$$, "af_inputFile.MSG_UPLOAD_MAXIMUM_FILES_ERROR", "af_inputFile.MSG_UPLOAD_MAXIMUM_FILES_ERROR_DETAIL");
  } else {
    $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1291$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$);
    $JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_stopUpload$ = !1;
    for ($clientId$$229_i$$328$$ = 0;$clientId$$229_i$$328$$ < $JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_rowList$.length;$clientId$$229_i$$328$$++) {
      var $itemId$$11_rowUploaded$$2$$ = $agent$$327$$.getAttribute($JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_rowList$[$clientId$$229_i$$328$$], $AdfDhtmlInputFilePeer$$.$_ROW_UPLOADED_ATTR$);
      $itemId$$11_rowUploaded$$2$$ && "false" != $itemId$$11_rowUploaded$$2$$ || ($itemId$$11_rowUploaded$$2$$ = $JSCompiler_StaticMethods__uploadFilesInQueue$self$$.$_rowList$[$clientId$$229_i$$328$$].getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$), $JSCompiler_StaticMethods__showProgressIndicator$$($JSCompiler_StaticMethods__uploadFilesInQueue$self$$, $itemId$$11_rowUploaded$$2$$));
    }
    $AdfDhtmlInputFilePeer$$.$_unmaskPanelElement$($component$$1291$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$);
    null != $filename$$12$$ ? $AdfDhtmlInputFilePeer$$.$_uploadFileInQueue$($component$$1291$$, $filename$$12$$) : $AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$($component$$1291$$);
  }
}
$AdfDhtmlInputFilePeer$$.$_addFileItemToUploadResultList$ = function $$AdfDhtmlInputFilePeer$$$$_addFileItemToUploadResultList$$($component$$1292$$, $fileItem$$3$$) {
  var $peer$$121$$ = $component$$1292$$.$getPeer$();
  0 == $component$$1292$$.getValid() && $component$$1292$$.setProperty("valid", !0);
  $peer$$121$$.$_getUploadResultItem$($fileItem$$3$$.$getItemId$()) || $peer$$121$$.$getFileUploadUtils$().$addFileUploadResultItem$($fileItem$$3$$);
};
$AdfDhtmlInputFilePeer$$.$_addFileToUploadQueueUI$ = function $$AdfDhtmlInputFilePeer$$$$_addFileToUploadQueueUI$$($component$$1293_totalRows$$1$$, $filename$$13_rowHeight$$, $fileListHeight_filesize$$2$$, $itemId$$12$$) {
  var $agent$$328$$ = $AdfAgent$$.$AGENT$, $filenameElem_laf$$84$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $peer$$122$$ = $component$$1293_totalRows$$1$$.$getPeer$(), $domDoc$$6$$ = $peer$$122$$.$getDomDocument$(), $clientId$$230_row$$34_rowId$$2$$ = $component$$1293_totalRows$$1$$.$getClientId$(), $panel$$16$$ = $AdfDhtmlInputFilePeer$$.$_getUploadPanel$($clientId$$230_row$$34_rowId$$2$$);
  $peer$$122$$.$_icon$ && $peer$$122$$.$_icon$.parentNode && ($peer$$122$$.$_icon$.parentNode.removeChild($peer$$122$$.$_icon$), $agent$$328$$.$elementsRemoved$($peer$$122$$.$_icon$), $AdfDomUtils$$.$removeCSSClassName$($panel$$16$$, $filenameElem_laf$$84$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$)));
  $peer$$122$$.$_iconHover$ && $peer$$122$$.$_iconHover$.parentNode && ($peer$$122$$.$_iconHover$.parentNode.removeChild($peer$$122$$.$_iconHover$), $agent$$328$$.$elementsRemoved$($peer$$122$$.$_iconHover$), $AdfDomUtils$$.$removeCSSClassName$($panel$$16$$, $filenameElem_laf$$84$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$)));
  null == $itemId$$12$$ && ($itemId$$12$$ = $agent$$328$$.getAttribute($panel$$16$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$), $itemId$$12$$ = null != $itemId$$12$$ ? parseInt($itemId$$12$$) + 1 : 0);
  $agent$$328$$.setAttribute($panel$$16$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$12$$);
  $clientId$$230_row$$34_rowId$$2$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$230_row$$34_rowId$$2$$, $itemId$$12$$);
  $clientId$$230_row$$34_rowId$$2$$ = $agent$$328$$.getElementById($clientId$$230_row$$34_rowId$$2$$);
  null == $clientId$$230_row$$34_rowId$$2$$ && ($clientId$$230_row$$34_rowId$$2$$ = $AdfDhtmlInputFilePeer$$.$_createNewRow$($component$$1293_totalRows$$1$$, $itemId$$12$$));
  $AdfDhtmlInputFilePeer$$.$_showListRow$($component$$1293_totalRows$$1$$, $itemId$$12$$);
  var $cancelElem_filesizeElem$$ = $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $itemId$$12$$), $deleteElem$$1_filenameWrapper$$ = $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$12$$), $retryElem$$ = $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, $itemId$$12$$);
  $agent$$328$$.setAttribute($clientId$$230_row$$34_rowId$$2$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$12$$);
  $agent$$328$$.setAttribute($clientId$$230_row$$34_rowId$$2$$, $AdfDhtmlInputFilePeer$$.$_ROW_FILENAME_ATTR$, $filename$$13_rowHeight$$);
  $agent$$328$$.setAttribute($cancelElem_filesizeElem$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$12$$);
  $agent$$328$$.setAttribute($deleteElem$$1_filenameWrapper$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$12$$);
  $agent$$328$$.setAttribute($retryElem$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$12$$);
  $agent$$328$$.setAttribute($cancelElem_filesizeElem$$, "aria-label", $filenameElem_laf$$84$$.$getTranslatedString$("af_inputFile.LABEL_FILE_CANCEL_BUTTON_ACC", $filename$$13_rowHeight$$));
  $agent$$328$$.setAttribute($deleteElem$$1_filenameWrapper$$, "aria-label", $filenameElem_laf$$84$$.$getTranslatedString$("af_inputFile.LABEL_FILE_CANCEL_BUTTON_ACC", $filename$$13_rowHeight$$));
  $agent$$328$$.setAttribute($retryElem$$, "aria-label", $filenameElem_laf$$84$$.$getTranslatedString$("af_inputFile.LABEL_FILE_RETRY_BUTTON_ACC", $filename$$13_rowHeight$$));
  $filenameElem_laf$$84$$ = $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_FILENAME_ID$, $itemId$$12$$);
  $cancelElem_filesizeElem$$ = $AdfDhtmlInputFilePeer$$.$_getListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_FILESIZE_ID$, $itemId$$12$$);
  $deleteElem$$1_filenameWrapper$$ = $domDoc$$6$$.createElement("a");
  $filenameElem_laf$$84$$.appendChild($deleteElem$$1_filenameWrapper$$);
  $deleteElem$$1_filenameWrapper$$.setAttribute("title", $filename$$13_rowHeight$$);
  16 < $filename$$13_rowHeight$$.length ? $deleteElem$$1_filenameWrapper$$.appendChild($domDoc$$6$$.createTextNode($filename$$13_rowHeight$$.substr(0, 15) + "...")) : $deleteElem$$1_filenameWrapper$$.appendChild($domDoc$$6$$.createTextNode($filename$$13_rowHeight$$));
  null != $fileListHeight_filesize$$2$$ && ($cancelElem_filesizeElem$$.appendChild($domDoc$$6$$.createTextNode($AdfDhtmlInputFilePeer$$.$_getConvertedNumber$($fileListHeight_filesize$$2$$))), $agent$$328$$.setAttribute($clientId$$230_row$$34_rowId$$2$$, $AdfDhtmlInputFilePeer$$.$_ROW_FILESIZE_ATTR$, $fileListHeight_filesize$$2$$));
  $agent$$328$$.setAttribute($clientId$$230_row$$34_rowId$$2$$, $AdfDhtmlInputFilePeer$$.$_ROW_UPLOADED_ATTR$, "false");
  $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$12$$);
  $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $itemId$$12$$);
  $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, $itemId$$12$$);
  $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, $itemId$$12$$);
  $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $itemId$$12$$);
  $peer$$122$$.$_useFileApi$ && $peer$$122$$.$_useFormData$ ? ($AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $itemId$$12$$), $peer$$122$$.$getFileUploadUtils$().$isBusy$() || $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, $itemId$$12$$)) : ($AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, 
  $itemId$$12$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $itemId$$12$$), $peer$$122$$.$getFileUploadUtils$().$isBusy$() || $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1293_totalRows$$1$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $itemId$$12$$));
  $component$$1293_totalRows$$1$$ = $JSCompiler_StaticMethods__getTotalRows$$($peer$$122$$.$getFileUploadUtils$()) + 1;
  $filename$$13_rowHeight$$ = $clientId$$230_row$$34_rowId$$2$$.offsetHeight;
  $fileListHeight_filesize$$2$$ = $component$$1293_totalRows$$1$$ * parseInt($filename$$13_rowHeight$$);
  $component$$1293_totalRows$$1$$ > $peer$$122$$.$_initHeightRows$ && $component$$1293_totalRows$$1$$ <= $peer$$122$$.$_rows$ ? ($fileListHeight_filesize$$2$$ = 1 == $component$$1293_totalRows$$1$$ ? parseInt($filename$$13_rowHeight$$) : $component$$1293_totalRows$$1$$ * parseInt($filename$$13_rowHeight$$), $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($panel$$16$$, "height:" + $fileListHeight_filesize$$2$$ + "px;width:" + $peer$$122$$.$_panelWidth$ + "px;overflow-y:hidden")) : $component$$1293_totalRows$$1$$ > 
  $peer$$122$$.$_rows$ && ($fileListHeight_filesize$$2$$ = $peer$$122$$.$_rows$ * parseInt($filename$$13_rowHeight$$), $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($panel$$16$$, "height:" + $fileListHeight_filesize$$2$$ + "px;width:" + $peer$$122$$.$_panelWidth$ + "px;overflow-y:auto;margin-right: 0px;"));
  return $clientId$$230_row$$34_rowId$$2$$;
};
$AdfDhtmlInputFilePeer$$.$_createNewRow$ = function $$AdfDhtmlInputFilePeer$$$$_createNewRow$$($component$$1294$$, $itemId$$13$$) {
  var $agent$$329_prgDtmComp$$ = $AdfAgent$$.$AGENT$, $clientId$$231_newPrgDtmId$$ = $component$$1294$$.$getClientId$(), $tmplRowId$$1$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$231_newPrgDtmId$$, null), $row$$35$$ = $agent$$329_prgDtmComp$$.getElementById($tmplRowId$$1$$), $rowId$$3$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$231_newPrgDtmId$$, $itemId$$13$$), $templateRow$$ = $row$$35$$.cloneNode($row$$35$$), $filenameElem$$1_filenameId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, 
  $AdfDhtmlInputFilePeer$$.$_FILENAME_ID$, null), $filesizeElem$$1_filesizeId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILESIZE_ID$, null), $fileDoneElem_fileDoneId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, null), $fileFailedId_prgDtmElem$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, null), $cancelBtnId$$1_cancelElem$$1$$ = 
  $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, null), $deleteBtnId$$1_deleteElem$$2$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, null), $retryBtnId$$1_retryElem$$1$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, null), $newPrgDtmComp_prgDtmId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, 
  $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, null), $prgIndDtmElem_prgIndDtmId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, null);
  $agent$$329_prgDtmComp$$.setAttribute($row$$35$$, "id", $rowId$$3$$);
  $agent$$329_prgDtmComp$$.setAttribute($row$$35$$, $AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$, $itemId$$13$$);
  var $newFilenameId_prgDtmBarElem_prgDtmBarId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILENAME_ID$, $itemId$$13$$), $newFilesizeId_newPrgDtmContentId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILESIZE_ID$, $itemId$$13$$), $newFileDoneId_prgDtmContentElem_prgDtmContentId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILE_DONE_ID$, $itemId$$13$$), 
  $newFileFailedId_newPrgDtmBarId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $itemId$$13$$), $newCancelBtnId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $itemId$$13$$), $newDeleteBtnId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$13$$), $newRetryBtnId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, 
  $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, $itemId$$13$$), $clientId$$231_newPrgDtmId$$ = $clientId$$231_newPrgDtmId$$ + $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ + $itemId$$13$$, $newPrgIndDtmId$$ = $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1294$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_INDTM_ID$, $itemId$$13$$), $filenameElem$$1_filenameId$$ = $agent$$329_prgDtmComp$$.getElementById($filenameElem$$1_filenameId$$), $filesizeElem$$1_filesizeId$$ = $agent$$329_prgDtmComp$$.getElementById($filesizeElem$$1_filesizeId$$), 
  $fileDoneElem_fileDoneId$$ = $agent$$329_prgDtmComp$$.getElementById($fileDoneElem_fileDoneId$$), $fileFailedElem$$ = $agent$$329_prgDtmComp$$.getElementById($fileFailedId_prgDtmElem$$), $fileFailedId_prgDtmElem$$ = $agent$$329_prgDtmComp$$.getElementById($newPrgDtmComp_prgDtmId$$), $prgIndDtmElem_prgIndDtmId$$ = $agent$$329_prgDtmComp$$.getElementById($prgIndDtmElem_prgIndDtmId$$), $cancelBtnId$$1_cancelElem$$1$$ = $agent$$329_prgDtmComp$$.getElementById($cancelBtnId$$1_cancelElem$$1$$), $deleteBtnId$$1_deleteElem$$2$$ = 
  $agent$$329_prgDtmComp$$.getElementById($deleteBtnId$$1_deleteElem$$2$$), $retryBtnId$$1_retryElem$$1$$ = $agent$$329_prgDtmComp$$.getElementById($retryBtnId$$1_retryElem$$1$$);
  $agent$$329_prgDtmComp$$.setAttribute($filenameElem$$1_filenameId$$, "id", $newFilenameId_prgDtmBarElem_prgDtmBarId$$);
  $agent$$329_prgDtmComp$$.setAttribute($filesizeElem$$1_filesizeId$$, "id", $newFilesizeId_newPrgDtmContentId$$);
  $agent$$329_prgDtmComp$$.setAttribute($fileDoneElem_fileDoneId$$, "id", $newFileDoneId_prgDtmContentElem_prgDtmContentId$$);
  $agent$$329_prgDtmComp$$.setAttribute($fileFailedElem$$, "id", $newFileFailedId_newPrgDtmBarId$$);
  $agent$$329_prgDtmComp$$.setAttribute($cancelBtnId$$1_cancelElem$$1$$, "id", $newCancelBtnId$$);
  $agent$$329_prgDtmComp$$.setAttribute($deleteBtnId$$1_deleteElem$$2$$, "id", $newDeleteBtnId$$);
  $agent$$329_prgDtmComp$$.setAttribute($retryBtnId$$1_retryElem$$1$$, "id", $newRetryBtnId$$);
  $agent$$329_prgDtmComp$$.setAttribute($fileFailedId_prgDtmElem$$, "id", $clientId$$231_newPrgDtmId$$);
  $agent$$329_prgDtmComp$$.setAttribute($fileFailedId_prgDtmElem$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_ITEM_ID_ATTR$, $clientId$$231_newPrgDtmId$$);
  $agent$$329_prgDtmComp$$.setAttribute($prgIndDtmElem_prgIndDtmId$$, "id", $newPrgIndDtmId$$);
  $newFilenameId_prgDtmBarElem_prgDtmBarId$$ = $AdfRichUIPeer$$.$CreateSubId$($newPrgDtmComp_prgDtmId$$, $AdfDhtmlProgressIndicatorPeer$$.$_PROGRESS_BAR_ID$);
  $newFileDoneId_prgDtmContentElem_prgDtmContentId$$ = $AdfRichUIPeer$$.$CreateSubId$($newPrgDtmComp_prgDtmId$$, "content");
  $newFileFailedId_newPrgDtmBarId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$231_newPrgDtmId$$, $AdfDhtmlProgressIndicatorPeer$$.$_PROGRESS_BAR_ID$);
  $newFilesizeId_newPrgDtmContentId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$231_newPrgDtmId$$, "content");
  $newFilenameId_prgDtmBarElem_prgDtmBarId$$ = $agent$$329_prgDtmComp$$.getElementById($newFilenameId_prgDtmBarElem_prgDtmBarId$$);
  $agent$$329_prgDtmComp$$.setAttribute($newFilenameId_prgDtmBarElem_prgDtmBarId$$, "id", $newFileFailedId_newPrgDtmBarId$$);
  $newFileDoneId_prgDtmContentElem_prgDtmContentId$$ = $agent$$329_prgDtmComp$$.getElementById($newFileDoneId_prgDtmContentElem_prgDtmContentId$$);
  $agent$$329_prgDtmComp$$.setAttribute($newFileDoneId_prgDtmContentElem_prgDtmContentId$$, "id", $newFilesizeId_newPrgDtmContentId$$);
  $agent$$329_prgDtmComp$$ = $AdfPage$$.$PAGE$.$findComponent$($newPrgDtmComp_prgDtmId$$);
  $newPrgDtmComp_prgDtmId$$ = $agent$$329_prgDtmComp$$.clone($clientId$$231_newPrgDtmId$$);
  $newPrgDtmComp_prgDtmId$$.Init($agent$$329_prgDtmComp$$.getComponentType(), $clientId$$231_newPrgDtmId$$);
  $AdfPage$$.$PAGE$.$mapComponent$($newPrgDtmComp_prgDtmId$$.$getClientId$(), $newPrgDtmComp_prgDtmId$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($fileFailedId_prgDtmElem$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($newFilenameId_prgDtmBarElem_prgDtmBarId$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($newFileDoneId_prgDtmContentElem_prgDtmContentId$$);
  $newPrgDtmComp_prgDtmId$$.$AddNotify$();
  $row$$35$$.parentNode.appendChild($templateRow$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($templateRow$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($row$$35$$);
  $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($tmplRowId$$1$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_NONE$);
  $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($rowId$$3$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, null);
  return $row$$35$$;
};
$AdfDhtmlInputFilePeer$$.$_getConvertedNumber$ = function $$AdfDhtmlInputFilePeer$$$$_getConvertedNumber$$($bytes$$) {
  var $dispLabels_laf$$85$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $dispGB_dispLabel$$ = $dispLabels_laf$$85$$.$getTranslatedString$("af_inputFile.TEXT_FILE_SIZE_GB"), $dispMB_exp$$2$$ = $dispLabels_laf$$85$$.$getTranslatedString$("af_inputFile.TEXT_FILE_SIZE_MB"), $dispKB$$ = $dispLabels_laf$$85$$.$getTranslatedString$("af_inputFile.TEXT_FILE_SIZE_KB"), $dispLabels_laf$$85$$ = [$dispLabels_laf$$85$$.$getTranslatedString$("af_inputFile.TEXT_FILE_SIZE_B"), $dispKB$$, $dispMB_exp$$2$$, $dispGB_dispLabel$$], 
  $dispGB_dispLabel$$ = null;
  return 0 < $bytes$$ ? ($dispMB_exp$$2$$ = Math.floor(Math.log($bytes$$) / Math.log(1024)), $dispGB_dispLabel$$ = 3 < $dispMB_exp$$2$$ ? $dispLabels_laf$$85$$[3] : $dispLabels_laf$$85$$[$dispMB_exp$$2$$], ($bytes$$ / Math.pow(1024, Math.floor($dispMB_exp$$2$$))).toFixed(2) + " " + $dispGB_dispLabel$$) : null != $bytes$$ ? $bytes$$ + " " + $dispLabels_laf$$85$$[0] : null;
};
$AdfDhtmlInputFilePeer$$.$_getListElement$ = function $$AdfDhtmlInputFilePeer$$$$_getListElement$$($component$$1295$$, $typeId$$, $itemId$$14$$) {
  return $AdfAgent$$.$AGENT$.getElementById(this.$_getListElementId$($component$$1295$$, $typeId$$, $itemId$$14$$));
};
$AdfDhtmlInputFilePeer$$.$_getListElementId$ = function $$AdfDhtmlInputFilePeer$$$$_getListElementId$$($component$$1296$$, $typeId$$1$$, $itemId$$15$$) {
  var $clientId$$232_rowId$$4$$ = $component$$1296$$.$getClientId$(), $clientId$$232_rowId$$4$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$232_rowId$$4$$, $itemId$$15$$), $elementId$$ = null;
  return $elementId$$ = $typeId$$1$$ != $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ ? $AdfRichUIPeer$$.$CreateSubId$($clientId$$232_rowId$$4$$, $typeId$$1$$) : $AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$($component$$1296$$, $itemId$$15$$);
};
$AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$ = function $$AdfDhtmlInputFilePeer$$$$_getProgressIndicatorId$$($component$$1297$$, $itemId$$16$$) {
  var $clientId$$233$$ = $component$$1297$$.$getClientId$(), $agent$$331$$ = $AdfAgent$$.$AGENT$, $domDoc$$7$$ = $component$$1297$$.$getPeer$().$getDomDocument$(), $progressIndicatorElement$$ = null, $progressIndicatorElement$$ = null != $itemId$$16$$ ? $domDoc$$7$$.querySelector("[" + $AdfDhtmlInputFilePeer$$.$_PROGRESS_ITEM_ID_ATTR$ + "\x3d'" + $clientId$$233$$ + $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ + $itemId$$16$$ + "']") : $domDoc$$7$$.querySelector("[" + $AdfDhtmlInputFilePeer$$.$_PROGRESS_ITEM_ID_ATTR$ + 
  "\x3d'" + $clientId$$233$$ + $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ + "']");
  return $agent$$331$$.getAttribute($progressIndicatorElement$$, "id");
};
$AdfDhtmlInputFilePeer$$.$_getSubmitType$ = function $$AdfDhtmlInputFilePeer$$$$_getSubmitType$$($component$$1298_maximumFiles$$) {
  var $uploadType$$ = $component$$1298_maximumFiles$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE$);
  $component$$1298_maximumFiles$$ = $component$$1298_maximumFiles$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_MAXIMUM_FILES$);
  return $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_AUTO$ == $uploadType$$ || (1 > $component$$1298_maximumFiles$$ || 1 < $component$$1298_maximumFiles$$) && $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_AUTO_IF_MULTIPLE$ == $uploadType$$ ? $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_AUTO$ : $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_SUBMIT$;
};
$AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$ = function $$AdfDhtmlInputFilePeer$$$$_getUploadQueueRowId$$($clientId$$234$$, $itemId$$17$$) {
  var $panelId$$9_rowId$$5_tableId$$2$$ = null, $panelId$$9_rowId$$5_tableId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$234$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$), $panelId$$9_rowId$$5_tableId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($panelId$$9_rowId$$5_tableId$$2$$, $AdfDhtmlInputFilePeer$$.$_TABLE_ID$);
  return $panelId$$9_rowId$$5_tableId$$2$$ = null != $itemId$$17$$ ? $AdfRichUIPeer$$.$CreateSubId$($panelId$$9_rowId$$5_tableId$$2$$, $AdfDhtmlInputFilePeer$$.$_ROW_ID$) + $itemId$$17$$ : $AdfRichUIPeer$$.$CreateSubId$($panelId$$9_rowId$$5_tableId$$2$$, $AdfDhtmlInputFilePeer$$.$_ROW_ID$);
};
$AdfDhtmlInputFilePeer$$.$_getUploadPanel$ = function $$AdfDhtmlInputFilePeer$$$$_getUploadPanel$$($clientId$$235_panelId$$10$$) {
  var $agent$$332$$ = $AdfAgent$$.$AGENT$;
  $clientId$$235_panelId$$10$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$235_panelId$$10$$, $AdfDhtmlInputFilePeer$$.$_PANEL_ID$);
  return $agent$$332$$.getElementById($clientId$$235_panelId$$10$$);
};
$AdfDhtmlInputFilePeer$$.$_hideListElement$ = function $$AdfDhtmlInputFilePeer$$$$_hideListElement$$($component$$1299$$, $typeId$$2$$, $itemId$$18$$) {
  var $agent$$333$$ = $AdfAgent$$.$AGENT$, $elementId$$1$$ = null, $elementId$$1$$ = $typeId$$2$$ == $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ ? $AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$($component$$1299$$, $itemId$$18$$) : $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1299$$, $typeId$$2$$, $itemId$$18$$);
  null != $agent$$333$$.getElementById($elementId$$1$$) && $AdfDhtmlInputFilePeer$$.$_setListElementCSSStyle$($component$$1299$$, $typeId$$2$$, $itemId$$18$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$, $AdfDhtmlInputFilePeer$$.$_STYLE_VISIBILITY_HIDDEN$);
};
$AdfDhtmlInputFilePeer$$.$_hideListRow$ = function $$AdfDhtmlInputFilePeer$$$$_hideListRow$$($component$$1300$$, $itemId$$19$$) {
  var $agent$$334$$ = $AdfAgent$$.$AGENT$, $clientId$$236_rowId$$6$$ = $component$$1300$$.$getClientId$(), $clientId$$236_rowId$$6$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$236_rowId$$6$$, $itemId$$19$$);
  null != $agent$$334$$.getElementById($clientId$$236_rowId$$6$$) && $AdfDhtmlInputFilePeer$$.$_setListRowCSSStyle$($component$$1300$$, $itemId$$19$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$, $AdfDhtmlInputFilePeer$$.$_STYLE_VISIBILITY_HIDDEN$);
};
$AdfDhtmlInputFilePeer$$.$_hideRow$ = function $$AdfDhtmlInputFilePeer$$$$_hideRow$$($component$$1301$$, $itemId$$20$$) {
  var $agent$$335$$ = $AdfAgent$$.$AGENT$, $clientId$$237_rowId$$7$$ = $component$$1301$$.$getClientId$(), $clientId$$237_rowId$$7$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$237_rowId$$7$$, $itemId$$20$$);
  null != $agent$$335$$.getElementById($clientId$$237_rowId$$7$$) && $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($clientId$$237_rowId$$7$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$, $AdfDhtmlInputFilePeer$$.$_STYLE_VISIBILITY_HIDDEN$);
};
$AdfDhtmlInputFilePeer$$.$_isMultipleUpload$ = function $$AdfDhtmlInputFilePeer$$$$_isMultipleUpload$$($component$$1302$$) {
  var $uploadType$$1$$ = $component$$1302$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE$), $maximumFiles$$1$$ = $component$$1302$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_MAXIMUM_FILES$);
  return (1 > $maximumFiles$$1$$ || 1 < $maximumFiles$$1$$) && $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_SUBMIT$ != $uploadType$$1$$ || 1 == $maximumFiles$$1$$ && ($AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_AUTO$ == $uploadType$$1$$ || $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_MANUAL$ == $uploadType$$1$$) || $AdfDhtmlInputFilePeer$$.$_isApiMode$($component$$1302$$) && $AdfDhtmlInputFilePeer$$.$_UPLOAD_TYPE_SUBMIT$ != $uploadType$$1$$ ? !0 : !1;
};
$AdfDhtmlInputFilePeer$$.$_isApiMode$ = function $$AdfDhtmlInputFilePeer$$$$_isApiMode$$($component$$1303_displayMode$$7$$) {
  $component$$1303_displayMode$$7$$ = $component$$1303_displayMode$$7$$.$getProperty$($AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE$);
  return $component$$1303_displayMode$$7$$ == $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_NONE$ || $component$$1303_displayMode$$7$$ == $AdfDhtmlInputFilePeer$$.$_DISPLAY_MODE_DROP_AREA$ ? !0 : !1;
};
$AdfDhtmlInputFilePeer$$.$_maskListElement$ = function $$AdfDhtmlInputFilePeer$$$$_maskListElement$$($component$$1304$$, $typeId$$3$$, $itemId$$21$$) {
  var $agent$$336$$ = $AdfAgent$$.$AGENT$, $elementId$$2$$ = null, $elementId$$2$$ = $typeId$$3$$ == $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$ ? $AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$($component$$1304$$, $itemId$$21$$) : $AdfDhtmlInputFilePeer$$.$_getListElementId$($component$$1304$$, $typeId$$3$$, $itemId$$21$$);
  null != $agent$$336$$.getElementById($elementId$$2$$) && $AdfDhtmlInputFilePeer$$.$_setListElementCSSStyle$($component$$1304$$, $typeId$$3$$, $itemId$$21$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_NONE$);
};
$AdfDhtmlInputFilePeer$$.$_maskListRow$ = function $$AdfDhtmlInputFilePeer$$$$_maskListRow$$($component$$1305$$, $itemId$$22$$) {
  var $agent$$337$$ = $AdfAgent$$.$AGENT$, $clientId$$238_rowId$$8$$ = $component$$1305$$.$getClientId$(), $clientId$$238_rowId$$8$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$238_rowId$$8$$, $itemId$$22$$);
  null != $agent$$337$$.getElementById($clientId$$238_rowId$$8$$) && $AdfDhtmlInputFilePeer$$.$_setListRowCSSStyle$($component$$1305$$, $itemId$$22$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_NONE$);
};
$AdfDhtmlInputFilePeer$$.$_maskPanelElement$ = function $$AdfDhtmlInputFilePeer$$$$_maskPanelElement$$($component$$1306$$, $typeId$$4$$) {
  $AdfDhtmlInputFilePeer$$.$_setPanelCSSStyle$($component$$1306$$, $typeId$$4$$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_NONE$);
};
$AdfDhtmlInputFilePeer$$.$_removeFileFromUploadQueueUI$ = function $$AdfDhtmlInputFilePeer$$$$_removeFileFromUploadQueueUI$$($component$$1307$$, $row$$39$$) {
  var $agent$$338_i$$329_panel$$18$$ = $AdfAgent$$.$AGENT$, $peer$$123$$ = $component$$1307$$.$getPeer$();
  if ($row$$39$$) {
    var $laf$$86_panelSize_rowHeight$$1$$ = $row$$39$$.offsetHeight, $itemId$$23_prgDtmId$$1_totalRows$$2$$ = $row$$39$$.getAttribute($AdfDhtmlInputFilePeer$$.$_ITEM_ID_ATTR$), $itemId$$23_prgDtmId$$1_totalRows$$2$$ = $AdfDhtmlInputFilePeer$$.$_getProgressIndicatorId$($component$$1307$$, $itemId$$23_prgDtmId$$1_totalRows$$2$$);
    $row$$39$$.parentNode.removeChild($row$$39$$);
    $agent$$338_i$$329_panel$$18$$.$elementsRemoved$($row$$39$$);
    $AdfPage$$.$PAGE$.$unmapComponent$($itemId$$23_prgDtmId$$1_totalRows$$2$$);
    for ($agent$$338_i$$329_panel$$18$$ = 0;$agent$$338_i$$329_panel$$18$$ < $peer$$123$$.$_rowList$.length;$agent$$338_i$$329_panel$$18$$++) {
      if ($peer$$123$$.$_rowList$[$agent$$338_i$$329_panel$$18$$] == $row$$39$$) {
        $peer$$123$$.$_rowList$.splice($agent$$338_i$$329_panel$$18$$, 1);
        break;
      }
    }
    $agent$$338_i$$329_panel$$18$$ = $AdfDhtmlInputFilePeer$$.$_getUploadPanel$($component$$1307$$.$getClientId$());
    $itemId$$23_prgDtmId$$1_totalRows$$2$$ = $JSCompiler_StaticMethods__getTotalRows$$($peer$$123$$.$getFileUploadUtils$());
    if ($itemId$$23_prgDtmId$$1_totalRows$$2$$ > $peer$$123$$.$_initHeightRows$ || 0 == $peer$$123$$.$_initHeightRows$) {
      $laf$$86_panelSize_rowHeight$$1$$ = $itemId$$23_prgDtmId$$1_totalRows$$2$$ * parseInt($laf$$86_panelSize_rowHeight$$1$$), $laf$$86_panelSize_rowHeight$$1$$ >= $peer$$123$$.$_minPanelSize$ ? $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($agent$$338_i$$329_panel$$18$$, "height:" + $laf$$86_panelSize_rowHeight$$1$$ + "px;width:" + $peer$$123$$.$_panelWidth$ + "px") : $AdfDhtmlInputFilePeer$$.$_setCSSStyleText$($agent$$338_i$$329_panel$$18$$, "height:" + $peer$$123$$.$_minPanelSize$ + "px;width:" + 
      $peer$$123$$.$_panelWidth$ + "px");
    }
    1 > $itemId$$23_prgDtmId$$1_totalRows$$2$$ && ($peer$$123$$.$_icon$ && $peer$$123$$.$_useDnD$ && ($agent$$338_i$$329_panel$$18$$.appendChild($peer$$123$$.$_icon$), $laf$$86_panelSize_rowHeight$$1$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $AdfDomUtils$$.$addCSSClassName$($agent$$338_i$$329_panel$$18$$, $laf$$86_panelSize_rowHeight$$1$$.getStyleClass($AdfDhtmlInputFilePeer$$.$_STYLE_INPUT_FILE_MULTIPLE_UPLOAD_DROPZONE_CLASS$))), $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1307$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$), 
    "auto" != $peer$$123$$.$_submitType$ && $AdfDhtmlInputFilePeer$$.$_unmaskPanelElement$($component$$1307$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$));
  }
};
$AdfDhtmlInputFilePeer$$.$_setPanelCSSStyle$ = function $$AdfDhtmlInputFilePeer$$$$_setPanelCSSStyle$$($clientId$$239_component$$1308$$, $typeId$$5$$, $style$$21$$) {
  var $property$$10$$ = $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$;
  $clientId$$239_component$$1308$$ = $clientId$$239_component$$1308$$.$getClientId$();
  $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($AdfRichUIPeer$$.$CreateSubId$($clientId$$239_component$$1308$$, $typeId$$5$$), $property$$10$$, $style$$21$$);
};
$AdfDhtmlInputFilePeer$$.$_setCSSStyle$ = function $$AdfDhtmlInputFilePeer$$$$_setCSSStyle$$($element$$238_elementId$$3$$, $property$$11$$, $style$$22$$) {
  $element$$238_elementId$$3$$ = $AdfAgent$$.$AGENT$.getElementById($element$$238_elementId$$3$$);
  null == $style$$22$$ && ($style$$22$$ = "");
  if (null != $element$$238_elementId$$3$$) {
    switch($property$$11$$) {
      case $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$:
        $element$$238_elementId$$3$$.style.display = $style$$22$$;
        break;
      case $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$:
        $element$$238_elementId$$3$$.style.visibility = $style$$22$$;
        break;
      case $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_OVERFLOWY$:
        $element$$238_elementId$$3$$.style.overflowY = $style$$22$$;
    }
  }
};
$AdfDhtmlInputFilePeer$$.$_setCSSStyleText$ = function $$AdfDhtmlInputFilePeer$$$$_setCSSStyleText$$($element$$239$$, $cssText$$3$$) {
  var $agent$$340$$ = $AdfAgent$$.$AGENT$;
  $agent$$340$$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ ? $element$$239$$.style.cssText = $cssText$$3$$ : $agent$$340$$.setAttribute($element$$239$$, "style", $cssText$$3$$);
};
$AdfDhtmlInputFilePeer$$.$_setListElementCSSStyle$ = function $$AdfDhtmlInputFilePeer$$$$_setListElementCSSStyle$$($component$$1309$$, $typeId$$6$$, $itemId$$24$$, $property$$12$$, $style$$23$$) {
  var $agent$$341$$ = $AdfAgent$$.$AGENT$, $clientId$$240_rowId$$9$$ = $component$$1309$$.$getClientId$(), $clientId$$240_rowId$$9$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$240_rowId$$9$$, $itemId$$24$$);
  null != $agent$$341$$.getElementById($clientId$$240_rowId$$9$$) && $AdfDhtmlInputFilePeer$$.$_setCSSStyle$(this.$_getListElementId$($component$$1309$$, $typeId$$6$$, $itemId$$24$$), $property$$12$$, $style$$23$$);
};
$AdfDhtmlInputFilePeer$$.$_setListRowCSSStyle$ = function $$AdfDhtmlInputFilePeer$$$$_setListRowCSSStyle$$($clientId$$241_component$$1310$$, $itemId$$25_rowId$$10$$, $property$$13$$, $style$$24$$) {
  var $agent$$342$$ = $AdfAgent$$.$AGENT$;
  $clientId$$241_component$$1310$$ = $clientId$$241_component$$1310$$.$getClientId$();
  $itemId$$25_rowId$$10$$ = $AdfDhtmlInputFilePeer$$.$_getUploadQueueRowId$($clientId$$241_component$$1310$$, $itemId$$25_rowId$$10$$);
  null != $agent$$342$$.getElementById($itemId$$25_rowId$$10$$) && $AdfDhtmlInputFilePeer$$.$_setCSSStyle$($itemId$$25_rowId$$10$$, $property$$13$$, $style$$24$$);
};
$AdfDhtmlInputFilePeer$$.$_showListElement$ = function $$AdfDhtmlInputFilePeer$$$$_showListElement$$($component$$1311$$, $typeId$$7$$, $itemId$$26$$) {
  $AdfDhtmlInputFilePeer$$.$_setListElementCSSStyle$($component$$1311$$, $typeId$$7$$, $itemId$$26$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$, $AdfDhtmlInputFilePeer$$.$_STYLE_VISIBILITY_VISIBLE$);
};
$AdfDhtmlInputFilePeer$$.$_showListRow$ = function $$AdfDhtmlInputFilePeer$$$$_showListRow$$($component$$1312$$, $itemId$$27$$) {
  $AdfDhtmlInputFilePeer$$.$_setListRowCSSStyle$($component$$1312$$, $itemId$$27$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_VISIBILITY$, $AdfDhtmlInputFilePeer$$.$_STYLE_VISIBILITY_VISIBLE$);
};
$AdfDhtmlInputFilePeer$$.$_unmaskListElement$ = function $$AdfDhtmlInputFilePeer$$$$_unmaskListElement$$($component$$1313$$, $typeId$$8$$, $itemId$$28$$) {
  $AdfDhtmlInputFilePeer$$.$_setListElementCSSStyle$($component$$1313$$, $typeId$$8$$, $itemId$$28$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_INLINE$);
};
$AdfDhtmlInputFilePeer$$.$_unmaskListRow$ = function $$AdfDhtmlInputFilePeer$$$$_unmaskListRow$$($component$$1314$$, $itemId$$29$$) {
  $AdfDhtmlInputFilePeer$$.$_setListRowCSSStyle$($component$$1314$$, $itemId$$29$$, $AdfDhtmlInputFilePeer$$.$_CSS_PROPERTY_DISPLAY$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_INLINE$);
};
$AdfDhtmlInputFilePeer$$.$_unmaskPanelElement$ = function $$AdfDhtmlInputFilePeer$$$$_unmaskPanelElement$$($component$$1315$$, $typeId$$9$$) {
  $AdfDhtmlInputFilePeer$$.$_setPanelCSSStyle$($component$$1315$$, $typeId$$9$$, $AdfDhtmlInputFilePeer$$.$_STYLE_DISPLAY_INLINE$);
};
$AdfDhtmlInputFilePeer$$.$_uploadFileInQueue$ = function $$AdfDhtmlInputFilePeer$$$$_uploadFileInQueue$$($component$$1316$$, $filename$$14$$) {
  var $peer$$124$$ = $component$$1316$$.$getPeer$(), $itemId$$30_uploadQueue$$1$$ = $peer$$124$$.$getFileUploadUtils$().$getFileUploadQueue$();
  $peer$$124$$.$_cancelCurrentUploadAttempt$ = !1;
  if (0 < $itemId$$30_uploadQueue$$1$$.length) {
    for (var $fileItem$$4$$ = null, $file$$9_i$$330$$ = 0;$file$$9_i$$330$$ < $itemId$$30_uploadQueue$$1$$.length;$file$$9_i$$330$$++) {
      if ($itemId$$30_uploadQueue$$1$$.item($file$$9_i$$330$$).$getFilename$() == $filename$$14$$) {
        $fileItem$$4$$ = $itemId$$30_uploadQueue$$1$$.item($file$$9_i$$330$$);
        break;
      }
    }
    null != $fileItem$$4$$ && ($itemId$$30_uploadQueue$$1$$ = $fileItem$$4$$.$getItemId$(), ($file$$9_i$$330$$ = $fileItem$$4$$.getData()) && $peer$$124$$.$_useFormData$ && $peer$$124$$.$_useFileApi$ && $file$$9_i$$330$$.size != $fileItem$$4$$.$getFilesize$() ? ($AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1316$$, $AdfDhtmlInputFilePeer$$.$_FILE_FAILED_ID$, $itemId$$30_uploadQueue$$1$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1316$$, $AdfDhtmlInputFilePeer$$.$_RETRY_BUTTON_ID$, 
    $itemId$$30_uploadQueue$$1$$), $AdfDhtmlInputFilePeer$$.$_hideListElement$($component$$1316$$, $AdfDhtmlInputFilePeer$$.$_PROGRESS_INDICATOR_DTM_ID$, $itemId$$30_uploadQueue$$1$$), $AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$($component$$1316$$)) : ($peer$$124$$.$getFileUploadUtils$().$uploadFileFromQueue$($fileItem$$4$$.$getFilename$()), $AdfDhtmlInputFilePeer$$.$_maskListElement$($component$$1316$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$30_uploadQueue$$1$$), $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1316$$, 
    $AdfDhtmlInputFilePeer$$.$_CANCEL_BUTTON_ID$, $itemId$$30_uploadQueue$$1$$)));
  }
};
$AdfDhtmlInputFilePeer$$.$_uploadNextFileInQueue$ = function $$AdfDhtmlInputFilePeer$$$$_uploadNextFileInQueue$$($component$$1317$$) {
  var $fileItem$$5_peer$$125$$ = $component$$1317$$.$getPeer$(), $i$$331_uploadQueue$$2$$ = $fileItem$$5_peer$$125$$.$getFileUploadUtils$().$getFileUploadQueue$(), $uploadResult$$3$$ = $fileItem$$5_peer$$125$$.$getFileUploadUtils$().$getFileUploadResults$();
  $fileItem$$5_peer$$125$$.$_cancelCurrentUploadAttempt$ = !1;
  if (0 < $i$$331_uploadQueue$$2$$.length) {
    $fileItem$$5_peer$$125$$ = $i$$331_uploadQueue$$2$$.item(0), $AdfDhtmlInputFilePeer$$.$_uploadFileInQueue$($component$$1317$$, $fileItem$$5_peer$$125$$.$getFilename$());
  } else {
    "auto" != $fileItem$$5_peer$$125$$.$_submitType$ && $AdfDhtmlInputFilePeer$$.$_unmaskPanelElement$($component$$1317$$, $AdfDhtmlInputFilePeer$$.$_UPLOAD_BUTTON_ID$);
    $AdfDhtmlInputFilePeer$$.$_maskPanelElement$($component$$1317$$, $AdfDhtmlInputFilePeer$$.$_STOP_BUTTON_ID$);
    for ($i$$331_uploadQueue$$2$$ = 0;$i$$331_uploadQueue$$2$$ < $uploadResult$$3$$.length;$i$$331_uploadQueue$$2$$++) {
      if (!$uploadResult$$3$$.item($i$$331_uploadQueue$$2$$).$_success$) {
        var $itemId$$31$$ = $uploadResult$$3$$.item($i$$331_uploadQueue$$2$$).$getItemId$();
        $AdfDhtmlInputFilePeer$$.$_unmaskListElement$($component$$1317$$, $AdfDhtmlInputFilePeer$$.$_DELETE_BUTTON_ID$, $itemId$$31$$);
      }
    }
    $JSCompiler_StaticMethods__enableAllDeleteButtons$$($fileItem$$5_peer$$125$$);
  }
};
function $JSCompiler_StaticMethods__enableAllDeleteButtons$$($JSCompiler_StaticMethods__enableAllDeleteButtons$self$$) {
  var $agent$$344$$ = $AdfAgent$$.$AGENT$;
  for (i = 0;i < $JSCompiler_StaticMethods__enableAllDeleteButtons$self$$.$_deleteButtons$.length;i++) {
    var $element$$241$$ = $agent$$344$$.getElementById($JSCompiler_StaticMethods__enableAllDeleteButtons$self$$.$_deleteButtons$[i]);
    null != $element$$241$$ && $element$$241$$.removeAttribute("disabled");
  }
  $JSCompiler_StaticMethods__enableAllDeleteButtons$self$$.$_deleteButtons$ = [];
}
$AdfDhtmlInputFilePeer$$.prototype.$preValidate$ = function $$AdfDhtmlInputFilePeer$$$$$preValidate$$($component$$1319$$, $submittedValue$$23$$) {
  var $validators$$1$$ = $component$$1319$$.$getProperty$("validators");
  $component$$1319$$.setProperty("valid", !0);
  $validators$$1$$ && 0 < $validators$$1$$.length && ($AdfPage$$.$PAGE$.$clearMessages$($component$$1319$$.$getClientId$()), this.$ValidateValue$($component$$1319$$, $submittedValue$$23$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.preValidate", {$preValidate$:$AdfDhtmlInputFilePeer$$.prototype.$preValidate$});
$AdfDhtmlInputFilePeer$$.prototype.$ValidateValue$ = function $$AdfDhtmlInputFilePeer$$$$$ValidateValue$$($component$$1320$$, $submittedValue$$24$$) {
  if ($component$$1320$$.getValid()) {
    var $isEmptyValue$$2_validators$$2$$ = $component$$1320$$.$IsEmpty$($submittedValue$$24$$);
    $isEmptyValue$$2_validators$$2$$ && $component$$1320$$.getRequired() && ($JSCompiler_StaticMethods__addRequiredFacesMessage$$($component$$1320$$), $component$$1320$$.setProperty("valid", !1));
    if (!$isEmptyValue$$2_validators$$2$$ || $AdfPage$$.$PAGE$.$_validateEmptyFields$) {
      if ($isEmptyValue$$2_validators$$2$$ = $component$$1320$$.$getProperty$("validators"), null != $isEmptyValue$$2_validators$$2$$) {
        for (var $i$$332$$ = 0;$i$$332$$ < $isEmptyValue$$2_validators$$2$$.length;$i$$332$$++) {
          var $validator$$1$$ = $isEmptyValue$$2_validators$$2$$[$i$$332$$];
          try {
            $validator$$1$$.$validate$($submittedValue$$24$$, $component$$1320$$.$getProperty$("label"), $component$$1320$$.getConverter());
          } catch ($e$$132$$) {
            $component$$1320$$.setProperty("valid", !1), $JSCompiler_StaticMethods__addFacesMessage$$($component$$1320$$, $e$$132$$.$getFacesMessage$(), $component$$1320$$.getLabel());
          }
        }
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.ValidateValue", {$ValidateValue$:$AdfDhtmlInputFilePeer$$.prototype.$ValidateValue$});
$AdfDhtmlInputFilePeer$$.prototype.$getFileList$ = function $$AdfDhtmlInputFilePeer$$$$$getFileList$$($component$$1321_inputfileElement$$) {
  var $element$$242$$ = null;
  $AdfDhtmlInputFilePeer$$.$_isMultipleUpload$($component$$1321_inputfileElement$$) ? ($component$$1321_inputfileElement$$ = $AdfRichUIPeer$$.$CreateSubId$($component$$1321_inputfileElement$$.$getClientId$(), $AdfDhtmlInputFilePeer$$.$_INPUT_ID$), $element$$242$$ = $AdfAgent$$.$AGENT$.getElementById($component$$1321_inputfileElement$$)) : $element$$242$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$(this.$getComponent$());
  return $element$$242$$.files || $AdfCollections$$.$EMPTY_ARRAY$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.getFileList", {$getFileList$:$AdfDhtmlInputFilePeer$$.prototype.$getFileList$});
$AdfDhtmlInputFilePeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputFilePeer$$$$$SetDisplayValue$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputFilePeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputFilePeer$$.prototype.$autoSubmit$ = function $$AdfDhtmlInputFilePeer$$$$$autoSubmit$$($component$$1323$$) {
  var $autoSubmitEvent$$1$$ = new $AdfAutoSubmitEvent$$($component$$1323$$);
  $autoSubmitEvent$$1$$.$setPartial$(!0);
  $autoSubmitEvent$$1$$.$preventUserInput$();
  $component$$1323$$.$queueEvent$($autoSubmitEvent$$1$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputFilePeer.prototype.autoSubmit", {$autoSubmit$:$AdfDhtmlInputFilePeer$$.prototype.$autoSubmit$});
