import{P as u}from"./PlayerNavbar.b1da2da4.js";import{g as f}from"./api.5110fa43.js";import{a as l}from"./asyncComputed.5830bf45.js";import{W as p}from"./WidgetsFrame.3e97e45c.js";import{d as _,eB as y,b as n,eu as g,e as s,u as t,c,ew as d,w as h,eE as m,v as b}from"./outputWidgets.b1e87772.js";import"./PhKanban.vue.bc69160c.js";import"./index.d1bb5a49.js";import"./pubsub.8b7604ff.js";import"./repository.30fae8fa.js";import"./Text.a2ac66f5.js";import"./index.59f1c507.js";import"./Link.d93fe6d3.js";import"./Paragraph.72ff08f3.js";import"./Title.87ff1f7b.js";import"./index.56c26672.js";import"./runnerData.95ea1f30.js";import"./url.105c4f84.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new I().stack;o&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[o]="670ff698-89cd-40ac-8852-bbf3a7d8e0d5",r._sentryDebugIdIdentifier="sentry-dbid-670ff698-89cd-40ac-8852-bbf3a7d8e0d5")}catch{}})();const w={class:"error"},v={class:"inner-content"},k=_({__name:"Error",setup(r){const o=y(),{result:e}=l(f),i=()=>{const{status:a}=o.params;switch(a){case"404":return{status:a,message:"Page not found."};case"403":return{status:a,message:"Access denied. Please contact your administrator."};default:return{status:"500",message:"An unknown error ocurred. Please try again or contact support."}}};return(a,D)=>(n(),g("div",null,[s("div",w,[t(e)?(n(),c(u,{key:0,"runner-data":t(e)},null,8,["runner-data"])):d("",!0),t(e)?(n(),c(p,{key:1,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh",width:"100%"}},{default:h(()=>[s("div",v,[s("h1",null,m(i().status),1),s("p",null,m(i().message),1)])]),_:1},8,["main-color","theme","font-family"])):d("",!0)])]))}});const I=b(k,[["__scopeId","data-v-15f294c9"]]);export{I as default};
//# sourceMappingURL=Error.a111c6f8.js.map
