import{c as x,S,i as j,s as k,e as f,t as h,a as q,b as d,d as v,f as g,g as m,h as y,j as _,k as b,l as E,n as $,m as C}from"../chunks/Component.oMAkYZ07.js";import"../chunks/index.IHki7fMi.js";import{p as H}from"../chunks/stores.DrXO0PWB.js";function P(l){var u;let t,s=l[0].status+"",r,n,o,p=((u=l[0].error)==null?void 0:u.message)+"",c;return{c(){t=f("h1"),r=h(s),n=q(),o=f("p"),c=h(p)},l(e){t=d(e,"H1",{});var a=v(t);r=g(a,s),a.forEach(m),n=y(e),o=d(e,"P",{});var i=v(o);c=g(i,p),i.forEach(m)},m(e,a){_(e,t,a),b(t,r),_(e,n,a),_(e,o,a),b(o,c)},p(e,[a]){var i;a&1&&s!==(s=e[0].status+"")&&E(r,s),a&1&&p!==(p=((i=e[0].error)==null?void 0:i.message)+"")&&E(c,p)},i:$,o:$,d(e){e&&(m(t),m(n),m(o))}}}function w(l,t,s){let r;return C(l,H,n=>s(0,r=n)),[r]}class z extends S{constructor(t){super(),j(this,t,w,P,k,{})}}x(z,{},[],[],!0);export{z as component};