import{S as u,i as f,s as l,j as m,m as c,o as d,x as g,u as p,v as _,a5 as $}from"./vendor-cb8fe21e.js";import{E as v}from"./editor-045a54b8.js";function j(o){let t,n;return t=new v({props:{language:"json",isReadonly:!0,value:o[1](o[0])}}),{c(){m(t.$$.fragment)},l(e){c(t.$$.fragment,e)},m(e,s){d(t,e,s),n=!0},p(e,[s]){const r={};s&1&&(r.value=e[1](e[0])),t.$set(r)},i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){p(t.$$.fragment,e),n=!1},d(e){_(t,e)}}}function E(o,t,n){let{error:e}=t;function s(r){if(!r)return"";let a=`${r.message}`,i=$(r,"response.data.details");return i&&(a+=`
${JSON.stringify(i,null,2)}
`),a}return o.$$set=r=>{"error"in r&&n(0,e=r.error)},[e,s]}class b extends u{constructor(t){super();f(this,t,E,j,l,{error:0})}}export{b as E};
