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