import{e as o,j as a}from"./index-B3TsnAiv.js";import{C as r}from"./chat-CdJpwiky.js";import"./index-C5pqq8p4.js";import"./chat-header-KHbMuBui.js";import"./sidebar-toggle-D8wRPeaZ.js";const s="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let i=(n=21)=>{let t="",e=crypto.getRandomValues(new Uint8Array(n|=0));for(;n--;)t+=s[e[n]&63];return t};const c=function(){const{agent:t}=o.useLoaderData();return!t||!t.data?null:a.jsx(r,{agentId:t.data.id,sessionId:i(10),newSession:!0,initialEvents:[],isReadonly:!1})};export{c as component};
