'use strict';
import { c } from 'react/compiler-runtime';
import { useGlobalConfig } from '../providers/global-provider/GlobalContext.js';
import { getMultilistResourceListConfig } from './resource-list-configs.js';

var __defProp=Object['defineProperty'],__name=(_0x4ab4b5,_0x42b1f6)=>__defProp(_0x4ab4b5,'name',{'value':_0x42b1f6,'configurable':!![]});function useResourceListConfig(_0x224f74,_0x51175a){const _0x164f78=c(0x115e+-0x2d7*-0x5+-0x1f8f),{globalConfig:_0x5aa766}=useGlobalConfig();if(_0x51175a)return _0x51175a;let _0x447a27;_0x164f78[-0x1d3a+-0x9c5+0x26ff]!==_0x224f74?(_0x447a27=getMultilistResourceListConfig(_0x224f74),_0x164f78[-0x4aa+-0x655+0x1*0xaff]=_0x224f74,_0x164f78[0x11af+-0xa4d*0x3+0xd39*0x1]=_0x447a27):_0x447a27=_0x164f78[-0x22bb+0x11a*-0x6+0x4*0xa56];const _0x364fef=_0x447a27;if(!_0x224f74)return _0x364fef;const _0x5bdec2=_0x5aa766['resourceListConfigs']?.[_0x224f74];return _0x5bdec2??_0x364fef;}__name(useResourceListConfig,'useResourceListConfig');

export { useResourceListConfig };
