import{c,u as m,a as e,o as s,b as a,d as i,t as o,e as d,f as n,n as p,C as u}from"./entry.5770c3b3.js";const _={class:"rk-mb-5 rk-font-bold rk-text-9xl error__code"},h={class:"rk-mb-5 rk-text-2xl error__title"},g={key:0,href:"https://app.checklyhq.com/new-billing",class:"rk-underline rk-text-v2-blue-600"},f={key:0,class:"rk-text-lg error__message"},x={__name:"error",props:{error:Object},setup(t){const k=t,r=c(()=>Number(k.error.statusCode)),l=c(()=>r.value===404?"Oops! Page not found 🔍":r.value===403?"Private dashboards are only available on paid plans. Remove password protection or ":"Oops! Something went wrong 🛠");return m({htmlAttrs:{lang:"en"},title:`${l.value} - Checkly`,link:[{rel:"icon",type:"image/png",href:"https://www.checklyhq.com/images/racoon_favicon.png"}]}),(b,y)=>e(r)>401?(s(),a("div",{key:0,class:p(["rk-flex rk-flex-col rk-items-center rk-ml-auto rk-mr-auto rk-py-28 rk-text-v2-dark-gray-400",e(r)===404?e(u).ERROR_404:e(u).ERROR_500])},[i("h1",_,o(e(r)),1),i("p",h,[d(o(e(l))+" ",1),e(r)===403?(s(),a("a",g,"upgrade here.")):n("",!0)]),t.error.statusMessage?(s(),a("p",f,o(t.error.statusMessage),1)):n("",!0)],2)):n("",!0)}},C=x;export{C as default};
