import{j as o,bf as e,aW as t,a as s,r as a,i,u as r,k as n,l,K as d,o as f,m as u,n as p,q as c,X as m,x as j}from"./vendor.686fd1d4.js";import"./index.d178f388.js";import{D as F,G as _,S as v}from"./siteSetting.136c2269.js";import{l as x,c as C,o as b,e as h}from"./index.ba319b32.js";import{a as w}from"./useContentViewHeight.ea74a0c1.js";import"./index.3aa234c4.js";import"./useWindowSizeFn.d82e06bf.js";import"./useFrameKeepAlive.265d6b2e.js";/* empty css              *//* empty css              */import"./useSortable.5cefd2fe.js";import"./lock.2f28a6a5.js";var g=o({name:"LayoutFooter",components:{Footer:e.Footer,GithubFilled:t},setup(){const{t:o}=h(),{getShowFooter:e}=x(),{currentRoute:t}=s(),{prefixCls:n}=C("layout-footer"),l=a(null),{setFooterHeight:d}=w();return{getShowLayoutFooter:i((()=>{var o,s;if(r(e)){const e=null==(o=r(l))?void 0:o.$el;d((null==e?void 0:e.offsetHeight)||0)}else d(0);return r(e)&&!(null==(s=r(t).meta)?void 0:s.hiddenFooter)})),prefixCls:n,t:o,DOC_URL:F,GITHUB_URL:_,SITE_URL:v,openWindow:b,footerRef:l}}});const L=j();n("data-v-138e5d67");const R=p("div",null,"Copyright ©2021 企业数智化",-1);l();const S=L(((o,e,t,s,a,i)=>{const r=d("GithubFilled"),n=d("Footer");return o.getShowLayoutFooter?(f(),u(n,{key:0,class:o.prefixCls,ref:"footerRef"},{default:L((()=>[p("div",{class:`${o.prefixCls}__links`},[p("a",{onClick:e[1]||(e[1]=e=>o.openWindow(o.SITE_URL))},c(o.t("layout.footer.onlinePreview")),1),p(r,{onClick:e[2]||(e[2]=e=>o.openWindow(o.GITHUB_URL)),class:`${o.prefixCls}__github`},null,8,["class"]),p("a",{onClick:e[3]||(e[3]=e=>o.openWindow(o.DOC_URL))},c(o.t("layout.footer.onlineDocument")),1)],2),R])),_:1},8,["class"])):m("",!0)}));g.render=S,g.__scopeId="data-v-138e5d67";export default g;
