import{u as m,j as o}from"./vendor-ClLR6ncd.js";import{j as p,L as s}from"./index-OtVJl4GC.js";import{E as a}from"./Messages-BRmQDxrZ.js";import{b as n}from"./configs-CU7rYFSb.js";import{C as x}from"./ui-BKtdMURA.js";import"./lodash-ZyeDnt0e.js";import"./Add-CLrXAvOx.js";import"./MultipleSelectWithCheckboxes-BT7l66Wa.js";import"./MenuItem-CCerWMyq.js";import"./dividerClasses-DvO85-mA.js";import"./RadioButtons-DZChRzLE.js";import"./inputsContext-DcO_XRZd.js";import"./ui-DKzyPIqx.js";import"./useNamespaces-B-2wwTCG.js";import"./model-DgFcCvKB.js";import"./WithMeasure-BDk9QPMF.js";import"./model-Dfrorm_S.js";import"./highlightSearch-BTHB3jgf.js";import"./TableRow-CGDSOtFZ.js";import"./TableSortLabel-BJFq2axQ.js";import"./Box-Co2WcNPC.js";import"./TypographyWithTooltip-BFAG3Va9.js";import"./Link-BLwKPJFF.js";import"./Autocomplete-Cjt7Q9VV.js";import"./Chip-DoCs8Smb.js";import"./AutocompleteWithTags-rRAQfDgs.js";import"./index-BpKmttxq.js";import"./model-mC-LLJuv.js";import"./CheckboxWithLabel-D5KtBcIx.js";import"./index-P0l3Ayr4.js";import"./Divider-DZzUGEvZ.js";function D(){const{indexName:t}=m(),{queryKey:e,queryFn:i}=n()(t),r=p(e,i);return r.isLoading?o.jsx(s,{}):r.isError?o.jsx(a,{error:r.error}):o.jsx(x,{name:t,...r.data})}export{D as default};
