import"../chunks/DsnmJJEf.js";import{p as u,b as o,t as l,a as t,d as c,e as h,s as d,r as _,n}from"../chunks/7RXv2Ffc.js";import{i as b}from"../chunks/DWNFN-wC.js";import{s as g}from"../chunks/jhzyai53.js";import{p as x}from"../chunks/BM20Gdpf.js";import{r as E}from"../chunks/CWK6jQzJ.js";var I=o("<h1>Erreur 404</h1> <h2>Pas de GRAIN, juste un pépin.</h2>",1),N=o("<h1>Erreur Interne</h1> <h2>C'est pas vous, c'est nous.</h2>",1),R=o(`<div class="container-md"><!> <a class="mt-3 btn btn-sm btn-outline-primary text-decoration-none">Retourner à l'accueil</a></div>`);function G(i,m){u(m,!0);var a=R(),s=h(a);{var p=r=>{var e=I();n(2),t(r,e)},f=r=>{var e=N();n(2),t(r,e)};b(s,r=>{x.error?.message=="Not Found"?r(p):r(f,!1)})}var v=d(s,2);_(a),l(r=>g(v,"href",r),[()=>E("/grain",{})]),t(i,a),c()}export{G as component};
