karin-plugin-kkk 2.32.3 → 2.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13312,6 +13312,10 @@
13312
13312
  margin-right: calc(var(--spacing) * 18);
13313
13313
  }
13314
13314
 
13315
+ .mr-20 {
13316
+ margin-right: calc(var(--spacing) * 20);
13317
+ }
13318
+
13315
13319
  .mr-21 {
13316
13320
  margin-right: calc(var(--spacing) * 21);
13317
13321
  }
@@ -16283,6 +16287,20 @@
16283
16287
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
16284
16288
  }
16285
16289
 
16290
+ .from-black\/60 {
16291
+ --tw-gradient-from: #0009;
16292
+ }
16293
+
16294
+ @supports (color: color-mix(in lab, red, red)) {
16295
+ .from-black\/60 {
16296
+ --tw-gradient-from: color-mix(in oklab, var(--color-black) 60%, transparent);
16297
+ }
16298
+ }
16299
+
16300
+ .from-black\/60 {
16301
+ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
16302
+ }
16303
+
16286
16304
  .from-black\/75 {
16287
16305
  --tw-gradient-from: #000000bf;
16288
16306
  }
@@ -16369,6 +16387,21 @@
16369
16387
  --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
16370
16388
  }
16371
16389
 
16390
+ .via-black\/12 {
16391
+ --tw-gradient-via: #0000001f;
16392
+ }
16393
+
16394
+ @supports (color: color-mix(in lab, red, red)) {
16395
+ .via-black\/12 {
16396
+ --tw-gradient-via: color-mix(in oklab, var(--color-black) 12%, transparent);
16397
+ }
16398
+ }
16399
+
16400
+ .via-black\/12 {
16401
+ --tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
16402
+ --tw-gradient-stops: var(--tw-gradient-via-stops);
16403
+ }
16404
+
16372
16405
  .via-black\/50 {
16373
16406
  --tw-gradient-via: #00000080;
16374
16407
  }
@@ -16978,6 +17011,10 @@
16978
17011
  vertical-align: text-bottom;
16979
17012
  }
16980
17013
 
17014
+ .align-top {
17015
+ vertical-align: top;
17016
+ }
17017
+
16981
17018
  .font-\[HarmonyOSHans-Regular\] {
16982
17019
  font-family: HarmonyOSHans-Regular;
16983
17020
  }
@@ -17276,6 +17313,11 @@
17276
17313
  line-height: calc(var(--spacing) * 10);
17277
17314
  }
17278
17315
 
17316
+ .leading-16 {
17317
+ --tw-leading: calc(var(--spacing) * 16);
17318
+ line-height: calc(var(--spacing) * 16);
17319
+ }
17320
+
17279
17321
  .leading-20 {
17280
17322
  --tw-leading: calc(var(--spacing) * 20);
17281
17323
  line-height: calc(var(--spacing) * 20);
@@ -17600,6 +17642,10 @@
17600
17642
  color: #ff799e;
17601
17643
  }
17602
17644
 
17645
+ .text-\[0\] {
17646
+ color: 0;
17647
+ }
17648
+
17603
17649
  .text-accent {
17604
17650
  color: var(--accent);
17605
17651
  }
