var $AdfDhtmlQueryPeer$$ = $AdfRichUIPeer$$.$createPeerClass$($AdfDhtmlPanelHeaderPeer$$, "AdfDhtmlQueryPeer", $JSCompiler_alias_FALSE$$);
$goog$exportSymbol$$("AdfDhtmlQueryPeer", $AdfDhtmlQueryPeer$$);
$AdfDhtmlQueryPeer$$.$_INNER_SD_PEER$ = $AdfRichUIPeer$$.$createInnerPeerClassWithSubId$($AdfDhtmlShowDisclosurePeer$$, "InnerQueryShowDetailPeer", "_afrDscl");
InnerQueryShowDetailPeer.$InitSubclass$ = function $InnerQueryShowDetailPeer$$InitSubclass$$() {
  $AdfDhtmlTogglePeer$$.$Config$(this, {$toggledStyleClass$:"af|query::disclosed-icon-style", $untoggledStyleClass$:"af|query::undisclosed-icon-style"})
};
InnerQueryShowDetailPeer.prototype.$HandleClientSideToggle$ = function $InnerQueryShowDetailPeer$$$HandleClientSideToggle$$($disclosed$$9$$) {
  return InnerQueryShowDetailPeer.$superclass$.$HandleClientSideToggle$.call(this, $disclosed$$9$$) ? this.$outerThis$.$__handleClientSideDisclosure$($disclosed$$9$$) : $JSCompiler_alias_FALSE$$
};
InnerQueryShowDetailPeer.prototype.$GetTitle$ = function $InnerQueryShowDetailPeer$$$GetTitle$$() {
  return this.$getComponent$().$getProperty$("headerText")
};
$AdfDhtmlQueryPeer$$.prototype.Init = function $$AdfDhtmlQueryPeer$$$$Init$($component$$1386$$) {
  $AdfDhtmlQueryPeer$$.$superclass$.Init.call(this, $component$$1386$$);
  $JSCompiler_StaticMethods__isHeaderless$$($component$$1386$$) || (this.$_disclosurePeer$ = new $AdfDhtmlQueryPeer$$.$_INNER_SD_PEER$($component$$1386$$, this))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.Init", {Init:$AdfDhtmlQueryPeer$$.prototype.Init});
$AdfDhtmlQueryPeer$$.prototype.$initialize$ = function $$AdfDhtmlQueryPeer$$$$$initialize$$($component$$1387$$) {
  $AdfDhtmlQueryPeer$$.$superclass$.$initialize$.call(this, $component$$1387$$);
  this.$_disclosurePeer$ && this.$_disclosurePeer$.$initialize$($component$$1387$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.initialize", {$initialize$:$AdfDhtmlQueryPeer$$.prototype.$initialize$});
$AdfDhtmlQueryPeer$$.$InitSubclass$ = function $$AdfDhtmlQueryPeer$$$$InitSubclass$$() {
  $AdfRichUIPeer$$.$addComponentEventHandlers$(this, $AdfDialogEvent$$.$EVENT_TYPE$, $AdfUIInputEvent$$.$CLICK_EVENT_TYPE$, $AdfActionEvent$$.$ACTION_EVENT_TYPE$, $AdfValueChangeEvent$$.$VALUE_CHANGE_TYPE$, $AdfUIInputEvent$$.$KEY_UP_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_DOWN_EVENT_TYPE$, $AdfUIInputEvent$$.$KEY_PRESS_EVENT_TYPE$, $AdfDisclosureEvent$$.$EVENT_TYPE$, $AdfPopupOpeningEvent$$.$POPUP_OPENING_EVENT_TYPE$);
  $AdfRichUIPeer$$.$addComponentPropertyChanges$(this, "disclosed");
  this.$CONTENT_SUBID$ = "content";
  this.$_CONJUNCTION_SUBID$ = "conj";
  this.$_DISCLOSE_SUBID$ = "_afrDscl";
  this.$_OPERATOR_DROPDOWN_SUBID$ = "oper";
  this.$_MODE_BUTTON_SUBID$ = "mode";
  this.$_RESET_BUTTON_SUBID$ = "reset";
  this.$_SAVE_BUTTON_SUBID$ = "save";
  this.$_SEARCH_BUTTON_SUBID$ = "search";
  this.$_SSEARCH_CHOICE_SUBID$ = "saveSrch";
  this.$_CRITERION_VALUE_SUBID$ = "val";
  this.$_ADD_FIELDS_BUTTON_ID$ = "adFlds";
  this.$_ADD_FIELDS_MENU_ID$ = "fldsM";
  this.$_ADD_FIELDS_GROUP_MENU_ID$ = "adFldGrpMenu";
  this.$_PSSPOPUP_SUBID$ = "PSSPop";
  this.$_PSSDLG_SUBID$ = "PSSD";
  this.$_PSSDLG_SSEARCH_CHOICE_SUBID$ = "PSS_Srchs";
  this.$_PSSDLG_SSEARCH_NAME_SUBID$ = "PSS_name";
  this.$_PSSDLG_UIHINT_AUTOEXECUTE_SUBID$ = "PSS_autoEx";
  this.$_PSSDLG_UIHINT_SHOWINLIST_SUBID$ = "PSS_SiL";
  this.$_PSSDLG_UIHINT_DEFAULT_SUBID$ = "PSS_def";
  this.$_APPLY_BUTTON_SUBID$ = "apply";
  this.$_DELETE_BUTTON_SUBID$ = "delete";
  this.$_CRITERION_SUBID$ = "crtn";
  this.$_DUPLICATE_BUTTON_SUBID$ = "duplicate";
  this.$_PSSDLG_ID$ = "dlgPSS";
  this.$_SSDLG_ID$ = "dlgSS";
  this.$_REORDER_BUTTON_SUBID$ = "reorder";
  this.$_REORDER_POPUP_SUBID$ = "REPop";
  this.$_REORDER_DIALOG_SUBIID$ = "REDlg";
  this.$_REORDER_SHOW_DETAIL_SUBID$ = "REShDetail";
  this.$_REORDER_PANEL_GROUP_SUBID$ = "REPanGrp";
  this.$_REORDER_TREE_SUBID$ = "RETree";
  this.$_REORDER_BUTTON_MOVE_TOP_SUBID$ = "move-top";
  this.$_REORDER_BUTTON_MOVE_UP_SUBID$ = "move-up";
  this.$_REORDER_BUTTON_MOVE_DOWN_SUBID$ = "move-down";
  this.$_REORDER_BUTTON_MOVE_BOTTOM_SUBID$ = "move-bottom";
  this.$_REORDER_BUTTON_MOVE_TOP$ = "TOP";
  this.$_REORDER_BUTTON_MOVE_UP$ = "UP";
  this.$_REORDER_BUTTON_MOVE_DOWN$ = "DOWN";
  this.$_REORDER_BUTTON_MOVE_BOTTOM$ = "BOTTOM";
  this.$_DELETE_WARNING_POPUP_SUBID$ = "DWPop";
  this.$_DELETE_WARNING_DLG_SUBID$ = "DWD";
  this.$_DELETE_WARNING_MSG_SUBID$ = "DWDMsg";
  this.$_MSG_SAVED_SEARCH_DELETE_WARNING$ = "af_query.MSG_SAVED_SEARCH_DELETE_WARNING";
  this.$_OVERRIDE_WARNING_POPUP_SUBID$ = "OWPop";
  this.$_OVERRIDE_WARNING_DLG_SUBID$ = "OWD";
  this.$_OVERRIDE_WARNING_MSG_SUBID$ = "OWDMsg";
  this.$_MSG_SAVED_SEARCH_OVERRIDE_WARNING$ = "af_query.MSG_SAVED_SEARCH_OVERRIDE_WARNING";
  this.$_OVERRIDE_ERROR_POPUP_SUBID$ = "OEPop";
  this.$_OVERRIDE_ERROR_DLG_SUBID$ = "OED";
  this.$_OVERRIDE_ERROR_MSG_SUBID$ = "OEDMsg";
  this.$_MSG_SAVED_SEARCH_OVERRIDE_ERROR$ = "af_query.MSG_SAVED_SEARCH_OVERRIDE_ERROR";
  this.$_CSSPOPUP_SUBID$ = "SSPop";
  this.$_CSSDLG_SUBID$ = "SSD";
  this.$_CSSDLG_SSEARCH_NAME_SUBID$ = "SS_name";
  this.$_CSSDLG_UIHINT_SAVERESULTLAYOUT_SUBID$ = "SS_SL";
  this.$_CSSDLG_UIHINT_AUTOEXECUTE_SUBID$ = "SS_autoEx";
  this.$_CSSDLG_UIHINT_DEFAULT_SUBID$ = "SS_def";
  this.$_PERSONALIZE_SSEARCH_KEY$ = "pzSSearch_key";
  this.$_SEPARATOR_KEY$ = "SEPARATOR";
  this.$_NAMING_SEP$ = ":";
  this.$_INDEXED_FIELD$ = "_afrIndexed";
  this.$_UIHINT_AUTOEXECUTE$ = "autoExecute";
  this.$_UIHINT_DEFAULT$ = "default";
  this.$_UIHINT_NAME$ = "name";
  this.$_UIHINT_SAVE_RESULTS_LAYOUT$ = "saveResultsLayout";
  this.$_UIHINT_SHOW_IN_LIST$ = "showInList";
  this.$_PSS_POPUP_VISIBLE_STATUS$ = "_afrPSSVisibleStatus";
  this.$_BUSY$ = "_busy";
  var $lookAndFeel$$18$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$();
  this.$_skinVisibileItems$ = parseInt($lookAndFeel$$18$$.$getSkinProperty$("af|query-tr-visible-items"));
  "undefined" != typeof $lookAndFeel$$18$$.$getSkinProperty$("af|query-tr-button-type") && (this.$_usesUnifiedButtons$ = "old" != $lookAndFeel$$18$$.$getSkinProperty$("af|query-tr-button-type"));
  this.$_usesUnifiedButtonsInDialog$ = "old" != $lookAndFeel$$18$$.$getSkinProperty$("af|dialog-tr-button-type")
};
$goog$exportSymbol$$("AdfDhtmlQueryPeer.InitSubclass", $AdfDhtmlQueryPeer$$.$InitSubclass$);
$AdfDhtmlQueryPeer$$.prototype.$ComponentDisclosedChanged$ = function $$AdfDhtmlQueryPeer$$$$$ComponentDisclosedChanged$$($component$$1388$$, $domElement$$363$$, $newValue$$110$$, $oldValue$$81$$) {
  return this.$_getContentDomElement$() ? this.$_disclosurePeer$.$ComponentDisclosedChanged$($component$$1388$$, $domElement$$363$$, $newValue$$110$$, $oldValue$$81$$) : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.ComponentDisclosedChanged", {$ComponentDisclosedChanged$:$AdfDhtmlQueryPeer$$.prototype.$ComponentDisclosedChanged$});
$AdfDhtmlQueryPeer$$.prototype.$_getContentDomElement$ = function $$AdfDhtmlQueryPeer$$$$$_getContentDomElement$$() {
  return this.$getDomElement$().childNodes[1]
};
$AdfDhtmlQueryPeer$$.prototype.$InitDomElement$ = function $$AdfDhtmlQueryPeer$$$$$InitDomElement$$($component$$1389$$, $domElement$$364$$) {
  $AdfDhtmlQueryPeer$$.$superclass$.$InitDomElement$.call(this, $component$$1389$$, $domElement$$364$$);
  return $AdfPage$$.$PAGE$.$scheduleTimer$(this, this.$_setAddFieldsVisibleItems$, $component$$1389$$, 0, {isSynchronized:$JSCompiler_alias_TRUE$$})
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.InitDomElement", {$InitDomElement$:$AdfDhtmlQueryPeer$$.prototype.$InitDomElement$});
$AdfDhtmlQueryPeer$$.prototype.$SetBusy$ = function $$AdfDhtmlQueryPeer$$$$$SetBusy$$($isBusy$$20$$) {
  var $component$$1390$$ = this.$getComponent$();
  $component$$1390$$ && $component$$1390$$.setProperty($AdfDhtmlQueryPeer$$.$_BUSY$, $isBusy$$20$$, $JSCompiler_alias_FALSE$$, $AdfUIComponent$$.$PROPAGATE_NEVER$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.SetBusy", {$SetBusy$:$AdfDhtmlQueryPeer$$.prototype.$SetBusy$});
$AdfDhtmlQueryPeer$$.prototype.$ResizeNotify$ = function $$AdfDhtmlQueryPeer$$$$$ResizeNotify$$($oldWidth$$31$$, $oldHeight$$27$$, $newWidth$$51$$, $newHeight$$36$$) {
  $JSCompiler_StaticMethods__isHeaderless$$(this.$getComponent$()) || $AdfDhtmlQueryPeer$$.$superclass$.$ResizeNotify$.call(this, $oldWidth$$31$$, $oldHeight$$27$$, $newWidth$$51$$, $newHeight$$36$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.ResizeNotify", {$ResizeNotify$:$AdfDhtmlQueryPeer$$.prototype.$ResizeNotify$});
$AdfDhtmlQueryPeer$$.prototype.$__handleClientSideDisclosure$ = function $$AdfDhtmlQueryPeer$$$$$__handleClientSideDisclosure$$($disclosed$$10$$) {
  var $contentDom$$35$$ = this.$_getContentDomElement$();
  return $contentDom$$35$$ ? ($contentDom$$35$$.style.display = $disclosed$$10$$ ? "" : "none", $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.__handleClientSideDisclosure", {$__handleClientSideDisclosure$:$AdfDhtmlQueryPeer$$.prototype.$__handleClientSideDisclosure$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentDisclosure$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentDisclosure$$($componentEvent$$319$$) {
  this.$_disclosurePeer$.$HandleComponentDisclosure$($componentEvent$$319$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentDisclosure", {$HandleComponentDisclosure$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentDisclosure$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentClick$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentClick$$($componentEvent$$320$$) {
  var $isBusy$$21$$ = this.$getComponent$().$getProperty$($AdfDhtmlQueryPeer$$.$_BUSY$);
  !$componentEvent$$320$$.$isCanceled$() && ($componentEvent$$320$$.$isLeftButtonPressed$() && !$isBusy$$21$$) && $JSCompiler_StaticMethods__handleComponentOperation$$(this, $componentEvent$$320$$);
  this.$_disclosurePeer$ && this.$_disclosurePeer$.$HandleComponentClick$($componentEvent$$320$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentClick", {$HandleComponentClick$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentClick$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyUp$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentKeyUp$$($componentEvent$$321$$) {
  if($componentEvent$$321$$.$getKeyCode$() == $AdfKeyStroke$$.$SPACE_KEY$) {
    var $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = $JSCompiler_StaticMethods__handleComponentOperation$$(this, $componentEvent$$321$$);
    if(!$JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$) {
      var $buttonClicked_nativeEvent$$inline_3293$$ = $JSCompiler_StaticMethods__isClickInReorderDialogButtons$$(this, $componentEvent$$321$$);
      $buttonClicked_nativeEvent$$inline_3293$$ && (this.$getComponent$().$getClientId$(), $AdfQueryInternalEvent$$.$queue$(this.$getComponent$(), $AdfQueryInternalEvent$$.$OPERATION_REORDER_BUTTON$, $buttonClicked_nativeEvent$$inline_3293$$, $JSCompiler_alias_TRUE$$), $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = $JSCompiler_alias_TRUE$$)
    }
    if($JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$) {
      $componentEvent$$321$$.cancel();
      return
    }
  }
  if($JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = this.$_isEnterKeyNotConsumed$($componentEvent$$321$$)) {
    $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = $AdfAgent$$.$getAgent$(), $buttonClicked_nativeEvent$$inline_3293$$ = $componentEvent$$321$$.$getNativeEvent$(), $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$.$getEventTarget$($buttonClicked_nativeEvent$$inline_3293$$), $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = 
    !($JSCompiler_StaticMethods__isClickInSubComponent$$(this, $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$, $AdfDhtmlQueryPeer$$.$_SSEARCH_CHOICE_SUBID$) || $JSCompiler_StaticMethods__isClickInSubComponent$$(this, $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$) || $JSCompiler_StaticMethods__isClickInClientComponent$$(this, $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$, 
    $AdfDhtmlQueryPeer$$.$_OPERATOR_DROPDOWN_SUBID$))
  }
  $JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ && (this.$validateCriterionFields$() && ($JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$ = this.$getComponent$(), (new $AdfQueryEvent$$($JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$)).$queue$(), $JSCompiler_StaticMethods__queueResultComponentEvent$$($JSCompiler_temp$$119_agent$$inline_3292_cancelEvent$$4_component$$1392_evtTarget$$inline_3294$$)), 
  $componentEvent$$321$$.cancel());
  this.$_disclosurePeer$ && this.$_disclosurePeer$.$HandleComponentKeyUp$($componentEvent$$321$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentKeyUp", {$HandleComponentKeyUp$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyUp$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyDown$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentKeyDown$$($componentEvent$$322$$) {
  this.$_isEnterKeyNotConsumed$($componentEvent$$322$$) && ($componentEvent$$322$$.$stopBubbling$(), $AdfAgent$$.$AGENT$.stopPropagation($componentEvent$$322$$.$getNativeEvent$()))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentKeyDown", {$HandleComponentKeyDown$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyDown$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyPress$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentKeyPress$$($componentEvent$$323$$) {
  this.$_isEnterKeyNotConsumed$($componentEvent$$323$$) && $componentEvent$$323$$.cancel()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentKeyPress", {$HandleComponentKeyPress$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentKeyPress$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentPopupOpening$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentPopupOpening$$($componentEvent$$324_popup$$38_popupComp$$1$$) {
  $componentEvent$$324_popup$$38_popupComp$$1$$ = $componentEvent$$324_popup$$38_popupComp$$1$$.getSource();
  var $clientId$$329$$ = this.$getComponent$().$getClientId$();
  $componentEvent$$324_popup$$38_popupComp$$1$$.$getClientId$() == $AdfRichUIPeer$$.$CreateSubId$($clientId$$329$$, $AdfDhtmlQueryPeer$$.$_PSSPOPUP_SUBID$) && ($componentEvent$$324_popup$$38_popupComp$$1$$ = $JSCompiler_StaticMethods__getPopupComponent$$($clientId$$329$$, $JSCompiler_alias_TRUE$$), this.$getComponent$().setProperty($AdfDhtmlQueryPeer$$.$_PSS_POPUP_VISIBLE_STATUS$, $componentEvent$$324_popup$$38_popupComp$$1$$.$getClientId$(), $JSCompiler_alias_TRUE$$, $AdfUIComponent$$.$PROPAGATE_ALWAYS$))
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentPopupOpening", {$HandleComponentPopupOpening$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentPopupOpening$});
function $JSCompiler_StaticMethods__checkDefaultSavedSearchHidden$$($component$$1394$$, $clientId$$330$$) {
  var $inSearchListId_inSearchListcomponentValue$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$330$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_SHOWINLIST_SUBID$), $inSearchListId_inSearchListcomponentValue$$ = $AdfPage$$.$PAGE$.$findComponent$($inSearchListId_inSearchListcomponentValue$$).getValue(), $setAsDefaultId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$330$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_DEFAULT_SUBID$);
  return $AdfPage$$.$PAGE$.$findComponent$($setAsDefaultId$$).getValue() && !$inSearchListId_inSearchListcomponentValue$$ ? ($JSCompiler_StaticMethods__setComponentError$$($component$$1394$$, "af_query.LABEL_PERSONALIZE_SAVED_SEARCHES_SHOWINLIST", "af_query.LABEL_PERSONALIZE_SAVED_SEARCHES_SHOWINLIST_DETAIL"), $JSCompiler_alias_TRUE$$) : $JSCompiler_alias_FALSE$$
}
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentAction$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentAction$$($componentEvent$$325$$) {
  var $component$$1395$$ = this.$getComponent$(), $clientId$$331$$ = $component$$1395$$.$getClientId$(), $applyId_pssDlgComp$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$331$$, $AdfDhtmlQueryPeer$$.$_APPLY_BUTTON_SUBID$), $deleteId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$331$$, $AdfDhtmlQueryPeer$$.$_DELETE_BUTTON_SUBID$), $reorderId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$331$$, $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_SUBID$), $reorderMoveUp$$ = $clientId$$331$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + 
  $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_UP_SUBID$, $reorderTop$$ = $clientId$$331$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_TOP_SUBID$, $reorderMoveDown$$ = $clientId$$331$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_DOWN_SUBID$, $reorderBottom$$ = $clientId$$331$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_BOTTOM_SUBID$, $sourceId$$7$$ = $componentEvent$$325$$.getSource().$getClientId$();
  $sourceId$$7$$ == $applyId_pssDlgComp$$ ? $JSCompiler_StaticMethods__passSavedSearchNameCheck$$($component$$1395$$, $JSCompiler_alias_TRUE$$) ? ($applyId_pssDlgComp$$ = $AdfPage$$.$PAGE$.$findComponent$($clientId$$331$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_PSSDLG_ID$), $JSCompiler_StaticMethods__checkDefaultSavedSearchHidden$$($applyId_pssDlgComp$$, $clientId$$331$$) ? $componentEvent$$325$$.cancel() : $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1395$$, 
  $JSCompiler_alias_TRUE$$) && (value = $JSCompiler_StaticMethods__getCreateOrUpdateValue$$($component$$1395$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$), $AdfQueryInternalEvent$$.$queue$($component$$1395$$, $AdfQueryInternalEvent$$.$OPERATION_UPDATE$, value, $JSCompiler_alias_TRUE$$))) : $componentEvent$$325$$.cancel() : $sourceId$$7$$ == $reorderId$$ || $sourceId$$7$$ == $reorderMoveUp$$ || $sourceId$$7$$ == $reorderTop$$ || $sourceId$$7$$ == $reorderMoveDown$$ || $sourceId$$7$$ == $reorderBottom$$ ? 
  $componentEvent$$325$$.cancel() : $sourceId$$7$$ == $deleteId$$ && $componentEvent$$325$$.cancel()
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentAction", {$HandleComponentAction$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentAction$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentDialog$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentDialog$$($componentEvent$$326_delPopupComp$$) {
  var $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$ = this.$getComponent$(), $clientId$$332_pass$$inline_3297$$ = $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$.$getClientId$(), $cssDlgId_isCssDlg_operationType$$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$, $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_DELETE_WARNING_DLG_SUBID$), 
  $isOwDlg_owDlgId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_OVERRIDE_WARNING_DLG_SUBID$), $isOeDlg_oeDlgId_value$$160$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_OVERRIDE_ERROR_DLG_SUBID$), $targetId$$14_yesPressed$$ = $componentEvent$$326_delPopupComp$$.getSource().$getClientId$();
  $AdfDhtmlQueryPeer$$.$_usesUnifiedButtonsInDialog$ ? ($isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$ = $clientId$$332_pass$$inline_3297$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_PSSDLG_ID$, $cssDlgId_isCssDlg_operationType$$ = $clientId$$332_pass$$inline_3297$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_SSDLG_ID$) : ($cssDlgId_isCssDlg_operationType$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$), 
  $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$));
  $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$ = $targetId$$14_yesPressed$$ == $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$;
  $cssDlgId_isCssDlg_operationType$$ = $targetId$$14_yesPressed$$ == $cssDlgId_isCssDlg_operationType$$;
  $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ = $targetId$$14_yesPressed$$ == $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$;
  $isOwDlg_owDlgId$$ = $targetId$$14_yesPressed$$ == $isOwDlg_owDlgId$$;
  $isOeDlg_oeDlgId_value$$160$$ = $targetId$$14_yesPressed$$ == $isOeDlg_oeDlgId_value$$160$$;
  if($cssDlgId_isCssDlg_operationType$$ || $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$) {
    $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ = $JSCompiler_alias_TRUE$$;
    if($componentEvent$$326_delPopupComp$$.$getOutcome$() == $AdfDialogEvent$$.$OUTCOME_OK$) {
      if($dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ = $JSCompiler_StaticMethods__passSavedSearchNameCheck$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$)) {
        if($isOeDlg_oeDlgId_value$$160$$ = $JSCompiler_StaticMethods__getCreateOrUpdateValue$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$ ? $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$ : $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$), $cssDlgId_isCssDlg_operationType$$) {
          $AdfQueryOperationEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $AdfQueryOperationEvent$$.$OPERATION_CREATE$, $isOeDlg_oeDlgId_value$$160$$, $JSCompiler_alias_TRUE$$)
        }else {
          if($JSCompiler_StaticMethods__checkDefaultSavedSearchHidden$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $clientId$$332_pass$$inline_3297$$)) {
            $componentEvent$$326_delPopupComp$$.cancel();
            return
          }
          (selectedSearch = $JSCompiler_StaticMethods__getSelectedSearchName$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $JSCompiler_alias_TRUE$$)) ? $AdfQueryOperationEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $AdfQueryOperationEvent$$.$OPERATION_UPDATE$, $isOeDlg_oeDlgId_value$$160$$, $JSCompiler_alias_TRUE$$) : $AdfQueryInternalEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, 
          $AdfQueryInternalEvent$$.$OPERATION_CANCEL$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$)
        }
      }else {
        if($cssDlgId_isCssDlg_operationType$$) {
          $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$ = $JSCompiler_StaticMethods__getSearchNameInCSSDialog$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$);
          $clientId$$332_pass$$inline_3297$$ = $JSCompiler_alias_FALSE$$;
          $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$ = $AdfDhtmlQueryPeer$$.$getSystemSavedSearchNames$();
          $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$ = $AdfStrings$$.trim($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$.toLowerCase());
          for($dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ = 0;$dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ < $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$.length;$dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$++) {
            if($AdfStrings$$.trim($isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$[$dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$].toLowerCase()) == $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$) {
              $clientId$$332_pass$$inline_3297$$ = $JSCompiler_alias_TRUE$$;
              break
            }
          }
          $clientId$$332_pass$$inline_3297$$ ? $JSCompiler_StaticMethods__showWarningPopup$$(this, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_FALSE$$) : $JSCompiler_StaticMethods__showWarningPopup$$(this, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$);
          $componentEvent$$326_delPopupComp$$.cancel();
          return
        }
      }
    }else {
      $AdfQueryInternalEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $AdfQueryInternalEvent$$.$OPERATION_CANCEL$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$, $JSCompiler_alias_TRUE$$)
    }
    $componentEvent$$326_delPopupComp$$.cancel();
    $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ && this.$HidePopupDialog$($clientId$$332_pass$$inline_3297$$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$)
  }else {
    if($dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ || $isOwDlg_owDlgId$$ || $isOeDlg_oeDlgId_value$$160$$) {
      $targetId$$14_yesPressed$$ = $JSCompiler_alias_FALSE$$;
      if(($targetId$$14_yesPressed$$ = $componentEvent$$326_delPopupComp$$.$getOutcome$() == $AdfDialogEvent$$.$OUTCOME_YES$) && !$isOeDlg_oeDlgId_value$$160$$) {
        $cssDlgId_isCssDlg_operationType$$ = $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ ? $AdfQueryOperationEvent$$.$OPERATION_DELETE$ : $AdfQueryOperationEvent$$.$OPERATION_OVERRIDE$, ($isOeDlg_oeDlgId_value$$160$$ = $JSCompiler_StaticMethods__getCreateOrUpdateValue$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$ ? $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$ : $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$)) ? $AdfQueryOperationEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, 
        $cssDlgId_isCssDlg_operationType$$, $isOeDlg_oeDlgId_value$$160$$, $JSCompiler_alias_TRUE$$) : ($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$332_pass$$inline_3297$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$), $choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$ = $AdfPage$$.$PAGE$.$findComponent$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$), 
        $JSCompiler_StaticMethods__setComponentError$$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, "af_query.MSG_SAVED_SEARCH_DELDUP_CONSTRAINT", "af_query.MSG_SAVED_SEARCH_DELETE_CONSTRAINT_DETAIL"))
      }
      $componentEvent$$326_delPopupComp$$.cancel();
      ($componentEvent$$326_delPopupComp$$ = $JSCompiler_StaticMethods__getWarningPopupComponent$$(this, $dwDlgId_i$$inline_3300_isDwDlg_nameCheckPassed$$, $isOwDlg_owDlgId$$)) && $componentEvent$$326_delPopupComp$$.$hide$();
      $isOwDlg_owDlgId$$ && $targetId$$14_yesPressed$$ && this.$HidePopupDialog$($clientId$$332_pass$$inline_3297$$, $isPssDlg_pssDlgId$$1_systemSearches$$inline_3298$$)
    }else {
      if($targetId$$14_yesPressed$$ == $clientId$$332_pass$$inline_3297$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_DIALOG_SUBIID$ || $targetId$$14_yesPressed$$ == $clientId$$332_pass$$inline_3297$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_DIALOG_SUBIID$) {
        $componentEvent$$326_delPopupComp$$.$getOutcome$() == $AdfDialogEvent$$.$OUTCOME_OK$ ? ($AdfQueryInternalEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $AdfQueryInternalEvent$$.$OPERATION_REORDER_OK$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$), $componentEvent$$326_delPopupComp$$.cancel(), (popupComp = $componentEvent$$326_delPopupComp$$.getSource().getParent()) && popupComp.$hide$()) : $componentEvent$$326_delPopupComp$$.$getOutcome$() == 
        $AdfDialogEvent$$.$OUTCOME_CANCEL$ && $AdfQueryInternalEvent$$.$queue$($choiceComp_choiceId_component$$1396_queryName$$inline_3296_searchName$$inline_3299$$, $AdfQueryInternalEvent$$.$OPERATION_REORDER_CANCEL$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$)
      }
    }
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentDialog", {$HandleComponentDialog$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentDialog$});
$AdfDhtmlQueryPeer$$.prototype.$HandleComponentValueChange$ = function $$AdfDhtmlQueryPeer$$$$$HandleComponentValueChange$$($componentEvent$$327$$) {
  var $selectedValue$$2_sourceId$$8$$ = $componentEvent$$327$$.getSource().$getClientId$();
  if($selectedValue$$2_sourceId$$8$$) {
    var $sourceComp$$ = $AdfPage$$.$PAGE$.$findComponent$($selectedValue$$2_sourceId$$8$$), $queryComp$$ = this.$getComponent$(), $clientId$$333_ssChoiceIdInDlg$$ = $queryComp$$.$getClientId$(), $ssChoiceId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$333_ssChoiceIdInDlg$$, $AdfDhtmlQueryPeer$$.$_SSEARCH_CHOICE_SUBID$), $clientId$$333_ssChoiceIdInDlg$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$333_ssChoiceIdInDlg$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$);
    $selectedValue$$2_sourceId$$8$$ == $ssChoiceId$$ ? ($selectedValue$$2_sourceId$$8$$ = $sourceComp$$.getValue(), !$selectedValue$$2_sourceId$$8$$ || "" == $selectedValue$$2_sourceId$$8$$ ? $componentEvent$$327$$.cancel() : $selectedValue$$2_sourceId$$8$$ == $AdfDhtmlQueryPeer$$.$_PERSONALIZE_SSEARCH_KEY$ ? $AdfQueryInternalEvent$$.$queue$($queryComp$$, $AdfQueryInternalEvent$$.$OPERATION_SHOW_POPUP$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_TRUE$$) : $selectedValue$$2_sourceId$$8$$ != $AdfDhtmlQueryPeer$$.$_SEPARATOR_KEY$ && 
    $AdfQueryOperationEvent$$.$queue$($queryComp$$, $AdfQueryOperationEvent$$.$OPERATION_SELECT$, $selectedValue$$2_sourceId$$8$$, $JSCompiler_alias_TRUE$$)) : $selectedValue$$2_sourceId$$8$$ == $clientId$$333_ssChoiceIdInDlg$$ && (($selectedValue$$2_sourceId$$8$$ = $sourceComp$$.getValue()) && $selectedValue$$2_sourceId$$8$$ != $AdfDhtmlQueryPeer$$.$_SEPARATOR_KEY$ ? $AdfQueryInternalEvent$$.$queue$($queryComp$$, $AdfQueryInternalEvent$$.$OPERATION_SELECT$, $selectedValue$$2_sourceId$$8$$, $JSCompiler_alias_TRUE$$) : 
    $componentEvent$$327$$.cancel())
  }
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HandleComponentValueChange", {$HandleComponentValueChange$:$AdfDhtmlQueryPeer$$.prototype.$HandleComponentValueChange$});
$AdfDhtmlQueryPeer$$.prototype.$HidePopupDialog$ = function $$AdfDhtmlQueryPeer$$$$$HidePopupDialog$$($clientId$$334$$, $isPersonalize$$) {
  var $popupComp$$2$$ = $JSCompiler_StaticMethods__getPopupComponent$$($clientId$$334$$, $isPersonalize$$);
  $popupComp$$2$$ && ($isPersonalize$$ && this.$getComponent$().setProperty($AdfDhtmlQueryPeer$$.$_PSS_POPUP_VISIBLE_STATUS$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$, $AdfUIComponent$$.$PROPAGATE_ALWAYS$), $popupComp$$2$$.$hide$())
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.HidePopupDialog", {$HidePopupDialog$:$AdfDhtmlQueryPeer$$.prototype.$HidePopupDialog$});
$AdfDhtmlQueryPeer$$.prototype.$PopupClosed$ = function $$AdfDhtmlQueryPeer$$$$$PopupClosed$$($component$$1397$$, $contentDom$$36$$) {
  $AdfDhtmlQueryPeer$$.$superclass$.$PopupClosed$.call(this, $component$$1397$$, $contentDom$$36$$);
  var $clientId$$335$$ = $component$$1397$$.$getClientId$(), $cssPopupId_cssPopupNode$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_CSSPOPUP_SUBID$), $pssPopupId_pssPopupNode$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_PSSPOPUP_SUBID$), $dwPopupId_dwPopupNode$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_DELETE_WARNING_POPUP_SUBID$), $owPopupId_owPopupNode$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, 
  $AdfDhtmlQueryPeer$$.$_OVERRIDE_WARNING_POPUP_SUBID$), $oePopupId_oePopupNode$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_OVERRIDE_ERROR_POPUP_SUBID$), $cssPopupId_cssPopupNode$$ = $AdfAgent$$.$AGENT$.getElementById($cssPopupId_cssPopupNode$$), $pssPopupId_pssPopupNode$$ = $AdfAgent$$.$AGENT$.getElementById($pssPopupId_pssPopupNode$$), $dwPopupId_dwPopupNode$$ = $AdfAgent$$.$AGENT$.getElementById($dwPopupId_dwPopupNode$$), $owPopupId_owPopupNode$$ = $AdfAgent$$.$AGENT$.getElementById($owPopupId_owPopupNode$$), 
  $oePopupId_oePopupNode$$ = $AdfAgent$$.$AGENT$.getElementById($oePopupId_oePopupNode$$), $cssDlgId$$1$$, $pssDlgId$$2$$, $dwDlgId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_DELETE_WARNING_DLG_SUBID$), $owDlgId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_OVERRIDE_WARNING_DLG_SUBID$), $oeDlgId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_OVERRIDE_ERROR_DLG_SUBID$);
  $AdfDhtmlQueryPeer$$.$_usesUnifiedButtonsInDialog$ ? ($pssDlgId$$2$$ = $clientId$$335$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_PSSDLG_ID$, $cssDlgId$$1$$ = $clientId$$335$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_SSDLG_ID$) : ($cssDlgId$$1$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$), $pssDlgId$$2$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$335$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$));
  $contentDom$$36$$.id == $cssDlgId$$1$$ ? $cssPopupId_cssPopupNode$$.appendChild($contentDom$$36$$) : $contentDom$$36$$.id == $pssDlgId$$2$$ ? $pssPopupId_pssPopupNode$$.appendChild($contentDom$$36$$) : $contentDom$$36$$.id == $dwDlgId$$1$$ ? $dwPopupId_dwPopupNode$$.appendChild($contentDom$$36$$) : $contentDom$$36$$.id == $owDlgId$$1$$ ? $owPopupId_owPopupNode$$.appendChild($contentDom$$36$$) : $contentDom$$36$$.id == $oeDlgId$$1$$ && $oePopupId_oePopupNode$$.appendChild($contentDom$$36$$)
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.PopupClosed", {$PopupClosed$:$AdfDhtmlQueryPeer$$.prototype.$PopupClosed$});
$AdfDhtmlQueryPeer$$.$getSavedSearchNames$ = function $$AdfDhtmlQueryPeer$$$$getSavedSearchNames$$() {
  return $AdfDhtmlQueryPeer$$.$getUserSavedSearchNames$().concat($AdfDhtmlQueryPeer$$.$getSystemSavedSearchNames$())
};
$goog$exportSymbol$$("AdfDhtmlQueryPeer.getSavedSearchNames", $AdfDhtmlQueryPeer$$.$getSavedSearchNames$);
$AdfDhtmlQueryPeer$$.$setUserSavedSearchNames$ = $JSCompiler_set$$("$_existingUserSearchNames$");
$goog$exportSymbol$$("AdfDhtmlQueryPeer.setUserSavedSearchNames", $AdfDhtmlQueryPeer$$.$setUserSavedSearchNames$);
$AdfDhtmlQueryPeer$$.$getUserSavedSearchNames$ = function $$AdfDhtmlQueryPeer$$$$getUserSavedSearchNames$$() {
  var $names$$2$$ = this.$_existingUserSearchNames$;
  return $names$$2$$ ? $names$$2$$ : []
};
$goog$exportSymbol$$("AdfDhtmlQueryPeer.getUserSavedSearchNames", $AdfDhtmlQueryPeer$$.$getUserSavedSearchNames$);
$AdfDhtmlQueryPeer$$.$setSystemSavedSearchNames$ = $JSCompiler_set$$("$_existingSystemSearchNames$");
$goog$exportSymbol$$("AdfDhtmlQueryPeer.setSystemSavedSearchNames", $AdfDhtmlQueryPeer$$.$setSystemSavedSearchNames$);
$AdfDhtmlQueryPeer$$.$getSystemSavedSearchNames$ = function $$AdfDhtmlQueryPeer$$$$getSystemSavedSearchNames$$() {
  var $names$$4$$ = this.$_existingSystemSearchNames$;
  return $names$$4$$ ? $names$$4$$ : []
};
$goog$exportSymbol$$("AdfDhtmlQueryPeer.getSystemSavedSearchNames", $AdfDhtmlQueryPeer$$.$getSystemSavedSearchNames$);
function $JSCompiler_StaticMethods__isHeaderless$$($component$$1398_displayMode$$2$$) {
  $AdfAssert$$.assert($component$$1398_displayMode$$2$$ != $JSCompiler_alias_NULL$$, "AdfDhtmlQueryPeer.prototype._isHeaderless, component cannot be null!");
  $component$$1398_displayMode$$2$$ = $component$$1398_displayMode$$2$$.getDisplayMode();
  return"simple" == $component$$1398_displayMode$$2$$ || "design" == $component$$1398_displayMode$$2$$
}
function $JSCompiler_StaticMethods__getCreateOrUpdateValue$$($component$$1399$$, $dlgId$$) {
  var $nameId_nameNode$$ = $JSCompiler_alias_NULL$$, $autoExecuteId_autoExecuteNode$$ = $JSCompiler_alias_NULL$$, $setAsDefaultId$$1_setAsDefaultNode$$ = $JSCompiler_alias_NULL$$, $inSearchListId$$1_inSearchListNode$$ = $JSCompiler_alias_NULL$$, $selectedSavedSearch$$ = $JSCompiler_alias_NULL$$, $clientId$$336_returnValue$$3$$ = $component$$1399$$.$getClientId$();
  $dlgId$$ == $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$ ? ($nameId_nameNode$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_SSEARCH_NAME_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $autoExecuteId_autoExecuteNode$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_UIHINT_AUTOEXECUTE_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $setAsDefaultId$$1_setAsDefaultNode$$ = 
  $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_UIHINT_DEFAULT_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $selectedSavedSearch$$ = $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1399$$, $JSCompiler_alias_FALSE$$)) : $dlgId$$ == $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$ && ($nameId_nameNode$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_NAME_SUBID$), 
  $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $autoExecuteId_autoExecuteNode$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_AUTOEXECUTE_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $inSearchListId$$1_inSearchListNode$$ = $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_SHOWINLIST_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $setAsDefaultId$$1_setAsDefaultNode$$ = 
  $AdfRichUIPeer$$.$CreateSubId$($AdfRichUIPeer$$.$CreateSubId$($clientId$$336_returnValue$$3$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_DEFAULT_SUBID$), $AdfDhtmlQueryPeer$$.$CONTENT_SUBID$), $selectedSavedSearch$$ = $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1399$$, $JSCompiler_alias_TRUE$$));
  $clientId$$336_returnValue$$3$$ = {};
  $selectedSavedSearch$$ && ($clientId$$336_returnValue$$3$$.selectedSearch = $selectedSavedSearch$$);
  if($nameId_nameNode$$ = $AdfAgent$$.$AGENT$.getElementById($nameId_nameNode$$)) {
    $clientId$$336_returnValue$$3$$[$AdfDhtmlQueryPeer$$.$_UIHINT_NAME$] = $nameId_nameNode$$.value
  }
  $autoExecuteId_autoExecuteNode$$ = $AdfAgent$$.$AGENT$.getElementById($autoExecuteId_autoExecuteNode$$);
  $clientId$$336_returnValue$$3$$[$AdfDhtmlQueryPeer$$.$_UIHINT_AUTOEXECUTE$] = $autoExecuteId_autoExecuteNode$$ ? $autoExecuteId_autoExecuteNode$$.checked : $JSCompiler_alias_TRUE$$;
  $setAsDefaultId$$1_setAsDefaultNode$$ = $AdfAgent$$.$AGENT$.getElementById($setAsDefaultId$$1_setAsDefaultNode$$);
  $clientId$$336_returnValue$$3$$[$AdfDhtmlQueryPeer$$.$_UIHINT_DEFAULT$] = $setAsDefaultId$$1_setAsDefaultNode$$ ? $setAsDefaultId$$1_setAsDefaultNode$$.checked : $JSCompiler_alias_FALSE$$;
  $inSearchListId$$1_inSearchListNode$$ && ($inSearchListId$$1_inSearchListNode$$ = $AdfAgent$$.$AGENT$.getElementById($inSearchListId$$1_inSearchListNode$$), $clientId$$336_returnValue$$3$$[$AdfDhtmlQueryPeer$$.$_UIHINT_SHOW_IN_LIST$] = $inSearchListId$$1_inSearchListNode$$ ? $inSearchListId$$1_inSearchListNode$$.checked : $JSCompiler_alias_FALSE$$);
  return $clientId$$336_returnValue$$3$$
}
function $JSCompiler_StaticMethods__getPopupComponent$$($clientId$$338$$, $isPersonalize$$1$$) {
  var $popupComp$$3_popupId$$69_popupSubId$$ = $JSCompiler_alias_NULL$$, $popupComp$$3_popupId$$69_popupSubId$$ = $JSCompiler_alias_NULL$$, $popupComp$$3_popupId$$69_popupSubId$$ = $isPersonalize$$1$$ ? $AdfDhtmlQueryPeer$$.$_PSSPOPUP_SUBID$ : $AdfDhtmlQueryPeer$$.$_CSSPOPUP_SUBID$, $popupComp$$3_popupId$$69_popupSubId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$338$$, $popupComp$$3_popupId$$69_popupSubId$$);
  return $popupComp$$3_popupId$$69_popupSubId$$ = $AdfPage$$.$PAGE$.$findComponent$($popupComp$$3_popupId$$69_popupSubId$$)
}
function $JSCompiler_StaticMethods__getWarningPopupComponent$$($JSCompiler_StaticMethods__getWarningPopupComponent$self_clientId$$339$$, $isDeletePopup_popupId$$70$$, $isWarningPopup$$) {
  $JSCompiler_StaticMethods__getWarningPopupComponent$self_clientId$$339$$ = $JSCompiler_StaticMethods__getWarningPopupComponent$self_clientId$$339$$.$getComponent$().$getClientId$();
  $isDeletePopup_popupId$$70$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__getWarningPopupComponent$self_clientId$$339$$, $isDeletePopup_popupId$$70$$ ? $AdfDhtmlQueryPeer$$.$_DELETE_WARNING_POPUP_SUBID$ : $isWarningPopup$$ ? $AdfDhtmlQueryPeer$$.$_OVERRIDE_WARNING_POPUP_SUBID$ : $AdfDhtmlQueryPeer$$.$_OVERRIDE_ERROR_POPUP_SUBID$);
  return $AdfPage$$.$PAGE$.$findComponent$($isDeletePopup_popupId$$70$$)
}
function $JSCompiler_StaticMethods__getQueryButtonId$$($JSCompiler_StaticMethods__getQueryButtonId$self$$, $buttonId$$10$$) {
  var $clientId$$340$$ = $JSCompiler_StaticMethods__getQueryButtonId$self$$.$getComponent$().$getClientId$();
  return $AdfDhtmlQueryPeer$$.$_usesUnifiedButtons$ ? $clientId$$340$$ + ":_" + $buttonId$$10$$ : $AdfRichUIPeer$$.$CreateSubId$($clientId$$340$$, $buttonId$$10$$)
}
function $JSCompiler_StaticMethods__handleComponentOperation$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $componentEvent$$328$$) {
  var $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$ = $JSCompiler_StaticMethods__handleComponentOperation$self$$.$getComponent$(), $agent$$479_cancelEvent$$5_clientId$$341$$ = $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$.$getClientId$(), $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$ = $JSCompiler_StaticMethods__getQueryButtonId$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, 
  $AdfDhtmlQueryPeer$$.$_MODE_BUTTON_SUBID$), $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = $JSCompiler_StaticMethods__getQueryButtonId$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $AdfDhtmlQueryPeer$$.$_SEARCH_BUTTON_SUBID$), $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$ = $JSCompiler_StaticMethods__getQueryButtonId$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $AdfDhtmlQueryPeer$$.$_RESET_BUTTON_SUBID$), 
  $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$ = $JSCompiler_StaticMethods__getQueryButtonId$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $AdfDhtmlQueryPeer$$.$_SAVE_BUTTON_SUBID$), $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ = $agent$$479_cancelEvent$$5_clientId$$341$$ + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_SUBID$, $agent$$479_cancelEvent$$5_clientId$$341$$ = $AdfAgent$$.$getAgent$(), $evtTarget$$7_nativeEvent$$50$$ = 
  $componentEvent$$328$$.$getNativeEvent$(), $evtTarget$$7_nativeEvent$$50$$ = $agent$$479_cancelEvent$$5_clientId$$341$$.$getEventTarget$($evtTarget$$7_nativeEvent$$50$$), $agent$$479_cancelEvent$$5_clientId$$341$$ = $JSCompiler_alias_FALSE$$, $clickedButtonId$$ = $JSCompiler_alias_NULL$$;
  if($AdfDhtmlQueryPeer$$.$_usesUnifiedButtons$) {
    var $parentComp$$ = $AdfRichUIPeer$$.$getFirstAncestorComponent$($evtTarget$$7_nativeEvent$$50$$);
    $parentComp$$ instanceof AdfRichButton && ($clickedButtonId$$ = $parentComp$$.$getClientId$(), $parentComp$$.getDisabled() == $JSCompiler_alias_TRUE$$ && ($agent$$479_cancelEvent$$5_clientId$$341$$ = $JSCompiler_alias_TRUE$$))
  }else {
    $clickedButtonId$$ = $evtTarget$$7_nativeEvent$$50$$.id, $evtTarget$$7_nativeEvent$$50$$.disabled == $JSCompiler_alias_TRUE$$ && ($agent$$479_cancelEvent$$5_clientId$$341$$ = $JSCompiler_alias_TRUE$$)
  }
  if(!$agent$$479_cancelEvent$$5_clientId$$341$$) {
    if($clickedButtonId$$ == $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ && $JSCompiler_StaticMethods__handleComponentOperation$self$$.$validateCriterionFields$()) {
      (new $AdfQueryEvent$$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$)).$queue$(), $JSCompiler_StaticMethods__queueResultComponentEvent$$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$), $agent$$479_cancelEvent$$5_clientId$$341$$ = $JSCompiler_alias_TRUE$$
    }else {
      if($clickedButtonId$$ == $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$) {
        (new $AdfQueryOperationEvent$$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryOperationEvent$$.$OPERATION_MODE_CHANGE$, $JSCompiler_alias_NULL$$)).$queue$($JSCompiler_alias_TRUE$$)
      }else {
        if($clickedButtonId$$ == $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$) {
          if($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$ = $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$.$getDescendantComponents$()) {
            $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = $AdfPage$$.$PAGE$.$getAllMessages$();
            for($conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$ = 0;$conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$ < $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$.length;$conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$++) {
              $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$ = $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$[$conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$], ($childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ = $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$.$getClientId$()) && (0 <= $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$.indexOf($AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$) && $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$[$childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$]) && 
              $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$.setValue()
            }
          }
          $AdfQueryOperationEvent$$.$queue$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryOperationEvent$$.$OPERATION_RESET$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$)
        }else {
          if($clickedButtonId$$ == $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$) {
            $AdfQueryInternalEvent$$.$queue$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryInternalEvent$$.$OPERATION_SHOW_POPUP$, $JSCompiler_alias_FALSE$$, $JSCompiler_alias_TRUE$$)
          }else {
            if($JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $evtTarget$$7_nativeEvent$$50$$, $AdfDhtmlQueryPeer$$.$_CONJUNCTION_SUBID$)) {
              $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$.$getClientId$() + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_CONJUNCTION_SUBID$, ($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$ = $AdfPage$$.$PAGE$.$findComponent$($conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$)) ? 
              ($conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = $AdfAgent$$.$AGENT$.getElementById($conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$), $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$ = $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$.$getPeer$(), $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$.setProperty("value", 
              $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$.value), $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$.$HandleComponentClick$($componentEvent$$328$$), ($applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$ = $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$.getValue()) && $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$.$SetDisplayValue$($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$, 
              $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$, $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$), $AdfQueryInternalEvent$$.$queue$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryInternalEvent$$.$OPERATION_SELECT_CONJUNCTION$, $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$, $JSCompiler_alias_TRUE$$)) : $componentEvent$$328$$.cancel()
            }else {
              if($clickedButtonId$$ == $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$) {
                $AdfQueryInternalEvent$$.$queue$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryInternalEvent$$.$OPERATION_REORDER_DIALOG_OPEN$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$)
              }else {
                if($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$ = $JSCompiler_StaticMethods__handleComponentOperation$self$$.$getComponent$(), $clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$ = $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$.$getClientId$(), $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = 
                $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$, $AdfDhtmlQueryPeer$$.$_DELETE_BUTTON_SUBID$), $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$, $AdfDhtmlQueryPeer$$.$_DUPLICATE_BUTTON_SUBID$), $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$, 
                $AdfDhtmlQueryPeer$$.$_APPLY_BUTTON_SUBID$), $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ = $componentEvent$$328$$.getSource().$getClientId$(), $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ == $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$) {
                  $JSCompiler_StaticMethods__showWarningPopup$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $JSCompiler_alias_TRUE$$, $JSCompiler_alias_FALSE$$)
                }else {
                  if($childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ == $conjPeer$$inline_3307_dupId$$inline_3315_j$$32_resetId$$) {
                    ($conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$ = $JSCompiler_StaticMethods__getCreateOrUpdateValue$$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$)) ? $AdfQueryOperationEvent$$.$queue$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $AdfQueryOperationEvent$$.$OPERATION_DUPLICATE$, 
                    $conjunctNode$$inline_3306_conjunctionId$$inline_3304_deleteId$$inline_3314_msgs_searchId$$1_value$$inline_3318$$, $JSCompiler_alias_TRUE$$) : ($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_3313_conjunction$$inline_3305_descComponents_modeId$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$), $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$ = 
                    $AdfPage$$.$PAGE$.$findComponent$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$), $JSCompiler_StaticMethods__setComponentError$$($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, "af_query.MSG_SAVED_SEARCH_DELDUP_CONSTRAINT", "af_query.MSG_SAVED_SEARCH_DUPLICATE_CONSTRAINT_DETAIL"), $componentEvent$$328$$.cancel())
                  }else {
                    if($childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$ == $applyId$$inline_3316_childComp$$2_saveId_value$$inline_3308$$) {
                      $componentEvent$$328$$.cancel()
                    }else {
                      if($JSCompiler_StaticMethods__isCheckboxClicked$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $componentEvent$$328$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$, $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$)) {
                        $JSCompiler_StaticMethods__handleCheckboxClick$$($componentEvent$$328$$, $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$)
                      }else {
                        if($JSCompiler_StaticMethods__isCheckboxClicked$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $componentEvent$$328$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$, $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$)) {
                          $JSCompiler_StaticMethods__handleCheckboxClick$$($componentEvent$$328$$, $childClientId$$12_reorderId$$1_sourceClientId$$inline_3317$$)
                        }else {
                          if($buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$ = $JSCompiler_StaticMethods__isClickInReorderDialogButtons$$($JSCompiler_StaticMethods__handleComponentOperation$self$$, $componentEvent$$328$$)) {
                            $JSCompiler_StaticMethods__handleComponentOperation$self$$.$getComponent$().$getClientId$(), $AdfQueryInternalEvent$$.$queue$($JSCompiler_StaticMethods__handleComponentOperation$self$$.$getComponent$(), $AdfQueryInternalEvent$$.$OPERATION_REORDER_BUTTON$, $buttonClicked$$inline_3321_choiceComp$$inline_3320_choiceId$$inline_3319_component$$1401_component$$inline_3312$$, $JSCompiler_alias_TRUE$$)
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  $agent$$479_cancelEvent$$5_clientId$$341$$ && ($componentEvent$$328$$.cancel(), $componentEvent$$328$$.$stopBubbling$());
  return $agent$$479_cancelEvent$$5_clientId$$341$$
}
function $JSCompiler_StaticMethods__queueResultComponentEvent$$($component$$1402_resultComponent$$) {
  if(-1 == $component$$1402_resultComponent$$.$getClientId$().indexOf("_afrLovInternalQueryId")) {
    var $resultComponentId$$ = $component$$1402_resultComponent$$.getResultComponentId();
    $resultComponentId$$ && ($component$$1402_resultComponent$$ = $component$$1402_resultComponent$$.$findComponent$($resultComponentId$$)) && $AdfQueryInternalEvent$$.$queue$($component$$1402_resultComponent$$, $AdfQueryInternalEvent$$.$OPERATION_RESULT_COMPONENT_DECODE$, $JSCompiler_alias_NULL$$, $JSCompiler_alias_TRUE$$)
  }
}
function $JSCompiler_StaticMethods__showWarningPopup$$($JSCompiler_StaticMethods__showWarningPopup$self_popupComp$$5$$, $isDeletePopup$$1_nodeId$$8$$, $isWarningPopup$$1$$) {
  var $component$$1403_msg$$11_selectedSearchName$$ = $JSCompiler_StaticMethods__showWarningPopup$self_popupComp$$5$$.$getComponent$(), $clientId$$342$$ = $component$$1403_msg$$11_selectedSearchName$$.$getClientId$(), $dlgMsgComp_dlgMsgId$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$342$$, $isDeletePopup$$1_nodeId$$8$$ ? $AdfDhtmlQueryPeer$$.$_DELETE_WARNING_MSG_SUBID$ : $isWarningPopup$$1$$ ? $AdfDhtmlQueryPeer$$.$_OVERRIDE_WARNING_MSG_SUBID$ : $AdfDhtmlQueryPeer$$.$_OVERRIDE_ERROR_MSG_SUBID$);
  if($dlgMsgComp_dlgMsgId$$ = $AdfPage$$.$PAGE$.$findComponent$($dlgMsgComp_dlgMsgId$$)) {
    $component$$1403_msg$$11_selectedSearchName$$ = $isDeletePopup$$1_nodeId$$8$$ ? $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1403_msg$$11_selectedSearchName$$, $JSCompiler_alias_TRUE$$) : $JSCompiler_StaticMethods__getSearchNameInCSSDialog$$($component$$1403_msg$$11_selectedSearchName$$), $component$$1403_msg$$11_selectedSearchName$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$().$getTranslatedString$($isDeletePopup$$1_nodeId$$8$$ ? $AdfDhtmlQueryPeer$$.$_MSG_SAVED_SEARCH_DELETE_WARNING$ : 
    $isWarningPopup$$1$$ ? $AdfDhtmlQueryPeer$$.$_MSG_SAVED_SEARCH_OVERRIDE_WARNING$ : $AdfDhtmlQueryPeer$$.$_MSG_SAVED_SEARCH_OVERRIDE_ERROR$, $component$$1403_msg$$11_selectedSearchName$$), $dlgMsgComp_dlgMsgId$$.setValue($component$$1403_msg$$11_selectedSearchName$$)
  }
  $JSCompiler_StaticMethods__showWarningPopup$self_popupComp$$5$$ = $JSCompiler_StaticMethods__getWarningPopupComponent$$($JSCompiler_StaticMethods__showWarningPopup$self_popupComp$$5$$, $isDeletePopup$$1_nodeId$$8$$, $isWarningPopup$$1$$);
  $isDeletePopup$$1_nodeId$$8$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$342$$, $isDeletePopup$$1_nodeId$$8$$ ? $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_NAME_SUBID$ : $AdfDhtmlQueryPeer$$.$_CSSDLG_SSEARCH_NAME_SUBID$);
  $JSCompiler_StaticMethods__showWarningPopup$self_popupComp$$5$$.show({align:AdfRichPopup.$ALIGN_AFTER_START$, alignId:$isDeletePopup$$1_nodeId$$8$$})
}
function $JSCompiler_StaticMethods__getSearchNameInCSSDialog$$($clientId$$inline_3323_component$$1404_contentNode$$53$$) {
  $clientId$$inline_3323_component$$1404_contentNode$$53$$ = $clientId$$inline_3323_component$$1404_contentNode$$53$$.$getClientId$();
  $AdfAssert$$.$assertBoolean$($JSCompiler_alias_FALSE$$);
  var $nameInputId$$inline_3325$$ = $JSCompiler_alias_NULL$$, $nameInputId$$inline_3325$$ = $AdfRichUIPeer$$.$CreateSubId$($clientId$$inline_3323_component$$1404_contentNode$$53$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_SSEARCH_NAME_SUBID$);
  return($clientId$$inline_3323_component$$1404_contentNode$$53$$ = $AdfPage$$.$PAGE$.$findComponent$($nameInputId$$inline_3325$$)) ? $clientId$$inline_3323_component$$1404_contentNode$$53$$.getValue() : $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1405$$, $isPersonalize$$2$$) {
  var $clientId$$344_contentNode$$54$$ = $component$$1405$$.$getClientId$(), $choiceId$$1$$ = $JSCompiler_alias_NULL$$, $choiceId$$1$$ = $isPersonalize$$2$$ ? $AdfRichUIPeer$$.$CreateSubId$($clientId$$344_contentNode$$54$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$) : $AdfRichUIPeer$$.$CreateSubId$($clientId$$344_contentNode$$54$$, $AdfDhtmlQueryPeer$$.$_SSEARCH_CHOICE_SUBID$);
  return($clientId$$344_contentNode$$54$$ = $AdfPage$$.$PAGE$.$findComponent$($choiceId$$1$$)) ? $clientId$$344_contentNode$$54$$.getValue() : $JSCompiler_alias_NULL$$
}
function $JSCompiler_StaticMethods__handleCheckboxClick$$($componentEvent$$329$$, $checkboxId$$) {
  var $checkbox$$1$$ = $AdfPage$$.$PAGE$.$findComponent$($checkboxId$$), $eventTargetNode$$ = $AdfAgent$$.$AGENT$.getElementById($checkboxId$$);
  if($checkbox$$1$$) {
    var $peer$$139$$ = $checkbox$$1$$.$getPeer$();
    $peer$$139$$.$HandleComponentClick$($componentEvent$$329$$);
    var $value$$161$$ = $checkbox$$1$$.getValue();
    $value$$161$$ && $peer$$139$$.$SetDisplayValue$($checkbox$$1$$, $eventTargetNode$$, $value$$161$$)
  }
}
function $JSCompiler_StaticMethods__isClickInReorderDialogButtons$$($JSCompiler_StaticMethods__isClickInReorderDialogButtons$self$$, $componentEvent$$331$$) {
  var $agent$$480_evtTarget$$8$$ = $AdfAgent$$.$getAgent$(), $nativeEvent$$51$$ = $componentEvent$$331$$.$getNativeEvent$(), $agent$$480_evtTarget$$8$$ = $agent$$480_evtTarget$$8$$.$getEventTarget$($nativeEvent$$51$$);
  return $JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__isClickInReorderDialogButtons$self$$, $agent$$480_evtTarget$$8$$, $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_TOP_SUBID$) ? $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_TOP$ : $JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__isClickInReorderDialogButtons$self$$, $agent$$480_evtTarget$$8$$, $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_UP_SUBID$) ? $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_UP$ : 
  $JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__isClickInReorderDialogButtons$self$$, $agent$$480_evtTarget$$8$$, $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_DOWN_SUBID$) ? $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_DOWN$ : $JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__isClickInReorderDialogButtons$self$$, $agent$$480_evtTarget$$8$$, $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_BOTTOM_SUBID$) ? $AdfDhtmlQueryPeer$$.$_REORDER_BUTTON_MOVE_BOTTOM$ : 
  $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__isCheckboxClicked$$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $componentEvent$$334_defaultCheckboxId_readonly$$, $autoExecCheckboxId_rootId$$6$$, $sourceClientId$$1$$) {
  $componentEvent$$334_defaultCheckboxId_readonly$$ = $componentEvent$$334_defaultCheckboxId_readonly$$.getSource().$getProperty$("readOnly");
  if("true" == $componentEvent$$334_defaultCheckboxId_readonly$$ || $componentEvent$$334_defaultCheckboxId_readonly$$ == $JSCompiler_alias_TRUE$$) {
    return $JSCompiler_alias_FALSE$$
  }
  $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$ = $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$.$getComponent$().$getClientId$();
  return $autoExecCheckboxId_rootId$$6$$ == $AdfDhtmlQueryPeer$$.$_PSSDLG_SUBID$ ? ($autoExecCheckboxId_rootId$$6$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_AUTOEXECUTE_SUBID$), $componentEvent$$334_defaultCheckboxId_readonly$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_DEFAULT_SUBID$), 
  $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_PSSDLG_UIHINT_SHOWINLIST_SUBID$), $sourceClientId$$1$$ == $autoExecCheckboxId_rootId$$6$$ || $sourceClientId$$1$$ == $componentEvent$$334_defaultCheckboxId_readonly$$ || $sourceClientId$$1$$ == $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$) : 
  $autoExecCheckboxId_rootId$$6$$ == $AdfDhtmlQueryPeer$$.$_CSSDLG_SUBID$ ? ($autoExecCheckboxId_rootId$$6$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_UIHINT_AUTOEXECUTE_SUBID$), $componentEvent$$334_defaultCheckboxId_readonly$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_UIHINT_DEFAULT_SUBID$), 
  $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$, $AdfDhtmlQueryPeer$$.$_CSSDLG_UIHINT_SAVERESULTLAYOUT_SUBID$), $sourceClientId$$1$$ == $autoExecCheckboxId_rootId$$6$$ || $sourceClientId$$1$$ == $componentEvent$$334_defaultCheckboxId_readonly$$ || $sourceClientId$$1$$ == $JSCompiler_StaticMethods__isCheckboxClicked$self_clientId$$348_showInListCheckboxId$$) : 
  $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__isClickInSubComponent$$($JSCompiler_StaticMethods__isClickInSubComponent$self_clientId$$349$$, $currentElemId_elem$$37$$, $compId$$1_subId$$30$$) {
  $JSCompiler_StaticMethods__isClickInSubComponent$self_clientId$$349$$ = $JSCompiler_StaticMethods__isClickInSubComponent$self_clientId$$349$$.$getComponent$().$getClientId$();
  $compId$$1_subId$$30$$ = $AdfRichUIPeer$$.$CreateSubId$($JSCompiler_StaticMethods__isClickInSubComponent$self_clientId$$349$$, $compId$$1_subId$$30$$);
  $currentElemId_elem$$37$$ = $currentElemId_elem$$37$$.id;
  return $currentElemId_elem$$37$$ == $compId$$1_subId$$30$$ || 0 <= $currentElemId_elem$$37$$.indexOf($compId$$1_subId$$30$$) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__isClickInClientComponent$$($JSCompiler_StaticMethods__isClickInClientComponent$self_componentId$$48$$, $node$$97$$, $id$$334$$) {
  $JSCompiler_StaticMethods__isClickInClientComponent$self_componentId$$48$$ = $JSCompiler_StaticMethods__isClickInClientComponent$self_componentId$$48$$.$getComponent$().$getClientId$() + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $id$$334$$;
  return $node$$97$$ && 0 <= $node$$97$$.id.indexOf($JSCompiler_StaticMethods__isClickInClientComponent$self_componentId$$48$$) ? $JSCompiler_alias_TRUE$$ : $node$$97$$.parentNode && $node$$97$$.parentNode.id && 0 <= $node$$97$$.parentNode.id.indexOf($JSCompiler_StaticMethods__isClickInClientComponent$self_componentId$$48$$) ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
}
function $JSCompiler_StaticMethods__passSavedSearchNameCheck$$($component$$1408$$, $isPsz$$1$$) {
  var $pass$$1$$ = $JSCompiler_alias_TRUE$$, $choiceId$$3_clientId$$351_queryNamesList$$ = $component$$1408$$.$getClientId$(), $inputComponentId_nameInputComponent$$ = $AdfRichUIPeer$$.$CreateSubId$($choiceId$$3_clientId$$351_queryNamesList$$, $isPsz$$1$$ ? $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_NAME_SUBID$ : $AdfDhtmlQueryPeer$$.$_CSSDLG_SSEARCH_NAME_SUBID$);
  if($inputComponentId_nameInputComponent$$ = $AdfPage$$.$PAGE$.$findComponent$($inputComponentId_nameInputComponent$$)) {
    if($inputComponentId_nameInputComponent$$.getDisabled()) {
      return $JSCompiler_alias_TRUE$$
    }
    var $newName$$2_searchName$$1$$ = $inputComponentId_nameInputComponent$$.getValue();
    if($inputComponentId_nameInputComponent$$.$IsEmpty$($newName$$2_searchName$$1$$)) {
      return $JSCompiler_StaticMethods__setComponentError$$($inputComponentId_nameInputComponent$$, "af_query.MSG_SAVED_SEARCH_NAME_NOTNULL_CONSTRAINT", "af_query.MSG_SAVED_SEARCH_NAME_NOTNULL_CONSTRAINT_DETAIL"), $JSCompiler_alias_FALSE$$
    }
    if($isPsz$$1$$) {
      var $j$$33_selSavedSearch$$ = $JSCompiler_StaticMethods__getSelectedSearchName$$($component$$1408$$, $isPsz$$1$$);
      if($newName$$2_searchName$$1$$ == $j$$33_selSavedSearch$$) {
        return $JSCompiler_alias_TRUE$$
      }
    }
    $choiceId$$3_clientId$$351_queryNamesList$$ = $AdfRichUIPeer$$.$CreateSubId$($choiceId$$3_clientId$$351_queryNamesList$$, $isPsz$$1$$ ? $AdfDhtmlQueryPeer$$.$_PSSDLG_SSEARCH_CHOICE_SUBID$ : $AdfDhtmlQueryPeer$$.$_SSEARCH_CHOICE_SUBID$);
    $choiceId$$3_clientId$$351_queryNamesList$$ = $AdfPage$$.$PAGE$.$findComponent$($choiceId$$3_clientId$$351_queryNamesList$$).$getSelectItems$();
    $newName$$2_searchName$$1$$ = $AdfStrings$$.trim($newName$$2_searchName$$1$$.toLowerCase());
    for($j$$33_selSavedSearch$$ = 0;$j$$33_selSavedSearch$$ < $choiceId$$3_clientId$$351_queryNamesList$$.length;$j$$33_selSavedSearch$$++) {
      if($AdfStrings$$.trim($choiceId$$3_clientId$$351_queryNamesList$$[$j$$33_selSavedSearch$$].getValue().toLowerCase()) == $newName$$2_searchName$$1$$ && !$choiceId$$3_clientId$$351_queryNamesList$$[$j$$33_selSavedSearch$$].$isDisabled$()) {
        $pass$$1$$ = $JSCompiler_alias_FALSE$$;
        $isPsz$$1$$ && $JSCompiler_StaticMethods__setComponentError$$($inputComponentId_nameInputComponent$$, "af_query.MSG_SAVED_SEARCH_NAME_UNIQUE_CONSTRAINT", "af_query.MSG_SAVED_SEARCH_NAME_UNIQUE_CONSTRAINT_DETAIL");
        break
      }
    }
  }
  return $pass$$1$$
}
function $JSCompiler_StaticMethods__setComponentError$$($component$$1409$$, $page$$159_summary$$3_summaryKey$$, $detail$$8_detailKey_message$$78$$, $clientId$$352_laf$$81_trResourceKey$$) {
  $AdfAssert$$.$assertString$($page$$159_summary$$3_summaryKey$$);
  $AdfAssert$$.$assertStringOrNull$($detail$$8_detailKey_message$$78$$);
  $clientId$$352_laf$$81_trResourceKey$$ ? ($page$$159_summary$$3_summaryKey$$ = TrMessageFactory.getString($page$$159_summary$$3_summaryKey$$), $detail$$8_detailKey_message$$78$$ = TrMessageFactory.getString($detail$$8_detailKey_message$$78$$)) : ($clientId$$352_laf$$81_trResourceKey$$ = $AdfPage$$.$PAGE$.$getLookAndFeel$(), $page$$159_summary$$3_summaryKey$$ = $clientId$$352_laf$$81_trResourceKey$$.$getTranslatedString$($page$$159_summary$$3_summaryKey$$), $detail$$8_detailKey_message$$78$$ = $clientId$$352_laf$$81_trResourceKey$$.$getTranslatedString$($detail$$8_detailKey_message$$78$$));
  $detail$$8_detailKey_message$$78$$ = new $AdfFacesMessage$$($AdfFacesMessage$$.$TYPE_ERROR$, $page$$159_summary$$3_summaryKey$$, $detail$$8_detailKey_message$$78$$);
  $page$$159_summary$$3_summaryKey$$ = $AdfPage$$.$PAGE$;
  $component$$1409$$ ? ($clientId$$352_laf$$81_trResourceKey$$ = $component$$1409$$.$getClientId$(), $page$$159_summary$$3_summaryKey$$.$clearMessages$($clientId$$352_laf$$81_trResourceKey$$), $page$$159_summary$$3_summaryKey$$.$addMessage$($clientId$$352_laf$$81_trResourceKey$$, $detail$$8_detailKey_message$$78$$), $component$$1409$$.focus()) : $page$$159_summary$$3_summaryKey$$.$addMessage$($JSCompiler_alias_NULL$$, $detail$$8_detailKey_message$$78$$)
}
$AdfDhtmlQueryPeer$$.prototype.$_isEnterKeyNotConsumed$ = function $$AdfDhtmlQueryPeer$$$$$_isEnterKeyNotConsumed$$($componentEvent$$335$$) {
  return!$componentEvent$$335$$.$isCanceled$() && $componentEvent$$335$$.$getKeyCode$() == $AdfKeyStroke$$.$ENTER_KEY$ && $AdfDhtmlFormPeer$$.$__GetDefaultCommandTriggerId$($componentEvent$$335$$, $JSCompiler_alias_FALSE$$) != $JSCompiler_alias_NULL$$ ? $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
};
$AdfDhtmlQueryPeer$$.prototype.$validateCriterionFields$ = function $$AdfDhtmlQueryPeer$$$$$validateCriterionFields$$() {
  var $component$$1410_k$$9$$ = this.$getComponent$(), $descComponents$$1_indexedComponent$$ = $component$$1410_k$$9$$.$getDescendantComponents$();
  if($descComponents$$1_indexedComponent$$) {
    for(var $clientId$$353_indexed$$ = $JSCompiler_alias_TRUE$$, $indexArr$$ = [], $indexPos$$ = 0, $isValid$$6$$ = $JSCompiler_alias_TRUE$$, $isRequiredValid$$ = $JSCompiler_alias_TRUE$$, $isIndexedValid$$ = $JSCompiler_alias_TRUE$$, $j$$34$$ = 0;$j$$34$$ < $descComponents$$1_indexedComponent$$.length;$j$$34$$++) {
      var $childComp$$3$$ = $descComponents$$1_indexedComponent$$[$j$$34$$], $childId$$26_criterionElem_criterionId_indexInList$$ = $childComp$$3$$.getId(), $childDomElement$$10_value$$164$$ = $AdfRichUIPeer$$.$getDomElementForComponent$($childComp$$3$$);
      if($childId$$26_criterionElem_criterionId_indexInList$$ && 0 <= $childId$$26_criterionElem_criterionId_indexInList$$.indexOf($AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$) && $childDomElement$$10_value$$164$$ && $AdfDomUtils$$.$isInVisibleSubtree$($childDomElement$$10_value$$164$$)) {
        $childComp$$3$$.getValid() == $JSCompiler_alias_FALSE$$ && ($isValid$$6$$ = $JSCompiler_alias_FALSE$$);
        if($childComp$$3$$.getShowRequired && $childComp$$3$$.getShowRequired() && $isValid$$6$$ && ($childDomElement$$10_value$$164$$ = $childComp$$3$$.getValue(), (!$childDomElement$$10_value$$164$$ || "" == $childDomElement$$10_value$$164$$) && 0 !== $childDomElement$$10_value$$164$$)) {
          $JSCompiler_StaticMethods__setComponentError$$($childComp$$3$$, "org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED", "org.apache.myfaces.trinidad.UIXEditableValue.REQUIRED_detail", $JSCompiler_alias_TRUE$$), $isRequiredValid$$ = $JSCompiler_alias_FALSE$$
        }
        if($childId$$26_criterionElem_criterionId_indexInList$$ = $childId$$26_criterionElem_criterionId_indexInList$$.substring($AdfDhtmlQueryPeer$$.$_CRITERION_VALUE_SUBID$.length, $childId$$26_criterionElem_criterionId_indexInList$$.length - 1)) {
          if($childId$$26_criterionElem_criterionId_indexInList$$ = $component$$1410_k$$9$$.$getClientId$() + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_CRITERION_SUBID$ + $childId$$26_criterionElem_criterionId_indexInList$$, ($childId$$26_criterionElem_criterionId_indexInList$$ = $AdfAgent$$.$getAgent$().getElementById($childId$$26_criterionElem_criterionId_indexInList$$)) && $childId$$26_criterionElem_criterionId_indexInList$$.getAttribute($AdfDhtmlQueryPeer$$.$_INDEXED_FIELD$)) {
            $childDomElement$$10_value$$164$$ = $childComp$$3$$.getValue(), $indexArr$$[$indexPos$$++] = $childComp$$3$$, $clientId$$353_indexed$$ = (!$childDomElement$$10_value$$164$$ || "" == $childDomElement$$10_value$$164$$) && 0 !== $childDomElement$$10_value$$164$$ ? $clientId$$353_indexed$$ && $JSCompiler_alias_TRUE$$ : $JSCompiler_alias_FALSE$$
          }
        }
      }
    }
    if($clientId$$353_indexed$$ && 0 < $indexPos$$) {
      for($component$$1410_k$$9$$ = 0;$component$$1410_k$$9$$ < $indexPos$$;$component$$1410_k$$9$$++) {
        $JSCompiler_StaticMethods__setComponentError$$($indexArr$$[$component$$1410_k$$9$$], "af_query.MSG_SELECTIVELY_REQUIRED_CONSTRAINT", "af_query.MSG_SELECTIVELY_REQUIRED_CONSTRAINT_DETAIL", $JSCompiler_alias_FALSE$$)
      }
      $isIndexedValid$$ = $JSCompiler_alias_FALSE$$
    }else {
      for($component$$1410_k$$9$$ = 0;$component$$1410_k$$9$$ < $indexPos$$;$component$$1410_k$$9$$++) {
        $descComponents$$1_indexedComponent$$ = $indexArr$$[$component$$1410_k$$9$$], $clientId$$353_indexed$$ = $descComponents$$1_indexedComponent$$.$getClientId$(), $AdfPage$$.$PAGE$.$clearMessages$($clientId$$353_indexed$$), $descComponents$$1_indexedComponent$$.$validate$(), $descComponents$$1_indexedComponent$$.getValid() == $JSCompiler_alias_FALSE$$ && ($isValid$$6$$ = $JSCompiler_alias_FALSE$$)
      }
    }
    $isValid$$6$$ || $AdfPage$$.$PAGE$.$showMessages$();
    return $isIndexedValid$$ && $isRequiredValid$$ && $isValid$$6$$
  }
  return $JSCompiler_alias_TRUE$$
};
$AdfObject$$.$exportPrototypeSymbol$("AdfDhtmlQueryPeer.prototype.validateCriterionFields", {$validateCriterionFields$:$AdfDhtmlQueryPeer$$.prototype.$validateCriterionFields$});
$AdfDhtmlQueryPeer$$.prototype.$_getPageProperty$ = function $$AdfDhtmlQueryPeer$$$$$_getPageProperty$$($propertyKey$$6$$) {
  var $clientId$$354_storedProperties$$2$$ = this.$getComponent$().$getClientId$(), $value$$165$$;
  ($clientId$$354_storedProperties$$2$$ = $AdfPage$$.$PAGE$.$getPageProperty$($clientId$$354_storedProperties$$2$$)) && ($value$$165$$ = $clientId$$354_storedProperties$$2$$[$propertyKey$$6$$]);
  return $value$$165$$
};
$AdfDhtmlQueryPeer$$.prototype.$_setPageProperty$ = function $$AdfDhtmlQueryPeer$$$$$_setPageProperty$$($propertyKey$$7$$, $propertyValue$$14$$) {
  var $clientId$$355$$ = this.$getComponent$().$getClientId$(), $page$$161$$ = $AdfPage$$.$PAGE$, $storedProperties$$3$$ = $page$$161$$.$getPageProperty$($clientId$$355$$);
  $storedProperties$$3$$ || ($storedProperties$$3$$ = {}, $page$$161$$.$setPageProperty$($clientId$$355$$, $storedProperties$$3$$));
  $storedProperties$$3$$[$propertyKey$$7$$] = $propertyValue$$14$$
};
$AdfDhtmlQueryPeer$$.prototype.$_setAddFieldsVisibleItems$ = function $$AdfDhtmlQueryPeer$$$$$_setAddFieldsVisibleItems$$($component$$1414_descComponents$$2_menuComp_menuId$$3$$) {
  $component$$1414_descComponents$$2_menuComp_menuId$$3$$ = $component$$1414_descComponents$$2_menuComp_menuId$$3$$.$getClientId$() + $AdfDhtmlQueryPeer$$.$_NAMING_SEP$ + $AdfDhtmlQueryPeer$$.$_ADD_FIELDS_MENU_ID$;
  $component$$1414_descComponents$$2_menuComp_menuId$$3$$ = $AdfPage$$.$PAGE$.$findComponent$($component$$1414_descComponents$$2_menuComp_menuId$$3$$);
  if($component$$1414_descComponents$$2_menuComp_menuId$$3$$ != $JSCompiler_alias_NULL$$ && ($component$$1414_descComponents$$2_menuComp_menuId$$3$$.$getPeer$().$setVisibleItems$($AdfDhtmlQueryPeer$$.$_skinVisibileItems$), $component$$1414_descComponents$$2_menuComp_menuId$$3$$ = $component$$1414_descComponents$$2_menuComp_menuId$$3$$.$getDescendantComponents$())) {
    for(var $j$$35$$ = 0;$j$$35$$ < $component$$1414_descComponents$$2_menuComp_menuId$$3$$.length;$j$$35$$++) {
      var $childComp$$4$$ = $component$$1414_descComponents$$2_menuComp_menuId$$3$$[$j$$35$$], $childClientId$$13$$ = $childComp$$4$$.$getClientId$();
      $childClientId$$13$$ && 0 <= $childClientId$$13$$.indexOf($AdfDhtmlQueryPeer$$.$_ADD_FIELDS_GROUP_MENU_ID$) && $childComp$$4$$.$getPeer$().$setVisibleItems$($AdfDhtmlQueryPeer$$.$_skinVisibileItems$)
    }
  }
};
