var c=(i,u,e)=>new Promise((o,t)=>{var s=a=>{try{l(e.next(a))}catch(n){t(n)}},r=a=>{try{l(e.throw(a))}catch(n){t(n)}},l=a=>a.done?o(a.value):Promise.resolve(a.value).then(s,r);l((e=e.apply(i,u)).next())});import{T as m,e as h,q as x,R as _,V as p,o as d,a3 as f}from"./CJ_qDYLC.js";import"./DK9GHKel.js";import"./DCQ3QdjI.js";const R=m((i,u)=>c(void 0,null,function*(){let e,o;const{params:t}=i,s=h(),r=x().$i18n.locale.value;if(t.id&&typeof t.id=="string"){if(!_.includes(t.id))return[e,o]=p(()=>d({path:s("/error/404")},{replace:!0})),e=yield e,o(),e;if(f[t.id]&&!f[t.id].lang.includes(r))return[e,o]=p(()=>d({path:s("/")},{replace:!0})),e=yield e,o(),e}}));export{R as default};