'use strict';
import { defaultSidebarIconName } from '../../../fd-component-toolbox/icon/Icon.js';
import { isReadOnlyResource } from '../../../meta/resource-list/resource-list-checkers.js';
import { fetchUiResourceMeta } from '../../../meta/ui-meta-providers.js';

var __defProp=Object['defineProperty'],__name=(_0x46120c,_0x2f282b)=>__defProp(_0x46120c,'name',{'value':_0x2f282b,'configurable':!![]});async function initSearchResult(_0x13e7cf,_0x27a7bb,_0x26f989,_0x3047f7){const _0x5208ed=await fetchUiResourceMeta(_0x13e7cf);_0x27a7bb(_0x5208ed),_0x26f989(isReadOnlyResource(_0x5208ed['resourceMeta'])),_0x3047f7(_0x5208ed['resourceMeta']['icon']??defaultSidebarIconName);}__name(initSearchResult,'initSearchResult');

export { initSearchResult };
