import{p as $,a as x}from"./header.0c1d27ed.js";import{u as b}from"./api.160776dd.js";import{a as k,W as w,X as C,m as I,s as N,e as g,Y as v,r as o,o as i,Z as r,$ as e,a0 as u,a1 as h,a2 as n,a3 as y,a4 as f,a5 as D}from"./entry.e097670d.js";import"./nuxt-link.1a4e25e4.js";const E=k({components:{Countdown:w,NavigationComponents:C},setup(){const s=I(),{loggedIn:d,accessTokenExpireDate:a,realmManagement:_}=N(s),l=g(()=>a.value?a.value.getTime()-Date.now():0),p=g(()=>{const t=b();return new URL("docs/",t.config.baseURL).href});return{loggedIn:d,tokenExpiresIn:l,docsUrl:p,realmManagement:_}}}),T={class:"page-sidebar"},S={key:0,class:"sidebar-header"},U={class:"text-center"},V={class:"mt-auto"},A={key:0,class:"font-weight-light d-flex flex-column ms-3 me-3 mb-1 mt-auto"},B={class:"text-muted"},M=e("i",{class:"fa fa-clock pr-1"},null,-1),R={class:"text-success"},L={class:"sidebar-menu nav-items navbar-nav"},P={class:"nav-item"},F=["href"],H=e("i",{class:"fa fa-file"},null,-1),W=e("span",{class:"nav-link-text"},"API Docs",-1);function X(s,d,a,_,l,p){const t=o("navigation-components"),m=o("countdown");return i(),r("div",null,[e("div",T,[s.realmManagement?(i(),r("div",S,[e("div",U,u(s.realmManagement.name),1)])):h("",!0),n(t,{class:"sidebar-menu navbar-nav",tier:1}),e("div",V,[s.loggedIn?(i(),r("div",A,[e("small",B,[n(m,{time:s.tokenExpiresIn},{default:y(c=>[M,f(" The session expires in "),e("span",R,u(c.minutes)+" minute(s), "+u(c.seconds)+" second(s)",1),f(". ")]),_:1},8,["time"])])])):h("",!0),e("ul",L,[e("li",P,[e("a",{class:"nav-link",href:s.docsUrl,target:"_blank"},[H,f(),W],8,F)])])])])])}const Y=v(E,[["render",X]]);const Z={components:{pageHeader:$,pageFooter:x,pageSidebar:Y}},j={id:"app"},q={class:"page-wrapper"},z={class:"page-content"};function G(s,d,a,_,l,p){const t=o("page-header"),m=o("page-sidebar"),c=o("page-footer");return i(),r("div",j,[n(t),e("div",q,[n(m),e("div",z,[D(s.$slots,"default")])]),n(c)])}const ee=v(Z,[["render",G]]);export{ee as default};
