$AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$ = {criteria_items:"criteriaItems", search_icon:"search_icon"};
$AdfDhtmlQuickQueryPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlQuickQueryPeer$$$$$GetSubIdDomElement$$($subElementIdLocator$$7$$) {
  $AdfAssert$$.$assertNonEmptyString$($subElementIdLocator$$7$$);
  var $nestedSubelementClientId$$4_subElementId$$38_subId$$49$$ = $subElementIdLocator$$7$$, $nestedSubElementId$$6$$, $peer$$191_startIndex$$20_subIdElement$$8$$ = $subElementIdLocator$$7$$.indexOf("#");
  -1 < $peer$$191_startIndex$$20_subIdElement$$8$$ && ($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$ = $subElementIdLocator$$7$$.substring(0, $peer$$191_startIndex$$20_subIdElement$$8$$), $AdfAssert$$.$assertNonEmptyString$($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$), $nestedSubElementId$$6$$ = $subElementIdLocator$$7$$.substring($peer$$191_startIndex$$20_subIdElement$$8$$ + 1));
  var $peer$$191_startIndex$$20_subIdElement$$8$$ = $JSCompiler_alias_NULL$$, $childElems$$2_component$$1840_componentId$$57$$ = this.$getComponent$(), $count$$34_domElem$$14$$ = $AdfSubIdUtils$$.$getSubIdDomElementByMappedSubId$($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$, $AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$, $childElems$$2_component$$1840_componentId$$57$$);
  if($count$$34_domElem$$14$$) {
    $peer$$191_startIndex$$20_subIdElement$$8$$ = $count$$34_domElem$$14$$
  }else {
    if("criterion_value" == $nestedSubelementClientId$$4_subElementId$$38_subId$$49$$) {
      for(var $childElems$$2_component$$1840_componentId$$57$$ = $childElems$$2_component$$1840_componentId$$57$$.$getClientId$(), $nestedSubelementClientId$$4_subElementId$$38_subId$$49$$ = $childElems$$2_component$$1840_componentId$$57$$ + ":criterionValue", $childElems$$2_component$$1840_componentId$$57$$ = $AdfAgent$$.$getAgent$().getElementById($childElems$$2_component$$1840_componentId$$57$$).getElementsByTagName("*"), $inputComponentElem_subComponent$$7$$, $count$$34_domElem$$14$$ = 0;$count$$34_domElem$$14$$ < 
      $childElems$$2_component$$1840_componentId$$57$$.length;$count$$34_domElem$$14$$++) {
        if(-1 != $childElems$$2_component$$1840_componentId$$57$$[$count$$34_domElem$$14$$].id.indexOf($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$)) {
          $inputComponentElem_subComponent$$7$$ = $childElems$$2_component$$1840_componentId$$57$$[$count$$34_domElem$$14$$];
          break
        }
      }
      $inputComponentElem_subComponent$$7$$ && ($peer$$191_startIndex$$20_subIdElement$$8$$ = $inputComponentElem_subComponent$$7$$)
    }
  }
  if($nestedSubElementId$$6$$ && $peer$$191_startIndex$$20_subIdElement$$8$$ && ($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$ = $peer$$191_startIndex$$20_subIdElement$$8$$.id)) {
    ($inputComponentElem_subComponent$$7$$ = $AdfPage$$.$PAGE$.$findComponent$($nestedSubelementClientId$$4_subElementId$$38_subId$$49$$)) ? ($peer$$191_startIndex$$20_subIdElement$$8$$ = $inputComponentElem_subComponent$$7$$.$getPeer$(), $peer$$191_startIndex$$20_subIdElement$$8$$.bind($inputComponentElem_subComponent$$7$$), $peer$$191_startIndex$$20_subIdElement$$8$$ = $peer$$191_startIndex$$20_subIdElement$$8$$.$getSubIdDomElement$($inputComponentElem_subComponent$$7$$, $nestedSubElementId$$6$$)) : 
    $AdfLogger$$.$LOGGER$.warning("component: ", $nestedSubelementClientId$$4_subElementId$$38_subId$$49$$, " doesn't exist for this subid:", $subElementIdLocator$$7$$)
  }
  $peer$$191_startIndex$$20_subIdElement$$8$$ || $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementIdLocator$$7$$);
  return $peer$$191_startIndex$$20_subIdElement$$8$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlQuickQueryPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlQuickQueryPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlQuickQueryPeer$$$$$GetBestMatchSubId$$($domElement$$583_nestedLocator$$) {
  var $subId$$50$$ = $AdfSubIdUtils$$.$getBestMatchSubId$($domElement$$583_nestedLocator$$, this, $AdfDhtmlQuickQueryPeer$$.$_SUB_ID_MAP$);
  if($subId$$50$$) {
    "criteria_items" == $subId$$50$$ && ($clientId$$453$$ = $domElement$$583_nestedLocator$$.id, -1 != $clientId$$453$$.indexOf(":criteriaItems") && ($nestedSubIdIndex$$1$$ = $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$453$$, ":criteriaItems"), $nestedSubId$$ = $clientId$$453$$.substring($nestedSubIdIndex$$1$$, $clientId$$453$$.length), 0 < $nestedSubId$$.length && ($clientId$$453$$ = $clientId$$453$$.substring(0, $nestedSubIdIndex$$1$$), ($domElement$$583_nestedLocator$$ = $JSCompiler_StaticMethods__getNestedComponentSubId$$($clientId$$453$$, 
    $domElement$$583_nestedLocator$$, $nestedSubId$$)) && ($subId$$50$$ = "criteria_items#" + $domElement$$583_nestedLocator$$)), $subId$$50$$ || ($subId$$50$$ = "criteria_items")))
  }else {
    var $clientId$$453$$ = $domElement$$583_nestedLocator$$.id;
    if(-1 != $clientId$$453$$.indexOf(":criterionValue")) {
      var $nestedSubIdIndex$$1$$ = $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$453$$, ":criterionValue"), $nestedSubId$$ = $clientId$$453$$.substring($nestedSubIdIndex$$1$$, $clientId$$453$$.length);
      0 < $nestedSubId$$.length && ($clientId$$453$$ = $clientId$$453$$.substring(0, $nestedSubIdIndex$$1$$), ($domElement$$583_nestedLocator$$ = $JSCompiler_StaticMethods__getNestedComponentSubId$$($clientId$$453$$, $domElement$$583_nestedLocator$$, $nestedSubId$$)) && ($subId$$50$$ = "criterion_value#" + $domElement$$583_nestedLocator$$));
      $subId$$50$$ || ($subId$$50$$ = "criterion_value")
    }
  }
  return $subId$$50$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQuickQueryPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlQuickQueryPeer$$.prototype.$GetBestMatchSubId$});
