import{_ as y,d as k,y as v,R as C,z as w,G as D,o as a,c as f,f as B,w as d,L as N,h as s,t as S,b as g,a as j,j as E,i as G}from"./entry-d195bacb.mjs";const R=k({name:"DocsPageBottom",setup(b,{expose:r}){r();const t=v(),e=C();t!=null&&t.github&&(e.value=w("EditOnGithub"));const{page:c,theme:i}=D(),n={config:t,githubComponent:e,page:c,theme:i};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),V={key:0,class:"text-secondary mt-8 flex flex-row justify-between text-sm"},I=j("span",null,"Edit on GitHub",-1),L={key:1,class:"flex items-center"};function O(b,r,t,e,c,i){var _,m,l,p,u,h;const n=E,x=G;return e.page?(a(),f("div",V,[((_=e.config)==null?void 0:_.github)&&((m=e.theme)==null?void 0:m.github)&&((p=(l=e.theme)==null?void 0:l.github)==null?void 0:p.edit)?(a(),B(N(e.githubComponent),{key:0,"content-dir":(h=(u=e.theme)==null?void 0:u.github)==null?void 0:h.root,page:e.page},{default:d(o=>[g(x,{href:o==null?void 0:o.url,target:"_blank",rel:"noopener",class:"flex items-center transition-colors hover:text-primary-hover transition-base"},{default:d(()=>[g(n,{name:"heroicons-outline:pencil-alt",class:"w-6 h-6 mr-1"}),I]),_:2},1032,["href"])]),_:1},8,["content-dir","page"])):s("",!0),e.page.mtime?(a(),f("span",L,"Updated on: "+S(new Intl.DateTimeFormat("en-US").format(Date.parse(e.page.mtime))),1)):s("",!0)])):s("",!0)}var U=y(R,[["render",O]]);export{U as default};
