import{_ as d}from"./Navbar.vue_vue_type_script_setup_true_lang.5e7db0d0.js";import{g as p}from"./api.c7af8111.js";import{a as _}from"./asyncComputed.27df476d.js";import{W as b}from"./WidgetsFrame.4401e6d3.js";import{d as y,eB as g,b as n,ev as h,e as a,u as t,c as l,w as v,ex as f,eD as u,v as w}from"./outputWidgets.0d6c71c4.js";import"./index.eb90d708.js";import"./pubsub.a3cc160d.js";import"./Text.5f5581ee.js";import"./Base.027fcad1.js";import"./Typography.a1d2ddc8.js";import"./index.29ca308b.js";import"./Link.e223ba21.js";import"./Paragraph.fa27bd72.js";import"./Title.773b1396.js";import"./index.376aa484.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.87fb3f80.js";import"./url.54f51be3.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]="95f07f2b-be20-4255-be73-87fccbf11e03",o._sentryDebugIdIdentifier="sentry-dbid-95f07f2b-be20-4255-be73-87fccbf11e03")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=y({__name:"Error",setup(o){const r=g(),{result:e}=_(p),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(b,{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(d,{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"])):f("",!0),a("div",I,[a("h1",null,u(i().status),1),a("p",null,u(i().message),1)])]}),_:1},8,["main-color","theme","font-family"])):f("",!0)])]))}});const D=w(x,[["__scopeId","data-v-befb94cf"]]);export{D as default};
//# sourceMappingURL=Error.01625e5b.js.map
