import{d as l,eG as _,eM as p,b as d,ey as m,f as i,w as s,u as a,c as y,eA as b,au as n,eJ as c,bI as g,E as h}from"./outputWidgets.7323a17d.js";import{A as w}from"./Title.88a7d0e4.js";import{a as k}from"./Base.003f7172.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new x().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f0d368-64bb-4b62-9ccc-99c11b5f6f5c",e._sentryDebugIdIdentifier="sentry-dbid-b1f0d368-64bb-4b62-9ccc-99c11b5f6f5c")}catch{}})();const I={class:"inner-content"},v=l({__name:"Error",setup(e){const t=_(),u=p(),o=()=>{const{status:r}=t.params;switch(r){case"404":return{status:r,title:"Page not found",message:"We couldn't find the page you were looking for."};case"403":return{status:r,title:"Access denied",message:"You tried to access a page you did not have prior authorization for. Please contact your administrator.",action:"Go back to home"};default:return{status:"500",title:"Internal server error",message:"An unknown error ocurred. Please try again or contact support."}}},f=()=>{u.push({name:"playerHome"})};return(r,A)=>(d(),m("div",I,[i(a(w),null,{default:s(()=>[n(c(o().title),1)]),_:1}),i(a(k),{class:"message"},{default:s(()=>[n(c(o().message),1)]),_:1}),o().action?(d(),y(a(g),{key:0,type:"primary",onClick:f},{default:s(()=>[n(c(o().action),1)]),_:1})):b("",!0)]))}});const x=h(v,[["__scopeId","data-v-c0d26e3f"]]);export{x as default};
//# sourceMappingURL=Error.1c0be6f0.js.map