function $JSCompiler_StaticMethods__getNestedComponentSubId$$($nestedComponentClientId$$1_peer$$192$$, $domElement$$584$$, $nestedSubId$$1$$) {
  var $subComponent$$8$$ = $AdfPage$$.$PAGE$.$findComponent$($nestedComponentClientId$$1_peer$$192$$), $subId$$51$$ = $JSCompiler_alias_NULL$$;
  $subComponent$$8$$ ? ($nestedComponentClientId$$1_peer$$192$$ = $subComponent$$8$$.$getPeer$(), $nestedComponentClientId$$1_peer$$192$$.bind($subComponent$$8$$), $subId$$51$$ = $nestedComponentClientId$$1_peer$$192$$.$GetBestMatchSubId$($domElement$$584$$)) : $AdfLogger$$.$LOGGER$.warning("component: ", $nestedComponentClientId$$1_peer$$192$$, " doesn't exist for this subid:", $nestedSubId$$1$$);
  return $subId$$51$$
}
function $JSCompiler_StaticMethods__getNestedSubIdIndex$$($clientId$$454$$, $subClientId$$) {
  var $startCharIndex$$1$$ = $clientId$$454$$.indexOf($subClientId$$), $startCharIndex$$1$$ = $startCharIndex$$1$$ + $subClientId$$.length, $prunedClientId$$4$$ = $clientId$$454$$.substring($startCharIndex$$1$$, $clientId$$454$$.length), $prunedClientIdCharArray$$1$$ = $prunedClientId$$4$$.split(""), $count$$35$$;
  for($count$$35$$ = 0;$count$$35$$ < $prunedClientId$$4$$.length && !isNaN($prunedClientIdCharArray$$1$$[$count$$35$$]);$count$$35$$++) {
  }
  return $startCharIndex$$1$$ + $count$$35$$
}
;