import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.8866173e.js";import{g as p}from"./api.33c4c65f.js";import{a as _}from"./asyncComputed.1b0ebb2f.js";import{W as y}from"./WidgetsFrame.1041d350.js";import{d as g,eB as b,b as n,ev as h,e as a,u as t,c,w as v,ex as l,eD as u,v as w}from"./outputWidgets.37f6afb9.js";import"./index.a11c83ad.js";import"./pubsub.6ac68cf0.js";import"./Text.9798d4a1.js";import"./Base.067483d1.js";import"./Typography.1a6183ac.js";import"./index.889622fb.js";import"./Link.1fba9881.js";import"./Paragraph.c5c6929c.js";import"./Title.c307da82.js";import"./index.a7a488c7.js";import"./ArrowRightOutlined.08fa31dd.js";import"./runnerData.e309a389.js";import"./url.47579a16.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]="2e4ec1fb-d396-4ef2-96de-d6338ab9dd1a",o._sentryDebugIdIdentifier="sentry-dbid-2e4ec1fb-d396-4ef2-96de-d6338ab9dd1a")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=g({__name:"Error",setup(o){const r=b(),{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(),c(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var d,m;return[t(e)?(n(),c(f,{key:0,"brand-name":((d=t(e))==null?void 0:d.brandName)||((m=t(e))==null?void 0:m.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!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"])):l("",!0)])]))}});const D=w(x,[["__scopeId","data-v-befb94cf"]]);export{D as default};
//# sourceMappingURL=Error.c4f2b1ef.js.map
