function $AdfAutoSuggestBehaviorImpl$$($isSmartListEnabled$$, $minChars$$, $maxSuggestedItems$$, $isLOVComponent$$) {
  this.Init($isSmartListEnabled$$, $minChars$$, $maxSuggestedItems$$, $isLOVComponent$$)
}
$goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl", $AdfAutoSuggestBehaviorImpl$$);
$AdfAutoSuggestBehaviorImpl$$.$InitClass$ = function $$AdfAutoSuggestBehaviorImpl$$$$InitClass$$() {
  this.$_POPUP_PANEL_ID$ = "_afrAutoSuggest";
  this.$_SELECTED_STYLE_CLASS$ = "p_AFSelected";
  this.$_ITEM_VALUE_ATTR$ = "data-afr-value";
  this.$_ITEM_LABEL_ATTR$ = "data-afr-label";
  this.$_SUGGEST_ITEMS_ID$ = "_afrautosuggestpopup";
  this.$_SUGGEST_ITEM_ID$ = "su";
  this.$_SMART_ITEM_ID$ = "sm";
  this.$_POPUP_CONTAINER_DIV_ID$ = "_afrautosuggestcontainer";
  this.$_MORE_LINK_ID$ = "_afrautosuggestmorelink";
  this.$_BUSY_DIV_ID$ = "_afrautosuggestbusydiv";
  this.$_POPUP_CONTAINER_STYLE$ = "AFAutoSuggestItemsContainer";
  this.$_SUGGESTED_ITEM_STYLE$ = "AFAutoSuggestItem";
  this.$_MORE_LINK_STYLE$ = "AFAutoSuggestMoreLink";
  this.$SUGGEST_BUSY_STYLE$ = "AFAutoSuggestBusyStyle";
  $goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl.SUGGEST_BUSY_STYLE", $AdfAutoSuggestBehaviorImpl$$.$SUGGEST_BUSY_STYLE$)
};
$goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl.InitClass", $AdfAutoSuggestBehaviorImpl$$.$InitClass$);
$AdfObject$$.$createSubclass$($AdfAutoSuggestBehaviorImpl$$, $AdfAutoSuggestBehavior$$);
$AdfAutoSuggestBehaviorImpl$$.prototype.Init = function $$AdfAutoSuggestBehaviorImpl$$$$Init$($isSmartListEnabled$$1$$, $minChars$$1$$, $maxSuggestedItems$$1$$, $isLOVComponent$$1$$) {
  $AdfAutoSuggestBehaviorImpl$$.$superclass$.Init.call(this);
  this.$_isSmartListEnabled$ = $isSmartListEnabled$$1$$;
  this.$_minChars$ = $minChars$$1$$;
  this.$_maxSuggestedItems$ = $maxSuggestedItems$$1$$;
  this.$_isLOVComponent$ = $isLOVComponent$$1$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAutoSuggestBehaviorImpl.prototype.Init", {Init:$AdfAutoSuggestBehaviorImpl$$.prototype.Init});
$AdfAutoSuggestBehaviorImpl$$.prototype.$initialize$ = function $$AdfAutoSuggestBehaviorImpl$$$$$initialize$$($component$$221$$) {
  $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_initialize$, $component$$221$$, 0)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAutoSuggestBehaviorImpl.prototype.initialize", {$initialize$:$AdfAutoSuggestBehaviorImpl$$.prototype.$initialize$});
$AdfAutoSuggestBehaviorImpl$$.prototype.$_initialize$ = function $$AdfAutoSuggestBehaviorImpl$$$$$_initialize$$($component$$222_contentNode$$) {
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, this.$_fireKeyUp$, this);
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, this.$_fireKeyDown$, this);
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, this.$_fireClick$, this);
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$MOUSE_DOWN_EVENT_TYPE$, this.$_fireMouseDown$, this);
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$BLUR_EVENT_TYPE$, this.$_fireBlur$, this);
  $component$$222_contentNode$$.addEventListener($AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$, this.$_fireFocus$, this);
  this.$_autoCompleteDisabled$ = $JSCompiler_alias_FALSE$$;
  this.$_requestId$ = 0;
  this.$_itemsCache$ = {};
  this.$_clickedInSuggestitems$ = $JSCompiler_alias_FALSE$$;
  var $clientId$$23$$ = $component$$222_contentNode$$.$getClientId$();
  $component$$222_contentNode$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$222_contentNode$$);
  $component$$222_contentNode$$.setAttribute("role", "combobox");
  $component$$222_contentNode$$.setAttribute("aria-autocomplete", "list");
  $component$$222_contentNode$$.setAttribute("aria-owns", $AdfRichUIPeer$$.$createSubId$($clientId$$23$$, $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEMS_ID$));
  $component$$222_contentNode$$.setAttribute("aria-expanded", "false")
};
$AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$ = function $$AdfAutoSuggestBehaviorImpl$$$$isPopupVisible$$($component$$223$$, $peer$$31$$) {
  return $peer$$31$$.$isPopupVisible$($component$$223$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$)
};
$goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl.isPopupVisible", $AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$);
$AdfAutoSuggestBehaviorImpl$$.$showAutoSuggestPopup$ = function $$AdfAutoSuggestBehaviorImpl$$$$showAutoSuggestPopup$$($clientId$$24$$, $submittedValue$$4$$, $suggestedItems$$, $autoSuggestBehavior_isSmartList$$, $maxSuggestedItems$$2$$, $isLOVComponent$$2$$, $requestId$$) {
  var $component$$224$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$24$$);
  if($component$$224$$) {
    if($autoSuggestBehavior_isSmartList$$ && $autoSuggestBehavior_isSmartList$$ == $JSCompiler_alias_TRUE$$) {
      $component$$224$$.$_smartList$ = $suggestedItems$$
    }else {
      if($requestId$$ == $component$$224$$.$_requestId$ && ($autoSuggestBehavior_isSmartList$$ = $component$$224$$.$getBehaviors$($AdfAutoSuggestBehavior$$))) {
        $autoSuggestBehavior_isSmartList$$.$_itemsCache$[$submittedValue$$4$$] = $suggestedItems$$, $autoSuggestBehavior_isSmartList$$.$_showPopup$($component$$224$$, $submittedValue$$4$$, $clientId$$24$$, $suggestedItems$$, $JSCompiler_alias_FALSE$$, $maxSuggestedItems$$2$$, $isLOVComponent$$2$$)
      }
    }
  }
};
$goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl.showAutoSuggestPopup", $AdfAutoSuggestBehaviorImpl$$.$showAutoSuggestPopup$);
$goog$exportSymbol$$("AdfAutoSuggestBehaviorImpl.showAutoSuggestPopup", $AdfAutoSuggestBehaviorImpl$$.$showAutoSuggestPopup$);
$AdfAutoSuggestBehaviorImpl$$.prototype.$getSuggestedItems$ = function $$AdfAutoSuggestBehaviorImpl$$$$$getSuggestedItems$$($component$$225_filteredSmartList$$) {
  var $submittedValue$$5$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$225_filteredSmartList$$).value;
  if(0 != $submittedValue$$5$$.trim().length) {
    var $selectItems$$ = [];
    $component$$225_filteredSmartList$$ = $JSCompiler_StaticMethods__filterSmartList$$($component$$225_filteredSmartList$$.$_smartList$, $submittedValue$$5$$);
    $AdfAutoSuggestBehaviorImpl$$.$_convertToSelectItems$($component$$225_filteredSmartList$$, $selectItems$$);
    $AdfAutoSuggestBehaviorImpl$$.$_convertToSelectItems$(this.$_itemsCache$[$submittedValue$$5$$], $selectItems$$);
    return $selectItems$$
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfAutoSuggestBehaviorImpl.prototype.getSuggestedItems", {$getSuggestedItems$:$AdfAutoSuggestBehaviorImpl$$.prototype.$getSuggestedItems$});
$AdfAutoSuggestBehaviorImpl$$.$_addBusyDiv$ = function $$AdfAutoSuggestBehaviorImpl$$$$_addBusyDiv$$($ownerDoc$$3$$, $ulElement$$, $clientId$$25_divClientId$$, $busyStyle_laf$$1$$) {
  var $div$$3$$ = $ownerDoc$$3$$.createElement("div");
  $clientId$$25_divClientId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$25_divClientId$$, $AdfAutoSuggestBehaviorImpl$$.$_BUSY_DIV_ID$);
  $div$$3$$.setAttribute("id", $clientId$$25_divClientId$$);
  $busyStyle_laf$$1$$ = $busyStyle_laf$$1$$.getStyleClass($AdfAutoSuggestBehaviorImpl$$.$SUGGEST_BUSY_STYLE$);
  $AdfDomUtils$$.$addCSSClassName$($div$$3$$, $busyStyle_laf$$1$$);
  liElement = $ownerDoc$$3$$.createElement("li");
  liElement.appendChild($div$$3$$);
  $AdfAgent$$.$AGENT$.$elementsAdded$($div$$3$$);
  $ulElement$$.appendChild(liElement)
};
$AdfAutoSuggestBehaviorImpl$$.$_addMoreLink$ = function $$AdfAutoSuggestBehaviorImpl$$$$_addMoreLink$$($ownerDoc$$4$$, $ulElement$$1$$, $clientId$$26_moreLinkId$$, $isSmartList$$1_link$$, $agent$$29_maxSuggestedItems$$3$$, $moreTextNode_submittedValue$$6$$, $laf$$2$$) {
  if(!$isSmartList$$1_link$$ && $agent$$29_maxSuggestedItems$$3$$ && 0 <= $agent$$29_maxSuggestedItems$$3$$) {
    $AdfAutoSuggestBehaviorImpl$$.$_addSeparator$($ownerDoc$$4$$, $ulElement$$1$$);
    $isSmartList$$1_link$$ = $ownerDoc$$4$$.createElement("a");
    $isSmartList$$1_link$$.setAttribute("href", "#");
    var $domWindow$$56$$ = $AdfPage$$.$PAGE$.$getDomWindow$();
    $agent$$29_maxSuggestedItems$$3$$ = $AdfAgent$$.$AGENT$;
    $domWindow$$56$$.$AdfSafariMobileAgent$ && $agent$$29_maxSuggestedItems$$3$$ instanceof $AdfSafariMobileAgent$$ ? $isSmartList$$1_link$$.setAttribute("onclick", "void(0); return false;") : $isSmartList$$1_link$$.setAttribute("onClick", "return false");
    $clientId$$26_moreLinkId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$26_moreLinkId$$, $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_ID$);
    $isSmartList$$1_link$$.setAttribute("id", $clientId$$26_moreLinkId$$);
    $isSmartList$$1_link$$.setAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$, $moreTextNode_submittedValue$$6$$);
    $isSmartList$$1_link$$.setAttribute("role", "option");
    $moreTextNode_submittedValue$$6$$ = $ownerDoc$$4$$.createTextNode($laf$$2$$.$getTranslatedString$("AFAutoSuggestMoreLinkLabel"));
    $isSmartList$$1_link$$.appendChild($moreTextNode_submittedValue$$6$$);
    $AdfDomUtils$$.$addCSSClassName$($isSmartList$$1_link$$, $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_STYLE$);
    liElement = $ownerDoc$$4$$.createElement("li");
    liElement.appendChild($isSmartList$$1_link$$);
    $agent$$29_maxSuggestedItems$$3$$.$elementsAdded$($isSmartList$$1_link$$);
    $ulElement$$1$$.appendChild(liElement)
  }
};
$AdfAutoSuggestBehaviorImpl$$.$_addSuggestItems$ = function $$AdfAutoSuggestBehaviorImpl$$$$_addSuggestItems$$($ownerDoc$$5$$, $ulElement$$2$$, $clientId$$27_suggestItemId$$, $suggestedItems$$2$$, $isSmartList$$2_liElement$$1$$, $laf$$3_suggestedItemStyle$$) {
  var $domWindow$$57_isSafariMobileAgent$$ = $AdfPage$$.$PAGE$.$getDomWindow$(), $agent$$30$$ = $AdfAgent$$.$AGENT$, $domWindow$$57_isSafariMobileAgent$$ = $domWindow$$57_isSafariMobileAgent$$.$AdfSafariMobileAgent$ && $agent$$30$$ instanceof $AdfSafariMobileAgent$$;
  $laf$$3_suggestedItemStyle$$ = $laf$$3_suggestedItemStyle$$.getStyleClass($AdfAutoSuggestBehaviorImpl$$.$_SUGGESTED_ITEM_STYLE$);
  var $index$$73$$ = 0;
  $clientId$$27_suggestItemId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$27_suggestItemId$$, $isSmartList$$2_liElement$$1$$ ? $AdfAutoSuggestBehaviorImpl$$.$_SMART_ITEM_ID$ : $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEM_ID$);
  for(var $key$$32$$ in $suggestedItems$$2$$) {
    $isSmartList$$2_liElement$$1$$ = $ownerDoc$$5$$.createElement("li");
    $isSmartList$$2_liElement$$1$$.setAttribute("role", "option");
    $isSmartList$$2_liElement$$1$$.setAttribute("id", $clientId$$27_suggestItemId$$ + $index$$73$$++);
    $isSmartList$$2_liElement$$1$$.setAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$, $suggestedItems$$2$$[$key$$32$$]);
    $domWindow$$57_isSafariMobileAgent$$ && $isSmartList$$2_liElement$$1$$.setAttribute("onclick", "void(0)");
    var $label$$11$$ = $key$$32$$;
    $isSmartList$$2_liElement$$1$$.setAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_LABEL_ATTR$, $label$$11$$);
    $isSmartList$$2_liElement$$1$$.appendChild($ownerDoc$$5$$.createTextNode($label$$11$$));
    $AdfDomUtils$$.$addCSSClassName$($isSmartList$$2_liElement$$1$$, $laf$$3_suggestedItemStyle$$);
    $ulElement$$2$$.appendChild($isSmartList$$2_liElement$$1$$);
    $agent$$30$$.$elementsAdded$($isSmartList$$2_liElement$$1$$)
  }
};
$AdfAutoSuggestBehaviorImpl$$.$_addSeparator$ = function $$AdfAutoSuggestBehaviorImpl$$$$_addSeparator$$($ownerDoc$$6$$, $ulElement$$3$$) {
  var $liElement$$2$$ = $ownerDoc$$6$$.createElement("li"), $separator$$1$$ = $ownerDoc$$6$$.createElement("hr");
  $liElement$$2$$.appendChild($separator$$1$$);
  $ulElement$$3$$.appendChild($liElement$$2$$)
};
$AdfAutoSuggestBehaviorImpl$$.$_adjustForScrollBars$ = function $$AdfAutoSuggestBehaviorImpl$$$$_adjustForScrollBars$$($childElements_ulElement$$4$$) {
  var $computedStyle$$2_maxHeightInt$$ = $AdfAgent$$.$AGENT$.getComputedStyle($childElements_ulElement$$4$$), $computedStyle$$2_maxHeightInt$$ = parseInt($computedStyle$$2_maxHeightInt$$.maxHeight, 10), $scrollHeightInt$$ = $childElements_ulElement$$4$$.scrollHeight, $isRtl$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$();
  $childElements_ulElement$$4$$ = $AdfDomUtils$$.$getChildElements$($childElements_ulElement$$4$$);
  for(var $i$$95$$ = 0;$i$$95$$ < $childElements_ulElement$$4$$.length;$i$$95$$++) {
    var $childElement$$4$$ = $childElements_ulElement$$4$$[$i$$95$$];
    $scrollHeightInt$$ > $computedStyle$$2_maxHeightInt$$ ? $isRtl$$ ? $childElement$$4$$.style.paddingLeft = "20px" : $childElement$$4$$.style.paddingRight = "20px" : $isRtl$$ ? $childElement$$4$$.style.paddingLeft = "" : $childElement$$4$$.style.paddingRight = ""
  }
};
$AdfAutoSuggestBehaviorImpl$$.$_convertToSelectItems$ = function $$AdfAutoSuggestBehaviorImpl$$$$_convertToSelectItems$$($suggestedItems$$3$$, $selectItems$$1$$) {
  for(var $item$$2$$ in $suggestedItems$$3$$) {
    if($suggestedItems$$3$$.hasOwnProperty($item$$2$$)) {
      var $selectItem$$ = new $AdfSelectItem$$($suggestedItems$$3$$[$item$$2$$], $item$$2$$);
      $selectItems$$1$$.push($selectItem$$)
    }
  }
};
$AdfAutoSuggestBehaviorImpl$$.$_createPopupContent$ = function $$AdfAutoSuggestBehaviorImpl$$$$_createPopupContent$$($component$$226_contentNode$$2$$, $clientId$$28_popupContainerId$$, $ownerDoc$$7_ulElement$$5$$, $agent$$32$$) {
  var $popupClientId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$28_popupContainerId$$, $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEMS_ID$);
  $clientId$$28_popupContainerId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$28_popupContainerId$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_CONTAINER_DIV_ID$);
  $component$$226_contentNode$$2$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$226_contentNode$$2$$);
  var $outerDiv$$ = $agent$$32$$.getElementById($clientId$$28_popupContainerId$$), $popupContainerStyle$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().getStyleClass($AdfAutoSuggestBehaviorImpl$$.$_POPUP_CONTAINER_STYLE$);
  $outerDiv$$ ? $outerDiv$$.innerHTML = "" : ($outerDiv$$ = $ownerDoc$$7_ulElement$$5$$.createElement("div"), $outerDiv$$.setAttribute("id", $clientId$$28_popupContainerId$$), $outerDiv$$.style.display = "none");
  $ownerDoc$$7_ulElement$$5$$ = $ownerDoc$$7_ulElement$$5$$.createElement("ul");
  $ownerDoc$$7_ulElement$$5$$.setAttribute("id", $popupClientId$$);
  $ownerDoc$$7_ulElement$$5$$.setAttribute("role", "listbox");
  $AdfDomUtils$$.$addCSSClassName$($ownerDoc$$7_ulElement$$5$$, $popupContainerStyle$$);
  $outerDiv$$.appendChild($ownerDoc$$7_ulElement$$5$$);
  $component$$226_contentNode$$2$$.parentNode.appendChild($outerDiv$$);
  $agent$$32$$.$elementsAdded$($outerDiv$$);
  return $ownerDoc$$7_ulElement$$5$$
};
$AdfAutoSuggestBehaviorImpl$$.$_isSuggestItemOrMoreLink$ = function $$AdfAutoSuggestBehaviorImpl$$$$_isSuggestItemOrMoreLink$$($element$$138$$) {
  return"option" == $element$$138$$.getAttribute("role")
};
$AdfAutoSuggestBehaviorImpl$$.$_updateSelectedStyle$ = function $$AdfAutoSuggestBehaviorImpl$$$$_updateSelectedStyle$$($element$$139$$, $selected$$3$$) {
  var $styleManagementFunction$$ = $AdfDomUtils$$.$addCSSClassName$;
  $selected$$3$$ || ($styleManagementFunction$$ = $AdfDomUtils$$.$removeCSSClassName$);
  $styleManagementFunction$$($element$$139$$, $AdfAutoSuggestBehaviorImpl$$.$_SELECTED_STYLE_CLASS$)
};
$JSCompiler_prototypeAlias$$ = $AdfAutoSuggestBehaviorImpl$$.prototype;
$JSCompiler_prototypeAlias$$.$_fireFocus$ = function $$JSCompiler_prototypeAlias$$$$_fireFocus$$($component$$227_componentEvent$$15$$) {
  $component$$227_componentEvent$$15$$ = $component$$227_componentEvent$$15$$.getSource();
  if(!this.$_autoCompleteDisabled$) {
    if($component$$227_componentEvent$$15$$ && $component$$227_componentEvent$$15$$ instanceof AdfUIEditableValue) {
      var $peer$$32$$ = $component$$227_componentEvent$$15$$.$getPeer$();
      $peer$$32$$.bind($component$$227_componentEvent$$15$$);
      $peer$$32$$.$disableBrowserAutoComplete$ && $peer$$32$$.$disableBrowserAutoComplete$($component$$227_componentEvent$$15$$)
    }
    this.$_autoCompleteDisabled$ = $JSCompiler_alias_TRUE$$
  }
  this.$_isSmartListEnabled$ && !$component$$227_componentEvent$$15$$.$_smartList$ && $AdfCustomEvent$$.$queue$($component$$227_componentEvent$$15$$, "_autoSuggest", {$smartList$:$JSCompiler_alias_TRUE$$}, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
};
$JSCompiler_prototypeAlias$$.$_fireMouseDown$ = function $$JSCompiler_prototypeAlias$$$$_fireMouseDown$$($componentEvent$$16_popupContentId$$) {
  var $component$$228_divClientId$$1$$ = $componentEvent$$16_popupContentId$$.getSource(), $peer$$33$$ = $component$$228_divClientId$$1$$.$getPeer$();
  $peer$$33$$.bind($component$$228_divClientId$$1$$);
  if($component$$228_divClientId$$1$$ && $component$$228_divClientId$$1$$ instanceof AdfUIEditableValue) {
    var $label$$12_oldVal_target$$76$$ = $componentEvent$$16_popupContentId$$.$getNativeEventTarget$(), $value$$102$$ = $label$$12_oldVal_target$$76$$.getAttribute && $label$$12_oldVal_target$$76$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$), $contentNode$$3$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$228_divClientId$$1$$), $clientId$$29$$ = $component$$228_divClientId$$1$$.$getClientId$(), $moreLinkId$$1$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$29$$, $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_ID$);
    if($label$$12_oldVal_target$$76$$.id == $moreLinkId$$1$$) {
      $peer$$33$$.$preventNextValueSubmission$(), this.$_clickedInSuggestitems$ = $JSCompiler_alias_TRUE$$
    }else {
      if($value$$102$$ && 0 < $value$$102$$.length) {
        ($label$$12_oldVal_target$$76$$ = $label$$12_oldVal_target$$76$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_LABEL_ATTR$)) && 0 < $label$$12_oldVal_target$$76$$.length && $component$$228_divClientId$$1$$.setProperty("_afrAutoSuggestLabel", $label$$12_oldVal_target$$76$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_ALWAYS$), $contentNode$$3$$.value = $value$$102$$, $label$$12_oldVal_target$$76$$ = $component$$228_divClientId$$1$$.getValue(), $label$$12_oldVal_target$$76$$ == 
        $JSCompiler_alias_NULL$$ && ($label$$12_oldVal_target$$76$$ = $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$3$$)), $peer$$33$$.$RunValidation$($component$$228_divClientId$$1$$, $componentEvent$$16_popupContentId$$.$getNativeEventTarget$()), $value$$102$$ == $label$$12_oldVal_target$$76$$ && $AdfValueChangeEvent$$.$queue$($component$$228_divClientId$$1$$, $label$$12_oldVal_target$$76$$, $component$$228_divClientId$$1$$.getValue(), $component$$228_divClientId$$1$$.getAutoSubmit()), 
        this.$_clickedInSuggestitems$ = $JSCompiler_alias_TRUE$$
      }else {
        $componentEvent$$16_popupContentId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$29$$, $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEMS_ID$);
        for($component$$228_divClientId$$1$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$29$$, $AdfAutoSuggestBehaviorImpl$$.$_BUSY_DIV_ID$);$label$$12_oldVal_target$$76$$;) {
          if($label$$12_oldVal_target$$76$$.id == $componentEvent$$16_popupContentId$$) {
            this.$_clickedInSuggestitems$ = $JSCompiler_alias_TRUE$$;
            $AdfAgent$$.$AGENT$.$getPlatform$() == $AdfAgent$$.$IE_PLATFORM$ && $peer$$33$$.$preventNextValueSubmission$();
            break
          }else {
            if($label$$12_oldVal_target$$76$$ == $contentNode$$3$$ || $label$$12_oldVal_target$$76$$.id == $component$$228_divClientId$$1$$) {
              break
            }
          }
          $label$$12_oldVal_target$$76$$ = $label$$12_oldVal_target$$76$$.parentNode
        }
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_fireBlur$ = function $$JSCompiler_prototypeAlias$$$$_fireBlur$$($component$$229_componentEvent$$17$$) {
  var $timerId$$inline_493$$ = this.$_timerId$;
  $timerId$$inline_493$$ && ($AdfPage$$.$PAGE$.$cancelTimer$($timerId$$inline_493$$), delete this.$_timerId$);
  $component$$229_componentEvent$$17$$ = $component$$229_componentEvent$$17$$.getSource();
  $component$$229_componentEvent$$17$$.$getPeer$().bind($component$$229_componentEvent$$17$$);
  $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_clearCache$, $JSCompiler_alias_NULL$$, 100);
  $JSCompiler_StaticMethods__cancelSmartListTimer$$(this);
  $AdfPage$$.$PAGE$.$getDataTransferService$().$getDTSState$() == $AdfDataTransferService$$.$STATE_BUSY$ && ($component$$229_componentEvent$$17$$.$_requestId$ = this.$_requestId$++)
};
$JSCompiler_prototypeAlias$$.$_fireClick$ = function $$JSCompiler_prototypeAlias$$$$_fireClick$$($componentEvent$$18_node$$54$$) {
  var $component$$230$$ = $componentEvent$$18_node$$54$$.getSource();
  if($component$$230$$ && $component$$230$$ instanceof AdfUIEditableValue) {
    var $peer$$35$$ = $component$$230$$.$getPeer$();
    $peer$$35$$.bind($component$$230$$);
    $componentEvent$$18_node$$54$$ = $componentEvent$$18_node$$54$$.$getNativeEventTarget$();
    if($AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($component$$230$$, $peer$$35$$)) {
      var $value$$103$$ = $componentEvent$$18_node$$54$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$), $clientId$$30_moreLinkId$$2$$ = $component$$230$$.$getClientId$(), $clientId$$30_moreLinkId$$2$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$30_moreLinkId$$2$$, $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_ID$);
      $componentEvent$$18_node$$54$$.id == $clientId$$30_moreLinkId$$2$$ ? ($value$$103$$ && 0 < $value$$103$$.length && this.$_isLOVComponent$ && $AdfLaunchPopupEvent$$.$queue$($component$$230$$, $JSCompiler_alias_TRUE$$), $component$$230$$.focus()) : $value$$103$$ && 0 < $value$$103$$.length && ($JSCompiler_StaticMethods__cancelSmartListTimer$$(this), $peer$$35$$.$hidePopup$($component$$230$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$), $component$$230$$.focus())
    }
  }
};
$JSCompiler_prototypeAlias$$.$_fireKeyUp$ = function $$JSCompiler_prototypeAlias$$$$_fireKeyUp$$($componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$) {
  var $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = $AdfAgent$$.$AGENT$, $keyCode$$12_selectedItemId$$inline_501$$ = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.$getKeyCode$($componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.$getNativeEvent$());
  if(!($keyCode$$12_selectedItemId$$inline_501$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$ || $keyCode$$12_selectedItemId$$inline_501$$ == $AdfKeyStroke$$.$ARROWRIGHT_KEY$)) {
    var $isSmartListDisplayed$$ = this.$_smartListTimerId$ !== $JSCompiler_alias_VOID$$;
    $JSCompiler_StaticMethods__cancelSmartListTimer$$(this);
    var $busyDiv_busyDivId_component$$231$$ = $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.getSource();
    if($busyDiv_busyDivId_component$$231$$ && $busyDiv_busyDivId_component$$231$$ instanceof AdfUIEditableValue) {
      var $busyDivItem_peer$$36$$ = $busyDiv_busyDivId_component$$231$$.$getPeer$();
      $busyDivItem_peer$$36$$.bind($busyDiv_busyDivId_component$$231$$);
      var $contentNode$$4$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($busyDiv_busyDivId_component$$231$$);
      if($contentNode$$4$$) {
        var $clientId$$31_contentValue_page$$14$$ = $contentNode$$4$$.value;
        if(0 < $clientId$$31_contentValue_page$$14$$.replace(/\s*/, "").length) {
          if($keyCode$$12_selectedItemId$$inline_501$$ == $AdfKeyStroke$$.$BACKSPACE_KEY$ || this.$_nodeLength$ != $JSCompiler_alias_VOID$$ && $clientId$$31_contentValue_page$$14$$.length != this.$_nodeLength$ || this.$_lastValue$ && this.$_lastValue$ != $clientId$$31_contentValue_page$$14$$) {
            $clientId$$31_contentValue_page$$14$$ = $AdfPage$$.$PAGE$, this.$_timerId$ ? $clientId$$31_contentValue_page$$14$$.$rescheduleTimer$(this.$_timerId$, 500) : this.$_timerId$ = $clientId$$31_contentValue_page$$14$$.$scheduleTimer$(this, this.$_autoSuggest$, $busyDiv_busyDivId_component$$231$$, 500, {isSynchronized:$JSCompiler_alias_TRUE$$})
          }
        }else {
          0 == $clientId$$31_contentValue_page$$14$$.length && $AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($busyDiv_busyDivId_component$$231$$, $busyDivItem_peer$$36$$) && $busyDivItem_peer$$36$$.$hidePopup$($busyDiv_busyDivId_component$$231$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$)
        }
        delete this.$_nodeLength$;
        delete this.$_lastValue$;
        $clientId$$31_contentValue_page$$14$$ = $busyDiv_busyDivId_component$$231$$.$getClientId$();
        switch($keyCode$$12_selectedItemId$$inline_501$$) {
          case $AdfKeyStroke$$.$ENTER_KEY$:
            if($AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($busyDiv_busyDivId_component$$231$$, $busyDivItem_peer$$36$$)) {
              var $moreLinkId$$3_oldItem$$inline_499$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$31_contentValue_page$$14$$, $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_ID$), $newItem$$inline_500_selectedItemId$$ = $JSCompiler_StaticMethods__getCurrentSelectedItemId$$($contentNode$$4$$);
              if($newItem$$inline_500_selectedItemId$$ && $newItem$$inline_500_selectedItemId$$ == $moreLinkId$$3_oldItem$$inline_499$$) {
                this.$_isLOVComponent$ && $AdfLaunchPopupEvent$$.$queue$($busyDiv_busyDivId_component$$231$$, $JSCompiler_alias_TRUE$$)
              }else {
                var $selectedItem$$1_separatorItem$$;
                $newItem$$inline_500_selectedItemId$$ && ($selectedItem$$1_separatorItem$$ = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.getElementById($newItem$$inline_500_selectedItemId$$));
                $selectedItem$$1_separatorItem$$ && ($agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = $selectedItem$$1_separatorItem$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_LABEL_ATTR$)) && 0 < $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.length && $busyDiv_busyDivId_component$$231$$.setProperty("_afrAutoSuggestLabel", $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$, $JSCompiler_alias_FALSE$$, 
                $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
                $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = $busyDiv_busyDivId_component$$231$$.getValue();
                $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ == $JSCompiler_alias_NULL$$ && ($agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$4$$));
                $busyDivItem_peer$$36$$.$RunValidation$($busyDiv_busyDivId_component$$231$$, $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.$getNativeEventTarget$());
                $selectedItem$$1_separatorItem$$ && $selectedItem$$1_separatorItem$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$) == $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ && $AdfValueChangeEvent$$.$queue$($busyDiv_busyDivId_component$$231$$, $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$, $busyDiv_busyDivId_component$$231$$.getValue(), $busyDiv_busyDivId_component$$231$$.getAutoSubmit())
              }
              $busyDivItem_peer$$36$$.$hidePopup$($busyDiv_busyDivId_component$$231$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$);
              $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.cancel();
              $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.$stopBubbling$()
            }
            break;
          case $AdfKeyStroke$$.$ARROWDOWN_KEY$:
          ;
          case $AdfKeyStroke$$.$ARROWUP_KEY$:
            if($AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($busyDiv_busyDivId_component$$231$$, $busyDivItem_peer$$36$$)) {
              $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$31_contentValue_page$$14$$, $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEMS_ID$);
              $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$ = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.getElementById($componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$);
              if($isSmartListDisplayed$$ && ($busyDiv_busyDivId_component$$231$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$31_contentValue_page$$14$$, $AdfAutoSuggestBehaviorImpl$$.$_BUSY_DIV_ID$), $busyDiv_busyDivId_component$$231$$ = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.getElementById($busyDiv_busyDivId_component$$231$$))) {
                $busyDivItem_peer$$36$$ = $busyDiv_busyDivId_component$$231$$.parentElement, $selectedItem$$1_separatorItem$$ = $AdfDomUtils$$.$getPreviousElement$($busyDivItem_peer$$36$$), $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.removeChild($busyDivItem_peer$$36$$), $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$.$elementsRemoved$($busyDiv_busyDivId_component$$231$$), $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$.removeChild($selectedItem$$1_separatorItem$$)
              }
              $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = $keyCode$$12_selectedItemId$$inline_501$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$;
              ($keyCode$$12_selectedItemId$$inline_501$$ = $JSCompiler_StaticMethods__getCurrentSelectedItemId$$($contentNode$$4$$)) ? ($moreLinkId$$3_oldItem$$inline_499$$ = $AdfAgent$$.$AGENT$.getElementById($keyCode$$12_selectedItemId$$inline_501$$), $newItem$$inline_500_selectedItemId$$ = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ ? $AdfDomUtils$$.$getNextElementMatch$($moreLinkId$$3_oldItem$$inline_499$$, $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$, 
              $JSCompiler_alias_TRUE$$, $AdfAutoSuggestBehaviorImpl$$.$_isSuggestItemOrMoreLink$) : $AdfDomUtils$$.$getPreviousElementMatch$($moreLinkId$$3_oldItem$$inline_499$$, $componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$, $AdfAutoSuggestBehaviorImpl$$.$_isSuggestItemOrMoreLink$)) : $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ && ($newItem$$inline_500_selectedItemId$$ = $AdfDomUtils$$.$getFirstElementMatch$($componentEvent$$19_suggestItemsContainer_suggestItemsContainerId$$, 
              $JSCompiler_alias_TRUE$$, $AdfAutoSuggestBehaviorImpl$$.$_isSuggestItemOrMoreLink$));
              if($newItem$$inline_500_selectedItemId$$ && ($moreLinkId$$3_oldItem$$inline_499$$ && $AdfAutoSuggestBehaviorImpl$$.$_updateSelectedStyle$($moreLinkId$$3_oldItem$$inline_499$$, $JSCompiler_alias_FALSE$$), $AdfAutoSuggestBehaviorImpl$$.$_updateSelectedStyle$($newItem$$inline_500_selectedItemId$$, $JSCompiler_alias_TRUE$$), $contentNode$$4$$.setAttribute("aria-activedescendant", $newItem$$inline_500_selectedItemId$$.id), $newItem$$inline_500_selectedItemId$$.scrollIntoView(), $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$ = 
              $newItem$$inline_500_selectedItemId$$.getAttribute($AdfAutoSuggestBehaviorImpl$$.$_ITEM_VALUE_ATTR$))) {
                $contentNode$$4$$.value = $agent$$33_isFindNextItem$$inline_498_label$$13_oldVal$$1_value$$inline_502$$
              }
            }
        }
      }
    }
  }
};
$JSCompiler_prototypeAlias$$.$_fireKeyDown$ = function $$JSCompiler_prototypeAlias$$$$_fireKeyDown$$($event$$74_selectedItemId$$1$$) {
  var $clientId$$32_component$$232_moreLinkId$$4$$ = $event$$74_selectedItemId$$1$$.getSource();
  if($clientId$$32_component$$232_moreLinkId$$4$$ && $clientId$$32_component$$232_moreLinkId$$4$$ instanceof AdfUIEditableValue) {
    var $peer$$37$$ = $clientId$$32_component$$232_moreLinkId$$4$$.$getPeer$();
    $peer$$37$$.bind($clientId$$32_component$$232_moreLinkId$$4$$);
    var $contentNode$$5$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($clientId$$32_component$$232_moreLinkId$$4$$);
    $AdfAgent$$.$AGENT$.$getKeyCode$($event$$74_selectedItemId$$1$$.$getNativeEvent$()) == $AdfKeyStroke$$.$ENTER_KEY$ && $AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($clientId$$32_component$$232_moreLinkId$$4$$, $peer$$37$$) && ($clientId$$32_component$$232_moreLinkId$$4$$ = $clientId$$32_component$$232_moreLinkId$$4$$.$getClientId$(), $event$$74_selectedItemId$$1$$ = $JSCompiler_StaticMethods__getCurrentSelectedItemId$$($contentNode$$5$$), $clientId$$32_component$$232_moreLinkId$$4$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$32_component$$232_moreLinkId$$4$$, 
    $AdfAutoSuggestBehaviorImpl$$.$_MORE_LINK_ID$), $event$$74_selectedItemId$$1$$ && $event$$74_selectedItemId$$1$$ == $clientId$$32_component$$232_moreLinkId$$4$$ && $peer$$37$$.$preventNextValueSubmission$());
    this.$_nodeLength$ = $contentNode$$5$$.value.length;
    this.$_lastValue$ = $contentNode$$5$$.value
  }
};
$JSCompiler_prototypeAlias$$.$_firePopupClosed$ = function $$JSCompiler_prototypeAlias$$$$_firePopupClosed$$($component$$233_contentNode$$6$$) {
  $component$$233_contentNode$$6$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$233_contentNode$$6$$);
  $component$$233_contentNode$$6$$.setAttribute("aria-expanded", "false");
  $component$$233_contentNode$$6$$.removeAttribute("aria-activedescendant")
};
$JSCompiler_prototypeAlias$$.$_firePopupOpening$ = function $$JSCompiler_prototypeAlias$$$$_firePopupOpening$$($component$$234$$) {
  $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$234$$).setAttribute("aria-expanded", "true")
};
function $JSCompiler_StaticMethods__getCurrentSelectedItemId$$($contentNode$$8$$) {
  return $contentNode$$8$$.getAttribute("aria-activedescendant")
}
$JSCompiler_prototypeAlias$$.$_autoSuggest$ = function $$JSCompiler_prototypeAlias$$$$_autoSuggest$$($component$$235$$) {
  this.$_timerId$ = $JSCompiler_alias_NULL$$;
  var $peer$$38_targetNode$$13$$ = $component$$235$$.$getPeer$();
  $peer$$38_targetNode$$13$$.bind($component$$235$$);
  $AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($component$$235$$, $peer$$38_targetNode$$13$$) && $peer$$38_targetNode$$13$$.$hidePopup$($component$$235$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$);
  var $peer$$38_targetNode$$13$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$235$$), $value$$105$$ = $peer$$38_targetNode$$13$$.value, $hasSmartItems_suggestedItems$$4$$ = this.$_itemsCache$[$value$$105$$];
  if($hasSmartItems_suggestedItems$$4$$) {
    this.$_showPopup$($component$$235$$, $value$$105$$, $component$$235$$.$getClientId$(), $hasSmartItems_suggestedItems$$4$$, $JSCompiler_alias_FALSE$$, this.$_maxSuggestedItems$, this.$_isLOVComponent$)
  }else {
    if($value$$105$$) {
      $hasSmartItems_suggestedItems$$4$$ = $JSCompiler_alias_FALSE$$;
      if($component$$235$$.$_smartList$) {
        var $filteredSmartList$$1$$ = $JSCompiler_StaticMethods__filterSmartList$$($component$$235$$.$_smartList$, $value$$105$$);
        ($hasSmartItems_suggestedItems$$4$$ = !$AdfCollections$$.$isEmpty$($filteredSmartList$$1$$)) && this.$_showPopup$($component$$235$$, $value$$105$$, $component$$235$$.$getClientId$(), $filteredSmartList$$1$$, $JSCompiler_alias_TRUE$$, this.$_maxSuggestedItems$, this.$_isLOVComponent$)
      }
      $value$$105$$.length < this.$_minChars$ || ($hasSmartItems_suggestedItems$$4$$ ? this.$_smartListTimerId$ = $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_queueAutoSuggestEvent$, [$component$$235$$, $value$$105$$, $peer$$38_targetNode$$13$$, this.$_maxSuggestedItems$], 2E3, {isSynchronized:$JSCompiler_alias_TRUE$$}) : this.$_queueAutoSuggestEvent$([$component$$235$$, $value$$105$$, $peer$$38_targetNode$$13$$, this.$_maxSuggestedItems$]))
    }
  }
};
function $JSCompiler_StaticMethods__cancelSmartListTimer$$($JSCompiler_StaticMethods__cancelSmartListTimer$self$$) {
  var $smartListtimerId$$ = $JSCompiler_StaticMethods__cancelSmartListTimer$self$$.$_smartListTimerId$;
  $smartListtimerId$$ && ($AdfPage$$.$PAGE$.$cancelTimer$($smartListtimerId$$), delete $JSCompiler_StaticMethods__cancelSmartListTimer$self$$.$_smartListTimerId$)
}
$JSCompiler_prototypeAlias$$.$_queueAutoSuggestEvent$ = function $$JSCompiler_prototypeAlias$$$$_queueAutoSuggestEvent$$($params$$16$$) {
  delete this.$_smartListTimerId$;
  var $laf$$5$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  if($params$$16$$[1]) {
    var $component$$236$$ = $params$$16$$[0], $peer$$39_requestId$$1$$ = $component$$236$$.$getPeer$();
    $peer$$39_requestId$$1$$.bind($component$$236$$);
    if(!$AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($component$$236$$, $peer$$39_requestId$$1$$)) {
      var $clientId$$33$$ = $component$$236$$.$getClientId$(), $ownerDoc$$8$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$236$$).ownerDocument, $ulElement$$6$$ = $AdfAutoSuggestBehaviorImpl$$.$_createPopupContent$($component$$236$$, $clientId$$33$$, $ownerDoc$$8$$, $AdfAgent$$.$AGENT$);
      $AdfAutoSuggestBehaviorImpl$$.$_addBusyDiv$($ownerDoc$$8$$, $ulElement$$6$$, $clientId$$33$$, $laf$$5$$);
      this.$_showDropdown$($component$$236$$, $peer$$39_requestId$$1$$, $clientId$$33$$, $ulElement$$6$$)
    }
    $peer$$39_requestId$$1$$ = this.$_requestId$++;
    $component$$236$$.$_requestId$ = $peer$$39_requestId$$1$$;
    $AdfCustomEvent$$.$queue$($params$$16$$[0], "_autoSuggest", {submittedValue:$params$$16$$[1], emptyText:$laf$$5$$.$getTranslatedString$("AFAutoSuggestEmptyText"), maxSuggestedItems:$params$$16$$[3], requestId:$peer$$39_requestId$$1$$}, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
  }
};
function $JSCompiler_StaticMethods__filterSmartList$$($smartList$$, $submittedValue$$7$$) {
  var $filteredSmartList$$2$$ = {}, $key$$33$$;
  for($key$$33$$ in $smartList$$) {
    0 == $key$$33$$.indexOf($submittedValue$$7$$) && ($filteredSmartList$$2$$[$key$$33$$] = $smartList$$[$key$$33$$])
  }
  return $filteredSmartList$$2$$
}
$JSCompiler_prototypeAlias$$.$_showPopup$ = function $$JSCompiler_prototypeAlias$$$$_showPopup$$($busyDiv$$1_component$$237$$, $submittedValue$$8$$, $clientId$$34$$, $suggestedItems$$5$$, $isSmartList$$3$$, $maxSuggestedItems$$4$$, $isLOVComponent$$3$$) {
  var $peer$$40$$ = $busyDiv$$1_component$$237$$.$getPeer$();
  $peer$$40$$.bind($busyDiv$$1_component$$237$$);
  var $popupClientId$$1_ulElement$$7$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$34$$, $AdfAutoSuggestBehaviorImpl$$.$_SUGGEST_ITEMS_ID$), $contentNode$$11$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($busyDiv$$1_component$$237$$), $ownerDoc$$9$$ = $contentNode$$11$$.ownerDocument, $agent$$35$$ = $AdfAgent$$.$AGENT$, $laf$$6$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $isMoreLinkNeeded$$ = !$suggestedItems$$5$$.hasOwnProperty($laf$$6$$.$getTranslatedString$("AFAutoSuggestEmptyText"));
  if($AdfAutoSuggestBehaviorImpl$$.$isPopupVisible$($busyDiv$$1_component$$237$$, $peer$$40$$)) {
    $popupClientId$$1_ulElement$$7$$ = $agent$$35$$.getElementById($popupClientId$$1_ulElement$$7$$);
    if($busyDiv$$1_component$$237$$ = $busyDiv$$1_component$$237$$ = $popupClientId$$1_ulElement$$7$$.lastChild) {
      $agent$$35$$.$elementsRemoved$($busyDiv$$1_component$$237$$), $popupClientId$$1_ulElement$$7$$.removeChild($busyDiv$$1_component$$237$$)
    }
    $AdfAutoSuggestBehaviorImpl$$.$_addSuggestItems$($ownerDoc$$9$$, $popupClientId$$1_ulElement$$7$$, $clientId$$34$$, $suggestedItems$$5$$, $isSmartList$$3$$, $laf$$6$$);
    $isMoreLinkNeeded$$ && $isLOVComponent$$3$$ && $AdfAutoSuggestBehaviorImpl$$.$_addMoreLink$($ownerDoc$$9$$, $popupClientId$$1_ulElement$$7$$, $clientId$$34$$, $isSmartList$$3$$, $maxSuggestedItems$$4$$, $submittedValue$$8$$, $laf$$6$$)
  }else {
    $popupClientId$$1_ulElement$$7$$ = $AdfAutoSuggestBehaviorImpl$$.$_createPopupContent$($busyDiv$$1_component$$237$$, $clientId$$34$$, $ownerDoc$$9$$, $agent$$35$$), $AdfAutoSuggestBehaviorImpl$$.$_addSuggestItems$($ownerDoc$$9$$, $popupClientId$$1_ulElement$$7$$, $clientId$$34$$, $suggestedItems$$5$$, $isSmartList$$3$$, $laf$$6$$), $isSmartList$$3$$ == $JSCompiler_alias_TRUE$$ && $contentNode$$11$$.value.length >= this.$_minChars$ && ($AdfAutoSuggestBehaviorImpl$$.$_addSeparator$($ownerDoc$$9$$, 
    $popupClientId$$1_ulElement$$7$$), $AdfAutoSuggestBehaviorImpl$$.$_addBusyDiv$($ownerDoc$$9$$, $popupClientId$$1_ulElement$$7$$, $clientId$$34$$, $laf$$6$$)), $isMoreLinkNeeded$$ && $isLOVComponent$$3$$ && $AdfAutoSuggestBehaviorImpl$$.$_addMoreLink$($ownerDoc$$9$$, $popupClientId$$1_ulElement$$7$$, $clientId$$34$$, $isSmartList$$3$$, $maxSuggestedItems$$4$$, $submittedValue$$8$$, $laf$$6$$), this.$_showDropdown$($busyDiv$$1_component$$237$$, $peer$$40$$, $clientId$$34$$, $popupClientId$$1_ulElement$$7$$)
  }
  $AdfAutoSuggestBehaviorImpl$$.$_adjustForScrollBars$($popupClientId$$1_ulElement$$7$$)
};
$JSCompiler_prototypeAlias$$.$_showDropdown$ = function $$JSCompiler_prototypeAlias$$$$_showDropdown$$($component$$238$$, $peer$$41$$, $clientId$$35$$, $ulElement$$8$$) {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPopup);
  var $hints$$6$$ = {type:"menu", autodismiss:"autodismissMenu", focus:$JSCompiler_alias_FALSE$$, closeOnEscape:$JSCompiler_alias_TRUE$$};
  $hints$$6$$.closeHandler = this.$createCallback$(this.$_firePopupClosed$);
  $hints$$6$$.closeHandlerParam = $component$$238$$;
  $hints$$6$$.openedHandler = this.$createCallback$(this.$_firePopupOpening$);
  $hints$$6$$.openedHandlerParam = $component$$238$$;
  $hints$$6$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$;
  $hints$$6$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $clientId$$35$$;
  $hints$$6$$[AdfRichPopup.$HINT_ALIGN_ID$] = $AdfRichUIPeer$$.$createSubId$($clientId$$35$$, "content");
  $peer$$41$$.$showPopup$($component$$238$$, $ulElement$$8$$, $hints$$6$$, $AdfAutoSuggestBehaviorImpl$$.$_POPUP_PANEL_ID$)
};
$JSCompiler_prototypeAlias$$.$_clearCache$ = function $$JSCompiler_prototypeAlias$$$$_clearCache$$() {
  this.$_clickedInSuggestitems$ || (this.$_itemsCache$ = {});
  this.$_clickedInSuggestitems$ = $JSCompiler_alias_FALSE$$
};
