import{u as a,j as t}from"./vendor-ClLR6ncd.js";import{L as s}from"./index-OtVJl4GC.js";import{E as e}from"./Messages-BRmQDxrZ.js";import{C as n}from"./CreateOrUpdateChatBot-Df39A3lK.js";import{a as f}from"./model-B1_e74fU.js";import"./lodash-ZyeDnt0e.js";import"./index-BpKmttxq.js";import"./model-mC-LLJuv.js";import"./NumberInput-DP8_DN2w.js";import"./index-PJ52zw2m.js";import"./model-C9Idzwgo.js";import"./model-DAvH-x8m.js";import"./model-BneMh0-t.js";import"./model-DgFcCvKB.js";import"./ui-DG_5mJZa.js";import"./SmallStandardSelect-7k6-Wr8Q.js";import"./MenuItem-CCerWMyq.js";import"./dividerClasses-DvO85-mA.js";import"./Visibility-DBeRDmOx.js";import"./InputAdornment-CFoDSQyQ.js";import"./model-CvVGVe3F.js";import"./Autocomplete-Cjt7Q9VV.js";import"./Chip-DoCs8Smb.js";import"./AccordionDetails-Bqc4B-Ut.js";import"./model-Cx9iH8L7.js";import"./model-Dfrorm_S.js";import"./highlightSearch-BTHB3jgf.js";import"./WithMeasure-BDk9QPMF.js";import"./TableRow-CGDSOtFZ.js";import"./TableSortLabel-BJFq2axQ.js";import"./Box-Co2WcNPC.js";import"./TypographyWithTooltip-BFAG3Va9.js";import"./Link-BLwKPJFF.js";function K(){const i=a(),{chatBotName:o}=i,r=f();if(r.isLoading)return t.jsx(s,{});if(r.isError)return t.jsx(e,{error:r.error});const m=r.data.chatBots.find(p=>p.id===o);return t.jsx(n,{id:o,...m})}export{K as default};
