import{_ as p}from"./Navbar.vue_vue_type_script_setup_true_lang.3c340704.js";import{g as f}from"./api.be2c2269.js";import{a as _}from"./asyncComputed.1cc21e38.js";import{W as y}from"./WidgetsFrame.93a10971.js";import{d as b,eB as g,b as n,ev as h,e as a,u as t,c as l,w as v,ex as u,eD as d,v as w}from"./outputWidgets.a3cf86d4.js";import"./index.434a1aa9.js";import"./pubsub.f3afa6c4.js";import"./Text.c33f164a.js";import"./Base.438220fe.js";import"./Typography.2d337449.js";import"./index.da726cd2.js";import"./Link.61dd5f03.js";import"./Paragraph.d0378343.js";import"./Title.abc37adf.js";import"./index.af89eb75.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.678131e4.js";import"./url.eef7d5cb.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new D().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="6c6799c8-aab5-4eb1-b88f-90013454097a",o._sentryDebugIdIdentifier="sentry-dbid-6c6799c8-aab5-4eb1-b88f-90013454097a")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=b({__name:"Error",setup(o){const r=g(),{result:e}=_(f),i=()=>{const{status:s}=r.params;switch(s){case"404":return{status:s,message:"Page not found."};case"403":return{status:s,message:"Access denied. Please contact your administrator."};default:return{status:"500",message:"An unknown error ocurred. Please try again or contact support."}}};return(s,B)=>(n(),h("div",null,[a("div",k,[t(e)?(n(),l(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var c,m;return[t(e)?(n(),l(p,{key:0,"brand-name":((c=t(e))==null?void 0:c.brandName)||((m=t(e))==null?void 0:m.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):u("",!0),a("div",I,[a("h1",null,d(i().status),1),a("p",null,d(i().message),1)])]}),_:1},8,["main-color","theme","font-family"])):u("",!0)])]))}});const D=w(x,[["__scopeId","data-v-befb94cf"]]);export{D as default};
//# sourceMappingURL=Error.ac2360f4.js.map
