var $AdfDhtmlInputSearchPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlInputBasePeer$$, "AdfDhtmlInputSearchPeer", !1);
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer", $AdfDhtmlInputSearchPeer$$);
$AdfDhtmlInputSearchPeer$$.$InitSubclass$ = function $$AdfDhtmlInputSearchPeer$$$$InitSubclass$$() {
  $AdfObject$$.$ensureClassInitialization$(AdfRichPopup);
  $AdfObject$$.$ensureClassInitialization$($AdfRestDataService$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchScrollManager$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchScoreUtils$$);
  $AdfObject$$.$ensureClassInitialization$($AdfInputSearchMruCache$$);
  $AdfObject$$.$ensureClassInitialization$($AdfPreferredSuggestionsManager$$);
  $AdfObject$$.$ensureClassInitialization$($AdfSuggestionsContainer$$);
  $AdfObject$$.$ensureClassInitialization$($AdfSuggestionsPanel$$);
  $AdfObject$$.$ensureClassInitialization$($AdfToolbarPanel$$);
  $AdfObject$$.$ensureClassInitialization$($AdfDhtmlSuggestionsSectionPeer$$);
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$FOCUS_EVENT_TYPE$);
  this.$SELECTION_PROPERTY$ = "_selection";
  this.$_VALUE_ATTRIBUTE_DATA_TYPE$ = "_valJsType";
  $AdfRichUIPeer$$.$addComponentPropertyGetters$(this, AdfRichInputSearch.LABEL);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, AdfRichInputSearch.LABEL, this.$_VALUE_ATTRIBUTE_DATA_TYPE$);
  this.$_CUSTOM_NAME_EXPANDO$ = "data-afr-name";
  this.$_SUGGESTIONS_POPUP_SUB_ID$ = "suggestions-popup";
  this.$__CONTENT_MODE_TABLE$ = "TABLE";
  this.$__SELECTION_MODE_MULTIPLE$ = "MULTIPLE";
  this.$__SEARCH_SECTION_TYPE_DEFAULT$ = "default";
  this.$_VALUE_UPDATING_STYLE_CLASS$ = "p_AFValueUpdating";
  this.$__SUGGESTIONS_RENDERING_CHUNK_SIZE$ = 300;
  this.$_SPECIAL_CHARS_REGEX_STR$ = "~`!@#$%^\x26*()_+{}|:;\"'\x3c,\x3e.?/[\\]\\-\\\\";
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.InitSubclass", $AdfDhtmlInputSearchPeer$$.$InitSubclass$);
$AdfDhtmlInputSearchPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlInputSearchPeer$$$$$InitDomElement$$($component$$1403$$, $element$$244$$) {
  this.$BindToComponent$($component$$1403$$, $element$$244$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1403$$, $element$$244$$);
  this.$_suggestionsContainer$ = new $AdfSuggestionsContainer$$(this);
  this.$_toolbarPanel$ = new $AdfToolbarPanel$$(this);
  if (!$AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1403$$)) {
    var $contentNode$$57$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1403$$, $element$$244$$);
    $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$57$$);
    $AdfDhtmlInputSearchPeer$$.$_setIdOnLabelElement$($component$$1403$$, $contentNode$$57$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlInputSearchPeer$$.prototype.$InitDomElement$});
