import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.1be1cc2d.js";import{g as p}from"./api.459d48d1.js";import{a as _}from"./asyncComputed.1a148b8f.js";import{W as y}from"./WidgetsFrame.5af69925.js";import{d as g,eB as b,b as n,ev as h,e as s,u as t,c as m,w as v,ex as l,eD as u,v as w}from"./outputWidgets.dd3997b1.js";import"./index.2700bee1.js";import"./pubsub.7e2ca77e.js";import"./index.d9e12b81.js";import"./ArrowRightOutlined.08fa31dd.js";import"./Base.20fd4dfc.js";import"./Typography.c4837fd7.js";import"./Text.6383284e.js";import"./runnerData.f27a42d3.js";import"./url.71144004.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]="7b0c9a7c-ca6a-41a8-9e7f-951d1973dd1f",o._sentryDebugIdIdentifier="sentry-dbid-7b0c9a7c-ca6a-41a8-9e7f-951d1973dd1f")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=g({__name:"Error",setup(o){const r=b(),{result:e}=_(p),c=()=>{const{status:a}=r.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,B)=>(n(),h("div",null,[s("div",k,[t(e)?(n(),m(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var i,d;return[t(e)?(n(),m(f,{key:0,"brand-name":((i=t(e))==null?void 0:i.brandName)||((d=t(e))==null?void 0:d.name),"logo-url":t(e).logoUrl},null,8,["brand-name","logo-url"])):l("",!0),s("div",I,[s("h1",null,u(c().status),1),s("p",null,u(c().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.c4252107.js.map
