import{o as c,p as i,q as n,r as s}from"/admin/build/_shared/chunk-23T7FBRJ.js";import{n as l,y as e}from"/admin/build/_shared/chunk-A7Z7N7I3.js";import{d as o}from"/admin/build/_shared/chunk-VGRMLH5W.js";var t=o(e()),u=()=>{var a;let r=l();return(0,t.jsxs)(c,{colorScheme:"red",children:[(0,t.jsx)(n,{}),(0,t.jsx)(s,{children:"Error"}),(0,t.jsxs)(i,{children:[r.status," ",(a=r.data)!=null?a:r.statusText]})]})};var p=o(e()),h=({error:r})=>(console.error(r),(0,p.jsxs)(c,{variant:"outline",color:"red",title:"Error",children:["An error occurred: ",r.message]}));export{u as a,h as b};
