import{j as t,o as i,Q as c,cR as n}from"./index-ea7817a2.js";import{N as r}from"./NoData-8733f606.js";const l=({schema:e})=>{if(!e)return t.jsx(i,{py:"40px",children:t.jsx(r,{mainText:"No schema available"})});const s=JSON.parse(e),o=JSON.stringify(s.input_schema,null,2),a=JSON.stringify(s.output_schema,null,2);return t.jsxs(c,{flexDirection:"column",sx:{gap:"20px"},p:"20px",children:[t.jsx(n,{copyButton:!0,content:o,title:"Input schema",language:"json"}),t.jsx(n,{copyButton:!0,content:a,title:"Output schema",language:"json"})]})},m=({modelVersion:e,loading:s})=>({data:e,isLoading:s.effects.modelVersion.fetch});export{l as M,m as s};
