'use strict';
import { metaQueryParams } from '../../../../fd-toolbox/constants/meta-query-params.js';
import { getUiResourceMeta, getUiResourceMetas } from './ui-metas.js';
import { apiOkResponse } from '../web/responses.js';

var __defProp=Object['defineProperty'],__name=(_0x13f287,_0x29f508)=>__defProp(_0x13f287,'name',{'value':_0x29f508,'configurable':!![]});async function uiMetaRoute(_0x30865c){const _0x1f38c0=new URL(_0x30865c['url'])['searchParams']['get'](metaQueryParams['resource']),_0xb7f1ab=await getUiResourceMeta(_0x1f38c0);return apiOkResponse(_0xb7f1ab);}__name(uiMetaRoute,'uiMetaRoute');async function uiMetasRoute(_0x49dcf1){const _0x5598fb=new URL(_0x49dcf1['url'])['searchParams']['getAll'](metaQueryParams['resource']),_0x181650=await getUiResourceMetas(_0x5598fb);return apiOkResponse(_0x181650);}__name(uiMetasRoute,'uiMetasRoute');

export { uiMetaRoute, uiMetasRoute };
