| 1 |
- import{D as h,G as v,S as F}from"./siteSetting-fa1b8965.js";import{g as b,A as _,d as y,aS as C,aw as S,a0 as w,c as G,r as L,e as $,f as l,as as O,l as R,j as I,o as U,q as D,y as k,af as u,w as f,s as c,t as B,k as p,bg as P,bh as j}from"./index-610a1d46.js";import{a as A}from"./useContentViewHeight-20fe3432.js";import"./useWindowSizeFn-1829b247.js";var H={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"};const N=H;function m(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?Object(arguments[t]):{},n=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(o).filter(function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),n.forEach(function(s){T(e,s,o[s])})}return e}function T(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var d=function(t,o){var n=m({},t,o.attrs);return b(_,m({},n,{icon:N}),null)};d.displayName="GithubFilled";d.inheritAttrs=!1;const W=d,V=y({name:"LayoutFooter",components:{Footer:C.Footer,GithubFilled:W},setup(){const{getShowFooter:e}=S(),{currentRoute:t}=w(),{prefixCls:o}=G("layout-footer"),n=L(null),{setFooterHeight:s}=A();return{getShowLayoutFooter:$(()=>{var a,i;if(l(e)){const r=(a=l(n))==null?void 0:a.$el;s((r==null?void 0:r.offsetHeight)||0)}else s(0);return l(e)&&!((i=l(t).meta)!=null&&i.hiddenFooter)}),prefixCls:o,DOC_URL:h,GITHUB_URL:v,SITE_URL:F,openWindow:O,footerRef:n,locales:R}}});const z=e=>(P("data-v-5d6907bf"),e=e(),j(),e),E=z(()=>u("div",null,"Copyright ©2022 Fan Admin",-1));function q(e,t,o,n,s,g){const a=p("GithubFilled"),i=p("Footer");return e.getShowLayoutFooter?(U(),D(i,{key:0,class:c(e.prefixCls),ref:"footerRef"},{default:k(()=>[u("div",{class:c(`${e.prefixCls}__links`)},[u("a",{onClick:t[0]||(t[0]=r=>e.openWindow(e.SITE_URL))},f(e.locales.footer.onlinePreview),1),b(a,{onClick:t[1]||(t[1]=r=>e.openWindow(e.GITHUB_URL)),class:c(`${e.prefixCls}__github`)},null,8,["class"]),u("a",{onClick:t[2]||(t[2]=r=>e.openWindow(e.DOC_URL))},f(e.locales.footer.onlineDocument),1)],2),E]),_:1},8,["class"])):B("",!0)}const X=I(V,[["render",q],["__scopeId","data-v-5d6907bf"]]);export{X as default};
|