import{Q as q}from"./QImg-a_u7l0UL.js";import{a5 as y,s as Q,u as k,a as w,j as I,e as c,h as a,f as e,w as s,O as B,C,g as t,t as i,z as S,b as _,H as f,q as h,n,Q as v,aa as g,l as b,b5 as D,D as N,G as P,W as V}from"./index-OSKNspXo.js";import{I as j}from"./404-MPDpdnPC.js";const z={class:"container-fluid deenova_container"},G={class:"row justify-center items-center",style:{height:"100%"}},H={class:"col-lg-5 col-md-7"},M={class:"q-mx-md q-mt-md"},T={class:"text-h5 q-mb-md text-weight-bold"},E={class:"text-right"},F={__name:"server_not_reachable",setup(L){const p=y(),{errorHandlingProps:r}=Q(p),{t:l}=k(),o=w(!1);async function x(){await V.push({path:r.value.requestPath})}return(O,d)=>(c(),I("div",z,[a("div",G,[a("div",H,[e(P,{class:"q-pa-md"},{default:s(()=>[e(B,{class:"text-center"},{default:s(()=>{var u,m;return[a("div",M,[e(q,{src:t(j),style:{"max-height":"30vh"},class:"q-mb-md",fit:""},null,8,["src"]),a("div",T,i(t(l)("ui.server.offline.text")),1),a("div",E,[e(S,{flat:"",dense:"",size:"sm",color:"grey-7",label:o.value?t(l)("ui.less_info"):t(l)("ui.more_info"),onClick:d[0]||(d[0]=R=>o.value=!o.value)},null,8,["label"])]),C(a("div",null,[(u=t(r))!=null&&u.errorMessage?(c(),_(h,{key:0,class:"bg-negative-1 rounded-borders q-mb-sm"},{default:s(()=>[e(n,{avatar:""},{default:s(()=>[e(v,{name:"error",color:"negative"})]),_:1}),e(n,null,{default:s(()=>[e(g,{class:"text-negative"},{default:s(()=>[b(i(t(r).errorMessage),1)]),_:1})]),_:1})]),_:1})):f("",!0),(m=t(r))!=null&&m.requestPath?(c(),_(h,{key:1,class:"bg-grey-2 rounded-borders q-mb-md"},{default:s(()=>[e(n,{avatar:""},{default:s(()=>[e(v,{name:"link",color:"grey-7"})]),_:1}),e(n,null,{default:s(()=>[e(g,{class:"text-grey-7"},{default:s(()=>[b(i(t(r).requestPath),1)]),_:1})]),_:1})]),_:1})):f("",!0)],512),[[D,o.value]]),e(N,{label:t(l)("ui.refresh"),icon:"refresh",click:x,class:"q-mt-md"},null,8,["label"])])]}),_:1})]),_:1})])])]))}};export{F as default};
//# sourceMappingURL=server_not_reachable-BhUUSkWV.js.map
