const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/information-C5oZqpUs.js","assets/rolldown-runtime-C5c2KzVm.js","assets/lucide-C4oWPzu4.js","assets/es2015-B34hR0Ye.js","assets/dist-dVVC74St.js","assets/bundle-mjs-C4g7ASB5.js","assets/dist-CImBN8k_.js","assets/react-dom-DA2kpOcl.js","assets/dist-BP7JCesB.js","assets/dropdown-menu-CHC_12vt.js","assets/dist-Dp-cocia.js","assets/dist-DSFWiYLH.js","assets/dist-DZLggMFv.js","assets/dist-CnV9YeUQ.js","assets/dist-Df0pg4rb.js","assets/dist-DwDcRD8a.js","assets/dist-BGgOuGGt.js","assets/dist-yoGb4lVc.js","assets/utils-Bs-0X7qI.js","assets/label-D4DLXoEs.js","assets/scroll-area-cHCu0Kv7.js","assets/dist-DPNohi_t2.js","assets/useMutation-YNiikd7W.js","assets/dist-Cw-z5Xb0.js","assets/shared-DtQmrU00.js","assets/form-CVrsvflM.js","assets/dist-C-9OzCvQ.js","assets/status-codes.constant-BV2w9Io6.js","assets/console-BA0IzvI-.js","assets/useInfiniteQuery-D-mVtfs7.js","assets/payconfig.constant-DWaejGty.js","assets/permission-guard-C-WT75tf.js","assets/theme-toggle-CO1e9SKf.js","assets/button-B-NlEi4h.js","assets/image-upload-CZik2PsW.js","assets/upload-CYAEccK7.js","assets/input-DcxjhZaU.js","assets/textarea-BJ2TI6HZ.js","assets/copyright-vucbv6Aa.js","assets/statistics-WXFxfX6T.js","assets/chunk-LFPYN7LY-Bb6SdmrV.js"])))=>i.map(i=>d[i]);
import{r as e,s as t}from"./rolldown-runtime-C5c2KzVm.js";import{$P as n,r}from"./lucide-C4oWPzu4.js";import{p as i}from"./utils-Bs-0X7qI.js";import{r as a}from"./bundle-mjs-C4g7ASB5.js";import{i as o,n as s,r as c,t as l}from"./tabs-DFTSpqgq.js";import{m as u,u as d}from"./chunk-LFPYN7LY-Bb6SdmrV.js";import{t as f}from"./permission-guard-C-WT75tf.js";import{t as p}from"./page-container-5wXiFE1n.js";var m=e({default:()=>x}),h=i(),g=t(n(),1),_=a(),v=(0,g.lazy)(()=>r(()=>import(`./information-C5oZqpUs.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37]))),y=(0,g.lazy)(()=>r(()=>import(`./copyright-vucbv6Aa.js`),__vite__mapDeps([38,1,2,19,6,5,7,18,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37]))),b=(0,g.lazy)(()=>r(()=>import(`./statistics-WXFxfX6T.js`),__vite__mapDeps([39,1,2,19,6,5,7,18,22,23,25,26,40,27,28,29,30,31,33,36,37]))),x=()=>{let e=(0,h.c)(15),t=u(),n=d(),r;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=[{name:`information`,label:`网站信息`},{name:`copyright`,label:`版权信息`},{name:`statistics`,label:`站点统计`}],e[0]=r):r=e[0];let i=r,a;e[1]===t?a=e[2]:(a=i.find(e=>e.name===t[0].get(`tab`))?.name||i[0].name,e[1]=t,e[2]=a);let o=a,m;e[3]===n?m=e[4]:(m=e=>{n(`?tab=${e}`,{replace:!0})},e[3]=n,e[4]=m);let g=m,x;bb0:switch(o){case`copyright`:x=y;break bb0;case`statistics`:x=b;break bb0;default:x=v}let C=x,w;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,_.jsx)(c,{className:`w-fit`,children:i.map(S)}),e[5]=w):w=e[5];let T;e[6]===C?T=e[7]:(T=(0,_.jsx)(C,{}),e[6]=C,e[7]=T);let E;e[8]!==o||e[9]!==T?(E=(0,_.jsx)(s,{value:o,className:`md:max-w-full lg:max-w-md`,children:T}),e[8]=o,e[9]=T,e[10]=E):E=e[10];let D;return e[11]!==o||e[12]!==g||e[13]!==E?(D=(0,_.jsx)(p,{children:(0,_.jsx)(f,{permissions:`system-website:getConfig`,children:(0,_.jsxs)(l,{value:o,onValueChange:g,className:`space-y-4`,children:[w,E]})})}),e[11]=o,e[12]=g,e[13]=E,e[14]=D):D=e[14],D};function S(e){return(0,_.jsx)(o,{value:e.name,children:e.label},e.name)}export{m as n,x as t};