import{_ as y,g as $}from"./index-CL6hUm94.js";import{a2 as r,a5 as a,a3 as u,a9 as b,aa as s,k as i,u as l,G as p,s as v,ae as d,af as m,S as C,ad as f}from"./vue-DApy1uhY.js";import{M as w,c as L,D as N,a4 as S,a5 as V}from"./antd-B7v2hwFR.js";const z={name:"CarbonTranslate"},B={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 32 32"};function A(o,e,n,c,_,t){return a(),r("svg",B,e[0]||(e[0]=[u("path",{fill:"currentColor",d:"M27.85 29H30l-6-15h-2.35l-6 15h2.15l1.6-4h6.85zm-7.65-6l2.62-6.56L25.45 23zM18 7V5h-7V2H9v3H2v2h10.74a14.71 14.71 0 0 1-3.19 6.18A13.5 13.5 0 0 1 7.26 9h-2.1a16.47 16.47 0 0 0 3 5.58A16.84 16.84 0 0 1 3 18l.75 1.86A18.47 18.47 0 0 0 9.53 16a16.92 16.92 0 0 0 5.76 3.84L16 18a14.48 14.48 0 0 1-5.12-3.37A17.64 17.64 0 0 0 14.8 7z"},null,-1)]))}const F=y(z,[["render",A]]),G={hover:"bg-[var(--hover-color)]",flex:"","items-center":"","h-48px":"","px-12px":"","text-16px":"","cursor-pointer":"",class:"transition-all-300"},q={__name:"index",setup(o){const{locale:e,setLocale:n}=$();function c({key:_}){n(_)}return(_,t)=>{const h=F,g=L,k=w,x=N;return a(),b(x,null,{overlay:s(()=>[i(k,{"selected-keys":[l(e)],onClick:c},{default:s(()=>[i(g,{key:"zh-CN"},{icon:s(()=>t[0]||(t[0]=[u("span",null," 🇨🇳 ",-1)])),default:s(()=>[t[1]||(t[1]=p(" 简体中文 "))]),_:1}),i(g,{key:"en-US"},{icon:s(()=>t[2]||(t[2]=[u("span",null," 🇺🇸 ",-1)])),default:s(()=>[t[3]||(t[3]=p(" English "))]),_:1})]),_:1},8,["selected-keys"])]),default:s(()=>[u("span",G,[i(h,{class:"anticon"})])]),_:1})}}},M={"decoration-none":"",href:"https://github.com/go-nunu/nunu",target:"_blank"},E=Object.assign({name:"FooterLinks"},{__name:"footer-links",setup(o){return(e,n)=>(a(),r("a",M,[i(l(S),{style:{"margin-right":"5px"}}),n[0]||(n[0]=p("Go-NuNu"))]))}}),O={key:0,href:"https://beian.miit.gov.cn/",target:"_blank"},T=Object.assign({name:"GlobalFooter"},{__name:"index",props:{copyright:{type:String,required:!1},icp:{type:String,required:!1}},setup(o){const e=v("ant-pro-global-footer");return(n,c)=>(a(),r("div",{class:m(l(e))},[n.$slots.renderFooterLinks?(a(),r("div",{key:0,class:m(`${l(e)}-links`)},[C(n.$slots,"renderFooterLinks")],2)):d("",!0),o.copyright?(a(),r("div",{key:1,class:m(`${l(e)}-copyright`)},[o.icp?(a(),r("a",O,f(o.icp),1)):d("",!0),c[0]||(c[0]=p()),i(l(V)),p(" "+f(o.copyright),1)],2)):d("",!0)],2))}});export{T as _,E as a,q as b};