$AdfDhtmlInputSearchPeer$$.prototype.$compareValues$ = function $$AdfDhtmlInputSearchPeer$$$$$compareValues$$($oldValues$$1$$, $newValues$$4$$) {
  $newValues$$4$$ || ($newValues$$4$$ = []);
  $AdfAssert$$.$assertArray$($oldValues$$1$$);
  $AdfAssert$$.$assertArray$($newValues$$4$$);
  if ($newValues$$4$$ == $oldValues$$1$$) {
    return !0;
  }
  if ($newValues$$4$$.length != $oldValues$$1$$.length) {
    return !1;
  }
  for (var $i$$335$$ = 0, $len$$17$$ = $newValues$$4$$.length;$i$$335$$ < $len$$17$$;$i$$335$$++) {
    if (-1 == $oldValues$$1$$.indexOf($newValues$$4$$[$i$$335$$])) {
      return !1;
    }
  }
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.compareValues", {$compareValues$:$AdfDhtmlInputSearchPeer$$.prototype.$compareValues$});
$AdfDhtmlInputSearchPeer$$.prototype.$getDisplayedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$getDisplayedValue$$($component$$1404$$) {
  return this.$GetDisplayValue$($component$$1404$$, this.$getDomElement$());
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getDisplayedValue", {$getDisplayedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$getDisplayedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$getSearchSections$ = function $$AdfDhtmlInputSearchPeer$$$$$getSearchSections$$($component$$1405_searchSections$$2$$) {
  $component$$1405_searchSections$$2$$ = $AdfInputSearchUtils$getChildrenSection$$($component$$1405_searchSections$$2$$, AdfRichSearchSection);
  for (var $searchSectionMap$$ = {}, $i$$336$$ = 0, $length$$61$$ = $component$$1405_searchSections$$2$$.length;$i$$336$$ < $length$$61$$;$i$$336$$++) {
    var $searchSection$$8$$ = $component$$1405_searchSections$$2$$[$i$$336$$];
    $searchSectionMap$$[$searchSection$$8$$.getType()] = $searchSection$$8$$;
  }
  return $searchSectionMap$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getSearchSections", {$getSearchSections$:$AdfDhtmlInputSearchPeer$$.prototype.$getSearchSections$});
$AdfDhtmlInputSearchPeer$$.prototype.$getSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$getSuggestions$$() {
  var $displayedSuggestions$$2$$ = this.$GetSuggestionsPanel$().$getDisplayedSuggestions$();
  return $displayedSuggestions$$2$$ && $displayedSuggestions$$2$$.$getArray$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getSuggestions", {$getSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$getSuggestions$});
$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedObject$ = function $$AdfDhtmlInputSearchPeer$$$$$getConvertedObject$$($component$$1406$$, $newValues$$5$$) {
  $AdfAssert$$.$assertArray$($newValues$$5$$);
  var $converter$$18$$ = $component$$1406$$.getConverter(), $hasConverter_suggestions$$17$$ = !(null == $converter$$18$$ || $converter$$18$$ instanceof $AdfMissingConverter$$), $isClientOnly$$ = $hasConverter_suggestions$$17$$ && $converter$$18$$.$isClientOnly$ && $converter$$18$$.$isClientOnly$();
  $hasConverter_suggestions$$17$$ && !$isClientOnly$$ ? $newValues$$5$$ = $AdfDhtmlInputSearchPeer$$.$_deriveDisplayValueFromConv$($component$$1406$$, $converter$$18$$, $newValues$$5$$) : (($hasConverter_suggestions$$17$$ = this.$GetSuggestionMapContainingSelections$()) || ($hasConverter_suggestions$$17$$ = new Map), $newValues$$5$$ = $AdfDhtmlInputSearchPeer$$.$_defaultDisplayValueDerivation$($component$$1406$$, $hasConverter_suggestions$$17$$, $newValues$$5$$), $isClientOnly$$ && ($newValues$$5$$ = 
  $JSCompiler_StaticMethods__doDisplayValueFormatting$$(this, $component$$1406$$, this.$getDomElement$(), $converter$$18$$, $newValues$$5$$)));
  return $newValues$$5$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getConvertedObject", {$getConvertedObject$:$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedObject$});
$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$getConvertedValue$$($component$$1407$$, $submittedValues$$) {
  $AdfAssert$$.$assertArray$($submittedValues$$);
  if ("Number" == $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$($component$$1407$$)) {
    for (var $i$$337$$ = 0, $len$$18$$ = $submittedValues$$.length;$i$$337$$ < $len$$18$$;$i$$337$$++) {
      $submittedValues$$[$i$$337$$] = Number($submittedValues$$[$i$$337$$]);
    }
  }
  return $submittedValues$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.getConvertedValue", {$getConvertedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$getConvertedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$ComponentValueChanged$ = function $$AdfDhtmlInputSearchPeer$$$$$ComponentValueChanged$$($component$$1408$$, $domElement$$292_hiddenValueElems$$inline_2123$$, $newValues$$6_newValues$$inline_2122$$, $contentContainer$$inline_2124_oldValues$$2$$) {
  $newValues$$6_newValues$$inline_2122$$ ? Array.prototype.isPrototypeOf($newValues$$6_newValues$$inline_2122$$) || ($newValues$$6_newValues$$inline_2122$$ = [$newValues$$6_newValues$$inline_2122$$]) : $newValues$$6_newValues$$inline_2122$$ = [];
  $AdfAssert$$.$assertArray$($contentContainer$$inline_2124_oldValues$$2$$);
  var $i$$inline_2125_suggestionMap$$8$$ = this.$GetSuggestionMapContainingSelections$($newValues$$6_newValues$$inline_2122$$);
  $AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$($component$$1408$$, $newValues$$6_newValues$$inline_2122$$, $i$$inline_2125_suggestionMap$$8$$);
  var $length$$inline_2126_realNewValues$$ = this.$GetRealNewValues$($newValues$$6_newValues$$inline_2122$$, $contentContainer$$inline_2124_oldValues$$2$$);
  $AdfPreferredSuggestionsManager$$.add($component$$1408$$, $length$$inline_2126_realNewValues$$, $i$$inline_2125_suggestionMap$$8$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$ComponentValueChanged$.call(this, $component$$1408$$, $domElement$$292_hiddenValueElems$$inline_2123$$, $newValues$$6_newValues$$inline_2122$$, $contentContainer$$inline_2124_oldValues$$2$$);
  $domElement$$292_hiddenValueElems$$inline_2123$$ = $AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$($component$$1408$$, $domElement$$292_hiddenValueElems$$inline_2123$$);
  $contentContainer$$inline_2124_oldValues$$2$$ = $AdfInputSearchUtils$getContentContainer$$($component$$1408$$);
  $i$$inline_2125_suggestionMap$$8$$ = 0;
  for ($length$$inline_2126_realNewValues$$ = $newValues$$6_newValues$$inline_2122$$.length;$i$$inline_2125_suggestionMap$$8$$ < $length$$inline_2126_realNewValues$$;$i$$inline_2125_suggestionMap$$8$$++) {
    var $hiddenValueElem$$inline_2127$$ = $domElement$$292_hiddenValueElems$$inline_2123$$[$i$$inline_2125_suggestionMap$$8$$];
    $hiddenValueElem$$inline_2127$$ || ($hiddenValueElem$$inline_2127$$ = $AdfDhtmlInputSearchPeer$$.$_createHiddenValueElement$($component$$1408$$, $contentContainer$$inline_2124_oldValues$$2$$));
    $hiddenValueElem$$inline_2127$$.value = $newValues$$6_newValues$$inline_2122$$[$i$$inline_2125_suggestionMap$$8$$];
  }
  for ($length$$inline_2126_realNewValues$$ = $domElement$$292_hiddenValueElems$$inline_2123$$.length;$i$$inline_2125_suggestionMap$$8$$ < $length$$inline_2126_realNewValues$$;$i$$inline_2125_suggestionMap$$8$$++) {
    $contentContainer$$inline_2124_oldValues$$2$$.removeChild($domElement$$292_hiddenValueElems$$inline_2123$$[$i$$inline_2125_suggestionMap$$8$$]);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ComponentValueChanged", {$ComponentValueChanged$:$AdfDhtmlInputSearchPeer$$.prototype.$ComponentValueChanged$});
$AdfDhtmlInputSearchPeer$$.prototype.$LazyInitialize$ = function $$AdfDhtmlInputSearchPeer$$$$$LazyInitialize$$() {
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.LazyInitialize", {$LazyInitialize$:$AdfDhtmlInputSearchPeer$$.prototype.$LazyInitialize$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetComponentValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetComponentValue$$($component$$1410$$, $domElement$$294$$) {
  var $hiddenValueElems$$ = $AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$($component$$1410$$, $domElement$$294$$), $selections$$ = [];
  if ($hiddenValueElems$$) {
    for (var $i$$338$$ = 0;$i$$338$$ < $hiddenValueElems$$.length;$i$$338$$++) {
      var $value$$212$$ = $hiddenValueElems$$[$i$$338$$].value;
      $value$$212$$ && 0 < $value$$212$$.length && $selections$$.push($value$$212$$);
    }
  }
  return this.$getConvertedValue$($component$$1410$$, $selections$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetComponentValue", {$GetComponentValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetComponentValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetFormattedDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetFormattedDisplayValue$$($component$$1411$$, $domElement$$295$$, $clientConverter$$) {
  var $rawDisplayValues$$ = this.$GetDisplayValue$($component$$1411$$, $domElement$$295$$, !0);
  return $JSCompiler_StaticMethods__doDisplayValueFormatting$$(this, $component$$1411$$, $domElement$$295$$, $clientConverter$$, $rawDisplayValues$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetFormattedDisplayValue", {$GetFormattedDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetFormattedDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetInlineEditor$ = function $$AdfDhtmlInputSearchPeer$$$$$GetInlineEditor$$() {
  return $AdfDhtmlSimpleLabelEditor$$.$getInlineEditor$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetInlineEditor", {$GetInlineEditor$:$AdfDhtmlInputSearchPeer$$.prototype.$GetInlineEditor$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetNullDefault$ = function $$AdfDhtmlInputSearchPeer$$$$$GetNullDefault$$() {
  return $AdfCollections$$.$EMPTY_ARRAY$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetNullDefault", {$GetNullDefault$:$AdfDhtmlInputSearchPeer$$.prototype.$GetNullDefault$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSubmittedValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSubmittedValue$$($component$$1412$$, $domElement$$296$$) {
  return this.$GetComponentValue$($component$$1412$$, $domElement$$296$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSubmittedValue", {$GetSubmittedValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSubmittedValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetCombinedDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$GetCombinedDisplayValue$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetCombinedDisplayValue", {$GetCombinedDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$GetCombinedDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$SetDisplayValue$$($component$$1413_contentNode$$58$$, $domElement$$297$$, $newValue$$98_newValues$$8$$) {
  $AdfAssert$$.$assertArray$($newValue$$98_newValues$$8$$);
  $newValue$$98_newValues$$8$$ = this.$GetCombinedDisplayValue$($newValue$$98_newValues$$8$$);
  $AdfAssert$$.$assertString$($newValue$$98_newValues$$8$$);
  this.$_lastValue$ = $newValue$$98_newValues$$8$$;
  $component$$1413_contentNode$$58$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1413_contentNode$$58$$, $domElement$$297$$);
  "INPUT" == $component$$1413_contentNode$$58$$.tagName ? ($component$$1413_contentNode$$58$$.value = $newValue$$98_newValues$$8$$, $AdfDhtmlInputBasePeer$$.$setLastValue$($component$$1413_contentNode$$58$$, $component$$1413_contentNode$$58$$.value)) : $AdfAgent$$.$AGENT$.$setTextContent$($component$$1413_contentNode$$58$$, $newValue$$98_newValues$$8$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.SetDisplayValue", {$SetDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValue$});
$AdfDhtmlInputSearchPeer$$.prototype.$VetoBlurValidation$ = function $$AdfDhtmlInputSearchPeer$$$$$VetoBlurValidation$$() {
  return !0;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.VetoBlurValidation", {$VetoBlurValidation$:$AdfDhtmlInputSearchPeer$$.prototype.$VetoBlurValidation$});
$AdfDhtmlInputSearchPeer$$.prototype.$setTextAndShowSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$setTextAndShowSuggestions$$($component$$1414$$, $newText$$6$$) {
  var $domElement$$298$$ = this.$getDomElement$();
  $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1414$$, $domElement$$298$$).value = $newText$$6$$;
  $JSCompiler_StaticMethods__filterSuggestions$$(this, $component$$1414$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.setTextAndShowSuggestions", {$setTextAndShowSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$setTextAndShowSuggestions$});
$AdfDhtmlInputSearchPeer$$.$GetValue$ = function $$AdfDhtmlInputSearchPeer$$$$GetValue$$($component$$1415$$) {
  return $component$$1415$$.$getProperty$(AdfUIValue.VALUE);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.GetValue", $AdfDhtmlInputSearchPeer$$.$GetValue$);
$AdfDhtmlInputSearchPeer$$.prototype.$DeriveAndSetDisplayValue$ = function $$AdfDhtmlInputSearchPeer$$$$$DeriveAndSetDisplayValue$$($component$$1416$$, $domElement$$299$$, $newDisplayValues_values$$8$$) {
  $newDisplayValues_values$$8$$ || ($newDisplayValues_values$$8$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$1416$$));
  $newDisplayValues_values$$8$$ = this.$getConvertedObject$($component$$1416$$, $newDisplayValues_values$$8$$);
  this.$SetDisplayValue$($component$$1416$$, $domElement$$299$$, $newDisplayValues_values$$8$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.DeriveAndSetDisplayValue", {$DeriveAndSetDisplayValue$:$AdfDhtmlInputSearchPeer$$.prototype.$DeriveAndSetDisplayValue$});
function $JSCompiler_StaticMethods__doDisplayValueFormatting$$($JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$, $component$$1417$$, $domElement$$300_formattedValues$$, $clientConverter$$1$$, $rawDisplayValues$$1$$) {
  $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$ = $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$.$GetComponentLabel$($component$$1417$$, $domElement$$300_formattedValues$$);
  try {
    $domElement$$300_formattedValues$$ = [];
    for (var $i$$339$$ = 0, $len$$19$$ = $rawDisplayValues$$1$$.length;$i$$339$$ < $len$$19$$;$i$$339$$++) {
      $domElement$$300_formattedValues$$.push($clientConverter$$1$$.getAsString($rawDisplayValues$$1$$[$i$$339$$], $JSCompiler_StaticMethods__doDisplayValueFormatting$self_label$$23$$));
    }
    return $domElement$$300_formattedValues$$;
  } catch ($e$$136$$) {
    $AdfLogger$$.$LOGGER$.$logErrorAsSevere$($e$$136$$, "Invoking TrClientConverter.getAsString on component (id\x3d'" + $component$$1417$$.$getClientId$() + "') resulted in an unexpected exception. The component's display value will not be formatted.");
  }
  return $rawDisplayValues$$1$$;
}
$AdfDhtmlInputSearchPeer$$.$_defaultDisplayValueDerivation$ = function $$AdfDhtmlInputSearchPeer$$$$_defaultDisplayValueDerivation$$($component$$1418$$, $suggestions$$18$$, $newValues$$9$$) {
  if (!$suggestions$$18$$ || 0 == $suggestions$$18$$.size) {
    return $newValues$$9$$;
  }
  for (var $values$$9$$ = [], $i$$340$$ = 0, $length$$62$$ = $newValues$$9$$.length;$i$$340$$ < $length$$62$$;$i$$340$$++) {
    var $newValue$$99$$ = $newValues$$9$$[$i$$340$$];
    if ($newValue$$99$$) {
      var $selectedItem$$3$$ = $suggestions$$18$$.get($newValue$$99$$), $newValue$$99$$ = $selectedItem$$3$$ ? $AdfDhtmlInputSearchPeer$$.$_getDisplayValueFromSelection$($component$$1418$$, $selectedItem$$3$$) : String($newValue$$99$$);
      $values$$9$$.push($newValue$$99$$);
    }
  }
  return $values$$9$$;
};
$AdfDhtmlInputSearchPeer$$.$_deriveDisplayValueFromConv$ = function $$AdfDhtmlInputSearchPeer$$$$_deriveDisplayValueFromConv$$($component$$1419_label$$24$$, $converter$$19$$, $newValues$$10$$) {
  var $values$$10$$ = [];
  $component$$1419_label$$24$$ = $component$$1419_label$$24$$.$getProperty$("label");
  for (var $i$$341$$ = 0, $length$$63$$ = $newValues$$10$$.length;$i$$341$$ < $length$$63$$;$i$$341$$++) {
    var $newValue$$100$$ = $newValues$$10$$[$i$$341$$];
    $newValue$$100$$ && ($newValue$$100$$ = $converter$$19$$.getAsString($newValue$$100$$, $component$$1419_label$$24$$)) && $values$$10$$.push($newValue$$100$$);
  }
  return $values$$10$$;
};
$AdfDhtmlInputSearchPeer$$.$_getDisplayValueFromSelection$ = function $$AdfDhtmlInputSearchPeer$$$$_getDisplayValueFromSelection$$($component$$1420$$, $selectedItem$$4$$) {
  if ($selectedItem$$4$$) {
    var $displayValues$$ = "";
    $selectedItem$$4$$ = $selectedItem$$4$$.data;
    for (var $displayAttributes$$1$$ = $component$$1420$$.getDisplayAttributes(), $i$$342$$ = 0, $len$$20$$ = $displayAttributes$$1$$.length;$i$$342$$ < $len$$20$$;$i$$342$$++) {
      var $displayValue$$1$$ = $selectedItem$$4$$[$displayAttributes$$1$$[$i$$342$$]];
      null != $displayValue$$1$$ && ($displayValues$$ += $displayValue$$1$$ + " ");
    }
    return $displayValues$$.trim();
  }
  return null;
};
$AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$ = function $$AdfDhtmlInputSearchPeer$$$$_deriveAndSetSelection$$($component$$1421$$, $newValues$$11$$, $suggestionMap$$9$$) {
  if ($suggestionMap$$9$$) {
    for (var $newSuggestionsObjs$$ = [], $i$$343$$ = 0;$i$$343$$ < $newValues$$11$$.length;$i$$343$$++) {
      var $suggestionObj$$ = $suggestionMap$$9$$.get($newValues$$11$$[$i$$343$$]);
      $suggestionObj$$ && $newSuggestionsObjs$$.push($suggestionObj$$);
    }
    $AdfDhtmlInputSearchPeer$$.$SetSelectionProp$($component$$1421$$, $newSuggestionsObjs$$);
  }
};
$AdfDhtmlInputSearchPeer$$.prototype.$prefetchOrUpdate$ = function $$AdfDhtmlInputSearchPeer$$$$$prefetchOrUpdate$$($component$$1422$$, $searchSection$$9$$) {
  this.$_isPrefetchListComprehensive$ = null;
  if (this.$IsSuggestionPopupVisible$($component$$1422$$)) {
    this.$_lastFilteredText$ = "";
    this.$CacheServerSuggestionsList$(null);
    var $contentNode$$60_isReadonlyOrDisabled$$inline_2132$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1422$$, this.$getDomElement$());
    this.$ShowSuggestionsPopup$($component$$1422$$, $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$60_isReadonlyOrDisabled$$inline_2132$$) != $contentNode$$60_isReadonlyOrDisabled$$inline_2132$$.value) ? "filtering" : "initial";
  } else {
    a: {
      if ($searchSection$$9$$.getDataUrl()) {
        $contentNode$$60_isReadonlyOrDisabled$$inline_2132$$ = $AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1422$$);
        if ($searchSection$$9$$.getType() == $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$) {
          var $value$$inline_2133$$ = $AdfDhtmlInputSearchPeer$$.$GetValue$($component$$1422$$), $domElement$$inline_2134$$ = this.$getDomElement$(), $displayValue$$inline_2135$$ = $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1422$$, $domElement$$inline_2134$$);
          if (0 !== $value$$inline_2133$$.length && 0 === $displayValue$$inline_2135$$.length) {
            $AdfDomUtils$$.$addCSSClassName$($domElement$$inline_2134$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
          } else {
            if ($contentNode$$60_isReadonlyOrDisabled$$inline_2132$$) {
              break a;
            }
          }
        } else {
          if ($contentNode$$60_isReadonlyOrDisabled$$inline_2132$$) {
            break a;
          }
        }
        $AdfSequencedSections$$.$fetchSection$($component$$1422$$, $searchSection$$9$$, !0);
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.prefetchOrUpdate", {$prefetchOrUpdate$:$AdfDhtmlInputSearchPeer$$.prototype.$prefetchOrUpdate$});
$AdfDhtmlInputSearchPeer$$.$getValueAttributeType$ = function $$AdfDhtmlInputSearchPeer$$$$getValueAttributeType$$($component$$1423$$) {
  return $component$$1423$$.$getProperty$($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.getValueAttributeType", $AdfDhtmlInputSearchPeer$$.$getValueAttributeType$);
$AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$ = function $$AdfDhtmlInputSearchPeer$$$$propagateValueAttributeDataType$$($component$$1424$$, $suggestions$$19$$) {
  var $sampleValue$$ = $suggestions$$19$$ && $suggestions$$19$$.$at$(0) && $suggestions$$19$$.$at$(0).key;
  if (null != $sampleValue$$) {
    var $type$$175$$ = null;
    $sampleValue$$.constructor == Number && ($type$$175$$ = "Number");
    $type$$175$$ ? $component$$1424$$.setProperty($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$, $type$$175$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$) : $component$$1424$$.setProperty($AdfDhtmlInputSearchPeer$$.$_VALUE_ATTRIBUTE_DATA_TYPE$, "String", !1, $AdfUIComponent$$.$PROPAGATE_NEVER$);
  }
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.propagateValueAttributeDataType", $AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$);
$AdfDhtmlInputSearchPeer$$.prototype.$Component_valJsTypeChanged$ = function $$AdfDhtmlInputSearchPeer$$$$$Component_valJsTypeChanged$$($component$$1425$$, $domElement$$301$$) {
  var $values$$11$$ = this.$GetComponentValue$($component$$1425$$, $domElement$$301$$);
  $component$$1425$$.$initializeProperty$(AdfUIValue.VALUE, $values$$11$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.Component_valJsTypeChanged", {$Component_valJsTypeChanged$:$AdfDhtmlInputSearchPeer$$.prototype.$Component_valJsTypeChanged$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentClick$$($componentEvent$$280_eventTarget$$61$$) {
  $AdfDhtmlInputSearchPeer$$.$superclass$.$HandleComponentClick$.call(this, $componentEvent$$280_eventTarget$$61$$);
  var $component$$1426$$ = this.$getComponent$();
  if ($componentEvent$$280_eventTarget$$61$$.$isLeftButtonPressed$() && !$AdfInputSearchUtils$isReadOnlyOrDisabled$$($component$$1426$$)) {
    $component$$1426$$.$getClientId$();
    $componentEvent$$280_eventTarget$$61$$ = $componentEvent$$280_eventTarget$$61$$.$getNativeEventTarget$();
    var $contentContainer$$5$$ = $AdfInputSearchUtils$getContentContainer$$($component$$1426$$), $contentNode$$61$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1426$$, this.$getDomElement$());
    $componentEvent$$280_eventTarget$$61$$ == $AdfInputSearchUtils$getSelectionsButton$$($component$$1426$$) ? this.$ShowSelectionsPopup$($component$$1426$$, $contentNode$$61$$) : $componentEvent$$280_eventTarget$$61$$ == $contentNode$$61$$ || $componentEvent$$280_eventTarget$$61$$ == $contentContainer$$5$$ || $componentEvent$$280_eventTarget$$61$$.parentElement == $contentContainer$$5$$ ? this.$IsSelectionsShown$($component$$1426$$) ? (this.$ShowSuggestionsPopup$($component$$1426$$, "initial"), 
    $component$$1426$$.focus()) : this.$IsSuggestionPopupVisible$($component$$1426$$) || ($contentNode$$61$$.select(), $component$$1426$$.focus(), this.$ShowSuggestionsPopup$($component$$1426$$, "initial")) : this.$IsSuggestionPopupVisible$($component$$1426$$) && this.$GetSuggestionsPanel$().$handleClick$($componentEvent$$280_eventTarget$$61$$);
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentKeyDown$$($componentEvent$$281$$) {
  var $component$$1427$$ = this.$getComponent$(), $contentNode$$62$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1427$$, this.$getDomElement$());
  this.$_keyUpNotExecuted$ || (this.$_keyUpNotExecuted$ = !0, this.$_lastValue$ = $contentNode$$62$$.value.trim());
  this.$IsSuggestionPopupVisible$($component$$1427$$) && (this.$_toolbarPanel$.$handleKeyDown$($componentEvent$$281$$, $contentNode$$62$$), this.$GetSuggestionsPanel$().$handleKeyDown$($componentEvent$$281$$, $contentNode$$62$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentKeyUp$$($componentEvent$$282_keyCode$$69$$) {
  this.$_keyUpNotExecuted$ = null;
  var $component$$1428$$ = this.$getComponent$(), $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = this.$getDomElement$(), $contentNode$$63$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1428$$, this.$getDomElement$());
  $componentEvent$$282_keyCode$$69$$ = $componentEvent$$282_keyCode$$69$$.$getKeyCode$();
  var $isSuggestionPopupVisible$$ = this.$IsSuggestionPopupVisible$($component$$1428$$);
  if ($isSuggestionPopupVisible$$) {
    $componentEvent$$282_keyCode$$69$$ == $AdfKeyStroke$$.$ESC_KEY$ && (this.$RestoreSelectionOnEscape$($component$$1428$$, $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$, $contentNode$$63$$), this.$HideSuggestionPopup$($component$$1428$$));
  } else {
    if ($componentEvent$$282_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWDOWN_KEY$) {
      this.$ShowSuggestionsPopup$($component$$1428$$, "initial");
      return;
    }
    var $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = $AdfPage$$.$PAGE$.$getLocaleContext$().$isRightToLeft$(), $isTextCaretAtEndPos$$ = $contentNode$$63$$.selectionEnd == $contentNode$$63$$.value.length;
    if (($JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ && $componentEvent$$282_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWLEFT_KEY$ || !$JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ && $componentEvent$$282_keyCode$$69$$ == $AdfKeyStroke$$.$ARROWRIGHT_KEY$) && $isTextCaretAtEndPos$$) {
      this.$ShowSelectionsPopup$($component$$1428$$, $contentNode$$63$$);
      return;
    }
  }
  if ($JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = $componentEvent$$282_keyCode$$69$$ != $AdfKeyStroke$$.$TAB_KEY$ && 16 != $componentEvent$$282_keyCode$$69$$) {
    $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = $contentNode$$63$$.value.trim(), $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ != this.$_lastValue$ ? (this.$_lastValue$ = $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$, $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = !0) : $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ = !1;
  }
  $JSCompiler_temp$$136_contentNodeValue$$inline_2138_domElement$$302_isRTL$$21$$ && ($isSuggestionPopupVisible$$ || this.$ToggleDisplayValueToFiltering$($contentNode$$63$$, $componentEvent$$282_keyCode$$69$$), $JSCompiler_StaticMethods__filterSuggestions$$(this, $component$$1428$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentFocus$ = function $$AdfDhtmlInputSearchPeer$$$$$HandleComponentFocus$$($componentEvent$$283$$, $contentNode$$64$$) {
  var $component$$1429$$ = this.$getComponent$();
  $contentNode$$64$$ || ($contentNode$$64$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1429$$, this.$getDomElement$()));
  $componentEvent$$283$$.$getNativeEventTarget$() == $contentNode$$64$$ && $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$64$$);
  $AdfDhtmlInputSearchPeer$$.$superclass$.$HandleComponentFocus$.call(this, $componentEvent$$283$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HandleComponentFocus", {$HandleComponentFocus$:$AdfDhtmlInputSearchPeer$$.prototype.$HandleComponentFocus$});
$AdfDhtmlInputSearchPeer$$.prototype.$_handleSuggestionsPopupClosed$ = function $$AdfDhtmlInputSearchPeer$$$$$_handleSuggestionsPopupClosed$$($component$$1430$$) {
  var $contentNode$$65$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1430$$, this.$getDomElement$());
  this.$RunValidation$($component$$1430$$, $contentNode$$65$$, !0);
  $contentNode$$65$$.parentElement.setAttribute("aria-expanded", "false");
  this.$_toolbarPanel$.detach($component$$1430$$);
  this.$_suggestionsContainer$.detach($component$$1430$$, $contentNode$$65$$, this.$GetSuggestionsPanel$(), this.$IsUnderAutocompletion$());
  this.$ClearTemporaryStorage$();
};
$AdfDhtmlInputSearchPeer$$.prototype.$_handleSuggestionsPopupOpening$ = function $$AdfDhtmlInputSearchPeer$$$$$_handleSuggestionsPopupOpening$$($component$$1431$$) {
  $AdfInputSearchUtils$getContentContainer$$($component$$1431$$).setAttribute("aria-expanded", "true");
};
$AdfDhtmlInputSearchPeer$$.$SetSelectionProp$ = function $$AdfDhtmlInputSearchPeer$$$$SetSelectionProp$$($component$$1432$$, $selection$$17$$) {
  $component$$1432$$.setProperty($AdfDhtmlInputSearchPeer$$.$SELECTION_PROPERTY$, $selection$$17$$, !1, $AdfUIComponent$$.$PROPAGATE_ALWAYS$);
};
$goog$exportSymbol$$("AdfDhtmlInputSearchPeer.SetSelectionProp", $AdfDhtmlInputSearchPeer$$.$SetSelectionProp$);
$AdfDhtmlInputSearchPeer$$.prototype.$ClearTemporaryStorage$ = function $$AdfDhtmlInputSearchPeer$$$$$ClearTemporaryStorage$$() {
  this.$_fastKeyInputTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$(this.$_fastKeyInputTimer$), this.$_fastKeyInputTimer$ = null);
  this.$_serverFilterTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$(this.$_serverFilterTimer$), this.$_serverFilterTimer$ = null);
  this.$_lastFilteredText$ = this.$_keyUpNotExecuted$ = null;
  this.$CacheServerSuggestionsList$(null);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ClearTemporaryStorage", {$ClearTemporaryStorage$:$AdfDhtmlInputSearchPeer$$.prototype.$ClearTemporaryStorage$});
$AdfDhtmlInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$ = function $$AdfDhtmlInputSearchPeer$$$$$DerivePropsFromPrefSuggestions$$($component$$1433$$, $preferredSuggestions$$6$$) {
  $AdfDhtmlInputSearchPeer$$.$propagateValueAttributeDataType$($component$$1433$$, $preferredSuggestions$$6$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.DerivePropsFromPrefSuggestions", {$DerivePropsFromPrefSuggestions$:$AdfDhtmlInputSearchPeer$$.prototype.$DerivePropsFromPrefSuggestions$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetRealNewValues$ = function $$AdfDhtmlInputSearchPeer$$$$$GetRealNewValues$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetRealNewValues", {$GetRealNewValues$:$AdfDhtmlInputSearchPeer$$.prototype.$GetRealNewValues$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSuggestionMapContainingSelections$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSuggestionMapContainingSelections", {$GetSuggestionMapContainingSelections$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionMapContainingSelections$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionsPanel$ = function $$AdfDhtmlInputSearchPeer$$$$$GetSuggestionsPanel$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetSuggestionsPanel", {$GetSuggestionsPanel$:$AdfDhtmlInputSearchPeer$$.prototype.$GetSuggestionsPanel$});
$AdfDhtmlInputSearchPeer$$.prototype.$ShowSelectionsPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$ShowSelectionsPopup$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ShowSelectionsPopup", {$ShowSelectionsPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$ShowSelectionsPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$IsUnderAutocompletion$ = function $$AdfDhtmlInputSearchPeer$$$$$IsUnderAutocompletion$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsUnderAutocompletion", {$IsUnderAutocompletion$:$AdfDhtmlInputSearchPeer$$.prototype.$IsUnderAutocompletion$});
$AdfDhtmlInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$ = function $$AdfDhtmlInputSearchPeer$$$$$RestoreSelectionOnEscape$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.RestoreSelectionOnEscape", {$RestoreSelectionOnEscape$:$AdfDhtmlInputSearchPeer$$.prototype.$RestoreSelectionOnEscape$});
$AdfDhtmlInputSearchPeer$$.prototype.$RenderSelections$ = function $$AdfDhtmlInputSearchPeer$$$$$RenderSelections$$() {
  $AdfAssert$$.$failedInAbstractFunction$();
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.RenderSelections", {$RenderSelections$:$AdfDhtmlInputSearchPeer$$.prototype.$RenderSelections$});
$AdfDhtmlInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$ = function $$AdfDhtmlInputSearchPeer$$$$$ToggleDisplayValueToFiltering$$($contentNode$$68$$, $keyCode$$70$$) {
  this.$_lastValue$ = this.$_lastFilteredText$ = "";
  if ($keyCode$$70$$ === $AdfKeyStroke$$.$BACKSPACE_KEY$ || $keyCode$$70$$ === $AdfKeyStroke$$.$DELETE_KEY$) {
    this.$_lastFilteredText$ = null;
  }
  $AdfDhtmlInputBasePeer$$.$setLastValue$($contentNode$$68$$, "");
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ToggleDisplayValueToFiltering", {$ToggleDisplayValueToFiltering$:$AdfDhtmlInputSearchPeer$$.prototype.$ToggleDisplayValueToFiltering$});
$AdfDhtmlInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$ = function $$AdfDhtmlInputSearchPeer$$$$$UpdateDisplayValueAndSelection$$($component$$1437$$, $domElement$$304$$, $values$$12$$) {
  var $suggestionMap$$10$$ = this.$GetSuggestionMapContainingSelections$();
  $AdfDhtmlInputSearchPeer$$.$_deriveAndSetSelection$($component$$1437$$, $values$$12$$, $suggestionMap$$10$$);
  this.$DeriveAndSetDisplayValue$($component$$1437$$, $domElement$$304$$, $values$$12$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.UpdateDisplayValueAndSelection", {$UpdateDisplayValueAndSelection$:$AdfDhtmlInputSearchPeer$$.prototype.$UpdateDisplayValueAndSelection$});
$AdfDhtmlInputSearchPeer$$.$__isSimpleFetchRequest$ = function $$AdfDhtmlInputSearchPeer$$$$__isSimpleFetchRequest$$($options$$34$$) {
  var $request$$16$$ = $options$$34$$[$AdfRestDataService$$.$REQUEST_DATA$];
  return !$options$$34$$.$_serverFilterContext$ || "GET" == $request$$16$$.method && null == $request$$16$$.$queryString$;
};
function $JSCompiler_StaticMethods__fetch$$($component$$1440$$, $options$$35$$) {
  var $type$$176$$ = $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$, $searchSection$$11$$ = $component$$1440$$.$getSearchSections$()[$type$$176$$];
  $searchSection$$11$$ ? $AdfSequencedSections$$.$fetchSection$($component$$1440$$, $searchSection$$11$$, !1, $options$$35$$) : $AdfLogger$$.$LOGGER$.severe("Can't locate the searchSection component of type ", $type$$176$$);
}
$AdfDhtmlInputSearchPeer$$.prototype.$__getFetchOptions$ = function $$AdfDhtmlInputSearchPeer$$$$$__getFetchOptions$$($component$$1441$$, $searchSection$$12$$, $options$$36$$, $context$$42_isFiltering$$1$$) {
  $context$$42_isFiltering$$1$$ || ($options$$36$$.$_isPreferredSuggestionsDisplayed$ = !!$AdfPreferredSuggestionsManager$$.get($component$$1441$$));
  $options$$36$$.$_lastValue$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1441$$, this.$getDomElement$()).value;
  $JSCompiler_StaticMethods__getPrefetchListComprehensive$$(this, $component$$1441$$) || ($context$$42_isFiltering$$1$$ = {}, $context$$42_isFiltering$$1$$.$filterAttributes$ = $component$$1441$$.getFilterAttributes(), $context$$42_isFiltering$$1$$.$criteria$ = $component$$1441$$.getCriteria(), $context$$42_isFiltering$$1$$.$searchTerms$ = $options$$36$$.$_isServerFiltering$ && $options$$36$$.$_lastValue$ ? $AdfInputSearchMruCache$$.$__splitAndSort$($options$$36$$.$_lastValue$) : null, $options$$36$$.$_serverFilterContext$ = 
  $context$$42_isFiltering$$1$$, $options$$36$$[$AdfRestDataService$$.$REQUEST_DATA$] = $AdfDhtmlSearchSectionPeer$$.$executeFilterParametersFunc$($searchSection$$12$$, $context$$42_isFiltering$$1$$));
  return $options$$36$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__getFetchOptions", {$__getFetchOptions$:$AdfDhtmlInputSearchPeer$$.prototype.$__getFetchOptions$});
$AdfDhtmlInputSearchPeer$$.prototype.$__sequencedCallback$ = function $$AdfDhtmlInputSearchPeer$$$$$__sequencedCallback$$($component$$1442$$, $hasOtherSearchSections_searchSection$$13$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$, $lastValue$$5_options$$37$$) {
  $hasOtherSearchSections_searchSection$$13$$.getType() == $AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$ ? ($hasOtherSearchSections_searchSection$$13$$ = $AdfSuggestionsPanel$$.$removePartialSuggestionsLoadingIndicator$($component$$1442$$), this.$__fetchComplete$($component$$1442$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$, $lastValue$$5_options$$37$$, $hasOtherSearchSections_searchSection$$13$$)) : this.$IsSuggestionPopupVisible$($component$$1442$$) && 
  0 != $suggestions$$20$$.length && ($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1442$$, this.$getDomElement$()), $lastValue$$5_options$$37$$ = $AdfDhtmlInputBasePeer$$.$getLastValue$($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$), $lastValue$$5_options$$37$$ && $lastValue$$5_options$$37$$ !== $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$.value || ($contentNode$$69_isListComprehensive$$1_renderingContext$$3$$ = 
  {$isPartialList$:!0}, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$.source = $hasOtherSearchSections_searchSection$$13$$, this.$GetSuggestionsPanel$().$render$($component$$1442$$, $suggestions$$20$$, $contentNode$$69_isListComprehensive$$1_renderingContext$$3$$)));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__sequencedCallback", {$__sequencedCallback$:$AdfDhtmlInputSearchPeer$$.prototype.$__sequencedCallback$});
$AdfDhtmlInputSearchPeer$$.prototype.$__fetchComplete$ = function $$AdfDhtmlInputSearchPeer$$$$$__fetchComplete$$($component$$1443$$, $prefilteredSuggestions$$, $isListComprehensive$$2_values$$inline_2145$$, $isMasterList$$inline_2144_options$$38$$, $hasOtherSearchSections$$1$$) {
  var $isMasterList$$4$$ = !1;
  $AdfDhtmlInputSearchPeer$$.$__isSimpleFetchRequest$($isMasterList$$inline_2144_options$$38$$) && ($isMasterList$$4$$ = this.$_isPrefetchListComprehensive$ = $isListComprehensive$$2_values$$inline_2145$$);
  var $domElement$$306_renderingContext$$4$$ = this.$getDomElement$();
  $isMasterList$$inline_2144_options$$38$$.$_isPreferredSuggestionsDisplayed$ && $AdfDomUtils$$.$removeCSSClassName$($domElement$$306_renderingContext$$4$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
  if (this.$IsSuggestionPopupVisible$($component$$1443$$)) {
    var $serverFilterContext$$1$$ = $isMasterList$$inline_2144_options$$38$$.$_serverFilterContext$;
    this.$CacheServerSuggestionsList$($prefilteredSuggestions$$, $serverFilterContext$$1$$ && $serverFilterContext$$1$$.$searchTerms$ ? $serverFilterContext$$1$$.$searchTerms$ : "", $isListComprehensive$$2_values$$inline_2145$$);
    if ($isMasterList$$inline_2144_options$$38$$.$_lastValue$ !== $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1443$$, $domElement$$306_renderingContext$$4$$).value || $isMasterList$$inline_2144_options$$38$$.$_isClientFiltering$) {
      $JSCompiler_StaticMethods__filterSuggestionsImpl$$(this, $component$$1443$$, $isMasterList$$inline_2144_options$$38$$.$_isServerFiltering$ || !$isListComprehensive$$2_values$$inline_2145$$);
    } else {
      if ($isMasterList$$inline_2144_options$$38$$.$_isPreferredSuggestionsDisplayed$) {
        this.$GetSuggestionsPanel$().update($component$$1443$$, $prefilteredSuggestions$$, $isMasterList$$4$$);
      } else {
        if (!$hasOtherSearchSections$$1$$) {
          $domElement$$306_renderingContext$$4$$ = {};
          if ($isMasterList$$inline_2144_options$$38$$.$_isServerFiltering$) {
            if (this.$_lastFilteredText$ == $isMasterList$$inline_2144_options$$38$$.$_lastValue$ && !$AdfSuggestionsContainer$$.$needsUpdate$($component$$1443$$)) {
              return;
            }
            this.$_lastFilteredText$ = $isMasterList$$inline_2144_options$$38$$.$_lastValue$;
            $domElement$$306_renderingContext$$4$$.$shouldHighlight$ = !0;
          }
          this.$GetSuggestionsPanel$().$render$($component$$1443$$, $prefilteredSuggestions$$, $domElement$$306_renderingContext$$4$$);
        }
      }
    }
  } else {
    $isMasterList$$inline_2144_options$$38$$.$_isPreferredSuggestionsDisplayed$ ? ($isMasterList$$inline_2144_options$$38$$ = $isMasterList$$4$$, $AdfPreferredSuggestionsManager$$.$isDisplayAttributesCacheable$($component$$1443$$) || ($isListComprehensive$$2_values$$inline_2145$$ = $component$$1443$$.getValue(), null != $isListComprehensive$$2_values$$inline_2145$$ && 0 != $isListComprehensive$$2_values$$inline_2145$$.length && this.$UpdateDisplayValueAndSelection$($component$$1443$$, $domElement$$306_renderingContext$$4$$, 
    $isListComprehensive$$2_values$$inline_2145$$, $prefilteredSuggestions$$, $isMasterList$$inline_2144_options$$38$$))) : $AdfLogger$$.$LOGGER$.info("Popup dismissed while fetching the suggestions for InputSearch with client id ", $component$$1443$$.$getClientId$());
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__fetchComplete", {$__fetchComplete$:$AdfDhtmlInputSearchPeer$$.prototype.$__fetchComplete$});
$AdfDhtmlInputSearchPeer$$.prototype.$__fetchFailed$ = function $$AdfDhtmlInputSearchPeer$$$$$__fetchFailed$$($component$$1444$$) {
  $AdfDomUtils$$.$removeCSSClassName$(this.$getDomElement$(), $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
  this.$GetSuggestionsPanel$().$getDisplayedSuggestions$() || this.$GetSuggestionsPanel$().$render$($component$$1444$$, new $AdfSuggestionMap$$([]));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__fetchFailed", {$__fetchFailed$:$AdfDhtmlInputSearchPeer$$.prototype.$__fetchFailed$});
$AdfDhtmlInputSearchPeer$$.prototype.$PrefetchComplete$ = function $$AdfDhtmlInputSearchPeer$$$$$PrefetchComplete$$($component$$1446$$, $suggestions$$21$$, $isListComprehensive$$3$$, $needsFurtherFetching$$) {
  this.$_isPrefetchListComprehensive$ = $isListComprehensive$$3$$;
  this.$SetDisplayValueOnPrefetch$($component$$1446$$, $suggestions$$21$$, $isListComprehensive$$3$$, $needsFurtherFetching$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.PrefetchComplete", {$PrefetchComplete$:$AdfDhtmlInputSearchPeer$$.prototype.$PrefetchComplete$});
$AdfDhtmlInputSearchPeer$$.prototype.$__prefetchFailed$ = function $$AdfDhtmlInputSearchPeer$$$$$__prefetchFailed$$() {
  $AdfDomUtils$$.$removeCSSClassName$(this.$getDomElement$(), $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__prefetchFailed", {$__prefetchFailed$:$AdfDhtmlInputSearchPeer$$.prototype.$__prefetchFailed$});
$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValueOnPrefetch$ = function $$AdfDhtmlInputSearchPeer$$$$$SetDisplayValueOnPrefetch$$($component$$1448$$, $domElement$$307_suggestions$$22$$, $isListComprehensive$$4$$, $needsFurtherFetching$$1$$) {
  $AdfPreferredSuggestionsManager$$.update($component$$1448$$, $isListComprehensive$$4$$, $domElement$$307_suggestions$$22$$);
  $domElement$$307_suggestions$$22$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($component$$1448$$);
  "" !== $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1448$$, $domElement$$307_suggestions$$22$$) ? $AdfDomUtils$$.$removeCSSClassName$($domElement$$307_suggestions$$22$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$) : $needsFurtherFetching$$1$$ || ($AdfDomUtils$$.$removeCSSClassName$($domElement$$307_suggestions$$22$$, $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$), this.$IsSuggestionPopupVisible$($component$$1448$$) || "" == $AdfDhtmlEditableValuePeer$$.$getContentNodeText$($component$$1448$$, 
  $domElement$$307_suggestions$$22$$) && this.$DeriveAndSetDisplayValue$($component$$1448$$, $domElement$$307_suggestions$$22$$));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.SetDisplayValueOnPrefetch", {$SetDisplayValueOnPrefetch$:$AdfDhtmlInputSearchPeer$$.prototype.$SetDisplayValueOnPrefetch$});
$AdfDhtmlInputSearchPeer$$.prototype.$CacheServerSuggestionsList$ = function $$AdfDhtmlInputSearchPeer$$$$$CacheServerSuggestionsList$$($data$$50$$, $searchTerms$$4$$, $isListComprehensive$$5$$) {
  $data$$50$$ ? (void 0 === $isListComprehensive$$5$$ && ($isListComprehensive$$5$$ = !0), this.$_suggestionsCacheMap$ || (this.$_suggestionsCacheMap$ = new $AdfInputSearchMruCache$$(3)), this.$_suggestionsCacheMap$.put($searchTerms$$4$$, $data$$50$$, $isListComprehensive$$5$$)) : this.$_suggestionsCacheMap$ = null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.CacheServerSuggestionsList", {$CacheServerSuggestionsList$:$AdfDhtmlInputSearchPeer$$.prototype.$CacheServerSuggestionsList$});
$AdfDhtmlInputSearchPeer$$.prototype.$GetCachedServerSuggestionsList$ = function $$AdfDhtmlInputSearchPeer$$$$$GetCachedServerSuggestionsList$$($data$$51_searchTerms$$5$$) {
  if (this.$_suggestionsCacheMap$ && ($data$$51_searchTerms$$5$$ = this.$_suggestionsCacheMap$.get($data$$51_searchTerms$$5$$))) {
    return $data$$51_searchTerms$$5$$[$AdfInputSearchMruCache$$.$SUGGESTIONS$];
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.GetCachedServerSuggestionsList", {$GetCachedServerSuggestionsList$:$AdfDhtmlInputSearchPeer$$.prototype.$GetCachedServerSuggestionsList$});
$AdfDhtmlInputSearchPeer$$.$_attributeStartsWithFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_attributeStartsWithFilter$$($component$$1450$$, $searchText$$1$$, $suggestions$$23$$) {
  var $filterAttrs$$ = $component$$1450$$.getFilterAttributes(), $userOrderedSearchTerms$$ = $searchText$$1$$.split(" "), $searchTerms$$7$$ = $searchText$$1$$.split(" ").sort(function($component$$1450$$, $searchText$$1$$) {
    return $component$$1450$$.length - $searchText$$1$$.length;
  });
  return $suggestions$$23$$.filter(function($component$$1450$$) {
    return $AdfDhtmlInputSearchPeer$$.$_isAttributeStartsWithMatch$($component$$1450$$, $searchTerms$$7$$, $filterAttrs$$, $userOrderedSearchTerms$$);
  });
};
$AdfDhtmlInputSearchPeer$$.$_isAttributeStartsWithMatch$ = function $$AdfDhtmlInputSearchPeer$$$$_isAttributeStartsWithMatch$$($suggestion$$6$$, $searchTerms$$8$$, $filterAttrs$$1$$, $userOrderedSearchTerms$$1$$) {
  $searchTerms$$8$$ = $searchTerms$$8$$.slice();
  for (var $i$$344$$ = $filterAttrs$$1$$.length - 1;0 <= $i$$344$$;$i$$344$$--) {
    var $attrValue$$16$$ = $suggestion$$6$$[$filterAttrs$$1$$[$i$$344$$]];
    if (null !== $attrValue$$16$$ && void 0 !== $attrValue$$16$$) {
      for (var $attrValue$$16$$ = $attrValue$$16$$ + "", $j$$36$$ = $searchTerms$$8$$.length - 1;0 <= $j$$36$$;$j$$36$$--) {
        var $term$$1$$ = $searchTerms$$8$$[$j$$36$$], $whitespaceIndex$$ = $AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$($attrValue$$16$$, $term$$1$$, 0);
        if (0 <= $whitespaceIndex$$) {
          $searchTerms$$8$$.splice($j$$36$$, 1);
          0 < $whitespaceIndex$$ && $AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$($attrValue$$16$$, $whitespaceIndex$$ + 1, $term$$1$$, $searchTerms$$8$$, $userOrderedSearchTerms$$1$$);
          break;
        }
      }
    }
  }
  return 0 == $searchTerms$$8$$.length;
};
$AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$ = function $$AdfDhtmlInputSearchPeer$$$$_doNextWordMatch$$($attrValue$$17$$, $startIndex$$9_whitespaceIndex$$1$$, $currentTerm_nextTerm_nextTermIndex$$, $searchTerms$$9$$, $userOrderedSearchTerms$$2$$) {
  $currentTerm_nextTerm_nextTermIndex$$ = $userOrderedSearchTerms$$2$$.indexOf($currentTerm_nextTerm_nextTermIndex$$) + 1;
  if (!($currentTerm_nextTerm_nextTermIndex$$ >= $userOrderedSearchTerms$$2$$.length) && ($currentTerm_nextTerm_nextTermIndex$$ = $userOrderedSearchTerms$$2$$[$currentTerm_nextTerm_nextTermIndex$$], $startIndex$$9_whitespaceIndex$$1$$ = $AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$($attrValue$$17$$, $currentTerm_nextTerm_nextTermIndex$$, $startIndex$$9_whitespaceIndex$$1$$), 0 <= $startIndex$$9_whitespaceIndex$$1$$)) {
    var $nextTermPosInSearchTerms$$ = $searchTerms$$9$$.indexOf($currentTerm_nextTerm_nextTermIndex$$);
    -1 != $nextTermPosInSearchTerms$$ && ($searchTerms$$9$$.splice($nextTermPosInSearchTerms$$, 1), 0 < $startIndex$$9_whitespaceIndex$$1$$ && $AdfDhtmlInputSearchPeer$$.$_doNextWordMatch$($attrValue$$17$$, $startIndex$$9_whitespaceIndex$$1$$ + 1, $currentTerm_nextTerm_nextTermIndex$$, $searchTerms$$9$$, $userOrderedSearchTerms$$2$$));
  }
};
$AdfDhtmlInputSearchPeer$$.$_startsWithWhitespaceIndex$ = function $$AdfDhtmlInputSearchPeer$$$$_startsWithWhitespaceIndex$$($attrValue$$18$$, $term$$2$$, $startIndex$$10$$) {
  if (!($attrValue$$18$$.length - $startIndex$$10$$ < $term$$2$$.length)) {
    var $i$$345$$, $len$$21$$;
    $i$$345$$ = 0;
    for ($len$$21$$ = $term$$2$$.length;$i$$345$$ < $len$$21$$;$i$$345$$++) {
      if ($term$$2$$.charAt($i$$345$$).toLocaleLowerCase() != $attrValue$$18$$.charAt($i$$345$$ + $startIndex$$10$$).toLocaleLowerCase()) {
        return -1;
      }
    }
    return " " == $attrValue$$18$$.charAt($len$$21$$ + $startIndex$$10$$) ? $len$$21$$ + $startIndex$$10$$ : 0;
  }
};
$AdfDhtmlInputSearchPeer$$.$_getBoundaryRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getBoundaryRegex$$($word$$) {
  var $specialCharsRegexStr$$ = $AdfDhtmlInputSearchPeer$$.$_SPECIAL_CHARS_REGEX_STR$, $firstChar$$1$$ = $word$$.charAt(0);
  "\\" == $firstChar$$1$$ && ($firstChar$$1$$ = $word$$.charAt(1));
  switch($firstChar$$1$$) {
    case "\\":
      $firstChar$$1$$ = "\\\\";
      break;
    case "-":
      $firstChar$$1$$ = "\\-";
      break;
    case "]":
      $firstChar$$1$$ = "\\]";
  }
  $specialCharsRegexStr$$.indexOf($firstChar$$1$$) && ($specialCharsRegexStr$$ = $specialCharsRegexStr$$.replace($firstChar$$1$$, ""));
  return "(?:^|[\\s" + $specialCharsRegexStr$$ + "])+(?\x3d[^\\s" + $specialCharsRegexStr$$ + "])";
};
$AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$ = function $$AdfDhtmlInputSearchPeer$$$$_getBoundaryRegexList$$($searchTextList$$) {
  for (var $list$$5$$ = [], $i$$346$$ = 0, $len$$22$$ = $searchTextList$$.length;$i$$346$$ < $len$$22$$;$i$$346$$++) {
    $list$$5$$.push($AdfDhtmlInputSearchPeer$$.$_getBoundaryRegex$($searchTextList$$[$i$$346$$]));
  }
  return $list$$5$$;
};
$AdfDhtmlInputSearchPeer$$.$_getContainsFilterRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getContainsFilterRegex$$($re$$4_searchText$$2_searchTextList$$1$$) {
  $re$$4_searchText$$2_searchTextList$$1$$ = $AdfInputSearchUtils$escapeRegexChars$$($re$$4_searchText$$2_searchTextList$$1$$);
  $re$$4_searchText$$2_searchTextList$$1$$ = $AdfInputSearchUtils$splitAndSort$$($re$$4_searchText$$2_searchTextList$$1$$);
  for (var $boundaryRegexList$$ = $AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$($re$$4_searchText$$2_searchTextList$$1$$), $regex$$4$$ = "^", $z$$8$$ = 0, $lenz$$ = $re$$4_searchText$$2_searchTextList$$1$$.length;$z$$8$$ < $lenz$$;$z$$8$$++) {
    $regex$$4$$ += "(?\x3d[\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + "(\\w*?)(";
    if (0 != $z$$8$$) {
      for (var $regex$$4$$ = $regex$$4$$ + "?!", $y$$48$$ = 1;$y$$48$$ <= $z$$8$$;$y$$48$$++) {
        $regex$$4$$ += "\\" + 2 * $y$$48$$ + "$|";
      }
      $regex$$4$$ = $regex$$4$$.substr(0, $regex$$4$$.length - 1) + ")(";
      $regex$$4$$ += $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "(?:(?\x3d[\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + "(?:";
      for ($y$$48$$ = 1;$y$$48$$ <= $z$$8$$;$y$$48$$++) {
        $regex$$4$$ += "\\" + 2 * $y$$48$$ + "$|";
      }
      $regex$$4$$ = $regex$$4$$.substr(0, $regex$$4$$.length - 1) + "))|(?![\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "))";
    } else {
      $regex$$4$$ += $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + "(?![\\s\\S]*?" + $boundaryRegexList$$[$z$$8$$] + $re$$4_searchText$$2_searchTextList$$1$$[$z$$8$$] + ")";
    }
    $regex$$4$$ += "[\\s\\S]*))";
  }
  $re$$4_searchText$$2_searchTextList$$1$$ = new RegExp($regex$$4$$, "gi");
  $AdfLogger$$.$LOGGER$.$config$("The regex used for filtering is ", $re$$4_searchText$$2_searchTextList$$1$$);
  return $re$$4_searchText$$2_searchTextList$$1$$;
};
$AdfDhtmlInputSearchPeer$$.$_getStartsWithFilterRegex$ = function $$AdfDhtmlInputSearchPeer$$$$_getStartsWithFilterRegex$$($re$$5_searchText$$3_searchTextList$$2$$) {
  $re$$5_searchText$$3_searchTextList$$2$$ = $AdfInputSearchUtils$escapeRegexChars$$($re$$5_searchText$$3_searchTextList$$2$$);
  $re$$5_searchText$$3_searchTextList$$2$$ = $AdfInputSearchUtils$splitAndSort$$($re$$5_searchText$$3_searchTextList$$2$$);
  for (var $boundaryRegexList$$1$$ = $AdfDhtmlInputSearchPeer$$.$_getBoundaryRegexList$($re$$5_searchText$$3_searchTextList$$2$$), $regex$$5$$ = "^", $z$$9$$ = 0, $lenz$$1$$ = $re$$5_searchText$$3_searchTextList$$2$$.length;$z$$9$$ < $lenz$$1$$;$z$$9$$++) {
    $regex$$5$$ = $regex$$5$$ + "(?\x3d[\\s\\S]*?" + $boundaryRegexList$$1$$[$z$$9$$] + "(";
    if (0 != $z$$9$$) {
      for (var $regex$$5$$ = $regex$$5$$ + "?!", $y$$49$$ = 1;$y$$49$$ <= $z$$9$$;$y$$49$$++) {
        $regex$$5$$ += "\\" + $y$$49$$ + "$|";
      }
      $regex$$5$$ = $regex$$5$$.substr(0, $regex$$5$$.length - 1) + ")(";
    }
    $regex$$5$$ += $re$$5_searchText$$3_searchTextList$$2$$[$z$$9$$] + "[\\s\\S]*))";
  }
  $re$$5_searchText$$3_searchTextList$$2$$ = new RegExp($regex$$5$$, "gi");
  $AdfLogger$$.$LOGGER$.$config$("The regex used for filtering is ", $re$$5_searchText$$3_searchTextList$$2$$);
  return $re$$5_searchText$$3_searchTextList$$2$$;
};
$AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$ = function $$AdfDhtmlInputSearchPeer$$$$_concatenateFilterAttributeValues$$($filterAttributes$$1$$, $suggestionItem$$3$$) {
  for (var $filterStr$$ = "", $j$$37$$ = 0, $lenj$$ = $filterAttributes$$1$$.length;$j$$37$$ < $lenj$$;$j$$37$$++) {
    var $value$$214$$ = $suggestionItem$$3$$[$filterAttributes$$1$$[$j$$37$$]];
    $value$$214$$ && ($filterStr$$ += $value$$214$$ + " ");
  }
  return $filterStr$$;
};
$AdfDhtmlInputSearchPeer$$.$_containsFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_containsFilter$$($component$$1451_i$$347$$, $searchText$$4$$, $data$$53$$) {
  var $re$$6$$ = $AdfDhtmlInputSearchPeer$$.$_getContainsFilterRegex$($searchText$$4$$), $filterAttributes$$2$$ = $component$$1451_i$$347$$.getFilterAttributes(), $scoredCollection$$ = Array($searchText$$4$$.split(" ").length + 1);
  $component$$1451_i$$347$$ = 0;
  for (var $len$$23_scoredOrderedSuggestions$$ = $scoredCollection$$.length;$component$$1451_i$$347$$ < $len$$23_scoredOrderedSuggestions$$;$component$$1451_i$$347$$++) {
    $scoredCollection$$[$component$$1451_i$$347$$] = [];
  }
  $data$$53$$.forEach(function($component$$1451_i$$347$$, $data$$53$$, $len$$23_scoredOrderedSuggestions$$, $suggestionObj$$1$$) {
    $len$$23_scoredOrderedSuggestions$$ = $AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$($filterAttributes$$2$$, $component$$1451_i$$347$$);
    $component$$1451_i$$347$$ = $re$$6$$.exec($len$$23_scoredOrderedSuggestions$$);
    unicode_regex = /[^\u0000-\u00ff]/;
    if (unicode_regex.test($searchText$$4$$)) {
      $data$$53$$ = 0, -1 != $len$$23_scoredOrderedSuggestions$$.indexOf($searchText$$4$$) && $scoredCollection$$[$data$$53$$].push($suggestionObj$$1$$);
    } else {
      if (null != $component$$1451_i$$347$$) {
        $data$$53$$ = 0;
        $len$$23_scoredOrderedSuggestions$$ = 1;
        for (var $len$$24$$ = $component$$1451_i$$347$$.length;$len$$23_scoredOrderedSuggestions$$ < $len$$24$$;$len$$23_scoredOrderedSuggestions$$ += 2) {
          "" == $component$$1451_i$$347$$[$len$$23_scoredOrderedSuggestions$$] && $data$$53$$++;
        }
        $scoredCollection$$[$data$$53$$].push($suggestionObj$$1$$);
      }
      $re$$6$$.lastIndex = 0;
    }
  });
  $len$$23_scoredOrderedSuggestions$$ = [];
  for ($component$$1451_i$$347$$ = $scoredCollection$$.length - 1;0 <= $component$$1451_i$$347$$;$component$$1451_i$$347$$--) {
    $len$$23_scoredOrderedSuggestions$$ = $len$$23_scoredOrderedSuggestions$$.concat($scoredCollection$$[$component$$1451_i$$347$$]);
  }
  return new $AdfSuggestionMap$$($len$$23_scoredOrderedSuggestions$$, $data$$53$$);
};
$AdfDhtmlInputSearchPeer$$.$_startsWithFilter$ = function $$AdfDhtmlInputSearchPeer$$$$_startsWithFilter$$($component$$1452$$, $searchText$$5$$, $data$$54$$) {
  var $re$$7$$ = $AdfDhtmlInputSearchPeer$$.$_getStartsWithFilterRegex$($searchText$$5$$), $filterAttributes$$3$$ = $component$$1452$$.getFilterAttributes();
  return $data$$54$$.filter(function($component$$1452$$) {
    $component$$1452$$ = $re$$7$$.test($AdfDhtmlInputSearchPeer$$.$_concatenateFilterAttributeValues$($filterAttributes$$3$$, $component$$1452$$));
    $re$$7$$.lastIndex = 0;
    return $component$$1452$$;
  });
};
function $JSCompiler_StaticMethods__filterSuggestions$$($JSCompiler_StaticMethods__filterSuggestions$self$$, $component$$1453$$) {
  var $page$$137$$ = $AdfPage$$.$PAGE$;
  $JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$ ? $page$$137$$.$rescheduleTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$, 70) : $JSCompiler_StaticMethods__filterSuggestions$self$$.$_fastKeyInputTimer$ = $page$$137$$.$scheduleTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$, $JSCompiler_StaticMethods__filterSuggestions$self$$.$_filterSuggestionsCallback$, $component$$1453$$, 70, {isSynchronized:!0});
  $JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$ && ($AdfPage$$.$PAGE$.$cancelTimer$($JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$), $JSCompiler_StaticMethods__filterSuggestions$self$$.$_serverFilterTimer$ = null);
}
$AdfDhtmlInputSearchPeer$$.prototype.$_filterSuggestionsCallback$ = function $$AdfDhtmlInputSearchPeer$$$$$_filterSuggestionsCallback$$($component$$1454$$) {
  this.$_fastKeyInputTimer$ = null;
  $JSCompiler_StaticMethods__filterSuggestionsImpl$$(this, $component$$1454$$);
};
function $JSCompiler_StaticMethods__filterSuggestionsImpl$$($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$, $component$$1455$$, $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$) {
  var $searchText$$6$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1455$$, $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$getDomElement$()).value.trim();
  $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastValue$ = $searchText$$6$$;
  if ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastFilteredText$ != $searchText$$6$$ || $AdfSuggestionsContainer$$.$needsUpdate$($component$$1455$$)) {
    var $renderingContext$$5$$ = {};
    $renderingContext$$5$$.$shouldHighlight$ = !!$searchText$$6$$;
    $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ ? $renderingContext$$5$$.$isPartialList$ = !0 : $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$ShowSuggestionsPopup$($component$$1455$$, "filtering");
    $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ = $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$GetCachedServerSuggestionsList$($searchText$$6$$);
    if (!$data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ && ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$ || ($JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$ = new $AdfInputSearchMruCache$$(3)), $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ = ($data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ = $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_suggestionsCacheMap$.$getBestMatch$($searchText$$6$$)) ? 
    $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$[$AdfInputSearchMruCache$$.$SUGGESTIONS$] : void 0, $renderingContext$$5$$.$isPartialList$ = !0, !$data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$)) {
      return;
    }
    var $criteria$$ = $component$$1455$$.getCriteria();
    $searchText$$6$$ && ($data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$ = $criteria$$ == AdfRichInputSearch.$CRITERIA_CONTAINS$ ? $AdfDhtmlInputSearchPeer$$.$_containsFilter$($component$$1455$$, $searchText$$6$$, $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$) : $criteria$$ == AdfRichInputSearch.$CRITERIA_ATTRIBUTE_STARTS_WITH$ ? $AdfDhtmlInputSearchPeer$$.$_attributeStartsWithFilter$($component$$1455$$, $searchText$$6$$, $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$) : 
    $AdfDhtmlInputSearchPeer$$.$_startsWithFilter$($component$$1455$$, $searchText$$6$$, $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$));
    $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$GetSuggestionsPanel$().$render$($component$$1455$$, $data$$inline_2149_knownPartialListCase_list$$6_suggestions$$24$$, $renderingContext$$5$$);
    $JSCompiler_StaticMethods__filterSuggestionsImpl$self$$.$_lastFilteredText$ = $searchText$$6$$;
  }
}
function $JSCompiler_StaticMethods__getPrefetchListComprehensive$$($JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$, $component$$1456$$) {
  $AdfAssert$$.assert(void 0 !== $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$, "This method should not be invoked before prefetchOrUpdate is invoked");
  null === $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$ && ($JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$ = !$component$$1456$$.$getSearchSections$()[$AdfDhtmlInputSearchPeer$$.$__SEARCH_SECTION_TYPE_DEFAULT$].getFilterParameters());
  return $JSCompiler_StaticMethods__getPrefetchListComprehensive$self$$.$_isPrefetchListComprehensive$;
}
$AdfDhtmlInputSearchPeer$$.$_createHiddenValueElement$ = function $$AdfDhtmlInputSearchPeer$$$$_createHiddenValueElement$$($component$$1457$$, $contentContainer$$6$$) {
  var $hiddenValueElem$$ = document.createElement("input");
  $hiddenValueElem$$.setAttribute("type", "hidden");
  $hiddenValueElem$$.setAttribute("name", $component$$1457$$.$getClientId$());
  $contentContainer$$6$$.appendChild($hiddenValueElem$$);
  return $hiddenValueElem$$;
};
$AdfDhtmlInputSearchPeer$$.$_getHiddenValueElements$ = function $$AdfDhtmlInputSearchPeer$$$$_getHiddenValueElements$$($component$$1458$$, $domElement$$309$$) {
  $domElement$$309$$ || ($domElement$$309$$ = $component$$1458$$.$getDomElement$());
  var $attributeName$$3$$ = $component$$1458$$.getReadOnly() ? $AdfDhtmlInputSearchPeer$$.$_CUSTOM_NAME_EXPANDO$ : "name";
  return $domElement$$309$$.querySelectorAll("[" + $attributeName$$3$$ + "\x3d'" + $component$$1458$$.$getClientId$() + "']");
};
$AdfDhtmlInputSearchPeer$$.$_setIdOnLabelElement$ = function $$AdfDhtmlInputSearchPeer$$$$_setIdOnLabelElement$$($component$$1460$$, $contentNode$$70$$) {
  var $labelElement$$3$$ = $AdfDhtmlEditableValuePeer$$.$GetLabelElement$($contentNode$$70$$);
  $labelElement$$3$$ ? $labelElement$$3$$.setAttribute("id", $AdfInputSearchUtils$getLabelId$$($component$$1460$$)) : $AdfLogger$$.$LOGGER$.severe("Label not defined or for attribute not set for inputSearch ", $contentNode$$70$$.id);
};
$AdfDhtmlInputSearchPeer$$.prototype.$IsSelectionsShown$ = function $$AdfDhtmlInputSearchPeer$$$$$IsSelectionsShown$$($component$$1462_popupWindow$$20$$) {
  return ($component$$1462_popupWindow$$20$$ = this.$__getSuggestionPopupWindow$($component$$1462_popupWindow$$20$$)) && $component$$1462_popupWindow$$20$$.$_isSelections$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsSelectionsShown", {$IsSelectionsShown$:$AdfDhtmlInputSearchPeer$$.prototype.$IsSelectionsShown$});
$AdfDhtmlInputSearchPeer$$.prototype.$__getSuggestionPopupWindow$ = function $$AdfDhtmlInputSearchPeer$$$$$__getSuggestionPopupWindow$$($component$$1463$$) {
  return this.$getPopupWindow$($component$$1463$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.__getSuggestionPopupWindow", {$__getSuggestionPopupWindow$:$AdfDhtmlInputSearchPeer$$.prototype.$__getSuggestionPopupWindow$});
$AdfDhtmlInputSearchPeer$$.prototype.$IsSuggestionPopupVisible$ = function $$AdfDhtmlInputSearchPeer$$$$$IsSuggestionPopupVisible$$($component$$1464$$) {
  return this.$isPopupVisible$($component$$1464$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.IsSuggestionPopupVisible", {$IsSuggestionPopupVisible$:$AdfDhtmlInputSearchPeer$$.prototype.$IsSuggestionPopupVisible$});
$AdfDhtmlInputSearchPeer$$.prototype.$HideSuggestionPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$HideSuggestionPopup$$($component$$1465$$) {
  this.$hidePopup$($component$$1465$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.HideSuggestionPopup", {$HideSuggestionPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$HideSuggestionPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$ShowSuggestionsPopup$ = function $$AdfDhtmlInputSearchPeer$$$$$ShowSuggestionsPopup$$($component$$1467$$, $state$$45$$) {
  var $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$ = $AdfDhtmlEditableValuePeer$$.$getContentNode$($component$$1467$$, this.$getDomElement$()), $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = this.$__getSuggestionPopupWindow$($component$$1467$$);
  if ($clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$) {
    $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$.$_isSelections$ = !1, this.$_suggestionsContainer$.reset($component$$1467$$, $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$, this.$GetSuggestionsPanel$());
  } else {
    "filtering" != $state$$45$$ && this.$ToggleDisplayValueToFiltering$($contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$);
    var $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = $component$$1467$$.$getClientId$(), $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = $AdfRichUIPeer$$.$createSubId$($clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$), 
    $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$ = document.getElementById($clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$);
    $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$ || ($clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$ = document.createElement("div"), $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$.setAttribute("id", $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$), $component$$1467$$.getStyleClass() && $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$.setAttribute("class", 
    $component$$1467$$.getStyleClass()));
    $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$;
    this.$_toolbarPanel$.$attach$($component$$1467$$, $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$);
    this.$_suggestionsContainer$.$attach$($component$$1467$$, $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$);
    var $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$ = $component$$1467$$.$getClientId$(), $hints$$inline_2159_renderingContext$$inline_5824$$ = {type:"menu", autodismiss:"autodismissMenu", closeOnEscape:!0};
    $hints$$inline_2159_renderingContext$$inline_5824$$.closeHandler = this.$createCallback$(this.$_handleSuggestionsPopupClosed$);
    $hints$$inline_2159_renderingContext$$inline_5824$$.closeHandlerParam = $component$$1467$$;
    $hints$$inline_2159_renderingContext$$inline_5824$$.openedHandler = this.$createCallback$(this.$_handleSuggestionsPopupOpening$);
    $hints$$inline_2159_renderingContext$$inline_5824$$.openedHandlerParam = $component$$1467$$;
    $hints$$inline_2159_renderingContext$$inline_5824$$[AdfRichPopup.$HINT_ALIGN_ID$] = $AdfDhtmlEditableValuePeer$$.$GetContentNodeId$($component$$1467$$);
    $hints$$inline_2159_renderingContext$$inline_5824$$[AdfRichPopup.$HINT_ALIGN$] = AdfRichPopup.$ALIGN_AFTER_START$;
    $hints$$inline_2159_renderingContext$$inline_5824$$[AdfRichPopup.$HINT_LAUNCH_ID$] = $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$;
    $hints$$inline_2159_renderingContext$$inline_5824$$.animate = AdfRichPopup.$ANIMATE_FALSE$;
    $hints$$inline_2159_renderingContext$$inline_5824$$.focus = !1;
    window.$AdfSafariMobileAgent$ && $AdfAgent$$.$AGENT$ instanceof $AdfSafariMobileAgent$$ && this.$preventNextValueSubmission$();
    $hints$$inline_2159_renderingContext$$inline_5824$$.componentEventsEnabled = !0;
    this.$showPopup$($component$$1467$$, $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$, $hints$$inline_2159_renderingContext$$inline_5824$$, $AdfDhtmlInputSearchPeer$$.$_SUGGESTIONS_POPUP_SUB_ID$);
  }
  "selections" == $state$$45$$ ? (this.$__getSuggestionPopupWindow$($component$$1467$$).$_isSelections$ = !0, this.$RenderSelections$($component$$1467$$)) : "initial" == $state$$45$$ ? ($AdfPage$$.$PAGE$.$__perfTimings$(!0, !0, !0, "inputSearch: user click: show suggestions: id\x3d", $component$$1467$$.$getClientId$()), $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$ = $AdfPreferredSuggestionsManager$$.get($component$$1467$$), $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = 
  $AdfInputSearchUtils$getChildrenSection$$($component$$1467$$, AdfRichSearchSection), $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$ && ($clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$ = $AdfInputSearchUtils$getSuggestionsSection$$($component$$1467$$), $hints$$inline_2159_renderingContext$$inline_5824$$ = {$isPreferredList$:!0}, $hints$$inline_2159_renderingContext$$inline_5824$$.$isPartialList$ = 1 < $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$.length, 
  $hints$$inline_2159_renderingContext$$inline_5824$$.source = $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$, this.$GetSuggestionsPanel$().$render$($component$$1467$$, $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$, $hints$$inline_2159_renderingContext$$inline_5824$$), $clientId$$inline_2158_suggestionsPopup$$inline_2154_suggestionsSection$$inline_5823$$.getDontCache() && $AdfDomUtils$$.$addCSSClassName$(this.$getDomElement$(), 
  $AdfDhtmlInputSearchPeer$$.$_VALUE_UPDATING_STYLE_CLASS$)), (new $AdfSequencedSections$$($clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$)).$sendRequests$()) : ($contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$ = $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$.value.trim(), $AdfPage$$.$PAGE$.$__perfTimings$(!0, !0, 
  !0, "inputSearch: user click: filter values: id\x3d", $component$$1467$$.$getClientId$(), ", terms\x3d", $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$), this.$GetCachedServerSuggestionsList$($contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$) || ($JSCompiler_StaticMethods__getPrefetchListComprehensive$$(this, $component$$1467$$) ? $JSCompiler_StaticMethods__fetch$$($component$$1467$$, {$_isClientFiltering$:!0}) : 
  ($contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$ = $AdfDhtmlInputSearchPeer$$.$_getServerFilterDelay$($contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$.length), $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$ = $AdfPage$$.$PAGE$, this.$_serverFilterTimer$ ? $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$.$rescheduleTimer$(this.$_serverFilterTimer$, 
  $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$) : this.$_serverFilterTimer$ = $clientId$$inline_2152_page$$inline_5830_popupWindow$$21_searchSections$$inline_5822_suggestionsPopup$$3_suggestionsPopupId$$inline_2153$$.$scheduleTimer$(this, this.$_serverFiltering$, $component$$1467$$, $contentNode$$71_preferredSuggestions$$inline_5821_searchText$$inline_2165_time$$inline_5829$$, {isSynchronized:!0}))));
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlInputSearchPeer.prototype.ShowSuggestionsPopup", {$ShowSuggestionsPopup$:$AdfDhtmlInputSearchPeer$$.prototype.$ShowSuggestionsPopup$});
$AdfDhtmlInputSearchPeer$$.prototype.$_serverFiltering$ = function $$AdfDhtmlInputSearchPeer$$$$$_serverFiltering$$($component$$1470$$) {
  this.$_serverFilterTimer$ = null;
  $JSCompiler_StaticMethods__fetch$$($component$$1470$$, {$_isServerFiltering$:!0});
};
$AdfDhtmlInputSearchPeer$$.$_getServerFilterDelay$ = function $$AdfDhtmlInputSearchPeer$$$$_getServerFilterDelay$$($searchTermsLength$$) {
  switch($searchTermsLength$$) {
    case 0:
      return 500;
    case 1:
      return 1E3;
    case 2:
      return 700;
    case 3:
      return 500;
    default:
      return 300;
  }
};
