import{f as v,aK as P,aL as b,y as k,z as w,l as f,_ as x,r as o,o as r,c as i,a as e,t as u,Y as h,b as t,w as C,d as g,A as N}from"./entry.78b0ee06.js";import{p as I,a as T}from"./footer.27272caf.js";import{u as y}from"./api.3109621b.js";import"./nuxt-link.7a09a473.js";const D=v({components:{Countdown:P,NavigationComponents:b},setup(){const s=k(),{loggedIn:d,accessTokenExpireDate:a,realmManagement:_}=w(s),l=f(()=>a.value?a.value.getTime()-Date.now():0),m=f(()=>{const n=y();return new URL("docs/",n.getBaseURL()).href});return{loggedIn:d,tokenExpiresIn:l,docsUrl:m,realmManagement:_}}},"$uKgLM6mddT"),E={class:"page-sidebar"},M={key:0,class:"sidebar-header"},S={class:"text-center"},A={class:"mt-auto"},B={key:0,class:"font-weight-light d-flex flex-column ms-3 me-3 mb-1 mt-auto"},F=e("i",{class:"fa fa-clock pr-1"},null,-1),H={class:"text-success"},L={class:"sidebar-menu nav-items navbar-nav"},U={class:"nav-item"},V=["href"],R=e("i",{class:"fa fa-file"},null,-1),K=e("span",{class:"nav-link-text"},"API Docs",-1);function Y(s,d,a,_,l,m){const n=o("navigation-components"),p=o("Countdown");return r(),i("div",null,[e("div",E,[s.realmManagement?(r(),i("div",M,[e("div",S,u(s.realmManagement.name),1)])):h("",!0),t(n,{class:"sidebar-menu navbar-nav",tier:1}),e("div",A,[s.loggedIn?(r(),i("div",B,[e("small",null,[t(p,{time:s.tokenExpiresIn},{default:C(c=>[F,g(" The session expires in "),e("span",H,u(c.minutes)+" minute(s), "+u(c.seconds)+" second(s)",1),g(". ")]),_:1},8,["time"])])])):h("",!0),e("ul",L,[e("li",U,[e("a",{class:"nav-link",href:s.docsUrl,target:"_blank"},[R,g(),K],8,V)])])])])])}const z=x(D,[["render",Y]]),j=v({components:{PageHeader:I,PageSidebar:z,PageFooter:T}},"$NdMIYxTP3w");const q={id:"app"},G={class:"page-wrapper"},J={class:"page-content"};function O(s,d,a,_,l,m){const n=o("PageHeader"),p=o("PageSidebar"),c=N,$=o("PageFooter");return r(),i("div",q,[t(n),e("div",G,[t(p),e("div",J,[t(c)])]),t($)])}const ee=x(j,[["render",O]]);export{ee as default};
