$AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$ = {saved_search:"saveSrch", disclosure_icon:"_afrDscl", search_header:"_afrTtxt", addFields_button:"adFlds", match_type:"conj", deleteCriterion:"delCrtn", criterion_label:"crtnLab", criterion_operator:"oper", criterion_value:"val", saveSearch_popup:"SSPop", saveSearch_name:"SS_name", saveSearch_dialog:"SSD", personalizeSearch_popup:"PSSPop", personalizeSearch_searches:"PSS_Srchs", personalizeSearch_dialog:"PSSD", personalizeSearch_delete:"delete", personalizeSearch_duplicate:"duplicate", 
personalizeSearch_apply:"apply", personalizeSearch_Name:"PSS_name", deleteWarning_popup:"DWPop", deleteWarning_dialog:"DWD", overrideWarning_popup:"OWPop", overrideWarning_dialog:"OWD", overrideError_popup:"OEPop", overrideError_dialog:"OED", saveSearchSetAsDefault:"SS_def", saveSearchAutoExecute:"SS_autoEx", saveSearchSaveLayout:"SS_SL", personalizeSearchSetAsDefault:"PSS_def", personalizeSearchAutoExecute:"PSS_autoEx", personalizeSearchShowInList:"PSS_SiL", deleteWarningMessage:"DWDMsg", overrideWarningMessage:"OWDMsg", 
reorderPopup:"REPop", reorderDialog:"REDlg", reorderTree:"RETree", reorderMoveTopButton:"move-top", reorderMoveUpButton:"move-up", reorderMoveDownButton:"move-down", reorderMoveBottomButton:"move-bottom"};
$AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$ = {saveSearch_dialog:"dlgSS", personalizeSearch_dialog:"dlgPSS", reorderDialog:"REDlg"};
$AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$ = "__afrAdFldsSep__";
$AdfDhtmlQueryPeer$$.$_REORDER_TREE_NDSTAMP_ID$ = "ndStOut";
$AdfDhtmlQueryPeer$$.prototype.$GetSubIdDomElement$ = function $$AdfDhtmlQueryPeer$$$$$GetSubIdDomElement$$($subElementIdLocator$$6$$) {
  $AdfAssert$$.$assertNonEmptyString$($subElementIdLocator$$6$$);
  var $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ = $subElementIdLocator$$6$$, $nestedSubElementId$$5$$, $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = $subElementIdLocator$$6$$.indexOf("#");
  -1 < $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ && ($menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ = $subElementIdLocator$$6$$.substring(0, $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$), $AdfAssert$$.$assertNonEmptyString$($menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$), 
  $nestedSubElementId$$5$$ = $subElementIdLocator$$6$$.substring($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ + 1));
  var $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = this.$getComponent$(), $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = null, $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.indexOf("["), $openBracketLastIndex$$ = 
  $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.lastIndexOf("["), $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.lastIndexOf("]"), $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.indexOf("addFields[");
  -1 < $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ ? ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ += 9, $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.lastIndexOf("["), $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = 
  $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.indexOf("]"), $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ + 2, $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ - 
  1), $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ != $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$ && ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.lastIndexOf("]"), $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ = 
  -1 < $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.indexOf("ALL_FIELDS") ? $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($closeBracketLastIndex_openBracketLastIndex$$inline_5182$$ + 1, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$) : $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($closeBracketLastIndex_openBracketLastIndex$$inline_5182$$ + 
  2, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ - 1), $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ + $AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$ + $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$), ($menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ = 
  $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$(this)) ? ($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$.$getClientId$() + ":" + $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$[$closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$], 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$)) : $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = null) : -1 < $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ ? ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ = 
  $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring(0, $openBracketLastIndex$$)], "crtnLab" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ ? ($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$.$getClientId$() + 
  ":crtn" + $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ + 1, $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$), $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$), 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $AdfDomUtils$$.$getFirstElementByTagName$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$, "LABEL")) : ($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = "RETree" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ ? 
  $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$.$getClientId$() + ":" + $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ + ":" + $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ + 1, $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$) + 
  ":" + $AdfDhtmlQueryPeer$$.$_REORDER_TREE_NDSTAMP_ID$ : $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$.$getClientId$() + ":" + $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ + $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.substring($closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ + 
  1, $closeBracketLastIndex_openBracketLastIndex$$inline_5182$$), $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $AdfAgent$$.$AGENT$.getElementById($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$))) : ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ = $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$], 
  "old" == lookAndFeel.$getSkinProperty$("af|dialog-tr-button-type") || "saveSearch_dialog" != $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ && "personalizeSearch_dialog" != $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ && "reorderDialog" != $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ ? "adFlds" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ || 
  "conj" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ || "move-top" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ || "move-bottom" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ || "move-up" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ || "move-down" == $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ ? 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$, !0) : $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ ? $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = 
  $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$) : ($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = this.$getClass$().$_BUTTON_ID_MAP$[$menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$], 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = this.$_returnButtonElement$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$)) : ($addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$ = $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$[$menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$], 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $AdfSubIdUtils$$.$getSubIdElementById$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$, $addFieldsIndex_clientSubId$$6_closeBracketLastIndex$$inline_5186_openBracketFirstIndex$$inline_5181$$, !0)));
  $nestedSubElementId$$5$$ && $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ && ($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$ = $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$.id) && (($menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$ = $AdfPage$$.$PAGE$.$findComponent$($buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$)) ? 
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ = $menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$.$getPeer$().$getSubIdDomElement$($menuItemSubId$$inline_5187_subComponent$$6_subElementId$$48_subElementId$$inline_5178_subIdMap$$inline_5188$$, $nestedSubElementId$$5$$) : $AdfLogger$$.$LOGGER$.warning("component: ", $buttonId$$13_component$$2451_criterionElement_criterionId$$1_nestedSubelementClientId$$3_startIndex$$27_subId$$56_subId$$inline_5185$$, 
  " doesn't exist for this subid:", $subElementIdLocator$$6$$));
  $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$ || $AdfLogger$$.$LOGGER$.warning("Sub Id doesn't exist for this component:", $subElementIdLocator$$6$$);
  return $closeBracketFirstIndex$$inline_5183_label$$inline_5184_openBracketIndex_subIdElement$$6$$;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetSubIdDomElement", {$GetSubIdDomElement$:$AdfDhtmlQueryPeer$$.prototype.$GetSubIdDomElement$});
