'use strict';
import { setCache, getCache } from '../../../fd-toolbox/cache/cache.js';
import { cacheKeys } from '../../../fd-toolbox/constants/cache-keys.js';

var __defProp=Object['defineProperty'],__name=(_0x8661a0,_0x49624f)=>__defProp(_0x8661a0,'name',{'value':_0x49624f,'configurable':!![]});function getResourceMetaId(_0x2919bd){const _0x86fe9d=getResourceNameToIds();return _0x86fe9d[_0x2919bd];}__name(getResourceMetaId,'getResourceMetaId');function saveResourceMetaIdToCache(_0x157860,_0x150bbf){const _0x485780=getResourceNameToIds();_0x485780[_0x157860]=_0x150bbf,setCache({'key':cacheKeys['resourceNameToIds'],'data':_0x485780,'isGlobal':!![]});}__name(saveResourceMetaIdToCache,'saveResourceMetaIdToCache');function getResourceNameToIds(){const _0x1fedd0=getCache({'key':cacheKeys['resourceNameToIds'],'isGlobal':!![]})??{};return _0x1fedd0;}__name(getResourceNameToIds,'getResourceNameToIds');

export { getResourceMetaId, saveResourceMetaIdToCache };
