import{_ as f}from"./Navbar.vue_vue_type_script_setup_true_lang.a5460ff3.js";import{g as p}from"./api.782a61e2.js";import{a as _}from"./asyncComputed.f88a4b94.js";import{W as y}from"./WidgetsFrame.3f0d0df1.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.74ac2ec4.js";import"./index.baf3b153.js";import"./pubsub.6d093b2e.js";import"./Text.039f7ef4.js";import"./Base.bd01be9c.js";import"./index.f9f6af39.js";import"./Link.81322bd7.js";import"./Paragraph.d67398fc.js";import"./Title.e4bf994e.js";import"./index.f7c43892.js";import"./runnerData.ae84c16f.js";import"./url.c37f3fbe.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]="2418699e-e686-458b-a83a-01e7e1bf6b1a",o._sentryDebugIdIdentifier="sentry-dbid-2418699e-e686-458b-a83a-01e7e1bf6b1a")}catch{}})();const k={class:"error"},I={class:"inner-content"},x=b({__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(y,{key:0,"main-color":t(e).mainColor,theme:t(e).theme,"font-family":t(e).fontFamily,style:{height:"100vh"}},{default:v(()=>{var m,c;return[t(e)?(n(),l(f,{key:0,"brand-name":((m=t(e))==null?void 0:m.brandName)||((c=t(e))==null?void 0:c.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.9d2ad7dc.js.map
