import{Layout as b}from"ant-design-vue";import{D as _,G as F,S as y}from"./siteSetting.c485f07c.js";import{m as g,ad as C,_ as S,d as w,b as G,aN as L,ao as $,a as O,r as R,e as I,j as i,X as U,P as m,o as D,i as P,s as k,h as l,n as p,t as h,k as B,cn as j,co as H}from"./index.600742c0.js";import{a as N}from"./useContentViewHeight.9a5e8928.js";import"./useWindowSizeFn.e4cb8bac.js";var A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"filled"},T=A;function v(e){for(var t=1;t{var s,a;if(i(t)){const d=(s=i(r))==null?void 0:s.$el;u((d==null?void 0:d.offsetHeight)||0)}else u(0);return i(t)&&!((a=i(o).meta)!=null&&a.hiddenFooter)}),prefixCls:n,t:e,DOC_URL:_,GITHUB_URL:F,SITE_URL:y,openWindow:U,footerRef:r}}}),E=e=>(j("data-v-59292e9a"),e=e(),H(),e),x=E(()=>l("div",null,"Copyright \xA92020 Admin ",-1));function M(e,t,o,n,r,u){const f=m("GithubFilled"),s=m("Footer");return e.getShowLayoutFooter?(D(),P(s,{key:0,class:p(e.prefixCls),ref:"footerRef"},{default:k(()=>[l("div",{class:p(`${e.prefixCls}__links`)},[l("a",{onClick:t[0]||(t[0]=a=>e.openWindow(e.SITE_URL))},h(e.t("layout.footer.onlinePreview")),1),g(f,{onClick:t[1]||(t[1]=a=>e.openWindow(e.GITHUB_URL)),class:p(`${e.prefixCls}__github`)},null,8,["class"]),l("a",{onClick:t[2]||(t[2]=a=>e.openWindow(e.DOC_URL))},h(e.t("layout.footer.onlineDocument")),1)],2),x]),_:1},8,["class"])):B("",!0)}var Z=S(z,[["render",M],["__scopeId","data-v-59292e9a"]]);export{Z as default};