@@ -0,0 +1 @@
1
+ import{a as e,c as t,l as n,m as r,p as i,t as a,x as o}from"./index-CQhoJUBv.js";var s=e(`circle-question-mark`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3`,key:`1u773s`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),c=e(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),l=e(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),u=e(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),d=e(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),f=e(`moon`,[[`path`,{d:`M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401`,key:`kfwtm`}]]),p=e(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),m=e(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),h=e(`sun`,[[`circle`,{cx:`12`,cy:`12`,r:`4`,key:`4exip2`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`m4.93 4.93 1.41 1.41`,key:`149t6j`}],[`path`,{d:`m17.66 17.66 1.41 1.41`,key:`ptbguv`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`m6.34 17.66-1.41 1.41`,key:`1m8zz5`}],[`path`,{d:`m19.07 4.93-1.41 1.41`,key:`1shlcs`}]]),g=`https://github.com/ikenxuan.png`,_=o(),v=({className:e})=>{let{isDark:t,toggleTheme:i}=a();return(0,_.jsxs)(n,{delay:1,closeDelay:1,children:[(0,_.jsx)(r,{isIconOnly:!0,"aria-label":t?`切换到浅色模式`:`切换到深色模式`,className:e,variant:`ghost`,onPress:i,children:t?(0,_.jsx)(h,{size:20,"aria-hidden":`true`}):(0,_.jsx)(f,{size:20,"aria-hidden":`true`})}),(0,_.jsx)(n.Content,{children:t?`浅色模式`:`深色模式`})]})},y=()=>{let e=e=>{window.open(e,`_blank`)};return(0,_.jsxs)(i,{className:`mx-auto max-w-3xl`,children:[(0,_.jsxs)(i.Header,{className:`items-center text-center gap-4 pt-8 pb-6`,children:[(0,_.jsx)(p,{size:64,"aria-hidden":`true`}),(0,_.jsx)(i.Title,{children:`karin-plugin-kkk`}),(0,_.jsx)(i.Description,{children:`版本 2.33.0`})]}),(0,_.jsxs)(i.Content,{className:`flex flex-col gap-6 pb-8`,children:[(0,_.jsxs)(`section`,{children:[(0,_.jsx)(`h3`,{className:`mb-3 text-base font-semibold`,children:`插件简介`}),(0,_.jsx)(t,{children:`Karin 的「抖音」「B站」视频解析/动态推送插件。 支持视频解析、动态推送、扫码登录等功能。`})]}),(0,_.jsxs)(`section`,{children:[(0,_.jsx)(`h3`,{className:`mb-3 text-base font-semibold`,children:`开发者`}),(0,_.jsx)(t,{children:`ikenxuan, sj817`})]}),(0,_.jsxs)(`section`,{children:[(0,_.jsx)(`h3`,{className:`mb-3 text-base font-semibold`,children:`相关链接`}),(0,_.jsxs)(`div`,{className:`mt-3 flex flex-wrap gap-3`,children:[(0,_.jsxs)(r,{variant:`outline`,onPress:()=>e(`https://github.com/ikenxuan/karin-plugin-kkk`),children:[(0,_.jsx)(c,{size:18,"aria-hidden":`true`}),(0,_.jsx)(`span`,{children:`GitHub 仓库`})]}),(0,_.jsxs)(r,{variant:`outline`,onPress:()=>e(`https://github.com/ikenxuan/karin-plugin-kkk/issues`),children:[(0,_.jsx)(c,{size:18,"aria-hidden":`true`}),(0,_.jsx)(`span`,{children:`反馈问题`})]})]})]})]})]})};export{p as a,l as c,m as i,s as l,v as n,d as o,g as r,u as s,y as t};
@@ -0,0 +1 @@
1
+ import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"./AboutPanel-DFjZYu60.js";import{C as l,S as u,_ as d,a as f,b as p,d as m,g as h,h as g,i as _,m as v,n as y,o as b,r as x,s as S,v as C,x as w,y as T}from"./index-CQhoJUBv.js";var E=p({base:`separator`,defaultVariants:{orientation:`horizontal`,variant:`default`},variants:{orientation:{horizontal:`separator--horizontal`,vertical:`separator--vertical`},variant:{default:`separator--default`,secondary:`separator--secondary`,tertiary:`separator--tertiary`}}}),D=w(),O=({className:e,orientation:t,variant:n,...r})=>{let i=C(d),a=t??i?.orientation??`horizontal`;return(0,D.jsx)(h,{"data-orientation":a,"data-slot":`separator`,orientation:a,className:E({orientation:a,variant:n,className:e}),...r})},k=Object.assign(O,{Root:O}),A=f(`panel-left-close`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`m16 15-3-3 3-3`,key:`14y99z`}]]),j=l(u(),1),M=[{id:`config`,label:`配置管理`,icon:n},{id:`about`,label:`关于插件`,icon:t}],N=({collapsed:e,activeMenu:t,onMenuChange:n})=>{let i=S(()=>{window.open(`https://kkk.karinjs.com`,`_blank`,`noopener,noreferrer`)}),a=S(()=>{_(),window.location.reload()});return e?null:(0,D.jsxs)(`div`,{className:`flex h-full flex-col`,children:[(0,D.jsx)(`div`,{className:`shrink-0 px-4 pt-3 pb-2`,children:(0,D.jsxs)(m,{children:[(0,D.jsx)(m.Trigger,{"aria-label":`用户信息`,children:(0,D.jsxs)(`button`,{className:`flex w-full items-center gap-3 rounded-lg p-2 transition-colors hover:bg-default-100`,children:[(0,D.jsxs)(g,{size:`lg`,children:[(0,D.jsx)(g.Image,{src:o}),(0,D.jsx)(g.Fallback,{children:`ikenxuan`})]}),(0,D.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col items-start`,children:[(0,D.jsx)(`p`,{className:`truncate text-lg font-semibold`,children:`炫炫`}),(0,D.jsx)(`p`,{className:`truncate text-md text-muted`,children:`Super Admin`})]})]})}),(0,D.jsx)(m.Content,{className:`w-60`,children:(0,D.jsxs)(m.Dialog,{children:[(0,D.jsxs)(`div`,{className:`flex items-center gap-3 pb-3`,children:[(0,D.jsxs)(g,{size:`md`,children:[(0,D.jsx)(g.Image,{src:o}),(0,D.jsx)(g.Fallback,{children:`U`})]}),(0,D.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,D.jsx)(`p`,{className:`truncate font-medium`,children:`用户`}),(0,D.jsx)(`p`,{className:`truncate text-md text-muted`,children:`Super Admin`})]})]}),(0,D.jsx)(k,{className:`my-2`}),(0,D.jsx)(`p`,{className:`text-xs text-muted`,children:`当前身份:管理员`})]})})]})}),(0,D.jsx)(`nav`,{className:`flex flex-1 flex-col gap-1 overflow-y-auto px-3 py-3`,"aria-label":`主导航`,children:M.map(e=>{let r=e.icon,i=t===e.id;return(0,D.jsxs)(v,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:i?`tertiary`:`ghost`,"aria-label":e.label,"aria-current":i?`page`:void 0,onPress:()=>n(e.id),children:[(0,D.jsx)(r,{size:20,className:T(`shrink-0 mr-3`,!i&&`text-muted`),"aria-hidden":`true`}),(0,D.jsx)(`span`,{className:T(`truncate`,i&&`font-medium`),children:e.label})]},e.id)})}),(0,D.jsxs)(`div`,{className:`flex shrink-0 flex-col gap-1 px-3 py-3`,children:[(0,D.jsxs)(v,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:`ghost`,"aria-label":`查看帮助文档`,onPress:i,children:[(0,D.jsx)(r,{size:20,className:`shrink-0 mr-3 text-muted`,"aria-hidden":`true`}),(0,D.jsx)(`span`,{className:`truncate`,children:`帮助文档`})]}),(0,D.jsxs)(v,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:`ghost`,"aria-label":`登出`,onPress:a,children:[(0,D.jsx)(s,{size:20,className:`shrink-0 mr-3 text-muted`,"aria-hidden":`true`}),(0,D.jsx)(`span`,{className:`truncate`,children:`登出`})]})]})]})},P=({onToggleSidebar:t,sidebarCollapsed:n,currentMenuLabel:r})=>(0,D.jsxs)(`div`,{className:`flex w-full items-center justify-between`,children:[(0,D.jsxs)(`div`,{className:`flex min-w-0 items-center gap-3`,children:[(0,D.jsx)(v,{isIconOnly:!0,variant:`ghost`,onPress:t,"aria-label":n?`展开侧边栏`:`折叠侧边栏`,"aria-expanded":!n,children:n?(0,D.jsx)(a,{size:20,"aria-hidden":`true`}):(0,D.jsx)(A,{size:20,"aria-hidden":`true`})}),n&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(e,{size:24,"aria-hidden":`true`}),(0,D.jsx)(`h1`,{className:`truncate text-lg font-semibold`,children:`KKK Config`})]}),!n&&(0,D.jsx)(`h1`,{className:`truncate text-lg font-semibold`,children:r||`配置管理面板`})]}),(0,D.jsx)(i,{})]}),F=({activeMenu:e})=>(0,D.jsx)(`div`,{className:`mx-auto w-full max-w-7xl px-4`,children:(()=>{switch(e){case`config`:return(0,D.jsx)(y,{device:`desktop`});case`about`:return(0,D.jsx)(c,{});default:return(0,D.jsx)(y,{})}})()}),I=[{id:`config`,label:`配置管理`,icon:n},{id:`about`,label:`关于插件`,icon:t}],L=({activeMenu:e,onMenuChange:t})=>{let[n,{toggle:r}]=b(!1),i=(0,j.useRef)(null);return(0,j.useEffect)(()=>{i.current&&(n?x.to(i.current,{width:0,opacity:0,borderRightWidth:0,duration:.3,ease:`power2.inOut`,onComplete:()=>{i.current&&(i.current.style.display=`none`)}}):(i.current.style.display=`flex`,x.fromTo(i.current,{width:0,opacity:0,borderRightWidth:0},{width:260,opacity:1,borderRightWidth:1,duration:.3,ease:`power2.inOut`})))},[n]),(0,D.jsxs)(`div`,{className:`flex h-screen overflow-hidden`,children:[(0,D.jsx)(`aside`,{ref:i,className:`flex h-full w-65 shrink-0 flex-col border-r border-default-100`,"aria-label":`侧边栏导航`,children:(0,D.jsx)(N,{collapsed:n,activeMenu:e,onMenuChange:t,onToggleCollapse:r})}),(0,D.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col overflow-hidden`,children:[(0,D.jsx)(`header`,{className:`flex h-16 shrink-0 items-center px-6`,children:(0,D.jsx)(P,{onToggleSidebar:r,sidebarCollapsed:n,currentMenuLabel:I.find(t=>t.id===e)?.label})}),(0,D.jsx)(`main`,{className:`scrollbar flex-1 overflow-y-auto p-6`,id:`main-content`,children:(0,D.jsx)(`div`,{"data-scrollbar":`thin`,children:(0,D.jsx)(F,{activeMenu:e})})})]})]})};export{L as default};
@@ -0,0 +1,2 @@
1
+ import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c}from"./AboutPanel-DFjZYu60.js";import{C as l,S as u,a as d,f,h as p,i as m,m as h,n as g,o as _,s as v,u as y,x as b,y as x}from"./index-CQhoJUBv.js";var S=d(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),C=l(u(),1),w=b(),T=[{id:`config`,label:`配置管理`,icon:n},{id:`about`,label:`关于插件`,icon:t}],E=({open:e,onClose:t,activeMenu:n,onMenuChange:i})=>{let a=v(()=>{window.open(`https://kkk.karinjs.com`,`_blank`,`noopener,noreferrer`)}),c=v(()=>{m(),window.location.reload()});return(0,C.useEffect)(()=>{let n=n=>{n.key===`Escape`&&e&&t()};return window.addEventListener(`keydown`,n),()=>window.removeEventListener(`keydown`,n)},[e,t]),(0,C.useEffect)(()=>(e?document.body.style.overflow=`hidden`:document.body.style.overflow=``,()=>{document.body.style.overflow=``}),[e]),(0,w.jsx)(f,{isOpen:e,onOpenChange:e=>{e||t()},children:(0,w.jsx)(f.Backdrop,{isDismissable:!0,className:`backdrop-blur-sm`,children:(0,w.jsx)(f.Content,{placement:`right`,children:(0,w.jsxs)(f.Dialog,{className:`px-4`,children:[(0,w.jsx)(f.Header,{className:`flex items-center justify-between pb-4`,children:(0,w.jsx)(f.CloseTrigger,{"aria-label":`关闭菜单`,className:`mr-2`,children:(0,w.jsx)(S,{size:24,"aria-hidden":`true`})})}),(0,w.jsxs)(f.Body,{className:`flex flex-col`,children:[(0,w.jsx)(`div`,{className:`shrink-0 pb-5`,children:(0,w.jsxs)(`div`,{className:`flex items-center gap-3 px-1`,children:[(0,w.jsxs)(p,{size:`md`,children:[(0,w.jsx)(p.Image,{src:o}),(0,w.jsx)(p.Fallback,{children:`ikenxuan`})]}),(0,w.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col`,children:[(0,w.jsx)(`p`,{className:`truncate text-sm font-medium`,children:`炫炫`}),(0,w.jsx)(`p`,{className:`truncate text-xs text-muted`,children:`Super Admin`})]})]})}),(0,w.jsx)(`nav`,{className:`flex flex-1 flex-col gap-2 overflow-y-auto`,"aria-label":`主导航`,children:T.map(e=>{let t=e.icon,r=n===e.id;return(0,w.jsxs)(h,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:r?`tertiary`:`ghost`,"aria-label":e.label,"aria-current":r?`page`:void 0,onPress:()=>i(e.id),children:[(0,w.jsx)(t,{size:20,className:x(`shrink-0 mr-3`,!r&&`text-muted`),"aria-hidden":`true`}),(0,w.jsx)(`span`,{className:x(`truncate`,r&&`font-semibold`),children:e.label})]},e.id)})}),(0,w.jsxs)(`div`,{className:`flex shrink-0 flex-col gap-2`,children:[(0,w.jsxs)(h,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:`ghost`,"aria-label":`查看帮助文档`,onPress:a,children:[(0,w.jsx)(r,{size:20,className:`shrink-0 mr-3 text-muted`,"aria-hidden":`true`}),(0,w.jsx)(`span`,{className:`truncate`,children:`帮助文档`})]}),(0,w.jsxs)(h,{fullWidth:!0,className:`justify-start`,size:`lg`,variant:`ghost`,"aria-label":`登出`,onPress:c,children:[(0,w.jsx)(s,{size:20,className:`shrink-0 mr-3 text-muted`,"aria-hidden":`true`}),(0,w.jsx)(`span`,{className:`truncate`,children:`登出`})]})]})]})]})})})})},D=({onOpenDrawer:t})=>(0,w.jsxs)(`div`,{className:`flex h-full items-center justify-between px-4`,children:[(0,w.jsx)(i,{className:`shrink-0`}),(0,w.jsxs)(`div`,{className:`flex min-w-0 flex-1 items-center justify-center gap-2 px-2`,children:[(0,w.jsx)(e,{size:22,"aria-hidden":`true`}),(0,w.jsx)(`h1`,{className:`truncate text-base font-semibold`,children:`KKK Config`})]}),(0,w.jsx)(h,{isIconOnly:!0,className:`shrink-0`,variant:`ghost`,onPress:t,"aria-label":`打开菜单`,"aria-expanded":!1,children:(0,w.jsx)(a,{size:24,"aria-hidden":`true`})})]}),O=({activeMenu:e})=>(0,w.jsx)(`div`,{className:`w-full max-w-2xl mx-auto`,children:(()=>{switch(e){case`config`:return(0,w.jsx)(g,{device:`mobile`});case`about`:return(0,w.jsx)(c,{});default:return(0,w.jsx)(g,{})}})()}),k=({activeMenu:e,onMenuChange:t})=>{let[n,{setTrue:r,setFalse:i}]=_(!1),a=v(e=>{t(e),i()});return(0,w.jsxs)(y,{"data-scrollbar":`thin`,className:`flex min-h-screen flex-col`,children:[(0,w.jsx)(`header`,{className:`sticky top-0 z-50 h-14 shrink-0 backdrop-blur-xs bg-white/60
2
+ mask-[linear-gradient(to_bottom,black_40%,transparent_100%)]`,children:(0,w.jsx)(D,{onOpenDrawer:r})}),(0,w.jsx)(E,{open:n,onClose:i,activeMenu:e,onMenuChange:a}),(0,w.jsx)(`main`,{className:`scrollbar flex-1 overflow-y-auto p-4`,id:`main-content`,children:(0,w.jsx)(O,{activeMenu:e})})]})};export{k as default};