'use strict';
import { resourceNames } from '../../fd-toolbox/resources/resource-names.js';
import { getToolbarSearchInputId, getToolbarSearchContextId } from '../../level2/fd-app-toolbox/search/Search.funcs.js';
import { getSearchResultContainerId } from '../../level2/fd-app-toolbox/search/search-dialog/SearchDialog.funcs.js';
import { getSearchResultTableId } from '../../level2/fd-app-toolbox/search/search-searchable-resource-results/SearchSearchableResourceResult.funcs.js';
import { getUiTester } from '../ui-tester/global-ui-test.js';

var __defProp=Object['defineProperty'],__name=(_0x5cd90d,_0x1d07e5)=>__defProp(_0x5cd90d,'name',{'value':_0x1d07e5,'configurable':!![]});async function searchPoSearch(_0x2df653){const _0x35970e=getUiTester();await _0x35970e['clearWithBackspacesAndSendKeys'](getToolbarSearchInputId(),_0x2df653),await _0x35970e['click'](getToolbarSearchInputId());}__name(searchPoSearch,'searchPoSearch');async function searchPoWaitForSearchResultTableToLoad(){const _0x626de8=getUiTester();await _0x626de8['waitForElementToLoad'](getSearchResultTableId(getToolbarSearchContextId(),resourceNames['contact']));}__name(searchPoWaitForSearchResultTableToLoad,'searchPoWaitForSearchResultTableToLoad');async function searchPoGetSearchResultTableContainers(){const _0x29990f=getUiTester();return _0x29990f['getChildElementWithinParent'](getSearchResultContainerId(getToolbarSearchContextId()),'>\x20*');}__name(searchPoGetSearchResultTableContainers,'searchPoGetSearchResultTableContainers');

export { searchPoGetSearchResultTableContainers, searchPoSearch, searchPoWaitForSearchResultTableToLoad };