$AdfDhtmlQueryPeer$$.prototype.$GetDomElementSubId$ = function $$AdfDhtmlQueryPeer$$$$$GetDomElementSubId$$($subIdElement$$7$$) {
  if (!$subIdElement$$7$$) {
    return null;
  }
  var $isValueComponent_subElementId$$49$$ = $subIdElement$$7$$.id, $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = !1, $queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $AdfRichUIPeer$$.$getFirstAncestorComponent$($subIdElement$$7$$);
  !$queryComponentClientId_subComponent$$7_subComponentId$$12$$ || $queryComponentClientId_subComponent$$7_subComponentId$$12$$ instanceof AdfRichQuery || ($queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$.$getClientId$(), $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $isValueComponent_subElementId$$49$$ != $queryComponentClientId_subComponent$$7_subComponentId$$12$$, $isValueComponent_subElementId$$49$$ = 
  $queryComponentClientId_subComponent$$7_subComponentId$$12$$);
  if ($isValueComponent_subElementId$$49$$) {
    var $queryComponentClientId_subComponent$$7_subComponentId$$12$$ = this.$getComponent$().$getClientId$(), $prunedClientId$$inline_5190_prunedSubElementId$$ = $isValueComponent_subElementId$$49$$.substring($queryComponentClientId_subComponent$$7_subComponentId$$12$$.length);
    if ($prunedClientId$$inline_5190_prunedSubElementId$$) {
      var $isValueComponent_subElementId$$49$$ = -1 < $prunedClientId$$inline_5190_prunedSubElementId$$.indexOf($AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$), $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = -1 < $prunedClientId$$inline_5190_prunedSubElementId$$.indexOf($AdfDhtmlQueryPeer$$.$_REORDER_TREE_SUBID$), $isDoubleColonSeparator$$ = ":" == $prunedClientId$$inline_5190_prunedSubElementId$$.charAt(1);
      ":" == $prunedClientId$$inline_5190_prunedSubElementId$$.charAt(0) && ($prunedClientId$$inline_5190_prunedSubElementId$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.substring(1));
      ":" == $prunedClientId$$inline_5190_prunedSubElementId$$.charAt(0) && ($prunedClientId$$inline_5190_prunedSubElementId$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.substring(1));
      var $startCharIndex$$inline_5194_subIdFragment$$ = "", $isNestedValueComponent$$ = !1;
      if ($clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$) {
        if ($clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.match(/\d+/)) {
          return $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.toString(), "reorderTree[" + $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ + "]";
        }
      } else {
        if ($isValueComponent_subElementId$$49$$) {
          var $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $prunedClientId$$inline_5190_prunedSubElementId$$, $isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$ = ":" + $AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$, $startCharIndex$$inline_5194_subIdFragment$$ = $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.indexOf($isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$), 
          $startCharIndex$$inline_5194_subIdFragment$$ = $startCharIndex$$inline_5194_subIdFragment$$ + $isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$.length, $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.substring($startCharIndex$$inline_5194_subIdFragment$$, $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.length), 
          $isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$ = $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.split(""), $count$$inline_5197$$;
          for ($count$$inline_5197$$ = 0;$count$$inline_5197$$ < $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$.length && !isNaN($isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$[$count$$inline_5197$$]);$count$$inline_5197$$++) {
          }
          $startCharIndex$$inline_5194_subIdFragment$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.substring(0, $startCharIndex$$inline_5194_subIdFragment$$ + $count$$inline_5197$$);
          $startCharIndex$$inline_5194_subIdFragment$$.length < $prunedClientId$$inline_5190_prunedSubElementId$$.length && ($isNestedValueComponent$$ = !0);
        }
      }
      $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.indexOf(":");
      ($isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$ = -1 < $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$) && ($prunedClientId$$inline_5190_prunedSubElementId$$ = $prunedClientId$$inline_5190_prunedSubElementId$$.substring(0, $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$));
      $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = "";
      $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ = $isValueComponent_subElementId$$49$$ ? $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$(this, $startCharIndex$$inline_5194_subIdFragment$$) : $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$(this, $prunedClientId$$inline_5190_prunedSubElementId$$);
      if ($isNestedComponent_prunedClientIdCharArray$$inline_5196_subIdFragment$$inline_5193$$ || $isNestedValueComponent$$ || $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$) {
        $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$ + ":";
        $isDoubleColonSeparator$$ && ($isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ += ":");
        $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $isValueComponent_subElementId$$49$$ ? $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ + $startCharIndex$$inline_5194_subIdFragment$$ : $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ + $prunedClientId$$inline_5190_prunedSubElementId$$;
        if ($queryComponentClientId_subComponent$$7_subComponentId$$12$$ = $AdfPage$$.$PAGE$.$findComponent$($isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$)) {
          return $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$ = $queryComponentClientId_subComponent$$7_subComponentId$$12$$.$getPeer$(), $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$ + "#" + $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$.$GetBestMatchSubId$($subIdElement$$7$$);
        }
        $AdfLogger$$.$LOGGER$.warning("component: ", clientId, " doesn't exist for this subid:", $isNestedComponentSubId_nestedSubComponentClientId_peer$$224$$);
      }
      return $clientId$$inline_5192_colonIndex$$4_index$$226_isReorderTree_prunedClientId$$inline_5195_subIdLocator$$;
    }
  }
  return null;
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetDomElementSubId", {$GetDomElementSubId$:$AdfDhtmlQueryPeer$$.prototype.$GetDomElementSubId$});
function $JSCompiler_StaticMethods__getSubIdFromPrunedClientId$$($JSCompiler_StaticMethods__getSubIdFromPrunedClientId$self$$, $clientId$$526$$) {
  var $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$ = $AdfDhtmlQueryPeer$$.$_OLD_INTERNAL_SUBID_MAP$[$clientId$$526$$];
  $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$ && ($clientId$$526$$ = $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$);
  if ("value" == $clientId$$526$$.substring(0, 5)) {
    return "criterion_value[" + $clientId$$526$$.substring(5) + "]";
  }
  if ("val" == $clientId$$526$$.substring(0, 3)) {
    return "criterion_value[" + $clientId$$526$$.substring(3) + "]";
  }
  if ("operator" == $clientId$$526$$.substring(0, 8)) {
    return "criterion_operator[" + $clientId$$526$$.substring(8) + "]";
  }
  if ("oper" == $clientId$$526$$.substring(0, 4)) {
    return "criterion_operator[" + $clientId$$526$$.substring(4) + "]";
  }
  if ("deleteCriterion" == $clientId$$526$$.substring(0, 15)) {
    return "deleteCriterion[" + $clientId$$526$$.substring(15) + "]";
  }
  if ("delCrtn" == $clientId$$526$$.substring(0, 7)) {
    return "deleteCriterion[" + $clientId$$526$$.substring(7) + "]";
  }
  if ("fldItem" == $clientId$$526$$.substring(0, 7) || "adFldGrpMenu" == $clientId$$526$$.substring(0, 12) || "adFldGrpAddAllItem" == $clientId$$526$$.substring(0, 18)) {
    var $JSCompiler_inline_result$$284_key$$inline_5202$$;
    a: {
      var $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$ = $clientId$$526$$, $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$($JSCompiler_StaticMethods__getSubIdFromPrunedClientId$self$$);
      if ($prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$) {
        for ($JSCompiler_inline_result$$284_key$$inline_5202$$ in $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$) {
          if ($prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$[$JSCompiler_inline_result$$284_key$$inline_5202$$] == $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$) {
            $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$ = $JSCompiler_inline_result$$284_key$$inline_5202$$.indexOf($AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$);
            if (-1 < $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$) {
              $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ = $JSCompiler_inline_result$$284_key$$inline_5202$$.substring($indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$ + $AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_SEPARATOR$.length);
              $JSCompiler_inline_result$$284_key$$inline_5202$$ = "ALL_FIELDS" == $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ ? "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5202$$.substring(0, $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$) + "'][ALL_FIELDS]" : "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5202$$.substring(0, $indexOfSep$$inline_5203_newClientId$$4_prunedClientId$$inline_5200$$) + "']['" + $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ + 
              "']";
              break a;
            }
            $JSCompiler_inline_result$$284_key$$inline_5202$$ = "addFields['" + $JSCompiler_inline_result$$284_key$$inline_5202$$ + "']";
            break a;
          }
        }
      }
      $JSCompiler_inline_result$$284_key$$inline_5202$$ = void 0;
    }
    return $JSCompiler_inline_result$$284_key$$inline_5202$$;
  }
  for ($prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ in $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$) {
    if ($AdfDhtmlQueryPeer$$.$_SUB_ID_MAP$[$prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$] == $clientId$$526$$) {
      return $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$;
    }
  }
  for ($prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$ in $AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$) {
    if ($AdfDhtmlQueryPeer$$.$_SUB_ID_MAP_UNIFIED_BUTTON_DIALOG$[$prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$] == $clientId$$526$$) {
      return $prop$$20_subId$$inline_5204_subIdMap$$inline_5201$$;
    }
  }
  return -1 < $clientId$$526$$.indexOf("search") ? "search_button" : -1 < $clientId$$526$$.indexOf("reset") ? "reset_button" : -1 < $clientId$$526$$.indexOf("save") ? "save_button" : -1 < $clientId$$526$$.indexOf("mode") ? "mode_button" : -1 < $clientId$$526$$.indexOf("reorder") ? "reorderButton" : -1 < $clientId$$526$$.indexOf("dlgSS_ok") ? "saveSearch_dialog#ok_button" : -1 < $clientId$$526$$.indexOf("dlgSS_cancel") ? "saveSearch_dialog#cancel_button" : -1 < $clientId$$526$$.indexOf("dlgPSS_ok") ? 
  "personalizeSearch_dialog#ok_button" : -1 < $clientId$$526$$.indexOf("dlgPSS_cancel") ? "personalizeSearch_dialog#cancel_button" : -1 < $clientId$$526$$.indexOf("REDlg_ok") ? "reorderDialog#ok_button" : -1 < $clientId$$526$$.indexOf("REDlg_cancel") ? "reorderDialog#cancel_button" : null;
}
function $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$$($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$) {
  $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$.$getComponent$();
  if ($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$ = $AdfAgent$$.$AGENT$.getElementById($AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$.$getClientId$(), "addFldExId"))) {
    if ($JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$ = $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$.getAttribute("data-afr-addFldSubIds")) {
      return eval("var _SUB_ID_MAP_ADD_FIELDS \x3d" + $JSCompiler_StaticMethods__evaluateAddFieldsExpandoScript$self_addFldExpando_component$$2453_subIdMap$$5$$ + ";"), _SUB_ID_MAP_ADD_FIELDS;
    }
  }
  return null;
}
$AdfDhtmlQueryPeer$$.prototype.$_returnButtonElement$ = function $$AdfDhtmlQueryPeer$$$$$_returnButtonElement$$($buttonId$$14_buttonPeer$$1$$) {
  var $component$$2454$$ = this.$getComponent$();
  if ("old" != $AdfPage$$.$PAGE$.$getLookAndFeel$().$getSkinProperty$("af|query-tr-button-type") || "reorder" == $buttonId$$14_buttonPeer$$1$$) {
    var $buttonComp$$1$$ = $component$$2454$$.$findComponent$("_" + $buttonId$$14_buttonPeer$$1$$);
    null == $buttonComp$$1$$ && ($buttonComp$$1$$ = $component$$2454$$.$findComponent$($buttonId$$14_buttonPeer$$1$$));
    return null != $buttonComp$$1$$ ? ($buttonId$$14_buttonPeer$$1$$ = $buttonComp$$1$$.$getPeer$(), $buttonId$$14_buttonPeer$$1$$.bind($buttonComp$$1$$), $buttonId$$14_buttonPeer$$1$$.$getDomElement$()) : null;
  }
  return $AdfSubIdUtils$$.$getSubIdElementById$($component$$2454$$, $buttonId$$14_buttonPeer$$1$$);
};
$AdfDhtmlQueryPeer$$.prototype.$GetBestMatchSubId$ = function $$AdfDhtmlQueryPeer$$$$$GetBestMatchSubId$$($domElement$$674$$) {
  return this.$GetDomElementSubId$($domElement$$674$$);
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.GetBestMatchSubId", {$GetBestMatchSubId$:$AdfDhtmlQueryPeer$$.prototype.$GetBestMatchSubId$});
$AdfDhtmlQueryPeer$$.$_BUTTON_ID_MAP$ = {search_button:"search", reset_button:"reset", save_button:"save", mode_button:"mode", reorderButton:"reorder"};
$AdfDhtmlQueryPeer$$.$_OLD_INTERNAL_SUBID_MAP$ = {addFields:"adFlds", addFieldsIter:"adFldIter", conjunction:"conj", operator:"oper", value:"val", vPanel:"vPan", deleteCriterion:"delCrtn", saveSearch:"saveSrch", PSSPopup:"PSSPop", PSSDlg:"PSSD", PSSDlg_sSearches:"PSS_Srchs", PSSDlg_name:"PSS_name", PSSDlg_autoExecute:"PSS_autoEx", PSSDlg_showInList:"PSS_SiL", PSSDlg_default:"PSS_def", DWPopup:"DWPop", DWDlgMsg:"DWDMsg", SSPopup:"SSPop", SSDlg:"SSD", SSDlg_name:"SS_name", SSDlg_saveLayout:"SS_SL", 
SSDlg_autoExecute:"SS_autoEx", SSDlg_default:"SS_def", criterion:"crtn", criteria:"crta", dlgSS_ok:"dlgSS_ok", dlgSS_cancel:"dlgSS_cancel"};
