From a735bdd872f889fc93d869fefe56138f9e7a8b02 Mon Sep 17 00:00:00 2001 From: Lan Date: Mon, 24 Nov 2025 19:25:14 +0800 Subject: [PATCH] fix: https://github.com/vastsa/FileCodeBox/issues/420 --- themes/2024/assets/AdminLayout-B2sEbNJ3.js | 21 ++++ themes/2024/assets/AdminLayout-D5CLgSUV.js | 21 ---- themes/2024/assets/DashboardView-BLN6_eZt.js | 11 -- themes/2024/assets/DashboardView-q8iNpHgp.js | 11 ++ themes/2024/assets/FileManageView-DcCyX2aA.js | 26 ++++ themes/2024/assets/FileManageView-Rc6CCZED.js | 26 ---- themes/2024/assets/LoginView-BE933Oxi.js | 1 - themes/2024/assets/LoginView-BTZd0llH.js | 1 + themes/2024/assets/PageHeader-D2CW9nSY.js | 21 ++++ themes/2024/assets/PageHeader-DV4PCTwD.css | 1 + .../2024/assets/RetrievewFileView-BsjeRxMF.js | 77 ------------ .../2024/assets/RetrievewFileView-Bz_9iHJX.js | 81 +++++++++++++ .../assets/RetrievewFileView-CfCNxb7z.css | 1 - .../assets/RetrievewFileView-pLqL6j5e.css | 1 + themes/2024/assets/SendFileView-0AP69Sbg.js | 26 ---- themes/2024/assets/SendFileView-BoEy45cq.js | 26 ++++ themes/2024/assets/SendFileView-CEwL3Upl.css | 1 + themes/2024/assets/SendFileView-XtpGZxXZ.css | 1 - .../assets/SystemSettingsView-CLFB8wRs.js | 1 + .../assets/SystemSettingsView-Dp5VRHCL.js | 1 - .../{box-CCCmbUYf.js => box-DhNypZwK.js} | 2 +- themes/2024/assets/clipboard-Bj3kv5gr.js | 21 ---- .../{file-ExORVwAL.js => file-C3_XlMB5.js} | 2 +- ...ive-QraB3QOb.js => hard-drive-DPx3Jtjb.js} | 2 +- themes/2024/assets/index-B-Ka-o3f.js | 86 ------------- themes/2024/assets/index-BQT7CCpA.js | 114 ++++++++++++++++++ themes/2024/assets/index-CVaRI27s.css | 1 - themes/2024/assets/index-Cd5a1Wuq.css | 1 + .../{trash-McEm8LQt.js => trash-DFHGA4Wo.js} | 2 +- themes/2024/index.html | 4 +- 30 files changed, 312 insertions(+), 279 deletions(-) create mode 100644 themes/2024/assets/AdminLayout-B2sEbNJ3.js delete mode 100644 themes/2024/assets/AdminLayout-D5CLgSUV.js delete mode 100644 themes/2024/assets/DashboardView-BLN6_eZt.js create mode 100644 themes/2024/assets/DashboardView-q8iNpHgp.js create mode 100644 themes/2024/assets/FileManageView-DcCyX2aA.js delete mode 100644 themes/2024/assets/FileManageView-Rc6CCZED.js delete mode 100644 themes/2024/assets/LoginView-BE933Oxi.js create mode 100644 themes/2024/assets/LoginView-BTZd0llH.js create mode 100644 themes/2024/assets/PageHeader-D2CW9nSY.js create mode 100644 themes/2024/assets/PageHeader-DV4PCTwD.css delete mode 100644 themes/2024/assets/RetrievewFileView-BsjeRxMF.js create mode 100644 themes/2024/assets/RetrievewFileView-Bz_9iHJX.js delete mode 100644 themes/2024/assets/RetrievewFileView-CfCNxb7z.css create mode 100644 themes/2024/assets/RetrievewFileView-pLqL6j5e.css delete mode 100644 themes/2024/assets/SendFileView-0AP69Sbg.js create mode 100644 themes/2024/assets/SendFileView-BoEy45cq.js create mode 100644 themes/2024/assets/SendFileView-CEwL3Upl.css delete mode 100644 themes/2024/assets/SendFileView-XtpGZxXZ.css create mode 100644 themes/2024/assets/SystemSettingsView-CLFB8wRs.js delete mode 100644 themes/2024/assets/SystemSettingsView-Dp5VRHCL.js rename themes/2024/assets/{box-CCCmbUYf.js => box-DhNypZwK.js} (90%) delete mode 100644 themes/2024/assets/clipboard-Bj3kv5gr.js rename themes/2024/assets/{file-ExORVwAL.js => file-C3_XlMB5.js} (88%) rename themes/2024/assets/{hard-drive-QraB3QOb.js => hard-drive-DPx3Jtjb.js} (92%) delete mode 100644 themes/2024/assets/index-B-Ka-o3f.js create mode 100644 themes/2024/assets/index-BQT7CCpA.js delete mode 100644 themes/2024/assets/index-CVaRI27s.css create mode 100644 themes/2024/assets/index-Cd5a1Wuq.css rename themes/2024/assets/{trash-McEm8LQt.js => trash-DFHGA4Wo.js} (89%) diff --git a/themes/2024/assets/AdminLayout-B2sEbNJ3.js b/themes/2024/assets/AdminLayout-B2sEbNJ3.js new file mode 100644 index 0000000..cb5b579 --- /dev/null +++ b/themes/2024/assets/AdminLayout-B2sEbNJ3.js @@ -0,0 +1,21 @@ +import{c as l,d as _,u as M,r as p,f as m,L as C,a as b,o as h,b as t,n as o,e,i as z,k as i,B as L,t as x,X as B,F as D,x as j,z as F,D as N,y as S,M as V}from"./index-BQT7CCpA.js";import{B as E}from"./box-DhNypZwK.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const I=l("cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const R=l("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Z=l("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const q=l("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]),A={class:"flex items-center"},$={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},H={class:"flex-1 overflow-y-auto custom-scrollbar"},O={class:"p-4 space-y-2"},T=["onClick"],U={class:"flex-1 flex flex-col h-full"},W={class:"flex items-center justify-between h-16 px-4"},P=_({__name:"AdminLayout",setup(X){const d=L(),{t:n}=M(),a=z("isDarkMode"),f=[{id:"Dashboard",name:n("admin.dashboard.title"),icon:Z,redirect:"/admin/dashboard"},{id:"FileManage",name:n("admin.fileManage.title"),icon:R,redirect:"/admin/files"},{id:"Settings",name:n("admin.settings.title"),icon:I,redirect:"/admin/settings"}],r=p(!0),g=()=>{r.value=!r.value},c=()=>{window.innerWidth>=1024?r.value=!0:r.value=!1};m(()=>{c(),window.addEventListener("resize",c)}),C(()=>{window.removeEventListener("resize",c)});const k=p({page:1,size:10,total:0}),v=async()=>{try{k.value.total=85}catch(u){console.error("加载文件列表失败:",u)}};return m(()=>{v()}),(u,y)=>{const w=F("router-view");return h(),b("div",{class:o(["h-screen flex flex-col lg:flex-row transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[t("aside",{class:o(["fixed inset-y-0 border-transparent left-0 z-50 w-64 transform transition-all duration-300 ease-in-out lg:relative lg:translate-x-0 border-r flex flex-col h-full lg:h-screen",[e(a)?"bg-gray-800 bg-opacity-90 backdrop-filter backdrop-blur-xl ":"bg-white ",{"-translate-x-full":!r.value}]])},[t("div",{class:o(["flex items-center justify-between h-16 px-4 border-b",[e(a)?"border-gray-700":"border-gray-200"]])},[t("div",A,[t("div",$,[t("div",{class:o(["rounded-full p-1",[e(a)?"bg-gray-800":"bg-white"]])},[i(e(E),{class:o(["w-6 h-6",[e(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("h1",{onClick:y[0]||(y[0]=s=>e(d).push("/")),class:o(["ml-2 text-xl font-semibold cursor-pointer",[e(a)?"text-white":"text-gray-800"]])},x(e(n)("common.appName")),3)]),t("button",{onClick:g,class:"lg:hidden"},[i(e(B),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])],2),t("nav",H,[t("ul",O,[(h(),b(D,null,j(f,s=>t("li",{key:s.id},[t("a",{onClick:G=>e(d).push(s.redirect),class:o(["flex items-center p-2 rounded-lg transition-colors duration-200",[e(d).currentRoute.value.name===s.id?e(a)?"bg-indigo-900 text-indigo-400":"bg-indigo-100 text-indigo-600":e(a)?"text-gray-400 hover:bg-gray-700":"text-gray-600 hover:bg-gray-100"]])},[(h(),N(V(s.icon),{class:"w-5 h-5 mr-3"})),S(" "+x(s.name),1)],10,T)])),64))])])],2),t("div",U,[t("header",{class:o(["shadow-md border-b transition-colors duration-300 h-16",[e(a)?"bg-gray-800 border-gray-700":"bg-white border-gray-200"]])},[t("div",W,[t("button",{onClick:g,class:"lg:hidden"},[i(e(q),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])])],2),t("main",{class:o(["overflow-y-auto transition-colors duration-300 custom-scrollbar",[e(a)?"bg-gray-900":"bg-gray-50"]])},[i(w)],2)])],2)}}});export{P as default}; diff --git a/themes/2024/assets/AdminLayout-D5CLgSUV.js b/themes/2024/assets/AdminLayout-D5CLgSUV.js deleted file mode 100644 index 1aa4689..0000000 --- a/themes/2024/assets/AdminLayout-D5CLgSUV.js +++ /dev/null @@ -1,21 +0,0 @@ -import{c as i,d as v,r as y,o as p,I as w,a as m,b as t,n as o,h as e,i as _,g as n,A as M,X as C,F as z,s as B,y as L,J as D,x as F,K as j,t as S,e as c}from"./index-B-Ka-o3f.js";import{B as V}from"./box-CCCmbUYf.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const A=i("cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const E=i("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const I=i("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const N=i("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]),R={class:"flex items-center"},Z={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},q={class:"flex-1 overflow-y-auto custom-scrollbar"},$={class:"p-4 space-y-2"},H=["onClick"],J={class:"flex-1 flex flex-col h-full"},K={class:"flex items-center justify-between h-16 px-4"},X=v({__name:"AdminLayout",setup(O){const l=M(),a=_("isDarkMode"),x=[{id:"Dashboard",name:"仪表盘",icon:I,redirect:"/admin/dashboard"},{id:"FileManage",name:"文件管理",icon:E,redirect:"/admin/files"},{id:"Settings",name:"系统设置",icon:A,redirect:"/admin/settings"}],r=y(!0),h=()=>{r.value=!r.value},d=()=>{window.innerWidth>=1024?r.value=!0:r.value=!1};p(()=>{d(),window.addEventListener("resize",d)}),w(()=>{window.removeEventListener("resize",d)});const b=y({page:1,size:10,total:0}),f=async()=>{try{b.value.total=85}catch(g){console.error("加载文件列表失败:",g)}};return p(()=>{f()}),(g,u)=>{const k=L("router-view");return c(),m("div",{class:o(["h-screen flex flex-col lg:flex-row transition-colors duration-300",[e(a)?"bg-gray-900":"bg-gray-50"]])},[t("aside",{class:o(["fixed inset-y-0 border-transparent left-0 z-50 w-64 transform transition-all duration-300 ease-in-out lg:relative lg:translate-x-0 border-r flex flex-col h-full lg:h-screen",[e(a)?"bg-gray-800 bg-opacity-90 backdrop-filter backdrop-blur-xl ":"bg-white ",{"-translate-x-full":!r.value}]])},[t("div",{class:o(["flex items-center justify-between h-16 px-4 border-b",[e(a)?"border-gray-700":"border-gray-200"]])},[t("div",R,[t("div",Z,[t("div",{class:o(["rounded-full p-1",[e(a)?"bg-gray-800":"bg-white"]])},[n(e(V),{class:o(["w-6 h-6",[e(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("h1",{onClick:u[0]||(u[0]=s=>e(l).push("/")),class:o(["ml-2 text-xl font-semibold cursor-pointer",[e(a)?"text-white":"text-gray-800"]])}," FileCodeBox ",2)]),t("button",{onClick:h,class:"lg:hidden"},[n(e(C),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])],2),t("nav",q,[t("ul",$,[(c(),m(z,null,B(x,s=>t("li",{key:s.id},[t("a",{onClick:T=>e(l).push(s.redirect),class:o(["flex items-center p-2 rounded-lg transition-colors duration-200",[e(l).currentRoute.value.name===s.id?e(a)?"bg-indigo-900 text-indigo-400":"bg-indigo-100 text-indigo-600":e(a)?"text-gray-400 hover:bg-gray-700":"text-gray-600 hover:bg-gray-100"]])},[(c(),D(j(s.icon),{class:"w-5 h-5 mr-3"})),F(" "+S(s.name),1)],10,H)])),64))])])],2),t("div",J,[t("header",{class:o(["shadow-md border-b transition-colors duration-300 h-16",[e(a)?"bg-gray-800 border-gray-700":"bg-white border-gray-200"]])},[t("div",K,[t("button",{onClick:h,class:"lg:hidden"},[n(e(N),{class:o(["w-6 h-6",[e(a)?"text-gray-400":"text-gray-600"]])},null,8,["class"])])])],2),t("main",{class:o(["overflow-y-auto transition-colors duration-300 custom-scrollbar",[e(a)?"bg-gray-900":"bg-gray-50"]])},[n(k)],2)])],2)}}});export{X as default}; diff --git a/themes/2024/assets/DashboardView-BLN6_eZt.js b/themes/2024/assets/DashboardView-BLN6_eZt.js deleted file mode 100644 index c3f19b9..0000000 --- a/themes/2024/assets/DashboardView-BLN6_eZt.js +++ /dev/null @@ -1,11 +0,0 @@ -import{c as x,d as m,L as b,o as h,a as f,b as t,n as a,h as e,i as v,t as i,g,x as w,S,e as _}from"./index-B-Ka-o3f.js";import{F}from"./file-ExORVwAL.js";import{H as k}from"./hard-drive-QraB3QOb.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const C=x("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const D=x("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),z={class:"p-6 overflow-y-auto custom-scrollbar"},M={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"},U={class:"flex items-center justify-between"},B={class:"flex items-center justify-between"},$={class:"flex items-center justify-between"},j={class:"flex items-center justify-between"},H={class:"text-sm mt-1"},A=m({__name:"DashboardView",setup(L){const s=v("isDarkMode"),o=b({totalFiles:0,storageUsed:0,yesterdayCount:0,todayCount:0,yesterdaySize:0,todaySize:0,sysUptime:0}),u=l=>{const n=new Date().getTime()-l,d=Math.floor(n/(1440*60*1e3)),c=Math.floor(n%(1440*60*1e3)/(3600*1e3));return`${d}天${c}小时`},y=l=>{const r=parseInt(l)/1024,n=r/1024,d=n/1024,c=d/1024;return c>1?`${c.toFixed(2)}TB`:d>1?`${d.toFixed(2)}GB`:n>1?`${n.toFixed(2)}MB`:r>1?`${r.toFixed(2)}KB`:`${l}B`},p=async()=>{const l=await S.getDashboard();l.detail&&(o.totalFiles=l.detail.totalFiles,o.storageUsed=y(l.detail.storageUsed.toString()),o.yesterdaySize=y(l.detail.yesterdaySize.toString()),o.todaySize=y(l.detail.todaySize.toString()),o.yesterdayCount=l.detail.yesterdayCount,o.todayCount=l.detail.todayCount,o.sysUptime=u(Number(l.detail.sysUptime)))};return h(()=>{p()}),(l,r)=>(_(),f("div",z,[t("h2",{class:a(["text-2xl font-bold mb-6",[e(s)?"text-white":"text-gray-800"]])}," 仪表盘 ",2),t("div",M,[t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",U,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 总文件数 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.totalFiles),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-indigo-900":"bg-indigo-100"]])},[g(e(F),{class:a(["w-6 h-6",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdayCount),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todayCount),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",B,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 存储空间 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])},i(o.storageUsed),3)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-purple-900":"bg-purple-100"]])},[g(e(k),{class:a(["w-6 h-6",[e(s)?"text-purple-400":"text-purple-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-green-400":"text-green-600"]])},[t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"昨天:",2),t("span",null,i(o.yesterdaySize),1),t("span",{class:a(["ml-2",[e(s)?"text-gray-400":"text-gray-600"]])},"今天:",2),t("span",null,i(o.todaySize),1)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",$,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 活跃用户 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 25 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-green-900":"bg-green-100"]])},[g(e(D),{class:a(["w-6 h-6",[e(s)?"text-green-400":"text-green-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-red-400":"text-red-600"]])},[r[0]||(r[0]=t("span",null,"↓ 5% ",-1)),t("span",{class:a([e(s)?"text-gray-400":"text-gray-600"])},"较上周",2)],2)],2),t("div",{class:a(["p-6 rounded-lg shadow-md transition-colors duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",j,[t("div",null,[t("p",{class:a(["text-sm",[e(s)?"text-gray-400":"text-gray-600"]])}," 系统状态 ",2),t("h3",{class:a(["text-2xl font-bold mt-1",[e(s)?"text-white":"text-gray-800"]])}," 正常 ",2)]),t("div",{class:a(["p-3 rounded-full",[e(s)?"bg-blue-900":"bg-blue-100"]])},[g(e(C),{class:a(["w-6 h-6",[e(s)?"text-blue-400":"text-blue-600"]])},null,8,["class"])],2)]),t("p",{class:a(["text-sm mt-2",[e(s)?"text-gray-400":"text-gray-600"]])}," 服务器运行时间: "+i(o.sysUptime),3)],2)]),t("div",{class:a(["mt-auto text-center py-4",[e(s)?"text-gray-400":"text-gray-600"]])},[r[2]||(r[2]=t("p",{class:"text-sm"}," 版本 v2.2.1 更新时间:2025-09-04 ",-1)),t("p",H,[w(" © "+i(new Date().getFullYear())+" ",1),r[1]||(r[1]=t("a",{href:"https://github.com/vastsa/FileCodeBox"},"FileCodeBox",-1))])],2)]))}});export{A as default}; diff --git a/themes/2024/assets/DashboardView-q8iNpHgp.js b/themes/2024/assets/DashboardView-q8iNpHgp.js new file mode 100644 index 0000000..c8e4567 --- /dev/null +++ b/themes/2024/assets/DashboardView-q8iNpHgp.js @@ -0,0 +1,11 @@ +import{c as _,d as S,g as x,a as M,o as v,n as d,e as t,i as k,b as s,t as r,D,M as w,E as F,u as U,N as B,f as z,k as g,m,y as C,S as $}from"./index-BQT7CCpA.js";import{F as N}from"./file-C3_XlMB5.js";import{H as T}from"./hard-drive-DPx3Jtjb.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const H=_("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const V=_("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),j={class:"flex items-center justify-between"},b=S({__name:"StatCard",props:{title:{},value:{},icon:{},iconColor:{},descriptionType:{default:"neutral"}},setup(f){const l=f,e=k("isDarkMode"),a=x(()=>({indigo:e?"bg-indigo-900":"bg-indigo-100",purple:e?"bg-purple-900":"bg-purple-100",green:e?"bg-green-900":"bg-green-100",blue:e?"bg-blue-900":"bg-blue-100"})[l.iconColor]),h=x(()=>({indigo:e?"text-indigo-400":"text-indigo-600",purple:e?"text-purple-400":"text-purple-600",green:e?"text-green-400":"text-green-600",blue:e?"text-blue-400":"text-blue-600"})[l.iconColor]),p=x(()=>({success:e?"text-green-400":"text-green-600",error:e?"text-red-400":"text-red-600",neutral:e?"text-gray-400":"text-gray-600"})[l.descriptionType]);return(i,o)=>(v(),M("div",{class:d(["p-6 rounded-lg shadow-md transition-colors duration-300",[t(e)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[s("div",j,[s("div",null,[s("p",{class:d(["text-sm",[t(e)?"text-gray-400":"text-gray-600"]])},r(i.title),3),s("h3",{class:d(["text-2xl font-bold mt-1",[t(e)?"text-white":"text-gray-800"]])},r(i.value),3)]),s("div",{class:d(["p-3 rounded-full",a.value])},[(v(),D(w(i.icon),{class:d(["w-6 h-6",h.value])},null,8,["class"]))],2)]),s("p",{class:d(["text-sm mt-2",p.value])},[F(i.$slots,"description")],2)],2))}}),I={class:"p-6 overflow-y-auto custom-scrollbar"},L={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"},A={class:"ml-2"},E={class:"ml-2"},q={class:"text-sm mt-1"},J=S({__name:"DashboardView",setup(f){const l=k("isDarkMode"),{t:e}=U(),a=B({totalFiles:0,storageUsed:0,yesterdayCount:0,todayCount:0,yesterdaySize:0,todaySize:0,sysUptime:0}),h=o=>{const c=new Date().getTime()-o,u=Math.floor(c/(1440*60*1e3)),y=Math.floor(c%(1440*60*1e3)/(3600*1e3));return`${u}天${y}小时`},p=o=>{const n=parseInt(o)/1024,c=n/1024,u=c/1024,y=u/1024;return y>1?`${y.toFixed(2)}TB`:u>1?`${u.toFixed(2)}GB`:c>1?`${c.toFixed(2)}MB`:n>1?`${n.toFixed(2)}KB`:`${o}B`},i=async()=>{const o=await $.getDashboard();o.detail&&(a.totalFiles=o.detail.totalFiles,a.storageUsed=p(o.detail.storageUsed.toString()),a.yesterdaySize=p(o.detail.yesterdaySize.toString()),a.todaySize=p(o.detail.todaySize.toString()),a.yesterdayCount=o.detail.yesterdayCount,a.todayCount=o.detail.todayCount,a.sysUptime=h(Number(o.detail.sysUptime)))};return z(()=>{i()}),(o,n)=>(v(),M("div",I,[s("h2",{class:d(["text-2xl font-bold mb-6",[t(l)?"text-white":"text-gray-800"]])},r(t(e)("admin.dashboard.title")),3),s("div",L,[g(b,{title:t(e)("admin.dashboard.totalFiles"),value:a.totalFiles,icon:t(N),"icon-color":"indigo","description-type":"success"},{description:m(()=>[s("span",null,r(t(e)("admin.dashboard.yesterday"))+":"+r(a.yesterdayCount),1),s("span",A,r(t(e)("admin.dashboard.today"))+":"+r(a.todayCount),1)]),_:1},8,["title","value","icon"]),g(b,{title:t(e)("admin.dashboard.storageSpace"),value:a.storageUsed,icon:t(T),"icon-color":"purple","description-type":"success"},{description:m(()=>[s("span",null,r(t(e)("admin.dashboard.yesterday"))+":"+r(a.yesterdaySize),1),s("span",E,r(t(e)("admin.dashboard.today"))+":"+r(a.todaySize),1)]),_:1},8,["title","value","icon"]),g(b,{title:t(e)("admin.dashboard.activeUsers"),value:"25",icon:t(V),"icon-color":"green","description-type":"error"},{description:m(()=>[s("span",null,r(t(e)("admin.dashboard.weeklyChange")),1)]),_:1},8,["title","icon"]),g(b,{title:t(e)("admin.dashboard.systemStatus"),value:t(e)("admin.dashboard.normal"),icon:t(H),"icon-color":"blue","description-type":"neutral"},{description:m(()=>[C(r(t(e)("admin.dashboard.serverUptime"))+": "+r(a.sysUptime),1)]),_:1},8,["title","value","icon"])]),s("div",{class:d(["mt-auto text-center py-4",[t(l)?"text-gray-400":"text-gray-600"]])},[n[1]||(n[1]=s("p",{class:"text-sm"}," 版本 v2.2.1 更新时间:2025-09-04 ",-1)),s("p",q,[C(" © "+r(new Date().getFullYear())+" ",1),n[0]||(n[0]=s("a",{href:"https://github.com/vastsa/FileCodeBox"},"FileCodeBox",-1))])],2)]))}});export{J as default}; diff --git a/themes/2024/assets/FileManageView-DcCyX2aA.js b/themes/2024/assets/FileManageView-DcCyX2aA.js new file mode 100644 index 0000000..214fcfd --- /dev/null +++ b/themes/2024/assets/FileManageView-DcCyX2aA.js @@ -0,0 +1,26 @@ +import{c as P,d as V,a as x,o as h,n as o,e as t,i as L,b as e,E as B,t as l,F as S,x as T,g as F,k as u,y as k,u as N,r as $,l as Q,j as W,p as v,v as w,O as X,m as E,P as D}from"./index-BQT7CCpA.js";import{F as Z}from"./file-C3_XlMB5.js";import{T as ee}from"./trash-DFHGA4Wo.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const _=P("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const te=P("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const oe=P("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const A=P("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const I=P("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),ae={class:"overflow-x-auto"},ie=V({__name:"DataTable",props:{title:{},headers:{}},setup(z){const y=L("isDarkMode");return(i,a)=>(h(),x("div",{class:o(["rounded-lg shadow-sm overflow-hidden transition-all duration-300",[t(y)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[e("div",{class:o(["px-6 py-4 border-b",[t(y)?"border-gray-700":"border-gray-200"]])},[e("h3",{class:o(["text-lg font-medium",[t(y)?"text-white":"text-gray-800"]])},l(i.title),3)],2),e("div",ae,[e("table",{class:o(["min-w-full divide-y",[t(y)?"divide-gray-700":"divide-gray-200"]])},[e("thead",{class:o([t(y)?"bg-gray-900/50":"bg-gray-50"])},[e("tr",null,[(h(!0),x(S,null,T(i.headers,b=>(h(),x("th",{key:b,class:o(["px-6 py-3.5 text-left text-xs font-medium uppercase tracking-wider",[t(y)?"text-gray-400":"text-gray-500"]])},l(b),3))),128))])],2),e("tbody",{class:o([t(y)?"bg-gray-800/50 divide-y divide-gray-700":"bg-white divide-y divide-gray-200"])},[B(i.$slots,"body")],2)],2)]),B(i.$slots,"footer")],2))}}),se={class:"flex items-center space-x-2"},re=["disabled"],ne={class:"flex items-center space-x-1"},le=["onClick"],de=["disabled"],ge=V({__name:"DataPagination",props:{currentPage:{},pageSize:{},total:{}},emits:["page-change"],setup(z){const y=z,i=L("isDarkMode"),a=F(()=>Math.ceil(y.total/y.pageSize)),b=F(()=>{const d=y.currentPage,p=a.value,g=2,f=[];f.push(1);const c=Math.max(2,d-g),C=Math.min(p-1,d+g);c>2&&f.push("...");for(let m=c;m<=C;m++)f.push(m);return C1&&f.push(p),f});return(d,p)=>(h(),x("div",{class:o(["mt-4 flex items-center justify-between px-6 py-4 border-t",[t(i)?"border-gray-700":"border-gray-200"]])},[e("div",{class:o(["flex items-center text-sm",[t(i)?"text-gray-400":"text-gray-500"]])}," 显示第 "+l((d.currentPage-1)*d.pageSize+1)+" 到 "+l(Math.min(d.currentPage*d.pageSize,d.total))+" 条,共 "+l(d.total)+" 条 ",3),e("div",se,[e("button",{onClick:p[0]||(p[0]=g=>d.$emit("page-change",d.currentPage-1)),disabled:d.currentPage===1,class:o(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[t(i)?d.currentPage===1?"bg-gray-800 text-gray-600 cursor-not-allowed":"bg-gray-800 text-gray-300 hover:bg-gray-700":d.currentPage===1?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},[u(t(oe),{class:"w-4 h-4"}),p[2]||(p[2]=k(" 上一页 ",-1))],10,re),e("div",ne,[(h(!0),x(S,null,T(b.value,g=>(h(),x(S,{key:g},[g!=="..."?(h(),x("button",{key:0,onClick:f=>d.$emit("page-change",g),class:o(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[d.currentPage===g?"bg-indigo-600 text-white":t(i)?"bg-gray-800 text-gray-300 hover:bg-gray-700":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},l(g),11,le)):(h(),x("span",{key:1,class:o(["px-2",[t(i)?"text-gray-400":"text-gray-500"]])}," ... ",2))],64))),128))]),e("button",{onClick:p[1]||(p[1]=g=>d.$emit("page-change",d.currentPage+1)),disabled:d.currentPage>=a.value,class:o(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[t(i)?d.currentPage>=a.value?"bg-gray-800 text-gray-600 cursor-not-allowed":"bg-gray-800 text-gray-300 hover:bg-gray-700":d.currentPage>=a.value?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},[p[3]||(p[3]=k(" 下一页 ",-1)),u(t(te),{class:"w-4 h-4"})],10,de)])],2))}}),ce={class:"p-6 overflow-y-auto custom-scrollbar"},ue={class:"mb-8"},pe={class:"flex flex-1 gap-4 w-full sm:w-auto"},ye={class:"relative flex-1"},xe=["placeholder"],he={class:"px-6 py-4 whitespace-nowrap"},fe={class:"flex items-center"},me={class:"px-6 py-4"},be={class:"flex items-center group relative"},ve=["title"],we={class:"absolute left-0 -top-2 -translate-y-full opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none"},_e={class:"bg-gray-900 text-white text-sm rounded px-2 py-1 max-w-xs break-all"},ke={class:"px-6 py-4 whitespace-nowrap"},Me={class:"px-6 py-4"},Pe={class:"group relative"},Ce={class:"absolute left-0 -top-2 -translate-y-full opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none z-10"},$e={class:"bg-gray-900 text-white text-sm rounded px-2 py-1 max-w-xs break-all"},Se={class:"px-6 py-4 whitespace-nowrap"},Fe={class:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},ze={class:"flex items-center space-x-2"},je=["onClick"],De=["onClick"],Ve={key:0,class:"fixed inset-0 z-50","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},Le={class:"fixed inset-0 z-10 overflow-y-auto"},Te={class:"flex min-h-full items-center justify-center p-4 text-center sm:p-0"},Ue={class:"flex items-center justify-between"},Be={class:"flex items-center space-x-3"},Ee={class:"px-6 py-5"},Ae={class:"grid gap-6"},Ie={class:"space-y-2 group"},He={class:"relative rounded-lg shadow-sm"},Ke=["placeholder"],qe={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Oe={class:"space-y-2 group"},Re={class:"relative rounded-lg shadow-sm"},Ye=["placeholder"],Ge={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Je={class:"space-y-2 group"},Ne={class:"relative rounded-lg shadow-sm"},Qe=["placeholder"],We={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Xe={class:"space-y-2 group"},Ze={class:"relative rounded-lg shadow-sm"},et={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},tt={class:"space-y-2 group"},ot={class:"relative rounded-lg shadow-sm"},at=["placeholder"],it={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},lt=V({__name:"FileManageView",setup(z){function y(r){const n=new Date(r),s=n.getFullYear(),j=(n.getMonth()+1).toString().padStart(2,"0"),R=n.getDate().toString().padStart(2,"0"),Y=n.getHours().toString().padStart(2,"0"),G=n.getMinutes().toString().padStart(2,"0"),J=n.getSeconds().toString().padStart(2,"0");return`${s}-${j}-${R} ${Y}:${G}:${J}`}const{t:i}=N(),a=L("isDarkMode"),b=$([]),d=Q(),p=F(()=>[i("fileManage.headers.code"),i("fileManage.headers.name"),i("fileManage.headers.size"),i("fileManage.headers.description"),i("fileManage.headers.expiration"),i("fileManage.headers.actions")]),g=$({page:1,size:10,total:0,keyword:""}),f=$(!1),c=$({id:null,code:"",prefix:"",suffix:"",expired_at:"",expired_count:null}),C=r=>{c.value={id:r.id,code:r.code,prefix:r.prefix,suffix:r.suffix,expired_at:r.expired_at?r.expired_at.slice(0,16):"",expired_count:r.expired_count},f.value=!0},m=()=>{f.value=!1,c.value={id:null,code:"",prefix:"",suffix:"",expired_at:"",expired_count:null}},H=async()=>{try{await D.updateFile(c.value),await M(),m()}catch(r){const n=r;d.showAlert(n.response?.data?.detail||i("manage.fileManage.updateFailed"),"error")}},K=async r=>{try{await D.deleteAdminFile(r),await M()}catch(n){console.error(i("manage.fileManage.deleteFailed"),n)}},M=async()=>{try{const r=await D.getAdminFileList(g.value);r.detail&&(b.value=r.detail.data,g.value.total=r.detail.total)}catch(r){console.error(i("manage.fileManage.loadFileListFailed"),r)}},q=async r=>{typeof r!="string"&&(r<1||r>O.value||(g.value.page=r,await M()))};M();const O=F(()=>Math.ceil(g.value.total/g.value.size)),U=async()=>{g.value.page=1,await M()};return(r,n)=>(h(),x("div",ce,[e("div",ue,[e("h2",{class:o(["text-2xl font-bold mb-4",[t(a)?"text-white":"text-gray-800"]])},l(t(i)("fileManage.title")),3)]),e("div",{class:o(["mb-6 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between bg-opacity-70 p-4 rounded-lg shadow-sm",[t(a)?"bg-gray-800":"bg-white"]])},[e("div",pe,[e("div",ye,[v(e("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=s=>g.value.keyword=s),onKeyup:X(U,["enter"]),class:o([t(a)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400":"bg-white border-gray-300 text-gray-900 placeholder-gray-400","w-full pl-10 pr-4 py-2.5 rounded-lg border focus:ring-2 focus:ring-indigo-500 focus:border-transparent"]),placeholder:t(i)("fileManage.searchPlaceholder")},null,42,xe),[[w,g.value.keyword]]),u(t(I),{class:o(["absolute left-3 top-3 w-5 h-5",[t(a)?"text-gray-400":"text-gray-500"]])},null,8,["class"])]),e("button",{onClick:U,class:"px-4 py-2.5 rounded-lg inline-flex items-center transition-all duration-200 bg-indigo-600 hover:bg-indigo-700 text-white shadow-sm"},[u(t(I),{class:"w-5 h-5 mr-2"}),k(" "+l(t(i)("common.search")),1)])])],2),u(ie,{title:t(i)("fileManage.allFiles"),headers:p.value},{body:E(()=>[(h(!0),x(S,null,T(b.value,s=>(h(),x("tr",{key:s.id,class:o(["hover:bg-opacity-50 transition-colors duration-200",[t(a)?"hover:bg-gray-700":"hover:bg-gray-50"]])},[e("td",he,[e("div",fe,[e("span",{class:o(["font-medium select-all",[t(a)?"text-white":"text-gray-900"]])},l(s.code),3)])]),e("td",me,[e("div",be,[u(t(Z),{class:o(["w-5 h-5 mr-2 flex-shrink-0",[t(a)?"text-indigo-400":"text-indigo-500"]])},null,8,["class"]),e("span",{class:o(["font-medium truncate max-w-[200px]",[t(a)?"text-white":"text-gray-900"]]),title:s.prefix},l(s.prefix),11,ve),e("div",we,[e("div",_e,l(s.prefix),1)])])]),e("td",ke,[e("span",{class:o(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",[t(a)?"bg-gray-700 text-gray-300":"bg-gray-100 text-gray-800"]])},l(Math.round(s.size/1024/1024*100)/100)+"MB ",3)]),e("td",Me,[e("div",Pe,[e("span",{class:o(["block truncate max-w-[250px]",[t(a)?"text-gray-400":"text-gray-500"]])},l(s.text),3),e("div",Ce,[e("div",$e,l(s.text),1)])])]),e("td",Se,[e("span",{class:o(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",[s.expired_at?t(a)?"bg-yellow-900/30 text-yellow-400":"bg-yellow-100 text-yellow-800":t(a)?"bg-green-900/30 text-green-400":"bg-green-100 text-green-800"]])},l(s.expired_at?y(s.expired_at):t(i)("send.expiration.units.forever")),3)]),e("td",Fe,[e("div",ze,[e("button",{onClick:j=>C(s),class:o(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[t(a)?"bg-blue-900/20 text-blue-400 hover:bg-blue-900/30":"bg-blue-50 text-blue-600 hover:bg-blue-100"]])},[u(t(A),{class:"w-4 h-4 mr-1.5"}),k(" "+l(t(i)("common.edit")),1)],10,je),e("button",{onClick:j=>K(s.id),class:o(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[t(a)?"bg-red-900/20 text-red-400 hover:bg-red-900/30":"bg-red-50 text-red-600 hover:bg-red-100"]])},[u(t(ee),{class:"w-4 h-4 mr-1.5"}),k(" "+l(t(i)("common.delete")),1)],10,De)])])],2))),128))]),footer:E(()=>[u(ge,{"current-page":g.value.page,"page-size":g.value.size,total:g.value.total,onPageChange:q},null,8,["current-page","page-size","total"])]),_:1},8,["title","headers"]),f.value?(h(),x("div",Ve,[e("div",{class:"fixed inset-0 bg-gradient-to-br from-gray-900/90 to-black/90 backdrop-blur-sm transition-opacity duration-300",onClick:m}),e("div",Le,[e("div",Te,[e("div",{class:o(["relative transform overflow-hidden rounded-2xl text-left shadow-2xl transition-all sm:my-8 sm:w-full sm:max-w-xl animate-modal-scale",[t(a)?"bg-gray-800/95 backdrop-blur-md":"bg-white"]])},[e("div",{class:o(["relative px-6 pt-6 pb-4",[t(a)?"bg-gradient-to-r from-gray-800/50 to-gray-700/50":"bg-gradient-to-r from-gray-50 to-white"]])},[e("div",Ue,[e("div",Be,[e("div",{class:o(["p-2 rounded-lg",[t(a)?"bg-indigo-500/10":"bg-indigo-50"]])},[u(t(A),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2),e("h3",{class:o(["text-xl font-semibold leading-6",[t(a)?"text-white":"text-gray-900"]])},l(t(i)("fileManage.editFileInfo")),3)]),e("button",{onClick:m,class:o(["rounded-lg p-2 transition-all duration-200 hover:rotate-90",[t(a)?"text-gray-400 hover:text-white hover:bg-white/10":"text-gray-500 hover:text-gray-700 hover:bg-gray-100"]])},[...n[6]||(n[6]=[e("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)])],2)])],2),e("div",Ee,[e("div",Ae,[e("div",Ie,[e("label",{class:o(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[t(a)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[e("span",null,l(t(i)("fileManage.form.code")),1),e("div",{class:o(["h-px flex-1 transition-colors duration-200",[t(a)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),e("div",He,[v(e("input",{type:"text","onUpdate:modelValue":n[1]||(n[1]=s=>c.value.code=s),class:o(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[t(a)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:t(i)("fileManage.form.codePlaceholder")},null,10,Ke),[[w,c.value.code]]),e("div",qe,[u(t(_),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),e("div",Oe,[e("label",{class:o(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[t(a)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[e("span",null,l(t(i)("fileManage.form.filename")),1),e("div",{class:o(["h-px flex-1 transition-colors duration-200",[t(a)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),e("div",Re,[v(e("input",{type:"text","onUpdate:modelValue":n[2]||(n[2]=s=>c.value.prefix=s),class:o(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[t(a)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:t(i)("fileManage.form.filenamePlaceholder")},null,10,Ye),[[w,c.value.prefix]]),e("div",Ge,[u(t(_),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),e("div",Je,[e("label",{class:o(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[t(a)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[e("span",null,l(t(i)("fileManage.form.suffix")),1),e("div",{class:o(["h-px flex-1 transition-colors duration-200",[t(a)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),e("div",Ne,[v(e("input",{type:"text","onUpdate:modelValue":n[3]||(n[3]=s=>c.value.suffix=s),class:o(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[t(a)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:t(i)("fileManage.form.suffixPlaceholder")},null,10,Qe),[[w,c.value.suffix]]),e("div",We,[u(t(_),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),e("div",Xe,[e("label",{class:o(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[t(a)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[e("span",null,l(t(i)("send.expiration.label")),1),e("div",{class:o(["h-px flex-1 transition-colors duration-200",[t(a)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),e("div",Ze,[v(e("input",{type:"datetime-local","onUpdate:modelValue":n[4]||(n[4]=s=>c.value.expired_at=s),class:o(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[t(a)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]])},null,2),[[w,c.value.expired_at]]),e("div",et,[u(t(_),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),e("div",tt,[e("label",{class:o(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[t(a)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[e("span",null,l(t(i)("fileManage.form.downloadLimit")),1),e("div",{class:o(["h-px flex-1 transition-colors duration-200",[t(a)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),e("div",ot,[v(e("input",{type:"number","onUpdate:modelValue":n[5]||(n[5]=s=>c.value.expired_count=s),class:o(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[t(a)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:t(i)("fileManage.form.downloadLimitPlaceholder")},null,10,at),[[w,c.value.expired_count]]),e("div",it,[u(t(_),{class:o(["w-5 h-5",[t(a)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])])])]),e("div",{class:o(["flex items-center justify-end gap-3 px-6 py-4 border-t bg-gradient-to-b",[t(a)?"border-gray-700/50 from-gray-800/50 to-gray-800":"border-gray-200 from-gray-50 to-white"]])},[e("button",{onClick:m,class:o(["inline-flex items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200",[t(a)?"bg-gray-700/50 text-gray-300 hover:bg-gray-600/50 hover:text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},l(t(i)("common.cancel")),3),e("button",{onClick:H,class:"inline-flex items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200 bg-gradient-to-r from-indigo-600 to-indigo-500 hover:from-indigo-500 hover:to-indigo-600 text-white shadow-lg shadow-indigo-500/25 hover:shadow-indigo-500/35"},[u(t(_),{class:"w-4 h-4 mr-2"}),k(" "+l(t(i)("fileManage.saveChanges")),1)])],2)],2)])])])):W("",!0)]))}});export{lt as default}; diff --git a/themes/2024/assets/FileManageView-Rc6CCZED.js b/themes/2024/assets/FileManageView-Rc6CCZED.js deleted file mode 100644 index b3252db..0000000 --- a/themes/2024/assets/FileManageView-Rc6CCZED.js +++ /dev/null @@ -1,26 +0,0 @@ -import{c as w,d as N,r as M,u as R,f as U,a as u,b as t,l as Y,n as i,h as e,i as G,m as x,g as l,v as y,M as J,x as h,F as S,s as z,t as g,N as V,e as p}from"./index-B-Ka-o3f.js";import{F as O}from"./file-ExORVwAL.js";import{T as Q}from"./trash-McEm8LQt.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const f=w("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const W=w("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const X=w("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const L=w("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const T=w("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),Z={class:"p-6 overflow-y-auto custom-scrollbar"},tt={class:"mb-8"},et={class:"flex flex-1 gap-4 w-full sm:w-auto"},ot={class:"relative flex-1"},st={class:"overflow-x-auto"},it={class:"px-6 py-4 whitespace-nowrap"},at={class:"flex items-center"},rt={class:"px-6 py-4"},nt={class:"flex items-center group relative"},lt=["title"],dt={class:"absolute left-0 -top-2 -translate-y-full opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none"},gt={class:"bg-gray-900 text-white text-sm rounded px-2 py-1 max-w-xs break-all"},ct={class:"px-6 py-4 whitespace-nowrap"},ut={class:"px-6 py-4"},pt={class:"group relative"},xt={class:"absolute left-0 -top-2 -translate-y-full opacity-0 group-hover:opacity-100 transition-opacity duration-200 pointer-events-none z-10"},yt={class:"bg-gray-900 text-white text-sm rounded px-2 py-1 max-w-xs break-all"},ht={class:"px-6 py-4 whitespace-nowrap"},ft={class:"px-6 py-4 whitespace-nowrap text-right text-sm font-medium"},bt={class:"flex items-center space-x-2"},mt=["onClick"],vt=["onClick"],wt={class:"flex items-center space-x-2"},_t=["disabled"],kt={class:"flex items-center space-x-1"},Ct=["onClick"],Mt=["disabled"],St={key:0,class:"fixed inset-0 z-50","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true"},Ft={class:"fixed inset-0 z-10 overflow-y-auto"},jt={class:"flex min-h-full items-center justify-center p-4 text-center sm:p-0"},zt={class:"flex items-center justify-between"},Vt={class:"flex items-center space-x-3"},$t={class:"px-6 py-5"},Dt={class:"grid gap-6"},Ut={class:"space-y-2 group"},Lt={class:"relative rounded-lg shadow-sm"},Tt={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Bt={class:"space-y-2 group"},At={class:"relative rounded-lg shadow-sm"},Et={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Pt={class:"space-y-2 group"},Ht={class:"relative rounded-lg shadow-sm"},Kt={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},qt={class:"space-y-2 group"},It={class:"relative rounded-lg shadow-sm"},Nt={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Rt={class:"space-y-2 group"},Yt={class:"relative rounded-lg shadow-sm"},Gt={class:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none transition-opacity duration-200 opacity-0 group-focus-within:opacity-100"},Xt=N({__name:"FileManageView",setup(Jt){function B(r){const o=new Date(r),a=o.getFullYear(),c=(o.getMonth()+1).toString().padStart(2,"0"),k=o.getDate().toString().padStart(2,"0"),C=o.getHours().toString().padStart(2,"0"),v=o.getMinutes().toString().padStart(2,"0"),I=o.getSeconds().toString().padStart(2,"0");return`${a}-${c}-${k} ${C}:${v}:${I}`}const s=G("isDarkMode"),$=M([]),A=R(),E=["取件码","名称","大小","描述","过期时间","操作"],n=M({page:1,size:10,total:0,keyword:""}),F=M(!1),d=M({id:null,code:"",prefix:"",suffix:"",expired_at:"",expired_count:null}),P=r=>{d.value={id:r.id,code:r.code,prefix:r.prefix,suffix:r.suffix,expired_at:r.expired_at?r.expired_at.slice(0,16):"",expired_count:r.expired_count},F.value=!0},_=()=>{F.value=!1,d.value={id:null,code:"",prefix:"",suffix:"",expired_at:"",expired_count:null}},H=async()=>{try{await V.updateFile(d.value),await b(),_()}catch(r){const o=r;A.showAlert(o.response?.data?.detail||"更新失败","error")}},K=async r=>{try{await V.deleteAdminFile(r),await b()}catch(o){console.error("删除失败:",o)}},b=async()=>{try{const r=await V.getAdminFileList(n.value);r.detail&&($.value=r.detail.data,n.value.total=r.detail.total)}catch(r){console.error("加载文件列表失败:",r)}},j=async r=>{typeof r!="string"&&(r<1||r>m.value||(n.value.page=r,await b()))};b();const m=U(()=>Math.ceil(n.value.total/n.value.size)),q=U(()=>{const r=n.value.page,o=m.value,a=2,c=[];c.push(1);const k=Math.max(2,r-a),C=Math.min(o-1,r+a);k>2&&c.push("...");for(let v=k;v<=C;v++)c.push(v);return C1&&c.push(o),c}),D=async()=>{n.value.page=1,await b()};return(r,o)=>(p(),u("div",Z,[t("div",tt,[t("h2",{class:i(["text-2xl font-bold mb-4",[e(s)?"text-white":"text-gray-800"]])}," 文件管理 ",2)]),t("div",{class:i(["mb-6 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between bg-opacity-70 p-4 rounded-lg shadow-sm",[e(s)?"bg-gray-800":"bg-white"]])},[t("div",et,[t("div",ot,[x(t("input",{type:"text","onUpdate:modelValue":o[0]||(o[0]=a=>n.value.keyword=a),onKeyup:J(D,["enter"]),class:i([e(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400":"bg-white border-gray-300 text-gray-900 placeholder-gray-400","w-full pl-10 pr-4 py-2.5 rounded-lg border focus:ring-2 focus:ring-indigo-500 focus:border-transparent"]),placeholder:"搜索文件名称、描述..."},null,34),[[y,n.value.keyword]]),l(e(T),{class:i(["absolute left-3 top-3 w-5 h-5",[e(s)?"text-gray-400":"text-gray-500"]])},null,8,["class"])]),t("button",{onClick:D,class:"px-4 py-2.5 rounded-lg inline-flex items-center transition-all duration-200 bg-indigo-600 hover:bg-indigo-700 text-white shadow-sm"},[l(e(T),{class:"w-5 h-5 mr-2"}),o[8]||(o[8]=h(" 搜索 ",-1))])])],2),t("div",{class:i(["rounded-lg shadow-sm overflow-hidden transition-all duration-300",[e(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[t("div",{class:i(["px-6 py-4 border-b",[e(s)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:i(["text-lg font-medium",[e(s)?"text-white":"text-gray-800"]])}," 所有文件 ",2)],2),t("div",st,[t("table",{class:i(["min-w-full divide-y",[e(s)?"divide-gray-700":"divide-gray-200"]])},[t("thead",{class:i([e(s)?"bg-gray-900/50":"bg-gray-50"])},[t("tr",null,[(p(),u(S,null,z(E,a=>t("th",{key:a,class:i(["px-6 py-3.5 text-left text-xs font-medium uppercase tracking-wider",[e(s)?"text-gray-400":"text-gray-500"]])},g(a),3)),64))])],2),t("tbody",{class:i([e(s)?"bg-gray-800/50 divide-y divide-gray-700":"bg-white divide-y divide-gray-200"])},[(p(!0),u(S,null,z($.value,a=>(p(),u("tr",{key:a.id,class:i(["hover:bg-opacity-50 transition-colors duration-200",[e(s)?"hover:bg-gray-700":"hover:bg-gray-50"]])},[t("td",it,[t("div",at,[t("span",{class:i(["font-medium select-all",[e(s)?"text-white":"text-gray-900"]])},g(a.code),3)])]),t("td",rt,[t("div",nt,[l(e(O),{class:i(["w-5 h-5 mr-2 flex-shrink-0",[e(s)?"text-indigo-400":"text-indigo-500"]])},null,8,["class"]),t("span",{class:i(["font-medium truncate max-w-[200px]",[e(s)?"text-white":"text-gray-900"]]),title:a.prefix},g(a.prefix),11,lt),t("div",dt,[t("div",gt,g(a.prefix),1)])])]),t("td",ct,[t("span",{class:i(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",[e(s)?"bg-gray-700 text-gray-300":"bg-gray-100 text-gray-800"]])},g(Math.round(a.size/1024/1024*100)/100)+"MB ",3)]),t("td",ut,[t("div",pt,[t("span",{class:i(["block truncate max-w-[250px]",[e(s)?"text-gray-400":"text-gray-500"]])},g(a.text),3),t("div",xt,[t("div",yt,g(a.text),1)])])]),t("td",ht,[t("span",{class:i(["inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",[a.expired_at?e(s)?"bg-yellow-900/30 text-yellow-400":"bg-yellow-100 text-yellow-800":e(s)?"bg-green-900/30 text-green-400":"bg-green-100 text-green-800"]])},g(a.expired_at?B(a.expired_at):"永久"),3)]),t("td",ft,[t("div",bt,[t("button",{onClick:c=>P(a),class:i(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[e(s)?"bg-blue-900/20 text-blue-400 hover:bg-blue-900/30":"bg-blue-50 text-blue-600 hover:bg-blue-100"]])},[l(e(L),{class:"w-4 h-4 mr-1.5"}),o[9]||(o[9]=h(" 编辑 ",-1))],10,mt),t("button",{onClick:c=>K(a.id),class:i(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[e(s)?"bg-red-900/20 text-red-400 hover:bg-red-900/30":"bg-red-50 text-red-600 hover:bg-red-100"]])},[l(e(Q),{class:"w-4 h-4 mr-1.5"}),o[10]||(o[10]=h(" 删除 ",-1))],10,vt)])])],2))),128))],2)],2)]),t("div",{class:i(["mt-4 flex items-center justify-between px-6 py-4 border-t",[e(s)?"border-gray-700":"border-gray-200"]])},[t("div",{class:i(["flex items-center text-sm",[e(s)?"text-gray-400":"text-gray-500"]])}," 显示第 "+g((n.value.page-1)*n.value.size+1)+" 到 "+g(Math.min(n.value.page*n.value.size,n.value.total))+" 条,共 "+g(n.value.total)+" 条 ",3),t("div",wt,[t("button",{onClick:o[1]||(o[1]=a=>j(n.value.page-1)),disabled:n.value.page===1,class:i(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[e(s)?n.value.page===1?"bg-gray-800 text-gray-600 cursor-not-allowed":"bg-gray-800 text-gray-300 hover:bg-gray-700":n.value.page===1?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},[l(e(X),{class:"w-4 h-4"}),o[11]||(o[11]=h(" 上一页 ",-1))],10,_t),t("div",kt,[(p(!0),u(S,null,z(q.value,a=>(p(),u(S,{key:a},[a!=="..."?(p(),u("button",{key:0,onClick:c=>j(a),class:i(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[n.value.page===a?"bg-indigo-600 text-white":e(s)?"bg-gray-800 text-gray-300 hover:bg-gray-700":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},g(a),11,Ct)):(p(),u("span",{key:1,class:i(["px-2",[e(s)?"text-gray-400":"text-gray-500"]])}," ... ",2))],64))),128))]),t("button",{onClick:o[2]||(o[2]=a=>j(n.value.page+1)),disabled:n.value.page>=m.value,class:i(["inline-flex items-center px-3 py-1.5 rounded-md transition-colors duration-200",[e(s)?n.value.page>=m.value?"bg-gray-800 text-gray-600 cursor-not-allowed":"bg-gray-800 text-gray-300 hover:bg-gray-700":n.value.page>=m.value?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])},[o[12]||(o[12]=h(" 下一页 ",-1)),l(e(W),{class:"w-4 h-4"})],10,Mt)])],2)],2),F.value?(p(),u("div",St,[t("div",{class:"fixed inset-0 bg-gradient-to-br from-gray-900/90 to-black/90 backdrop-blur-sm transition-opacity duration-300",onClick:_}),t("div",Ft,[t("div",jt,[t("div",{class:i(["relative transform overflow-hidden rounded-2xl text-left shadow-2xl transition-all sm:my-8 sm:w-full sm:max-w-xl animate-modal-scale",[e(s)?"bg-gray-800/95 backdrop-blur-md":"bg-white"]])},[t("div",{class:i(["relative px-6 pt-6 pb-4",[e(s)?"bg-gradient-to-r from-gray-800/50 to-gray-700/50":"bg-gradient-to-r from-gray-50 to-white"]])},[t("div",zt,[t("div",Vt,[t("div",{class:i(["p-2 rounded-lg",[e(s)?"bg-indigo-500/10":"bg-indigo-50"]])},[l(e(L),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2),t("h3",{class:i(["text-xl font-semibold leading-6",[e(s)?"text-white":"text-gray-900"]])}," 编辑文件信息 ",2)]),t("button",{onClick:_,class:i(["rounded-lg p-2 transition-all duration-200 hover:rotate-90",[e(s)?"text-gray-400 hover:text-white hover:bg-white/10":"text-gray-500 hover:text-gray-700 hover:bg-gray-100"]])},o[13]||(o[13]=[t("svg",{class:"h-5 w-5",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),2)])],2),t("div",$t,[t("div",Dt,[t("div",Ut,[t("label",{class:i(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[e(s)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[o[14]||(o[14]=t("span",null,"取件码",-1)),t("div",{class:i(["h-px flex-1 transition-colors duration-200",[e(s)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),t("div",Lt,[x(t("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=a=>d.value.code=a),class:i(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[e(s)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:"输入取件码"},null,2),[[y,d.value.code]]),t("div",Tt,[l(e(f),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),t("div",Bt,[t("label",{class:i(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[e(s)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[o[15]||(o[15]=t("span",null,"文件名称",-1)),t("div",{class:i(["h-px flex-1 transition-colors duration-200",[e(s)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),t("div",At,[x(t("input",{type:"text","onUpdate:modelValue":o[4]||(o[4]=a=>d.value.prefix=a),class:i(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[e(s)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:"输入文件名称"},null,2),[[y,d.value.prefix]]),t("div",Et,[l(e(f),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),t("div",Pt,[t("label",{class:i(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[e(s)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[o[16]||(o[16]=t("span",null,"文件后缀",-1)),t("div",{class:i(["h-px flex-1 transition-colors duration-200",[e(s)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),t("div",Ht,[x(t("input",{type:"text","onUpdate:modelValue":o[5]||(o[5]=a=>d.value.suffix=a),class:i(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[e(s)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:"输入文件后缀"},null,2),[[y,d.value.suffix]]),t("div",Kt,[l(e(f),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),t("div",qt,[t("label",{class:i(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[e(s)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[o[17]||(o[17]=t("span",null,"过期时间",-1)),t("div",{class:i(["h-px flex-1 transition-colors duration-200",[e(s)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),t("div",It,[x(t("input",{type:"datetime-local","onUpdate:modelValue":o[6]||(o[6]=a=>d.value.expired_at=a),class:i(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[e(s)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]])},null,2),[[y,d.value.expired_at]]),t("div",Nt,[l(e(f),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])]),t("div",Rt,[t("label",{class:i(["text-sm font-medium flex items-center space-x-2 transition-colors duration-200",[e(s)?"text-gray-300 group-focus-within:text-indigo-400":"text-gray-700 group-focus-within:text-indigo-600"]])},[o[18]||(o[18]=t("span",null,"下载次数限制",-1)),t("div",{class:i(["h-px flex-1 transition-colors duration-200",[e(s)?"bg-gray-700 group-focus-within:bg-indigo-500/50":"bg-gray-200 group-focus-within:bg-indigo-500/30"]])},null,2)],2),t("div",Yt,[x(t("input",{type:"number","onUpdate:modelValue":o[7]||(o[7]=a=>d.value.expired_count=a),class:i(["block w-full rounded-lg border-0 py-2.5 pl-4 pr-10 transition-all duration-200 focus:ring-2 focus:ring-inset sm:text-sm",[e(s)?"bg-gray-700/50 text-white placeholder-gray-400 focus:ring-indigo-500/50":"bg-gray-50 text-gray-900 placeholder-gray-400 focus:ring-indigo-500"]]),placeholder:"输入下载次数限制"},null,2),[[y,d.value.expired_count]]),t("div",Gt,[l(e(f),{class:i(["w-5 h-5",[e(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])])])])])]),t("div",{class:i(["flex items-center justify-end gap-3 px-6 py-4 border-t bg-gradient-to-b",[e(s)?"border-gray-700/50 from-gray-800/50 to-gray-800":"border-gray-200 from-gray-50 to-white"]])},[t("button",{onClick:_,class:i(["inline-flex items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200",[e(s)?"bg-gray-700/50 text-gray-300 hover:bg-gray-600/50 hover:text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"]])}," 取消 ",2),t("button",{onClick:H,class:"inline-flex items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-all duration-200 bg-gradient-to-r from-indigo-600 to-indigo-500 hover:from-indigo-500 hover:to-indigo-600 text-white shadow-lg shadow-indigo-500/25 hover:shadow-indigo-500/35"},[l(e(f),{class:"w-4 h-4 mr-2"}),o[19]||(o[19]=h(" 保存更改 ",-1))])],2)],2)])])])):Y("",!0)]))}});export{Xt as default}; diff --git a/themes/2024/assets/LoginView-BE933Oxi.js b/themes/2024/assets/LoginView-BE933Oxi.js deleted file mode 100644 index d734f16..0000000 --- a/themes/2024/assets/LoginView-BE933Oxi.js +++ /dev/null @@ -1 +0,0 @@ -import{H as y,r as c,Q as u,f as b,d as w,u as x,a as h,b as e,n as d,h as i,i as S,g as A,j as k,m as I,v as D,x as N,t as T,R as _,A as M,e as O,_ as E}from"./index-B-Ka-o3f.js";import{B as V}from"./box-CCCmbUYf.js";const j=y("admin",()=>{const p=c(localStorage.getItem(u.ADMIN_PASSWORD)||""),a=c(localStorage.getItem(u.TOKEN)||""),s=c(!1),l=c(null),n=b(()=>s.value&&!!a.value),f=o=>{p.value=o,localStorage.setItem(u.ADMIN_PASSWORD,o)},m=o=>{a.value=o,localStorage.setItem(u.TOKEN,o)},g=o=>{l.value=o,s.value=!0,m(o.token)};return{adminPassword:p,token:a,isLoggedIn:s,userInfo:l,isAuthenticated:n,updateAdminPassword:f,setToken:m,setUserInfo:g,login:o=>{g(o)},logout:()=>{p.value="",a.value="",s.value=!1,l.value=null,localStorage.removeItem(u.ADMIN_PASSWORD),localStorage.removeItem(u.TOKEN)},initAuth:()=>{const o=localStorage.getItem(u.TOKEN);o&&(a.value=o,s.value=!0)}}}),R=j,B={class:"mx-auto h-16 w-16 relative"},K={class:"rounded-md shadow-sm -space-y-px"},P=["disabled"],L=w({__name:"LoginView",setup(p){const a=x(),s=c(""),l=c(!1),n=S("isDarkMode"),f=R(),m=()=>{let r=!0;return s.value?s.value.length<6&&(a.showAlert("密码长度至少为6位","error"),r=!1):(a.showAlert("无效的密码","error"),r=!1),r},g=M(),v=async()=>{if(m()){l.value=!0;try{const r=await _.login(s.value);r.detail?.token?(f.setToken(r.detail.token),g.push("/admin")):a.showAlert("登录失败:未获取到有效令牌","error")}catch(r){const t=r&&typeof r=="object"&&"response"in r&&r.response?.data?.detail||"登录失败";a.showAlert(t,"error")}finally{l.value=!1}}};return(r,t)=>(O(),h("div",{class:d(["min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8 transition-colors duration-200 relative overflow-hidden",i(n)?"bg-gray-900":"bg-gray-50"])},[t[6]||(t[6]=e("div",{class:"absolute inset-0 z-0"},[e("div",{class:"cyber-grid"}),e("div",{class:"floating-particles"})],-1)),e("div",{class:d(["max-w-md w-full space-y-8 backdrop-blur-lg bg-opacity-20 p-8 rounded-xl border border-opacity-20",[i(n)?"bg-gray-800 border-gray-600":"bg-white/70 border-gray-200"]])},[e("div",null,[e("div",B,[t[1]||(t[1]=e("div",{class:"absolute inset-0 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full animate-spin-slow"},null,-1)),t[2]||(t[2]=e("div",{class:"absolute -inset-2 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full opacity-50 blur-md animate-pulse"},null,-1)),e("div",{class:d(["absolute inset-1 rounded-full flex items-center justify-center",i(n)?"bg-gray-800":"bg-white"])},[A(i(V),{class:d(["h-8 w-8",i(n)?"text-cyan-400":"text-cyan-600"])},null,8,["class"])],2)]),e("h2",{class:d(["mt-6 text-center text-3xl font-extrabold",i(n)?"text-white":"text-gray-900"])}," 登录 ",2)]),e("form",{class:"mt-8 space-y-6",onSubmit:k(v,["prevent"])},[t[5]||(t[5]=e("input",{type:"hidden",name:"remember",value:"true"},null,-1)),e("div",K,[e("div",null,[t[3]||(t[3]=e("label",{for:"password",class:"sr-only"},"密码",-1)),I(e("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",required:"","onUpdate:modelValue":t[0]||(t[0]=o=>s.value=o),class:d(["appearance-none rounded-t-md relative block w-full px-4 py-3 border transition-all duration-200 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-cyan-500 focus:border-cyan-500 focus:z-10 sm:text-sm backdrop-blur-sm",i(n)?"bg-gray-800/50 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"bg-white/50 border-gray-300 text-gray-900 hover:border-gray-400"]),placeholder:"密码"},null,2),[[D,s.value]])])]),e("div",null,[e("button",{type:"submit",class:d(["group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white transition-all duration-300 transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 shadow-lg hover:shadow-cyan-500/50",i(n)?"bg-gradient-to-r from-cyan-500 to-purple-500 hover:from-cyan-600 hover:to-purple-600":"bg-gradient-to-r from-cyan-600 to-purple-600 hover:from-cyan-700 hover:to-purple-700",l.value?"opacity-75 cursor-not-allowed":""]),disabled:l.value},[t[4]||(t[4]=e("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},null,-1)),N(" "+T(l.value?"登录中...":"登录"),1)],10,P)])],32)],2)],2))}}),C=E(L,[["__scopeId","data-v-894571a2"]]);export{C as default}; diff --git a/themes/2024/assets/LoginView-BTZd0llH.js b/themes/2024/assets/LoginView-BTZd0llH.js new file mode 100644 index 0000000..3157aaa --- /dev/null +++ b/themes/2024/assets/LoginView-BTZd0llH.js @@ -0,0 +1 @@ +import{K as y,r as c,V as u,g as b,d as w,l as x,a as h,o as S,b as e,n as d,e as i,i as A,k,h as I,p as D,v as N,y as T,t as _,W as M,B as O,_ as V}from"./index-BQT7CCpA.js";import{B as E}from"./box-DhNypZwK.js";const B=y("admin",()=>{const p=c(localStorage.getItem(u.ADMIN_PASSWORD)||""),a=c(localStorage.getItem(u.TOKEN)||""),s=c(!1),l=c(null),n=b(()=>s.value&&!!a.value),f=o=>{p.value=o,localStorage.setItem(u.ADMIN_PASSWORD,o)},g=o=>{a.value=o,localStorage.setItem(u.TOKEN,o)},m=o=>{l.value=o,s.value=!0,g(o.token)};return{adminPassword:p,token:a,isLoggedIn:s,userInfo:l,isAuthenticated:n,updateAdminPassword:f,setToken:g,setUserInfo:m,login:o=>{m(o)},logout:()=>{p.value="",a.value="",s.value=!1,l.value=null,localStorage.removeItem(u.ADMIN_PASSWORD),localStorage.removeItem(u.TOKEN)},initAuth:()=>{const o=localStorage.getItem(u.TOKEN);o&&(a.value=o,s.value=!0)}}}),K=B,j={class:"mx-auto h-16 w-16 relative"},P={class:"rounded-md shadow-sm -space-y-px"},R=["disabled"],L=w({__name:"LoginView",setup(p){const a=x(),s=c(""),l=c(!1),n=A("isDarkMode"),f=K(),g=()=>{let r=!0;return s.value?s.value.length<6&&(a.showAlert("密码长度至少为6位","error"),r=!1):(a.showAlert("无效的密码","error"),r=!1),r},m=O(),v=async()=>{if(g()){l.value=!0;try{const r=await M.login(s.value);r.detail?.token?(f.setToken(r.detail.token),m.push("/admin")):a.showAlert("登录失败:未获取到有效令牌","error")}catch(r){const t=r&&typeof r=="object"&&"response"in r&&r.response?.data?.detail||"登录失败";a.showAlert(t,"error")}finally{l.value=!1}}};return(r,t)=>(S(),h("div",{class:d(["min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8 transition-colors duration-200 relative overflow-hidden",i(n)?"bg-gray-900":"bg-gray-50"])},[t[6]||(t[6]=e("div",{class:"absolute inset-0 z-0"},[e("div",{class:"cyber-grid"}),e("div",{class:"floating-particles"})],-1)),e("div",{class:d(["max-w-md w-full space-y-8 backdrop-blur-lg bg-opacity-20 p-8 rounded-xl border border-opacity-20",[i(n)?"bg-gray-800 border-gray-600":"bg-white/70 border-gray-200"]])},[e("div",null,[e("div",j,[t[1]||(t[1]=e("div",{class:"absolute inset-0 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full animate-spin-slow"},null,-1)),t[2]||(t[2]=e("div",{class:"absolute -inset-2 bg-gradient-to-r from-cyan-500 via-purple-500 to-pink-500 rounded-full opacity-50 blur-md animate-pulse"},null,-1)),e("div",{class:d(["absolute inset-1 rounded-full flex items-center justify-center",i(n)?"bg-gray-800":"bg-white"])},[k(i(E),{class:d(["h-8 w-8",i(n)?"text-cyan-400":"text-cyan-600"])},null,8,["class"])],2)]),e("h2",{class:d(["mt-6 text-center text-3xl font-extrabold",i(n)?"text-white":"text-gray-900"])}," 登录 ",2)]),e("form",{class:"mt-8 space-y-6",onSubmit:I(v,["prevent"])},[t[5]||(t[5]=e("input",{type:"hidden",name:"remember",value:"true"},null,-1)),e("div",P,[e("div",null,[t[3]||(t[3]=e("label",{for:"password",class:"sr-only"},"密码",-1)),D(e("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",required:"","onUpdate:modelValue":t[0]||(t[0]=o=>s.value=o),class:d(["appearance-none rounded-t-md relative block w-full px-4 py-3 border transition-all duration-200 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-cyan-500 focus:border-cyan-500 focus:z-10 sm:text-sm backdrop-blur-sm",i(n)?"bg-gray-800/50 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"bg-white/50 border-gray-300 text-gray-900 hover:border-gray-400"]),placeholder:"密码"},null,2),[[N,s.value]])])]),e("div",null,[e("button",{type:"submit",class:d(["group relative w-full flex justify-center py-3 px-4 border border-transparent text-sm font-medium rounded-md text-white transition-all duration-300 transform hover:scale-[1.02] focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500 shadow-lg hover:shadow-cyan-500/50",i(n)?"bg-gradient-to-r from-cyan-500 to-purple-500 hover:from-cyan-600 hover:to-purple-600":"bg-gradient-to-r from-cyan-600 to-purple-600 hover:from-cyan-700 hover:to-purple-700",l.value?"opacity-75 cursor-not-allowed":""]),disabled:l.value},[t[4]||(t[4]=e("span",{class:"absolute left-0 inset-y-0 flex items-center pl-3"},null,-1)),T(" "+_(l.value?"登录中...":"登录"),1)],10,R)])],32)],2)],2))}}),C=V(L,[["__scopeId","data-v-894571a2"]]);export{C as default}; diff --git a/themes/2024/assets/PageHeader-D2CW9nSY.js b/themes/2024/assets/PageHeader-D2CW9nSY.js new file mode 100644 index 0000000..5713c4e --- /dev/null +++ b/themes/2024/assets/PageHeader-D2CW9nSY.js @@ -0,0 +1,21 @@ +import{c as Y,d as G,I as N,r as y,J as Z,f as ne,F as oe,K as ie,g as B,U as x,l as se,a as le,o as ue,b as H,k as ce,e as J,n as de,i as fe,t as he,_ as ve}from"./index-BQT7CCpA.js";import{B as ge}from"./box-DhNypZwK.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const xe=Y("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const He=Y("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ge=Y("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/*! + * qrcode.vue v3.6.0 + * A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3 + * © 2017-PRESENT @scopewu(https://github.com/scopewu) + * MIT License. + */var D=function(){return D=Object.assign||function(c){for(var u,l=1,f=arguments.length;la.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=e*4+17;for(var s=[],i=0;i7)throw new RangeError("Invalid value");var h,p;for(h=r;;h++){var M=a.getNumDataCodewords(h,t)*8,w=v.getTotalBits(e,h);if(w<=M){p=w;break}if(h>=n)throw new RangeError("Data too long")}for(var C=0,R=[a.Ecc.MEDIUM,a.Ecc.QUARTILE,a.Ecc.HIGH];C>>3]|=O<<7-(Q&7)}),new a(h,t,T,s)},a.prototype.getModule=function(e,t){return 0<=e&&e>>9)*1335;var s=(t<<10|r)^21522;f(s>>>15==0);for(var n=0;n<=5;n++)this.setFunctionModule(8,n,l(s,n));this.setFunctionModule(8,7,l(s,6)),this.setFunctionModule(8,8,l(s,7)),this.setFunctionModule(7,8,l(s,8));for(var n=9;n<15;n++)this.setFunctionModule(14-n,8,l(s,n));for(var n=0;n<8;n++)this.setFunctionModule(this.size-1-n,8,l(s,n));for(var n=8;n<15;n++)this.setFunctionModule(8,this.size-15+n,l(s,n));this.setFunctionModule(8,this.size-8,!0)},a.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;f(r>>>18==0);for(var t=0;t<18;t++){var n=l(r,t),s=this.size-11+t%3,i=Math.floor(t/3);this.setFunctionModule(s,i,n),this.setFunctionModule(i,s,n)}}},a.prototype.drawFinderPattern=function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var s=Math.max(Math.abs(n),Math.abs(r)),i=e+n,h=t+r;0<=i&&i=h)&&E.push(b[S])})},C=0;C=1;r-=2){r==6&&(r=5);for(var n=0;n>>3],7-(t&7)),t++)}}f(t==e.length*8)},a.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t5&&e++):(this.finderPenaltyAddHistory(n,s),r||(e+=this.finderPenaltyCountPatterns(s)*a.PENALTY_N3),r=this.modules[t][i],n=1);e+=this.finderPenaltyTerminateAndCount(r,n,s)*a.PENALTY_N3}for(var i=0;i5&&e++):(this.finderPenaltyAddHistory(h,s),r||(e+=this.finderPenaltyCountPatterns(s)*a.PENALTY_N3),r=this.modules[t][i],h=1);e+=this.finderPenaltyTerminateAndCount(r,h,s)*a.PENALTY_N3}for(var t=0;ta.MAX_VERSION)throw new RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return f(208<=t&&t<=29648),t},a.getNumDataCodewords=function(e,t){return Math.floor(a.getNumRawDataModules(e)/8)-a.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*a.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]},a.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var t=[],r=0;r>>8||t>>>8)throw new RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(t>>>n&1)*e;return f(r>>>8==0),r},a.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];f(t<=this.size*3);var r=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(r&&e[0]>=t*4&&e[6]>=t?1:0)+(r&&e[6]>=t*4&&e[0]>=t?1:0)},a.prototype.finderPenaltyTerminateAndCount=function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)},a.prototype.finderPenaltyAddHistory=function(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)},a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],a.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],a})();o.QrCode=c;function u(a,e,t){if(e<0||e>31||a>>>e)throw new RangeError("Value out of range");for(var r=e-1;r>=0;r--)t.push(a>>>r&1)}function l(a,e){return(a>>>e&1)!=0}function f(a){if(!a)throw new Error("Assertion error")}var v=(function(){function a(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return a.makeBytes=function(e){for(var t=[],r=0,n=e;r=1<=c.y+c.h?u:u.map(function(f,v){return v=c.x+c.w?f:!1})})}var V={value:{type:String,required:!0,default:""},size:{type:Number,default:100},level:{type:String,default:K,validator:function(o){return q(o)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:0},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(o){return["linear","radial"].indexOf(o)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"}},me=D(D({},V),{renderAs:{type:String,required:!1,default:"canvas",validator:function(o){return["canvas","svg"].indexOf(o)>-1}}}),Ce=G({name:"QRCodeSvg",props:V,setup:function(o){var c=y(0),u=y(""),l,f=function(){var a=o.value,e=o.level,t=o.margin,r=t>>>0,n=q(e)?e:K,s=U.QrCode.encodeText(a,W[n]).getModules();if(c.value=s.length+r*2,o.imageSettings.src){var i=ee(s,o.size,r,o.imageSettings);l={x:i.x+r,y:i.y+r,width:i.w,height:i.h},i.excavation&&(s=te(s,i.excavation))}u.value=j(s,r)},v=function(){if(!o.gradient)return null;var a=o.gradientType==="linear"?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return N(o.gradientType==="linear"?"linearGradient":"radialGradient",D({id:"qr-gradient"},a),[N("stop",{offset:"0%",style:{stopColor:o.gradientStartColor}}),N("stop",{offset:"100%",style:{stopColor:o.gradientEndColor}})])};return f(),Z(f),function(){return N("svg",{width:o.size,height:o.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(c.value," ").concat(c.value)},[N("defs",{},[v()]),N("rect",{width:"100%",height:"100%",fill:o.background}),N("path",{fill:o.gradient?"url(#qr-gradient)":o.foreground,d:u.value}),o.imageSettings.src&&N("image",D({href:o.imageSettings.src},l))])}}}),we=G({name:"QRCodeCanvas",props:V,setup:function(o,c){var u=y(null),l=y(null),f=function(){var a=o.value,e=o.level,t=o.size,r=o.margin,n=o.background,s=o.foreground,i=o.gradient,h=o.gradientType,p=o.gradientStartColor,M=o.gradientEndColor,w=r>>>0,C=q(e)?e:K,R=u.value;if(R){var m=R.getContext("2d");if(m){var g=U.QrCode.encodeText(a,W[C]).getModules(),E=g.length+w*2,P=l.value,S={x:0,y:0,width:0,height:0},b=o.imageSettings.src&&P!=null&&P.naturalWidth!==0&&P.naturalHeight!==0;if(b){var A=ee(g,o.size,w,o.imageSettings);S={x:A.x+w,y:A.y+w,width:A.w,height:A.h},A.excavation&&(g=te(g,A.excavation))}var k=window.devicePixelRatio||1,L=t/E*k;if(R.height=R.width=t*k,m.scale(L,L),m.fillStyle=n,m.fillRect(0,0,E,E),i){var I=void 0;h==="linear"?I=m.createLinearGradient(0,0,E,E):I=m.createRadialGradient(E/2,E/2,0,E/2,E/2,E/2),I.addColorStop(0,p),I.addColorStop(1,M),m.fillStyle=I}else m.fillStyle=s;pe?m.fill(new Path2D(j(g,w))):g.forEach(function(T,O){T.forEach(function(Q,X){Q&&m.fillRect(X+w,O+w,1,1)})}),b&&m.drawImage(P,S.x,S.y,S.width,S.height)}}};ne(f),Z(f);var v=c.attrs.style;return function(){return N(oe,[N("canvas",D(D({},c.attrs),{ref:u,style:D(D({},v),{width:"".concat(o.size,"px"),height:"".concat(o.size,"px")})})),o.imageSettings.src&&N("img",{ref:l,src:o.imageSettings.src,style:{display:"none"},onLoad:f})])}}}),$e=G({name:"Qrcode",render:function(){var o=this.$props,c=o.renderAs,u=o.value,l=o.size,f=o.margin,v=o.level,a=o.background,e=o.foreground,t=o.imageSettings,r=o.gradient,n=o.gradientType,s=o.gradientStartColor,i=o.gradientEndColor;return N(c==="svg"?Ce:we,{value:u,size:l,margin:f,level:v,background:a,foreground:e,imageSettings:t,gradient:r,gradientType:n,gradientStartColor:s,gradientEndColor:i})},props:me});const Ye=ie("fileData",()=>{const o=y(x.IDLE),c=y({loaded:0,total:0,percentage:0}),u=y(""),l=y(null),f=y(""),v=y(null),a=y(!1),e=y([]),t=y(0),r=y(1),n=y(10),s=y(!1),i=y([]),h=y([]),p=B(()=>o.value===x.UPLOADING),M=B(()=>o.value===x.SUCCESS),w=B(()=>o.value===x.ERROR),C=B(()=>v.value!==null),R=B(()=>C.value&&!a.value),m=B(()=>Math.ceil(t.value/n.value)),g=d=>{o.value=d},E=d=>{c.value=d},P=d=>{u.value=d},S=d=>{l.value=d},b=()=>{o.value=x.IDLE,c.value={loaded:0,total:0,percentage:0},u.value="",l.value=null},A=d=>{f.value=d},k=d=>{v.value=d},L=d=>{a.value=d},I=()=>{f.value="",v.value=null,a.value=!1},T=d=>{e.value=d},O=d=>{e.value.unshift(d),t.value+=1};return{uploadStatus:o,uploadProgress:c,uploadedCode:u,currentFile:l,downloadCode:f,fileInfo:v,isDownloading:a,fileList:e,totalFiles:t,currentPage:r,pageSize:n,isLoadingList:s,isUploading:p,isUploadSuccess:M,isUploadError:w,hasFileInfo:C,canDownload:R,totalPages:m,setUploadStatus:g,setUploadProgress:E,setUploadedCode:P,setCurrentFile:S,resetUpload:b,setDownloadCode:A,setFileInfo:k,setDownloading:L,resetDownload:I,setFileList:T,addFile:O,removeFile:d=>{const _=e.value.findIndex(z=>z.id===d);_>-1&&(e.value.splice(_,1),t.value-=1)},updateFile:(d,_)=>{const z=e.value.findIndex(ae=>ae.id===d);z>-1&&(e.value[z]={...e.value[z],..._})},setTotalFiles:d=>{t.value=d},setCurrentPage:d=>{r.value=d},setPageSize:d=>{n.value=d},setLoadingList:d=>{s.value=d},resetFileList:()=>{e.value=[],t.value=0,r.value=1,s.value=!1},addShareData:d=>{if(P(d.code),d.name){const _={id:d.code,name:d.name,size:0,type:"",uploadTime:new Date().toISOString(),downloadCount:0};O(_)}},receiveData:i,addReceiveData:d=>{i.value.push(d)},removeReceiveData:d=>{const _=i.value.findIndex(z=>z.id===d);_>-1&&i.value.splice(_,1)},deleteReceiveData:d=>{d>-1&&d{i.value=[]},shareData:h,addShareDataRecord:d=>{h.value.push(d)},deleteShareData:d=>{d>-1&&d{h.value=[]}}}),re=async(o,c={})=>{const{successMsg:u="复制成功",errorMsg:l="复制失败,请手动复制",showMsg:f=!0}=c,v=se();try{if(document.hasFocus()&&navigator.clipboard&&navigator.clipboard.writeText)return await navigator.clipboard.writeText(o),f&&v.showAlert(u,"success"),!0;const a=document.createElement("textarea");a.value=o,a.style.position="fixed",a.style.opacity="0",document.body.appendChild(a),a.select();const e=document.execCommand("copy");if(document.body.removeChild(a),e)return f&&v.showAlert(u,"success"),!0;throw new Error("execCommand copy failed")}catch(a){return console.error("复制失败:",a),f&&v.showAlert(l,"error"),!1}},Ke=async o=>{const c=`${window.location.origin}/#/?code=${o}`;return re(c,{successMsg:"取件链接已复制到剪贴板",errorMsg:"复制失败,请手动复制取件链接"})},We=async o=>re(o,{successMsg:"取件码已复制到剪贴板",errorMsg:"复制失败,请手动复制取件码"}),Ee=window.location.origin+"/",qe=(o,c)=>{const u=`wget ${Ee}share/select?code=${o} -O "${c}"`;navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(u).then(()=>{console.log("命令已复制到剪贴板!")}).catch(l=>{console.error("复制失败,使用回退方法:",l),$(u)}):(console.warn("Clipboard API 不可用,使用回退方法。"),$(u))};function $(o){const c=document.createElement("textarea");c.value=o,c.style.position="fixed",document.body.appendChild(c),c.focus(),c.select();try{const u=document.execCommand("copy");console.log("回退复制操作成功:",u),document.hasFocus()&&navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(o):$(o)}catch(u){console.error("回退复制操作失败:",u)}document.body.removeChild(c)}const Me={class:"text-center"},ye={class:"flex justify-center mb-8"},Re={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},Se={class:"rounded-full bg-gray-900 p-2"},Pe=G({__name:"PageHeader",props:{title:{}},emits:["title-click"],setup(o){const c=fe("isDarkMode");return(u,l)=>(ue(),le("div",Me,[H("div",ye,[H("div",Re,[H("div",Se,[ce(J(ge),{class:"w-8 h-8 text-white"})])])]),H("h2",{onClick:l[0]||(l[0]=f=>u.$emit("title-click")),class:de(["text-3xl cursor-pointer font-extrabold text-center mb-6",[J(c)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]])},he(u.title),3)]))}}),Ve=ve(Pe,[["__scopeId","data-v-2a18d8c8"]]);export{xe as C,He as E,Ve as P,$e as Q,Ge as S,qe as a,Ke as b,We as c,re as d,Ye as u}; diff --git a/themes/2024/assets/PageHeader-DV4PCTwD.css b/themes/2024/assets/PageHeader-DV4PCTwD.css new file mode 100644 index 0000000..5e2992d --- /dev/null +++ b/themes/2024/assets/PageHeader-DV4PCTwD.css @@ -0,0 +1 @@ +@keyframes spin-slow-2a18d8c8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin-slow[data-v-2a18d8c8]{animation:spin-slow-2a18d8c8 3s linear infinite} diff --git a/themes/2024/assets/RetrievewFileView-BsjeRxMF.js b/themes/2024/assets/RetrievewFileView-BsjeRxMF.js deleted file mode 100644 index 8106e5a..0000000 --- a/themes/2024/assets/RetrievewFileView-BsjeRxMF.js +++ /dev/null @@ -1,77 +0,0 @@ -import{c as it,d as rr,u as sr,C as ir,r as oe,o as or,D as lr,w as dn,a as le,b as f,g as C,n as T,h as b,i as ar,t as de,j as cr,m as ur,l as Xe,v as pr,k as Ie,y as hr,x as me,T as Tt,A as fr,X as gn,z as dr,F as gr,s as mr,e as ae,B as xr,_ as kr}from"./index-B-Ka-o3f.js";import{u as br,S as wr,C as yr,Q as _r,d as Tr,E as vr}from"./clipboard-Bj3kv5gr.js";import{B as Ar}from"./box-CCCmbUYf.js";import{F as mn}from"./file-ExORVwAL.js";import{H as Er}from"./hard-drive-QraB3QOb.js";import{T as Sr}from"./trash-McEm8LQt.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Rr=it("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Lr=it("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Cr=it("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const xn=it("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);var Ye=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Je={exports:{}},Ir=Je.exports,kn;function Dr(){return kn||(kn=1,function(r,e){(function(n,s){s()})(Ir,function(){function n(c,h){return typeof h>"u"?h={autoBom:!1}:typeof h!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function s(c,h,x){var d=new XMLHttpRequest;d.open("GET",c),d.responseType="blob",d.onload=function(){u(d.response,h,x)},d.onerror=function(){console.error("could not download file")},d.send()}function t(c){var h=new XMLHttpRequest;h.open("HEAD",c,!1);try{h.send()}catch{}return 200<=h.status&&299>=h.status}function l(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(h)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Ye=="object"&&Ye.global===Ye?Ye:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,h,x){var d=o.URL||o.webkitURL,_=document.createElement("a");h=h||c.name||"download",_.download=h,_.rel="noopener",typeof c=="string"?(_.href=c,_.origin===location.origin?l(_):t(_.href)?s(c,h,x):l(_,_.target="_blank")):(_.href=d.createObjectURL(c),setTimeout(function(){d.revokeObjectURL(_.href)},4e4),setTimeout(function(){l(_)},0))}:"msSaveOrOpenBlob"in navigator?function(c,h,x){if(h=h||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,x),h);else if(t(c))s(c,h,x);else{var d=document.createElement("a");d.href=c,d.target="_blank",setTimeout(function(){l(d)})}}:function(c,h,x,d){if(d=d||open("","_blank"),d&&(d.document.title=d.document.body.innerText="downloading..."),typeof c=="string")return s(c,h,x);var _=c.type==="application/octet-stream",v=/constructor/i.test(o.HTMLElement)||o.safari,O=/CriOS\/[\d]+/.test(navigator.userAgent);if((O||_&&v||a)&&typeof FileReader<"u"){var Z=new FileReader;Z.onloadend=function(){var $=Z.result;$=O?$:$.replace(/^data:[^;]*;/,"data:attachment/file;"),d?d.location.href=$:location=$,d=null},Z.readAsDataURL(c)}else{var V=o.URL||o.webkitURL,Q=V.createObjectURL(c);d?d.location=Q:location.href=Q,d=null,setTimeout(function(){V.revokeObjectURL(Q)},4e4)}});o.saveAs=u.saveAs=u,r.exports=u})}(Je)),Je.exports}var Or=Dr();function Mt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var ke=Mt();function On(r){ke=r}var Ue={exec:()=>null};function A(r,e=""){let n=typeof r=="string"?r:r.source,s={replace:(t,l)=>{let o=typeof l=="string"?l:l.source;return o=o.replace(H.caret,"$1"),n=n.replace(t,o),s},getRegex:()=>new RegExp(n,e)};return s}var H={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},Mr=/^(?:[ \t]*(?:\n|$))+/,Nr=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Pr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Fe=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,zr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Nt=/(?:[*+-]|\d{1,9}[.)])/,Mn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Nn=A(Mn).replace(/bull/g,Nt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),$r=A(Mn).replace(/bull/g,Nt).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Pt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ur=/^[^\n]+/,zt=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Fr=A(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",zt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Br=A(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Nt).getRegex(),ot="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",$t=/|$))/,Hr=A("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",$t).replace("tag",ot).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Pn=A(Pt).replace("hr",Fe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ot).getRegex(),Gr=A(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Pn).getRegex(),Ut={blockquote:Gr,code:Nr,def:Fr,fences:Pr,heading:zr,hr:Fe,html:Hr,lheading:Nn,list:Br,newline:Mr,paragraph:Pn,table:Ue,text:Ur},bn=A("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Fe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ot).getRegex(),qr={...Ut,lheading:$r,table:bn,paragraph:A(Pt).replace("hr",Fe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",bn).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ot).getRegex()},Wr={...Ut,html:A(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",$t).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ue,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:A(Pt).replace("hr",Fe).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Nn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},jr=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Zr=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,zn=/^( {2,}|\\)\n(?!\s*$)/,Xr=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Fn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Jr=A(Fn,"u").replace(/punct/g,lt).getRegex(),es=A(Fn,"u").replace(/punct/g,Un).getRegex(),Bn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ts=A(Bn,"gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Ft).replace(/punct/g,lt).getRegex(),ns=A(Bn,"gu").replace(/notPunctSpace/g,Qr).replace(/punctSpace/g,Vr).replace(/punct/g,Un).getRegex(),rs=A("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,$n).replace(/punctSpace/g,Ft).replace(/punct/g,lt).getRegex(),ss=A(/\\(punct)/,"gu").replace(/punct/g,lt).getRegex(),is=A(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),os=A($t).replace("(?:-->|$)","-->").getRegex(),ls=A("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",os).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nt=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,as=A(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",nt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Hn=A(/^!?\[(label)\]\[(ref)\]/).replace("label",nt).replace("ref",zt).getRegex(),Gn=A(/^!?\[(ref)\](?:\[\])?/).replace("ref",zt).getRegex(),cs=A("reflink|nolink(?!\\()","g").replace("reflink",Hn).replace("nolink",Gn).getRegex(),Bt={_backpedal:Ue,anyPunctuation:ss,autolink:is,blockSkip:Kr,br:zn,code:Zr,del:Ue,emStrongLDelim:Jr,emStrongRDelimAst:ts,emStrongRDelimUnd:rs,escape:jr,link:as,nolink:Gn,punctuation:Yr,reflink:Hn,reflinkSearch:cs,tag:ls,text:Xr,url:Ue},us={...Bt,link:A(/^!?\[(label)\]\((.*?)\)/).replace("label",nt).getRegex(),reflink:A(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nt).getRegex()},Lt={...Bt,emStrongRDelimAst:ns,emStrongLDelim:es,url:A(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},wn=r=>hs[r];function ee(r,e){if(e){if(H.escapeTest.test(r))return r.replace(H.escapeReplace,wn)}else if(H.escapeTestNoEncode.test(r))return r.replace(H.escapeReplaceNoEncode,wn);return r}function yn(r){try{r=encodeURI(r).replace(H.percentDecode,"%")}catch{return null}return r}function _n(r,e){let n=r.replace(H.findPipe,(l,o,a)=>{let u=!1,c=o;for(;--c>=0&&a[c]==="\\";)u=!u;return u?"|":" |"}),s=n.split(H.splitPipe),t=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length0?-2:-1}function Tn(r,e,n,s,t){let l=e.href,o=e.title||null,a=r[1].replace(t.other.outputLinkReplace,"$1");s.state.inLink=!0;let u={type:r[0].charAt(0)==="!"?"image":"link",raw:n,href:l,title:o,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,u}function ds(r,e,n){let s=r.match(n.other.indentCodeCompensation);if(s===null)return e;let t=s[1];return e.split(` -`).map(l=>{let o=l.match(n.other.beginningSpace);if(o===null)return l;let[a]=o;return a.length>=t.length?l.slice(t.length):l}).join(` -`)}var rt=class{options;rules;lexer;constructor(r){this.options=r||ke}space(r){let e=this.rules.block.newline.exec(r);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(r){let e=this.rules.block.code.exec(r);if(e){let n=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Oe(n,` -`)}}}fences(r){let e=this.rules.block.fences.exec(r);if(e){let n=e[0],s=ds(n,e[3]||"",this.rules);return{type:"code",raw:n,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:s}}}heading(r){let e=this.rules.block.heading.exec(r);if(e){let n=e[2].trim();if(this.rules.other.endingHash.test(n)){let s=Oe(n,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(n=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(r){let e=this.rules.block.hr.exec(r);if(e)return{type:"hr",raw:Oe(e[0],` -`)}}blockquote(r){let e=this.rules.block.blockquote.exec(r);if(e){let n=Oe(e[0],` -`).split(` -`),s="",t="",l=[];for(;n.length>0;){let o=!1,a=[],u;for(u=0;u1,t={type:"list",raw:"",ordered:s,start:s?+n.slice(0,-1):"",loose:!1,items:[]};n=s?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=s?n:"[*+-]");let l=this.rules.other.listItemRegex(n),o=!1;for(;r;){let u=!1,c="",h="";if(!(e=l.exec(r))||this.rules.block.hr.test(r))break;c=e[0],r=r.substring(c.length);let x=e[2].split(` -`,1)[0].replace(this.rules.other.listReplaceTabs,V=>" ".repeat(3*V.length)),d=r.split(` -`,1)[0],_=!x.trim(),v=0;if(this.options.pedantic?(v=2,h=x.trimStart()):_?v=e[1].length+1:(v=e[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,h=x.slice(v),v+=e[1].length),_&&this.rules.other.blankLine.test(d)&&(c+=d+` -`,r=r.substring(d.length+1),u=!0),!u){let V=this.rules.other.nextBulletRegex(v),Q=this.rules.other.hrRegex(v),$=this.rules.other.fencesBeginRegex(v),I=this.rules.other.headingBeginRegex(v),te=this.rules.other.htmlBeginRegex(v);for(;r;){let ne=r.split(` -`,1)[0],K;if(d=ne,this.options.pedantic?(d=d.replace(this.rules.other.listReplaceNesting," "),K=d):K=d.replace(this.rules.other.tabCharGlobal," "),$.test(d)||I.test(d)||te.test(d)||V.test(d)||Q.test(d))break;if(K.search(this.rules.other.nonSpaceChar)>=v||!d.trim())h+=` -`+K.slice(v);else{if(_||x.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||$.test(x)||I.test(x)||Q.test(x))break;h+=` -`+d}!_&&!d.trim()&&(_=!0),c+=ne+` -`,r=r.substring(ne.length+1),x=K.slice(v)}}t.loose||(o?t.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(o=!0));let O=null,Z;this.options.gfm&&(O=this.rules.other.listIsTask.exec(h),O&&(Z=O[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),t.items.push({type:"list_item",raw:c,task:!!O,checked:Z,loose:!1,text:h,tokens:[]}),t.raw+=c}let a=t.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;t.raw=t.raw.trimEnd();for(let u=0;ux.type==="space"),h=c.length>0&&c.some(x=>this.rules.other.anyLine.test(x.raw));t.loose=h}if(t.loose)for(let u=0;u({text:a,tokens:this.lexer.inline(a),header:!1,align:l.align[u]})));return l}}lheading(r){let e=this.rules.block.lheading.exec(r);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(r){let e=this.rules.block.paragraph.exec(r);if(e){let n=e[1].charAt(e[1].length-1)===` -`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:n,tokens:this.lexer.inline(n)}}}text(r){let e=this.rules.block.text.exec(r);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(r){let e=this.rules.inline.escape.exec(r);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(r){let e=this.rules.inline.tag.exec(r);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(r){let e=this.rules.inline.link.exec(r);if(e){let n=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;let l=Oe(n.slice(0,-1),"\\");if((n.length-l.length)%2===0)return}else{let l=fs(e[2],"()");if(l===-2)return;if(l>-1){let o=(e[0].indexOf("!")===0?5:4)+e[1].length+l;e[2]=e[2].substring(0,l),e[0]=e[0].substring(0,o).trim(),e[3]=""}}let s=e[2],t="";if(this.options.pedantic){let l=this.rules.other.pedanticHrefTitle.exec(s);l&&(s=l[1],t=l[3])}else t=e[3]?e[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?s=s.slice(1):s=s.slice(1,-1)),Tn(e,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:t&&t.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(r,e){let n;if((n=this.rules.inline.reflink.exec(r))||(n=this.rules.inline.nolink.exec(r))){let s=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),t=e[s.toLowerCase()];if(!t){let l=n[0].charAt(0);return{type:"text",raw:l,text:l}}return Tn(n,t,n[0],this.lexer,this.rules)}}emStrong(r,e,n=""){let s=this.rules.inline.emStrongLDelim.exec(r);if(!(!s||s[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[2])||!n||this.rules.inline.punctuation.exec(n))){let t=[...s[0]].length-1,l,o,a=t,u=0,c=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,e=e.slice(-1*r.length+t);(s=c.exec(e))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(o=[...l].length,s[3]||s[4]){a+=o;continue}else if((s[5]||s[6])&&t%3&&!((t+o)%3)){u+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+u);let h=[...s[0]][0].length,x=r.slice(0,t+s.index+h+o);if(Math.min(t,o)%2){let _=x.slice(1,-1);return{type:"em",raw:x,text:_,tokens:this.lexer.inlineTokens(_)}}let d=x.slice(2,-2);return{type:"strong",raw:x,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(r){let e=this.rules.inline.code.exec(r);if(e){let n=e[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(n),t=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return s&&t&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:e[0],text:n}}}br(r){let e=this.rules.inline.br.exec(r);if(e)return{type:"br",raw:e[0]}}del(r){let e=this.rules.inline.del.exec(r);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(r){let e=this.rules.inline.autolink.exec(r);if(e){let n,s;return e[2]==="@"?(n=e[1],s="mailto:"+n):(n=e[1],s=n),{type:"link",raw:e[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}url(r){let e;if(e=this.rules.inline.url.exec(r)){let n,s;if(e[2]==="@")n=e[0],s="mailto:"+n;else{let t;do t=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(t!==e[0]);n=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:n,href:s,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(r){let e=this.rules.inline.text.exec(r);if(e){let n=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:n}}}},ue=class Ct{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||ke,this.options.tokenizer=this.options.tokenizer||new rt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:H,block:Ve.normal,inline:De.normal};this.options.pedantic?(n.block=Ve.pedantic,n.inline=De.pedantic):this.options.gfm&&(n.block=Ve.gfm,this.options.breaks?n.inline=De.breaks:n.inline=De.gfm),this.tokenizer.rules=n}static get rules(){return{block:Ve,inline:De}}static lex(e,n){return new Ct(n).lex(e)}static lexInline(e,n){return new Ct(n).inlineTokens(e)}lex(e){e=e.replace(H.carriageReturn,` -`),this.blockTokens(e,this.tokens);for(let n=0;n(t=o.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))continue;if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length);let o=n.at(-1);t.raw.length===1&&o!==void 0?o.raw+=` -`:n.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=` -`+t.raw,o.text+=` -`+t.text,this.inlineQueue.at(-1).src=o.text):n.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=` -`+t.raw,o.text+=` -`+t.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),n.push(t);continue}let l=e;if(this.options.extensions?.startBlock){let o=1/0,a=e.slice(1),u;this.options.extensions.startBlock.forEach(c=>{u=c.call({lexer:this},a),typeof u=="number"&&u>=0&&(o=Math.min(o,u))}),o<1/0&&o>=0&&(l=e.substring(0,o+1))}if(this.state.top&&(t=this.tokenizer.paragraph(l))){let o=n.at(-1);s&&o?.type==="paragraph"?(o.raw+=` -`+t.raw,o.text+=` -`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(t),s=l.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=` -`+t.raw,o.text+=` -`+t.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(t);continue}if(e){let o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let s=e,t=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(t=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)a.includes(t[0].slice(t[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,t.index)+"["+"a".repeat(t[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(t=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,t.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(t=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,t.index)+"["+"a".repeat(t[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let l=!1,o="";for(;e;){l||(o=""),l=!1;let a;if(this.options.extensions?.inline?.some(c=>(a=c.call({lexer:this},e,n))?(e=e.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);let c=n.at(-1);a.type==="text"&&c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):n.push(a);continue}if(a=this.tokenizer.emStrong(e,s,o)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),n.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),n.push(a);continue}let u=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),x;this.options.extensions.startInline.forEach(d=>{x=d.call({lexer:this},h),typeof x=="number"&&x>=0&&(c=Math.min(c,x))}),c<1/0&&c>=0&&(u=e.substring(0,c+1))}if(a=this.tokenizer.inlineText(u)){e=e.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(o=a.raw.slice(-1)),l=!0;let c=n.at(-1);c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):n.push(a);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}},st=class{options;parser;constructor(r){this.options=r||ke}space(r){return""}code({text:r,lang:e,escaped:n}){let s=(e||"").match(H.notSpaceStart)?.[0],t=r.replace(H.endingNewline,"")+` -`;return s?'
'+(n?t:ee(t,!0))+`
-`:"
"+(n?t:ee(t,!0))+`
-`}blockquote({tokens:r}){return`
-${this.parser.parse(r)}
-`}html({text:r}){return r}heading({tokens:r,depth:e}){return`${this.parser.parseInline(r)} -`}hr(r){return`
-`}list(r){let e=r.ordered,n=r.start,s="";for(let o=0;o -`+s+" -`}listitem(r){let e="";if(r.task){let n=this.checkbox({checked:!!r.checked});r.loose?r.tokens[0]?.type==="paragraph"?(r.tokens[0].text=n+" "+r.tokens[0].text,r.tokens[0].tokens&&r.tokens[0].tokens.length>0&&r.tokens[0].tokens[0].type==="text"&&(r.tokens[0].tokens[0].text=n+" "+ee(r.tokens[0].tokens[0].text),r.tokens[0].tokens[0].escaped=!0)):r.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):e+=n+" "}return e+=this.parser.parse(r.tokens,!!r.loose),`
  • ${e}
  • -`}checkbox({checked:r}){return"'}paragraph({tokens:r}){return`

    ${this.parser.parseInline(r)}

    -`}table(r){let e="",n="";for(let t=0;t${s}`),` - -`+e+` -`+s+`
    -`}tablerow({text:r}){return` -${r} -`}tablecell(r){let e=this.parser.parseInline(r.tokens),n=r.header?"th":"td";return(r.align?`<${n} align="${r.align}">`:`<${n}>`)+e+` -`}strong({tokens:r}){return`${this.parser.parseInline(r)}`}em({tokens:r}){return`${this.parser.parseInline(r)}`}codespan({text:r}){return`${ee(r,!0)}`}br(r){return"
    "}del({tokens:r}){return`${this.parser.parseInline(r)}`}link({href:r,title:e,tokens:n}){let s=this.parser.parseInline(n),t=yn(r);if(t===null)return s;r=t;let l='
    ",l}image({href:r,title:e,text:n,tokens:s}){s&&(n=this.parser.parseInline(s,this.parser.textRenderer));let t=yn(r);if(t===null)return ee(n);r=t;let l=`${n}{let o=t[l].flat(1/0);n=n.concat(this.walkTokens(o,e))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...r){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(n=>{let s={...n};if(s.async=this.defaults.async||s.async||!1,n.extensions&&(n.extensions.forEach(t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){let l=e.renderers[t.name];l?e.renderers[t.name]=function(...o){let a=t.renderer.apply(this,o);return a===!1&&(a=l.apply(this,o)),a}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||t.level!=="block"&&t.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let l=e[t.level];l?l.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&(t.level==="block"?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:t.level==="inline"&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),s.extensions=e),n.renderer){let t=this.defaults.renderer||new st(this.defaults);for(let l in n.renderer){if(!(l in t))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;let o=l,a=n.renderer[o],u=t[o];t[o]=(...c)=>{let h=a.apply(t,c);return h===!1&&(h=u.apply(t,c)),h||""}}s.renderer=t}if(n.tokenizer){let t=this.defaults.tokenizer||new rt(this.defaults);for(let l in n.tokenizer){if(!(l in t))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;let o=l,a=n.tokenizer[o],u=t[o];t[o]=(...c)=>{let h=a.apply(t,c);return h===!1&&(h=u.apply(t,c)),h}}s.tokenizer=t}if(n.hooks){let t=this.defaults.hooks||new et;for(let l in n.hooks){if(!(l in t))throw new Error(`hook '${l}' does not exist`);if(["options","block"].includes(l))continue;let o=l,a=n.hooks[o],u=t[o];et.passThroughHooks.has(l)?t[o]=c=>{if(this.defaults.async)return Promise.resolve(a.call(t,c)).then(x=>u.call(t,x));let h=a.call(t,c);return u.call(t,h)}:t[o]=(...c)=>{let h=a.apply(t,c);return h===!1&&(h=u.apply(t,c)),h}}s.hooks=t}if(n.walkTokens){let t=this.defaults.walkTokens,l=n.walkTokens;s.walkTokens=function(o){let a=[];return a.push(l.call(this,o)),t&&(a=a.concat(t.call(this,o))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,e){return ue.lex(r,e??this.defaults)}parser(r,e){return pe.parse(r,e??this.defaults)}parseMarkdown(r){return(e,n)=>{let s={...n},t={...this.defaults,...s},l=this.onError(!!t.silent,!!t.async);if(this.defaults.async===!0&&s.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));t.hooks&&(t.hooks.options=t,t.hooks.block=r);let o=t.hooks?t.hooks.provideLexer():r?ue.lex:ue.lexInline,a=t.hooks?t.hooks.provideParser():r?pe.parse:pe.parseInline;if(t.async)return Promise.resolve(t.hooks?t.hooks.preprocess(e):e).then(u=>o(u,t)).then(u=>t.hooks?t.hooks.processAllTokens(u):u).then(u=>t.walkTokens?Promise.all(this.walkTokens(u,t.walkTokens)).then(()=>u):u).then(u=>a(u,t)).then(u=>t.hooks?t.hooks.postprocess(u):u).catch(l);try{t.hooks&&(e=t.hooks.preprocess(e));let u=o(e,t);t.hooks&&(u=t.hooks.processAllTokens(u)),t.walkTokens&&this.walkTokens(u,t.walkTokens);let c=a(u,t);return t.hooks&&(c=t.hooks.postprocess(c)),c}catch(u){return l(u)}}}onError(r,e){return n=>{if(n.message+=` -Please report this to https://github.com/markedjs/marked.`,r){let s="

    An error occurred:

    "+ee(n.message+"",!0)+"
    ";return e?Promise.resolve(s):s}if(e)return Promise.reject(n);throw n}}},xe=new gs;function E(r,e){return xe.parse(r,e)}E.options=E.setOptions=function(r){return xe.setOptions(r),E.defaults=xe.defaults,On(E.defaults),E};E.getDefaults=Mt;E.defaults=ke;E.use=function(...r){return xe.use(...r),E.defaults=xe.defaults,On(E.defaults),E};E.walkTokens=function(r,e){return xe.walkTokens(r,e)};E.parseInline=xe.parseInline;E.Parser=pe;E.parser=pe.parse;E.Renderer=st;E.TextRenderer=Ht;E.Lexer=ue;E.lexer=ue.lex;E.Tokenizer=rt;E.Hooks=et;E.parse=E;E.options;E.setOptions;E.use;E.walkTokens;E.parseInline;pe.parse;ue.lex;/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:qn,setPrototypeOf:vn,isFrozen:ms,getPrototypeOf:xs,getOwnPropertyDescriptor:ks}=Object;let{freeze:G,seal:X,create:Wn}=Object,{apply:Dt,construct:Ot}=typeof Reflect<"u"&&Reflect;G||(G=function(e){return e});X||(X=function(e){return e});Dt||(Dt=function(e,n,s){return e.apply(n,s)});Ot||(Ot=function(e,n){return new e(...n)});const Qe=q(Array.prototype.forEach),bs=q(Array.prototype.lastIndexOf),An=q(Array.prototype.pop),Me=q(Array.prototype.push),ws=q(Array.prototype.splice),tt=q(String.prototype.toLowerCase),vt=q(String.prototype.toString),En=q(String.prototype.match),Ne=q(String.prototype.replace),ys=q(String.prototype.indexOf),_s=q(String.prototype.trim),Y=q(Object.prototype.hasOwnProperty),B=q(RegExp.prototype.test),Pe=Ts(TypeError);function q(r){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),t=1;t2&&arguments[2]!==void 0?arguments[2]:tt;vn&&vn(r,null);let s=e.length;for(;s--;){let t=e[s];if(typeof t=="string"){const l=n(t);l!==t&&(ms(e)||(e[s]=l),t=l)}r[t]=!0}return r}function vs(r){for(let e=0;e/gm),Ls=X(/\$\{[\w\W]*/gm),Cs=X(/^data-[\-\w.\u00B7-\uFFFF]+$/),Is=X(/^aria-[\-\w]+$/),jn=X(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ds=X(/^(?:\w+script|data):/i),Os=X(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Zn=X(/^html$/i),Ms=X(/^[a-z][.\w]*(-[.\w]+)+$/i);var In=Object.freeze({__proto__:null,ARIA_ATTR:Is,ATTR_WHITESPACE:Os,CUSTOM_ELEMENT:Ms,DATA_ATTR:Cs,DOCTYPE_NAME:Zn,ERB_EXPR:Rs,IS_ALLOWED_URI:jn,IS_SCRIPT_OR_DATA:Ds,MUSTACHE_EXPR:Ss,TMPLIT_EXPR:Ls});const $e={element:1,text:3,progressingInstruction:7,comment:8,document:9},Ns=function(){return typeof window>"u"?null:window},Ps=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const t="data-tt-policy-suffix";n&&n.hasAttribute(t)&&(s=n.getAttribute(t));const l="dompurify"+(s?"#"+s:"");try{return e.createPolicy(l,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}},Dn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Xn(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ns();const e=k=>Xn(k);if(e.version="3.2.6",e.removed=[],!r||!r.document||r.document.nodeType!==$e.document||!r.Element)return e.isSupported=!1,e;let{document:n}=r;const s=n,t=s.currentScript,{DocumentFragment:l,HTMLTemplateElement:o,Node:a,Element:u,NodeFilter:c,NamedNodeMap:h=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:x,DOMParser:d,trustedTypes:_}=r,v=u.prototype,O=ze(v,"cloneNode"),Z=ze(v,"remove"),V=ze(v,"nextSibling"),Q=ze(v,"childNodes"),$=ze(v,"parentNode");if(typeof o=="function"){const k=n.createElement("template");k.content&&k.content.ownerDocument&&(n=k.content.ownerDocument)}let I,te="";const{implementation:ne,createNodeIterator:K,createDocumentFragment:at,getElementsByTagName:ct}=n,{importNode:ut}=s;let D=Dn();e.isSupported=typeof qn=="function"&&typeof $=="function"&&ne&&ne.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:he,ERB_EXPR:Ee,TMPLIT_EXPR:w,DATA_ATTR:m,ARIA_ATTR:j,IS_SCRIPT_OR_DATA:R,ATTR_WHITESPACE:fe,CUSTOM_ELEMENT:pt}=In;let{IS_ALLOWED_URI:Gt}=In,N=null;const qt=y({},[...Sn,...At,...Et,...St,...Rn]);let z=null;const Wt=y({},[...Ln,...Rt,...Cn,...Ke]);let L=Object.seal(Wn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Se=null,ht=null,jt=!0,ft=!0,Zt=!1,Xt=!0,be=!1,Be=!0,ge=!1,dt=!1,gt=!1,we=!1,He=!1,Ge=!1,Yt=!0,Vt=!1;const Yn="user-content-";let mt=!0,Re=!1,ye={},_e=null;const Qt=y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Kt=null;const Jt=y({},["audio","video","img","source","image","track"]);let xt=null;const en=y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),qe="http://www.w3.org/1998/Math/MathML",We="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml";let Te=re,kt=!1,bt=null;const Vn=y({},[qe,We,re],vt);let je=y({},["mi","mo","mn","ms","mtext"]),Ze=y({},["annotation-xml"]);const Qn=y({},["title","style","font","a","script"]);let Le=null;const Kn=["application/xhtml+xml","text/html"],Jn="text/html";let P=null,ve=null;const er=n.createElement("form"),tn=function(i){return i instanceof RegExp||i instanceof Function},wt=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ve&&ve===i)){if((!i||typeof i!="object")&&(i={}),i=ce(i),Le=Kn.indexOf(i.PARSER_MEDIA_TYPE)===-1?Jn:i.PARSER_MEDIA_TYPE,P=Le==="application/xhtml+xml"?vt:tt,N=Y(i,"ALLOWED_TAGS")?y({},i.ALLOWED_TAGS,P):qt,z=Y(i,"ALLOWED_ATTR")?y({},i.ALLOWED_ATTR,P):Wt,bt=Y(i,"ALLOWED_NAMESPACES")?y({},i.ALLOWED_NAMESPACES,vt):Vn,xt=Y(i,"ADD_URI_SAFE_ATTR")?y(ce(en),i.ADD_URI_SAFE_ATTR,P):en,Kt=Y(i,"ADD_DATA_URI_TAGS")?y(ce(Jt),i.ADD_DATA_URI_TAGS,P):Jt,_e=Y(i,"FORBID_CONTENTS")?y({},i.FORBID_CONTENTS,P):Qt,Se=Y(i,"FORBID_TAGS")?y({},i.FORBID_TAGS,P):ce({}),ht=Y(i,"FORBID_ATTR")?y({},i.FORBID_ATTR,P):ce({}),ye=Y(i,"USE_PROFILES")?i.USE_PROFILES:!1,jt=i.ALLOW_ARIA_ATTR!==!1,ft=i.ALLOW_DATA_ATTR!==!1,Zt=i.ALLOW_UNKNOWN_PROTOCOLS||!1,Xt=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,be=i.SAFE_FOR_TEMPLATES||!1,Be=i.SAFE_FOR_XML!==!1,ge=i.WHOLE_DOCUMENT||!1,we=i.RETURN_DOM||!1,He=i.RETURN_DOM_FRAGMENT||!1,Ge=i.RETURN_TRUSTED_TYPE||!1,gt=i.FORCE_BODY||!1,Yt=i.SANITIZE_DOM!==!1,Vt=i.SANITIZE_NAMED_PROPS||!1,mt=i.KEEP_CONTENT!==!1,Re=i.IN_PLACE||!1,Gt=i.ALLOWED_URI_REGEXP||jn,Te=i.NAMESPACE||re,je=i.MATHML_TEXT_INTEGRATION_POINTS||je,Ze=i.HTML_INTEGRATION_POINTS||Ze,L=i.CUSTOM_ELEMENT_HANDLING||{},i.CUSTOM_ELEMENT_HANDLING&&tn(i.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(L.tagNameCheck=i.CUSTOM_ELEMENT_HANDLING.tagNameCheck),i.CUSTOM_ELEMENT_HANDLING&&tn(i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(L.attributeNameCheck=i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(L.allowCustomizedBuiltInElements=i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),be&&(ft=!1),He&&(we=!0),ye&&(N=y({},Rn),z=[],ye.html===!0&&(y(N,Sn),y(z,Ln)),ye.svg===!0&&(y(N,At),y(z,Rt),y(z,Ke)),ye.svgFilters===!0&&(y(N,Et),y(z,Rt),y(z,Ke)),ye.mathMl===!0&&(y(N,St),y(z,Cn),y(z,Ke))),i.ADD_TAGS&&(N===qt&&(N=ce(N)),y(N,i.ADD_TAGS,P)),i.ADD_ATTR&&(z===Wt&&(z=ce(z)),y(z,i.ADD_ATTR,P)),i.ADD_URI_SAFE_ATTR&&y(xt,i.ADD_URI_SAFE_ATTR,P),i.FORBID_CONTENTS&&(_e===Qt&&(_e=ce(_e)),y(_e,i.FORBID_CONTENTS,P)),mt&&(N["#text"]=!0),ge&&y(N,["html","head","body"]),N.table&&(y(N,["tbody"]),delete Se.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw Pe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Pe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');I=i.TRUSTED_TYPES_POLICY,te=I.createHTML("")}else I===void 0&&(I=Ps(_,t)),I!==null&&typeof te=="string"&&(te=I.createHTML(""));G&&G(i),ve=i}},nn=y({},[...At,...Et,...As]),rn=y({},[...St,...Es]),tr=function(i){let p=$(i);(!p||!p.tagName)&&(p={namespaceURI:Te,tagName:"template"});const g=tt(i.tagName),S=tt(p.tagName);return bt[i.namespaceURI]?i.namespaceURI===We?p.namespaceURI===re?g==="svg":p.namespaceURI===qe?g==="svg"&&(S==="annotation-xml"||je[S]):!!nn[g]:i.namespaceURI===qe?p.namespaceURI===re?g==="math":p.namespaceURI===We?g==="math"&&Ze[S]:!!rn[g]:i.namespaceURI===re?p.namespaceURI===We&&!Ze[S]||p.namespaceURI===qe&&!je[S]?!1:!rn[g]&&(Qn[g]||!nn[g]):!!(Le==="application/xhtml+xml"&&bt[i.namespaceURI]):!1},J=function(i){Me(e.removed,{element:i});try{$(i).removeChild(i)}catch{Z(i)}},Ae=function(i,p){try{Me(e.removed,{attribute:p.getAttributeNode(i),from:p})}catch{Me(e.removed,{attribute:null,from:p})}if(p.removeAttribute(i),i==="is")if(we||He)try{J(p)}catch{}else try{p.setAttribute(i,"")}catch{}},sn=function(i){let p=null,g=null;if(gt)i=""+i;else{const M=En(i,/^[\r\n\t ]+/);g=M&&M[0]}Le==="application/xhtml+xml"&&Te===re&&(i=''+i+"");const S=I?I.createHTML(i):i;if(Te===re)try{p=new d().parseFromString(S,Le)}catch{}if(!p||!p.documentElement){p=ne.createDocument(Te,"template",null);try{p.documentElement.innerHTML=kt?te:S}catch{}}const U=p.body||p.documentElement;return i&&g&&U.insertBefore(n.createTextNode(g),U.childNodes[0]||null),Te===re?ct.call(p,ge?"html":"body")[0]:ge?p.documentElement:U},on=function(i){return K.call(i.ownerDocument||i,i,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},yt=function(i){return i instanceof x&&(typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||!(i.attributes instanceof h)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function")},ln=function(i){return typeof a=="function"&&i instanceof a};function se(k,i,p){Qe(k,g=>{g.call(e,i,p,ve)})}const an=function(i){let p=null;if(se(D.beforeSanitizeElements,i,null),yt(i))return J(i),!0;const g=P(i.nodeName);if(se(D.uponSanitizeElement,i,{tagName:g,allowedTags:N}),Be&&i.hasChildNodes()&&!ln(i.firstElementChild)&&B(/<[/\w!]/g,i.innerHTML)&&B(/<[/\w!]/g,i.textContent)||i.nodeType===$e.progressingInstruction||Be&&i.nodeType===$e.comment&&B(/<[/\w]/g,i.data))return J(i),!0;if(!N[g]||Se[g]){if(!Se[g]&&un(g)&&(L.tagNameCheck instanceof RegExp&&B(L.tagNameCheck,g)||L.tagNameCheck instanceof Function&&L.tagNameCheck(g)))return!1;if(mt&&!_e[g]){const S=$(i)||i.parentNode,U=Q(i)||i.childNodes;if(U&&S){const M=U.length;for(let W=M-1;W>=0;--W){const ie=O(U[W],!0);ie.__removalCount=(i.__removalCount||0)+1,S.insertBefore(ie,V(i))}}}return J(i),!0}return i instanceof u&&!tr(i)||(g==="noscript"||g==="noembed"||g==="noframes")&&B(/<\/no(script|embed|frames)/i,i.innerHTML)?(J(i),!0):(be&&i.nodeType===$e.text&&(p=i.textContent,Qe([he,Ee,w],S=>{p=Ne(p,S," ")}),i.textContent!==p&&(Me(e.removed,{element:i.cloneNode()}),i.textContent=p)),se(D.afterSanitizeElements,i,null),!1)},cn=function(i,p,g){if(Yt&&(p==="id"||p==="name")&&(g in n||g in er))return!1;if(!(ft&&!ht[p]&&B(m,p))){if(!(jt&&B(j,p))){if(!z[p]||ht[p]){if(!(un(i)&&(L.tagNameCheck instanceof RegExp&&B(L.tagNameCheck,i)||L.tagNameCheck instanceof Function&&L.tagNameCheck(i))&&(L.attributeNameCheck instanceof RegExp&&B(L.attributeNameCheck,p)||L.attributeNameCheck instanceof Function&&L.attributeNameCheck(p))||p==="is"&&L.allowCustomizedBuiltInElements&&(L.tagNameCheck instanceof RegExp&&B(L.tagNameCheck,g)||L.tagNameCheck instanceof Function&&L.tagNameCheck(g))))return!1}else if(!xt[p]){if(!B(Gt,Ne(g,fe,""))){if(!((p==="src"||p==="xlink:href"||p==="href")&&i!=="script"&&ys(g,"data:")===0&&Kt[i])){if(!(Zt&&!B(R,Ne(g,fe,"")))){if(g)return!1}}}}}}return!0},un=function(i){return i!=="annotation-xml"&&En(i,pt)},pn=function(i){se(D.beforeSanitizeAttributes,i,null);const{attributes:p}=i;if(!p||yt(i))return;const g={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let S=p.length;for(;S--;){const U=p[S],{name:M,namespaceURI:W,value:ie}=U,Ce=P(M),_t=ie;let F=M==="value"?_t:_s(_t);if(g.attrName=Ce,g.attrValue=F,g.keepAttr=!0,g.forceKeepAttr=void 0,se(D.uponSanitizeAttribute,i,g),F=g.attrValue,Vt&&(Ce==="id"||Ce==="name")&&(Ae(M,i),F=Yn+F),Be&&B(/((--!?|])>)|<\/(style|title)/i,F)){Ae(M,i);continue}if(g.forceKeepAttr)continue;if(!g.keepAttr){Ae(M,i);continue}if(!Xt&&B(/\/>/i,F)){Ae(M,i);continue}be&&Qe([he,Ee,w],fn=>{F=Ne(F,fn," ")});const hn=P(i.nodeName);if(!cn(hn,Ce,F)){Ae(M,i);continue}if(I&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!W)switch(_.getAttributeType(hn,Ce)){case"TrustedHTML":{F=I.createHTML(F);break}case"TrustedScriptURL":{F=I.createScriptURL(F);break}}if(F!==_t)try{W?i.setAttributeNS(W,M,F):i.setAttribute(M,F),yt(i)?J(i):An(e.removed)}catch{Ae(M,i)}}se(D.afterSanitizeAttributes,i,null)},nr=function k(i){let p=null;const g=on(i);for(se(D.beforeSanitizeShadowDOM,i,null);p=g.nextNode();)se(D.uponSanitizeShadowNode,p,null),an(p),pn(p),p.content instanceof l&&k(p.content);se(D.afterSanitizeShadowDOM,i,null)};return e.sanitize=function(k){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=null,g=null,S=null,U=null;if(kt=!k,kt&&(k=""),typeof k!="string"&&!ln(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw Pe("dirty is not a string, aborting")}else throw Pe("toString is not a function");if(!e.isSupported)return k;if(dt||wt(i),e.removed=[],typeof k=="string"&&(Re=!1),Re){if(k.nodeName){const ie=P(k.nodeName);if(!N[ie]||Se[ie])throw Pe("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof a)p=sn(""),g=p.ownerDocument.importNode(k,!0),g.nodeType===$e.element&&g.nodeName==="BODY"||g.nodeName==="HTML"?p=g:p.appendChild(g);else{if(!we&&!be&&!ge&&k.indexOf("<")===-1)return I&&Ge?I.createHTML(k):k;if(p=sn(k),!p)return we?null:Ge?te:""}p&>&&J(p.firstChild);const M=on(Re?k:p);for(;S=M.nextNode();)an(S),pn(S),S.content instanceof l&&nr(S.content);if(Re)return k;if(we){if(He)for(U=at.call(p.ownerDocument);p.firstChild;)U.appendChild(p.firstChild);else U=p;return(z.shadowroot||z.shadowrootmode)&&(U=ut.call(s,U,!0)),U}let W=ge?p.outerHTML:p.innerHTML;return ge&&N["!doctype"]&&p.ownerDocument&&p.ownerDocument.doctype&&p.ownerDocument.doctype.name&&B(Zn,p.ownerDocument.doctype.name)&&(W=" -`+W),be&&Qe([he,Ee,w],ie=>{W=Ne(W,ie," ")}),I&&Ge?I.createHTML(W):W},e.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};wt(k),dt=!0},e.clearConfig=function(){ve=null,dt=!1},e.isValidAttribute=function(k,i,p){ve||wt({});const g=P(k),S=P(i);return cn(g,S,p)},e.addHook=function(k,i){typeof i=="function"&&Me(D[k],i)},e.removeHook=function(k,i){if(i!==void 0){const p=bs(D[k],i);return p===-1?void 0:ws(D[k],p,1)[0]}return An(D[k])},e.removeHooks=function(k){D[k]=[]},e.removeAllHooks=function(){D=Dn()},e}var zs=Xn();const $s={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Us={class:"w-full max-w-md relative z-10"},Fs={class:"p-8"},Bs={class:"flex justify-center mb-8"},Hs={class:"rounded-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 p-1 animate-spin-slow"},Gs={class:"rounded-full bg-gray-900 p-2"},qs={class:"mb-6 relative"},Ws={class:"relative"},js=["readonly"],Zs={key:0,class:"absolute inset-y-0 right-0 flex items-center pr-3"},Xs=["disabled"],Ys={class:"flex items-center justify-center relative z-10"},Vs={class:"mt-6 text-center"},Qs={class:"flex-grow overflow-y-auto p-6"},Ks={class:"flex-shrink-0 mr-4"},Js={class:"flex-grow min-w-0 mr-4"},ei={class:"flex-shrink-0 flex space-x-2"},ti=["onClick"],ni=["onClick"],ri=["onClick"],si={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},ii={class:"space-y-4"},oi={class:"flex items-center"},li={class:"flex items-center"},ai={class:"flex items-center"},ci={class:"flex items-center"},ui={key:0,class:"ml-2"},pi={key:1},hi=["href"],fi={class:"mt-6 flex flex-col items-center"},di={class:"bg-white p-2 rounded-lg shadow-md"},gi={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},mi={class:"flex justify-between items-center mb-4 flex-shrink-0"},xi={class:"flex items-center gap-3"},ki={class:"flex-1 overflow-y-auto custom-scrollbar"},bi=["innerHTML"],wi=rr({__name:"RetrievewFileView",setup(r){const e=sr(),n=window.location.origin,s=fr(),t=ar("isDarkMode"),l=br(),{receiveData:o}=ir(l),a=oe(""),u=oe({readonly:!1,loading:!1}),c=oe(!1),h=oe(""),x=oe(null),d=oe(!1),_=lr(),v=o,O=JSON.parse(localStorage.getItem("config")||"{}"),Z=oe(null);or(()=>{Z.value&&Z.value.focus();const w=_.query.code;w&&typeof w=="string"&&(a.value=w)}),dn(a,w=>{w.length===5&&$()});const V=w=>w.downloadUrl?w.downloadUrl.startsWith("http")?w.downloadUrl:`${n}${w.downloadUrl}`:"",Q=async()=>{x.value&&x.value.content&&await Tr(x.value.content,{successMsg:"内容已复制到剪贴板",errorMsg:"复制失败,请重试"})},$=async()=>{if(a.value.length!==5){e.showAlert("请输入5位取件码","error");return}u.value.readonly=!0,u.value.loading=!0;try{const w=await xr.post("/share/select/",{code:a.value}),m=w.data||w;if(m&&m.code===200)if(m.detail){const j=m.detail.text.startsWith("/share/download")||m.detail.name!=="Text",R={id:Date.now(),code:m.detail.code,filename:m.detail.name,size:I(m.detail.size),downloadUrl:j?m.detail.text:null,content:j?null:m.detail.text,date:new Date().toLocaleString()};let fe=!0;l.receiveData.forEach(pt=>{pt.code===R.code&&(fe=!1)}),fe&&l.addReceiveData(R),j?x.value=R:(x.value=R,D.value=!0),e.showAlert("文件获取成功","success")}else e.showAlert("无效的取件码","error");else e.showAlert("获取文件失败:"+m.detail,"error")}catch(w){console.error("取件失败:",w);const m=w,j=m?.response?.data?.detail||m?.message||"未知错误";e.showAlert("取件失败,请稍后重试:"+j,"error")}finally{u.value.readonly=!1,u.value.loading=!1,a.value=""}},I=w=>{if(w===0)return"0 Bytes";const m=1024,j=["Bytes","KB","MB","GB","TB"],R=Math.floor(Math.log(w)/Math.log(m));return parseFloat((w/Math.pow(m,R)).toFixed(2))+" "+j[R]},te=w=>{x.value=w},ne=w=>{const m=v.value.findIndex(j=>j.id===w);m!==-1&&l.deleteReceiveData(m)},K=()=>{d.value=!d.value},at=()=>{s.push("/send")},ct=w=>w.downloadUrl?`${n}${w.downloadUrl}`:`${n}?code=${w.code}`,ut=w=>{if(w.downloadUrl)window.open(`${w.downloadUrl.startsWith("http")?"":n}${w.downloadUrl}`,"_blank");else if(w.content){const m=new Blob([w.content],{type:"text/plain;charset=utf-8"});Or.saveAs(m,`${w.filename}.txt`)}},D=oe(!1),he=oe("");dn(()=>x.value?.content,async w=>{if(w)try{const m=await E(w);he.value=zs.sanitize(m,{ALLOWED_TAGS:["p","br","strong","em","u","h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","code","pre","a","img"],ALLOWED_ATTR:["href","src","alt","title","class"],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|xxx):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}catch(m){console.error("Markdown 渲染失败:",m),he.value=w}else he.value=""},{immediate:!0});const Ee=()=>{D.value=!0};return(w,m)=>{const j=hr("router-link");return ae(),le("div",$s,[f("div",Us,[f("div",{class:T(["rounded-3xl shadow-2xl overflow-hidden border transform transition-all duration-300",[b(t)?"bg-gray-800 bg-opacity-50 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[f("div",Fs,[f("div",Bs,[f("div",Hs,[f("div",Gs,[C(b(Ar),{class:"w-8 h-8 text-white"})])])]),f("h2",{onClick:at,class:T(["text-3xl cursor-pointer font-extrabold text-center mb-6",[b(t)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]])},de(b(O).name),3),f("form",{onSubmit:cr($,["prevent"])},[f("div",qs,[f("label",{for:"code",class:T(["block text-sm font-medium mb-2",[b(t)?"text-gray-300":"text-gray-800"]])},"取件码",2),f("div",Ws,[ur(f("input",{id:"code","onUpdate:modelValue":m[0]||(m[0]=R=>a.value=R),type:"text",ref_key:"codeInput",ref:Z,class:T(["w-full px-4 py-3 rounded-lg placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 pr-10",[b(t)?"bg-gray-700 bg-opacity-50":"bg-gray-100",{"ring-2 ring-red-500":h.value},b(t)?"text-gray-300":"text-gray-800"]]),placeholder:"请输入5位取件码",required:"",readonly:u.value.readonly,maxlength:"5",onFocus:m[1]||(m[1]=R=>c.value=!0),onBlur:m[2]||(m[2]=R=>c.value=!1)},null,42,js),[[pr,a.value]]),u.value.loading?(ae(),le("div",Zs,m[5]||(m[5]=[f("span",{class:"animate-spin rounded-full h-5 w-5 border-b-2 border-indigo-500"},null,-1)]))):Xe("",!0)]),f("div",{class:T(["absolute -bottom-0.5 left-2 h-0.5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 transition-all duration-300 ease-in-out",{"w-97-100":c.value,"w-0":!c.value}])},null,2)]),f("button",{type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-3 px-4 rounded-lg hover:from-indigo-600 hover:via-purple-600 hover:to-pink-600 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group",disabled:u.value.loading},[f("span",Ys,[f("span",null,de(u.value.loading?"处理中...":"提取文件"),1),C(b(Rr),{class:"w-5 h-5 ml-2 transition-transform duration-300 transform group-hover:translate-x-1"})]),m[6]||(m[6]=f("span",{class:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300"},null,-1))],8,Xs)],32),f("div",Vs,[C(j,{to:"/send",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:Ie(()=>m[7]||(m[7]=[me(" 需要发送文件?点击这里 ",-1)])),_:1,__:[7]})])]),f("div",{class:T(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[b(t)?"bg-gray-800":"bg-gray-100"]])},[f("span",{class:T(["text-sm flex items-center",[b(t)?"text-gray-300":"text-gray-800"]])},[C(b(wr),{class:"w-4 h-4 mr-1 text-green-400"}),m[8]||(m[8]=me(" 安全加密 ",-1))],2),f("button",{onClick:K,class:T(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[b(t)?"text-indigo-400":"text-indigo-600"]])},[m[9]||(m[9]=me(" 取件记录 ",-1)),C(b(yr),{class:"w-4 h-4 ml-1"})],2)],2)],2)]),C(Tt,{name:"drawer"},{default:Ie(()=>[d.value?(ae(),le("div",{key:0,class:T(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[b(t)?"bg-gray-900":"bg-white"]])},[f("div",{class:T(["flex justify-between items-center p-6 border-b",[b(t)?"border-gray-700":"border-gray-200"]])},[f("h3",{class:T(["text-2xl font-bold",[b(t)?"text-white":"text-gray-800"]])}," 取件记录 ",2),f("button",{onClick:K,class:T(["hover:text-white transition duration-300",[b(t)?"text-gray-400":"text-gray-800"]])},[C(b(gn),{class:"w-6 h-6"})],2)],2),f("div",Qs,[C(dr,{name:"list",tag:"div",class:"space-y-4"},{default:Ie(()=>[(ae(!0),le(gr,null,mr(b(v),R=>(ae(),le("div",{key:R.id,class:T(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[b(t)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[f("div",Ks,[C(b(mn),{class:T(["w-10 h-10",[b(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),f("div",Js,[f("p",{class:T(["font-medium text-lg truncate",[b(t)?"text-white":"text-gray-800"]])},de(R.filename),3),f("p",{class:T(["text-sm truncate",[b(t)?"text-gray-400":"text-gray-600"]])},de(R.date)+" · "+de(R.size),3)]),f("div",ei,[f("button",{onClick:fe=>te(R),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[b(t)?"hover:bg-indigo-400 text-indigo-400":"hover:bg-indigo-100 text-indigo-600"]])},[C(b(vr),{class:"w-5 h-5"})],10,ti),f("button",{onClick:fe=>ut(R),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[b(t)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[C(b(xn),{class:"w-5 h-5"})],10,ni),f("button",{onClick:fe=>ne(R.id),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[b(t)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[C(b(Sr),{class:"w-5 h-5"})],10,ri)])],2))),128))]),_:1})])],2)):Xe("",!0)]),_:1}),C(Tt,{name:"fade"},{default:Ie(()=>[x.value?(ae(),le("div",si,[f("div",{class:T(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg overflow-hidden",[b(t)?"bg-gray-800 bg-opacity-70":"bg-white bg-opacity-95"]])},[f("h3",{class:T(["text-2xl font-bold mb-6 truncate",[b(t)?"text-white":"text-gray-800"]])}," 文件详情 ",2),f("div",ii,[f("div",oi,[C(b(mn),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[b(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),f("p",{class:T([[b(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[m[10]||(m[10]=f("span",{class:"font-medium"},"文件名:",-1)),me(de(x.value.filename),1)],2)]),f("div",li,[C(b(Lr),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[b(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),f("p",{class:T([[b(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[m[11]||(m[11]=f("span",{class:"font-medium"},"取件日期:",-1)),me(de(x.value.date),1)],2)]),f("div",ai,[C(b(Er),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[b(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),f("p",{class:T([[b(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[m[12]||(m[12]=f("span",{class:"font-medium"},"文件大小:",-1)),me(de(x.value.size),1)],2)]),f("div",ci,[C(b(xn),{class:T(["w-6 h-6 mr-3",[b(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),f("p",{class:T([b(t)?"text-gray-300":"text-gray-800"])},m[13]||(m[13]=[f("span",{class:"font-medium"},"文件内容:",-1)]),2),x.value.filename==="Text"?(ae(),le("div",ui,[f("button",{onClick:Ee,class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 预览内容 ")])):(ae(),le("div",pi,[f("a",{href:V(x.value),target:"_blank",rel:"noopener noreferrer",class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"}," 点击下载 ",8,hi)]))])]),f("div",fi,[f("h4",{class:T(["text-lg font-semibold mb-3",[b(t)?"text-white":"text-gray-800"]])}," 取件二维码 ",2),f("div",di,[C(_r,{value:ct(x.value),size:128,level:"M"},null,8,["value"])]),f("p",{class:T(["mt-2 text-sm",[b(t)?"text-gray-400":"text-gray-600"]])}," 扫描二维码快速取件 ",2)]),f("button",{onClick:m[3]||(m[3]=R=>x.value=null),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"}," 关闭 ")],2)])):Xe("",!0)]),_:1}),C(Tt,{name:"fade"},{default:Ie(()=>[D.value?(ae(),le("div",gi,[f("div",{class:T(["p-6 rounded-2xl max-w-3xl w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 max-h-[85vh] overflow-hidden flex flex-col",[b(t)?"bg-gray-800":"bg-white"]])},[f("div",mi,[f("h3",{class:T(["text-2xl font-bold",[b(t)?"text-white":"text-gray-800"]])}," 内容预览 ",2),f("div",xi,[f("button",{onClick:Q,class:T(["px-4 py-1.5 rounded-lg transition duration-300 flex items-center gap-2 text-sm font-medium",[b(t)?"bg-gray-700 hover:bg-gray-600 text-gray-300 hover:text-white":"bg-gray-100 hover:bg-gray-200 text-gray-700 hover:text-gray-900"]])},[C(b(Cr),{class:"w-4 h-4"}),m[14]||(m[14]=me(" 复制 ",-1))],2),f("button",{onClick:m[4]||(m[4]=R=>D.value=!1),class:T(["p-1.5 rounded-lg transition duration-300 hover:bg-opacity-10",[b(t)?"text-gray-400 hover:text-white hover:bg-white":"text-gray-500 hover:text-gray-900 hover:bg-black"]])},[C(b(gn),{class:"w-5 h-5"})],2)])]),f("div",ki,[f("div",{class:T(["prose max-w-none p-6 rounded-xl break-words overflow-wrap-anywhere",[b(t)?"prose-invert bg-gray-900 bg-opacity-50":"bg-gray-50"]]),innerHTML:he.value},null,10,bi)])],2)])):Xe("",!0)]),_:1})])}}}),Si=kr(wi,[["__scopeId","data-v-39deaf32"]]);export{Si as default}; diff --git a/themes/2024/assets/RetrievewFileView-Bz_9iHJX.js b/themes/2024/assets/RetrievewFileView-Bz_9iHJX.js new file mode 100644 index 0000000..2e43cff --- /dev/null +++ b/themes/2024/assets/RetrievewFileView-Bz_9iHJX.js @@ -0,0 +1,81 @@ +import{c as ct,d as be,u as We,r as K,w as It,a as W,o as P,h as zt,b,n as T,e as d,i as xe,t as R,p as cr,j as ge,v as ur,k as L,_ as Re,z as pr,m as Le,y as me,D as Ut,T as Ft,E as hr,X as Nn,A as dr,F as fr,x as gr,l as mr,G as kr,f as br,H as xr,B as wr,C as yr}from"./index-BQT7CCpA.js";import{S as _r,C as Tr,Q as vr,E as Ar,u as Er,P as Sr,d as Rr}from"./PageHeader-D2CW9nSY.js";import{F as Pn}from"./file-C3_XlMB5.js";import{H as Lr}from"./hard-drive-DPx3Jtjb.js";import{T as Cr}from"./trash-DFHGA4Wo.js";import"./box-DhNypZwK.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Dr=ct("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ir=ct("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const $r=ct("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const zn=ct("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),Mr={class:"mb-6 relative"},Or={class:"relative"},Nr=["placeholder","readonly"],Pr={key:0,class:"absolute inset-y-0 right-0 flex items-center pr-3"},zr=["disabled"],Ur={class:"flex items-center justify-center relative z-10"},Fr=be({__name:"RetrieveForm",props:{inputStatus:{},error:{type:Boolean}},emits:["submit","update:code"],setup(r,{expose:e,emit:t}){const{t:s}=We(),n=t,l=xe("isDarkMode"),i=K(""),a=K(!1),u=K();return It(i,c=>{n("update:code",c)}),e({focus:()=>u.value?.focus()}),(c,h)=>(P(),W("form",{onSubmit:h[3]||(h[3]=zt(m=>c.$emit("submit"),["prevent"]))},[b("div",Mr,[b("label",{for:"code",class:T(["block text-sm font-medium mb-2",[d(l)?"text-gray-300":"text-gray-800"]])},R(d(s)("retrieve.codeInput.label")),3),b("div",Or,[cr(b("input",{id:"code","onUpdate:modelValue":h[0]||(h[0]=m=>i.value=m),type:"text",ref_key:"codeInput",ref:u,class:T(["w-full px-4 py-3 rounded-lg placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 pr-10",[d(l)?"bg-gray-700 bg-opacity-50":"bg-gray-100",{"ring-2 ring-red-500":c.error},d(l)?"text-gray-300":"text-gray-800"]]),placeholder:d(s)("retrieve.codeInput.placeholder"),required:"",readonly:c.inputStatus.readonly,maxlength:"5",onFocus:h[1]||(h[1]=m=>a.value=!0),onBlur:h[2]||(h[2]=m=>a.value=!1)},null,42,Nr),[[ur,i.value]]),c.inputStatus.loading?(P(),W("div",Pr,[...h[4]||(h[4]=[b("span",{class:"animate-spin rounded-full h-5 w-5 border-b-2 border-indigo-500"},null,-1)])])):ge("",!0)]),b("div",{class:T(["absolute -bottom-0.5 left-2 h-0.5 bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 transition-all duration-300 ease-in-out",{"w-97-100":a.value,"w-0":!a.value}])},null,2)]),b("button",{type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-3 px-4 rounded-lg hover:from-indigo-600 hover:via-purple-600 hover:to-pink-600 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group",disabled:c.inputStatus.loading},[b("span",Ur,[b("span",null,R(c.inputStatus.loading?d(s)("common.loading"):d(s)("retrieve.submit")),1),L(d(Dr),{class:"w-5 h-5 ml-2 transition-transform duration-300 transform group-hover:translate-x-1"})]),h[5]||(h[5]=b("span",{class:"absolute top-0 left-0 w-full h-full bg-gradient-to-r from-pink-500 via-purple-500 to-indigo-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300"},null,-1))],8,zr)],32))}}),Br=Re(Fr,[["__scopeId","data-v-8f0be1b0"]]),Hr={key:0,class:"mb-6 text-center"},Gr=be({__name:"PageFooter",props:{linkText:{},linkTo:{},drawerText:{}},emits:["toggle-drawer"],setup(r){const{t:e}=We(),t=xe("isDarkMode");return(s,n)=>{const l=pr("router-link");return P(),W("div",null,[s.linkText&&s.linkTo?(P(),W("div",Hr,[L(l,{to:s.linkTo,class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:Le(()=>[me(R(s.linkText),1)]),_:1},8,["to"])])):ge("",!0),b("div",{class:T(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[d(t)?"bg-gray-800":"bg-gray-100"]])},[b("span",{class:T(["text-sm flex items-center",[d(t)?"text-gray-300":"text-gray-800"]])},[L(d(_r),{class:"w-4 h-4 mr-1 text-green-400"}),me(" "+R(d(e)("send.secureEncryption")),1)],2),b("button",{onClick:n[0]||(n[0]=i=>s.$emit("toggle-drawer")),class:T(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[d(t)?"text-indigo-400":"text-indigo-600"]])},[me(R(s.drawerText)+" ",1),L(d(Tr),{class:"w-4 h-4 ml-1"})],2)],2)])}}}),Wr=be({__name:"SideDrawer",props:{visible:{type:Boolean},title:{}},emits:["close"],setup(r){const e=xe("isDarkMode");return(t,s)=>(P(),Ut(Ft,{name:"drawer"},{default:Le(()=>[t.visible?(P(),W("div",{key:0,class:T(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[d(e)?"bg-gray-900":"bg-white"]])},[b("div",{class:T(["flex justify-between items-center p-6 border-b",[d(e)?"border-gray-700":"border-gray-200"]])},[b("h3",{class:T(["text-2xl font-bold",[d(e)?"text-white":"text-gray-800"]])},R(t.title),3),b("button",{onClick:s[0]||(s[0]=n=>t.$emit("close")),class:T(["hover:text-white transition duration-300",[d(e)?"text-gray-400":"text-gray-800"]])},[L(d(Nn),{class:"w-6 h-6"})],2)],2),hr(t.$slots,"default",{},void 0,!0)],2)):ge("",!0)]),_:3}))}}),qr=Re(Wr,[["__scopeId","data-v-9c6698ec"]]),jr={key:0,class:"space-y-4"},Zr={class:"flex items-center"},Xr={class:"font-medium"},Yr={class:"flex items-center"},Vr={class:"font-medium"},Qr={class:"flex items-center"},Kr={class:"font-medium"},Jr={class:"flex items-center"},es={class:"font-medium"},ts={key:0,class:"ml-2"},ns={key:1},rs=["href"],ss={key:1,class:"mt-6 flex flex-col items-center"},is={class:"bg-white p-2 rounded-lg shadow-md"},os=be({__name:"FileDetailModal",props:{visible:{type:Boolean},record:{}},emits:["close","preview-content"],setup(r){const{t:e}=We(),t=xe("isDarkMode"),s=window.location.origin,n=i=>i.downloadUrl?i.downloadUrl.startsWith("http")?i.downloadUrl:`${s}${i.downloadUrl}`:"",l=i=>i.downloadUrl?`${s}${i.downloadUrl}`:`${s}?code=${i.code}`;return(i,a)=>(P(),Ut(Ft,{name:"fade"},{default:Le(()=>[i.visible?(P(),W("div",{key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",onClick:a[2]||(a[2]=zt(u=>i.$emit("close"),["self"]))},[b("div",{class:T(["p-8 rounded-2xl max-w-md w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg overflow-hidden",[d(t)?"bg-gray-800 bg-opacity-70":"bg-white bg-opacity-95"]])},[b("h3",{class:T(["text-2xl font-bold mb-6 truncate",[d(t)?"text-white":"text-gray-800"]])},R(d(e)("fileDetail.title")),3),i.record?(P(),W("div",jr,[b("div",Zr,[L(d(Pn),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[d(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),b("p",{class:T([[d(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[b("span",Xr,R(d(e)("fileRecord.filename"))+":",1),me(R(i.record.filename),1)],2)]),b("div",Yr,[L(d(Ir),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[d(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),b("p",{class:T([[d(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[b("span",Vr,R(d(e)("fileRecord.date"))+":",1),me(R(i.record.date),1)],2)]),b("div",Qr,[L(d(Lr),{class:T(["w-6 h-6 mr-3 flex-shrink-0",[d(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),b("p",{class:T([[d(t)?"text-gray-300":"text-gray-800"],"truncate flex-grow"])},[b("span",Kr,R(d(e)("fileRecord.size"))+":",1),me(R(i.record.size),1)],2)]),b("div",Jr,[L(d(zn),{class:T(["w-6 h-6 mr-3",[d(t)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"]),b("p",{class:T([d(t)?"text-gray-300":"text-gray-800"])},[b("span",es,R(d(e)("fileDetail.content"))+":",1)],2),i.record.filename==="Text"?(P(),W("div",ts,[b("button",{onClick:a[0]||(a[0]=u=>i.$emit("preview-content")),class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"},R(d(e)("fileDetail.previewContent")),1)])):(P(),W("div",ns,[b("a",{href:n(i.record),target:"_blank",rel:"noopener noreferrer",class:"px-4 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition duration-300"},R(d(e)("fileDetail.download")),9,rs)]))])])):ge("",!0),i.record?(P(),W("div",ss,[b("h4",{class:T(["text-lg font-semibold mb-3",[d(t)?"text-white":"text-gray-800"]])},R(d(e)("fileDetail.qrCode")),3),b("div",is,[L(vr,{value:l(i.record),size:128,level:"M"},null,8,["value"])]),b("p",{class:T(["mt-2 text-sm",[d(t)?"text-gray-400":"text-gray-600"]])},R(d(e)("fileDetail.scanQrCode")),3)])):ge("",!0),b("button",{onClick:a[1]||(a[1]=u=>i.$emit("close")),class:"mt-8 w-full bg-gradient-to-r from-indigo-500 to-purple-600 text-white px-6 py-3 rounded-lg font-medium hover:from-indigo-600 hover:to-purple-700 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition duration-300 transform hover:scale-105"},R(d(e)("common.close")),1)],2)])):ge("",!0)]),_:1}))}}),ls=Re(os,[["__scopeId","data-v-5c3436d6"]]),as={class:"flex-grow overflow-y-auto p-6"},cs={class:"flex-shrink-0 mr-4"},us={class:"flex-grow min-w-0 mr-4"},ps={class:"flex-shrink-0 flex space-x-2"},hs=["onClick"],ds=["onClick"],fs=["onClick"],gs=be({__name:"FileRecordList",props:{records:{}},emits:["view-details","download-record","delete-record"],setup(r){const e=xe("isDarkMode");return(t,s)=>(P(),W("div",as,[L(dr,{name:"list",tag:"div",class:"space-y-4"},{default:Le(()=>[(P(!0),W(fr,null,gr(t.records,n=>(P(),W("div",{key:n.id,class:T(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[d(e)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[b("div",cs,[L(d(Pn),{class:T(["w-10 h-10",[d(e)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),b("div",us,[b("p",{class:T(["font-medium text-lg truncate",[d(e)?"text-white":"text-gray-800"]])},R(n.filename),3),b("p",{class:T(["text-sm truncate",[d(e)?"text-gray-400":"text-gray-600"]])},R(n.date)+" · "+R(n.size),3)]),b("div",ps,[b("button",{onClick:l=>t.$emit("view-details",n),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[d(e)?"hover:bg-indigo-400 text-indigo-400":"hover:bg-indigo-100 text-indigo-600"]])},[L(d(Ar),{class:"w-5 h-5"})],10,hs),b("button",{onClick:l=>t.$emit("download-record",n),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[d(e)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[L(d(zn),{class:"w-5 h-5"})],10,ds),b("button",{onClick:l=>t.$emit("delete-record",n.id),class:T(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[d(e)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[L(d(Cr),{class:"w-5 h-5"})],10,fs)])],2))),128))]),_:1})]))}}),ms=Re(gs,[["__scopeId","data-v-31facf40"]]),ks={class:"flex justify-between items-center mb-4 flex-shrink-0"},bs={class:"flex items-center gap-3"},xs={class:"flex-1 overflow-y-auto custom-scrollbar"},ws=["innerHTML"],ys=be({__name:"ContentPreviewModal",props:{visible:{type:Boolean},renderedContent:{}},emits:["close","copy-content"],setup(r){const{t:e}=We(),t=xe("isDarkMode");return(s,n)=>(P(),Ut(Ft,{name:"fade"},{default:Le(()=>[s.visible?(P(),W("div",{key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",onClick:n[2]||(n[2]=zt(l=>s.$emit("close"),["self"]))},[b("div",{class:T(["p-6 rounded-2xl max-w-3xl w-full mx-4 shadow-2xl transform transition-all duration-300 ease-out backdrop-filter backdrop-blur-lg bg-opacity-70 max-h-[85vh] overflow-hidden flex flex-col",[d(t)?"bg-gray-800":"bg-white"]])},[b("div",ks,[b("h3",{class:T(["text-2xl font-bold",[d(t)?"text-white":"text-gray-800"]])},R(d(e)("contentPreview.title")),3),b("div",bs,[b("button",{onClick:n[0]||(n[0]=l=>s.$emit("copy-content")),class:T(["px-4 py-1.5 rounded-lg transition duration-300 flex items-center gap-2 text-sm font-medium",[d(t)?"bg-gray-700 hover:bg-gray-600 text-gray-300 hover:text-white":"bg-gray-100 hover:bg-gray-200 text-gray-700 hover:text-gray-900"]])},[L(d($r),{class:"w-4 h-4"}),me(" "+R(d(e)("common.copy")),1)],2),b("button",{onClick:n[1]||(n[1]=l=>s.$emit("close")),class:T(["p-1.5 rounded-lg transition duration-300 hover:bg-opacity-10",[d(t)?"text-gray-400 hover:text-white hover:bg-white":"text-gray-500 hover:text-gray-900 hover:bg-black"]])},[L(d(Nn),{class:"w-5 h-5"})],2)])]),b("div",xs,[b("div",{class:T(["prose max-w-none p-6 rounded-xl break-words overflow-wrap-anywhere",[d(t)?"prose-invert bg-gray-900 bg-opacity-50":"bg-gray-50"]]),innerHTML:s.renderedContent},null,10,ws)])],2)])):ge("",!0)]),_:1}))}}),_s=Re(ys,[["__scopeId","data-v-eb3f9cc8"]]);var Je=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},rt={exports:{}},Ts=rt.exports,yn;function vs(){return yn||(yn=1,(function(r,e){(function(t,s){s()})(Ts,function(){function t(c,h){return typeof h>"u"?h={autoBom:!1}:typeof h!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),h={autoBom:!h}),h.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function s(c,h,m){var f=new XMLHttpRequest;f.open("GET",c),f.responseType="blob",f.onload=function(){u(f.response,h,m)},f.onerror=function(){console.error("could not download file")},f.send()}function n(c){var h=new XMLHttpRequest;h.open("HEAD",c,!1);try{h.send()}catch{}return 200<=h.status&&299>=h.status}function l(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var h=document.createEvent("MouseEvents");h.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(h)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Je=="object"&&Je.global===Je?Je:void 0,a=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),u=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,h,m){var f=i.URL||i.webkitURL,y=document.createElement("a");h=h||c.name||"download",y.download=h,y.rel="noopener",typeof c=="string"?(y.href=c,y.origin===location.origin?l(y):n(y.href)?s(c,h,m):l(y,y.target="_blank")):(y.href=f.createObjectURL(c),setTimeout(function(){f.revokeObjectURL(y.href)},4e4),setTimeout(function(){l(y)},0))}:"msSaveOrOpenBlob"in navigator?function(c,h,m){if(h=h||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(t(c,m),h);else if(n(c))s(c,h,m);else{var f=document.createElement("a");f.href=c,f.target="_blank",setTimeout(function(){l(f)})}}:function(c,h,m,f){if(f=f||open("","_blank"),f&&(f.document.title=f.document.body.innerText="downloading..."),typeof c=="string")return s(c,h,m);var y=c.type==="application/octet-stream",v=/constructor/i.test(i.HTMLElement)||i.safari,$=/CriOS\/[\d]+/.test(navigator.userAgent);if(($||y&&v||a)&&typeof FileReader<"u"){var V=new FileReader;V.onloadend=function(){var U=V.result;U=$?U:U.replace(/^data:[^;]*;/,"data:attachment/file;"),f?f.location.href=U:location=U,f=null},V.readAsDataURL(c)}else{var J=i.URL||i.webkitURL,ee=J.createObjectURL(c);f?f.location=ee:location.href=ee,f=null,setTimeout(function(){J.revokeObjectURL(ee)},4e4)}});i.saveAs=u.saveAs=u,r.exports=u})})(rt)),rt.exports}var As=vs();function Bt(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var we=Bt();function Un(r){we=r}var Ge={exec:()=>null};function A(r,e=""){let t=typeof r=="string"?r:r.source,s={replace:(n,l)=>{let i=typeof l=="string"?l:l.source;return i=i.replace(q.caret,"$1"),t=t.replace(n,i),s},getRegex:()=>new RegExp(t,e)};return s}var q={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:r=>new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}#`),htmlBeginRegex:r=>new RegExp(`^ {0,${Math.min(3,r-1)}}<(?:[a-z].*>|!--)`,"i")},Es=/^(?:[ \t]*(?:\n|$))+/,Ss=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Rs=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,qe=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ls=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Ht=/(?:[*+-]|\d{1,9}[.)])/,Fn=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Bn=A(Fn).replace(/bull/g,Ht).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Cs=A(Fn).replace(/bull/g,Ht).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Gt=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ds=/^[^\n]+/,Wt=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Is=A(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Wt).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),$s=A(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Ht).getRegex(),ut="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",qt=/|$))/,Ms=A("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",qt).replace("tag",ut).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Hn=A(Gt).replace("hr",qe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex(),Os=A(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Hn).getRegex(),jt={blockquote:Os,code:Ss,def:Is,fences:Rs,heading:Ls,hr:qe,html:Ms,lheading:Bn,list:$s,newline:Es,paragraph:Hn,table:Ge,text:Ds},_n=A("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",qe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex(),Ns={...jt,lheading:Cs,table:_n,paragraph:A(Gt).replace("hr",qe).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",_n).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",ut).getRegex()},Ps={...jt,html:A(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",qt).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ge,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:A(Gt).replace("hr",qe).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Bn).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},zs=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Us=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Gn=/^( {2,}|\\)\n(?!\s*$)/,Fs=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,jn=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,qs=A(jn,"u").replace(/punct/g,pt).getRegex(),js=A(jn,"u").replace(/punct/g,qn).getRegex(),Zn="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Zs=A(Zn,"gu").replace(/notPunctSpace/g,Wn).replace(/punctSpace/g,Zt).replace(/punct/g,pt).getRegex(),Xs=A(Zn,"gu").replace(/notPunctSpace/g,Gs).replace(/punctSpace/g,Hs).replace(/punct/g,qn).getRegex(),Ys=A("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Wn).replace(/punctSpace/g,Zt).replace(/punct/g,pt).getRegex(),Vs=A(/\\(punct)/,"gu").replace(/punct/g,pt).getRegex(),Qs=A(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ks=A(qt).replace("(?:-->|$)","-->").getRegex(),Js=A("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Ks).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ot=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,ei=A(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ot).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Xn=A(/^!?\[(label)\]\[(ref)\]/).replace("label",ot).replace("ref",Wt).getRegex(),Yn=A(/^!?\[(ref)\](?:\[\])?/).replace("ref",Wt).getRegex(),ti=A("reflink|nolink(?!\\()","g").replace("reflink",Xn).replace("nolink",Yn).getRegex(),Xt={_backpedal:Ge,anyPunctuation:Vs,autolink:Qs,blockSkip:Ws,br:Gn,code:Us,del:Ge,emStrongLDelim:qs,emStrongRDelimAst:Zs,emStrongRDelimUnd:Ys,escape:zs,link:ei,nolink:Yn,punctuation:Bs,reflink:Xn,reflinkSearch:ti,tag:Js,text:Fs,url:Ge},ni={...Xt,link:A(/^!?\[(label)\]\((.*?)\)/).replace("label",ot).getRegex(),reflink:A(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ot).getRegex()},$t={...Xt,emStrongRDelimAst:Xs,emStrongLDelim:js,url:A(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Tn=r=>si[r];function re(r,e){if(e){if(q.escapeTest.test(r))return r.replace(q.escapeReplace,Tn)}else if(q.escapeTestNoEncode.test(r))return r.replace(q.escapeReplaceNoEncode,Tn);return r}function vn(r){try{r=encodeURI(r).replace(q.percentDecode,"%")}catch{return null}return r}function An(r,e){let t=r.replace(q.findPipe,(l,i,a)=>{let u=!1,c=i;for(;--c>=0&&a[c]==="\\";)u=!u;return u?"|":" |"}),s=t.split(q.splitPipe),n=0;if(s[0].trim()||s.shift(),s.length>0&&!s.at(-1)?.trim()&&s.pop(),e)if(s.length>e)s.splice(e);else for(;s.length0?-2:-1}function En(r,e,t,s,n){let l=e.href,i=e.title||null,a=r[1].replace(n.other.outputLinkReplace,"$1");s.state.inLink=!0;let u={type:r[0].charAt(0)==="!"?"image":"link",raw:t,href:l,title:i,text:a,tokens:s.inlineTokens(a)};return s.state.inLink=!1,u}function oi(r,e,t){let s=r.match(t.other.indentCodeCompensation);if(s===null)return e;let n=s[1];return e.split(` +`).map(l=>{let i=l.match(t.other.beginningSpace);if(i===null)return l;let[a]=i;return a.length>=n.length?l.slice(n.length):l}).join(` +`)}var lt=class{options;rules;lexer;constructor(r){this.options=r||we}space(r){let e=this.rules.block.newline.exec(r);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(r){let e=this.rules.block.code.exec(r);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:Pe(t,` +`)}}}fences(r){let e=this.rules.block.fences.exec(r);if(e){let t=e[0],s=oi(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:s}}}heading(r){let e=this.rules.block.heading.exec(r);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let s=Pe(t,"#");(this.options.pedantic||!s||this.rules.other.endingSpaceChar.test(s))&&(t=s.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(r){let e=this.rules.block.hr.exec(r);if(e)return{type:"hr",raw:Pe(e[0],` +`)}}blockquote(r){let e=this.rules.block.blockquote.exec(r);if(e){let t=Pe(e[0],` +`).split(` +`),s="",n="",l=[];for(;t.length>0;){let i=!1,a=[],u;for(u=0;u1,n={type:"list",raw:"",ordered:s,start:s?+t.slice(0,-1):"",loose:!1,items:[]};t=s?`\\d{1,9}\\${t.slice(-1)}`:`\\${t}`,this.options.pedantic&&(t=s?t:"[*+-]");let l=this.rules.other.listItemRegex(t),i=!1;for(;r;){let u=!1,c="",h="";if(!(e=l.exec(r))||this.rules.block.hr.test(r))break;c=e[0],r=r.substring(c.length);let m=e[2].split(` +`,1)[0].replace(this.rules.other.listReplaceTabs,J=>" ".repeat(3*J.length)),f=r.split(` +`,1)[0],y=!m.trim(),v=0;if(this.options.pedantic?(v=2,h=m.trimStart()):y?v=e[1].length+1:(v=e[2].search(this.rules.other.nonSpaceChar),v=v>4?1:v,h=m.slice(v),v+=e[1].length),y&&this.rules.other.blankLine.test(f)&&(c+=f+` +`,r=r.substring(f.length+1),u=!0),!u){let J=this.rules.other.nextBulletRegex(v),ee=this.rules.other.hrRegex(v),U=this.rules.other.fencesBeginRegex(v),D=this.rules.other.headingBeginRegex(v),se=this.rules.other.htmlBeginRegex(v);for(;r;){let ie=r.split(` +`,1)[0],te;if(f=ie,this.options.pedantic?(f=f.replace(this.rules.other.listReplaceNesting," "),te=f):te=f.replace(this.rules.other.tabCharGlobal," "),U.test(f)||D.test(f)||se.test(f)||J.test(f)||ee.test(f))break;if(te.search(this.rules.other.nonSpaceChar)>=v||!f.trim())h+=` +`+te.slice(v);else{if(y||m.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||U.test(m)||D.test(m)||ee.test(m))break;h+=` +`+f}!y&&!f.trim()&&(y=!0),c+=ie+` +`,r=r.substring(ie.length+1),m=te.slice(v)}}n.loose||(i?n.loose=!0:this.rules.other.doubleBlankLine.test(c)&&(i=!0));let $=null,V;this.options.gfm&&($=this.rules.other.listIsTask.exec(h),$&&(V=$[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),n.items.push({type:"list_item",raw:c,task:!!$,checked:V,loose:!1,text:h,tokens:[]}),n.raw+=c}let a=n.items.at(-1);if(a)a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd();else return;n.raw=n.raw.trimEnd();for(let u=0;um.type==="space"),h=c.length>0&&c.some(m=>this.rules.other.anyLine.test(m.raw));n.loose=h}if(n.loose)for(let u=0;u({text:a,tokens:this.lexer.inline(a),header:!1,align:l.align[u]})));return l}}lheading(r){let e=this.rules.block.lheading.exec(r);if(e)return{type:"heading",raw:e[0],depth:e[2].charAt(0)==="="?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(r){let e=this.rules.block.paragraph.exec(r);if(e){let t=e[1].charAt(e[1].length-1)===` +`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(r){let e=this.rules.block.text.exec(r);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(r){let e=this.rules.inline.escape.exec(r);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(r){let e=this.rules.inline.tag.exec(r);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(r){let e=this.rules.inline.link.exec(r);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let l=Pe(t.slice(0,-1),"\\");if((t.length-l.length)%2===0)return}else{let l=ii(e[2],"()");if(l===-2)return;if(l>-1){let i=(e[0].indexOf("!")===0?5:4)+e[1].length+l;e[2]=e[2].substring(0,l),e[0]=e[0].substring(0,i).trim(),e[3]=""}}let s=e[2],n="";if(this.options.pedantic){let l=this.rules.other.pedanticHrefTitle.exec(s);l&&(s=l[1],n=l[3])}else n=e[3]?e[3].slice(1,-1):"";return s=s.trim(),this.rules.other.startAngleBracket.test(s)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?s=s.slice(1):s=s.slice(1,-1)),En(e,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(r,e){let t;if((t=this.rules.inline.reflink.exec(r))||(t=this.rules.inline.nolink.exec(r))){let s=(t[2]||t[1]).replace(this.rules.other.multipleSpaceGlobal," "),n=e[s.toLowerCase()];if(!n){let l=t[0].charAt(0);return{type:"text",raw:l,text:l}}return En(t,n,t[0],this.lexer,this.rules)}}emStrong(r,e,t=""){let s=this.rules.inline.emStrongLDelim.exec(r);if(!(!s||s[3]&&t.match(this.rules.other.unicodeAlphaNumeric))&&(!(s[1]||s[2])||!t||this.rules.inline.punctuation.exec(t))){let n=[...s[0]].length-1,l,i,a=n,u=0,c=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(c.lastIndex=0,e=e.slice(-1*r.length+n);(s=c.exec(e))!=null;){if(l=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!l)continue;if(i=[...l].length,s[3]||s[4]){a+=i;continue}else if((s[5]||s[6])&&n%3&&!((n+i)%3)){u+=i;continue}if(a-=i,a>0)continue;i=Math.min(i,i+a+u);let h=[...s[0]][0].length,m=r.slice(0,n+s.index+h+i);if(Math.min(n,i)%2){let y=m.slice(1,-1);return{type:"em",raw:m,text:y,tokens:this.lexer.inlineTokens(y)}}let f=m.slice(2,-2);return{type:"strong",raw:m,text:f,tokens:this.lexer.inlineTokens(f)}}}}codespan(r){let e=this.rules.inline.code.exec(r);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),s=this.rules.other.nonSpaceChar.test(t),n=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return s&&n&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(r){let e=this.rules.inline.br.exec(r);if(e)return{type:"br",raw:e[0]}}del(r){let e=this.rules.inline.del.exec(r);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(r){let e=this.rules.inline.autolink.exec(r);if(e){let t,s;return e[2]==="@"?(t=e[1],s="mailto:"+t):(t=e[1],s=t),{type:"link",raw:e[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}url(r){let e;if(e=this.rules.inline.url.exec(r)){let t,s;if(e[2]==="@")t=e[0],s="mailto:"+t;else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);t=e[0],e[1]==="www."?s="http://"+e[0]:s=e[0]}return{type:"link",raw:e[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(r){let e=this.rules.inline.text.exec(r);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},pe=class Mt{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||we,this.options.tokenizer=this.options.tokenizer||new lt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:q,block:et.normal,inline:Ne.normal};this.options.pedantic?(t.block=et.pedantic,t.inline=Ne.pedantic):this.options.gfm&&(t.block=et.gfm,this.options.breaks?t.inline=Ne.breaks:t.inline=Ne.gfm),this.tokenizer.rules=t}static get rules(){return{block:et,inline:Ne}}static lex(e,t){return new Mt(t).lex(e)}static lexInline(e,t){return new Mt(t).inlineTokens(e)}lex(e){e=e.replace(q.carriageReturn,` +`),this.blockTokens(e,this.tokens);for(let t=0;t(n=i.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let i=t.at(-1);n.raw.length===1&&i!==void 0?i.raw+=` +`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(` +`)?"":` +`)+n.raw,i.text+=` +`+n.text,this.inlineQueue.at(-1).src=i.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="paragraph"||i?.type==="text"?(i.raw+=(i.raw.endsWith(` +`)?"":` +`)+n.raw,i.text+=` +`+n.raw,this.inlineQueue.at(-1).src=i.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},t.push(n));continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}let l=e;if(this.options.extensions?.startBlock){let i=1/0,a=e.slice(1),u;this.options.extensions.startBlock.forEach(c=>{u=c.call({lexer:this},a),typeof u=="number"&&u>=0&&(i=Math.min(i,u))}),i<1/0&&i>=0&&(l=e.substring(0,i+1))}if(this.state.top&&(n=this.tokenizer.paragraph(l))){let i=t.at(-1);s&&i?.type==="paragraph"?(i.raw+=(i.raw.endsWith(` +`)?"":` +`)+n.raw,i.text+=` +`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(n),s=l.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let i=t.at(-1);i?.type==="text"?(i.raw+=(i.raw.endsWith(` +`)?"":` +`)+n.raw,i.text+=` +`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):t.push(n);continue}if(e){let i="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(i);break}else throw new Error(i)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let s=e,n=null;if(this.tokens.links){let a=Object.keys(this.tokens.links);if(a.length>0)for(;(n=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)a.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(n=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,n.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(n=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,n.index)+"["+"a".repeat(n[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);let l=!1,i="";for(;e;){l||(i=""),l=!1;let a;if(this.options.extensions?.inline?.some(c=>(a=c.call({lexer:this},e,t))?(e=e.substring(a.raw.length),t.push(a),!0):!1))continue;if(a=this.tokenizer.escape(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.tag(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.link(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(a.raw.length);let c=t.at(-1);a.type==="text"&&c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):t.push(a);continue}if(a=this.tokenizer.emStrong(e,s,i)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.codespan(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.br(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.del(e)){e=e.substring(a.raw.length),t.push(a);continue}if(a=this.tokenizer.autolink(e)){e=e.substring(a.raw.length),t.push(a);continue}if(!this.state.inLink&&(a=this.tokenizer.url(e))){e=e.substring(a.raw.length),t.push(a);continue}let u=e;if(this.options.extensions?.startInline){let c=1/0,h=e.slice(1),m;this.options.extensions.startInline.forEach(f=>{m=f.call({lexer:this},h),typeof m=="number"&&m>=0&&(c=Math.min(c,m))}),c<1/0&&c>=0&&(u=e.substring(0,c+1))}if(a=this.tokenizer.inlineText(u)){e=e.substring(a.raw.length),a.raw.slice(-1)!=="_"&&(i=a.raw.slice(-1)),l=!0;let c=t.at(-1);c?.type==="text"?(c.raw+=a.raw,c.text+=a.text):t.push(a);continue}if(e){let c="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return t}},at=class{options;parser;constructor(r){this.options=r||we}space(r){return""}code({text:r,lang:e,escaped:t}){let s=(e||"").match(q.notSpaceStart)?.[0],n=r.replace(q.endingNewline,"")+` +`;return s?'
    '+(t?n:re(n,!0))+`
    +`:"
    "+(t?n:re(n,!0))+`
    +`}blockquote({tokens:r}){return`
    +${this.parser.parse(r)}
    +`}html({text:r}){return r}def(r){return""}heading({tokens:r,depth:e}){return`${this.parser.parseInline(r)} +`}hr(r){return`
    +`}list(r){let e=r.ordered,t=r.start,s="";for(let i=0;i +`+s+" +`}listitem(r){let e="";if(r.task){let t=this.checkbox({checked:!!r.checked});r.loose?r.tokens[0]?.type==="paragraph"?(r.tokens[0].text=t+" "+r.tokens[0].text,r.tokens[0].tokens&&r.tokens[0].tokens.length>0&&r.tokens[0].tokens[0].type==="text"&&(r.tokens[0].tokens[0].text=t+" "+re(r.tokens[0].tokens[0].text),r.tokens[0].tokens[0].escaped=!0)):r.tokens.unshift({type:"text",raw:t+" ",text:t+" ",escaped:!0}):e+=t+" "}return e+=this.parser.parse(r.tokens,!!r.loose),`
  • ${e}
  • +`}checkbox({checked:r}){return"'}paragraph({tokens:r}){return`

    ${this.parser.parseInline(r)}

    +`}table(r){let e="",t="";for(let n=0;n${s}`),` + +`+e+` +`+s+`
    +`}tablerow({text:r}){return` +${r} +`}tablecell(r){let e=this.parser.parseInline(r.tokens),t=r.header?"th":"td";return(r.align?`<${t} align="${r.align}">`:`<${t}>`)+e+` +`}strong({tokens:r}){return`${this.parser.parseInline(r)}`}em({tokens:r}){return`${this.parser.parseInline(r)}`}codespan({text:r}){return`${re(r,!0)}`}br(r){return"
    "}del({tokens:r}){return`${this.parser.parseInline(r)}`}link({href:r,title:e,tokens:t}){let s=this.parser.parseInline(t),n=vn(r);if(n===null)return s;r=n;let l='
    ",l}image({href:r,title:e,text:t,tokens:s}){s&&(t=this.parser.parseInline(s,this.parser.textRenderer));let n=vn(r);if(n===null)return re(t);r=n;let l=`${t}{let i=n[l].flat(1/0);t=t.concat(this.walkTokens(i,e))}):n.tokens&&(t=t.concat(this.walkTokens(n.tokens,e)))}}return t}use(...r){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(t=>{let s={...t};if(s.async=this.defaults.async||s.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let l=e.renderers[n.name];l?e.renderers[n.name]=function(...i){let a=n.renderer.apply(this,i);return a===!1&&(a=l.apply(this,i)),a}:e.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||n.level!=="block"&&n.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let l=e[n.level];l?l.unshift(n.tokenizer):e[n.level]=[n.tokenizer],n.start&&(n.level==="block"?e.startBlock?e.startBlock.push(n.start):e.startBlock=[n.start]:n.level==="inline"&&(e.startInline?e.startInline.push(n.start):e.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(e.childTokens[n.name]=n.childTokens)}),s.extensions=e),t.renderer){let n=this.defaults.renderer||new at(this.defaults);for(let l in t.renderer){if(!(l in n))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;let i=l,a=t.renderer[i],u=n[i];n[i]=(...c)=>{let h=a.apply(n,c);return h===!1&&(h=u.apply(n,c)),h||""}}s.renderer=n}if(t.tokenizer){let n=this.defaults.tokenizer||new lt(this.defaults);for(let l in t.tokenizer){if(!(l in n))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;let i=l,a=t.tokenizer[i],u=n[i];n[i]=(...c)=>{let h=a.apply(n,c);return h===!1&&(h=u.apply(n,c)),h}}s.tokenizer=n}if(t.hooks){let n=this.defaults.hooks||new st;for(let l in t.hooks){if(!(l in n))throw new Error(`hook '${l}' does not exist`);if(["options","block"].includes(l))continue;let i=l,a=t.hooks[i],u=n[i];st.passThroughHooks.has(l)?n[i]=c=>{if(this.defaults.async)return Promise.resolve(a.call(n,c)).then(m=>u.call(n,m));let h=a.call(n,c);return u.call(n,h)}:n[i]=(...c)=>{let h=a.apply(n,c);return h===!1&&(h=u.apply(n,c)),h}}s.hooks=n}if(t.walkTokens){let n=this.defaults.walkTokens,l=t.walkTokens;s.walkTokens=function(i){let a=[];return a.push(l.call(this,i)),n&&(a=a.concat(n.call(this,i))),a}}this.defaults={...this.defaults,...s}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,e){return pe.lex(r,e??this.defaults)}parser(r,e){return he.parse(r,e??this.defaults)}parseMarkdown(r){return(e,t)=>{let s={...t},n={...this.defaults,...s},l=this.onError(!!n.silent,!!n.async);if(this.defaults.async===!0&&s.async===!1)return l(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||e===null)return l(new Error("marked(): input parameter is undefined or null"));if(typeof e!="string")return l(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));n.hooks&&(n.hooks.options=n,n.hooks.block=r);let i=n.hooks?n.hooks.provideLexer():r?pe.lex:pe.lexInline,a=n.hooks?n.hooks.provideParser():r?he.parse:he.parseInline;if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(e):e).then(u=>i(u,n)).then(u=>n.hooks?n.hooks.processAllTokens(u):u).then(u=>n.walkTokens?Promise.all(this.walkTokens(u,n.walkTokens)).then(()=>u):u).then(u=>a(u,n)).then(u=>n.hooks?n.hooks.postprocess(u):u).catch(l);try{n.hooks&&(e=n.hooks.preprocess(e));let u=i(e,n);n.hooks&&(u=n.hooks.processAllTokens(u)),n.walkTokens&&this.walkTokens(u,n.walkTokens);let c=a(u,n);return n.hooks&&(c=n.hooks.postprocess(c)),c}catch(u){return l(u)}}}onError(r,e){return t=>{if(t.message+=` +Please report this to https://github.com/markedjs/marked.`,r){let s="

    An error occurred:

    "+re(t.message+"",!0)+"
    ";return e?Promise.resolve(s):s}if(e)return Promise.reject(t);throw t}}},ke=new li;function E(r,e){return ke.parse(r,e)}E.options=E.setOptions=function(r){return ke.setOptions(r),E.defaults=ke.defaults,Un(E.defaults),E};E.getDefaults=Bt;E.defaults=we;E.use=function(...r){return ke.use(...r),E.defaults=ke.defaults,Un(E.defaults),E};E.walkTokens=function(r,e){return ke.walkTokens(r,e)};E.parseInline=ke.parseInline;E.Parser=he;E.parser=he.parse;E.Renderer=at;E.TextRenderer=Yt;E.Lexer=pe;E.lexer=pe.lex;E.Tokenizer=lt;E.Hooks=st;E.parse=E;E.options;E.setOptions;E.use;E.walkTokens;E.parseInline;he.parse;pe.lex;/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */const{entries:Vn,setPrototypeOf:Sn,isFrozen:ai,getPrototypeOf:ci,getOwnPropertyDescriptor:ui}=Object;let{freeze:j,seal:Y,create:Qn}=Object,{apply:Nt,construct:Pt}=typeof Reflect<"u"&&Reflect;j||(j=function(e){return e});Y||(Y=function(e){return e});Nt||(Nt=function(e,t,s){return e.apply(t,s)});Pt||(Pt=function(e,t){return new e(...t)});const tt=Z(Array.prototype.forEach),pi=Z(Array.prototype.lastIndexOf),Rn=Z(Array.prototype.pop),ze=Z(Array.prototype.push),hi=Z(Array.prototype.splice),it=Z(String.prototype.toLowerCase),St=Z(String.prototype.toString),Ln=Z(String.prototype.match),Ue=Z(String.prototype.replace),di=Z(String.prototype.indexOf),fi=Z(String.prototype.trim),Q=Z(Object.prototype.hasOwnProperty),G=Z(RegExp.prototype.test),Fe=gi(TypeError);function Z(r){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n2&&arguments[2]!==void 0?arguments[2]:it;Sn&&Sn(r,null);let s=e.length;for(;s--;){let n=e[s];if(typeof n=="string"){const l=t(n);l!==n&&(ai(e)||(e[s]=l),n=l)}r[n]=!0}return r}function mi(r){for(let e=0;e/gm),yi=Y(/\$\{[\w\W]*/gm),_i=Y(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ti=Y(/^aria-[\-\w]+$/),Kn=Y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vi=Y(/^(?:\w+script|data):/i),Ai=Y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Jn=Y(/^html$/i),Ei=Y(/^[a-z][.\w]*(-[.\w]+)+$/i);var Mn=Object.freeze({__proto__:null,ARIA_ATTR:Ti,ATTR_WHITESPACE:Ai,CUSTOM_ELEMENT:Ei,DATA_ATTR:_i,DOCTYPE_NAME:Jn,ERB_EXPR:wi,IS_ALLOWED_URI:Kn,IS_SCRIPT_OR_DATA:vi,MUSTACHE_EXPR:xi,TMPLIT_EXPR:yi});const He={element:1,text:3,progressingInstruction:7,comment:8,document:9},Si=function(){return typeof window>"u"?null:window},Ri=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(s=t.getAttribute(n));const l="dompurify"+(s?"#"+s:"");try{return e.createPolicy(l,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+l+" could not be created."),null}},On=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function er(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Si();const e=k=>er(k);if(e.version="3.2.6",e.removed=[],!r||!r.document||r.document.nodeType!==He.document||!r.Element)return e.isSupported=!1,e;let{document:t}=r;const s=t,n=s.currentScript,{DocumentFragment:l,HTMLTemplateElement:i,Node:a,Element:u,NodeFilter:c,NamedNodeMap:h=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:m,DOMParser:f,trustedTypes:y}=r,v=u.prototype,$=Be(v,"cloneNode"),V=Be(v,"remove"),J=Be(v,"nextSibling"),ee=Be(v,"childNodes"),U=Be(v,"parentNode");if(typeof i=="function"){const k=t.createElement("template");k.content&&k.content.ownerDocument&&(t=k.content.ownerDocument)}let D,se="";const{implementation:ie,createNodeIterator:te,createDocumentFragment:ht,getElementsByTagName:dt}=t,{importNode:ft}=s;let I=On();e.isSupported=typeof Vn=="function"&&typeof U=="function"&&ie&&ie.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:de,ERB_EXPR:Ce,TMPLIT_EXPR:x,DATA_ATTR:_,ARIA_ATTR:H,IS_SCRIPT_OR_DATA:oe,ATTR_WHITESPACE:De,CUSTOM_ELEMENT:gt}=Mn;let{IS_ALLOWED_URI:Vt}=Mn,O=null;const Qt=w({},[...Cn,...Rt,...Lt,...Ct,...Dn]);let z=null;const Kt=w({},[...In,...Dt,...$n,...nt]);let C=Object.seal(Qn(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ie=null,mt=null,Jt=!0,kt=!0,en=!1,tn=!0,ye=!1,je=!0,fe=!1,bt=!1,xt=!1,_e=!1,Ze=!1,Xe=!1,nn=!0,rn=!1;const tr="user-content-";let wt=!0,$e=!1,Te={},ve=null;const sn=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let on=null;const ln=w({},["audio","video","img","source","image","track"]);let yt=null;const an=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ye="http://www.w3.org/1998/Math/MathML",Ve="http://www.w3.org/2000/svg",le="http://www.w3.org/1999/xhtml";let Ae=le,_t=!1,Tt=null;const nr=w({},[Ye,Ve,le],St);let Qe=w({},["mi","mo","mn","ms","mtext"]),Ke=w({},["annotation-xml"]);const rr=w({},["title","style","font","a","script"]);let Me=null;const sr=["application/xhtml+xml","text/html"],ir="text/html";let N=null,Ee=null;const or=t.createElement("form"),cn=function(o){return o instanceof RegExp||o instanceof Function},vt=function(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ee&&Ee===o)){if((!o||typeof o!="object")&&(o={}),o=ue(o),Me=sr.indexOf(o.PARSER_MEDIA_TYPE)===-1?ir:o.PARSER_MEDIA_TYPE,N=Me==="application/xhtml+xml"?St:it,O=Q(o,"ALLOWED_TAGS")?w({},o.ALLOWED_TAGS,N):Qt,z=Q(o,"ALLOWED_ATTR")?w({},o.ALLOWED_ATTR,N):Kt,Tt=Q(o,"ALLOWED_NAMESPACES")?w({},o.ALLOWED_NAMESPACES,St):nr,yt=Q(o,"ADD_URI_SAFE_ATTR")?w(ue(an),o.ADD_URI_SAFE_ATTR,N):an,on=Q(o,"ADD_DATA_URI_TAGS")?w(ue(ln),o.ADD_DATA_URI_TAGS,N):ln,ve=Q(o,"FORBID_CONTENTS")?w({},o.FORBID_CONTENTS,N):sn,Ie=Q(o,"FORBID_TAGS")?w({},o.FORBID_TAGS,N):ue({}),mt=Q(o,"FORBID_ATTR")?w({},o.FORBID_ATTR,N):ue({}),Te=Q(o,"USE_PROFILES")?o.USE_PROFILES:!1,Jt=o.ALLOW_ARIA_ATTR!==!1,kt=o.ALLOW_DATA_ATTR!==!1,en=o.ALLOW_UNKNOWN_PROTOCOLS||!1,tn=o.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ye=o.SAFE_FOR_TEMPLATES||!1,je=o.SAFE_FOR_XML!==!1,fe=o.WHOLE_DOCUMENT||!1,_e=o.RETURN_DOM||!1,Ze=o.RETURN_DOM_FRAGMENT||!1,Xe=o.RETURN_TRUSTED_TYPE||!1,xt=o.FORCE_BODY||!1,nn=o.SANITIZE_DOM!==!1,rn=o.SANITIZE_NAMED_PROPS||!1,wt=o.KEEP_CONTENT!==!1,$e=o.IN_PLACE||!1,Vt=o.ALLOWED_URI_REGEXP||Kn,Ae=o.NAMESPACE||le,Qe=o.MATHML_TEXT_INTEGRATION_POINTS||Qe,Ke=o.HTML_INTEGRATION_POINTS||Ke,C=o.CUSTOM_ELEMENT_HANDLING||{},o.CUSTOM_ELEMENT_HANDLING&&cn(o.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(C.tagNameCheck=o.CUSTOM_ELEMENT_HANDLING.tagNameCheck),o.CUSTOM_ELEMENT_HANDLING&&cn(o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(C.attributeNameCheck=o.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),o.CUSTOM_ELEMENT_HANDLING&&typeof o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(C.allowCustomizedBuiltInElements=o.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ye&&(kt=!1),Ze&&(_e=!0),Te&&(O=w({},Dn),z=[],Te.html===!0&&(w(O,Cn),w(z,In)),Te.svg===!0&&(w(O,Rt),w(z,Dt),w(z,nt)),Te.svgFilters===!0&&(w(O,Lt),w(z,Dt),w(z,nt)),Te.mathMl===!0&&(w(O,Ct),w(z,$n),w(z,nt))),o.ADD_TAGS&&(O===Qt&&(O=ue(O)),w(O,o.ADD_TAGS,N)),o.ADD_ATTR&&(z===Kt&&(z=ue(z)),w(z,o.ADD_ATTR,N)),o.ADD_URI_SAFE_ATTR&&w(yt,o.ADD_URI_SAFE_ATTR,N),o.FORBID_CONTENTS&&(ve===sn&&(ve=ue(ve)),w(ve,o.FORBID_CONTENTS,N)),wt&&(O["#text"]=!0),fe&&w(O,["html","head","body"]),O.table&&(w(O,["tbody"]),delete Ie.tbody),o.TRUSTED_TYPES_POLICY){if(typeof o.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof o.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');D=o.TRUSTED_TYPES_POLICY,se=D.createHTML("")}else D===void 0&&(D=Ri(y,n)),D!==null&&typeof se=="string"&&(se=D.createHTML(""));j&&j(o),Ee=o}},un=w({},[...Rt,...Lt,...ki]),pn=w({},[...Ct,...bi]),lr=function(o){let p=U(o);(!p||!p.tagName)&&(p={namespaceURI:Ae,tagName:"template"});const g=it(o.tagName),S=it(p.tagName);return Tt[o.namespaceURI]?o.namespaceURI===Ve?p.namespaceURI===le?g==="svg":p.namespaceURI===Ye?g==="svg"&&(S==="annotation-xml"||Qe[S]):!!un[g]:o.namespaceURI===Ye?p.namespaceURI===le?g==="math":p.namespaceURI===Ve?g==="math"&&Ke[S]:!!pn[g]:o.namespaceURI===le?p.namespaceURI===Ve&&!Ke[S]||p.namespaceURI===Ye&&!Qe[S]?!1:!pn[g]&&(rr[g]||!un[g]):!!(Me==="application/xhtml+xml"&&Tt[o.namespaceURI]):!1},ne=function(o){ze(e.removed,{element:o});try{U(o).removeChild(o)}catch{V(o)}},Se=function(o,p){try{ze(e.removed,{attribute:p.getAttributeNode(o),from:p})}catch{ze(e.removed,{attribute:null,from:p})}if(p.removeAttribute(o),o==="is")if(_e||Ze)try{ne(p)}catch{}else try{p.setAttribute(o,"")}catch{}},hn=function(o){let p=null,g=null;if(xt)o=""+o;else{const M=Ln(o,/^[\r\n\t ]+/);g=M&&M[0]}Me==="application/xhtml+xml"&&Ae===le&&(o=''+o+"");const S=D?D.createHTML(o):o;if(Ae===le)try{p=new f().parseFromString(S,Me)}catch{}if(!p||!p.documentElement){p=ie.createDocument(Ae,"template",null);try{p.documentElement.innerHTML=_t?se:S}catch{}}const F=p.body||p.documentElement;return o&&g&&F.insertBefore(t.createTextNode(g),F.childNodes[0]||null),Ae===le?dt.call(p,fe?"html":"body")[0]:fe?p.documentElement:F},dn=function(o){return te.call(o.ownerDocument||o,o,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},At=function(o){return o instanceof m&&(typeof o.nodeName!="string"||typeof o.textContent!="string"||typeof o.removeChild!="function"||!(o.attributes instanceof h)||typeof o.removeAttribute!="function"||typeof o.setAttribute!="function"||typeof o.namespaceURI!="string"||typeof o.insertBefore!="function"||typeof o.hasChildNodes!="function")},fn=function(o){return typeof a=="function"&&o instanceof a};function ae(k,o,p){tt(k,g=>{g.call(e,o,p,Ee)})}const gn=function(o){let p=null;if(ae(I.beforeSanitizeElements,o,null),At(o))return ne(o),!0;const g=N(o.nodeName);if(ae(I.uponSanitizeElement,o,{tagName:g,allowedTags:O}),je&&o.hasChildNodes()&&!fn(o.firstElementChild)&&G(/<[/\w!]/g,o.innerHTML)&&G(/<[/\w!]/g,o.textContent)||o.nodeType===He.progressingInstruction||je&&o.nodeType===He.comment&&G(/<[/\w]/g,o.data))return ne(o),!0;if(!O[g]||Ie[g]){if(!Ie[g]&&kn(g)&&(C.tagNameCheck instanceof RegExp&&G(C.tagNameCheck,g)||C.tagNameCheck instanceof Function&&C.tagNameCheck(g)))return!1;if(wt&&!ve[g]){const S=U(o)||o.parentNode,F=ee(o)||o.childNodes;if(F&&S){const M=F.length;for(let X=M-1;X>=0;--X){const ce=$(F[X],!0);ce.__removalCount=(o.__removalCount||0)+1,S.insertBefore(ce,J(o))}}}return ne(o),!0}return o instanceof u&&!lr(o)||(g==="noscript"||g==="noembed"||g==="noframes")&&G(/<\/no(script|embed|frames)/i,o.innerHTML)?(ne(o),!0):(ye&&o.nodeType===He.text&&(p=o.textContent,tt([de,Ce,x],S=>{p=Ue(p,S," ")}),o.textContent!==p&&(ze(e.removed,{element:o.cloneNode()}),o.textContent=p)),ae(I.afterSanitizeElements,o,null),!1)},mn=function(o,p,g){if(nn&&(p==="id"||p==="name")&&(g in t||g in or))return!1;if(!(kt&&!mt[p]&&G(_,p))){if(!(Jt&&G(H,p))){if(!z[p]||mt[p]){if(!(kn(o)&&(C.tagNameCheck instanceof RegExp&&G(C.tagNameCheck,o)||C.tagNameCheck instanceof Function&&C.tagNameCheck(o))&&(C.attributeNameCheck instanceof RegExp&&G(C.attributeNameCheck,p)||C.attributeNameCheck instanceof Function&&C.attributeNameCheck(p))||p==="is"&&C.allowCustomizedBuiltInElements&&(C.tagNameCheck instanceof RegExp&&G(C.tagNameCheck,g)||C.tagNameCheck instanceof Function&&C.tagNameCheck(g))))return!1}else if(!yt[p]){if(!G(Vt,Ue(g,De,""))){if(!((p==="src"||p==="xlink:href"||p==="href")&&o!=="script"&&di(g,"data:")===0&&on[o])){if(!(en&&!G(oe,Ue(g,De,"")))){if(g)return!1}}}}}}return!0},kn=function(o){return o!=="annotation-xml"&&Ln(o,gt)},bn=function(o){ae(I.beforeSanitizeAttributes,o,null);const{attributes:p}=o;if(!p||At(o))return;const g={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let S=p.length;for(;S--;){const F=p[S],{name:M,namespaceURI:X,value:ce}=F,Oe=N(M),Et=ce;let B=M==="value"?Et:fi(Et);if(g.attrName=Oe,g.attrValue=B,g.keepAttr=!0,g.forceKeepAttr=void 0,ae(I.uponSanitizeAttribute,o,g),B=g.attrValue,rn&&(Oe==="id"||Oe==="name")&&(Se(M,o),B=tr+B),je&&G(/((--!?|])>)|<\/(style|title)/i,B)){Se(M,o);continue}if(g.forceKeepAttr)continue;if(!g.keepAttr){Se(M,o);continue}if(!tn&&G(/\/>/i,B)){Se(M,o);continue}ye&&tt([de,Ce,x],wn=>{B=Ue(B,wn," ")});const xn=N(o.nodeName);if(!mn(xn,Oe,B)){Se(M,o);continue}if(D&&typeof y=="object"&&typeof y.getAttributeType=="function"&&!X)switch(y.getAttributeType(xn,Oe)){case"TrustedHTML":{B=D.createHTML(B);break}case"TrustedScriptURL":{B=D.createScriptURL(B);break}}if(B!==Et)try{X?o.setAttributeNS(X,M,B):o.setAttribute(M,B),At(o)?ne(o):Rn(e.removed)}catch{Se(M,o)}}ae(I.afterSanitizeAttributes,o,null)},ar=function k(o){let p=null;const g=dn(o);for(ae(I.beforeSanitizeShadowDOM,o,null);p=g.nextNode();)ae(I.uponSanitizeShadowNode,p,null),gn(p),bn(p),p.content instanceof l&&k(p.content);ae(I.afterSanitizeShadowDOM,o,null)};return e.sanitize=function(k){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=null,g=null,S=null,F=null;if(_t=!k,_t&&(k=""),typeof k!="string"&&!fn(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw Fe("dirty is not a string, aborting")}else throw Fe("toString is not a function");if(!e.isSupported)return k;if(bt||vt(o),e.removed=[],typeof k=="string"&&($e=!1),$e){if(k.nodeName){const ce=N(k.nodeName);if(!O[ce]||Ie[ce])throw Fe("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof a)p=hn(""),g=p.ownerDocument.importNode(k,!0),g.nodeType===He.element&&g.nodeName==="BODY"||g.nodeName==="HTML"?p=g:p.appendChild(g);else{if(!_e&&!ye&&!fe&&k.indexOf("<")===-1)return D&&Xe?D.createHTML(k):k;if(p=hn(k),!p)return _e?null:Xe?se:""}p&&xt&&ne(p.firstChild);const M=dn($e?k:p);for(;S=M.nextNode();)gn(S),bn(S),S.content instanceof l&&ar(S.content);if($e)return k;if(_e){if(Ze)for(F=ht.call(p.ownerDocument);p.firstChild;)F.appendChild(p.firstChild);else F=p;return(z.shadowroot||z.shadowrootmode)&&(F=ft.call(s,F,!0)),F}let X=fe?p.outerHTML:p.innerHTML;return fe&&O["!doctype"]&&p.ownerDocument&&p.ownerDocument.doctype&&p.ownerDocument.doctype.name&&G(Jn,p.ownerDocument.doctype.name)&&(X=" +`+X),ye&&tt([de,Ce,x],ce=>{X=Ue(X,ce," ")}),D&&Xe?D.createHTML(X):X},e.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};vt(k),bt=!0},e.clearConfig=function(){Ee=null,bt=!1},e.isValidAttribute=function(k,o,p){Ee||vt({});const g=N(k),S=N(o);return mn(g,S,p)},e.addHook=function(k,o){typeof o=="function"&&ze(I[k],o)},e.removeHook=function(k,o){if(o!==void 0){const p=pi(I[k],o);return p===-1?void 0:hi(I[k],p,1)[0]}return Rn(I[k])},e.removeHooks=function(k){I[k]=[]},e.removeAllHooks=function(){I=On()},e}var Li=er();const Ci={class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300"},Di={class:"w-full max-w-md relative z-10"},Ii={class:"p-8"},$i=be({__name:"RetrievewFileView",setup(r){const{t:e}=We(),t=mr(),s=window.location.origin,n=wr(),l=xe("isDarkMode"),i=Er(),{receiveData:a}=kr(i),u=K(""),c=K({readonly:!1,loading:!1}),h=K(""),m=K(null),f=K(!1),y=xr(),v=a,$=JSON.parse(localStorage.getItem("config")||"{}"),V=K(null);br(()=>{V.value&&V.value.focus();const x=y.query.code;x&&typeof x=="string"&&(u.value=x)}),It(u,x=>{x.length===5&&U()});const J=x=>x.downloadUrl?x.downloadUrl.startsWith("http")?x.downloadUrl:`${s}${x.downloadUrl}`:"",ee=async()=>{m.value&&m.value.content&&await Rr(m.value.content,{successMsg:e("fileRecord.contentCopied"),errorMsg:e("fileRecord.copyFailed")})},U=async()=>{if(u.value.length!==5){t.showAlert(e("retrieve.messages.invalidCode"),"error");return}c.value.readonly=!0,c.value.loading=!0;try{const x=await yr.post("/share/select/",{code:u.value}),_=x.data||x;if(_&&_.code===200)if(_.detail){const H=_.detail.text.startsWith("/share/download")||_.detail.name!=="Text",oe={id:Date.now(),code:_.detail.code,filename:_.detail.name,size:D(_.detail.size),downloadUrl:H?_.detail.text:null,content:H?null:_.detail.text,date:new Date().toLocaleString()};let De=!0;i.receiveData.forEach(gt=>{gt.code===oe.code&&(De=!1)}),De&&i.addReceiveData(oe),H?m.value=oe:(m.value=oe,I.value=!0),t.showAlert(e("retrieve.messages.retrieveSuccess"),"success")}else t.showAlert(e("retrieve.messages.invalidCodeError"),"error");else t.showAlert(e("retrieve.messages.retrieveFailure")+_.detail,"error")}catch(x){console.error("Retrieve failed:",x);const _=x,H=_?.response?.data?.detail||_?.message||e("retrieve.messages.unknownError");t.showAlert(e("retrieve.messages.networkError")+H,"error")}finally{c.value.readonly=!1,c.value.loading=!1,u.value=""}},D=x=>{if(x===0)return"0 "+e("fileSize.bytes");const _=1024,H=[e("fileSize.bytes"),e("fileSize.kb"),e("fileSize.mb"),e("fileSize.gb"),e("fileSize.tb")],oe=Math.floor(Math.log(x)/Math.log(_));return parseFloat((x/Math.pow(_,oe)).toFixed(2))+" "+H[oe]},se=x=>{m.value=x},ie=x=>{const _=v.value.findIndex(H=>H.id===x);_!==-1&&i.deleteReceiveData(_)},te=()=>{f.value=!f.value},ht=()=>{n.push("/send")},dt=x=>x.downloadUrl?`${s}${x.downloadUrl}`:`${s}?code=${x.code}`,ft=x=>{if(x.downloadUrl)window.open(`${x.downloadUrl.startsWith("http")?"":s}${x.downloadUrl}`,"_blank");else if(x.content){const _=new Blob([x.content],{type:"text/plain;charset=utf-8"});As.saveAs(_,`${x.filename}.txt`)}},I=K(!1),de=K("");It(()=>m.value?.content,async x=>{if(x)try{const _=await E(x);de.value=Li.sanitize(_,{ALLOWED_TAGS:["p","br","strong","em","u","h1","h2","h3","h4","h5","h6","ul","ol","li","blockquote","code","pre","a","img"],ALLOWED_ATTR:["href","src","alt","title","class"],ALLOWED_URI_REGEXP:/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|xxx):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))/i})}catch(_){console.error("Markdown 渲染失败:",_),de.value=x}else de.value=""},{immediate:!0});const Ce=()=>{I.value=!0};return(x,_)=>(P(),W("div",Ci,[b("div",Di,[b("div",{class:T(["rounded-3xl shadow-2xl overflow-hidden border transform transition-all duration-300",[d(l)?"bg-gray-800 bg-opacity-50 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[b("div",Ii,[L(Sr,{title:d($).name,onTitleClick:ht},null,8,["title"]),L(Br,{"input-status":c.value,error:!!h.value,onSubmit:U,"onUpdate:code":_[0]||(_[0]=H=>u.value=H),ref:"retrieveFormRef"},null,8,["input-status","error"])]),L(Gr,{"link-text":x.$t("retrieve.needSendFile"),"link-to":"/send","drawer-text":x.$t("retrieve.recordsDrawer"),onToggleDrawer:te},null,8,["link-text","drawer-text"])],2)]),L(qr,{visible:f.value,title:x.$t("retrieve.recordsDrawer"),onClose:te},{default:Le(()=>[L(ms,{records:d(v),onViewDetails:se,onDownloadRecord:ft,onDeleteRecord:ie},null,8,["records"])]),_:1},8,["visible","title"]),L(ls,{visible:!!m.value,record:m.value,onClose:_[1]||(_[1]=H=>m.value=null),onShowContentPreview:Ce,"get-download-url":J,"get-qr-code-value":dt},null,8,["visible","record"]),L(_s,{visible:I.value,"rendered-content":de.value,onClose:_[2]||(_[2]=H=>I.value=!1),onCopyContent:ee},null,8,["visible","rendered-content"])]))}}),Fi=Re($i,[["__scopeId","data-v-a89ba9bf"]]);export{Fi as default}; diff --git a/themes/2024/assets/RetrievewFileView-CfCNxb7z.css b/themes/2024/assets/RetrievewFileView-CfCNxb7z.css deleted file mode 100644 index 27e91ff..0000000 --- a/themes/2024/assets/RetrievewFileView-CfCNxb7z.css +++ /dev/null @@ -1 +0,0 @@ -@keyframes blob-39deaf32{0%,to{transform:translate(0) scale(1)}25%{transform:translate(20px,-50px) scale(1.1)}50%{transform:translate(-20px,20px) scale(.9)}75%{transform:translate(50px,50px) scale(1.05)}}.animate-spin-slow[data-v-39deaf32]{animation:spin-39deaf32 8s linear infinite}@keyframes spin-39deaf32{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.w-97-100[data-v-39deaf32]{width:97%}[data-v-39deaf32] .prose{text-align:left;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-39deaf32] .prose h1,[data-v-39deaf32] .prose h2,[data-v-39deaf32] .prose h3,[data-v-39deaf32] .prose h4,[data-v-39deaf32] .prose h5,[data-v-39deaf32] .prose h6{color:#4f46e5;word-wrap:break-word;overflow-wrap:break-word}[data-v-39deaf32] .prose p,[data-v-39deaf32] .prose div,[data-v-39deaf32] .prose span,[data-v-39deaf32] .prose code,[data-v-39deaf32] .prose pre{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-39deaf32] .prose pre{white-space:pre-wrap;overflow-x:auto}[data-v-39deaf32] .prose code{white-space:pre-wrap}@media (prefers-color-scheme: dark){[data-v-39deaf32] .prose h1,[data-v-39deaf32] .prose h2,[data-v-39deaf32] .prose h3,[data-v-39deaf32] .prose h4,[data-v-39deaf32] .prose h5,[data-v-39deaf32] .prose h6{color:#818cf8}}@media (min-width: 640px){.sm\:w-120[data-v-39deaf32]{width:30rem}}.custom-scrollbar[data-v-39deaf32]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.3) rgba(243,244,246,.5)}.custom-scrollbar[data-v-39deaf32]::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar[data-v-39deaf32]::-webkit-scrollbar-track{background:#f3f4f680;border-radius:3px}.custom-scrollbar[data-v-39deaf32]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px;-webkit-transition:background-color .3s;transition:background-color .3s}.custom-scrollbar[data-v-39deaf32]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}[data-v-39deaf32] [class*=dark] .custom-scrollbar{scrollbar-color:rgba(75,85,99,.5) rgba(31,41,55,.5)}[data-v-39deaf32] [class*=dark] .custom-scrollbar::-webkit-scrollbar-track{background:#1f293780}[data-v-39deaf32] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb{background-color:#4b556380}[data-v-39deaf32] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb:hover{background-color:#4b5563b3}.custom-scrollbar[data-v-39deaf32]{background:inherit}.break-words[data-v-39deaf32]{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.overflow-wrap-anywhere[data-v-39deaf32]{overflow-wrap:anywhere} diff --git a/themes/2024/assets/RetrievewFileView-pLqL6j5e.css b/themes/2024/assets/RetrievewFileView-pLqL6j5e.css new file mode 100644 index 0000000..c4cdaf5 --- /dev/null +++ b/themes/2024/assets/RetrievewFileView-pLqL6j5e.css @@ -0,0 +1 @@ +.w-97-100[data-v-8f0be1b0]{width:calc(100% - 1rem)}.drawer-enter-active[data-v-9c6698ec],.drawer-leave-active[data-v-9c6698ec]{transition:transform .3s ease}.drawer-enter-from[data-v-9c6698ec],.drawer-leave-to[data-v-9c6698ec]{transform:translate(100%)}@media (min-width: 640px){.sm\:w-120[data-v-9c6698ec]{width:30rem}}.fade-enter-active[data-v-5c3436d6],.fade-leave-active[data-v-5c3436d6]{transition:opacity .3s ease}.fade-enter-from[data-v-5c3436d6],.fade-leave-to[data-v-5c3436d6]{opacity:0}.list-enter-active[data-v-31facf40],.list-leave-active[data-v-31facf40]{transition:all .3s ease}.list-enter-from[data-v-31facf40],.list-leave-to[data-v-31facf40]{opacity:0;transform:translate(30px)}.list-move[data-v-31facf40]{transition:transform .3s ease}.fade-enter-active[data-v-eb3f9cc8],.fade-leave-active[data-v-eb3f9cc8]{transition:opacity .3s ease}.fade-enter-from[data-v-eb3f9cc8],.fade-leave-to[data-v-eb3f9cc8]{opacity:0}.custom-scrollbar[data-v-eb3f9cc8]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.3) rgba(243,244,246,.5)}.custom-scrollbar[data-v-eb3f9cc8]::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar[data-v-eb3f9cc8]::-webkit-scrollbar-track{background:#f3f4f680;border-radius:3px}.custom-scrollbar[data-v-eb3f9cc8]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px;-webkit-transition:background-color .3s;transition:background-color .3s}.custom-scrollbar[data-v-eb3f9cc8]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}[data-v-eb3f9cc8] [class*=dark] .custom-scrollbar{scrollbar-color:rgba(75,85,99,.5) rgba(31,41,55,.5)}[data-v-eb3f9cc8] [class*=dark] .custom-scrollbar::-webkit-scrollbar-track{background:#1f293780}[data-v-eb3f9cc8] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb{background-color:#4b556380}[data-v-eb3f9cc8] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb:hover{background-color:#4b5563b3}.custom-scrollbar[data-v-eb3f9cc8]{background:inherit}.break-words[data-v-eb3f9cc8]{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.overflow-wrap-anywhere[data-v-eb3f9cc8]{overflow-wrap:anywhere}[data-v-eb3f9cc8] .prose{text-align:left;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-eb3f9cc8] .prose h1,[data-v-eb3f9cc8] .prose h2,[data-v-eb3f9cc8] .prose h3,[data-v-eb3f9cc8] .prose h4,[data-v-eb3f9cc8] .prose h5,[data-v-eb3f9cc8] .prose h6{color:#4f46e5;word-wrap:break-word;overflow-wrap:break-word}[data-v-eb3f9cc8] .prose p,[data-v-eb3f9cc8] .prose div,[data-v-eb3f9cc8] .prose span,[data-v-eb3f9cc8] .prose code,[data-v-eb3f9cc8] .prose pre{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-eb3f9cc8] .prose pre{white-space:pre-wrap;overflow-x:auto}[data-v-eb3f9cc8] .prose code{white-space:pre-wrap}@media (prefers-color-scheme: dark){[data-v-eb3f9cc8] .prose h1,[data-v-eb3f9cc8] .prose h2,[data-v-eb3f9cc8] .prose h3,[data-v-eb3f9cc8] .prose h4,[data-v-eb3f9cc8] .prose h5,[data-v-eb3f9cc8] .prose h6{color:#818cf8}}@keyframes blob-a89ba9bf{0%,to{transform:translate(0) scale(1)}25%{transform:translate(20px,-50px) scale(1.1)}50%{transform:translate(-20px,20px) scale(.9)}75%{transform:translate(50px,50px) scale(1.05)}}.animate-spin-slow[data-v-a89ba9bf]{animation:spin-a89ba9bf 8s linear infinite}@keyframes spin-a89ba9bf{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.w-97-100[data-v-a89ba9bf]{width:97%}[data-v-a89ba9bf] .prose{text-align:left;word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-a89ba9bf] .prose h1,[data-v-a89ba9bf] .prose h2,[data-v-a89ba9bf] .prose h3,[data-v-a89ba9bf] .prose h4,[data-v-a89ba9bf] .prose h5,[data-v-a89ba9bf] .prose h6{color:#4f46e5;word-wrap:break-word;overflow-wrap:break-word}[data-v-a89ba9bf] .prose p,[data-v-a89ba9bf] .prose div,[data-v-a89ba9bf] .prose span,[data-v-a89ba9bf] .prose code,[data-v-a89ba9bf] .prose pre{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}[data-v-a89ba9bf] .prose pre{white-space:pre-wrap;overflow-x:auto}[data-v-a89ba9bf] .prose code{white-space:pre-wrap}@media (prefers-color-scheme: dark){[data-v-a89ba9bf] .prose h1,[data-v-a89ba9bf] .prose h2,[data-v-a89ba9bf] .prose h3,[data-v-a89ba9bf] .prose h4,[data-v-a89ba9bf] .prose h5,[data-v-a89ba9bf] .prose h6{color:#818cf8}}@media (min-width: 640px){.sm\:w-120[data-v-a89ba9bf]{width:30rem}}.custom-scrollbar[data-v-a89ba9bf]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.3) rgba(243,244,246,.5)}.custom-scrollbar[data-v-a89ba9bf]::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar[data-v-a89ba9bf]::-webkit-scrollbar-track{background:#f3f4f680;border-radius:3px}.custom-scrollbar[data-v-a89ba9bf]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px;-webkit-transition:background-color .3s;transition:background-color .3s}.custom-scrollbar[data-v-a89ba9bf]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}[data-v-a89ba9bf] [class*=dark] .custom-scrollbar{scrollbar-color:rgba(75,85,99,.5) rgba(31,41,55,.5)}[data-v-a89ba9bf] [class*=dark] .custom-scrollbar::-webkit-scrollbar-track{background:#1f293780}[data-v-a89ba9bf] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb{background-color:#4b556380}[data-v-a89ba9bf] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb:hover{background-color:#4b5563b3}.custom-scrollbar[data-v-a89ba9bf]{background:inherit}.break-words[data-v-a89ba9bf]{word-wrap:break-word;overflow-wrap:break-word;word-break:break-word}.overflow-wrap-anywhere[data-v-a89ba9bf]{overflow-wrap:anywhere} diff --git a/themes/2024/assets/SendFileView-0AP69Sbg.js b/themes/2024/assets/SendFileView-0AP69Sbg.js deleted file mode 100644 index af389b6..0000000 --- a/themes/2024/assets/SendFileView-0AP69Sbg.js +++ /dev/null @@ -1,26 +0,0 @@ -import{c as N,d as ge,r as I,o as pe,w as $e,a as M,b as t,e as z,_ as he,u as De,f as Ie,g as m,n,h as r,i as Ae,t as D,j as q,k as E,l as H,m as Q,v as ae,T as J,F as K,p as Fe,q as ne,s as le,x as X,y as Pe,X as ie,z as je,A as Be,B as L}from"./index-B-Ka-o3f.js";import{u as Re,S as ce,C as Ue,c as Ve,a as Ee,Q as He,b as Y,E as Le}from"./clipboard-Bj3kv5gr.js";import{F as de}from"./file-ExORVwAL.js";import{T as Ne}from"./trash-McEm8LQt.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Z=N("clipboard-copy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const We=N("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qe=N("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ge=N("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Oe=N("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]),Qe=ge({__name:"BorderProgressBar",props:{progress:{}},setup(P){const T=P,U=I(null),s=I(null);let g=null;const S=()=>{if(!g||!s.value||!U.value)return;const u=U.value.clientWidth,f=U.value.clientHeight;s.value.width=u,s.value.height=f;const c=4,l=8;g.lineWidth=c;const y=g.createLinearGradient(0,0,u,f);y.addColorStop(0,"#4f46e5"),y.addColorStop(.5,"#7c3aed"),y.addColorStop(1,"#db2777"),g.strokeStyle="rgba(229, 231, 235, 0.2)",C(g,c/2,c/2,u-c,f-c,l),g.stroke();const k=((u+f)*2-8*l+2*Math.PI*l)*T.progress/100;g.strokeStyle=y,g.lineCap="round",g.lineJoin="round",g.beginPath();let d=k;const x=c/2,$=u-c,j=f-c;if(d>0){const p=Math.min($-2*l,d);g.moveTo(l+x,x),g.lineTo(p+l+x,x),d-=p}if(d>0){const p=Math.min(Math.PI/2,d/l);g.arc($-l+x,l+x,l,-Math.PI/2,p-Math.PI/2,!1),d-=p*l}if(d>0){const p=Math.min(j-2*l,d);g.lineTo($+x,p+l+x),d-=p}if(d>0){const p=Math.min(Math.PI/2,d/l);g.arc($-l+x,j-l+x,l,0,p,!1),d-=p*l}if(d>0){const p=Math.min($-2*l,d);g.lineTo($-p-l+x,j+x),d-=p}if(d>0){const p=Math.min(Math.PI/2,d/l);g.arc(l+x,j-l+x,l,Math.PI/2,Math.PI/2+p,!1),d-=p*l}if(d>0){const p=Math.min(j-2*l,d);g.lineTo(x,j-p-l+x),d-=p}if(d>0){const p=Math.min(Math.PI/2,d/l);g.arc(l+x,l+x,l,Math.PI,Math.PI+p,!1)}g.stroke()};function C(u,f,c,l,y,b){u.beginPath(),u.moveTo(f+b,c),u.lineTo(f+l-b,c),u.arcTo(f+l,c,f+l,c+b,b),u.lineTo(f+l,c+y-b),u.arcTo(f+l,c+y,f+l-b,c+y,b),u.lineTo(f+b,c+y),u.arcTo(f,c+y,f,c+y-b,b),u.lineTo(f,c+b),u.arcTo(f,c,f+b,c,b),u.closePath()}return pe(()=>{s.value&&(g=s.value.getContext("2d"),S())}),$e(()=>T.progress,S),(u,f)=>(z(),M("div",{class:"border-progress-container",ref_key:"container",ref:U},[t("canvas",{ref_key:"canvas",ref:s,class:"border-progress-canvas"},null,512)],512))}}),Je=he(Qe,[["__scopeId","data-v-2fbf5085"]]),ue=P=>P>=1024*1024*1024?Math.round(P/(1024*1024*1024))+"GB":P>=1024*1024?Math.round(P/(1024*1024))+"MB":Math.round(P/1024)+"KB",Ke={class:"p-8"},Xe={class:"flex justify-center space-x-4 mb-6"},Ye={key:"file",class:"grid grid-cols-1 gap-8"},Ze={key:0,class:"absolute inset-0 w-full h-full"},et={class:"block truncate"},tt={key:"text",class:"grid grid-cols-1 gap-8"},rt={key:0,class:"flex flex-col"},ot={class:"flex flex-col space-y-3"},st={class:"relative flex-grow group"},at=["placeholder"],nt=["value"],lt={type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-4 px-6 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition-all duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group"},it={class:"relative z-10 flex items-center justify-center text-lg"},ct={class:"mt-6 text-center"},dt={class:"flex-grow overflow-y-auto p-6"},ut={class:"flex-shrink-0 mr-4"},gt={class:"flex-grow min-w-0 mr-4"},pt={class:"flex-shrink-0 flex space-x-2"},ht=["onClick"],ft=["onClick"],mt=["onClick"],xt={key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center z-50 p-3 sm:p-4 overflow-y-auto"},vt={class:"flex items-center justify-between"},yt={class:"p-4 sm:p-6"},bt={class:"flex items-center mb-3 sm:mb-4"},wt={class:"ml-3 sm:ml-4 min-w-0 flex-1"},kt={class:"grid grid-cols-2 gap-3 sm:gap-4"},_t={class:"flex items-center min-w-0"},St={class:"flex items-center min-w-0"},Ct={class:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6"},Mt={class:"space-y-3 sm:space-y-4"},zt={class:"bg-gradient-to-br from-indigo-500 to-purple-600 rounded-xl p-4 sm:p-5 text-white"},Tt={class:"flex items-center justify-between mb-3 sm:mb-4"},$t={class:"text-2xl sm:text-3xl font-bold tracking-wider text-center break-all"},Dt={class:"flex items-center justify-between mb-2 sm:mb-3"},It={class:"bg-white p-3 sm:p-4 rounded-lg shadow-sm mb-3 sm:mb-4"},At=ge({__name:"SendFileView",setup(P){const T=JSON.parse(localStorage.getItem("config")||"{}"),U=Be(),s=Ae("isDarkMode"),g=Re(),S=I("file"),C=I(null),u=I(""),f=I(null),c=I(T.expireStyle?.[0]||"day"),l=I("1"),y=I(0),b=I(!1),k=I(null),d=De(),x=Ie(()=>g.shareData),$=I(""),j=()=>{f.value?.click()},p=async o=>{const e=o.target;if(e.files&&e.files.length>0){const i=e.files[0];if(C.value=i,!O())return;$.value=await G(i),console.log($.value)}},fe=async o=>{if(o.dataTransfer?.files&&o.dataTransfer.files.length>0){const e=o.dataTransfer.files[0];if(C.value=e,!O())return;$.value=await G(e)}},me=async o=>{const e=o.clipboardData?.items;if(e)for(let i=0;i{const w=h.trim();if(!w)return;const v=document.getElementById("text-content");if(!v){u.value+=w;return}const _=v.selectionStart,F=v.selectionEnd;if(_!==F){const A=u.value.substring(0,_),V=u.value.substring(F);u.value=A+w+V,setTimeout(()=>{const R=_+w.length;v.setSelectionRange(R,R),v.focus()},0)}else{const A=_,V=u.value.substring(0,A),R=u.value.substring(A);u.value=V+w+R,setTimeout(()=>{const W=A+w.length;v.setSelectionRange(W,W),v.focus()},0)}})}},G=async o=>new Promise(e=>{const a=new FileReader;let h=0;const w=Math.ceil(o.size/2097152);a.onload=async _=>{const F=new Uint8Array(_.target.result);try{if(window.isSecureContext){const B=await crypto.subtle.digest("SHA-256",F),V=Array.from(new Uint8Array(B)).map(R=>R.toString(16).padStart(2,"0")).join("");h++,h{const _=h*2097152,F=_+2097152>=o.size?o.size:_+2097152;a.readAsArrayBuffer(o.slice(_,F))};v()}),ee=o=>{const e=`${o.name}-${o.size}-${o.lastModified}`;let i=0;for(let a=0;a{switch(o){case"day":return"输入天数";case"hour":return"输入小时数";case"minute":return"输入分钟数";case"count":return"输入查看次数";case"forever":return"永久";default:return"输入值"}},te=(o=c.value)=>{switch(o){case"day":return"天";case"hour":return"小时";case"minute":return"分钟";case"count":return"次";case"forever":return"永久";default:return""}},ve=(o,e)=>{if(o==="forever")return"永久";if(o==="count")return`${e}次后过期`;const i=new Date,a=parseInt(e);switch(o){case"minute":i.setMinutes(i.getMinutes()+a);break;case"hour":i.setHours(i.getHours()+a);break;case"day":i.setDate(i.getDate()+a);break;default:return`${e}${te(o)}后过期`}const h=i.getFullYear(),w=(i.getMonth()+1).toString().padStart(2,"0"),v=i.getDate().toString().padStart(2,"0"),_=i.getHours().toString().padStart(2,"0"),F=i.getMinutes().toString().padStart(2,"0");return`${h}-${w}-${v} ${_}:${F}过期`},ye=async o=>{try{const i=Math.ceil(o.size/5242880),a=await L.post("chunk/upload/init/",{file_name:o.name,file_size:o.size,chunk_size:5242880,file_hash:$.value});if(a.code!==200)throw new Error("初始化切片上传失败");if(a.detail?.existed)return a;const h=a.detail?.upload_id;for(let v=0;v{const W=Math.round((v*5242880+R.loaded)*100/o.size);y.value=W}})).code!==200)throw new Error(`切片 ${v} 上传失败`)}const w=await L.post(`chunk/upload/complete/${h}`,{expire_value:l.value?parseInt(l.value):1,expire_style:c.value});if(w.code!==200)throw new Error("完成上传失败");return w}catch(e){if(console.error("切片上传失败:",e),e&&typeof e=="object"&&"response"in e){const i=e;i.response?.data?.detail&&d.showAlert(i.response.data.detail,"error")}else d.showAlert("上传失败,请稍后重试","error");throw e}},be=async o=>{const e=new FormData,i={headers:{"Content-Type":"multipart/form-data"},onUploadProgress:h=>{const w=Math.round(h.loaded*100/(h.total||1));y.value=w}};return e.append("file",o),e.append("expire_value",l.value),e.append("expire_style",c.value),await L.post("share/file/",e,i)},we=()=>T.openUpload===0&&localStorage.getItem("token")===null?(d.showAlert("游客上传功能已关闭","error"),!1):!0,ke=o=>o.size>T.uploadSize?(d.showAlert(`文件大小超过限制 (${ue(T.uploadSize)})`,"error"),C.value=null,!1):!0,re=(o,e)=>{if(o==="forever"||o==="count")return!0;const i=T.max_save_seconds||0;if(i===0)return!0;let a=0;switch(o){case"minute":a=parseInt(e)*60;break;case"hour":a=parseInt(e)*3600;break;case"day":a=parseInt(e)*86400;break;default:return!1}return a<=i},O=()=>!(!we()||!ke(C.value)||!re(c.value,l.value)),_e=async()=>{if(S.value==="file"&&!C.value){d.showAlert("请选择要上传的文件","error");return}if(S.value==="text"&&!u.value.trim()){d.showAlert("请输入要发送的文本","error");return}if(c.value!=="forever"&&!l.value){d.showAlert("请输入过期值","error");return}if(!re(c.value,l.value)){const o=Math.floor(T.max_save_seconds/86400);d.showAlert(`过期时间不能超过${o}天`,"error");return}try{let o;if(S.value==="file")T.enableChunk?o=await ye(C.value):o=await be(C.value);else{const e=new FormData;e.append("text",u.value),e.append("expire_value",l.value),e.append("expire_style",c.value),o=await L.post("share/text/",e,{headers:{"Content-Type":"multipart/form-data"}})}if(o&&o.code===200){const e=o.detail?.code||"",i=o.detail?.name||"",a={id:Date.now(),filename:i,date:new Date().toISOString().split("T")[0],size:S.value==="text"?`${(u.value.length/1024).toFixed(2)} KB`:`${(C.value.size/(1024*1024)).toFixed(1)} MB`,expiration:c.value==="forever"?"永久":ve(c.value,l.value),retrieveCode:e};g.addShareDataRecord(a),d.showAlert(`文件发送成功!取件码:${e}`,"success"),C.value=null,u.value="",y.value=0,k.value=a,await Y(e)}else throw new Error("服务器响应异常")}catch(o){if(o&&typeof o=="object"&&"response"in o){const e=o;e.response?.data?.detail&&d.showAlert(e.response.data.detail,"error")}else d.showAlert("发送失败,请稍后重试","error")}finally{y.value=0}},Se=()=>{U.push("/")},oe=()=>{b.value=!b.value},Ce=o=>{k.value=o},Me=o=>{const e=g.shareData.findIndex(i=>i.id===o);e!==-1&&g.deleteShareData(e)},ze=window.location.origin+"/#/",Te=o=>`${ze}?code=${o.retrieveCode}`,se=o=>{const i=(parseInt(l.value)||0)+o;i>=1&&(l.value=i.toString())};return pe(()=>{console.log("SendFileView mounted")}),(o,e)=>{const i=Pe("router-link");return z(),M("div",{class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300",onPaste:q(me,["prevent"])},[t("div",{class:n(["rounded-3xl shadow-2xl overflow-hidden border w-full max-w-md transition-colors duration-300",[r(s)?"bg-white bg-opacity-10 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[t("div",Ke,[t("h2",{class:n(["text-3xl font-extrabold text-center mb-8 cursor-pointer transition-colors duration-300",[r(s)?"text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-pink-300":"text-indigo-600"]]),onClick:Se},D(r(T).name),3),t("form",{onSubmit:q(_e,["prevent"]),class:"space-y-8"},[t("div",Xe,[t("button",{type:"button",onClick:e[0]||(e[0]=a=>S.value="file"),class:n(["px-4 py-2 rounded-lg",S.value==="file"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文件 ",2),t("button",{type:"button",onClick:e[1]||(e[1]=a=>S.value="text"),class:n(["px-4 py-2 rounded-lg",S.value==="text"?"bg-indigo-600 text-white":"bg-gray-700 text-gray-300"])}," 发送文本 ",2)]),m(J,{name:"fade",mode:"out-in"},{default:E(()=>[S.value==="file"?(z(),M("div",Ye,[t("div",{class:n(["rounded-xl p-8 flex flex-col items-center justify-center border-2 border-dashed transition-all duration-300 group cursor-pointer relative",[r(s)?"bg-gray-800 bg-opacity-50 border-gray-600 hover:border-indigo-500":"bg-gray-100 border-gray-300 hover:border-indigo-500"]]),onClick:j,onDragover:e[2]||(e[2]=q(()=>{},["prevent"])),onDrop:q(fe,["prevent"])},[t("input",{id:"file-upload",type:"file",class:"hidden",onChange:p,ref_key:"fileInput",ref:f},null,544),y.value>0?(z(),M("div",Ze,[m(Je,{progress:y.value},null,8,["progress"])])):H("",!0),m(r(qe),{class:n(["w-16 h-16 transition-colors duration-300",r(s)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},null,8,["class"]),t("p",{class:n(["mt-4 text-sm transition-colors duration-300 w-full text-center",r(s)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},[t("span",et,D(C.value?C.value.name:"点击或拖放文件到此处上传"),1)],2),t("p",{class:n(["mt-2 text-xs",r(s)?"text-gray-500":"text-gray-400"])}," 支持各种常见格式,最大"+D(r(ue)(r(T).uploadSize)),3)],34)])):(z(),M("div",tt,[S.value==="text"?(z(),M("div",rt,[Q(t("textarea",{id:"text-content","onUpdate:modelValue":e[3]||(e[3]=a=>u.value=a),rows:"7",class:n(["flex-grow px-4 py-3 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 resize-none custom-scrollbar",r(s)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"]),placeholder:"在此输入要发送的文本..."},null,2),[[ae,u.value]])])):H("",!0)]))]),_:1}),t("div",ot,[t("label",{class:n(["text-sm font-medium",r(s)?"text-gray-300":"text-gray-700"])}," 过期时间 ",2),t("div",st,[t("div",{class:n(["relative h-12 rounded-2xl border transition-all duration-300 shadow-sm",r(s)?"bg-gray-800/60 border-gray-700/60 group-hover:border-gray-600/80 group-hover:shadow-lg group-hover:shadow-gray-900/20":"bg-white border-gray-200 group-hover:border-gray-300 group-hover:shadow-md group-hover:shadow-gray-200/50"])},[c.value!=="forever"?(z(),M(K,{key:0},[Q(t("input",{"onUpdate:modelValue":e[4]||(e[4]=a=>l.value=a),type:"number",placeholder:xe(),min:"1",class:n(["w-full h-full px-5 pr-32 rounded-2xl placeholder-gray-400 transition-all duration-300","focus:outline-none focus:ring-2 focus:ring-offset-0","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none","bg-transparent",r(s)?"text-gray-100 focus:ring-indigo-500/80 placeholder-gray-500":"text-gray-900 focus:ring-indigo-500/60 placeholder-gray-400"])},null,10,at),[[ae,l.value]]),t("div",{class:n(["absolute right-28 top-0 h-full flex flex-col border-l",[r(s)?"border-gray-700/60":"border-gray-200"]])},[t("button",{type:"button",onClick:e[5]||(e[5]=a=>se(1)),class:n(["flex-1 px-2 flex items-center justify-center transition-all duration-200",[r(s)?"hover:bg-gray-700/60 text-gray-400 hover:text-gray-200":"hover:bg-gray-50 text-gray-500 hover:text-gray-700"]])},e[12]||(e[12]=[t("svg",{class:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"})],-1)]),2),t("button",{type:"button",onClick:e[6]||(e[6]=a=>se(-1)),class:n(["flex-1 px-2 flex items-center justify-center transition-all duration-200",[r(s)?"hover:bg-gray-700/60 text-gray-400 hover:text-gray-200":"hover:bg-gray-50 text-gray-500 hover:text-gray-700"]])},e[13]||(e[13]=[t("svg",{class:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)]),2)],2)],64)):H("",!0),Q(t("select",{"onUpdate:modelValue":e[7]||(e[7]=a=>c.value=a),class:n(["absolute right-0 top-0 h-full appearance-none cursor-pointer transition-all duration-300","focus:outline-none focus:ring-2 focus:ring-offset-0",c.value==="forever"?"w-full px-5 rounded-2xl":"w-28 pl-4 pr-9 border-l rounded-r-2xl",r(s)?"text-gray-100 border-gray-700/60 focus:ring-indigo-500/80 bg-gray-800/60":"text-gray-900 border-gray-200 focus:ring-indigo-500/60 bg-white"]),style:ne({color:r(s)?"#f3f4f6":"#111827",backgroundColor:r(s)?"rgba(31, 41, 55, 0.5)":"#ffffff"})},[(z(!0),M(K,null,le(r(T).expireStyle,a=>(z(),M("option",{value:a,key:a,class:n([r(s)?"bg-gray-800 text-gray-100":"bg-white text-gray-900"]),style:ne({color:r(s)?"#f3f4f6":"#111827",backgroundColor:r(s)?"#1f2937":"#ffffff"})},D(te(a)),15,nt))),128))],6),[[Fe,c.value]]),t("div",{class:n(["absolute pointer-events-none",[c.value==="forever"?"right-3":"right-2","top-1/2 -translate-y-1/2"]])},[(z(),M("svg",{class:n(["w-4 h-4 transition-colors duration-300",[r(s)?"text-gray-400":"text-gray-500"]]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},e[14]||(e[14]=[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)]),2))],2)],2)])]),t("button",lt,[e[16]||(e[16]=t("span",{class:"absolute top-0 left-0 w-full h-full bg-white opacity-0 group-hover:opacity-20 transition-opacity duration-300"},null,-1)),t("span",it,[m(r(Ge),{class:"w-6 h-6 mr-2"}),e[15]||(e[15]=t("span",null,"安全寄送",-1))])])],32),t("div",ct,[m(i,{to:"/",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:E(()=>e[17]||(e[17]=[X(" 需要取件?点击这里 ",-1)])),_:1,__:[17]})])]),t("div",{class:n(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[r(s)?"bg-gray-800":"bg-gray-100"]])},[t("span",{class:n(["text-sm flex items-center",[r(s)?"text-gray-300":"text-gray-800"]])},[m(r(ce),{class:"w-4 h-4 mr-1 text-green-400"}),e[18]||(e[18]=X(" 安全加密 ",-1))],2),t("button",{onClick:oe,class:n(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[r(s)?"text-indigo-400":"text-indigo-600"]])},[e[19]||(e[19]=X(" 发件记录 ",-1)),m(r(Ue),{class:"w-4 h-4 ml-1"})],2)],2)],2),m(J,{name:"drawer"},{default:E(()=>[b.value?(z(),M("div",{key:0,class:n(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[r(s)?"bg-gray-900":"bg-white"]])},[t("div",{class:n(["flex justify-between items-center p-6 border-b",[r(s)?"border-gray-700":"border-gray-200"]])},[t("h3",{class:n(["text-2xl font-bold",[r(s)?"text-white":"text-gray-800"]])}," 发件记录 ",2),t("button",{onClick:oe,class:n(["hover:text-white transition duration-300",[r(s)?"text-gray-400":"text-gray-800"]])},[m(r(ie),{class:"w-6 h-6"})],2)],2),t("div",dt,[m(je,{name:"list",tag:"div",class:"space-y-4"},{default:E(()=>[(z(!0),M(K,null,le(x.value,a=>(z(),M("div",{key:a.id,class:n(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[r(s)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[t("div",ut,[m(r(de),{class:n(["w-10 h-10",[r(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),t("div",gt,[t("p",{class:n(["font-medium text-lg truncate",[r(s)?"text-white":"text-gray-800"]])},D(a.filename?a.filename:"Text"),3),t("p",{class:n(["text-sm truncate",[r(s)?"text-gray-400":"text-gray-600"]])},D(a.date)+" · "+D(a.size),3)]),t("div",pt,[t("button",{onClick:h=>r(Y)(a.retrieveCode),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[r(s)?"hover:bg-blue-400 text-blue-400":"hover:bg-blue-100 text-blue-600"]])},[m(r(Z),{class:"w-5 h-5"})],10,ht),t("button",{onClick:h=>Ce(a),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[r(s)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[m(r(Le),{class:"w-5 h-5"})],10,ft),t("button",{onClick:h=>Me(a.id),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[r(s)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[m(r(Ne),{class:"w-5 h-5"})],10,mt)])],2))),128))]),_:1})])],2)):H("",!0)]),_:1}),m(J,{name:"fade"},{default:E(()=>[k.value?(z(),M("div",xt,[t("div",{class:n(["w-full max-w-2xl rounded-2xl shadow-2xl transform transition-all duration-300 ease-out overflow-hidden",[r(s)?"bg-gray-900 bg-opacity-70":"bg-white bg-opacity-95"]])},[t("div",{class:n(["px-4 sm:px-6 py-3 sm:py-4 border-b",[r(s)?"border-gray-800":"border-gray-100"]])},[t("div",vt,[t("h3",{class:n(["text-lg sm:text-xl font-semibold",[r(s)?"text-white":"text-gray-900"]])}," 文件详情 ",2),t("button",{onClick:e[8]||(e[8]=a=>k.value=null),class:"p-1.5 sm:p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[m(r(ie),{class:n(["w-4 h-4 sm:w-5 sm:h-5",[r(s)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])])],2),t("div",yt,[t("div",{class:n(["rounded-xl p-3 sm:p-4 mb-4 sm:mb-6",[r(s)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[t("div",bt,[t("div",{class:n(["p-2 sm:p-3 rounded-lg",[r(s)?"bg-gray-800":"bg-white"]])},[m(r(de),{class:n(["w-5 h-5 sm:w-6 sm:h-6",[r(s)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2),t("div",wt,[t("h4",{class:n(["font-medium text-sm sm:text-base truncate",[r(s)?"text-white":"text-gray-900"]])},D(k.value.filename),3),t("p",{class:n(["text-xs sm:text-sm truncate",[r(s)?"text-gray-400":"text-gray-500"]])},D(k.value.size)+" · "+D(k.value.date),3)])]),t("div",kt,[t("div",_t,[m(r(We),{class:n(["w-3.5 h-3.5 sm:w-4 sm:h-4 mr-1.5 sm:mr-2 flex-shrink-0",[r(s)?"text-gray-400":"text-gray-500"]])},null,8,["class"]),t("span",{class:n(["text-xs sm:text-sm truncate",[r(s)?"text-gray-300":"text-gray-600"]])},D(k.value.expiration),3)]),t("div",St,[m(r(ce),{class:n(["w-3.5 h-3.5 sm:w-4 sm:h-4 mr-1.5 sm:mr-2 flex-shrink-0",[r(s)?"text-gray-400":"text-gray-500"]])},null,8,["class"]),t("span",{class:n(["text-xs sm:text-sm truncate",[r(s)?"text-gray-300":"text-gray-600"]])}," 安全加密 ",2)])])],2),t("div",Ct,[t("div",Mt,[t("div",zt,[t("div",Tt,[e[20]||(e[20]=t("h4",{class:"font-medium text-sm sm:text-base"},"取件码",-1)),t("button",{onClick:e[9]||(e[9]=a=>r(Ve)(k.value.retrieveCode)),class:"p-1.5 sm:p-2 rounded-full hover:bg-white/10 transition-colors"},[m(r(Z),{class:"w-4 h-4 sm:w-5 sm:h-5"})])]),t("p",$t,D(k.value.retrieveCode),1)]),t("div",{class:n(["rounded-xl p-3 sm:p-4",[r(s)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[t("div",Dt,[t("h4",{class:n(["font-medium text-sm sm:text-base flex items-center min-w-0",[r(s)?"text-white":"text-gray-900"]])},[m(r(Oe),{class:"w-4 h-4 sm:w-5 sm:h-5 mr-1.5 sm:mr-2 text-indigo-500 flex-shrink-0"}),e[21]||(e[21]=t("span",{class:"truncate"},"wget下载",-1))],2),t("button",{onClick:e[10]||(e[10]=a=>r(Ee)(k.value.retrieveCode,k.value.filename)),class:"p-1.5 sm:p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors flex-shrink-0"},[m(r(Z),{class:n(["w-4 h-4 sm:w-5 sm:h-5",[r(s)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])]),t("p",{class:n(["text-xs sm:text-sm font-mono break-all line-clamp-2",[r(s)?"text-gray-300":"text-gray-600"]])}," 点击复制wget命令 ",2)],2)]),t("div",{class:n(["rounded-xl p-4 sm:p-5 flex flex-col items-center",[r(s)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[t("div",It,[m(He,{value:Te(k.value),size:140,level:"M",class:"sm:w-[160px] sm:h-[160px]"},null,8,["value"])]),t("p",{class:n(["text-xs sm:text-sm truncate max-w-full",[r(s)?"text-gray-400":"text-gray-500"]])}," 扫描二维码快速取件 ",2)],2)])]),t("div",{class:n(["px-4 sm:px-6 py-3 sm:py-4 border-t",[r(s)?"border-gray-800":"border-gray-100"]])},[t("button",{onClick:e[11]||(e[11]=a=>r(Y)(k.value.retrieveCode)),class:"w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 sm:px-6 py-2 sm:py-3 rounded-lg text-sm sm:text-base font-medium transition-colors"}," 复制取件链接 ")],2)],2)])):H("",!0)]),_:1})],32)}}}),Rt=he(At,[["__scopeId","data-v-619e130d"]]);export{Rt as default}; diff --git a/themes/2024/assets/SendFileView-BoEy45cq.js b/themes/2024/assets/SendFileView-BoEy45cq.js new file mode 100644 index 0000000..1e4f7df --- /dev/null +++ b/themes/2024/assets/SendFileView-BoEy45cq.js @@ -0,0 +1,26 @@ +import{c as L,d as N,u as Q,a as T,o as F,b as s,n,e,i as J,t as k,r as $,f as me,w as ze,_ as te,g as G,h as O,j as q,k as m,l as Ae,m as E,T as K,p as de,F as X,v as $e,q as Ie,s as ce,x as ue,y as Y,z as Pe,X as pe,A as Ve,B as Re,C as H}from"./index-BQT7CCpA.js";import{u as Ue,P as je,S as ge,C as Be,c as Ee,a as He,Q as Le,b as Z,E as Ne}from"./PageHeader-D2CW9nSY.js";import{F as he}from"./file-C3_XlMB5.js";import{T as We}from"./trash-DFHGA4Wo.js";import"./box-DhNypZwK.js";/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const ee=L("clipboard-copy",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2",key:"4jdomd"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v4",key:"3hqy98"}],["path",{d:"M21 14H11",key:"1bme5i"}],["path",{d:"m15 10-4 4 4 4",key:"5dvupr"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const qe=L("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ge=L("cloud-upload",[["path",{d:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Oe=L("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qe=L("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]]),fe=A=>A>=1024*1024*1024?Math.round(A/(1024*1024*1024))+"GB":A>=1024*1024?Math.round(A/(1024*1024))+"MB":Math.round(A/1024)+"KB",Je={class:"flex justify-center space-x-4 mb-6"},Ke=N({__name:"SendTypeSelector",props:{selectedType:{}},emits:["update:selectedType"],setup(A,{emit:_}){const{t:z}=Q(),o=_,f=J("isDarkMode"),b=y=>{o("update:selectedType",y)};return(y,u)=>(F(),T("div",Je,[s("button",{type:"button",onClick:u[0]||(u[0]=l=>b("file")),class:n(["px-4 py-2 rounded-lg transition-colors duration-300",y.selectedType==="file"?"bg-indigo-600 text-white":e(f)?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-200 text-gray-700 hover:bg-gray-300"])},k(e(z)("nav.sendFile")),3),s("button",{type:"button",onClick:u[1]||(u[1]=l=>b("text")),class:n(["px-4 py-2 rounded-lg transition-colors duration-300",y.selectedType==="text"?"bg-indigo-600 text-white":e(f)?"bg-gray-700 text-gray-300 hover:bg-gray-600":"bg-gray-200 text-gray-700 hover:bg-gray-300"])},k(e(z)("send.sendText")),3)]))}}),Xe=N({__name:"BorderProgressBar",props:{progress:{}},setup(A){const _=A,z=$(null),o=$(null);let f=null;const b=()=>{if(!f||!o.value||!z.value)return;const u=z.value.clientWidth,l=z.value.clientHeight;o.value.width=u,o.value.height=l;const g=4,i=8;f.lineWidth=g;const C=f.createLinearGradient(0,0,u,l);C.addColorStop(0,"#4f46e5"),C.addColorStop(.5,"#7c3aed"),C.addColorStop(1,"#db2777"),f.strokeStyle="rgba(229, 231, 235, 0.2)",y(f,g/2,g/2,u-g,l-g,i),f.stroke();const d=((u+l)*2-8*i+2*Math.PI*i)*_.progress/100;f.strokeStyle=C,f.lineCap="round",f.lineJoin="round",f.beginPath();let p=d;const w=g/2,P=u-g,R=l-g;if(p>0){const x=Math.min(P-2*i,p);f.moveTo(i+w,w),f.lineTo(x+i+w,w),p-=x}if(p>0){const x=Math.min(Math.PI/2,p/i);f.arc(P-i+w,i+w,i,-Math.PI/2,x-Math.PI/2,!1),p-=x*i}if(p>0){const x=Math.min(R-2*i,p);f.lineTo(P+w,x+i+w),p-=x}if(p>0){const x=Math.min(Math.PI/2,p/i);f.arc(P-i+w,R-i+w,i,0,x,!1),p-=x*i}if(p>0){const x=Math.min(P-2*i,p);f.lineTo(P-x-i+w,R+w),p-=x}if(p>0){const x=Math.min(Math.PI/2,p/i);f.arc(i+w,R-i+w,i,Math.PI/2,Math.PI/2+x,!1),p-=x*i}if(p>0){const x=Math.min(R-2*i,p);f.lineTo(w,R-x-i+w),p-=x}if(p>0){const x=Math.min(Math.PI/2,p/i);f.arc(i+w,i+w,i,Math.PI,Math.PI+x,!1)}f.stroke()};function y(u,l,g,i,C,h){u.beginPath(),u.moveTo(l+h,g),u.lineTo(l+i-h,g),u.arcTo(l+i,g,l+i,g+h,h),u.lineTo(l+i,g+C-h),u.arcTo(l+i,g+C,l+i-h,g+C,h),u.lineTo(l+h,g+C),u.arcTo(l,g+C,l,g+C-h,h),u.lineTo(l,g+h),u.arcTo(l,g,l+h,g,h),u.closePath()}return me(()=>{o.value&&(f=o.value.getContext("2d"),b())}),ze(()=>_.progress,b),(u,l)=>(F(),T("div",{class:"border-progress-container",ref_key:"container",ref:z},[s("canvas",{ref_key:"canvas",ref:o,class:"border-progress-canvas"},null,512)],512))}}),Ye=te(Xe,[["__scopeId","data-v-2fbf5085"]]),Ze=["accept"],et={key:0,class:"absolute inset-0 w-full h-full"},tt={class:"block truncate"},st=N({__name:"FileUploadArea",props:{selectedFile:{default:null},progress:{default:0},placeholder:{default:""},description:{default:""},acceptedTypes:{default:"*"}},emits:["fileSelected","fileDrop"],setup(A,{emit:_}){const{t:z}=Q(),o=A,f=_,b=J("isDarkMode"),y=G(()=>o.placeholder||z("send.uploadArea.placeholder")),u=G(()=>o.description||z("send.uploadArea.description")),l=$(null),g=()=>{l.value?.click()},i=h=>{const p=h.target.files?.[0];p&&f("fileSelected",p)},C=h=>{f("fileDrop",h)};return(h,d)=>(F(),T("div",{class:n(["rounded-xl p-8 flex flex-col items-center justify-center border-2 border-dashed transition-all duration-300 group cursor-pointer relative",[e(b)?"bg-gray-800 bg-opacity-50 border-gray-600 hover:border-indigo-500":"bg-gray-100 border-gray-300 hover:border-indigo-500"]]),onClick:g,onDragover:d[0]||(d[0]=O(()=>{},["prevent"])),onDrop:O(C,["prevent"])},[s("input",{ref_key:"fileInput",ref:l,type:"file",class:"hidden",onChange:i,accept:h.acceptedTypes},null,40,Ze),h.progress>0?(F(),T("div",et,[m(Ye,{progress:h.progress},null,8,["progress"])])):q("",!0),m(e(Ge),{class:n(["w-16 h-16 transition-colors duration-300",e(b)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},null,8,["class"]),s("p",{class:n(["mt-4 text-sm transition-colors duration-300 w-full text-center",e(b)?"text-gray-400 group-hover:text-indigo-400":"text-gray-600 group-hover:text-indigo-600"])},[s("span",tt,k(h.selectedFile?h.selectedFile.name:y.value),1)],2),s("p",{class:n(["mt-2 text-xs",e(b)?"text-gray-500":"text-gray-400"])},k(u.value),3)],34))}}),rt={class:"flex flex-col"},ot=["value","rows","placeholder"],at=N({__name:"TextInputArea",props:{modelValue:{},rows:{default:7},placeholder:{default:"在此输入要发送的文本..."}},emits:["update:modelValue"],setup(A,{emit:_}){const{t:z}=Q(),o=A,f=_,b=J("isDarkMode"),y=G(()=>o.placeholder||z("send.uploadArea.textInput")),u=l=>{const g=l.target;f("update:modelValue",g.value)};return(l,g)=>(F(),T("div",rt,[s("textarea",{value:l.modelValue,onInput:u,rows:l.rows,placeholder:y.value,class:n(["flex-grow px-4 py-3 rounded-xl placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-indigo-500 transition duration-300 resize-none custom-scrollbar",e(b)?"bg-gray-800 bg-opacity-50 text-white":"bg-white text-gray-900 border border-gray-300"])},null,42,ot)]))}}),nt=te(at,[["__scopeId","data-v-bebdfe92"]]),lt={class:"p-8"},it={key:"file",class:"grid grid-cols-1 gap-8"},dt={key:"text",class:"grid grid-cols-1 gap-8"},ct={class:"flex flex-col space-y-3"},ut={class:"relative flex-grow group"},pt=["placeholder"],gt=["value"],ht={type:"submit",class:"w-full bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 text-white font-bold py-4 px-6 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-opacity-50 transition-all duration-300 transform hover:scale-105 hover:shadow-lg relative overflow-hidden group"},ft={class:"relative z-10 flex items-center justify-center text-lg"},mt={class:"mt-6 text-center"},xt={class:"flex-grow overflow-y-auto p-6"},vt={class:"flex-shrink-0 mr-4"},yt={class:"flex-grow min-w-0 mr-4"},bt={class:"flex-shrink-0 flex space-x-2"},wt=["onClick"],kt=["onClick"],_t=["onClick"],St={key:0,class:"fixed inset-0 bg-black/60 backdrop-blur-sm flex items-center justify-center z-50 p-3 sm:p-4 overflow-y-auto"},Ct={class:"flex items-center justify-between"},Mt={class:"p-4 sm:p-6"},Tt={class:"flex items-center mb-3 sm:mb-4"},Ft={class:"ml-3 sm:ml-4 min-w-0 flex-1"},Dt={class:"grid grid-cols-2 gap-3 sm:gap-4"},zt={class:"flex items-center min-w-0"},At={class:"flex items-center min-w-0"},$t={class:"grid grid-cols-1 md:grid-cols-2 gap-4 sm:gap-6"},It={class:"space-y-3 sm:space-y-4"},Pt={class:"bg-gradient-to-br from-indigo-500 to-purple-600 rounded-xl p-4 sm:p-5 text-white"},Vt={class:"flex items-center justify-between mb-3 sm:mb-4"},Rt={class:"text-2xl sm:text-3xl font-bold tracking-wider text-center break-all"},Ut={class:"flex items-center justify-between mb-2 sm:mb-3"},jt={class:"bg-white p-3 sm:p-4 rounded-lg shadow-sm mb-3 sm:mb-4"},Bt=N({__name:"SendFileView",setup(A){const _=JSON.parse(localStorage.getItem("config")||"{}"),z=Re(),o=J("isDarkMode"),f=Ue(),b=$("file"),y=$(null),u=$(""),l=$(_.expireStyle?.[0]||"day"),g=$("1"),i=$(0),C=$(!1),h=$(null),{t:d}=Q(),p=Ae(),w=G(()=>f.shareData),P=$(""),R=r=>{y.value=r},x=async r=>{if(r.dataTransfer?.files&&r.dataTransfer.files.length>0){const t=r.dataTransfer.files[0];if(y.value=t,!ne())return;P.value=await se(t)}},xe=async r=>{const t=r.clipboardData?.items;if(t)for(let c=0;c{const M=v.trim();if(!M)return;const S=document.getElementById("text-content");if(!S){u.value+=M;return}const D=S.selectionStart,V=S.selectionEnd;if(D!==V){const I=u.value.substring(0,D),B=u.value.substring(V);u.value=I+M+B,setTimeout(()=>{const j=D+M.length;S.setSelectionRange(j,j),S.focus()},0)}else{const I=D,B=u.value.substring(0,I),j=u.value.substring(I);u.value=B+M+j,setTimeout(()=>{const W=I+M.length;S.setSelectionRange(W,W),S.focus()},0)}})}},se=async r=>new Promise(t=>{const a=new FileReader;let v=0;const M=Math.ceil(r.size/2097152);a.onload=async D=>{const V=new Uint8Array(D.target.result);try{if(window.isSecureContext){const U=await crypto.subtle.digest("SHA-256",V),B=Array.from(new Uint8Array(U)).map(j=>j.toString(16).padStart(2,"0")).join("");v++,v{const D=v*2097152,V=D+2097152>=r.size?r.size:D+2097152;a.readAsArrayBuffer(r.slice(D,V))};S()}),re=r=>{const t=`${r.name}-${r.size}-${r.lastModified}`;let c=0;for(let a=0;a{switch(r){case"day":return d("send.expiration.placeholders.days");case"hour":return d("send.expiration.placeholders.hours");case"minute":return d("send.expiration.placeholders.minutes");case"count":return d("send.expiration.placeholders.count");case"forever":return d("send.expiration.placeholders.forever");default:return d("send.expiration.placeholders.default")}},oe=(r=l.value)=>{switch(r){case"day":return d("send.expiration.units.days");case"hour":return d("send.expiration.units.hours");case"minute":return d("send.expiration.units.minutes");case"count":return d("send.expiration.units.times");case"forever":return d("send.expiration.units.forever");default:return""}},ye=(r,t)=>{if(r==="forever")return d("send.expiration.units.forever");if(r==="count")return d("send.messages.expiresAfterCount",{count:t});const c=new Date,a=parseInt(t);switch(r){case"minute":c.setMinutes(c.getMinutes()+a);break;case"hour":c.setHours(c.getHours()+a);break;case"day":c.setDate(c.getDate()+a);break;default:return d("send.messages.expiresAfter",{value:t,unit:oe(r)})}const v=c.getFullYear(),M=(c.getMonth()+1).toString().padStart(2,"0"),S=c.getDate().toString().padStart(2,"0"),D=c.getHours().toString().padStart(2,"0"),V=c.getMinutes().toString().padStart(2,"0");return d("send.messages.expiresAt",{date:`${v}-${M}-${S} ${D}:${V}`})},be=async r=>{try{const c=Math.ceil(r.size/5242880),a=await H.post("chunk/upload/init/",{file_name:r.name,file_size:r.size,chunk_size:5242880,file_hash:P.value});if(a.code!==200)throw new Error(d("send.messages.initChunkUploadFailed"));if(a.detail?.existed)return a;const v=a.detail?.upload_id;for(let S=0;S{const W=Math.round((S*5242880+j.loaded)*100/r.size);i.value=W}})).code!==200)throw new Error(d("send.messages.chunkUploadFailed",{index:S}))}const M=await H.post(`chunk/upload/complete/${v}`,{expire_value:g.value?parseInt(g.value):1,expire_style:l.value});if(M.code!==200)throw new Error(d("send.messages.completeUploadFailed"));return M}catch(t){if(console.error("切片上传失败:",t),t&&typeof t=="object"&&"response"in t){const c=t;c.response?.data?.detail&&p.showAlert(c.response.data.detail,"error")}else p.showAlert(d("send.messages.uploadFailed"),"error");throw t}},we=async r=>{const t=new FormData,c={headers:{"Content-Type":"multipart/form-data"},onUploadProgress:v=>{const M=Math.round(v.loaded*100/(v.total||1));i.value=M}};return t.append("file",r),t.append("expire_value",g.value),t.append("expire_style",l.value),await H.post("share/file/",t,c)},ke=()=>_.openUpload===0&&localStorage.getItem("token")===null?(p.showAlert(d("send.messages.guestUploadDisabled"),"error"),!1):!0,_e=r=>r.size>_.uploadSize?(p.showAlert(d("send.messages.fileSizeExceeded",{size:fe(_.uploadSize)}),"error"),y.value=null,!1):!0,ae=(r,t)=>{if(r==="forever"||r==="count")return!0;const c=_.max_save_seconds||0;if(c===0)return!0;let a=0;switch(r){case"minute":a=parseInt(t)*60;break;case"hour":a=parseInt(t)*3600;break;case"day":a=parseInt(t)*86400;break;default:return!1}return a<=c},ne=()=>!(!ke()||!_e(y.value)||!ae(l.value,g.value)),Se=async()=>{if(b.value==="file"&&!y.value){p.showAlert(d("send.messages.selectFile"),"error");return}if(b.value==="text"&&!u.value.trim()){p.showAlert(d("send.messages.enterText"),"error");return}if(l.value!=="forever"&&!g.value){p.showAlert(d("send.messages.enterExpirationValue"),"error");return}if(!ae(l.value,g.value)){const r=Math.floor(_.max_save_seconds/86400);p.showAlert(d("send.messages.expirationTooLong",{days:r}),"error");return}try{let r;if(b.value==="file")_.enableChunk?r=await be(y.value):r=await we(y.value);else{const t=new FormData;t.append("text",u.value),t.append("expire_value",g.value),t.append("expire_style",l.value),r=await H.post("share/text/",t,{headers:{"Content-Type":"multipart/form-data"}})}if(r&&r.code===200){const t=r.detail?.code||"",c=r.detail?.name||"",a={id:Date.now(),filename:c,date:new Date().toISOString().split("T")[0],size:b.value==="text"?`${(u.value.length/1024).toFixed(2)} KB`:`${(y.value.size/(1024*1024)).toFixed(1)} MB`,expiration:l.value==="forever"?d("send.expiration.forever"):ye(l.value,g.value),retrieveCode:t};f.addShareDataRecord(a),p.showAlert(d("send.messages.sendSuccess",{code:t}),"success"),y.value=null,u.value="",i.value=0,h.value=a,await Z(t)}else throw new Error(d("send.messages.serverError"))}catch(r){if(r&&typeof r=="object"&&"response"in r){const t=r;t.response?.data?.detail&&p.showAlert(t.response.data.detail,"error")}else p.showAlert(d("send.messages.sendFailed"),"error")}finally{i.value=0}},Ce=()=>{z.push("/")},le=()=>{C.value=!C.value},Me=r=>{h.value=r},Te=r=>{const t=f.shareData.findIndex(c=>c.id===r);t!==-1&&f.deleteShareData(t)},Fe=window.location.origin+"/#/",De=r=>`${Fe}?code=${r.retrieveCode}`,ie=r=>{const c=(parseInt(g.value)||0)+r;c>=1&&(g.value=c.toString())};return me(()=>{console.log("SendFileView mounted")}),(r,t)=>{const c=Pe("router-link");return F(),T("div",{class:"min-h-screen flex items-center justify-center p-4 overflow-hidden transition-colors duration-300",onPaste:O(xe,["prevent"])},[s("div",{class:n(["rounded-3xl shadow-2xl overflow-hidden border w-full max-w-md transition-colors duration-300",[e(o)?"bg-white bg-opacity-10 backdrop-filter backdrop-blur-xl border-gray-700":"bg-white border-gray-200"]])},[s("div",lt,[m(je,{title:e(_).name,onTitleClick:Ce},null,8,["title"]),s("form",{onSubmit:O(Se,["prevent"]),class:"space-y-8"},[m(Ke,{"selected-type":b.value,"onUpdate:selectedType":t[0]||(t[0]=a=>b.value=a)},null,8,["selected-type"]),m(K,{name:"fade",mode:"out-in"},{default:E(()=>[b.value==="file"?(F(),T("div",it,[m(st,{"selected-file":y.value,progress:i.value,description:`支持各种常见格式,最大${e(fe)(e(_).uploadSize)}`,onFileSelected:R,onFileDrop:x},null,8,["selected-file","progress","description"])])):(F(),T("div",dt,[m(nt,{modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=a=>u.value=a),placeholder:e(d)("send.uploadArea.textInput")},null,8,["modelValue","placeholder"])]))]),_:1}),s("div",ct,[s("label",{class:n(["text-sm font-medium",e(o)?"text-gray-300":"text-gray-700"])},k(e(d)("send.expiration.label")),3),s("div",ut,[s("div",{class:n(["relative h-12 rounded-2xl border transition-all duration-300 shadow-sm",e(o)?"bg-gray-800/60 border-gray-700/60 group-hover:border-gray-600/80 group-hover:shadow-lg group-hover:shadow-gray-900/20":"bg-white border-gray-200 group-hover:border-gray-300 group-hover:shadow-md group-hover:shadow-gray-200/50"])},[l.value!=="forever"?(F(),T(X,{key:0},[de(s("input",{"onUpdate:modelValue":t[2]||(t[2]=a=>g.value=a),type:"number",placeholder:ve(),min:"1",class:n(["w-full h-full px-5 pr-32 rounded-2xl placeholder-gray-400 transition-all duration-300","focus:outline-none focus:ring-2 focus:ring-offset-0","[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none","bg-transparent",e(o)?"text-gray-100 focus:ring-indigo-500/80 placeholder-gray-500":"text-gray-900 focus:ring-indigo-500/60 placeholder-gray-400"])},null,10,pt),[[$e,g.value]]),s("div",{class:n(["absolute right-28 top-0 h-full flex flex-col border-l",[e(o)?"border-gray-700/60":"border-gray-200"]])},[s("button",{type:"button",onClick:t[3]||(t[3]=a=>ie(1)),class:n(["flex-1 px-2 flex items-center justify-center transition-all duration-200",[e(o)?"hover:bg-gray-700/60 text-gray-400 hover:text-gray-200":"hover:bg-gray-50 text-gray-500 hover:text-gray-700"]])},[...t[10]||(t[10]=[s("svg",{class:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 15l7-7 7 7"})],-1)])],2),s("button",{type:"button",onClick:t[4]||(t[4]=a=>ie(-1)),class:n(["flex-1 px-2 flex items-center justify-center transition-all duration-200",[e(o)?"hover:bg-gray-700/60 text-gray-400 hover:text-gray-200":"hover:bg-gray-50 text-gray-500 hover:text-gray-700"]])},[...t[11]||(t[11]=[s("svg",{class:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1)])],2)],2)],64)):q("",!0),de(s("select",{"onUpdate:modelValue":t[5]||(t[5]=a=>l.value=a),class:n(["absolute right-0 top-0 h-full appearance-none cursor-pointer transition-all duration-300","focus:outline-none focus:ring-2 focus:ring-offset-0",l.value==="forever"?"w-full px-5 rounded-2xl":"w-28 pl-4 pr-9 border-l rounded-r-2xl",e(o)?"text-gray-100 border-gray-700/60 focus:ring-indigo-500/80 bg-gray-800/60":"text-gray-900 border-gray-200 focus:ring-indigo-500/60 bg-white"]),style:ce({color:e(o)?"#f3f4f6":"#111827",backgroundColor:e(o)?"rgba(31, 41, 55, 0.5)":"#ffffff"})},[(F(!0),T(X,null,ue(e(_).expireStyle,a=>(F(),T("option",{value:a,key:a,class:n([e(o)?"bg-gray-800 text-gray-100":"bg-white text-gray-900"]),style:ce({color:e(o)?"#f3f4f6":"#111827",backgroundColor:e(o)?"#1f2937":"#ffffff"})},k(oe(a)),15,gt))),128))],6),[[Ie,l.value]]),s("div",{class:n(["absolute pointer-events-none",[l.value==="forever"?"right-3":"right-2","top-1/2 -translate-y-1/2"]])},[(F(),T("svg",{class:n(["w-4 h-4 transition-colors duration-300",[e(o)?"text-gray-400":"text-gray-500"]]),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[...t[12]||(t[12]=[s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"},null,-1)])],2))],2)],2)])]),s("button",ht,[t[13]||(t[13]=s("span",{class:"absolute top-0 left-0 w-full h-full bg-white opacity-0 group-hover:opacity-20 transition-opacity duration-300"},null,-1)),s("span",ft,[m(e(Oe),{class:"w-6 h-6 mr-2"}),s("span",null,k(e(d)("send.submit")),1)])])],32),s("div",mt,[m(c,{to:"/",class:"text-indigo-400 hover:text-indigo-300 transition duration-300"},{default:E(()=>[Y(k(e(d)("send.needRetrieveFile")),1)]),_:1})])]),s("div",{class:n(["px-8 py-4 bg-opacity-50 flex justify-between items-center",[e(o)?"bg-gray-800":"bg-gray-100"]])},[s("span",{class:n(["text-sm flex items-center",[e(o)?"text-gray-300":"text-gray-800"]])},[m(e(ge),{class:"w-4 h-4 mr-1 text-green-400"}),Y(" "+k(e(d)("send.secureEncryption")),1)],2),s("button",{onClick:le,class:n(["text-sm hover:text-indigo-300 transition duration-300 flex items-center",[e(o)?"text-indigo-400":"text-indigo-600"]])},[Y(k(e(d)("send.sendRecords"))+" ",1),m(e(Be),{class:"w-4 h-4 ml-1"})],2)],2)],2),m(K,{name:"drawer"},{default:E(()=>[C.value?(F(),T("div",{key:0,class:n(["fixed inset-y-0 right-0 w-full sm:w-120 bg-opacity-70 backdrop-filter backdrop-blur-xl shadow-2xl z-50 overflow-hidden flex flex-col",[e(o)?"bg-gray-900":"bg-white"]])},[s("div",{class:n(["flex justify-between items-center p-6 border-b",[e(o)?"border-gray-700":"border-gray-200"]])},[s("h3",{class:n(["text-2xl font-bold",[e(o)?"text-white":"text-gray-800"]])},k(e(d)("send.sendRecords")),3),s("button",{onClick:le,class:n(["hover:text-white transition duration-300",[e(o)?"text-gray-400":"text-gray-800"]])},[m(e(pe),{class:"w-6 h-6"})],2)],2),s("div",xt,[m(Ve,{name:"list",tag:"div",class:"space-y-4"},{default:E(()=>[(F(!0),T(X,null,ue(w.value,a=>(F(),T("div",{key:a.id,class:n(["bg-opacity-50 rounded-lg p-4 flex items-center shadow-md hover:shadow-lg transition duration-300 transform hover:scale-102",[e(o)?"bg-gray-800 hover:bg-gray-700":"bg-gray-100 hover:bg-white"]])},[s("div",vt,[m(e(he),{class:n(["w-10 h-10",[e(o)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])]),s("div",yt,[s("p",{class:n(["font-medium text-lg truncate",[e(o)?"text-white":"text-gray-800"]])},k(a.filename?a.filename:"Text"),3),s("p",{class:n(["text-sm truncate",[e(o)?"text-gray-400":"text-gray-600"]])},k(a.date)+" · "+k(a.size),3)]),s("div",bt,[s("button",{onClick:v=>e(Z)(a.retrieveCode),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[e(o)?"hover:bg-blue-400 text-blue-400":"hover:bg-blue-100 text-blue-600"]])},[m(e(ee),{class:"w-5 h-5"})],10,wt),s("button",{onClick:v=>Me(a),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[e(o)?"hover:bg-green-400 text-green-400":"hover:bg-green-100 text-green-600"]])},[m(e(Ne),{class:"w-5 h-5"})],10,kt),s("button",{onClick:v=>Te(a.id),class:n(["p-2 rounded-full hover:bg-opacity-20 transition duration-300",[e(o)?"hover:bg-red-400 text-red-400":"hover:bg-red-100 text-red-600"]])},[m(e(We),{class:"w-5 h-5"})],10,_t)])],2))),128))]),_:1})])],2)):q("",!0)]),_:1}),m(K,{name:"fade"},{default:E(()=>[h.value?(F(),T("div",St,[s("div",{class:n(["w-full max-w-2xl rounded-2xl shadow-2xl transform transition-all duration-300 ease-out overflow-hidden",[e(o)?"bg-gray-900 bg-opacity-70":"bg-white bg-opacity-95"]])},[s("div",{class:n(["px-4 sm:px-6 py-3 sm:py-4 border-b",[e(o)?"border-gray-800":"border-gray-100"]])},[s("div",Ct,[s("h3",{class:n(["text-lg sm:text-xl font-semibold",[e(o)?"text-white":"text-gray-900"]])},k(e(d)("send.fileDetails")),3),s("button",{onClick:t[6]||(t[6]=a=>h.value=null),class:"p-1.5 sm:p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"},[m(e(pe),{class:n(["w-4 h-4 sm:w-5 sm:h-5",[e(o)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])])],2),s("div",Mt,[s("div",{class:n(["rounded-xl p-3 sm:p-4 mb-4 sm:mb-6",[e(o)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[s("div",Tt,[s("div",{class:n(["p-2 sm:p-3 rounded-lg",[e(o)?"bg-gray-800":"bg-white"]])},[m(e(he),{class:n(["w-5 h-5 sm:w-6 sm:h-6",[e(o)?"text-indigo-400":"text-indigo-600"]])},null,8,["class"])],2),s("div",Ft,[s("h4",{class:n(["font-medium text-sm sm:text-base truncate",[e(o)?"text-white":"text-gray-900"]])},k(h.value.filename),3),s("p",{class:n(["text-xs sm:text-sm truncate",[e(o)?"text-gray-400":"text-gray-500"]])},k(h.value.size)+" · "+k(h.value.date),3)])]),s("div",Dt,[s("div",zt,[m(e(qe),{class:n(["w-3.5 h-3.5 sm:w-4 sm:h-4 mr-1.5 sm:mr-2 flex-shrink-0",[e(o)?"text-gray-400":"text-gray-500"]])},null,8,["class"]),s("span",{class:n(["text-xs sm:text-sm truncate",[e(o)?"text-gray-300":"text-gray-600"]])},k(h.value.expiration),3)]),s("div",At,[m(e(ge),{class:n(["w-3.5 h-3.5 sm:w-4 sm:h-4 mr-1.5 sm:mr-2 flex-shrink-0",[e(o)?"text-gray-400":"text-gray-500"]])},null,8,["class"]),s("span",{class:n(["text-xs sm:text-sm truncate",[e(o)?"text-gray-300":"text-gray-600"]])}," 安全加密 ",2)])])],2),s("div",$t,[s("div",It,[s("div",Pt,[s("div",Vt,[t[14]||(t[14]=s("h4",{class:"font-medium text-sm sm:text-base"},"取件码",-1)),s("button",{onClick:t[7]||(t[7]=a=>e(Ee)(h.value.retrieveCode)),class:"p-1.5 sm:p-2 rounded-full hover:bg-white/10 transition-colors"},[m(e(ee),{class:"w-4 h-4 sm:w-5 sm:h-5"})])]),s("p",Rt,k(h.value.retrieveCode),1)]),s("div",{class:n(["rounded-xl p-3 sm:p-4",[e(o)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[s("div",Ut,[s("h4",{class:n(["font-medium text-sm sm:text-base flex items-center min-w-0",[e(o)?"text-white":"text-gray-900"]])},[m(e(Qe),{class:"w-4 h-4 sm:w-5 sm:h-5 mr-1.5 sm:mr-2 text-indigo-500 flex-shrink-0"}),t[15]||(t[15]=s("span",{class:"truncate"},"wget下载",-1))],2),s("button",{onClick:t[8]||(t[8]=a=>e(He)(h.value.retrieveCode,h.value.filename)),class:"p-1.5 sm:p-2 rounded-full hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors flex-shrink-0"},[m(e(ee),{class:n(["w-4 h-4 sm:w-5 sm:h-5",[e(o)?"text-gray-400":"text-gray-500"]])},null,8,["class"])])]),s("p",{class:n(["text-xs sm:text-sm font-mono break-all line-clamp-2",[e(o)?"text-gray-300":"text-gray-600"]])}," 点击复制wget命令 ",2)],2)]),s("div",{class:n(["rounded-xl p-4 sm:p-5 flex flex-col items-center",[e(o)?"bg-gray-800 bg-opacity-50":"bg-gray-50 bg-opacity-95"]])},[s("div",jt,[m(Le,{value:De(h.value),size:140,level:"M",class:"sm:w-[160px] sm:h-[160px]"},null,8,["value"])]),s("p",{class:n(["text-xs sm:text-sm truncate max-w-full",[e(o)?"text-gray-400":"text-gray-500"]])}," 扫描二维码快速取件 ",2)],2)])]),s("div",{class:n(["px-4 sm:px-6 py-3 sm:py-4 border-t",[e(o)?"border-gray-800":"border-gray-100"]])},[s("button",{onClick:t[9]||(t[9]=a=>e(Z)(h.value.retrieveCode)),class:"w-full bg-indigo-600 hover:bg-indigo-700 text-white px-4 sm:px-6 py-2 sm:py-3 rounded-lg text-sm sm:text-base font-medium transition-colors"}," 复制取件链接 ")],2)],2)])):q("",!0)]),_:1})],32)}}}),qt=te(Bt,[["__scopeId","data-v-a7f6997f"]]);export{qt as default}; diff --git a/themes/2024/assets/SendFileView-CEwL3Upl.css b/themes/2024/assets/SendFileView-CEwL3Upl.css new file mode 100644 index 0000000..6a1a271 --- /dev/null +++ b/themes/2024/assets/SendFileView-CEwL3Upl.css @@ -0,0 +1 @@ +.border-progress-container[data-v-2fbf5085]{position:relative;width:100%;height:100%}.border-progress-canvas[data-v-2fbf5085]{position:absolute;top:0;left:0;width:100%;height:100%;transition:all .3s ease}.custom-scrollbar[data-v-bebdfe92]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.3) rgba(243,244,246,.5)}.custom-scrollbar[data-v-bebdfe92]::-webkit-scrollbar{width:6px;height:6px}.custom-scrollbar[data-v-bebdfe92]::-webkit-scrollbar-track{background:#f3f4f680;border-radius:3px}.custom-scrollbar[data-v-bebdfe92]::-webkit-scrollbar-thumb{background-color:#9ca3af80;border-radius:3px;-webkit-transition:background-color .3s;transition:background-color .3s}.custom-scrollbar[data-v-bebdfe92]::-webkit-scrollbar-thumb:hover{background-color:#9ca3afb3}[data-v-bebdfe92] [class*=dark] .custom-scrollbar{scrollbar-color:rgba(75,85,99,.5) rgba(31,41,55,.5)}[data-v-bebdfe92] [class*=dark] .custom-scrollbar::-webkit-scrollbar-track{background:#1f293780}[data-v-bebdfe92] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb{background-color:#4b556380}[data-v-bebdfe92] [class*=dark] .custom-scrollbar::-webkit-scrollbar-thumb:hover{background-color:#4b5563b3}.fade-enter-active[data-v-a7f6997f],.fade-leave-active[data-v-a7f6997f]{transition:opacity .3s ease,transform .3s ease}.fade-enter-from[data-v-a7f6997f],.fade-leave-to[data-v-a7f6997f]{opacity:0;transform:translateY(10px)}@media (min-width: 640px){.sm\:w-120[data-v-a7f6997f]{width:30rem}}.fade-enter-to[data-v-a7f6997f],.fade-leave-from[data-v-a7f6997f]{opacity:1;transform:translateY(0)}.drawer-enter-active[data-v-a7f6997f],.drawer-leave-active[data-v-a7f6997f]{transition:transform .3s ease}.drawer-enter-from[data-v-a7f6997f],.drawer-leave-to[data-v-a7f6997f]{transform:translate(100%)}.list-enter-active[data-v-a7f6997f],.list-leave-active[data-v-a7f6997f]{transition:all .5s ease}.list-enter-from[data-v-a7f6997f],.list-leave-to[data-v-a7f6997f]{opacity:0;transform:translate(30px)}select option[data-v-a7f6997f]{padding:8px;margin:4px;border-radius:6px}select option[data-v-a7f6997f]:checked{background:linear-gradient(to right,#6366f180,#a855f780)!important;color:#fff!important}.dark select option[data-v-a7f6997f]:checked{background:linear-gradient(to right,#6366f1b3,#a855f7b3)!important}select option[data-v-a7f6997f]:hover{background-color:#6366f11a}.dark select option[data-v-a7f6997f]:hover{background-color:#6366f133}.custom-scrollbar[data-v-a7f6997f]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.4) rgba(243,244,246,.3)}.custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar{width:8px;height:8px}.custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-track{background:#f3f4f64d;border-radius:6px;margin:4px}.custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f199,#a855f799);border-radius:6px;border:1px solid rgba(255,255,255,.2);-webkit-transition:all .3s ease;transition:all .3s ease}.custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#6366f1cc,#a855f7cc);transform:scale(1.1)}.custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-corner{background:transparent}.dark .custom-scrollbar[data-v-a7f6997f]{scrollbar-color:rgba(75,85,99,.6) rgba(31,41,55,.4)}.dark .custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-track{background:#1f293766}.dark .custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1b3,#a855f7b3);border:1px solid rgba(255,255,255,.1)}.dark .custom-scrollbar[data-v-a7f6997f]::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#6366f1e6,#a855f7e6)} diff --git a/themes/2024/assets/SendFileView-XtpGZxXZ.css b/themes/2024/assets/SendFileView-XtpGZxXZ.css deleted file mode 100644 index 75a40a7..0000000 --- a/themes/2024/assets/SendFileView-XtpGZxXZ.css +++ /dev/null @@ -1 +0,0 @@ -.border-progress-container[data-v-2fbf5085]{position:relative;width:100%;height:100%}.border-progress-canvas[data-v-2fbf5085]{position:absolute;top:0;left:0;width:100%;height:100%;transition:all .3s ease}.fade-enter-active[data-v-619e130d],.fade-leave-active[data-v-619e130d]{transition:opacity .3s ease,transform .3s ease}.fade-enter-from[data-v-619e130d],.fade-leave-to[data-v-619e130d]{opacity:0;transform:translateY(10px)}@media (min-width: 640px){.sm\:w-120[data-v-619e130d]{width:30rem}}.fade-enter-to[data-v-619e130d],.fade-leave-from[data-v-619e130d]{opacity:1;transform:translateY(0)}.drawer-enter-active[data-v-619e130d],.drawer-leave-active[data-v-619e130d]{transition:transform .3s ease}.drawer-enter-from[data-v-619e130d],.drawer-leave-to[data-v-619e130d]{transform:translate(100%)}.list-enter-active[data-v-619e130d],.list-leave-active[data-v-619e130d]{transition:all .5s ease}.list-enter-from[data-v-619e130d],.list-leave-to[data-v-619e130d]{opacity:0;transform:translate(30px)}select option[data-v-619e130d]{padding:8px;margin:4px;border-radius:6px}select option[data-v-619e130d]:checked{background:linear-gradient(to right,#6366f180,#a855f780)!important;color:#fff!important}.dark select option[data-v-619e130d]:checked{background:linear-gradient(to right,#6366f1b3,#a855f7b3)!important}select option[data-v-619e130d]:hover{background-color:#6366f11a}.dark select option[data-v-619e130d]:hover{background-color:#6366f133}.custom-scrollbar[data-v-619e130d]{scrollbar-width:thin;scrollbar-color:rgba(156,163,175,.4) rgba(243,244,246,.3)}.custom-scrollbar[data-v-619e130d]::-webkit-scrollbar{width:8px;height:8px}.custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-track{background:#f3f4f64d;border-radius:6px;margin:4px}.custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f199,#a855f799);border-radius:6px;border:1px solid rgba(255,255,255,.2);-webkit-transition:all .3s ease;transition:all .3s ease}.custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#6366f1cc,#a855f7cc);transform:scale(1.1)}.custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-corner{background:transparent}.dark .custom-scrollbar[data-v-619e130d]{scrollbar-color:rgba(75,85,99,.6) rgba(31,41,55,.4)}.dark .custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-track{background:#1f293766}.dark .custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#6366f1b3,#a855f7b3);border:1px solid rgba(255,255,255,.1)}.dark .custom-scrollbar[data-v-619e130d]::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#6366f1e6,#a855f7e6)} diff --git a/themes/2024/assets/SystemSettingsView-CLFB8wRs.js b/themes/2024/assets/SystemSettingsView-CLFB8wRs.js new file mode 100644 index 0000000..8b25fa4 --- /dev/null +++ b/themes/2024/assets/SystemSettingsView-CLFB8wRs.js @@ -0,0 +1 @@ +import{d as B,u as F,r as h,l as P,a as m,o as b,b as e,t as l,e as o,n as s,i as z,p as d,v as g,q as x,F as w,x as k,j as _,Q as U,R as A}from"./index-BQT7CCpA.js";const T={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},E={class:"space-y-4"},L={class:"grid grid-cols-1 gap-6"},N={class:"space-y-2"},I={class:"space-y-2"},j={class:"space-y-2"},K={class:"relative"},$=["placeholder"],G={class:"text-xs"},R={class:"space-y-2"},W={class:"space-y-2"},q=["value"],H={class:"space-y-2"},Q={class:"grid grid-cols-1 gap-6 mt-8"},J={class:"space-y-2"},O={class:"space-y-2"},X={class:"space-y-4"},Y={class:"space-y-2"},Z=["placeholder"],ee={class:"space-y-4"},oe={class:"space-y-2"},te={value:"local"},re={value:"s3"},ae={value:"webdav"},se={key:0,class:"space-y-2"},ne={class:"flex items-center"},ie=["aria-checked"],le={key:1,class:"space-y-4"},de={class:"space-y-2"},ge=["placeholder"],ue={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},ce={class:"space-y-2"},ye=["placeholder"],me={class:"space-y-2"},be=["placeholder"],pe={key:2,class:"space-y-4"},ve={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},he={class:"space-y-2"},xe={class:"space-y-2"},fe={class:"space-y-2"},_e={class:"space-y-2"},we={class:"space-y-2"},ke=["placeholder"],Ue={class:"space-y-2"},Ce={value:"s3v2"},Se={value:"s3v4"},Ve={class:"space-y-2"},De={class:"space-y-2"},Me={class:"flex items-center"},Be=["aria-checked"],Fe={class:"mt-8"},Pe={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},ze={class:"space-y-2"},Ae={class:"flex items-center space-x-2"},Te={class:"space-y-2"},Ee={class:"flex items-center space-x-2"},Le={class:"space-y-2"},Ne={class:"flex items-center space-x-2"},Ie={value:"KB"},je={value:"MB"},Ke={value:"GB"},$e={class:"space-y-2"},Ge={class:"flex flex-wrap gap-3"},Re=["value"],We={class:"space-y-2"},qe={class:"flex items-center space-x-2"},He={value:"秒"},Qe={value:"分"},Je={value:"时"},Oe={value:"天"},Xe={class:"space-y-2"},Ye={class:"flex items-center"},Ze=["aria-checked"],eo={class:"mt-8"},oo={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},to={class:"space-y-2"},ro={class:"flex items-center space-x-2"},ao={class:"space-y-2"},so={class:"flex items-center space-x-2"},no={class:"flex justify-end mt-8"},go=B({__name:"SystemSettingsView",setup(io){const n=z("isDarkMode"),{t:i}=F(),a=h({name:"",description:"",file_storage:"",webdav_url:"",webdav_username:"",webdav_password:"",themesChoices:[],expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",storage_path:"",notify_content:"",openUpload:1,uploadSize:1,enableChunk:0,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1,s3_proxy:0,themesSelect:""}),p=h(1),v=h("MB"),c=h(1),y=h("天"),C=(u,r)=>u*{秒:1,分:60,时:3600,天:86400}[r],f=P(),S=async()=>{try{const u=await U.getConfig();if(u.code===200&&u.detail){a.value=u.detail;const r=a.value.uploadSize;r>=1024*1024*1024?(p.value=Math.round(r/(1024*1024*1024)),v.value="GB"):r>=1024*1024?(p.value=Math.round(r/(1024*1024)),v.value="MB"):(p.value=Math.round(r/1024),v.value="KB");const t=a.value.max_save_seconds;t===0?(c.value=7,y.value="天"):t%86400===0&&t>=86400?(c.value=t/86400,y.value="天"):t%3600===0&&t>=3600?(c.value=t/3600,y.value="时"):t%60===0&&t>=60?(c.value=t/60,y.value="分"):(c.value=t,y.value="秒")}}catch(u){const r=u instanceof Error?u.message:"获取配置失败";f.showAlert(r,"error"),console.error("获取系统配置失败:",u)}},V=(u,r)=>u*{KB:1024,MB:1048576,GB:1073741824}[r],D=()=>{const u={...a.value};u.uploadSize=V(p.value,v.value),c.value===0?u.max_save_seconds=7*86400:u.max_save_seconds=C(c.value,y.value),U.updateConfig(u).then(r=>{r.code==200?f.showAlert("保存成功","success"):f.showAlert(r.message||"保存失败","error")}).catch(r=>{const t=r instanceof Error?r.message:"保存失败";f.showAlert(t,"error")})};return S(),(u,r)=>(b(),m("div",T,[e("h2",{class:s(["text-2xl font-bold mb-6",[o(n)?"text-white":"text-gray-800"]])},l(o(i)("admin.settings.title")),3),e("div",{class:s(["space-y-6 rounded-lg shadow-md p-6",[o(n)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[e("section",E,[e("h3",{class:s(["text-lg font-medium mb-4",[o(n)?"text-white":"text-gray-800"]])},l(o(i)("admin.settings.basicSettings")),3),e("div",L,[e("div",N,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("admin.settings.siteName")),3),d(e("input",{type:"text","onUpdate:modelValue":r[0]||(r[0]=t=>a.value.name=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.name]])]),e("div",I,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("admin.settings.websiteDescription")),3),d(e("input",{type:"text","onUpdate:modelValue":r[1]||(r[1]=t=>a.value.description=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.description]])]),e("div",j,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("admin.settings.adminPassword")),3),e("div",K,[d(e("input",{type:"password",minlength:"6","onUpdate:modelValue":r[2]||(r[2]=t=>a.value.admin_token=t),placeholder:o(i)("admin.settings.passwordPlaceholder"),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,$),[[g,a.value.admin_token]]),e("div",{class:s(["absolute inset-y-0 right-0 flex items-center pr-3 text-sm text-gray-400",[o(n)?"text-gray-500":"text-gray-400"]])},[e("span",G,l(o(i)("admin.settings.passwordNote")),1)],2)])]),e("div",R,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("admin.settings.keywords")),3),d(e("input",{type:"text","onUpdate:modelValue":r[3]||(r[3]=t=>a.value.keywords=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.keywords]])]),e("div",W,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.themeSelection")),3),d(e("select",{"onUpdate:modelValue":r[4]||(r[4]=t=>a.value.themesSelect=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[o(n)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},[(b(!0),m(w,null,k(a.value.themesChoices,t=>(b(),m("option",{value:t.key,key:t.key},l(t.name)+" (by "+l(t.author)+" V"+l(t.version)+") ",9,q))),128))],2),[[x,a.value.themesSelect]])]),e("div",H,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.robotsFile")),3),d(e("textarea",{"onUpdate:modelValue":r[5]||(r[5]=t=>a.value.robotsText=t),rows:"3",class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.robotsText]])])]),e("div",Q,[e("div",J,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.notificationTitle")),3),d(e("input",{type:"text","onUpdate:modelValue":r[6]||(r[6]=t=>a.value.notify_title=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.notify_title]])]),e("div",O,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.notificationContent")),3),d(e("textarea",{"onUpdate:modelValue":r[7]||(r[7]=t=>a.value.notify_content=t),rows:"3",class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.notify_content]])])]),e("div",X,[e("h3",{class:s(["text-lg font-medium mb-4",[o(n)?"text-white":"text-gray-800"]])},l(o(i)("manage.settings.storageSettings")),3),e("div",Y,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.storagePath")),3),d(e("input",{type:"text",placeholder:o(i)("manage.settings.storagePathPlaceholder"),"onUpdate:modelValue":r[8]||(r[8]=t=>a.value.storage_path=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,Z),[[g,a.value.storage_path]])]),e("div",ee,[e("div",oe,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.storageMethod")),3),d(e("select",{"onUpdate:modelValue":r[9]||(r[9]=t=>a.value.file_storage=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[o(n)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},[e("option",te,l(o(i)("manage.settings.localStorage")),1),e("option",re,l(o(i)("manage.settings.s3Storage")),1),e("option",ae,l(o(i)("manage.settings.webdavStorage")),1)],2),[[x,a.value.file_storage]])]),a.value.file_storage==="local"?(b(),m("div",se,[e("label",{class:s(["block text-sm font-medium mb-2",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.chunkUploadNote")),3),e("div",ne,[e("button",{type:"button",onClick:r[10]||(r[10]=t=>a.value.enableChunk=a.value.enableChunk===1?0:1),class:s(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[a.value.enableChunk===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":a.value.enableChunk===1},[e("span",{class:s(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[a.value.enableChunk===1?"translate-x-5":"translate-x-0",o(n)&&a.value.enableChunk!==1?"bg-gray-100":"bg-white"]])},null,2)],10,ie),e("span",{class:s(["ml-3 text-sm",[o(n)?"text-gray-300":"text-gray-700"]])},l(a.value.enableChunk===1?o(i)("common.enabled"):o(i)("common.disabled")),3)])])):_("",!0),a.value.file_storage==="webdav"?(b(),m("div",le,[e("div",de,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])}," Webdav URL ",2),d(e("input",{type:"text",placeholder:o(i)("manage.settings.webdavUrlPlaceholder"),"onUpdate:modelValue":r[11]||(r[11]=t=>a.value.webdav_url=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,ge),[[g,a.value.webdav_url]])]),e("div",ue,[e("div",ce,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])}," Webdav Username ",2),d(e("input",{type:"text",placeholder:o(i)("manage.settings.webdavUsernamePlaceholder"),"onUpdate:modelValue":r[12]||(r[12]=t=>a.value.webdav_username=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,ye),[[g,a.value.webdav_username]])]),e("div",me,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])}," Webdav Password ",2),d(e("input",{type:"password",placeholder:o(i)("manage.settings.webdavPasswordPlaceholder"),"onUpdate:modelValue":r[13]||(r[13]=t=>a.value.webdav_password=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,be),[[g,a.value.webdav_password]])])])])):_("",!0),a.value.file_storage==="s3"?(b(),m("div",pe,[e("div",ve,[e("div",he,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3AccessKeyId")),3),d(e("input",{type:"text","onUpdate:modelValue":r[14]||(r[14]=t=>a.value.s3_access_key_id=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.s3_access_key_id]])]),e("div",xe,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3SecretAccessKey")),3),d(e("input",{type:"password","onUpdate:modelValue":r[15]||(r[15]=t=>a.value.s3_secret_access_key=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.s3_secret_access_key]])]),e("div",fe,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3BucketName")),3),d(e("input",{type:"text","onUpdate:modelValue":r[16]||(r[16]=t=>a.value.s3_bucket_name=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.s3_bucket_name]])]),e("div",_e,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3EndpointUrl")),3),d(e("input",{type:"text","onUpdate:modelValue":r[17]||(r[17]=t=>a.value.s3_endpoint_url=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.s3_endpoint_url]])]),e("div",we,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3RegionName")),3),d(e("input",{type:"text","onUpdate:modelValue":r[18]||(r[18]=t=>a.value.s3_region_name=t),placeholder:o(i)("manage.settings.autoPlaceholder"),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,10,ke),[[g,a.value.s3_region_name]])]),e("div",Ue,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3SignatureVersion")),3),d(e("select",{"onUpdate:modelValue":r[19]||(r[19]=t=>a.value.s3_signature_version=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},[e("option",Ce,l(o(i)("manage.settings.s3v2")),1),e("option",Se,l(o(i)("manage.settings.s3v4")),1)],2),[[x,a.value.s3_signature_version]])]),e("div",Ve,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.s3Hostname")),3),d(e("input",{type:"text","onUpdate:modelValue":r[20]||(r[20]=t=>a.value.s3_hostname=t),class:s(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.s3_hostname]])]),e("div",De,[e("label",{class:s(["block text-sm font-medium mb-2",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.enableProxy")),3),e("div",Me,[e("button",{type:"button",onClick:r[21]||(r[21]=t=>a.value.s3_proxy=a.value.s3_proxy===1?0:1),class:s(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[a.value.s3_proxy===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":a.value.s3_proxy===1},[e("span",{class:s(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[a.value.s3_proxy===1?"translate-x-5":"translate-x-0",o(n)&&a.value.s3_proxy!==1?"bg-gray-100":"bg-white"]])},null,2)],10,Be),e("span",{class:s(["ml-3 text-sm",[o(n)?"text-gray-300":"text-gray-700"]])},l(a.value.s3_proxy===1?o(i)("common.enabled"):o(i)("common.disabled")),3)])])])])):_("",!0)])]),e("div",Fe,[e("h3",{class:s(["text-lg font-medium mb-4",[o(n)?"text-white":"text-gray-800"]])},l(o(i)("manage.settings.uploadLimits")),3),e("div",Pe,[e("div",ze,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.uploadPerMinute")),3),e("div",Ae,[d(e("input",{type:"number","onUpdate:modelValue":r[22]||(r[22]=t=>a.value.uploadMinute=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.uploadMinute]]),e("span",{class:s([o(n)?"text-gray-300":"text-gray-700"])},l(o(i)("common.minute")),3)])]),e("div",Te,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.uploadCountLimit")),3),e("div",Ee,[d(e("input",{type:"number","onUpdate:modelValue":r[23]||(r[23]=t=>a.value.uploadCount=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.uploadCount]]),e("span",{class:s([o(n)?"text-gray-300":"text-gray-700"])},l(o(i)("common.files")),3)])]),e("div",Le,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.fileSizeLimit")),3),e("div",Ne,[d(e("input",{type:"number","onUpdate:modelValue":r[24]||(r[24]=t=>p.value=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,p.value]]),d(e("select",{"onUpdate:modelValue":r[25]||(r[25]=t=>v.value=t),class:s(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},[e("option",Ie,l(o(i)("manage.settings.fileSizeUnits.kb")),1),e("option",je,l(o(i)("manage.settings.fileSizeUnits.mb")),1),e("option",Ke,l(o(i)("manage.settings.fileSizeUnits.gb")),1)],2),[[x,v.value]])])]),e("div",$e,[e("label",{class:s(["block text-sm font-medium mb-2",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.expirationType")),3),e("div",Ge,[(b(),m(w,null,k(["day","hour","minute","forever","count"],t=>e("label",{key:t,class:"relative inline-flex items-center group cursor-pointer"},[d(e("input",{type:"checkbox",value:t,"onUpdate:modelValue":r[26]||(r[26]=M=>a.value.expireStyle=M),class:"peer sr-only"},null,8,Re),[[A,a.value.expireStyle]]),e("div",{class:s(["px-4 py-2 rounded-full border-2 transition-all duration-200 select-none",[a.value.expireStyle.includes(t)?(o(n),"bg-indigo-600 border-indigo-600 text-white"):o(n)?"bg-gray-700 border-gray-600 text-gray-300 hover:border-indigo-500":"bg-white border-gray-300 text-gray-700 hover:border-indigo-500"]])},l(o(i)(`manage.settings.expiration.${t}`)),3)])),64))])]),e("div",We,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.maxSaveTime")),3),e("div",qe,[d(e("input",{type:"number","onUpdate:modelValue":r[27]||(r[27]=t=>c.value=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,c.value]]),d(e("select",{"onUpdate:modelValue":r[28]||(r[28]=t=>y.value=t),class:s(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},[e("option",He,l(o(i)("common.second")),1),e("option",Qe,l(o(i)("common.minute")),1),e("option",Je,l(o(i)("common.hour")),1),e("option",Oe,l(o(i)("common.day")),1)],2),[[x,y.value]])])]),e("div",Xe,[e("label",{class:s(["block text-sm font-medium mb-2",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.guestUpload")),3),e("div",Ye,[e("button",{type:"button",onClick:r[29]||(r[29]=t=>a.value.openUpload=a.value.openUpload===1?0:1),class:s(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[a.value.openUpload===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":a.value.openUpload===1},[e("span",{class:s(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[a.value.openUpload===1?"translate-x-5":"translate-x-0",o(n)&&a.value.openUpload!==1?"bg-gray-100":"bg-white"]])},null,2)],10,Ze),e("span",{class:s(["ml-3 text-sm",[o(n)?"text-gray-300":"text-gray-700"]])},l(a.value.openUpload===1?o(i)("common.enabled"):o(i)("common.disabled")),3)])])])]),e("div",eo,[e("h3",{class:s(["text-lg font-medium mb-4",[o(n)?"text-white":"text-gray-800"]])},l(o(i)("manage.settings.errorLimits")),3),e("div",oo,[e("div",to,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.errorPerMinute")),3),e("div",ro,[d(e("input",{type:"number","onUpdate:modelValue":r[30]||(r[30]=t=>a.value.errorMinute=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.errorMinute]]),e("span",{class:s([o(n)?"text-gray-300":"text-gray-700"])},l(o(i)("common.minute")),3)])]),e("div",ao,[e("label",{class:s(["block text-sm font-medium",[o(n)?"text-gray-300":"text-gray-700"]])},l(o(i)("manage.settings.errorCountLimit")),3),e("div",so,[d(e("input",{type:"number","onUpdate:modelValue":r[31]||(r[31]=t=>a.value.errorCount=t),class:s(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[o(n)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[g,a.value.errorCount]]),e("span",{class:s([o(n)?"text-gray-300":"text-gray-700"])},l(o(i)("common.times")),3)])])])]),e("div",no,[e("button",{onClick:D,class:"px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors duration-200"},l(o(i)("manage.settings.saveChanges")),1)])])],2)]))}});export{go as default}; diff --git a/themes/2024/assets/SystemSettingsView-Dp5VRHCL.js b/themes/2024/assets/SystemSettingsView-Dp5VRHCL.js deleted file mode 100644 index 81d2367..0000000 --- a/themes/2024/assets/SystemSettingsView-Dp5VRHCL.js +++ /dev/null @@ -1 +0,0 @@ -import{d as M,r as m,u as B,a as c,b as e,n as a,h as n,i as F,m as l,v as i,p as x,F as w,s as _,l as f,t as y,O as k,P as A,e as b}from"./index-B-Ka-o3f.js";const E={class:"p-6 h-screen overflow-y-auto custom-scrollbar"},z={class:"space-y-4"},T={class:"grid grid-cols-1 gap-6"},W={class:"space-y-2"},K={class:"space-y-2"},I={class:"space-y-2"},j={class:"relative"},G={class:"space-y-2"},N={class:"space-y-2"},R=["value"],L={class:"space-y-2"},P={class:"grid grid-cols-1 gap-6 mt-8"},$={class:"space-y-2"},H={class:"space-y-2"},O={class:"space-y-4"},q={class:"space-y-2"},J={class:"space-y-4"},Q={class:"space-y-2"},X={key:0,class:"space-y-2"},Y={class:"flex items-center"},Z=["aria-checked"],ee={key:1,class:"space-y-4"},oe={class:"space-y-2"},re={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},te={class:"space-y-2"},ae={class:"space-y-2"},se={key:2,class:"space-y-4"},ne={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},le={class:"space-y-2"},ie={class:"space-y-2"},de={class:"space-y-2"},ue={class:"space-y-2"},ge={class:"space-y-2"},ce={class:"space-y-2"},ye={class:"space-y-2"},be={class:"space-y-2"},pe={class:"flex items-center"},ve=["aria-checked"],me={class:"mt-8"},xe={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},he={class:"space-y-2"},fe={class:"flex items-center space-x-2"},we={class:"space-y-2"},_e={class:"flex items-center space-x-2"},ke={class:"space-y-2"},Ue={class:"flex items-center space-x-2"},Se={class:"space-y-2"},Ce={class:"flex flex-wrap gap-3"},Ve=["value"],De={class:"space-y-2"},Me={class:"flex items-center space-x-2"},Be={class:"space-y-2"},Fe={class:"flex items-center"},Ae=["aria-checked"],Ee={class:"mt-8"},ze={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Te={class:"space-y-2"},We={class:"flex items-center space-x-2"},Ke={class:"space-y-2"},Ie={class:"flex items-center space-x-2"},Ne=M({__name:"SystemSettingsView",setup(je){const s=F("isDarkMode"),t=m({name:"",description:"",file_storage:"",webdav_url:"",webdav_username:"",webdav_password:"",themesChoices:[],expireStyle:[],admin_token:"",robotsText:"",keywords:"",notify_title:"",storage_path:"",notify_content:"",openUpload:1,uploadSize:1,enableChunk:0,uploadMinute:1,max_save_seconds:0,opacity:.9,s3_access_key_id:"",background:"",showAdminAddr:0,page_explain:"",s3_secret_access_key:"",aws_session_token:"",s3_signature_version:"",s3_region_name:"",s3_bucket_name:"",s3_endpoint_url:"",s3_hostname:"",uploadCount:1,errorMinute:1,errorCount:1,s3_proxy:0,themesSelect:""}),p=m(1),v=m("MB"),u=m(1),g=m("天"),U=(d,o)=>d*{秒:1,分:60,时:3600,天:86400}[o],h=B(),S=async()=>{try{const d=await k.getConfig();if(d.code===200&&d.detail){t.value=d.detail;const o=t.value.uploadSize;o>=1024*1024*1024?(p.value=Math.round(o/(1024*1024*1024)),v.value="GB"):o>=1024*1024?(p.value=Math.round(o/(1024*1024)),v.value="MB"):(p.value=Math.round(o/1024),v.value="KB");const r=t.value.max_save_seconds;r===0?(u.value=7,g.value="天"):r%86400===0&&r>=86400?(u.value=r/86400,g.value="天"):r%3600===0&&r>=3600?(u.value=r/3600,g.value="时"):r%60===0&&r>=60?(u.value=r/60,g.value="分"):(u.value=r,g.value="秒")}}catch(d){const o=d instanceof Error?d.message:"获取配置失败";h.showAlert(o,"error"),console.error("获取系统配置失败:",d)}},C=(d,o)=>d*{KB:1024,MB:1048576,GB:1073741824}[o],V=()=>{const d={...t.value};d.uploadSize=C(p.value,v.value),u.value===0?d.max_save_seconds=7*86400:d.max_save_seconds=U(u.value,g.value),k.updateConfig(d).then(o=>{o.code==200?h.showAlert("保存成功","success"):h.showAlert(o.message||"保存失败","error")}).catch(o=>{const r=o instanceof Error?o.message:"保存失败";h.showAlert(r,"error")})};return S(),(d,o)=>(b(),c("div",E,[e("h2",{class:a(["text-2xl font-bold mb-6",[n(s)?"text-white":"text-gray-800"]])}," 系统设置 ",2),e("div",{class:a(["space-y-6 rounded-lg shadow-md p-6",[n(s)?"bg-gray-800 bg-opacity-70":"bg-white"]])},[e("section",z,[e("h3",{class:a(["text-lg font-medium mb-4",[n(s)?"text-white":"text-gray-800"]])}," 基本设置 ",2),e("div",T,[e("div",W,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 网站名称 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[0]||(o[0]=r=>t.value.name=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.name]])]),e("div",K,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 网站描述 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[1]||(o[1]=r=>t.value.description=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.description]])]),e("div",I,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 管理员密码 ",2),e("div",j,[l(e("input",{type:"password",minlength:"6","onUpdate:modelValue":o[2]||(o[2]=r=>t.value.admin_token=r),placeholder:"留空则不修改密码",class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.admin_token]]),e("div",{class:a(["absolute inset-y-0 right-0 flex items-center pr-3 text-sm text-gray-400",[n(s)?"text-gray-500":"text-gray-400"]])},o[32]||(o[32]=[e("span",{class:"text-xs"},"留空则不修改",-1)]),2)])]),e("div",G,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 关键词 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[3]||(o[3]=r=>t.value.keywords=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.keywords]])]),e("div",N,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 主题选择 ",2),l(e("select",{"onUpdate:modelValue":o[4]||(o[4]=r=>t.value.themesSelect=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[n(s)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},[(b(!0),c(w,null,_(t.value.themesChoices,r=>(b(),c("option",{value:r.key,key:r.key},y(r.name)+" (by "+y(r.author)+" V"+y(r.version)+") ",9,R))),128))],2),[[x,t.value.themesSelect]])]),e("div",L,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," Robots.txt ",2),l(e("textarea",{"onUpdate:modelValue":o[5]||(o[5]=r=>t.value.robotsText=r),rows:"3",class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.robotsText]])])]),e("div",P,[e("div",$,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 通知标题 ",2),l(e("input",{type:"text","onUpdate:modelValue":o[6]||(o[6]=r=>t.value.notify_title=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.notify_title]])]),e("div",H,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 通知内容 ",2),l(e("textarea",{"onUpdate:modelValue":o[7]||(o[7]=r=>t.value.notify_content=r),rows:"3",class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border resize-none focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.notify_content]])])]),e("div",O,[e("h3",{class:a(["text-lg font-medium mb-4",[n(s)?"text-white":"text-gray-800"]])}," 存储设置 ",2),e("div",q,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 存储路径 ",2),l(e("input",{type:"text",placeholder:"留空则使用默认路径,可不填写","onUpdate:modelValue":o[8]||(o[8]=r=>t.value.storage_path=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.storage_path]])]),e("div",J,[e("div",Q,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 存储方式 ",2),l(e("select",{"onUpdate:modelValue":o[9]||(o[9]=r=>t.value.file_storage=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border appearance-none bg-no-repeat bg-right focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none cursor-pointer",[n(s)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]]),style:{"background-image":"url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M7%208l3%203%203-3%22%20stroke%3D%22%236B7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E')"}},o[33]||(o[33]=[e("option",{value:"local"},"本地存储",-1),e("option",{value:"s3"},"S3 存储",-1),e("option",{value:"webdav"},"Webdav 存储",-1)]),2),[[x,t.value.file_storage]])]),t.value.file_storage==="local"?(b(),c("div",X,[e("label",{class:a(["block text-sm font-medium mb-2",[n(s)?"text-gray-300":"text-gray-700"]])}," 开启切片上传(实验性功能,还在开发中,目前仅本地存储可用,可能会出现未知问题) ",2),e("div",Y,[e("button",{type:"button",onClick:o[10]||(o[10]=r=>t.value.enableChunk=t.value.enableChunk===1?0:1),class:a(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[t.value.enableChunk===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":t.value.enableChunk===1},[e("span",{class:a(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[t.value.enableChunk===1?"translate-x-5":"translate-x-0",n(s)&&t.value.enableChunk!==1?"bg-gray-100":"bg-white"]])},null,2)],10,Z),e("span",{class:a(["ml-3 text-sm",[n(s)?"text-gray-300":"text-gray-700"]])},y(t.value.enableChunk===1?"已开启":"已关闭"),3)])])):f("",!0),t.value.file_storage==="webdav"?(b(),c("div",ee,[e("div",oe,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," Webdav URL ",2),l(e("input",{type:"text",placeholder:"请输入 Webdav URL","onUpdate:modelValue":o[11]||(o[11]=r=>t.value.webdav_url=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.webdav_url]])]),e("div",re,[e("div",te,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," Webdav Username ",2),l(e("input",{type:"text",placeholder:"请输入 Webdav Username","onUpdate:modelValue":o[12]||(o[12]=r=>t.value.webdav_username=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.webdav_username]])]),e("div",ae,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," Webdav Password ",2),l(e("input",{type:"password",placeholder:"请输入 Webdav Password","onUpdate:modelValue":o[13]||(o[13]=r=>t.value.webdav_password=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.webdav_password]])])])])):f("",!0),t.value.file_storage==="s3"?(b(),c("div",se,[e("div",ne,[e("div",le,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 AccessKeyId ",2),l(e("input",{type:"text","onUpdate:modelValue":o[14]||(o[14]=r=>t.value.s3_access_key_id=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_access_key_id]])]),e("div",ie,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 SecretAccessKey ",2),l(e("input",{type:"password","onUpdate:modelValue":o[15]||(o[15]=r=>t.value.s3_secret_access_key=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_secret_access_key]])]),e("div",de,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 BucketName ",2),l(e("input",{type:"text","onUpdate:modelValue":o[16]||(o[16]=r=>t.value.s3_bucket_name=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_bucket_name]])]),e("div",ue,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 EndpointUrl ",2),l(e("input",{type:"text","onUpdate:modelValue":o[17]||(o[17]=r=>t.value.s3_endpoint_url=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_endpoint_url]])]),e("div",ge,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 Region Name ",2),l(e("input",{type:"text","onUpdate:modelValue":o[18]||(o[18]=r=>t.value.s3_region_name=r),placeholder:"auto",class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_region_name]])]),e("div",ce,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 Signature Version ",2),l(e("select",{"onUpdate:modelValue":o[19]||(o[19]=r=>t.value.s3_signature_version=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[34]||(o[34]=[e("option",{value:"s3v2"},"S3v2",-1),e("option",{value:"s3v4"},"S3v4",-1)]),2),[[x,t.value.s3_signature_version]])]),e("div",ye,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," S3 Hostname ",2),l(e("input",{type:"text","onUpdate:modelValue":o[20]||(o[20]=r=>t.value.s3_hostname=r),class:a(["w-full rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.s3_hostname]])]),e("div",be,[e("label",{class:a(["block text-sm font-medium mb-2",[n(s)?"text-gray-300":"text-gray-700"]])}," 启用代理 ",2),e("div",pe,[e("button",{type:"button",onClick:o[21]||(o[21]=r=>t.value.s3_proxy=t.value.s3_proxy===1?0:1),class:a(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[t.value.s3_proxy===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":t.value.s3_proxy===1},[e("span",{class:a(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[t.value.s3_proxy===1?"translate-x-5":"translate-x-0",n(s)&&t.value.s3_proxy!==1?"bg-gray-100":"bg-white"]])},null,2)],10,ve),e("span",{class:a(["ml-3 text-sm",[n(s)?"text-gray-300":"text-gray-700"]])},y(t.value.s3_proxy===1?"已开启":"已关闭"),3)])])])])):f("",!0)])]),e("div",me,[e("h3",{class:a(["text-lg font-medium mb-4",[n(s)?"text-white":"text-gray-800"]])}," 上传限制 ",2),e("div",xe,[e("div",he,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 每分钟上传限制 ",2),e("div",fe,[l(e("input",{type:"number","onUpdate:modelValue":o[22]||(o[22]=r=>t.value.uploadMinute=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.uploadMinute]]),e("span",{class:a([n(s)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",we,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 上传数量限制 ",2),e("div",_e,[l(e("input",{type:"number","onUpdate:modelValue":o[23]||(o[23]=r=>t.value.uploadCount=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.uploadCount]]),e("span",{class:a([n(s)?"text-gray-300":"text-gray-700"])},"个文件",2)])]),e("div",ke,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 文件大小限制 ",2),e("div",Ue,[l(e("input",{type:"number","onUpdate:modelValue":o[24]||(o[24]=r=>p.value=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,p.value]]),l(e("select",{"onUpdate:modelValue":o[25]||(o[25]=r=>v.value=r),class:a(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[35]||(o[35]=[e("option",{value:"KB"},"KB",-1),e("option",{value:"MB"},"MB",-1),e("option",{value:"GB"},"GB",-1)]),2),[[x,v.value]])])]),e("div",Se,[e("label",{class:a(["block text-sm font-medium mb-2",[n(s)?"text-gray-300":"text-gray-700"]])}," 过期方式 ",2),e("div",Ce,[(b(),c(w,null,_(["day","hour","minute","forever","count"],r=>e("label",{key:r,class:"relative inline-flex items-center group cursor-pointer"},[l(e("input",{type:"checkbox",value:r,"onUpdate:modelValue":o[26]||(o[26]=D=>t.value.expireStyle=D),class:"peer sr-only"},null,8,Ve),[[A,t.value.expireStyle]]),e("div",{class:a(["px-4 py-2 rounded-full border-2 transition-all duration-200 select-none",[t.value.expireStyle.includes(r)?(n(s),"bg-indigo-600 border-indigo-600 text-white"):n(s)?"bg-gray-700 border-gray-600 text-gray-300 hover:border-indigo-500":"bg-white border-gray-300 text-gray-700 hover:border-indigo-500"]])},y({day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"}[r]),3)])),64))])]),e("div",De,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 最长保存时间 ",2),e("div",Me,[l(e("input",{type:"number","onUpdate:modelValue":o[27]||(o[27]=r=>u.value=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,u.value]]),l(e("select",{"onUpdate:modelValue":o[28]||(o[28]=r=>g.value=r),class:a(["rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white hover:border-gray-500":"border-gray-300 hover:border-gray-400"]])},o[36]||(o[36]=[e("option",{value:"秒"},"秒",-1),e("option",{value:"分"},"分",-1),e("option",{value:"时"},"时",-1),e("option",{value:"天"},"天",-1)]),2),[[x,g.value]])])]),e("div",Be,[e("label",{class:a(["block text-sm font-medium mb-2",[n(s)?"text-gray-300":"text-gray-700"]])}," 游客上传 ",2),e("div",Fe,[e("button",{type:"button",onClick:o[29]||(o[29]=r=>t.value.openUpload=t.value.openUpload===1?0:1),class:a(["relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2",[t.value.openUpload===1?"bg-indigo-600":"bg-gray-200"]]),role:"switch","aria-checked":t.value.openUpload===1},[e("span",{class:a(["pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out",[t.value.openUpload===1?"translate-x-5":"translate-x-0",n(s)&&t.value.openUpload!==1?"bg-gray-100":"bg-white"]])},null,2)],10,Ae),e("span",{class:a(["ml-3 text-sm",[n(s)?"text-gray-300":"text-gray-700"]])},y(t.value.openUpload===1?"已开启":"已关闭"),3)])])])]),e("div",Ee,[e("h3",{class:a(["text-lg font-medium mb-4",[n(s)?"text-white":"text-gray-800"]])}," 错误限制 ",2),e("div",ze,[e("div",Te,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 每分钟错误限制 ",2),e("div",We,[l(e("input",{type:"number","onUpdate:modelValue":o[30]||(o[30]=r=>t.value.errorMinute=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.errorMinute]]),e("span",{class:a([n(s)?"text-gray-300":"text-gray-700"])},"分钟",2)])]),e("div",Ke,[e("label",{class:a(["block text-sm font-medium",[n(s)?"text-gray-300":"text-gray-700"]])}," 错误次数限制 ",2),e("div",Ie,[l(e("input",{type:"number","onUpdate:modelValue":o[31]||(o[31]=r=>t.value.errorCount=r),class:a(["w-24 rounded-md shadow-sm px-4 py-2.5 transition-all duration-200 ease-in-out border focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none",[n(s)?"bg-gray-700 border-gray-600 text-white placeholder-gray-400 hover:border-gray-500":"border-gray-300 hover:border-gray-400 placeholder-gray-500"]])},null,2),[[i,t.value.errorCount]]),e("span",{class:a([n(s)?"text-gray-300":"text-gray-700"])},"次",2)])])])]),e("div",{class:"flex justify-end mt-8"},[e("button",{onClick:V,class:"px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transition-colors duration-200"}," 保存设置 ")])])],2)]))}});export{Ne as default}; diff --git a/themes/2024/assets/box-CCCmbUYf.js b/themes/2024/assets/box-DhNypZwK.js similarity index 90% rename from themes/2024/assets/box-CCCmbUYf.js rename to themes/2024/assets/box-DhNypZwK.js index 6e2076a..8f35198 100644 --- a/themes/2024/assets/box-CCCmbUYf.js +++ b/themes/2024/assets/box-DhNypZwK.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-B-Ka-o3f.js";/** +import{c as a}from"./index-BQT7CCpA.js";/** * @license lucide-vue-next v0.535.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/assets/clipboard-Bj3kv5gr.js b/themes/2024/assets/clipboard-Bj3kv5gr.js deleted file mode 100644 index 5c02c20..0000000 --- a/themes/2024/assets/clipboard-Bj3kv5gr.js +++ /dev/null @@ -1,21 +0,0 @@ -import{c as G,d as Y,E as N,r as R,G as X,o as re,F as ae,H as ne,U as x,f as k,u as oe}from"./index-B-Ka-o3f.js";/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Pe=G("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ae=G("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ne=G("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/*! - * qrcode.vue v3.6.0 - * A Vue.js component to generate QRCode. Both support Vue 2 and Vue 3 - * © 2017-PRESENT @scopewu(https://github.com/scopewu) - * MIT License. - */var D=function(){return D=Object.assign||function(u){for(var c,l=1,f=arguments.length;la.MAX_VERSION)throw new RangeError("Version value out of range");if(n<-1||n>7)throw new RangeError("Mask value out of range");this.size=e*4+17;for(var s=[],i=0;i7)throw new RangeError("Invalid value");var h,m;for(h=r;;h++){var M=a.getNumDataCodewords(h,t)*8,w=v.getTotalBits(e,h);if(w<=M){m=w;break}if(h>=n)throw new RangeError("Data too long")}for(var p=0,S=[a.Ecc.MEDIUM,a.Ecc.QUARTILE,a.Ecc.HIGH];p>>3]|=_<<7-(Q&7)}),new a(h,t,z,s)},a.prototype.getModule=function(e,t){return 0<=e&&e>>9)*1335;var s=(t<<10|r)^21522;f(s>>>15==0);for(var n=0;n<=5;n++)this.setFunctionModule(8,n,l(s,n));this.setFunctionModule(8,7,l(s,6)),this.setFunctionModule(8,8,l(s,7)),this.setFunctionModule(7,8,l(s,8));for(var n=9;n<15;n++)this.setFunctionModule(14-n,8,l(s,n));for(var n=0;n<8;n++)this.setFunctionModule(this.size-1-n,8,l(s,n));for(var n=8;n<15;n++)this.setFunctionModule(8,this.size-15+n,l(s,n));this.setFunctionModule(8,this.size-8,!0)},a.prototype.drawVersion=function(){if(!(this.version<7)){for(var e=this.version,t=0;t<12;t++)e=e<<1^(e>>>11)*7973;var r=this.version<<12|e;f(r>>>18==0);for(var t=0;t<18;t++){var n=l(r,t),s=this.size-11+t%3,i=Math.floor(t/3);this.setFunctionModule(s,i,n),this.setFunctionModule(i,s,n)}}},a.prototype.drawFinderPattern=function(e,t){for(var r=-4;r<=4;r++)for(var n=-4;n<=4;n++){var s=Math.max(Math.abs(n),Math.abs(r)),i=e+n,h=t+r;0<=i&&i=h)&&E.push(I[y])})},p=0;p=1;r-=2){r==6&&(r=5);for(var n=0;n>>3],7-(t&7)),t++)}}f(t==e.length*8)},a.prototype.applyMask=function(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(var t=0;t5&&e++):(this.finderPenaltyAddHistory(n,s),r||(e+=this.finderPenaltyCountPatterns(s)*a.PENALTY_N3),r=this.modules[t][i],n=1);e+=this.finderPenaltyTerminateAndCount(r,n,s)*a.PENALTY_N3}for(var i=0;i5&&e++):(this.finderPenaltyAddHistory(h,s),r||(e+=this.finderPenaltyCountPatterns(s)*a.PENALTY_N3),r=this.modules[t][i],h=1);e+=this.finderPenaltyTerminateAndCount(r,h,s)*a.PENALTY_N3}for(var t=0;ta.MAX_VERSION)throw new RangeError("Version number out of range");var t=(16*e+128)*e+64;if(e>=2){var r=Math.floor(e/7)+2;t-=(25*r-10)*r-55,e>=7&&(t-=36)}return f(208<=t&&t<=29648),t},a.getNumDataCodewords=function(e,t){return Math.floor(a.getNumRawDataModules(e)/8)-a.ECC_CODEWORDS_PER_BLOCK[t.ordinal][e]*a.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][e]},a.reedSolomonComputeDivisor=function(e){if(e<1||e>255)throw new RangeError("Degree out of range");for(var t=[],r=0;r>>8||t>>>8)throw new RangeError("Byte out of range");for(var r=0,n=7;n>=0;n--)r=r<<1^(r>>>7)*285,r^=(t>>>n&1)*e;return f(r>>>8==0),r},a.prototype.finderPenaltyCountPatterns=function(e){var t=e[1];f(t<=this.size*3);var r=t>0&&e[2]==t&&e[3]==t*3&&e[4]==t&&e[5]==t;return(r&&e[0]>=t*4&&e[6]>=t?1:0)+(r&&e[6]>=t*4&&e[0]>=t?1:0)},a.prototype.finderPenaltyTerminateAndCount=function(e,t,r){return e&&(this.finderPenaltyAddHistory(t,r),t=0),t+=this.size,this.finderPenaltyAddHistory(t,r),this.finderPenaltyCountPatterns(r)},a.prototype.finderPenaltyAddHistory=function(e,t){t[0]==0&&(e+=this.size),t.pop(),t.unshift(e)},a.MIN_VERSION=1,a.MAX_VERSION=40,a.PENALTY_N1=3,a.PENALTY_N2=3,a.PENALTY_N3=40,a.PENALTY_N4=10,a.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],a.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],a}();o.QrCode=u;function c(a,e,t){if(e<0||e>31||a>>>e)throw new RangeError("Value out of range");for(var r=e-1;r>=0;r--)t.push(a>>>r&1)}function l(a,e){return(a>>>e&1)!=0}function f(a){if(!a)throw new Error("Assertion error")}var v=function(){function a(e,t,r){if(this.mode=e,this.numChars=t,this.bitData=r,t<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return a.makeBytes=function(e){for(var t=[],r=0,n=e;r=1<=u.y+u.h?c:c.map(function(f,v){return v=u.x+u.w?f:!1})})}var q={value:{type:String,required:!0,default:""},size:{type:Number,default:100},level:{type:String,default:$,validator:function(o){return W(o)}},background:{type:String,default:"#fff"},foreground:{type:String,default:"#000"},margin:{type:Number,required:!1,default:0},imageSettings:{type:Object,required:!1,default:function(){return{}}},gradient:{type:Boolean,required:!1,default:!1},gradientType:{type:String,required:!1,default:"linear",validator:function(o){return["linear","radial"].indexOf(o)>-1}},gradientStartColor:{type:String,required:!1,default:"#000"},gradientEndColor:{type:String,required:!1,default:"#fff"}},se=D(D({},q),{renderAs:{type:String,required:!1,default:"canvas",validator:function(o){return["canvas","svg"].indexOf(o)>-1}}}),le=Y({name:"QRCodeSvg",props:q,setup:function(o){var u=R(0),c=R(""),l,f=function(){var a=o.value,e=o.level,t=o.margin,r=t>>>0,n=W(e)?e:$,s=B.QrCode.encodeText(a,K[n]).getModules();if(u.value=s.length+r*2,o.imageSettings.src){var i=Z(s,o.size,r,o.imageSettings);l={x:i.x+r,y:i.y+r,width:i.w,height:i.h},i.excavation&&(s=j(s,i.excavation))}c.value=J(s,r)},v=function(){if(!o.gradient)return null;var a=o.gradientType==="linear"?{x1:"0%",y1:"0%",x2:"100%",y2:"100%"}:{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"};return N(o.gradientType==="linear"?"linearGradient":"radialGradient",D({id:"qr-gradient"},a),[N("stop",{offset:"0%",style:{stopColor:o.gradientStartColor}}),N("stop",{offset:"100%",style:{stopColor:o.gradientEndColor}})])};return f(),X(f),function(){return N("svg",{width:o.size,height:o.size,"shape-rendering":"crispEdges",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(u.value," ").concat(u.value)},[N("defs",{},[v()]),N("rect",{width:"100%",height:"100%",fill:o.background}),N("path",{fill:o.gradient?"url(#qr-gradient)":o.foreground,d:c.value}),o.imageSettings.src&&N("image",D({href:o.imageSettings.src},l))])}}}),ue=Y({name:"QRCodeCanvas",props:q,setup:function(o,u){var c=R(null),l=R(null),f=function(){var a=o.value,e=o.level,t=o.size,r=o.margin,n=o.background,s=o.foreground,i=o.gradient,h=o.gradientType,m=o.gradientStartColor,M=o.gradientEndColor,w=r>>>0,p=W(e)?e:$,S=c.value;if(S){var C=S.getContext("2d");if(C){var g=B.QrCode.encodeText(a,K[p]).getModules(),E=g.length+w*2,P=l.value,y={x:0,y:0,width:0,height:0},I=o.imageSettings.src&&P!=null&&P.naturalWidth!==0&&P.naturalHeight!==0;if(I){var A=Z(g,o.size,w,o.imageSettings);y={x:A.x+w,y:A.y+w,width:A.w,height:A.h},A.excavation&&(g=j(g,A.excavation))}var U=window.devicePixelRatio||1,T=t/E*U;if(S.height=S.width=t*U,C.scale(T,T),C.fillStyle=n,C.fillRect(0,0,E,E),i){var b=void 0;h==="linear"?b=C.createLinearGradient(0,0,E,E):b=C.createRadialGradient(E/2,E/2,0,E/2,E/2,E/2),b.addColorStop(0,m),b.addColorStop(1,M),C.fillStyle=b}else C.fillStyle=s;ie?C.fill(new Path2D(J(g,w))):g.forEach(function(z,_){z.forEach(function(Q,V){Q&&C.fillRect(V+w,_+w,1,1)})}),I&&C.drawImage(P,y.x,y.y,y.width,y.height)}}};re(f),X(f);var v=u.attrs.style;return function(){return N(ae,[N("canvas",D(D({},u.attrs),{ref:c,style:D(D({},v),{width:"".concat(o.size,"px"),height:"".concat(o.size,"px")})})),o.imageSettings.src&&N("img",{ref:l,src:o.imageSettings.src,style:{display:"none"},onLoad:f})])}}}),Ie=Y({name:"Qrcode",render:function(){var o=this.$props,u=o.renderAs,c=o.value,l=o.size,f=o.margin,v=o.level,a=o.background,e=o.foreground,t=o.imageSettings,r=o.gradient,n=o.gradientType,s=o.gradientStartColor,i=o.gradientEndColor;return N(u==="svg"?le:ue,{value:c,size:l,margin:f,level:v,background:a,foreground:e,imageSettings:t,gradient:r,gradientType:n,gradientStartColor:s,gradientEndColor:i})},props:se});const be=ne("fileData",()=>{const o=R(x.IDLE),u=R({loaded:0,total:0,percentage:0}),c=R(""),l=R(null),f=R(""),v=R(null),a=R(!1),e=R([]),t=R(0),r=R(1),n=R(10),s=R(!1),i=R([]),h=R([]),m=k(()=>o.value===x.UPLOADING),M=k(()=>o.value===x.SUCCESS),w=k(()=>o.value===x.ERROR),p=k(()=>v.value!==null),S=k(()=>p.value&&!a.value),C=k(()=>Math.ceil(t.value/n.value)),g=d=>{o.value=d},E=d=>{u.value=d},P=d=>{c.value=d},y=d=>{l.value=d},I=()=>{o.value=x.IDLE,u.value={loaded:0,total:0,percentage:0},c.value="",l.value=null},A=d=>{f.value=d},U=d=>{v.value=d},T=d=>{a.value=d},b=()=>{f.value="",v.value=null,a.value=!1},z=d=>{e.value=d},_=d=>{e.value.unshift(d),t.value+=1};return{uploadStatus:o,uploadProgress:u,uploadedCode:c,currentFile:l,downloadCode:f,fileInfo:v,isDownloading:a,fileList:e,totalFiles:t,currentPage:r,pageSize:n,isLoadingList:s,isUploading:m,isUploadSuccess:M,isUploadError:w,hasFileInfo:p,canDownload:S,totalPages:C,setUploadStatus:g,setUploadProgress:E,setUploadedCode:P,setCurrentFile:y,resetUpload:I,setDownloadCode:A,setFileInfo:U,setDownloading:T,resetDownload:b,setFileList:z,addFile:_,removeFile:d=>{const L=e.value.findIndex(F=>F.id===d);L>-1&&(e.value.splice(L,1),t.value-=1)},updateFile:(d,L)=>{const F=e.value.findIndex(te=>te.id===d);F>-1&&(e.value[F]={...e.value[F],...L})},setTotalFiles:d=>{t.value=d},setCurrentPage:d=>{r.value=d},setPageSize:d=>{n.value=d},setLoadingList:d=>{s.value=d},resetFileList:()=>{e.value=[],t.value=0,r.value=1,s.value=!1},addShareData:d=>{if(P(d.code),d.name){const L={id:d.code,name:d.name,size:0,type:"",uploadTime:new Date().toISOString(),downloadCount:0};_(L)}},receiveData:i,addReceiveData:d=>{i.value.push(d)},removeReceiveData:d=>{const L=i.value.findIndex(F=>F.id===d);L>-1&&i.value.splice(L,1)},deleteReceiveData:d=>{d>-1&&d{i.value=[]},shareData:h,addShareDataRecord:d=>{h.value.push(d)},deleteShareData:d=>{d>-1&&d{h.value=[]}}}),ee=async(o,u={})=>{const{successMsg:c="复制成功",errorMsg:l="复制失败,请手动复制",showMsg:f=!0}=u,v=oe();try{if(document.hasFocus()&&navigator.clipboard&&navigator.clipboard.writeText)return await navigator.clipboard.writeText(o),f&&v.showAlert(c,"success"),!0;const a=document.createElement("textarea");a.value=o,a.style.position="fixed",a.style.opacity="0",document.body.appendChild(a),a.select();const e=document.execCommand("copy");if(document.body.removeChild(a),e)return f&&v.showAlert(c,"success"),!0;throw new Error("execCommand copy failed")}catch(a){return console.error("复制失败:",a),f&&v.showAlert(l,"error"),!1}},De=async o=>{const u=`${window.location.origin}/#/?code=${o}`;return ee(u,{successMsg:"取件链接已复制到剪贴板",errorMsg:"复制失败,请手动复制取件链接"})},Le=async o=>ee(o,{successMsg:"取件码已复制到剪贴板",errorMsg:"复制失败,请手动复制取件码"}),ce=window.location.origin+"/",Te=(o,u)=>{const c=`wget ${ce}share/select?code=${o} -O "${u}"`;navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(c).then(()=>{console.log("命令已复制到剪贴板!")}).catch(l=>{console.error("复制失败,使用回退方法:",l),H(c)}):(console.warn("Clipboard API 不可用,使用回退方法。"),H(c))};function H(o){const u=document.createElement("textarea");u.value=o,u.style.position="fixed",document.body.appendChild(u),u.focus(),u.select();try{const c=document.execCommand("copy");console.log("回退复制操作成功:",c),document.hasFocus()&&navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(o):H(o)}catch(c){console.error("回退复制操作失败:",c)}document.body.removeChild(u)}export{Pe as C,Ae as E,Ie as Q,Ne as S,Te as a,De as b,Le as c,ee as d,be as u}; diff --git a/themes/2024/assets/file-ExORVwAL.js b/themes/2024/assets/file-C3_XlMB5.js similarity index 88% rename from themes/2024/assets/file-ExORVwAL.js rename to themes/2024/assets/file-C3_XlMB5.js index 9c7c009..dbbc117 100644 --- a/themes/2024/assets/file-ExORVwAL.js +++ b/themes/2024/assets/file-C3_XlMB5.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-B-Ka-o3f.js";/** +import{c as a}from"./index-BQT7CCpA.js";/** * @license lucide-vue-next v0.535.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/assets/hard-drive-QraB3QOb.js b/themes/2024/assets/hard-drive-DPx3Jtjb.js similarity index 92% rename from themes/2024/assets/hard-drive-QraB3QOb.js rename to themes/2024/assets/hard-drive-DPx3Jtjb.js index 599e854..899b5b6 100644 --- a/themes/2024/assets/hard-drive-QraB3QOb.js +++ b/themes/2024/assets/hard-drive-DPx3Jtjb.js @@ -1,4 +1,4 @@ -import{c as e}from"./index-B-Ka-o3f.js";/** +import{c as e}from"./index-BQT7CCpA.js";/** * @license lucide-vue-next v0.535.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/assets/index-B-Ka-o3f.js b/themes/2024/assets/index-B-Ka-o3f.js deleted file mode 100644 index e368286..0000000 --- a/themes/2024/assets/index-B-Ka-o3f.js +++ /dev/null @@ -1,86 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SendFileView-0AP69Sbg.js","assets/clipboard-Bj3kv5gr.js","assets/file-ExORVwAL.js","assets/trash-McEm8LQt.js","assets/SendFileView-XtpGZxXZ.css","assets/RetrievewFileView-BsjeRxMF.js","assets/box-CCCmbUYf.js","assets/hard-drive-QraB3QOb.js","assets/RetrievewFileView-CfCNxb7z.css","assets/AdminLayout-D5CLgSUV.js","assets/AdminLayout-nlp_lohe.css","assets/DashboardView-BLN6_eZt.js","assets/FileManageView-Rc6CCZED.js","assets/FileManageView-DrjnVkAt.css","assets/LoginView-BE933Oxi.js","assets/LoginView-CbGDZtny.css"])))=>i.map(i=>d[i]); -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** -* @vue/shared v3.5.18 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Mr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},Yt=[],ot=()=>{},Bc=()=>!1,Ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ir=e=>e.startsWith("onUpdate:"),ye=Object.assign,kr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hc=Object.prototype.hasOwnProperty,se=(e,t)=>Hc.call(e,t),$=Array.isArray,Zt=e=>Bn(e)==="[object Map]",an=e=>Bn(e)==="[object Set]",co=e=>Bn(e)==="[object Date]",K=e=>typeof e=="function",de=e=>typeof e=="string",it=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Ai=e=>(oe(e)||K(e))&&K(e.then)&&K(e.catch),Oi=Object.prototype.toString,Bn=e=>Oi.call(e),Vc=e=>Bn(e).slice(8,-1),Pi=e=>Bn(e)==="[object Object]",Fr=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_n=Mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Es=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qc=/-(\w)/g,qe=Es(e=>e.replace(qc,(t,n)=>n?n.toUpperCase():"")),Kc=/\B([A-Z])/g,Lt=Es(e=>e.replace(Kc,"-$1").toLowerCase()),Rs=Es(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ws=Es(e=>e?`on${Rs(e)}`:""),At=(e,t)=>!Object.is(e,t),ss=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},as=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Wc=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let ao;const xs=()=>ao||(ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(Jc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function un(e){let t="";if(de(e))t=e;else if($(e))for(let n=0;nHn(n,t))}const Ni=e=>!!(e&&e.__v_isRef===!0),Mi=e=>de(e)?e:e==null?"":$(e)||oe(e)&&(e.toString===Oi||!K(e.toString))?Ni(e)?Mi(e.value):JSON.stringify(e,Ii,2):String(e),Ii=(e,t)=>Ni(t)?Ii(e,t.value):Zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[zs(s,o)+" =>"]=r,n),{})}:an(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zs(n))}:it(t)?zs(t):oe(t)&&!$(t)&&!Pi(t)?String(t):t,zs=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.18 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let _e;class ki{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(_e=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(vn){let t=vn;for(vn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wn;){let t=wn;for(wn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),$r(s),ta(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function dr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pn)||(e.globalVersion=Pn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!dr(e))))return;e.flags|=2;const t=e.dep,n=ue,s=We;ue=e,We=!0;try{Bi(e);const r=e.fn(e._value);(t.version===0||At(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ue=n,We=s,Hi(e),e.flags&=-3}}function $r(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)$r(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ta(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let We=!0;const qi=[];function mt(){qi.push(We),We=!1}function gt(){const e=qi.pop();We=e===void 0?!0:e}function uo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let Pn=0;class na{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Br{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ue||!We||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new na(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Ki(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=s)}return n}trigger(t){this.version++,Pn++,this.notify(t)}notify(t){jr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ur()}}}function Ki(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ki(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const us=new WeakMap,Ut=Symbol(""),hr=Symbol(""),Ln=Symbol("");function we(e,t,n){if(We&&ue){let s=us.get(e);s||us.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Br),r.map=s,r.key=n),r.track()}}function ft(e,t,n,s,r,o){const i=us.get(e);if(!i){Pn++;return}const l=c=>{c&&c.trigger()};if(jr(),t==="clear")i.forEach(l);else{const c=$(e),u=c&&Fr(n);if(c&&n==="length"){const a=Number(s);i.forEach((f,p)=>{(p==="length"||p===Ln||!it(p)&&p>=a)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Ln)),t){case"add":c?u&&l(i.get("length")):(l(i.get(Ut)),Zt(e)&&l(i.get(hr)));break;case"delete":c||(l(i.get(Ut)),Zt(e)&&l(i.get(hr)));break;case"set":Zt(e)&&l(i.get(Ut));break}}Ur()}function sa(e,t){const n=us.get(e);return n&&n.get(t)}function Jt(e){const t=X(e);return t===e?t:(we(t,"iterate",Ln),Ve(e)?t:t.map(be))}function Ts(e){return we(e=X(e),"iterate",Ln),e}const ra={__proto__:null,[Symbol.iterator](){return Gs(this,Symbol.iterator,be)},concat(...e){return Jt(this).concat(...e.map(t=>$(t)?Jt(t):t))},entries(){return Gs(this,"entries",e=>(e[1]=be(e[1]),e))},every(e,t){return ct(this,"every",e,t,void 0,arguments)},filter(e,t){return ct(this,"filter",e,t,n=>n.map(be),arguments)},find(e,t){return ct(this,"find",e,t,be,arguments)},findIndex(e,t){return ct(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ct(this,"findLast",e,t,be,arguments)},findLastIndex(e,t){return ct(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ct(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qs(this,"includes",e)},indexOf(...e){return Qs(this,"indexOf",e)},join(e){return Jt(this).join(e)},lastIndexOf(...e){return Qs(this,"lastIndexOf",e)},map(e,t){return ct(this,"map",e,t,void 0,arguments)},pop(){return pn(this,"pop")},push(...e){return pn(this,"push",e)},reduce(e,...t){return fo(this,"reduce",e,t)},reduceRight(e,...t){return fo(this,"reduceRight",e,t)},shift(){return pn(this,"shift")},some(e,t){return ct(this,"some",e,t,void 0,arguments)},splice(...e){return pn(this,"splice",e)},toReversed(){return Jt(this).toReversed()},toSorted(e){return Jt(this).toSorted(e)},toSpliced(...e){return Jt(this).toSpliced(...e)},unshift(...e){return pn(this,"unshift",e)},values(){return Gs(this,"values",be)}};function Gs(e,t,n){const s=Ts(e),r=s[t]();return s!==e&&!Ve(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const oa=Array.prototype;function ct(e,t,n,s,r,o){const i=Ts(e),l=i!==e&&!Ve(e),c=i[t];if(c!==oa[t]){const f=c.apply(e,o);return l?be(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,be(f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const a=c.call(i,u,s);return l&&r?r(a):a}function fo(e,t,n,s){const r=Ts(e);let o=n;return r!==e&&(Ve(e)?n.length>3&&(o=function(i,l,c){return n.call(this,i,l,c,e)}):o=function(i,l,c){return n.call(this,i,be(l),c,e)}),r[t](o,...s)}function Qs(e,t,n){const s=X(e);we(s,"iterate",Ln);const r=s[t](...n);return(r===-1||r===!1)&&qr(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function pn(e,t,n=[]){mt(),jr();const s=X(e)[t].apply(e,n);return Ur(),gt(),s}const ia=Mr("__proto__,__v_isRef,__isVue"),Wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function la(e){it(e)||(e=String(e));const t=X(this);return we(t,"has",e),t.hasOwnProperty(e)}class zi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?ya:Xi:o?Qi:Gi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=$(t);if(!r){let c;if(i&&(c=ra[n]))return c;if(n==="hasOwnProperty")return la}const l=Reflect.get(t,n,fe(t)?t:s);return(it(n)?Wi.has(n):ia(n))||(r||we(t,"get",n),o)?l:fe(l)?i&&Fr(n)?l:l.value:oe(l)?r?Zi(l):Vn(l):l}}class Ji extends zi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Ot(o);if(!Ve(s)&&!Ot(s)&&(o=X(o),s=X(s)),!$(t)&&fe(o)&&!fe(s))return c?!1:(o.value=s,!0)}const i=$(t)&&Fr(n)?Number(n)e,Yn=e=>Reflect.getPrototypeOf(e);function da(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=Zt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=r[e](...s),a=n?pr:t?fs:be;return!t&&we(o,"iterate",c?hr:Ut),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[a(f[0]),a(f[1])]:a(f),done:p}},[Symbol.iterator](){return this}}}}function Zn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ha(e,t){const n={get(r){const o=this.__v_raw,i=X(o),l=X(r);e||(At(r,l)&&we(i,"get",r),we(i,"get",l));const{has:c}=Yn(i),u=t?pr:e?fs:be;if(c.call(i,r))return u(o.get(r));if(c.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&we(X(r),"iterate",Ut),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=X(o),l=X(r);return e||(At(r,l)&&we(i,"has",r),we(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=X(l),u=t?pr:e?fs:be;return!e&&we(c,"iterate",Ut),l.forEach((a,f)=>r.call(o,u(a),u(f),i))}};return ye(n,e?{add:Zn("add"),set:Zn("set"),delete:Zn("delete"),clear:Zn("clear")}:{add(r){!t&&!Ve(r)&&!Ot(r)&&(r=X(r));const o=X(this);return Yn(o).has.call(o,r)||(o.add(r),ft(o,"add",r,r)),this},set(r,o){!t&&!Ve(o)&&!Ot(o)&&(o=X(o));const i=X(this),{has:l,get:c}=Yn(i);let u=l.call(i,r);u||(r=X(r),u=l.call(i,r));const a=c.call(i,r);return i.set(r,o),u?At(o,a)&&ft(i,"set",r,o):ft(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:l}=Yn(o);let c=i.call(o,r);c||(r=X(r),c=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return c&&ft(o,"delete",r,void 0),u},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&ft(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=da(r,e,t)}),n}function Hr(e,t){const n=ha(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(se(n,r)&&r in s?n:s,r,o)}const pa={get:Hr(!1,!1)},ma={get:Hr(!1,!0)},ga={get:Hr(!0,!1)};const Gi=new WeakMap,Qi=new WeakMap,Xi=new WeakMap,ya=new WeakMap;function ba(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _a(e){return e.__v_skip||!Object.isExtensible(e)?0:ba(Vc(e))}function Vn(e){return Ot(e)?e:Vr(e,!1,aa,pa,Gi)}function Yi(e){return Vr(e,!1,fa,ma,Qi)}function Zi(e){return Vr(e,!0,ua,ga,Xi)}function Vr(e,t,n,s,r){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=_a(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return Ot(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function Ot(e){return!!(e&&e.__v_isReadonly)}function Ve(e){return!!(e&&e.__v_isShallow)}function qr(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Kr(e){return!se(e,"__v_skip")&&Object.isExtensible(e)&&fr(e,"__v_skip",!0),e}const be=e=>oe(e)?Vn(e):e,fs=e=>oe(e)?Zi(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function tn(e){return el(e,!1)}function wa(e){return el(e,!0)}function el(e,t){return fe(e)?e:new va(e,t)}class va{constructor(t,n){this.dep=new Br,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:be(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ve(t)||Ot(t);t=s?t:X(t),At(t,n)&&(this._rawValue=t,this._value=s?t:be(t),this.dep.trigger())}}function Pe(e){return fe(e)?e.value:e}const Sa={get:(e,t,n)=>t==="__v_raw"?e:Pe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function tl(e){return ht(e)?e:new Proxy(e,Sa)}function Ea(e){const t=$(e)?new Array(e.length):{};for(const n in e)t[n]=nl(e,n);return t}class Ra{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sa(X(this._object),this._key)}}class xa{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ca(e,t,n){return fe(e)?e:K(e)?new xa(e):oe(e)&&arguments.length>1?nl(e,t,n):tn(e)}function nl(e,t,n){const s=e[t];return fe(s)?s:new Ra(e,t,n)}class Ta{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Br(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return $i(this,!0),!0}get value(){const t=this.dep.track();return Vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Aa(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new Ta(s,r,n)}const es={},ds=new WeakMap;let kt;function Oa(e,t=!1,n=kt){if(n){let s=ds.get(n);s||ds.set(n,s=[]),s.push(e)}}function Pa(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,u=L=>r?L:Ve(L)||r===!1||r===0?dt(L,1):dt(L);let a,f,p,m,y=!1,_=!1;if(fe(e)?(f=()=>e.value,y=Ve(e)):ht(e)?(f=()=>u(e),y=!0):$(e)?(_=!0,y=e.some(L=>ht(L)||Ve(L)),f=()=>e.map(L=>{if(fe(L))return L.value;if(ht(L))return u(L);if(K(L))return c?c(L,2):L()})):K(e)?t?f=c?()=>c(e,2):e:f=()=>{if(p){mt();try{p()}finally{gt()}}const L=kt;kt=a;try{return c?c(e,3,[m]):e(m)}finally{kt=L}}:f=ot,t&&r){const L=f,j=r===!0?1/0:r;f=()=>dt(L(),j)}const R=Di(),A=()=>{a.stop(),R&&R.active&&kr(R.effects,a)};if(o&&t){const L=t;t=(...j)=>{L(...j),A()}}let C=_?new Array(e.length).fill(es):es;const P=L=>{if(!(!(a.flags&1)||!a.dirty&&!L))if(t){const j=a.run();if(r||y||(_?j.some((Q,z)=>At(Q,C[z])):At(j,C))){p&&p();const Q=kt;kt=a;try{const z=[j,C===es?void 0:_&&C[0]===es?[]:C,m];C=j,c?c(t,3,z):t(...z)}finally{kt=Q}}}else a.run()};return l&&l(P),a=new ji(f),a.scheduler=i?()=>i(P,!1):P,m=L=>Oa(L,!1,a),p=a.onStop=()=>{const L=ds.get(a);if(L){if(c)c(L,4);else for(const j of L)j();ds.delete(a)}},t?s?P(!0):C=a.run():i?i(P.bind(null,!0),!0):a.run(),A.pause=a.pause.bind(a),A.resume=a.resume.bind(a),A.stop=A,A}function dt(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))dt(e.value,t,n);else if($(e))for(let s=0;s{dt(s,t,n)});else if(Pi(e)){for(const s in e)dt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.18 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function qn(e,t,n,s){try{return s?e(...s):e()}catch(r){As(r,t,n)}}function ze(e,t,n,s){if(K(e)){const r=qn(e,t,n,s);return r&&Ai(r)&&r.catch(o=>{As(o,t,n)}),r}if($(e)){const r=[];for(let o=0;o>>1,r=xe[s],o=Nn(r);o=Nn(n)?xe.push(e):xe.splice(Na(t),0,e),e.flags|=1,rl()}}function rl(){hs||(hs=sl.then(il))}function Ma(e){$(e)?en.push(...e):Et&&e.id===-1?Et.splice(Qt+1,0,e):e.flags&1||(en.push(e),e.flags|=1),rl()}function ho(e,t,n=st+1){for(;nNn(n)-Nn(s));if(en.length=0,Et){Et.push(...t);return}for(Et=t,Qt=0;Qte.id==null?e.flags&2?-1:1/0:e.id;function il(e){try{for(st=0;st{s._d&&Ro(-1);const o=ps(t);let i;try{i=e(...r)}finally{ps(o),s._d&&Ro(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Vp(e,t){if(je===null)return e;const n=Fs(je),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Rt=Symbol("_leaveCb"),ts=Symbol("_enterCb");function al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ns(()=>{e.isMounted=!0}),yl(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],ul={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},fl=e=>{const t=e.subTree;return t.component?fl(t.component):t},ka={name:"BaseTransition",props:ul,setup(e,{slots:t}){const n=ks(),s=al();return()=>{const r=t.default&&zr(t.default(),!0);if(!r||!r.length)return;const o=dl(r),i=X(e),{mode:l}=i;if(s.isLeaving)return Xs(o);const c=po(o);if(!c)return Xs(o);let u=Mn(c,i,s,n,f=>u=f);c.type!==Ce&&Vt(c,u);let a=n.subTree&&po(n.subTree);if(a&&a.type!==Ce&&!Dt(c,a)&&fl(n).type!==Ce){let f=Mn(a,i,s,n);if(Vt(a,f),l==="out-in"&&c.type!==Ce)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,a=void 0},Xs(o);l==="in-out"&&c.type!==Ce?f.delayLeave=(p,m,y)=>{const _=hl(s,a);_[String(a.key)]=a,p[Rt]=()=>{m(),p[Rt]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{y(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return o}}};function dl(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ce){t=n;break}}return t}const Fa=ka;function hl(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Mn(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:y,onLeaveCancelled:_,onBeforeAppear:R,onAppear:A,onAfterAppear:C,onAppearCancelled:P}=t,L=String(e.key),j=hl(n,e),Q=(M,W)=>{M&&ze(M,s,9,W)},z=(M,W)=>{const ee=W[1];Q(M,W),$(M)?M.every(F=>F.length<=1)&&ee():M.length<=1&&ee()},V={mode:i,persisted:l,beforeEnter(M){let W=c;if(!n.isMounted)if(o)W=R||c;else return;M[Rt]&&M[Rt](!0);const ee=j[L];ee&&Dt(e,ee)&&ee.el[Rt]&&ee.el[Rt](),Q(W,[M])},enter(M){let W=u,ee=a,F=f;if(!n.isMounted)if(o)W=A||u,ee=C||a,F=P||f;else return;let Y=!1;const pe=M[ts]=Ee=>{Y||(Y=!0,Ee?Q(F,[M]):Q(ee,[M]),V.delayedLeave&&V.delayedLeave(),M[ts]=void 0)};W?z(W,[M,pe]):pe()},leave(M,W){const ee=String(e.key);if(M[ts]&&M[ts](!0),n.isUnmounting)return W();Q(p,[M]);let F=!1;const Y=M[Rt]=pe=>{F||(F=!0,W(),pe?Q(_,[M]):Q(y,[M]),M[Rt]=void 0,j[ee]===e&&delete j[ee])};j[ee]=e,m?z(m,[M,Y]):Y()},clone(M){const W=Mn(M,t,n,s,r);return r&&r(W),W}};return V}function Xs(e){if(Ps(e))return e=Pt(e),e.children=null,e}function po(e){if(!Ps(e))return cl(e.type)&&e.children?dl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Vt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function zr(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;oSn(y,t&&($(t)?t[_]:t),n,s,r));return}if(En(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Sn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Fs(s.component):s.el,i=r?null:o,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ce?l.refs={}:l.refs,f=l.setupState,p=X(f),m=f===ce?()=>!1:y=>se(p,y);if(u!=null&&u!==c&&(de(u)?(a[u]=null,m(u)&&(f[u]=null)):fe(u)&&(u.value=null)),K(c))qn(c,l,12,[i,a]);else{const y=de(c),_=fe(c);if(y||_){const R=()=>{if(e.f){const A=y?m(c)?f[c]:a[c]:c.value;r?$(A)&&kr(A,o):$(A)?A.includes(o)||A.push(o):y?(a[c]=[o],m(c)&&(f[c]=a[c])):(c.value=[o],e.k&&(a[e.k]=c.value))}else y?(a[c]=i,m(c)&&(f[c]=i)):_&&(c.value=i,e.k&&(a[e.k]=i))};i?(R.id=-1,ke(R,n)):R()}}}xs().requestIdleCallback;xs().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,Ps=e=>e.type.__isKeepAlive;function Da(e,t){ml(e,"a",t)}function ja(e,t){ml(e,"da",t)}function ml(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ls(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ps(r.parent.vnode)&&Ua(s,t,n,r),r=r.parent}}function Ua(e,t,n,s){const r=Ls(t,e,s,!0);Jr(()=>{kr(s[t],r)},n)}function Ls(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{mt();const l=Wn(n),c=ze(t,n,e,i);return l(),gt(),c});return s?r.unshift(o):r.push(o),o}}const yt=e=>(t,n=ve)=>{(!Fn||e==="sp")&&Ls(e,(...s)=>t(...s),n)},$a=yt("bm"),Ns=yt("m"),Ba=yt("bu"),gl=yt("u"),yl=yt("bum"),Jr=yt("um"),Ha=yt("sp"),Va=yt("rtg"),qa=yt("rtc");function Ka(e,t=ve){Ls("ec",e,t)}const bl="components";function qp(e,t){return vl(bl,e,!0,t)||e}const _l=Symbol.for("v-ndc");function wl(e){return de(e)?vl(bl,e,!1)||e:e||_l}function vl(e,t,n=!0,s=!1){const r=je||ve;if(r){const o=r.type;{const l=Fu(o,!1);if(l&&(l===t||l===qe(t)||l===Rs(qe(t))))return o}const i=mo(r[e]||o[e],t)||mo(r.appContext[e],t);return!i&&s?o:i}}function mo(e,t){return e&&(e[t]||e[qe(t)]||e[Rs(qe(t))])}function Wa(e,t,n,s){let r;const o=n,i=$(e);if(i||de(e)){const l=i&&ht(e);let c=!1,u=!1;l&&(c=!Ve(e),u=Ot(e),e=Ts(e)),r=new Array(e.length);for(let a=0,f=e.length;at(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;ce?$l(e)?Fs(e):mr(e.parent):null,Rn=ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>El(e),$forceUpdate:e=>e.f||(e.f=()=>{Wr(e.update)}),$nextTick:e=>e.n||(e.n=Os.bind(e.proxy)),$watch:e=>mu.bind(e)}),Ys=(e,t)=>e!==ce&&!e.__isScriptSetup&&se(e,t),za={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ys(s,t))return i[t]=1,s[t];if(r!==ce&&se(r,t))return i[t]=2,r[t];if((u=e.propsOptions[0])&&se(u,t))return i[t]=3,o[t];if(n!==ce&&se(n,t))return i[t]=4,n[t];gr&&(i[t]=0)}}const a=Rn[t];let f,p;if(a)return t==="$attrs"&&we(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ce&&se(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,se(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ys(r,t)?(r[t]=n,!0):s!==ce&&se(s,t)?(s[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ce&&se(e,i)||Ys(t,i)||(l=o[0])&&se(l,i)||se(s,i)||se(Rn,i)||se(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function go(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gr=!0;function Ja(e){const t=El(e),n=e.proxy,s=e.ctx;gr=!1,t.beforeCreate&&yo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:u,created:a,beforeMount:f,mounted:p,beforeUpdate:m,updated:y,activated:_,deactivated:R,beforeDestroy:A,beforeUnmount:C,destroyed:P,unmounted:L,render:j,renderTracked:Q,renderTriggered:z,errorCaptured:V,serverPrefetch:M,expose:W,inheritAttrs:ee,components:F,directives:Y,filters:pe}=t;if(u&&Ga(u,s,null),i)for(const G in i){const te=i[G];K(te)&&(s[G]=te.bind(n))}if(r){const G=r.call(n,n);oe(G)&&(e.data=Vn(G))}if(gr=!0,o)for(const G in o){const te=o[G],lt=K(te)?te.bind(n,n):K(te.get)?te.get.bind(n,n):ot,bt=!K(te)&&K(te.set)?te.set.bind(n):ot,Qe=De({get:lt,set:bt});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Te=>Qe.value=Te})}if(l)for(const G in l)Sl(l[G],s,n,G);if(c){const G=K(c)?c.call(n):c;Reflect.ownKeys(G).forEach(te=>{Bt(te,G[te])})}a&&yo(a,e,"c");function ie(G,te){$(te)?te.forEach(lt=>G(lt.bind(n))):te&&G(te.bind(n))}if(ie($a,f),ie(Ns,p),ie(Ba,m),ie(gl,y),ie(Da,_),ie(ja,R),ie(Ka,V),ie(qa,Q),ie(Va,z),ie(yl,C),ie(Jr,L),ie(Ha,M),$(W))if(W.length){const G=e.exposed||(e.exposed={});W.forEach(te=>{Object.defineProperty(G,te,{get:()=>n[te],set:lt=>n[te]=lt,enumerable:!0})})}else e.exposed||(e.exposed={});j&&e.render===ot&&(e.render=j),ee!=null&&(e.inheritAttrs=ee),F&&(e.components=F),Y&&(e.directives=Y),M&&pl(e)}function Ga(e,t,n=ot){$(e)&&(e=yr(e));for(const s in e){const r=e[s];let o;oe(r)?"default"in r?o=Le(r.from||s,r.default,!0):o=Le(r.from||s):o=Le(r),fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function yo(e,t,n){ze($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sl(e,t,n,s){let r=s.includes(".")?kl(n,s):()=>n[s];if(de(e)){const o=t[e];K(o)&&xn(r,o)}else if(K(e))xn(r,e.bind(n));else if(oe(e))if($(e))e.forEach(o=>Sl(o,t,n,s));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&xn(r,o,e)}}function El(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>gs(c,u,i,!0)),gs(c,t,i)),oe(t)&&o.set(t,c),c}function gs(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&gs(e,o,n,!0),r&&r.forEach(i=>gs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Qa[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Qa={data:bo,props:_o,emits:_o,methods:bn,computed:bn,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:bn,directives:bn,watch:Ya,provide:bo,inject:Xa};function bo(e,t){return t?e?function(){return ye(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Xa(e,t){return bn(yr(e),yr(t))}function yr(e){if($(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}function tu(){return!!(ks()||$t)}const xl={},Cl=()=>Object.create(xl),Tl=e=>Object.getPrototypeOf(e)===xl;function nu(e,t,n,s=!1){const r={},o=Cl();e.propsDefaults=Object.create(null),Al(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Yi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function su(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[c]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[p,m]=Ol(f,t,!0);ye(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return oe(e)&&s.set(e,Yt),Yt;if($(o))for(let a=0;ae==="_"||e==="__"||e==="_ctx"||e==="$stable",Qr=e=>$(e)?e.map(rt):[rt(e)],ou=(e,t,n)=>{if(t._n)return t;const s=ms((...r)=>Qr(t(...r)),n);return s._c=!1,s},Pl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Gr(r))continue;const o=e[r];if(K(o))t[r]=ou(r,o,s);else if(o!=null){const i=Qr(o);t[r]=()=>i}}},Ll=(e,t)=>{const n=Qr(t);e.slots.default=()=>n},Nl=(e,t,n)=>{for(const s in t)(n||!Gr(s))&&(e[s]=t[s])},iu=(e,t,n)=>{const s=e.slots=Cl();if(e.vnode.shapeFlag&32){const r=t.__;r&&fr(s,"__",r,!0);const o=t._;o?(Nl(s,t,n),n&&fr(s,"_",o,!0)):Pl(t,s)}else t&&Ll(e,t)},lu=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Nl(r,t,n):(o=!t.$stable,Pl(t,r)),i=t}else t&&(Ll(e,t),i={default:1});if(o)for(const l in r)!Gr(l)&&i[l]==null&&delete r[l]},ke=Su;function cu(e){return au(e)}function au(e,t){const n=xs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:a,parentNode:f,nextSibling:p,setScopeId:m=ot,insertStaticContent:y}=e,_=(d,h,g,w=null,E=null,S=null,N=void 0,O=null,T=!!h.dynamicChildren)=>{if(d===h)return;d&&!Dt(d,h)&&(w=v(d),Te(d,E,S,!0),d=null),h.patchFlag===-2&&(T=!1,h.dynamicChildren=null);const{type:x,ref:H,shapeFlag:k}=h;switch(x){case Is:R(d,h,g,w);break;case Ce:A(d,h,g,w);break;case er:d==null&&C(h,g,w,N);break;case He:F(d,h,g,w,E,S,N,O,T);break;default:k&1?j(d,h,g,w,E,S,N,O,T):k&6?Y(d,h,g,w,E,S,N,O,T):(k&64||k&128)&&x.process(d,h,g,w,E,S,N,O,T,U)}H!=null&&E?Sn(H,d&&d.ref,S,h||d,!h):H==null&&d&&d.ref!=null&&Sn(d.ref,null,S,d,!0)},R=(d,h,g,w)=>{if(d==null)s(h.el=l(h.children),g,w);else{const E=h.el=d.el;h.children!==d.children&&u(E,h.children)}},A=(d,h,g,w)=>{d==null?s(h.el=c(h.children||""),g,w):h.el=d.el},C=(d,h,g,w)=>{[d.el,d.anchor]=y(d.children,h,g,w,d.el,d.anchor)},P=({el:d,anchor:h},g,w)=>{let E;for(;d&&d!==h;)E=p(d),s(d,g,w),d=E;s(h,g,w)},L=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=p(d),r(d),d=g;r(h)},j=(d,h,g,w,E,S,N,O,T)=>{h.type==="svg"?N="svg":h.type==="math"&&(N="mathml"),d==null?Q(h,g,w,E,S,N,O,T):M(d,h,E,S,N,O,T)},Q=(d,h,g,w,E,S,N,O)=>{let T,x;const{props:H,shapeFlag:k,transition:B,dirs:q}=d;if(T=d.el=i(d.type,S,H&&H.is,H),k&8?a(T,d.children):k&16&&V(d.children,T,null,w,E,Zs(d,S),N,O),q&&Nt(d,null,w,"created"),z(T,d,d.scopeId,N,w),H){for(const ae in H)ae!=="value"&&!_n(ae)&&o(T,ae,null,H[ae],S,w);"value"in H&&o(T,"value",null,H.value,S),(x=H.onVnodeBeforeMount)&&et(x,w,d)}q&&Nt(d,null,w,"beforeMount");const Z=uu(E,B);Z&&B.beforeEnter(T),s(T,h,g),((x=H&&H.onVnodeMounted)||Z||q)&&ke(()=>{x&&et(x,w,d),Z&&B.enter(T),q&&Nt(d,null,w,"mounted")},E)},z=(d,h,g,w,E)=>{if(g&&m(d,g),w)for(let S=0;S{for(let x=T;x{const O=h.el=d.el;let{patchFlag:T,dynamicChildren:x,dirs:H}=h;T|=d.patchFlag&16;const k=d.props||ce,B=h.props||ce;let q;if(g&&Mt(g,!1),(q=B.onVnodeBeforeUpdate)&&et(q,g,h,d),H&&Nt(h,d,g,"beforeUpdate"),g&&Mt(g,!0),(k.innerHTML&&B.innerHTML==null||k.textContent&&B.textContent==null)&&a(O,""),x?W(d.dynamicChildren,x,O,g,w,Zs(h,E),S):N||te(d,h,O,null,g,w,Zs(h,E),S,!1),T>0){if(T&16)ee(O,k,B,g,E);else if(T&2&&k.class!==B.class&&o(O,"class",null,B.class,E),T&4&&o(O,"style",k.style,B.style,E),T&8){const Z=h.dynamicProps;for(let ae=0;ae{q&&et(q,g,h,d),H&&Nt(h,d,g,"updated")},w)},W=(d,h,g,w,E,S,N)=>{for(let O=0;O{if(h!==g){if(h!==ce)for(const S in h)!_n(S)&&!(S in g)&&o(d,S,h[S],null,E,w);for(const S in g){if(_n(S))continue;const N=g[S],O=h[S];N!==O&&S!=="value"&&o(d,S,O,N,E,w)}"value"in g&&o(d,"value",h.value,g.value,E)}},F=(d,h,g,w,E,S,N,O,T)=>{const x=h.el=d?d.el:l(""),H=h.anchor=d?d.anchor:l("");let{patchFlag:k,dynamicChildren:B,slotScopeIds:q}=h;q&&(O=O?O.concat(q):q),d==null?(s(x,g,w),s(H,g,w),V(h.children||[],g,H,E,S,N,O,T)):k>0&&k&64&&B&&d.dynamicChildren?(W(d.dynamicChildren,B,g,E,S,N,O),(h.key!=null||E&&h===E.subTree)&&Ml(d,h,!0)):te(d,h,g,H,E,S,N,O,T)},Y=(d,h,g,w,E,S,N,O,T)=>{h.slotScopeIds=O,d==null?h.shapeFlag&512?E.ctx.activate(h,g,w,N,T):pe(h,g,w,E,S,N,T):Ee(d,h,T)},pe=(d,h,g,w,E,S,N)=>{const O=d.component=Lu(d,w,E);if(Ps(d)&&(O.ctx.renderer=U),Nu(O,!1,N),O.asyncDep){if(E&&E.registerDep(O,ie,N),!d.el){const T=O.subTree=ge(Ce);A(null,T,h,g),d.placeholder=T.el}}else ie(O,d,h,g,E,S,N)},Ee=(d,h,g)=>{const w=h.component=d.component;if(wu(d,h,g))if(w.asyncDep&&!w.asyncResolved){G(w,h,g);return}else w.next=h,w.update();else h.el=d.el,w.vnode=h},ie=(d,h,g,w,E,S,N)=>{const O=()=>{if(d.isMounted){let{next:k,bu:B,u:q,parent:Z,vnode:ae}=d;{const Ye=Il(d);if(Ye){k&&(k.el=ae.el,G(d,k,N)),Ye.asyncDep.then(()=>{d.isUnmounted||O()});return}}let re=k,Ae;Mt(d,!1),k?(k.el=ae.el,G(d,k,N)):k=ae,B&&ss(B),(Ae=k.props&&k.props.onVnodeBeforeUpdate)&&et(Ae,Z,k,ae),Mt(d,!0);const Oe=So(d),Xe=d.subTree;d.subTree=Oe,_(Xe,Oe,f(Xe.el),v(Xe),d,E,S),k.el=Oe.el,re===null&&vu(d,Oe.el),q&&ke(q,E),(Ae=k.props&&k.props.onVnodeUpdated)&&ke(()=>et(Ae,Z,k,ae),E)}else{let k;const{el:B,props:q}=h,{bm:Z,m:ae,parent:re,root:Ae,type:Oe}=d,Xe=En(h);Mt(d,!1),Z&&ss(Z),!Xe&&(k=q&&q.onVnodeBeforeMount)&&et(k,re,h),Mt(d,!0);{Ae.ce&&Ae.ce._def.shadowRoot!==!1&&Ae.ce._injectChildStyle(Oe);const Ye=d.subTree=So(d);_(null,Ye,g,w,d,E,S),h.el=Ye.el}if(ae&&ke(ae,E),!Xe&&(k=q&&q.onVnodeMounted)){const Ye=h;ke(()=>et(k,re,Ye),E)}(h.shapeFlag&256||re&&En(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&ke(d.a,E),d.isMounted=!0,h=g=w=null}};d.scope.on();const T=d.effect=new ji(O);d.scope.off();const x=d.update=T.run.bind(T),H=d.job=T.runIfDirty.bind(T);H.i=d,H.id=d.uid,T.scheduler=()=>Wr(H),Mt(d,!0),x()},G=(d,h,g)=>{h.component=d;const w=d.vnode.props;d.vnode=h,d.next=null,su(d,h.props,w,g),lu(d,h.children,g),mt(),ho(d),gt()},te=(d,h,g,w,E,S,N,O,T=!1)=>{const x=d&&d.children,H=d?d.shapeFlag:0,k=h.children,{patchFlag:B,shapeFlag:q}=h;if(B>0){if(B&128){bt(x,k,g,w,E,S,N,O,T);return}else if(B&256){lt(x,k,g,w,E,S,N,O,T);return}}q&8?(H&16&&$e(x,E,S),k!==x&&a(g,k)):H&16?q&16?bt(x,k,g,w,E,S,N,O,T):$e(x,E,S,!0):(H&8&&a(g,""),q&16&&V(k,g,w,E,S,N,O,T))},lt=(d,h,g,w,E,S,N,O,T)=>{d=d||Yt,h=h||Yt;const x=d.length,H=h.length,k=Math.min(x,H);let B;for(B=0;BH?$e(d,E,S,!0,!1,k):V(h,g,w,E,S,N,O,T,k)},bt=(d,h,g,w,E,S,N,O,T)=>{let x=0;const H=h.length;let k=d.length-1,B=H-1;for(;x<=k&&x<=B;){const q=d[x],Z=h[x]=T?xt(h[x]):rt(h[x]);if(Dt(q,Z))_(q,Z,g,null,E,S,N,O,T);else break;x++}for(;x<=k&&x<=B;){const q=d[k],Z=h[B]=T?xt(h[B]):rt(h[B]);if(Dt(q,Z))_(q,Z,g,null,E,S,N,O,T);else break;k--,B--}if(x>k){if(x<=B){const q=B+1,Z=qB)for(;x<=k;)Te(d[x],E,S,!0),x++;else{const q=x,Z=x,ae=new Map;for(x=Z;x<=B;x++){const Ie=h[x]=T?xt(h[x]):rt(h[x]);Ie.key!=null&&ae.set(Ie.key,x)}let re,Ae=0;const Oe=B-Z+1;let Xe=!1,Ye=0;const hn=new Array(Oe);for(x=0;x=Oe){Te(Ie,E,S,!0);continue}let Ze;if(Ie.key!=null)Ze=ae.get(Ie.key);else for(re=Z;re<=B;re++)if(hn[re-Z]===0&&Dt(Ie,h[re])){Ze=re;break}Ze===void 0?Te(Ie,E,S,!0):(hn[Ze-Z]=x+1,Ze>=Ye?Ye=Ze:Xe=!0,_(Ie,h[Ze],g,null,E,S,N,O,T),Ae++)}const oo=Xe?fu(hn):Yt;for(re=oo.length-1,x=Oe-1;x>=0;x--){const Ie=Z+x,Ze=h[Ie],io=h[Ie+1],lo=Ie+1{const{el:S,type:N,transition:O,children:T,shapeFlag:x}=d;if(x&6){Qe(d.component.subTree,h,g,w);return}if(x&128){d.suspense.move(h,g,w);return}if(x&64){N.move(d,h,g,U);return}if(N===He){s(S,h,g);for(let k=0;kO.enter(S),E);else{const{leave:k,delayLeave:B,afterLeave:q}=O,Z=()=>{d.ctx.isUnmounted?r(S):s(S,h,g)},ae=()=>{k(S,()=>{Z(),q&&q()})};B?B(S,Z,ae):ae()}else s(S,h,g)},Te=(d,h,g,w=!1,E=!1)=>{const{type:S,props:N,ref:O,children:T,dynamicChildren:x,shapeFlag:H,patchFlag:k,dirs:B,cacheIndex:q}=d;if(k===-2&&(E=!1),O!=null&&(mt(),Sn(O,null,g,d,!0),gt()),q!=null&&(h.renderCache[q]=void 0),H&256){h.ctx.deactivate(d);return}const Z=H&1&&B,ae=!En(d);let re;if(ae&&(re=N&&N.onVnodeBeforeUnmount)&&et(re,h,d),H&6)Xn(d.component,g,w);else{if(H&128){d.suspense.unmount(g,w);return}Z&&Nt(d,null,h,"beforeUnmount"),H&64?d.type.remove(d,h,g,U,w):x&&!x.hasOnce&&(S!==He||k>0&&k&64)?$e(x,h,g,!1,!0):(S===He&&k&384||!E&&H&16)&&$e(T,h,g),w&&Wt(d)}(ae&&(re=N&&N.onVnodeUnmounted)||Z)&&ke(()=>{re&&et(re,h,d),Z&&Nt(d,null,h,"unmounted")},g)},Wt=d=>{const{type:h,el:g,anchor:w,transition:E}=d;if(h===He){zt(g,w);return}if(h===er){L(d);return}const S=()=>{r(g),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:N,delayLeave:O}=E,T=()=>N(g,S);O?O(d.el,S,T):T()}else S()},zt=(d,h)=>{let g;for(;d!==h;)g=p(d),r(d),d=g;r(h)},Xn=(d,h,g)=>{const{bum:w,scope:E,job:S,subTree:N,um:O,m:T,a:x,parent:H,slots:{__:k}}=d;vo(T),vo(x),w&&ss(w),H&&$(k)&&k.forEach(B=>{H.renderCache[B]=void 0}),E.stop(),S&&(S.flags|=8,Te(N,d,h,g)),O&&ke(O,h),ke(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},$e=(d,h,g,w=!1,E=!1,S=0)=>{for(let N=S;N{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),g=h&&h[Ia];return g?p(g):h};let D=!1;const I=(d,h,g)=>{d==null?h._vnode&&Te(h._vnode,null,null,!0):_(h._vnode||null,d,h,null,null,null,g),h._vnode=d,D||(D=!0,ho(),ol(),D=!1)},U={p:_,um:Te,m:Qe,r:Wt,mt:pe,mc:V,pc:te,pbc:W,n:v,o:e};return{render:I,hydrate:void 0,createApp:eu(I)}}function Zs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Mt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function uu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ml(e,t,n=!1){const s=e.children,r=t.children;if($(s)&&$(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Il(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Il(t)}function vo(e){if(e)for(let t=0;tLe(du);function pu(e,t){return Xr(e,null,t)}function xn(e,t,n){return Xr(e,t,n)}function Xr(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=ye({},n),c=t&&s||!t&&o!=="post";let u;if(Fn){if(o==="sync"){const m=hu();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=ot,m.resume=ot,m.pause=ot,m}}const a=ve;l.call=(m,y,_)=>ze(m,a,y,_);let f=!1;o==="post"?l.scheduler=m=>{ke(m,a&&a.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(m,y)=>{y?m():Wr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),f&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const p=Pa(e,t,l);return Fn&&(u?u.push(p):c&&p()),p}function mu(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?kl(s,e):()=>s[e]:e.bind(s,s);let o;K(t)?o=t:(o=t.handler,n=t);const i=Wn(this),l=Xr(r,o.bind(s),n);return i(),l}function kl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${Lt(t)}Modifiers`];function yu(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&gu(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>de(a)?a.trim():a)),i.number&&(r=n.map(as)));let l,c=s[l=Ws(t)]||s[l=Ws(qe(t))];!c&&o&&(c=s[l=Ws(Lt(t))]),c&&ze(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(u,e,6,r)}}function Fl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const a=Fl(u,t,!0);a&&(l=!0,ye(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(oe(e)&&s.set(e,null),null):($(o)?o.forEach(c=>i[c]=null):ye(i,o),oe(e)&&s.set(e,i),i)}function Ms(e,t){return!e||!Ss(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,Lt(t))||se(e,t))}function So(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:a,props:f,data:p,setupState:m,ctx:y,inheritAttrs:_}=e,R=ps(e);let A,C;try{if(n.shapeFlag&4){const L=r||s,j=L;A=rt(u.call(j,L,a,f,m,p,y)),C=l}else{const L=t;A=rt(L.length>1?L(f,{attrs:l,slots:i,emit:c}):L(f,null)),C=t.props?l:bu(l)}}catch(L){Cn.length=0,As(L,e,1),A=ge(Ce)}let P=A;if(C&&_!==!1){const L=Object.keys(C),{shapeFlag:j}=P;L.length&&j&7&&(o&&L.some(Ir)&&(C=_u(C,o)),P=Pt(P,C,!1,!0))}return n.dirs&&(P=Pt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Vt(P,n.transition),A=P,ps(R),A}const bu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ss(n))&&((t||(t={}))[n]=e[n]);return t},_u=(e,t)=>{const n={};for(const s in e)(!Ir(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function wu(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Eo(s,i,u):!!i;if(c&8){const a=t.dynamicProps;for(let f=0;fe.__isSuspense;function Su(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Ma(e)}const He=Symbol.for("v-fgt"),Is=Symbol.for("v-txt"),Ce=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),Cn=[];let Ue=null;function Ke(e=!1){Cn.push(Ue=e?null:[])}function Eu(){Cn.pop(),Ue=Cn[Cn.length-1]||null}let In=1;function Ro(e,t=!1){In+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function jl(e){return e.dynamicChildren=In>0?Ue||Yt:null,Eu(),In>0&&Ue&&Ue.push(e),e}function kn(e,t,n,s,r,o){return jl(Fe(e,t,n,s,r,o,!0))}function nn(e,t,n,s,r){return jl(ge(e,t,n,s,r,!0))}function ys(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const Ul=({key:e})=>e??null,rs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||fe(e)||K(e)?{i:je,r:e,k:t,f:!!n}:e:null);function Fe(e,t=null,n=null,s=0,r=null,o=e===He?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ul(t),ref:t&&rs(t),scopeId:ll,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:je};return l?(Yr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=de(n)?8:16),In>0&&!i&&Ue&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ue.push(c),c}const ge=Ru;function Ru(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===_l)&&(e=Ce),ys(e)){const l=Pt(e,t,!0);return n&&Yr(l,n),In>0&&!o&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag=-2,l}if(Du(e)&&(e=e.__vccOpts),t){t=xu(t);let{class:l,style:c}=t;l&&!de(l)&&(t.class=un(l)),oe(c)&&(qr(c)&&!$(c)&&(c=ye({},c)),t.style=Cs(c))}const i=de(e)?1:Dl(e)?128:cl(e)?64:oe(e)?4:K(e)?2:0;return Fe(e,t,n,s,r,i,o,!0)}function xu(e){return e?qr(e)||Tl(e)?ye({},e):e:null}function Pt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Au(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ul(u),ref:t&&t.ref?n&&o?$(o)?o.concat(rs(t)):[o,rs(t)]:rs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Vt(a,c.clone(a)),a}function Cu(e=" ",t=0){return ge(Is,null,e,t)}function Tu(e="",t=!1){return t?(Ke(),nn(Ce,null,e)):ge(Ce,null,e)}function rt(e){return e==null||typeof e=="boolean"?ge(Ce):$(e)?ge(He,null,e.slice()):ys(e)?xt(e):ge(Is,null,String(e))}function xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function Yr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Yr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Tl(t)?t._ctx=je:r===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:je},n=32):(t=String(t),s&64?(n=16,t=[Cu(t)]):n=8);e.children=t,e.shapeFlag|=n}function Au(...e){const t={};for(let n=0;nve||je;let bs,_r;{const e=xs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};bs=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),_r=t("__VUE_SSR_SETTERS__",n=>Fn=n)}const Wn=e=>{const t=ve;return bs(e),e.scope.on(),()=>{e.scope.off(),bs(t)}},xo=()=>{ve&&ve.scope.off(),bs(null)};function $l(e){return e.vnode.shapeFlag&4}let Fn=!1;function Nu(e,t=!1,n=!1){t&&_r(t);const{props:s,children:r}=e.vnode,o=$l(e);nu(e,s,o,t),iu(e,r,n||t);const i=o?Mu(e,t):void 0;return t&&_r(!1),i}function Mu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,za);const{setup:s}=n;if(s){mt();const r=e.setupContext=s.length>1?ku(e):null,o=Wn(e),i=qn(s,e,0,[e.props,r]),l=Ai(i);if(gt(),o(),(l||e.sp)&&!En(e)&&pl(e),l){if(i.then(xo,xo),t)return i.then(c=>{Co(e,c)}).catch(c=>{As(c,e,0)});e.asyncDep=i}else Co(e,i)}else Bl(e)}function Co(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=tl(t)),Bl(e)}function Bl(e,t,n){const s=e.type;e.render||(e.render=s.render||ot);{const r=Wn(e);mt();try{Ja(e)}finally{gt(),r()}}}const Iu={get(e,t){return we(e,"get",""),e[t]}};function ku(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Iu),slots:e.slots,emit:e.emit,expose:t}}function Fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(tl(Kr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Rn)return Rn[n](e)},has(t,n){return n in t||n in Rn}})):e.proxy}function Fu(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Du(e){return K(e)&&"__vccOpts"in e}const De=(e,t)=>Aa(e,t,Fn);function sn(e,t,n){const s=arguments.length;return s===2?oe(t)&&!$(t)?ys(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ys(n)&&(n=[n]),ge(e,t,n))}const ju="3.5.18";/** -* @vue/runtime-dom v3.5.18 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let wr;const To=typeof window<"u"&&window.trustedTypes;if(To)try{wr=To.createPolicy("vue",{createHTML:e=>e})}catch{}const Hl=wr?e=>wr.createHTML(e):e=>e,Uu="http://www.w3.org/2000/svg",$u="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,Ao=ut&&ut.createElement("template"),Bu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ut.createElementNS(Uu,e):t==="mathml"?ut.createElementNS($u,e):n?ut.createElement(e,{is:n}):ut.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ao.innerHTML=Hl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Ao.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_t="transition",mn="animation",rn=Symbol("_vtc"),Vl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ql=ye({},ul,Vl),Hu=e=>(e.displayName="Transition",e.props=ql,e),Vu=Hu((e,{slots:t})=>sn(Fa,Kl(e),t)),It=(e,t=[])=>{$(e)?e.forEach(n=>n(...t)):e&&e(...t)},Oo=e=>e?$(e)?e.some(t=>t.length>1):e.length>1:!1;function Kl(e){const t={};for(const F in e)F in Vl||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:a=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=qu(r),_=y&&y[0],R=y&&y[1],{onBeforeEnter:A,onEnter:C,onEnterCancelled:P,onLeave:L,onLeaveCancelled:j,onBeforeAppear:Q=A,onAppear:z=C,onAppearCancelled:V=P}=t,M=(F,Y,pe,Ee)=>{F._enterCancelled=Ee,vt(F,Y?a:l),vt(F,Y?u:i),pe&&pe()},W=(F,Y)=>{F._isLeaving=!1,vt(F,f),vt(F,m),vt(F,p),Y&&Y()},ee=F=>(Y,pe)=>{const Ee=F?z:C,ie=()=>M(Y,F,pe);It(Ee,[Y,ie]),Po(()=>{vt(Y,F?c:o),nt(Y,F?a:l),Oo(Ee)||Lo(Y,s,_,ie)})};return ye(t,{onBeforeEnter(F){It(A,[F]),nt(F,o),nt(F,i)},onBeforeAppear(F){It(Q,[F]),nt(F,c),nt(F,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(F,Y){F._isLeaving=!0;const pe=()=>W(F,Y);nt(F,f),F._enterCancelled?(nt(F,p),vr()):(vr(),nt(F,p)),Po(()=>{F._isLeaving&&(vt(F,f),nt(F,m),Oo(L)||Lo(F,s,R,pe))}),It(L,[F,pe])},onEnterCancelled(F){M(F,!1,void 0,!0),It(P,[F])},onAppearCancelled(F){M(F,!0,void 0,!0),It(V,[F])},onLeaveCancelled(F){W(F),It(j,[F])}})}function qu(e){if(e==null)return null;if(oe(e))return[tr(e.enter),tr(e.leave)];{const t=tr(e);return[t,t]}}function tr(e){return Wc(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rn]||(e[rn]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[rn];n&&(n.delete(t),n.size||(e[rn]=void 0))}function Po(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ku=0;function Lo(e,t,n,s){const r=e._endId=++Ku,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Wl(e,t);if(!i)return s();const u=i+"end";let a=0;const f=()=>{e.removeEventListener(u,p),o()},p=m=>{m.target===e&&++a>=c&&f()};setTimeout(()=>{a(n[y]||"").split(", "),r=s(`${_t}Delay`),o=s(`${_t}Duration`),i=No(r,o),l=s(`${mn}Delay`),c=s(`${mn}Duration`),u=No(l,c);let a=null,f=0,p=0;t===_t?i>0&&(a=_t,f=i,p=o.length):t===mn?u>0&&(a=mn,f=u,p=c.length):(f=Math.max(i,u),a=f>0?i>u?_t:mn:null,p=a?a===_t?o.length:c.length:0);const m=a===_t&&/\b(transform|all)(,|$)/.test(s(`${_t}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:m}}function No(e,t){for(;e.lengthMo(n)+Mo(e[s])))}function Mo(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vr(){return document.body.offsetHeight}function Wu(e,t,n){const s=e[rn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Io=Symbol("_vod"),zu=Symbol("_vsh"),Ju=Symbol(""),Gu=/(^|;)\s*display\s*:/;function Qu(e,t,n){const s=e.style,r=de(n);let o=!1;if(n&&!r){if(t)if(de(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&os(s,l,"")}else for(const i in t)n[i]==null&&os(s,i,"");for(const i in n)i==="display"&&(o=!0),os(s,i,n[i])}else if(r){if(t!==n){const i=s[Ju];i&&(n+=";"+i),s.cssText=n,o=Gu.test(n)}}else t&&e.removeAttribute("style");Io in e&&(e[Io]=o?s.display:"",e[zu]&&(s.display="none"))}const ko=/\s*!important$/;function os(e,t,n){if($(n))n.forEach(s=>os(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Xu(e,t);ko.test(n)?e.setProperty(Lt(s),n.replace(ko,""),"important"):e[s]=n}}const Fo=["Webkit","Moz","ms"],nr={};function Xu(e,t){const n=nr[t];if(n)return n;let s=qe(t);if(s!=="filter"&&s in e)return nr[t]=s;s=Rs(s);for(let r=0;rsr||(tf.then(()=>sr=0),sr=Date.now());function sf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(rf(s,n.value),t,5,[s])};return n.value=e,n.attached=nf(),n}function rf(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ho=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,of=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Wu(e,s,i):t==="style"?Qu(e,n,s):Ss(t)?Ir(t)||Zu(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lf(e,t,s,i))?(Uo(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jo(e,t,s,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!de(s))?Uo(e,qe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jo(e,t,s,i))};function lf(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ho(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ho(t)&&de(n)?!1:t in e}const zl=new WeakMap,Jl=new WeakMap,_s=Symbol("_moveCb"),Vo=Symbol("_enterCb"),cf=e=>(delete e.props.mode,e),af=cf({name:"TransitionGroup",props:ye({},ql,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ks(),s=al();let r,o;return gl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!pf(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(ff),r.forEach(df);const l=r.filter(hf);vr(),l.forEach(c=>{const u=c.el,a=u.style;nt(u,i),a.transform=a.webkitTransform=a.transitionDuration="";const f=u[_s]=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",f),u[_s]=null,vt(u,i))};u.addEventListener("transitionend",f)}),r=[]}),()=>{const i=X(e),l=Kl(i);let c=i.tag||He;if(r=[],o)for(let u=0;u{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Wl(s);return o.removeChild(s),i}const on=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>ss(t,n):t};function mf(e){e.target.composing=!0}function qo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pt=Symbol("_assign"),Kp={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[pt]=on(r);const o=s||r.props&&r.props.type==="number";Tt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=as(l)),e[pt](l)}),n&&Tt(e,"change",()=>{e.value=e.value.trim()}),t||(Tt(e,"compositionstart",mf),Tt(e,"compositionend",qo),Tt(e,"change",qo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[pt]=on(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?as(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Wp={deep:!0,created(e,t,n){e[pt]=on(n),Tt(e,"change",()=>{const s=e._modelValue,r=Dn(e),o=e.checked,i=e[pt];if($(s)){const l=Dr(s,r),c=l!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const u=[...s];u.splice(l,1),i(u)}}else if(an(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Gl(e,o))})},mounted:Ko,beforeUpdate(e,t,n){e[pt]=on(n),Ko(e,t,n)}};function Ko(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if($(t))r=Dr(t,s.props.value)>-1;else if(an(t))r=t.has(s.props.value);else{if(t===n)return;r=Hn(t,Gl(e,!0))}e.checked!==r&&(e.checked=r)}const zp={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=an(t);Tt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?as(Dn(i)):Dn(i));e[pt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Os(()=>{e._assigning=!1})}),e[pt]=on(s)},mounted(e,{value:t}){Wo(e,t)},beforeUpdate(e,t,n){e[pt]=on(n)},updated(e,{value:t}){e._assigning||Wo(e,t)}};function Wo(e,t){const n=e.multiple,s=$(t);if(!(n&&!s&&!an(t))){for(let r=0,o=e.options.length;rString(u)===String(l)):i.selected=Dr(t,l)>-1}else i.selected=t.has(l);else if(Hn(Dn(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Dn(e){return"_value"in e?e._value:e.value}function Gl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const gf=["ctrl","shift","alt","meta"],yf={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>gf.some(n=>e[`${n}Key`]&&!t.includes(n))},Jp=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=Lt(r.key);if(t.some(i=>i===o||bf[i]===o))return e(r)})},_f=ye({patchProp:of},Bu);let zo;function wf(){return zo||(zo=cu(_f))}const vf=(...e)=>{const t=wf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ef(s);if(!r)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Sf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Sf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ef(e){return de(e)?document.querySelector(e):e}/*! - * pinia v3.0.3 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let Ql;const Ds=e=>Ql=e,Xl=Symbol();function Sr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Tn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Tn||(Tn={}));function Rf(){const e=Fi(!0),t=e.run(()=>tn({}));let n=[],s=[];const r=Kr({install(o){Ds(r),r._a=o,o.provide(Xl,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Yl=()=>{};function Jo(e,t,n,s=Yl){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Di()&&ea(r),r}function Gt(e,...t){e.slice().forEach(n=>{n(...t)})}const xf=e=>e(),Go=Symbol(),rr=Symbol();function Er(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Sr(r)&&Sr(s)&&e.hasOwnProperty(n)&&!fe(s)&&!ht(s)?e[n]=Er(r,s):e[n]=s}return e}const Cf=Symbol();function Tf(e){return!Sr(e)||!Object.prototype.hasOwnProperty.call(e,Cf)}const{assign:St}=Object;function Af(e){return!!(fe(e)&&e.effect)}function Of(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function u(){l||(n.state.value[e]=r?r():{});const a=Ea(n.state.value[e]);return St(a,o,Object.keys(i||{}).reduce((f,p)=>(f[p]=Kr(De(()=>{Ds(n);const m=n._s.get(e);return i[p].call(m,m)})),f),{}))}return c=Zl(e,u,t,n,s,!0),c}function Zl(e,t,n={},s,r,o){let i;const l=St({actions:{}},n),c={deep:!0};let u,a,f=[],p=[],m;const y=s.state.value[e];!o&&!y&&(s.state.value[e]={}),tn({});let _;function R(V){let M;u=a=!1,typeof V=="function"?(V(s.state.value[e]),M={type:Tn.patchFunction,storeId:e,events:m}):(Er(s.state.value[e],V),M={type:Tn.patchObject,payload:V,storeId:e,events:m});const W=_=Symbol();Os().then(()=>{_===W&&(u=!0)}),a=!0,Gt(f,M,s.state.value[e])}const A=o?function(){const{state:M}=n,W=M?M():{};this.$patch(ee=>{St(ee,W)})}:Yl;function C(){i.stop(),f=[],p=[],s._s.delete(e)}const P=(V,M="")=>{if(Go in V)return V[rr]=M,V;const W=function(){Ds(s);const ee=Array.from(arguments),F=[],Y=[];function pe(G){F.push(G)}function Ee(G){Y.push(G)}Gt(p,{args:ee,name:W[rr],store:j,after:pe,onError:Ee});let ie;try{ie=V.apply(this&&this.$id===e?this:j,ee)}catch(G){throw Gt(Y,G),G}return ie instanceof Promise?ie.then(G=>(Gt(F,G),G)).catch(G=>(Gt(Y,G),Promise.reject(G))):(Gt(F,ie),ie)};return W[Go]=!0,W[rr]=M,W},L={_p:s,$id:e,$onAction:Jo.bind(null,p),$patch:R,$reset:A,$subscribe(V,M={}){const W=Jo(f,V,M.detached,()=>ee()),ee=i.run(()=>xn(()=>s.state.value[e],F=>{(M.flush==="sync"?a:u)&&V({storeId:e,type:Tn.direct,events:m},F)},St({},c,M)));return W},$dispose:C},j=Vn(L);s._s.set(e,j);const z=(s._a&&s._a.runWithContext||xf)(()=>s._e.run(()=>(i=Fi()).run(()=>t({action:P}))));for(const V in z){const M=z[V];if(fe(M)&&!Af(M)||ht(M))o||(y&&Tf(M)&&(fe(M)?M.value=y[V]:Er(M,y[V])),s.state.value[e][V]=M);else if(typeof M=="function"){const W=P(M,V);z[V]=W,l.actions[V]=M}}return St(j,z),St(X(j),z),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:V=>{R(M=>{St(M,V)})}}),s._p.forEach(V=>{St(j,i.run(()=>V({store:j,app:s._a,pinia:s,options:l})))}),y&&o&&n.hydrate&&n.hydrate(j.$state,y),u=!0,a=!0,j}/*! #__NO_SIDE_EFFECTS__ */function Pf(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(i,l){const c=tu();return i=i||(c?Le(Xl,null):null),i&&Ds(i),i=Ql,i._s.has(e)||(r?Zl(e,t,s,i):Of(e,s,i)),i._s.get(e)}return o.$id=e,o}function Lf(e){const t=X(e),n={};for(const s in t){const r=t[s];r.effect?n[s]=De({get:()=>e[s],set(o){e[s]=o}}):(fe(r)||ht(r))&&(n[s]=Ca(e,s))}return n}/*! - * vue-router v4.5.1 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */const Xt=typeof document<"u";function ec(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nf(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ec(e.default)}const ne=Object.assign;function or(e,t){const n={};for(const s in t){const r=t[s];n[s]=Je(r)?r.map(e):e(r)}return n}const An=()=>{},Je=Array.isArray,tc=/#/g,Mf=/&/g,If=/\//g,kf=/=/g,Ff=/\?/g,nc=/\+/g,Df=/%5B/g,jf=/%5D/g,sc=/%5E/g,Uf=/%60/g,rc=/%7B/g,$f=/%7C/g,oc=/%7D/g,Bf=/%20/g;function Zr(e){return encodeURI(""+e).replace($f,"|").replace(Df,"[").replace(jf,"]")}function Hf(e){return Zr(e).replace(rc,"{").replace(oc,"}").replace(sc,"^")}function Rr(e){return Zr(e).replace(nc,"%2B").replace(Bf,"+").replace(tc,"%23").replace(Mf,"%26").replace(Uf,"`").replace(rc,"{").replace(oc,"}").replace(sc,"^")}function Vf(e){return Rr(e).replace(kf,"%3D")}function qf(e){return Zr(e).replace(tc,"%23").replace(Ff,"%3F")}function Kf(e){return e==null?"":qf(e).replace(If,"%2F")}function jn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Wf=/\/$/,zf=e=>e.replace(Wf,"");function ir(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Xf(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:jn(i)}}function Jf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Gf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&ln(t.matched[s],n.matched[r])&&ic(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ic(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qf(e[n],t[n]))return!1;return!0}function Qf(e,t){return Je(e)?Xo(e,t):Je(t)?Xo(t,e):e===t}function Xo(e,t){return Je(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Xf(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Un;(function(e){e.pop="pop",e.push="push"})(Un||(Un={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function Yf(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zf(e)}const Zf=/^[^#]+#/;function ed(e,t){return e.replace(Zf,"#")+t}function td(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const js=()=>({left:window.scrollX,top:window.scrollY});function nd(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=td(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Yo(e,t){return(history.state?history.state.position-t:-1)+e}const xr=new Map;function sd(e,t){xr.set(e,t)}function rd(e){const t=xr.get(e);return xr.delete(e),t}let od=()=>location.protocol+"//"+location.host;function lc(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Qo(c,"")}return Qo(n,e)+s+r}function id(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=lc(e,location),y=n.value,_=t.value;let R=0;if(p){if(n.value=m,t.value=p,i&&i===y){i=null;return}R=_?p.position-_.position:0}else s(m);r.forEach(A=>{A(n.value,y,{delta:R,type:Un.pop,direction:R?R>0?On.forward:On.back:On.unknown})})};function c(){i=n.value}function u(p){r.push(p);const m=()=>{const y=r.indexOf(p);y>-1&&r.splice(y,1)};return o.push(m),m}function a(){const{history:p}=window;p.state&&p.replaceState(ne({},p.state,{scroll:js()}),"")}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a,{passive:!0}),{pauseListeners:c,listen:u,destroy:f}}function Zo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?js():null}}function ld(e){const{history:t,location:n}=window,s={value:lc(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,u,a){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:od()+e+c;try{t[a?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){console.error(m),n[a?"replace":"assign"](p)}}function i(c,u){const a=ne({},t.state,Zo(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,u){const a=ne({},r.value,t.state,{forward:c,scroll:js()});o(a.current,a,!0);const f=ne({},Zo(s.value,c,null),{position:a.position+1},u);o(c,f,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function cd(e){e=Yf(e);const t=ld(e),n=id(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:ed.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ad(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),cd(e)}function ud(e){return typeof e=="string"||e&&typeof e=="object"}function cc(e){return typeof e=="string"||typeof e=="symbol"}const ac=Symbol("");var ei;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ei||(ei={}));function cn(e,t){return ne(new Error,{type:e,[ac]:!0},t)}function at(e,t){return e instanceof Error&&ac in e&&(t==null||!!(e.type&t))}const ti="[^/]+?",fd={sensitive:!1,strict:!1,start:!0,end:!0},dd=/[.+*?^${}()[\]/\\]/g;function hd(e,t){const n=ne({},fd,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const a=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function uc(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const md={type:0,value:""},gd=/[a-zA-Z0-9_]/;function yd(e){if(!e)return[[]];if(e==="/")return[[md]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,u="",a="";function f(){u&&(n===0?o.push({type:0,value:u}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l{i(P)}:An}function i(f){if(cc(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){const p=Sd(f,n);n.splice(p,0,f),f.record.name&&!oi(f)&&s.set(f.record.name,f)}function u(f,p){let m,y={},_,R;if("name"in f&&f.name){if(m=s.get(f.name),!m)throw cn(1,{location:f});R=m.record.name,y=ne(si(p.params,m.keys.filter(P=>!P.optional).concat(m.parent?m.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),f.params&&si(f.params,m.keys.map(P=>P.name))),_=m.stringify(y)}else if(f.path!=null)_=f.path,m=n.find(P=>P.re.test(_)),m&&(y=m.parse(_),R=m.record.name);else{if(m=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!m)throw cn(1,{location:f,currentLocation:p});R=m.record.name,y=ne({},p.params,f.params),_=m.stringify(y)}const A=[];let C=m;for(;C;)A.unshift(C.record),C=C.parent;return{name:R,path:_,params:y,matched:A,meta:vd(A)}}e.forEach(f=>o(f));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function si(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ri(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:wd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function wd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function oi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vd(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function ii(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Sd(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;uc(e,t[o])<0?s=o:n=o+1}const r=Ed(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ed(e){let t=e;for(;t=t.parent;)if(fc(t)&&uc(e,t)===0)return t}function fc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Rd(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Rr(o)):[s&&Rr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function xd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Je(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Cd=Symbol(""),ci=Symbol(""),Us=Symbol(""),eo=Symbol(""),Cr=Symbol("");function gn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ct(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const u=p=>{p===!1?c(cn(4,{from:n,to:t})):p instanceof Error?c(p):ud(p)?c(cn(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},a=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(a);e.length<3&&(f=f.then(u)),f.catch(p=>c(p))})}function lr(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ec(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Ct(a,n,s,i,l,r))}else{let u=c();o.push(()=>u.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Nf(a)?a.default:a;i.mods[l]=a,i.components[l]=f;const m=(f.__vccOpts||f)[t];return m&&Ct(m,n,s,i,l,r)()}))}}return o}function ai(e){const t=Le(Us),n=Le(eo),s=De(()=>{const c=Pe(e.to);return t.resolve(c)}),r=De(()=>{const{matched:c}=s.value,{length:u}=c,a=c[u-1],f=n.matched;if(!a||!f.length)return-1;const p=f.findIndex(ln.bind(null,a));if(p>-1)return p;const m=ui(c[u-2]);return u>1&&ui(a)===m&&f[f.length-1].path!==m?f.findIndex(ln.bind(null,c[u-2])):p}),o=De(()=>r.value>-1&&Ld(n.params,s.value.params)),i=De(()=>r.value>-1&&r.value===n.matched.length-1&&ic(n.params,s.value.params));function l(c={}){if(Pd(c)){const u=t[Pe(e.replace)?"replace":"push"](Pe(e.to)).catch(An);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:De(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Td(e){return e.length===1?e[0]:e}const Ad=Kn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:ai,setup(e,{slots:t}){const n=Vn(ai(e)),{options:s}=Le(Us),r=De(()=>({[fi(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[fi(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Td(t.default(n));return e.custom?o:sn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Od=Ad;function Pd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ld(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Je(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function ui(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fi=(e,t,n)=>e??t??n,Nd=Kn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Le(Cr),r=De(()=>e.route||s.value),o=Le(ci,0),i=De(()=>{let u=Pe(o);const{matched:a}=r.value;let f;for(;(f=a[u])&&!f.components;)u++;return u}),l=De(()=>r.value.matched[i.value]);Bt(ci,De(()=>i.value+1)),Bt(Cd,l),Bt(Cr,r);const c=tn();return xn(()=>[c.value,l.value,e.name],([u,a,f],[p,m,y])=>{a&&(a.instances[f]=u,m&&m!==a&&u&&u===p&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),u&&a&&(!m||!ln(a,m)||!p)&&(a.enterCallbacks[f]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=r.value,a=e.name,f=l.value,p=f&&f.components[a];if(!p)return di(n.default,{Component:p,route:u});const m=f.props[a],y=m?m===!0?u.params:typeof m=="function"?m(u):m:null,R=sn(p,ne({},y,t,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(f.instances[a]=null)},ref:c}));return di(n.default,{Component:R,route:u})||R}}});function di(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const dc=Nd;function Md(e){const t=_d(e.routes,e),n=e.parseQuery||Rd,s=e.stringifyQuery||li,r=e.history,o=gn(),i=gn(),l=gn(),c=wa(wt);let u=wt;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=or.bind(null,v=>""+v),f=or.bind(null,Kf),p=or.bind(null,jn);function m(v,D){let I,U;return cc(v)?(I=t.getRecordMatcher(v),U=D):U=v,t.addRoute(U,I)}function y(v){const D=t.getRecordMatcher(v);D&&t.removeRoute(D)}function _(){return t.getRoutes().map(v=>v.record)}function R(v){return!!t.getRecordMatcher(v)}function A(v,D){if(D=ne({},D||c.value),typeof v=="string"){const g=ir(n,v,D.path),w=t.resolve({path:g.path},D),E=r.createHref(g.fullPath);return ne(g,w,{params:p(w.params),hash:jn(g.hash),redirectedFrom:void 0,href:E})}let I;if(v.path!=null)I=ne({},v,{path:ir(n,v.path,D.path).path});else{const g=ne({},v.params);for(const w in g)g[w]==null&&delete g[w];I=ne({},v,{params:f(g)}),D.params=f(D.params)}const U=t.resolve(I,D),le=v.hash||"";U.params=a(p(U.params));const d=Jf(s,ne({},v,{hash:Hf(le),path:U.path})),h=r.createHref(d);return ne({fullPath:d,hash:le,query:s===li?xd(v.query):v.query||{}},U,{redirectedFrom:void 0,href:h})}function C(v){return typeof v=="string"?ir(n,v,c.value.path):ne({},v)}function P(v,D){if(u!==v)return cn(8,{from:D,to:v})}function L(v){return z(v)}function j(v){return L(ne(C(v),{replace:!0}))}function Q(v){const D=v.matched[v.matched.length-1];if(D&&D.redirect){const{redirect:I}=D;let U=typeof I=="function"?I(v):I;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=C(U):{path:U},U.params={}),ne({query:v.query,hash:v.hash,params:U.path!=null?{}:v.params},U)}}function z(v,D){const I=u=A(v),U=c.value,le=v.state,d=v.force,h=v.replace===!0,g=Q(I);if(g)return z(ne(C(g),{state:typeof g=="object"?ne({},le,g.state):le,force:d,replace:h}),D||I);const w=I;w.redirectedFrom=D;let E;return!d&&Gf(s,U,I)&&(E=cn(16,{to:w,from:U}),Qe(U,U,!0,!1)),(E?Promise.resolve(E):W(w,U)).catch(S=>at(S)?at(S,2)?S:bt(S):te(S,w,U)).then(S=>{if(S){if(at(S,2))return z(ne({replace:h},C(S.to),{state:typeof S.to=="object"?ne({},le,S.to.state):le,force:d}),D||w)}else S=F(w,U,!0,h,le);return ee(w,U,S),S})}function V(v,D){const I=P(v,D);return I?Promise.reject(I):Promise.resolve()}function M(v){const D=zt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(v):v()}function W(v,D){let I;const[U,le,d]=Id(v,D);I=lr(U.reverse(),"beforeRouteLeave",v,D);for(const g of U)g.leaveGuards.forEach(w=>{I.push(Ct(w,v,D))});const h=V.bind(null,v,D);return I.push(h),$e(I).then(()=>{I=[];for(const g of o.list())I.push(Ct(g,v,D));return I.push(h),$e(I)}).then(()=>{I=lr(le,"beforeRouteUpdate",v,D);for(const g of le)g.updateGuards.forEach(w=>{I.push(Ct(w,v,D))});return I.push(h),$e(I)}).then(()=>{I=[];for(const g of d)if(g.beforeEnter)if(Je(g.beforeEnter))for(const w of g.beforeEnter)I.push(Ct(w,v,D));else I.push(Ct(g.beforeEnter,v,D));return I.push(h),$e(I)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),I=lr(d,"beforeRouteEnter",v,D,M),I.push(h),$e(I))).then(()=>{I=[];for(const g of i.list())I.push(Ct(g,v,D));return I.push(h),$e(I)}).catch(g=>at(g,8)?g:Promise.reject(g))}function ee(v,D,I){l.list().forEach(U=>M(()=>U(v,D,I)))}function F(v,D,I,U,le){const d=P(v,D);if(d)return d;const h=D===wt,g=Xt?history.state:{};I&&(U||h?r.replace(v.fullPath,ne({scroll:h&&g&&g.scroll},le)):r.push(v.fullPath,le)),c.value=v,Qe(v,D,I,h),bt()}let Y;function pe(){Y||(Y=r.listen((v,D,I)=>{if(!Xn.listening)return;const U=A(v),le=Q(U);if(le){z(ne(le,{replace:!0,force:!0}),U).catch(An);return}u=U;const d=c.value;Xt&&sd(Yo(d.fullPath,I.delta),js()),W(U,d).catch(h=>at(h,12)?h:at(h,2)?(z(ne(C(h.to),{force:!0}),U).then(g=>{at(g,20)&&!I.delta&&I.type===Un.pop&&r.go(-1,!1)}).catch(An),Promise.reject()):(I.delta&&r.go(-I.delta,!1),te(h,U,d))).then(h=>{h=h||F(U,d,!1),h&&(I.delta&&!at(h,8)?r.go(-I.delta,!1):I.type===Un.pop&&at(h,20)&&r.go(-1,!1)),ee(U,d,h)}).catch(An)}))}let Ee=gn(),ie=gn(),G;function te(v,D,I){bt(v);const U=ie.list();return U.length?U.forEach(le=>le(v,D,I)):console.error(v),Promise.reject(v)}function lt(){return G&&c.value!==wt?Promise.resolve():new Promise((v,D)=>{Ee.add([v,D])})}function bt(v){return G||(G=!v,pe(),Ee.list().forEach(([D,I])=>v?I(v):D()),Ee.reset()),v}function Qe(v,D,I,U){const{scrollBehavior:le}=e;if(!Xt||!le)return Promise.resolve();const d=!I&&rd(Yo(v.fullPath,0))||(U||!I)&&history.state&&history.state.scroll||null;return Os().then(()=>le(v,D,d)).then(h=>h&&nd(h)).catch(h=>te(h,v,D))}const Te=v=>r.go(v);let Wt;const zt=new Set,Xn={currentRoute:c,listening:!0,addRoute:m,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:R,getRoutes:_,resolve:A,options:e,push:L,replace:j,go:Te,back:()=>Te(-1),forward:()=>Te(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ie.add,isReady:lt,install(v){const D=this;v.component("RouterLink",Od),v.component("RouterView",dc),v.config.globalProperties.$router=D,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>Pe(c)}),Xt&&!Wt&&c.value===wt&&(Wt=!0,L(r.location).catch(le=>{}));const I={};for(const le in wt)Object.defineProperty(I,le,{get:()=>c.value[le],enumerable:!0});v.provide(Us,D),v.provide(eo,Yi(I)),v.provide(Cr,c);const U=v.unmount;zt.add(v),v.unmount=function(){zt.delete(v),zt.size<1&&(u=wt,Y&&Y(),Y=null,c.value=wt,Wt=!1,G=!1),U()}}};function $e(v){return v.reduce((D,I)=>D.then(()=>M(I)),Promise.resolve())}return Xn}function Id(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iln(u,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(u=>ln(u,c))||r.push(c))}return[n,s,r]}function kd(){return Le(Us)}function Qp(e){return Le(eo)}/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const hi=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fd=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase()),Dd=e=>{const t=Fd(e);return t.charAt(0).toUpperCase()+t.slice(1)},jd=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var ns={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ud=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:s,iconNode:r,name:o,class:i,...l},{slots:c})=>sn("svg",{...ns,width:e||ns.width,height:e||ns.height,stroke:s||ns.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:jd("lucide",...o?[`lucide-${hi(Dd(o))}-icon`,`lucide-${hi(o)}`]:["lucide-icon"]),...l},[...r.map(u=>sn(...u)),...c.default?[c.default()]:[]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Kt=(e,t)=>(n,{slots:s})=>sn(Ud,{...n,iconNode:t,name:e},s);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const $d=Kt("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Bd=Kt("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Hd=Kt("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Vd=Kt("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"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const qd=Kt("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"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Kd=Kt("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** - * @license lucide-vue-next v0.535.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Wd=Kt("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),zd=Kn({__name:"ThemeToggle",setup(e){const t=Le("isDarkMode"),n=Le("setColorMode"),s=()=>{n(!t.value)};return(r,o)=>(Ke(),kn("button",{onClick:s,class:un(["fixed top-4 right-4 z-10 p-2 rounded-full transition-all duration-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transform hover:rotate-180",Pe(t)?"bg-gray-800 text-yellow-300":"bg-white text-gray-800"])},[Pe(t)?(Ke(),nn(Pe(Vd),{key:1,class:"w-6 h-6"})):(Ke(),nn(Pe(qd),{key:0,class:"w-6 h-6"}))],2))}}),Xp={ADMIN_PASSWORD:"adminPassword",TOKEN:"token"},Yp={IDLE:"idle",UPLOADING:"uploading",SUCCESS:"success",ERROR:"error"},hc={ALERT_DURATION:5e3,REQUEST_TIMEOUT:3e4},pc=Pf("alert",{state:()=>({alerts:[]}),actions:{showAlert(e,t="info",n=hc.ALERT_DURATION){const s=Date.now(),r=Date.now();this.alerts.push({id:s,message:e,type:t,progress:100,duration:n,startTime:r}),setTimeout(()=>this.removeAlert(s),n)},removeAlert(e){const t=this.alerts.findIndex(n=>n.id===e);t>-1&&this.alerts.splice(t,1)},updateAlertProgress(e){const t=this.alerts.find(n=>n.id===e);if(t){const s=100-(Date.now()-t.startTime)/t.duration*100;t.progress=Math.max(0,s),t.progress<=0&&this.removeAlert(e)}}}}),Jd={class:"p-4"},Gd={class:"flex items-start"},Qd={class:"flex-shrink-0"},Xd={class:"ml-3 flex-1 pt-0.5"},Yd={class:"text-sm font-medium text-white"},Zd={class:"ml-4 flex-shrink-0 flex"},eh=["onClick"],th={class:"h-1 bg-white bg-opacity-25"},nh=Kn({__name:"AlertComponent",setup(e){const t=pc(),{alerts:n}=Lf(t),{removeAlert:s,updateAlertProgress:r}=t,o={success:"from-green-500 to-green-600",error:"from-red-500 to-red-600",warning:"from-yellow-500 to-yellow-600",info:"from-blue-500 to-blue-600"},i={success:Bd,error:Kd,warning:$d,info:Hd};let l;return Ns(()=>{l=setInterval(()=>{n.value.forEach(c=>{r(c.id)})},100)}),Jr(()=>{clearInterval(l)}),(c,u)=>(Ke(),nn(uf,{name:"alert-fade",tag:"div",class:"fixed top-4 left-4 z-50 w-full sm:max-w-sm md:max-w-md space-y-4 px-4 sm:px-0"},{default:ms(()=>[(Ke(!0),kn(He,null,Wa(Pe(n),a=>(Ke(),kn("div",{key:a.id,class:un(["w-full rounded-lg shadow-xl overflow-hidden","bg-gradient-to-r",o[a.type]])},[Fe("div",Jd,[Fe("div",Gd,[Fe("div",Qd,[(Ke(),nn(wl(i[a.type]),{class:"h-6 w-6 text-white"}))]),Fe("div",Xd,[Fe("p",Yd,Mi(a.message),1)]),Fe("div",Zd,[Fe("button",{onClick:f=>Pe(s)(a.id),class:"inline-flex text-white hover:text-gray-200 focus:outline-none transition-colors duration-200"},[u[0]||(u[0]=Fe("span",{class:"sr-only"},"关闭",-1)),ge(Pe(Wd),{class:"h-5 w-5"})],8,eh)])])]),Fe("div",th,[Fe("div",{class:"h-full bg-white transition-all duration-100 ease-out",style:Cs({width:`${a.progress}%`})},null,4)])],2))),128))]),_:1}))}}),sh=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},rh=sh(nh,[["__scopeId","data-v-c49ea12b"]]);function mc(e,t){return function(){return e.apply(t,arguments)}}const{toString:oh}=Object.prototype,{getPrototypeOf:to}=Object,{iterator:$s,toStringTag:gc}=Symbol,Bs=(e=>t=>{const n=oh.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ge=e=>(e=e.toLowerCase(),t=>Bs(t)===e),Hs=e=>t=>typeof t===e,{isArray:fn}=Array,$n=Hs("undefined");function zn(e){return e!==null&&!$n(e)&&e.constructor!==null&&!$n(e.constructor)&&Ne(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const yc=Ge("ArrayBuffer");function ih(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&yc(e.buffer),t}const lh=Hs("string"),Ne=Hs("function"),bc=Hs("number"),Jn=e=>e!==null&&typeof e=="object",ch=e=>e===!0||e===!1,is=e=>{if(Bs(e)!=="object")return!1;const t=to(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(gc in e)&&!($s in e)},ah=e=>{if(!Jn(e)||zn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},uh=Ge("Date"),fh=Ge("File"),dh=Ge("Blob"),hh=Ge("FileList"),ph=e=>Jn(e)&&Ne(e.pipe),mh=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ne(e.append)&&((t=Bs(e))==="formdata"||t==="object"&&Ne(e.toString)&&e.toString()==="[object FormData]"))},gh=Ge("URLSearchParams"),[yh,bh,_h,wh]=["ReadableStream","Request","Response","Headers"].map(Ge),vh=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),fn(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const jt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wc=e=>!$n(e)&&e!==jt;function Tr(){const{caseless:e}=wc(this)&&this||{},t={},n=(s,r)=>{const o=e&&_c(t,r)||r;is(t[o])&&is(s)?t[o]=Tr(t[o],s):is(s)?t[o]=Tr({},s):fn(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s(Gn(t,(r,o)=>{n&&Ne(r)?e[o]=mc(r,n):e[o]=r},{allOwnKeys:s}),e),Eh=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Rh=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},xh=(e,t,n,s)=>{let r,o,i;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&to(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ch=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Th=e=>{if(!e)return null;if(fn(e))return e;let t=e.length;if(!bc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ah=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&to(Uint8Array)),Oh=(e,t)=>{const s=(e&&e[$s]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Ph=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Lh=Ge("HTMLFormElement"),Nh=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),pi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Mh=Ge("RegExp"),vc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Gn(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},Ih=e=>{vc(e,(t,n)=>{if(Ne(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ne(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},kh=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return fn(e)?s(e):s(String(e).split(t)),n},Fh=()=>{},Dh=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function jh(e){return!!(e&&Ne(e.append)&&e[gc]==="FormData"&&e[$s])}const Uh=e=>{const t=new Array(10),n=(s,r)=>{if(Jn(s)){if(t.indexOf(s)>=0)return;if(zn(s))return s;if(!("toJSON"in s)){t[r]=s;const o=fn(s)?[]:{};return Gn(s,(i,l)=>{const c=n(i,r+1);!$n(c)&&(o[l]=c)}),t[r]=void 0,o}}return s};return n(e,0)},$h=Ge("AsyncFunction"),Bh=e=>e&&(Jn(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Sc=((e,t)=>e?setImmediate:t?((n,s)=>(jt.addEventListener("message",({source:r,data:o})=>{r===jt&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),jt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ne(jt.postMessage)),Hh=typeof queueMicrotask<"u"?queueMicrotask.bind(jt):typeof process<"u"&&process.nextTick||Sc,Vh=e=>e!=null&&Ne(e[$s]),b={isArray:fn,isArrayBuffer:yc,isBuffer:zn,isFormData:mh,isArrayBufferView:ih,isString:lh,isNumber:bc,isBoolean:ch,isObject:Jn,isPlainObject:is,isEmptyObject:ah,isReadableStream:yh,isRequest:bh,isResponse:_h,isHeaders:wh,isUndefined:$n,isDate:uh,isFile:fh,isBlob:dh,isRegExp:Mh,isFunction:Ne,isStream:ph,isURLSearchParams:gh,isTypedArray:Ah,isFileList:hh,forEach:Gn,merge:Tr,extend:Sh,trim:vh,stripBOM:Eh,inherits:Rh,toFlatObject:xh,kindOf:Bs,kindOfTest:Ge,endsWith:Ch,toArray:Th,forEachEntry:Oh,matchAll:Ph,isHTMLForm:Lh,hasOwnProperty:pi,hasOwnProp:pi,reduceDescriptors:vc,freezeMethods:Ih,toObjectSet:kh,toCamelCase:Nh,noop:Fh,toFiniteNumber:Dh,findKey:_c,global:jt,isContextDefined:wc,isSpecCompliantForm:jh,toJSONObject:Uh,isAsyncFn:$h,isThenable:Bh,setImmediate:Sc,asap:Hh,isIterable:Vh};function J(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}b.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.status}}});const Ec=J.prototype,Rc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Rc[e]={value:e}});Object.defineProperties(J,Rc);Object.defineProperty(Ec,"isAxiosError",{value:!0});J.from=(e,t,n,s,r,o)=>{const i=Object.create(Ec);return b.toFlatObject(e,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),J.call(i,e.message,t,n,s,r),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const qh=null;function Ar(e){return b.isPlainObject(e)||b.isArray(e)}function xc(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function mi(e,t,n){return e?e.concat(t).map(function(r,o){return r=xc(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Kh(e){return b.isArray(e)&&!e.some(Ar)}const Wh=b.toFlatObject(b,{},null,function(t){return/^is[A-Z]/.test(t)});function Vs(e,t,n){if(!b.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,R){return!b.isUndefined(R[_])});const s=n.metaTokens,r=n.visitor||a,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(t);if(!b.isFunction(r))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(b.isDate(y))return y.toISOString();if(b.isBoolean(y))return y.toString();if(!c&&b.isBlob(y))throw new J("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(y)||b.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function a(y,_,R){let A=y;if(y&&!R&&typeof y=="object"){if(b.endsWith(_,"{}"))_=s?_:_.slice(0,-2),y=JSON.stringify(y);else if(b.isArray(y)&&Kh(y)||(b.isFileList(y)||b.endsWith(_,"[]"))&&(A=b.toArray(y)))return _=xc(_),A.forEach(function(P,L){!(b.isUndefined(P)||P===null)&&t.append(i===!0?mi([_],L,o):i===null?_:_+"[]",u(P))}),!1}return Ar(y)?!0:(t.append(mi(R,_,o),u(y)),!1)}const f=[],p=Object.assign(Wh,{defaultVisitor:a,convertValue:u,isVisitable:Ar});function m(y,_){if(!b.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(y),b.forEach(y,function(A,C){(!(b.isUndefined(A)||A===null)&&r.call(t,A,b.isString(C)?C.trim():C,_,p))===!0&&m(A,_?_.concat(C):[C])}),f.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return m(e),t}function gi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function no(e,t){this._pairs=[],e&&Vs(e,this,t)}const Cc=no.prototype;Cc.append=function(t,n){this._pairs.push([t,n])};Cc.toString=function(t){const n=t?function(s){return t.call(this,s,gi)}:gi;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function zh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tc(e,t,n){if(!t)return e;const s=n&&n.encode||zh;b.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=b.isURLSearchParams(t)?t.toString():new no(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class yi{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){b.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ac={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Jh=typeof URLSearchParams<"u"?URLSearchParams:no,Gh=typeof FormData<"u"?FormData:null,Qh=typeof Blob<"u"?Blob:null,Xh={isBrowser:!0,classes:{URLSearchParams:Jh,FormData:Gh,Blob:Qh},protocols:["http","https","file","blob","url","data"]},so=typeof window<"u"&&typeof document<"u",Or=typeof navigator=="object"&&navigator||void 0,Yh=so&&(!Or||["ReactNative","NativeScript","NS"].indexOf(Or.product)<0),Zh=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ep=so&&window.location.href||"http://localhost",tp=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:so,hasStandardBrowserEnv:Yh,hasStandardBrowserWebWorkerEnv:Zh,navigator:Or,origin:ep},Symbol.toStringTag,{value:"Module"})),Se={...tp,...Xh};function np(e,t){return Vs(e,new Se.classes.URLSearchParams,{visitor:function(n,s,r,o){return Se.isNode&&b.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function sp(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function rp(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s=n.length;return i=!i&&b.isArray(r)?r.length:i,c?(b.hasOwnProp(r,i)?r[i]=[r[i],s]:r[i]=s,!l):((!r[i]||!b.isObject(r[i]))&&(r[i]=[]),t(n,s,r[i],o)&&b.isArray(r[i])&&(r[i]=rp(r[i])),!l)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(s,r)=>{t(sp(s),r,n,0)}),n}return null}function op(e,t,n){if(b.isString(e))try{return(t||JSON.parse)(e),b.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Qn={transitional:Ac,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=b.isObject(t);if(o&&b.isHTMLForm(t)&&(t=new FormData(t)),b.isFormData(t))return r?JSON.stringify(Oc(t)):t;if(b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t)||b.isReadableStream(t))return t;if(b.isArrayBufferView(t))return t.buffer;if(b.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return np(t,this.formSerializer).toString();if((l=b.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Vs(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),op(t)):t}],transformResponse:[function(t){const n=this.transitional||Qn.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(b.isResponse(t)||b.isReadableStream(t))return t;if(t&&b.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?J.from(l,J.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],e=>{Qn.headers[e]={}});const ip=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),lp=e=>{const t={};let n,s,r;return e&&e.split(` -`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&ip[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},bi=Symbol("internals");function yn(e){return e&&String(e).trim().toLowerCase()}function ls(e){return e===!1||e==null?e:b.isArray(e)?e.map(ls):String(e)}function cp(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const ap=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function cr(e,t,n,s,r){if(b.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!b.isString(t)){if(b.isString(s))return t.indexOf(s)!==-1;if(b.isRegExp(s))return s.test(t)}}function up(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function fp(e,t){const n=b.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let Me=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,c,u){const a=yn(c);if(!a)throw new Error("header name must be a non-empty string");const f=b.findKey(r,a);(!f||r[f]===void 0||u===!0||u===void 0&&r[f]!==!1)&&(r[f||c]=ls(l))}const i=(l,c)=>b.forEach(l,(u,a)=>o(u,a,c));if(b.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(b.isString(t)&&(t=t.trim())&&!ap(t))i(lp(t),n);else if(b.isObject(t)&&b.isIterable(t)){let l={},c,u;for(const a of t){if(!b.isArray(a))throw TypeError("Object iterator must return a key-value pair");l[u=a[0]]=(c=l[u])?b.isArray(c)?[...c,a[1]]:[c,a[1]]:a[1]}i(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=yn(t),t){const s=b.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return cp(r);if(b.isFunction(n))return n.call(this,r,s);if(b.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=yn(t),t){const s=b.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||cr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=yn(i),i){const l=b.findKey(s,i);l&&(!n||cr(s,s[l],l,n))&&(delete s[l],r=!0)}}return b.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||cr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return b.forEach(this,(r,o)=>{const i=b.findKey(s,o);if(i){n[i]=ls(r),delete n[o];return}const l=t?up(o):String(o).trim();l!==o&&delete n[o],n[l]=ls(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return b.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&b.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[bi]=this[bi]={accessors:{}}).accessors,r=this.prototype;function o(i){const l=yn(i);s[l]||(fp(r,i),s[l]=!0)}return b.isArray(t)?t.forEach(o):o(t),this}};Me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.reduceDescriptors(Me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});b.freezeMethods(Me);function ar(e,t){const n=this||Qn,s=t||n,r=Me.from(s.headers);let o=s.data;return b.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Pc(e){return!!(e&&e.__CANCEL__)}function dn(e,t,n){J.call(this,e??"canceled",J.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(dn,J,{__CANCEL__:!0});function Lc(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dp(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hp(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),a=s[o];i||(i=u),n[r]=c,s[r]=u;let f=o,p=0;for(;f!==r;)p+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i{n=a,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const a=Date.now(),f=a-n;f>=s?i(u,a):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-f)))},()=>r&&i(r)]}const ws=(e,t,n=3)=>{let s=0;const r=hp(50,250);return pp(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-s,u=r(c),a=i<=l;s=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&a?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},_i=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},wi=e=>(...t)=>b.asap(()=>e(...t)),mp=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,gp=Se.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const i=[e+"="+encodeURIComponent(t)];b.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),b.isString(s)&&i.push("path="+s),b.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function yp(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bp(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nc(e,t,n){let s=!yp(t);return e&&(s||n==!1)?bp(e,t):t}const vi=e=>e instanceof Me?{...e}:e;function qt(e,t){t=t||{};const n={};function s(u,a,f,p){return b.isPlainObject(u)&&b.isPlainObject(a)?b.merge.call({caseless:p},u,a):b.isPlainObject(a)?b.merge({},a):b.isArray(a)?a.slice():a}function r(u,a,f,p){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u,f,p)}else return s(u,a,f,p)}function o(u,a){if(!b.isUndefined(a))return s(void 0,a)}function i(u,a){if(b.isUndefined(a)){if(!b.isUndefined(u))return s(void 0,u)}else return s(void 0,a)}function l(u,a,f){if(f in t)return s(u,a);if(f in e)return s(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,a,f)=>r(vi(u),vi(a),f,!0)};return b.forEach(Object.keys({...e,...t}),function(a){const f=c[a]||r,p=f(e[a],t[a],a);b.isUndefined(p)&&f!==l||(n[a]=p)}),n}const Mc=e=>{const t=qt({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:l}=t;t.headers=i=Me.from(i),t.url=Tc(Nc(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(b.isFormData(n)){if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...a]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...a].join("; "))}}if(Se.hasStandardBrowserEnv&&(s&&b.isFunction(s)&&(s=s(t)),s||s!==!1&&mp(t.url))){const u=r&&o&&gp.read(o);u&&i.set(r,u)}return t},_p=typeof XMLHttpRequest<"u",wp=_p&&function(e){return new Promise(function(n,s){const r=Mc(e);let o=r.data;const i=Me.from(r.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=r,a,f,p,m,y;function _(){m&&m(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let R=new XMLHttpRequest;R.open(r.method.toUpperCase(),r.url,!0),R.timeout=r.timeout;function A(){if(!R)return;const P=Me.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),j={data:!l||l==="text"||l==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:P,config:e,request:R};Lc(function(z){n(z),_()},function(z){s(z),_()},j),R=null}"onloadend"in R?R.onloadend=A:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.indexOf("file:")===0)||setTimeout(A)},R.onabort=function(){R&&(s(new J("Request aborted",J.ECONNABORTED,e,R)),R=null)},R.onerror=function(){s(new J("Network Error",J.ERR_NETWORK,e,R)),R=null},R.ontimeout=function(){let L=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const j=r.transitional||Ac;r.timeoutErrorMessage&&(L=r.timeoutErrorMessage),s(new J(L,j.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,R)),R=null},o===void 0&&i.setContentType(null),"setRequestHeader"in R&&b.forEach(i.toJSON(),function(L,j){R.setRequestHeader(j,L)}),b.isUndefined(r.withCredentials)||(R.withCredentials=!!r.withCredentials),l&&l!=="json"&&(R.responseType=r.responseType),u&&([p,y]=ws(u,!0),R.addEventListener("progress",p)),c&&R.upload&&([f,m]=ws(c),R.upload.addEventListener("progress",f),R.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(a=P=>{R&&(s(!P||P.type?new dn(null,e,R):P),R.abort(),R=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const C=dp(r.url);if(C&&Se.protocols.indexOf(C)===-1){s(new J("Unsupported protocol "+C+":",J.ERR_BAD_REQUEST,e));return}R.send(o||null)})},vp=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(u){if(!r){r=!0,l();const a=u instanceof Error?u:this.reason;s.abort(a instanceof J?a:new dn(a instanceof Error?a.message:a))}};let i=t&&setTimeout(()=>{i=null,o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=s;return c.unsubscribe=()=>b.asap(l),c}},Sp=function*(e,t){let n=e.byteLength;if(n{const r=Ep(e,t);let o=0,i,l=c=>{i||(i=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:u,value:a}=await r.next();if(u){l(),c.close();return}let f=a.byteLength;if(n){let p=o+=f;n(p)}c.enqueue(new Uint8Array(a))}catch(u){throw l(u),u}},cancel(c){return l(c),r.return()}},{highWaterMark:2})},qs=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ic=qs&&typeof ReadableStream=="function",xp=qs&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),kc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Cp=Ic&&kc(()=>{let e=!1;const t=new Request(Se.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ei=64*1024,Pr=Ic&&kc(()=>b.isReadableStream(new Response("").body)),vs={stream:Pr&&(e=>e.body)};qs&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!vs[t]&&(vs[t]=b.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new J(`Response type '${t}' is not supported`,J.ERR_NOT_SUPPORT,s)})})})(new Response);const Tp=async e=>{if(e==null)return 0;if(b.isBlob(e))return e.size;if(b.isSpecCompliantForm(e))return(await new Request(Se.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(b.isArrayBufferView(e)||b.isArrayBuffer(e))return e.byteLength;if(b.isURLSearchParams(e)&&(e=e+""),b.isString(e))return(await xp(e)).byteLength},Ap=async(e,t)=>{const n=b.toFiniteNumber(e.getContentLength());return n??Tp(t)},Op=qs&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:a,withCredentials:f="same-origin",fetchOptions:p}=Mc(e);u=u?(u+"").toLowerCase():"text";let m=vp([r,o&&o.toAbortSignal()],i),y;const _=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let R;try{if(c&&Cp&&n!=="get"&&n!=="head"&&(R=await Ap(a,s))!==0){let j=new Request(t,{method:"POST",body:s,duplex:"half"}),Q;if(b.isFormData(s)&&(Q=j.headers.get("content-type"))&&a.setContentType(Q),j.body){const[z,V]=_i(R,ws(wi(c)));s=Si(j.body,Ei,z,V)}}b.isString(f)||(f=f?"include":"omit");const A="credentials"in Request.prototype;y=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:a.normalize().toJSON(),body:s,duplex:"half",credentials:A?f:void 0});let C=await fetch(y,p);const P=Pr&&(u==="stream"||u==="response");if(Pr&&(l||P&&_)){const j={};["status","statusText","headers"].forEach(M=>{j[M]=C[M]});const Q=b.toFiniteNumber(C.headers.get("content-length")),[z,V]=l&&_i(Q,ws(wi(l),!0))||[];C=new Response(Si(C.body,Ei,z,()=>{V&&V(),_&&_()}),j)}u=u||"text";let L=await vs[b.findKey(vs,u)||"text"](C,e);return!P&&_&&_(),await new Promise((j,Q)=>{Lc(j,Q,{data:L,headers:Me.from(C.headers),status:C.status,statusText:C.statusText,config:e,request:y})})}catch(A){throw _&&_(),A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,e,y),{cause:A.cause||A}):J.from(A,A&&A.code,e,y)}}),Lr={http:qh,xhr:wp,fetch:Op};b.forEach(Lr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ri=e=>`- ${e}`,Pp=e=>b.isFunction(e)||e===null||e===!1,Fc={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(Ri).join(` -`):" "+Ri(o[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Lr};function ur(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dn(null,e)}function xi(e){return ur(e),e.headers=Me.from(e.headers),e.data=ar.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fc.getAdapter(e.adapter||Qn.adapter)(e).then(function(s){return ur(e),s.data=ar.call(e,e.transformResponse,s),s.headers=Me.from(s.headers),s},function(s){return Pc(s)||(ur(e),s&&s.response&&(s.response.data=ar.call(e,e.transformResponse,s.response),s.response.headers=Me.from(s.response.headers))),Promise.reject(s)})}const Dc="1.11.0",Ks={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ks[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Ci={};Ks.transitional=function(t,n,s){function r(o,i){return"[Axios v"+Dc+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,l)=>{if(t===!1)throw new J(r(i," has been removed"+(n?" in "+n:"")),J.ERR_DEPRECATED);return n&&!Ci[i]&&(Ci[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};Ks.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function Lp(e,t,n){if(typeof e!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new J("option "+o+" must be "+c,J.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}}const cs={assertOptions:Lp,validators:Ks},tt=cs.validators;let Ht=class{constructor(t){this.defaults=t||{},this.interceptors={request:new yi,response:new yi}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=` -`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=qt(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&cs.assertOptions(s,{silentJSONParsing:tt.transitional(tt.boolean),forcedJSONParsing:tt.transitional(tt.boolean),clarifyTimeoutError:tt.transitional(tt.boolean)},!1),r!=null&&(b.isFunction(r)?n.paramsSerializer={serialize:r}:cs.assertOptions(r,{encode:tt.function,serialize:tt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),cs.assertOptions(n,{baseUrl:tt.spelling("baseURL"),withXsrfToken:tt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],y=>{delete o[y]}),n.headers=Me.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(c=c&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let a,f=0,p;if(!c){const y=[xi.bind(this),void 0];for(y.unshift(...l),y.push(...u),p=y.length,a=Promise.resolve(n);f{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(l=>{s.subscribe(l),o=l}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,l){s.reason||(s.reason=new dn(o,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new jc(function(r){t=r}),cancel:t}}};function Mp(e){return function(n){return e.apply(null,n)}}function Ip(e){return b.isObject(e)&&e.isAxiosError===!0}const Nr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Nr).forEach(([e,t])=>{Nr[t]=e});function Uc(e){const t=new Ht(e),n=mc(Ht.prototype.request,t);return b.extend(n,Ht.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Uc(qt(e,r))},n}const he=Uc(Qn);he.Axios=Ht;he.CanceledError=dn;he.CancelToken=Np;he.isCancel=Pc;he.VERSION=Dc;he.toFormData=Vs;he.AxiosError=J;he.Cancel=he.CanceledError;he.all=function(t){return Promise.all(t)};he.spread=Mp;he.isAxiosError=Ip;he.mergeConfig=qt;he.AxiosHeaders=Me;he.formToJSON=e=>Oc(b.isHTMLForm(e)?new FormData(e):e);he.getAdapter=Fc.getAdapter;he.HttpStatusCode=Nr;he.default=he;const{Axios:tm,AxiosError:nm,CanceledError:sm,isCancel:rm,CancelToken:om,VERSION:im,all:lm,Cancel:cm,isAxiosError:am,spread:um,toFormData:fm,AxiosHeaders:dm,HttpStatusCode:hm,formToJSON:pm,getAdapter:mm,mergeConfig:gm}=he,kp="",$c=kp,me=he.create({baseURL:$c,timeout:hc.REQUEST_TIMEOUT,headers:{"Content-Type":"application/json"}});me.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.url&&!e.url.startsWith("http")&&(e.url=`${$c}/${e.url.replace(/^\//,"")}`),e},e=>Promise.reject(e));me.interceptors.response.use(e=>e.data,e=>{if(e.response){const{status:t}=e.response;switch(t){case 401:localStorage.removeItem("token"),window.location.hash!=="#/login"&&(window.location.href="/#/login");break}}else e.request;return Promise.reject(e)});class Fp{static async getConfig(){return me.get("/admin/config/get")}static async getUserConfig(){return me.post("/")}static async updateConfig(t){return me.patch("/admin/config/update",t)}}class ym{static async uploadFile(t,n){const s=new FormData;return s.append("file",t),me.post("/share/file/",s,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:r=>{if(n&&r.total){const o={loaded:r.loaded,total:r.total,percentage:Math.round(r.loaded*100/r.total)};n(o)}}})}static async uploadText(t){return me.post("/share/text/",{content:t})}static async getFile(t){return me.get(`/file/${t}`)}static async downloadFile(t){return(await me.get(`/download/${t}`,{responseType:"blob"})).data}static async deleteFile(t){return me.post("/admin/file/delete",{id:t})}static async getFileList(t=1,n=10){return me.get("/admin/file/list",{params:{page:t,size:n}})}static async getAdminFileList(t){return me.get("/admin/file/list",{params:t})}static async updateFile(t){return me.post("/admin/file/update",t)}static async deleteAdminFile(t){return me.delete("/admin/file/delete",{data:{id:t}})}static async downloadAdminFile(t){return me.get("/admin/file/download",{params:{id:t},responseType:"blob"})}}class bm{static async login(t){return me.post("/admin/login",{password:t})}static async logout(){return me.post("/admin/logout")}static async verifyToken(){return me.get("/admin/verify")}}class _m{static async getDashboardStats(){return me.get("/admin/dashboard")}static async getDashboard(){return me.get("/admin/dashboard")}}const Dp={key:0,class:"loading-overlay"},jp=Kn({__name:"App",setup(e){const t=tn(!1),n=tn(!1),s=kd(),r=pc(),o=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,i=()=>{const c=localStorage.getItem("colorMode");return c?c==="dark":null},l=c=>{t.value=c,localStorage.setItem("colorMode",c?"dark":"light")};return Ns(()=>{const c=i();l(c!==null?c:o()),Fp.getUserConfig().then(u=>{u.code===200&&u.detail&&(localStorage.setItem("config",JSON.stringify(u.detail)),u.detail.notify_title&&u.detail.notify_content&&localStorage.getItem("notify")!==u.detail.notify_title+u.detail.notify_content&&(localStorage.setItem("notify",u.detail.notify_title+u.detail.notify_content),r.showAlert(u.detail.notify_title+": "+u.detail.notify_content,"success")))})}),pu(()=>{document.documentElement.classList.toggle("dark",t.value)}),s.beforeEach((c,u,a)=>{n.value=!0,a()}),s.afterEach(()=>{setTimeout(()=>{n.value=!1},200)}),Bt("isDarkMode",t),Bt("setColorMode",l),Bt("isLoading",n),(c,u)=>(Ke(),kn("div",{class:un(["app-container",t.value?"dark":"light"])},[ge(zd,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=a=>t.value=a)},null,8,["modelValue"]),n.value?(Ke(),kn("div",Dp,u[1]||(u[1]=[Fe("div",{class:"loading-spinner"},null,-1)]))):Tu("",!0),ge(Pe(dc),null,{default:ms(({Component:a})=>[ge(Vu,{name:"fade",mode:"out-in"},{default:ms(()=>[(Ke(),nn(wl(a),{key:c.$route.fullPath}))]),_:2},1024)]),_:1}),ge(rh)],2))}}),Up="modulepreload",$p=function(e){return"/"+e},Ti={},Ft=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=i?.nonce||i?.getAttribute("nonce");r=c(n.map(u=>{if(u=$p(u),u in Ti)return;Ti[u]=!0;const a=u.endsWith(".css"),f=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=a?"stylesheet":Up,a||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),a)return new Promise((m,y)=>{p.addEventListener("load",m),p.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Bp=()=>Ft(()=>import("./SendFileView-0AP69Sbg.js"),__vite__mapDeps([0,1,2,3,4])),Hp=Md({history:ad("/"),routes:[{path:"/",name:"Retrieve",component:()=>Ft(()=>import("./RetrievewFileView-BsjeRxMF.js"),__vite__mapDeps([5,1,6,2,7,3,8]))},{path:"/send",name:"Send",component:Bp},{path:"/admin",name:"Manage",component:()=>Ft(()=>import("./AdminLayout-D5CLgSUV.js"),__vite__mapDeps([9,6,10])),redirect:"/admin/dashboard",children:[{path:"/admin/dashboard",name:"Dashboard",component:()=>Ft(()=>import("./DashboardView-BLN6_eZt.js"),__vite__mapDeps([11,2,7]))},{path:"/admin/files",name:"FileManage",component:()=>Ft(()=>import("./FileManageView-Rc6CCZED.js"),__vite__mapDeps([12,2,3,13]))},{path:"/admin/settings",name:"Settings",component:()=>Ft(()=>import("./SystemSettingsView-Dp5VRHCL.js"),[])}]},{path:"/login",name:"Login",component:()=>Ft(()=>import("./LoginView-BE933Oxi.js"),__vite__mapDeps([14,6,15]))}]}),ro=vf(jp);ro.use(Rf());ro.use(Hp);ro.mount("#app");export{kd as A,me as B,Lf as C,Qp as D,sn as E,He as F,gl as G,Pf as H,Jr as I,nn as J,wl as K,Vn as L,Gp as M,ym as N,Fp as O,Wp as P,Xp as Q,bm as R,_m as S,Vu as T,Yp as U,Wd as X,sh as _,kn as a,Fe as b,Kt as c,Kn as d,Ke as e,De as f,ge as g,Pe as h,Le as i,Jp as j,ms as k,Tu as l,Vp as m,un as n,Ns as o,zp as p,Cs as q,tn as r,Wa as s,Mi as t,pc as u,Kp as v,xn as w,Cu as x,qp as y,uf as z}; diff --git a/themes/2024/assets/index-BQT7CCpA.js b/themes/2024/assets/index-BQT7CCpA.js new file mode 100644 index 0000000..8d5bb5f --- /dev/null +++ b/themes/2024/assets/index-BQT7CCpA.js @@ -0,0 +1,114 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SendFileView-BoEy45cq.js","assets/PageHeader-D2CW9nSY.js","assets/box-DhNypZwK.js","assets/PageHeader-DV4PCTwD.css","assets/file-C3_XlMB5.js","assets/trash-DFHGA4Wo.js","assets/SendFileView-CEwL3Upl.css","assets/RetrievewFileView-Bz_9iHJX.js","assets/hard-drive-DPx3Jtjb.js","assets/RetrievewFileView-pLqL6j5e.css","assets/AdminLayout-B2sEbNJ3.js","assets/AdminLayout-nlp_lohe.css","assets/DashboardView-q8iNpHgp.js","assets/FileManageView-DcCyX2aA.js","assets/FileManageView-DrjnVkAt.css","assets/LoginView-BTZd0llH.js","assets/LoginView-CbGDZtny.css"])))=>i.map(i=>d[i]); +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();/** +* @vue/shared v3.5.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Yo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},Wn=[],kt=()=>{},Ol=()=>!1,vs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zo=e=>e.startsWith("onUpdate:"),xe=Object.assign,Xo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nf=Object.prototype.hasOwnProperty,me=(e,t)=>Nf.call(e,t),J=Array.isArray,Vn=e=>Fr(e)==="[object Map]",Qn=e=>Fr(e)==="[object Set]",Ri=e=>Fr(e)==="[object Date]",ne=e=>typeof e=="function",Re=e=>typeof e=="string",Et=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Nl=e=>(pe(e)||ne(e))&&ne(e.then)&&ne(e.catch),Al=Object.prototype.toString,Fr=e=>Al.call(e),Af=e=>Fr(e).slice(8,-1),Il=e=>Fr(e)==="[object Object]",Jo=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ur=Yo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ss=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},If=/-\w/g,pt=Ss(e=>e.replace(If,t=>t.slice(1).toUpperCase())),kf=/\B([A-Z])/g,gn=Ss(e=>e.replace(kf,"-$1").toLowerCase()),ws=Ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ys=Ss(e=>e?`on${ws(e)}`:""),cn=(e,t)=>!Object.is(e,t),Zr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},is=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xf=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let Oi;const Ts=()=>Oi||(Oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cs(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(Mf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function At(e){let t="";if(Re(e))t=e;else if(J(e))for(let n=0;nMr(n,t))}const Fl=e=>!!(e&&e.__v_isRef===!0),br=e=>Re(e)?e:e==null?"":J(e)||pe(e)&&(e.toString===Al||!ne(e.toString))?Fl(e)?br(e.value):JSON.stringify(e,Ml,2):String(e),Ml=(e,t)=>Fl(t)?Ml(e,t.value):Vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[zs(r,o)+" =>"]=s,n),{})}:Qn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>zs(n))}:Et(t)?zs(t):pe(t)&&!J(t)&&!Il(t)?String(t):t,zs=(e,t="")=>{var n;return Et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Ke;class Dl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(Ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(dr){let t=dr;for(dr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;fr;){let t=fr;for(fr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Wl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vl(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ni(r),Vf(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function yo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Er)||(e.globalVersion=Er,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yo(e))))return;e.flags|=2;const t=e.dep,n=be,r=bt;be=e,bt=!0;try{Wl(e);const s=e.fn(e._value);(t.version===0||cn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{be=n,bt=r,Vl(e),e.flags&=-3}}function ni(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)ni(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Vf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let bt=!0;const Kl=[];function qt(){Kl.push(bt),bt=!1}function Yt(){const e=Kl.pop();bt=e===void 0?!0:e}function Ni(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let Er=0;class jf{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ri{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!be||!bt||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new jf(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Gl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=r)}return n}trigger(t){this.version++,Er++,this.notify(t)}notify(t){ei();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ti()}}}function Gl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Gl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const as=new WeakMap,Nn=Symbol(""),bo=Symbol(""),vr=Symbol("");function Ge(e,t,n){if(bt&&be){let r=as.get(e);r||as.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ri),s.map=r,s.key=n),s.track()}}function Ht(e,t,n,r,s,o){const i=as.get(e);if(!i){Er++;return}const a=l=>{l&&l.trigger()};if(ei(),t==="clear")i.forEach(a);else{const l=J(e),c=l&&Jo(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,d)=>{(d==="length"||d===vr||!Et(d)&&d>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(vr)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Nn)),Vn(e)&&a(i.get(bo)));break;case"delete":l||(a(i.get(Nn)),Vn(e)&&a(i.get(bo)));break;case"set":Vn(e)&&a(i.get(Nn));break}}ti()}function Kf(e,t){const n=as.get(e);return n&&n.get(t)}function Mn(e){const t=ce(e);return t===e?t:(Ge(t,"iterate",vr),ht(e)?t:t.map(He))}function Ls(e){return Ge(e=ce(e),"iterate",vr),e}const Gf={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,He)},concat(...e){return Mn(this).concat(...e.map(t=>J(t)?Mn(t):t))},entries(){return Js(this,"entries",e=>(e[1]=He(e[1]),e))},every(e,t){return Ft(this,"every",e,t,void 0,arguments)},filter(e,t){return Ft(this,"filter",e,t,n=>n.map(He),arguments)},find(e,t){return Ft(this,"find",e,t,He,arguments)},findIndex(e,t){return Ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ft(this,"findLast",e,t,He,arguments)},findLastIndex(e,t){return Ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qs(this,"includes",e)},indexOf(...e){return Qs(this,"indexOf",e)},join(e){return Mn(this).join(e)},lastIndexOf(...e){return Qs(this,"lastIndexOf",e)},map(e,t){return Ft(this,"map",e,t,void 0,arguments)},pop(){return sr(this,"pop")},push(...e){return sr(this,"push",e)},reduce(e,...t){return Ai(this,"reduce",e,t)},reduceRight(e,...t){return Ai(this,"reduceRight",e,t)},shift(){return sr(this,"shift")},some(e,t){return Ft(this,"some",e,t,void 0,arguments)},splice(...e){return sr(this,"splice",e)},toReversed(){return Mn(this).toReversed()},toSorted(e){return Mn(this).toSorted(e)},toSpliced(...e){return Mn(this).toSpliced(...e)},unshift(...e){return sr(this,"unshift",e)},values(){return Js(this,"values",He)}};function Js(e,t,n){const r=Ls(e),s=r[t]();return r!==e&&!ht(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const qf=Array.prototype;function Ft(e,t,n,r,s,o){const i=Ls(e),a=i!==e&&!ht(e),l=i[t];if(l!==qf[t]){const f=l.apply(e,o);return a?He(f):f}let c=n;i!==e&&(a?c=function(f,d){return n.call(this,He(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,c,r);return a&&s?s(u):u}function Ai(e,t,n,r){const s=Ls(e);let o=n;return s!==e&&(ht(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,He(a),l,e)}),s[t](o,...r)}function Qs(e,t,n){const r=ce(e);Ge(r,"iterate",vr);const s=r[t](...n);return(s===-1||s===!1)&&ii(n[0])?(n[0]=ce(n[0]),r[t](...n)):s}function sr(e,t,n=[]){qt(),ei();const r=ce(e)[t].apply(e,n);return ti(),Yt(),r}const Yf=Yo("__proto__,__v_isRef,__isVue"),ql=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Et));function zf(e){Et(e)||(e=String(e));const t=ce(this);return Ge(t,"has",e),t.hasOwnProperty(e)}class Yl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?od:Ql:o?Jl:Xl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=J(t);if(!s){let l;if(i&&(l=Gf[n]))return l;if(n==="hasOwnProperty")return zf}const a=Reflect.get(t,n,we(t)?t:r);return(Et(n)?ql.has(n):Yf(n))||(s||Ge(t,"get",n),o)?a:we(a)?i&&Jo(n)?a:a.value:pe(a)?s?ec(a):Dr(a):a}}class zl extends Yl{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=fn(o);if(!ht(r)&&!fn(r)&&(o=ce(o),r=ce(r)),!J(t)&&we(o)&&!we(r))return l||(o.value=r),!0}const i=J(t)&&Jo(n)?Number(n)e,Gr=e=>Reflect.getPrototypeOf(e);function ed(e,t,n){return function(...r){const s=this.__v_raw,o=ce(s),i=Vn(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?Eo:t?ls:He;return!t&&Ge(o,"iterate",l?bo:Nn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function qr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function td(e,t){const n={get(s){const o=this.__v_raw,i=ce(o),a=ce(s);e||(cn(s,a)&&Ge(i,"get",s),Ge(i,"get",a));const{has:l}=Gr(i),c=t?Eo:e?ls:He;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ge(ce(s),"iterate",Nn),s.size},has(s){const o=this.__v_raw,i=ce(o),a=ce(s);return e||(cn(s,a)&&Ge(i,"has",s),Ge(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=ce(a),c=t?Eo:e?ls:He;return!e&&Ge(l,"iterate",Nn),a.forEach((u,f)=>s.call(o,c(u),c(f),i))}};return xe(n,e?{add:qr("add"),set:qr("set"),delete:qr("delete"),clear:qr("clear")}:{add(s){!t&&!ht(s)&&!fn(s)&&(s=ce(s));const o=ce(this);return Gr(o).has.call(o,s)||(o.add(s),Ht(o,"add",s,s)),this},set(s,o){!t&&!ht(o)&&!fn(o)&&(o=ce(o));const i=ce(this),{has:a,get:l}=Gr(i);let c=a.call(i,s);c||(s=ce(s),c=a.call(i,s));const u=l.call(i,s);return i.set(s,o),c?cn(o,u)&&Ht(i,"set",s,o):Ht(i,"add",s,o),this},delete(s){const o=ce(this),{has:i,get:a}=Gr(o);let l=i.call(o,s);l||(s=ce(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&Ht(o,"delete",s,void 0),c},clear(){const s=ce(this),o=s.size!==0,i=s.clear();return o&&Ht(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=ed(s,e,t)}),n}function si(e,t){const n=td(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(me(n,s)&&s in r?n:r,s,o)}const nd={get:si(!1,!1)},rd={get:si(!1,!0)},sd={get:si(!0,!1)};const Xl=new WeakMap,Jl=new WeakMap,Ql=new WeakMap,od=new WeakMap;function id(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ad(e){return e.__v_skip||!Object.isExtensible(e)?0:id(Af(e))}function Dr(e){return fn(e)?e:oi(e,!1,Jf,nd,Xl)}function Zl(e){return oi(e,!1,Zf,rd,Jl)}function ec(e){return oi(e,!0,Qf,sd,Ql)}function oi(e,t,n,r,s){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=ad(e);if(o===0)return e;const i=s.get(e);if(i)return i;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function Kt(e){return fn(e)?Kt(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function ht(e){return!!(e&&e.__v_isShallow)}function ii(e){return e?!!e.__v_raw:!1}function ce(e){const t=e&&e.__v_raw;return t?ce(t):e}function ai(e){return!me(e,"__v_skip")&&Object.isExtensible(e)&&kl(e,"__v_skip",!0),e}const He=e=>pe(e)?Dr(e):e,ls=e=>pe(e)?ec(e):e;function we(e){return e?e.__v_isRef===!0:!1}function st(e){return tc(e,!1)}function li(e){return tc(e,!0)}function tc(e,t){return we(e)?e:new ld(e,t)}class ld{constructor(t,n){this.dep=new ri,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ce(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ht(t)||fn(t);t=r?t:ce(t),cn(t,n)&&(this._rawValue=t,this._value=r?t:He(t),this.dep.trigger())}}function ve(e){return we(e)?e.value:e}const cd={get:(e,t,n)=>t==="__v_raw"?e:ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return we(s)&&!we(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function nc(e){return Kt(e)?e:new Proxy(e,cd)}function ud(e){const t=J(e)?new Array(e.length):{};for(const n in e)t[n]=rc(e,n);return t}class fd{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kf(ce(this._object),this._key)}}class dd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function md(e,t,n){return we(e)?e:ne(e)?new dd(e):pe(e)&&arguments.length>1?rc(e,t,n):st(e)}function rc(e,t,n){const r=e[t];return we(r)?r:new fd(e,t,n)}class hd{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ri(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Er-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Hl(this,!0),!0}get value(){const t=this.dep.track();return jl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pd(e,t,n=!1){let r,s;return ne(e)?r=e:(r=e.get,s=e.set),new hd(r,s,n)}const Yr={},cs=new WeakMap;let Ln;function gd(e,t=!1,n=Ln){if(n){let r=cs.get(n);r||cs.set(n,r=[]),r.push(e)}}function _d(e,t,n=ge){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=v=>s?v:ht(v)||s===!1||s===0?Wt(v,1):Wt(v);let u,f,d,p,E=!1,S=!1;if(we(e)?(f=()=>e.value,E=ht(e)):Kt(e)?(f=()=>c(e),E=!0):J(e)?(S=!0,E=e.some(v=>Kt(v)||ht(v)),f=()=>e.map(v=>{if(we(v))return v.value;if(Kt(v))return c(v);if(ne(v))return l?l(v,2):v()})):ne(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){qt();try{d()}finally{Yt()}}const v=Ln;Ln=u;try{return l?l(e,3,[p]):e(p)}finally{Ln=v}}:f=kt,t&&s){const v=f,L=s===!0?1/0:s;f=()=>Wt(v(),L)}const w=Ul(),O=()=>{u.stop(),w&&w.active&&Xo(w.effects,u)};if(o&&t){const v=t;t=(...L)=>{v(...L),O()}}let k=S?new Array(e.length).fill(Yr):Yr;const b=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(t){const L=u.run();if(s||E||(S?L.some((N,M)=>cn(N,k[M])):cn(L,k))){d&&d();const N=Ln;Ln=u;try{const M=[L,k===Yr?void 0:S&&k[0]===Yr?[]:k,p];k=L,l?l(t,3,M):t(...M)}finally{Ln=N}}}else u.run()};return a&&a(b),u=new $l(f),u.scheduler=i?()=>i(b,!1):b,p=v=>gd(v,!1,u),d=u.onStop=()=>{const v=cs.get(u);if(v){if(l)l(v,4);else for(const L of v)L();cs.delete(u)}},t?r?b(!0):k=u.run():i?i(b.bind(null,!0),!0):u.run(),O.pause=u.pause.bind(u),O.resume=u.resume.bind(u),O.stop=O,O}function Wt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,we(e))Wt(e.value,t,n);else if(J(e))for(let r=0;r{Wt(r,t,n)});else if(Il(e)){for(const r in e)Wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wt(e[r],t,n)}return e}/** +* @vue/runtime-core v3.5.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Ur(e,t,n,r){try{return r?e(...r):e()}catch(s){Ps(s,t,n)}}function vt(e,t,n,r){if(ne(e)){const s=Ur(e,t,n,r);return s&&Nl(s)&&s.catch(o=>{Ps(o,t,n)}),s}if(J(e)){const s=[];for(let o=0;o>>1,s=tt[r],o=Sr(s);o=Sr(n)?tt.push(e):tt.splice(bd(t),0,e),e.flags|=1,oc()}}function oc(){us||(us=sc.then(ac))}function Ed(e){J(e)?jn.push(...e):sn&&e.id===-1?sn.splice(Un+1,0,e):e.flags&1||(jn.push(e),e.flags|=1),oc()}function Ii(e,t,n=Ot+1){for(;nSr(n)-Sr(r));if(jn.length=0,sn){sn.push(...t);return}for(sn=t,Un=0;Une.id==null?e.flags&2?-1:1/0:e.id;function ac(e){try{for(Ot=0;Ot{r._d&&hs(-1);const o=fs(t);let i;try{i=e(...s)}finally{fs(o),r._d&&hs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function zb(e,t){if(We===null)return e;const n=Is(We),r=e.dirs||(e.dirs=[]);for(let s=0;se.__isTeleport,Bt=Symbol("_leaveCb"),zr=Symbol("_enterCb");function uc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zn(()=>{e.isMounted=!0}),bc(()=>{e.isUnmounting=!0}),e}const dt=[Function,Array],fc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dt,onEnter:dt,onAfterEnter:dt,onEnterCancelled:dt,onBeforeLeave:dt,onLeave:dt,onAfterLeave:dt,onLeaveCancelled:dt,onBeforeAppear:dt,onAppear:dt,onAfterAppear:dt,onAppearCancelled:dt},dc=e=>{const t=e.subTree;return t.component?dc(t.component):t},Sd={name:"BaseTransition",props:fc,setup(e,{slots:t}){const n=zt(),r=uc();return()=>{const s=t.default&&ui(t.default(),!0);if(!s||!s.length)return;const o=mc(s),i=ce(e),{mode:a}=i;if(r.isLeaving)return Zs(o);const l=ki(o);if(!l)return Zs(o);let c=Tr(l,i,r,n,f=>c=f);l.type!==qe&&xn(l,c);let u=n.subTree&&ki(n.subTree);if(u&&u.type!==qe&&!Rn(u,l)&&dc(n).type!==qe){let f=Tr(u,i,r,n);if(xn(u,f),a==="out-in"&&l.type!==qe)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Zs(o);a==="in-out"&&l.type!==qe?f.delayLeave=(d,p,E)=>{const S=hc(r,u);S[String(u.key)]=u,d[Bt]=()=>{p(),d[Bt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{E(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function mc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==qe){t=n;break}}return t}const wd=Sd;function hc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Tr(e,t,n,r,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:E,onLeaveCancelled:S,onBeforeAppear:w,onAppear:O,onAfterAppear:k,onAppearCancelled:b}=t,v=String(e.key),L=hc(n,e),N=(R,Y)=>{R&&vt(R,r,9,Y)},M=(R,Y)=>{const ee=Y[1];N(R,Y),J(R)?R.every(B=>B.length<=1)&&ee():R.length<=1&&ee()},$={mode:i,persisted:a,beforeEnter(R){let Y=l;if(!n.isMounted)if(o)Y=w||l;else return;R[Bt]&&R[Bt](!0);const ee=L[v];ee&&Rn(e,ee)&&ee.el[Bt]&&ee.el[Bt](),N(Y,[R])},enter(R){let Y=c,ee=u,B=f;if(!n.isMounted)if(o)Y=O||c,ee=k||u,B=b||f;else return;let Q=!1;const ye=R[zr]=Oe=>{Q||(Q=!0,Oe?N(B,[R]):N(ee,[R]),$.delayedLeave&&$.delayedLeave(),R[zr]=void 0)};Y?M(Y,[R,ye]):ye()},leave(R,Y){const ee=String(e.key);if(R[zr]&&R[zr](!0),n.isUnmounting)return Y();N(d,[R]);let B=!1;const Q=R[Bt]=ye=>{B||(B=!0,Y(),ye?N(S,[R]):N(E,[R]),R[Bt]=void 0,L[ee]===e&&delete L[ee])};L[ee]=e,p?M(p,[R,Q]):Q()},clone(R){const Y=Tr(R,t,n,r,s);return s&&s(Y),Y}};return $}function Zs(e){if(Os(e))return e=mn(e),e.children=null,e}function ki(e){if(!Os(e))return cc(e.type)&&e.children?mc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ne(n.default))return n.default()}}function xn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,xn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ui(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;omr(E,t&&(J(t)?t[S]:t),n,r,s));return}if(Kn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&mr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Is(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ge?a.refs={}:a.refs,f=a.setupState,d=ce(f),p=f===ge?Ol:E=>me(d,E);if(c!=null&&c!==l){if(xi(t),Re(c))u[c]=null,p(c)&&(f[c]=null);else if(we(c)){c.value=null;const E=t;E.k&&(u[E.k]=null)}}if(ne(l))Ur(l,a,12,[i,u]);else{const E=Re(l),S=we(l);if(E||S){const w=()=>{if(e.f){const O=E?p(l)?f[l]:u[l]:l.value;if(s)J(O)&&Xo(O,o);else if(J(O))O.includes(o)||O.push(o);else if(E)u[l]=[o],p(l)&&(f[l]=u[l]);else{const k=[o];l.value=k,e.k&&(u[e.k]=k)}}else E?(u[l]=i,p(l)&&(f[l]=i)):S&&(l.value=i,e.k&&(u[e.k]=i))};if(i){const O=()=>{w(),ds.delete(e)};O.id=-1,ds.set(e,O),ct(O,n)}else xi(e),w()}}}function xi(e){const t=ds.get(e);t&&(t.flags|=8,ds.delete(e))}Ts().requestIdleCallback;Ts().cancelIdleCallback;const Kn=e=>!!e.type.__asyncLoader,Os=e=>e.type.__isKeepAlive;function Td(e,t){gc(e,"a",t)}function Cd(e,t){gc(e,"da",t)}function gc(e,t,n=Ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ns(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Os(s.parent.vnode)&&Ld(r,t,n,s),s=s.parent}}function Ld(e,t,n,r){const s=Ns(t,e,r,!0);er(()=>{Xo(r[t],s)},n)}function Ns(e,t,n=Ye,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{qt();const a=Br(n),l=vt(t,n,e,i);return a(),Yt(),l});return r?s.unshift(o):s.push(o),o}}const Jt=e=>(t,n=Ye)=>{(!Pr||e==="sp")&&Ns(e,(...r)=>t(...r),n)},_c=Jt("bm"),Zn=Jt("m"),Pd=Jt("bu"),yc=Jt("u"),bc=Jt("bum"),er=Jt("um"),Rd=Jt("sp"),Od=Jt("rtg"),Nd=Jt("rtc");function Ad(e,t=Ye){Ns("ec",e,t)}const Ec="components";function Xb(e,t){return wc(Ec,e,!0,t)||e}const vc=Symbol.for("v-ndc");function Sc(e){return Re(e)?wc(Ec,e,!1)||e:e||vc}function wc(e,t,n=!0,r=!1){const s=We||Ye;if(s){const o=s.type;{const a=Em(o,!1);if(a&&(a===t||a===pt(t)||a===ws(pt(t))))return o}const i=Fi(s[e]||o[e],t)||Fi(s.appContext[e],t);return!i&&r?o:i}}function Fi(e,t){return e&&(e[t]||e[pt(t)]||e[ws(pt(t))])}function Tc(e,t,n,r){let s;const o=n,i=J(e);if(i||Re(e)){const a=i&&Kt(e);let l=!1,c=!1;a&&(l=!ht(e),c=fn(e),e=Ls(e)),s=new Array(e.length);for(let u=0,f=e.length;ut(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,c=a.length;lLr(t)?!(t.type===qe||t.type===Me&&!Cc(t.children)):!0)?e:null}const vo=e=>e?Gc(e)?Is(e):vo(e.parent):null,hr=xe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>vo(e.parent),$root:e=>vo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Pc(e),$forceUpdate:e=>e.f||(e.f=()=>{ci(e.update)}),$nextTick:e=>e.n||(e.n=Rs.bind(e.proxy)),$watch:e=>Zd.bind(e)}),eo=(e,t)=>e!==ge&&!e.__isScriptSetup&&me(e,t),Id={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(eo(r,t))return i[t]=1,r[t];if(s!==ge&&me(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&me(c,t))return i[t]=3,o[t];if(n!==ge&&me(n,t))return i[t]=4,n[t];So&&(i[t]=0)}}const u=hr[t];let f,d;if(u)return t==="$attrs"&&Ge(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ge&&me(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,me(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return eo(s,t)?(s[t]=n,!0):r!==ge&&me(r,t)?(r[t]=n,!0):me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o,type:i}},a){let l,c;return!!(n[a]||e!==ge&&a[0]!=="$"&&me(e,a)||eo(t,a)||(l=o[0])&&me(l,a)||me(r,a)||me(hr,a)||me(s.config.globalProperties,a)||(c=i.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Mi(e){return J(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let So=!0;function kd(e){const t=Pc(e),n=e.proxy,r=e.ctx;So=!1,t.beforeCreate&&Di(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:E,activated:S,deactivated:w,beforeDestroy:O,beforeUnmount:k,destroyed:b,unmounted:v,render:L,renderTracked:N,renderTriggered:M,errorCaptured:$,serverPrefetch:R,expose:Y,inheritAttrs:ee,components:B,directives:Q,filters:ye}=t;if(c&&xd(c,r,null),i)for(const te in i){const ae=i[te];ne(ae)&&(r[te]=ae.bind(n))}if(s){const te=s.call(n,n);pe(te)&&(e.data=Dr(te))}if(So=!0,o)for(const te in o){const ae=o[te],Je=ne(ae)?ae.bind(n,n):ne(ae.get)?ae.get.bind(n,n):kt,nt=!ne(ae)&&ne(ae.set)?ae.set.bind(n):kt,Ce=_e({get:Je,set:nt});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Le=>Ce.value=Le})}if(a)for(const te in a)Lc(a[te],r,n,te);if(l){const te=ne(l)?l.call(n):l;Reflect.ownKeys(te).forEach(ae=>{In(ae,te[ae])})}u&&Di(u,e,"c");function oe(te,ae){J(ae)?ae.forEach(Je=>te(Je.bind(n))):ae&&te(ae.bind(n))}if(oe(_c,f),oe(Zn,d),oe(Pd,p),oe(yc,E),oe(Td,S),oe(Cd,w),oe(Ad,$),oe(Nd,N),oe(Od,M),oe(bc,k),oe(er,v),oe(Rd,R),J(Y))if(Y.length){const te=e.exposed||(e.exposed={});Y.forEach(ae=>{Object.defineProperty(te,ae,{get:()=>n[ae],set:Je=>n[ae]=Je,enumerable:!0})})}else e.exposed||(e.exposed={});L&&e.render===kt&&(e.render=L),ee!=null&&(e.inheritAttrs=ee),B&&(e.components=B),Q&&(e.directives=Q),R&&pc(e)}function xd(e,t,n=kt){J(e)&&(e=wo(e));for(const r in e){const s=e[r];let o;pe(s)?"default"in s?o=Xe(s.from||r,s.default,!0):o=Xe(s.from||r):o=Xe(s),we(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Di(e,t,n){vt(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lc(e,t,n,r){let s=r.includes(".")?Bc(n,r):()=>n[r];if(Re(e)){const o=t[e];ne(o)&&un(s,o)}else if(ne(e))un(s,e.bind(n));else if(pe(e))if(J(e))e.forEach(o=>Lc(o,t,n,r));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&un(s,o,e)}}function Pc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>ms(l,c,i,!0)),ms(l,t,i)),pe(t)&&o.set(t,l),l}function ms(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ms(e,o,n,!0),s&&s.forEach(i=>ms(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Fd[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Fd={data:Ui,props:$i,emits:$i,methods:cr,computed:cr,beforeCreate:Ze,created:Ze,beforeMount:Ze,mounted:Ze,beforeUpdate:Ze,updated:Ze,beforeDestroy:Ze,beforeUnmount:Ze,destroyed:Ze,unmounted:Ze,activated:Ze,deactivated:Ze,errorCaptured:Ze,serverPrefetch:Ze,components:cr,directives:cr,watch:Dd,provide:Ui,inject:Md};function Ui(e,t){return t?e?function(){return xe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Md(e,t){return cr(wo(e),wo(t))}function wo(e){if(J(e)){const t={};for(let n=0;n1)return n&&ne(t)?t.call(r&&r.proxy):t}}function Bd(){return!!(zt()||An)}const Oc={},Nc=()=>Object.create(Oc),Ac=e=>Object.getPrototypeOf(e)===Oc;function Hd(e,t,n,r=!1){const s={},o=Nc();e.propsDefaults=Object.create(null),Ic(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Zl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Wd(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ce(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,p]=kc(f,t,!0);xe(i,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return pe(e)&&r.set(e,Wn),Wn;if(J(o))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",di=e=>J(e)?e.map(Nt):[Nt(e)],jd=(e,t,n)=>{if(t._n)return t;const r=wr((...s)=>di(t(...s)),n);return r._c=!1,r},xc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(fi(s))continue;const o=e[s];if(ne(o))t[s]=jd(s,o,r);else if(o!=null){const i=di(o);t[s]=()=>i}}},Fc=(e,t)=>{const n=di(t);e.slots.default=()=>n},Mc=(e,t,n)=>{for(const r in t)(n||!fi(r))&&(e[r]=t[r])},Kd=(e,t,n)=>{const r=e.slots=Nc();if(e.vnode.shapeFlag&32){const s=t._;s?(Mc(r,t,n),n&&kl(r,"_",s,!0)):xc(t,r)}else t&&Fc(e,t)},Gd=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ge;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:Mc(s,t,n):(o=!t.$stable,xc(t,s)),i=t}else t&&(Fc(e,t),i={default:1});if(o)for(const a in s)!fi(a)&&i[a]==null&&delete s[a]},ct=am;function qd(e){return Yd(e)}function Yd(e,t){const n=Ts();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=kt,insertStaticContent:E}=e,S=(g,y,_,P=null,U=null,F=null,V=void 0,W=null,m=!!y.dynamicChildren)=>{if(g===y)return;g&&!Rn(g,y)&&(P=D(g),Le(g,U,F,!0),g=null),y.patchFlag===-2&&(m=!1,y.dynamicChildren=null);const{type:h,ref:C,shapeFlag:I}=y;switch(h){case $r:w(g,y,_,P);break;case qe:O(g,y,_,P);break;case no:g==null&&k(y,_,P,V);break;case Me:B(g,y,_,P,U,F,V,W,m);break;default:I&1?L(g,y,_,P,U,F,V,W,m):I&6?Q(g,y,_,P,U,F,V,W,m):(I&64||I&128)&&h.process(g,y,_,P,U,F,V,W,m,z)}C!=null&&U?mr(C,g&&g.ref,F,y||g,!y):C==null&&g&&g.ref!=null&&mr(g.ref,null,F,g,!0)},w=(g,y,_,P)=>{if(g==null)r(y.el=a(y.children),_,P);else{const U=y.el=g.el;y.children!==g.children&&c(U,y.children)}},O=(g,y,_,P)=>{g==null?r(y.el=l(y.children||""),_,P):y.el=g.el},k=(g,y,_,P)=>{[g.el,g.anchor]=E(g.children,y,_,P,g.el,g.anchor)},b=({el:g,anchor:y},_,P)=>{let U;for(;g&&g!==y;)U=d(g),r(g,_,P),g=U;r(y,_,P)},v=({el:g,anchor:y})=>{let _;for(;g&&g!==y;)_=d(g),s(g),g=_;s(y)},L=(g,y,_,P,U,F,V,W,m)=>{y.type==="svg"?V="svg":y.type==="math"&&(V="mathml"),g==null?N(y,_,P,U,F,V,W,m):R(g,y,U,F,V,W,m)},N=(g,y,_,P,U,F,V,W)=>{let m,h;const{props:C,shapeFlag:I,transition:K,dirs:H}=g;if(m=g.el=i(g.type,F,C&&C.is,C),I&8?u(m,g.children):I&16&&$(g.children,m,null,P,U,to(g,F),V,W),H&&vn(g,null,P,"created"),M(m,g,g.scopeId,V,P),C){for(const x in C)x!=="value"&&!ur(x)&&o(m,x,null,C[x],F,P);"value"in C&&o(m,"value",null,C.value,F),(h=C.onVnodeBeforeMount)&&Lt(h,P,g)}H&&vn(g,null,P,"beforeMount");const T=zd(U,K);T&&K.beforeEnter(m),r(m,y,_),((h=C&&C.onVnodeMounted)||T||H)&&ct(()=>{h&&Lt(h,P,g),T&&K.enter(m),H&&vn(g,null,P,"mounted")},U)},M=(g,y,_,P,U)=>{if(_&&p(g,_),P)for(let F=0;F{for(let h=m;h{const W=y.el=g.el;let{patchFlag:m,dynamicChildren:h,dirs:C}=y;m|=g.patchFlag&16;const I=g.props||ge,K=y.props||ge;let H;if(_&&Sn(_,!1),(H=K.onVnodeBeforeUpdate)&&Lt(H,_,y,g),C&&vn(y,g,_,"beforeUpdate"),_&&Sn(_,!0),(I.innerHTML&&K.innerHTML==null||I.textContent&&K.textContent==null)&&u(W,""),h?Y(g.dynamicChildren,h,W,_,P,to(y,U),F):V||ae(g,y,W,null,_,P,to(y,U),F,!1),m>0){if(m&16)ee(W,I,K,_,U);else if(m&2&&I.class!==K.class&&o(W,"class",null,K.class,U),m&4&&o(W,"style",I.style,K.style,U),m&8){const T=y.dynamicProps;for(let x=0;x{H&&Lt(H,_,y,g),C&&vn(y,g,_,"updated")},P)},Y=(g,y,_,P,U,F,V)=>{for(let W=0;W{if(y!==_){if(y!==ge)for(const F in y)!ur(F)&&!(F in _)&&o(g,F,y[F],null,U,P);for(const F in _){if(ur(F))continue;const V=_[F],W=y[F];V!==W&&F!=="value"&&o(g,F,W,V,U,P)}"value"in _&&o(g,"value",y.value,_.value,U)}},B=(g,y,_,P,U,F,V,W,m)=>{const h=y.el=g?g.el:a(""),C=y.anchor=g?g.anchor:a("");let{patchFlag:I,dynamicChildren:K,slotScopeIds:H}=y;H&&(W=W?W.concat(H):H),g==null?(r(h,_,P),r(C,_,P),$(y.children||[],_,C,U,F,V,W,m)):I>0&&I&64&&K&&g.dynamicChildren?(Y(g.dynamicChildren,K,_,U,F,V,W),(y.key!=null||U&&y===U.subTree)&&Dc(g,y,!0)):ae(g,y,_,C,U,F,V,W,m)},Q=(g,y,_,P,U,F,V,W,m)=>{y.slotScopeIds=W,g==null?y.shapeFlag&512?U.ctx.activate(y,_,P,V,m):ye(y,_,P,U,F,V,m):Oe(g,y,m)},ye=(g,y,_,P,U,F,V)=>{const W=g.component=pm(g,P,U);if(Os(g)&&(W.ctx.renderer=z),gm(W,!1,V),W.asyncDep){if(U&&U.registerDep(W,oe,V),!g.el){const m=W.subTree=Pe(qe);O(null,m,y,_),g.placeholder=m.el}}else oe(W,g,y,_,U,F,V)},Oe=(g,y,_)=>{const P=y.component=g.component;if(om(g,y,_))if(P.asyncDep&&!P.asyncResolved){te(P,y,_);return}else P.next=y,P.update();else y.el=g.el,P.vnode=y},oe=(g,y,_,P,U,F,V)=>{const W=()=>{if(g.isMounted){let{next:I,bu:K,u:H,parent:T,vnode:x}=g;{const Ue=Uc(g);if(Ue){I&&(I.el=x.el,te(g,I,V)),Ue.asyncDep.then(()=>{g.isUnmounted||W()});return}}let X=I,le;Sn(g,!1),I?(I.el=x.el,te(g,I,V)):I=x,K&&Zr(K),(le=I.props&&I.props.onVnodeBeforeUpdate)&&Lt(le,T,I,x),Sn(g,!0);const Te=Wi(g),Qe=g.subTree;g.subTree=Te,S(Qe,Te,f(Qe.el),D(Qe),g,U,F),I.el=Te.el,X===null&&im(g,Te.el),H&&ct(H,U),(le=I.props&&I.props.onVnodeUpdated)&&ct(()=>Lt(le,T,I,x),U)}else{let I;const{el:K,props:H}=y,{bm:T,m:x,parent:X,root:le,type:Te}=g,Qe=Kn(y);Sn(g,!1),T&&Zr(T),!Qe&&(I=H&&H.onVnodeBeforeMount)&&Lt(I,X,y),Sn(g,!0);{le.ce&&le.ce._def.shadowRoot!==!1&&le.ce._injectChildStyle(Te);const Ue=g.subTree=Wi(g);S(null,Ue,_,P,g,U,F),y.el=Ue.el}if(x&&ct(x,U),!Qe&&(I=H&&H.onVnodeMounted)){const Ue=y;ct(()=>Lt(I,X,Ue),U)}(y.shapeFlag&256||X&&Kn(X.vnode)&&X.vnode.shapeFlag&256)&&g.a&&ct(g.a,U),g.isMounted=!0,y=_=P=null}};g.scope.on();const m=g.effect=new $l(W);g.scope.off();const h=g.update=m.run.bind(m),C=g.job=m.runIfDirty.bind(m);C.i=g,C.id=g.uid,m.scheduler=()=>ci(C),Sn(g,!0),h()},te=(g,y,_)=>{y.component=g;const P=g.vnode.props;g.vnode=y,g.next=null,Wd(g,y.props,P,_),Gd(g,y.children,_),qt(),Ii(g),Yt()},ae=(g,y,_,P,U,F,V,W,m=!1)=>{const h=g&&g.children,C=g?g.shapeFlag:0,I=y.children,{patchFlag:K,shapeFlag:H}=y;if(K>0){if(K&128){nt(h,I,_,P,U,F,V,W,m);return}else if(K&256){Je(h,I,_,P,U,F,V,W,m);return}}H&8?(C&16&&Fe(h,U,F),I!==h&&u(_,I)):C&16?H&16?nt(h,I,_,P,U,F,V,W,m):Fe(h,U,F,!0):(C&8&&u(_,""),H&16&&$(I,_,P,U,F,V,W,m))},Je=(g,y,_,P,U,F,V,W,m)=>{g=g||Wn,y=y||Wn;const h=g.length,C=y.length,I=Math.min(h,C);let K;for(K=0;KC?Fe(g,U,F,!0,!1,I):$(y,_,P,U,F,V,W,m,I)},nt=(g,y,_,P,U,F,V,W,m)=>{let h=0;const C=y.length;let I=g.length-1,K=C-1;for(;h<=I&&h<=K;){const H=g[h],T=y[h]=m?on(y[h]):Nt(y[h]);if(Rn(H,T))S(H,T,_,null,U,F,V,W,m);else break;h++}for(;h<=I&&h<=K;){const H=g[I],T=y[K]=m?on(y[K]):Nt(y[K]);if(Rn(H,T))S(H,T,_,null,U,F,V,W,m);else break;I--,K--}if(h>I){if(h<=K){const H=K+1,T=HK)for(;h<=I;)Le(g[h],U,F,!0),h++;else{const H=h,T=h,x=new Map;for(h=T;h<=K;h++){const lt=y[h]=m?on(y[h]):Nt(y[h]);lt.key!=null&&x.set(lt.key,h)}let X,le=0;const Te=K-T+1;let Qe=!1,Ue=0;const En=new Array(Te);for(h=0;h=Te){Le(lt,U,F,!0);continue}let Ct;if(lt.key!=null)Ct=x.get(lt.key);else for(X=T;X<=K;X++)if(En[X-T]===0&&Rn(lt,y[X])){Ct=X;break}Ct===void 0?Le(lt,U,F,!0):(En[Ct-T]=h+1,Ct>=Ue?Ue=Ct:Qe=!0,S(lt,y[Ct],_,null,U,F,V,W,m),le++)}const qs=Qe?Xd(En):Wn;for(X=qs.length-1,h=Te-1;h>=0;h--){const lt=T+h,Ct=y[lt],Li=y[lt+1],Pi=lt+1{const{el:F,type:V,transition:W,children:m,shapeFlag:h}=g;if(h&6){Ce(g.component.subTree,y,_,P);return}if(h&128){g.suspense.move(y,_,P);return}if(h&64){V.move(g,y,_,z);return}if(V===Me){r(F,y,_);for(let I=0;IW.enter(F),U);else{const{leave:I,delayLeave:K,afterLeave:H}=W,T=()=>{g.ctx.isUnmounted?s(F):r(F,y,_)},x=()=>{F._isLeaving&&F[Bt](!0),I(F,()=>{T(),H&&H()})};K?K(F,T,x):x()}else r(F,y,_)},Le=(g,y,_,P=!1,U=!1)=>{const{type:F,props:V,ref:W,children:m,dynamicChildren:h,shapeFlag:C,patchFlag:I,dirs:K,cacheIndex:H}=g;if(I===-2&&(U=!1),W!=null&&(qt(),mr(W,null,_,g,!0),Yt()),H!=null&&(y.renderCache[H]=void 0),C&256){y.ctx.deactivate(g);return}const T=C&1&&K,x=!Kn(g);let X;if(x&&(X=V&&V.onVnodeBeforeUnmount)&&Lt(X,y,g),C&6)Tt(g.component,_,P);else{if(C&128){g.suspense.unmount(_,P);return}T&&vn(g,null,y,"beforeUnmount"),C&64?g.type.remove(g,y,_,z,P):h&&!h.hasOnce&&(F!==Me||I>0&&I&64)?Fe(h,y,_,!1,!0):(F===Me&&I&384||!U&&C&16)&&Fe(m,y,_),P&&ft(g)}(x&&(X=V&&V.onVnodeUnmounted)||T)&&ct(()=>{X&&Lt(X,y,g),T&&vn(g,null,y,"unmounted")},_)},ft=g=>{const{type:y,el:_,anchor:P,transition:U}=g;if(y===Me){at(_,P);return}if(y===no){v(g);return}const F=()=>{s(_),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(g.shapeFlag&1&&U&&!U.persisted){const{leave:V,delayLeave:W}=U,m=()=>V(_,F);W?W(g.el,F,m):m()}else F()},at=(g,y)=>{let _;for(;g!==y;)_=d(g),s(g),g=_;s(y)},Tt=(g,y,_)=>{const{bum:P,scope:U,job:F,subTree:V,um:W,m,a:h}=g;Hi(m),Hi(h),P&&Zr(P),U.stop(),F&&(F.flags|=8,Le(V,g,y,_)),W&&ct(W,y),ct(()=>{g.isUnmounted=!0},y)},Fe=(g,y,_,P=!1,U=!1,F=0)=>{for(let V=F;V{if(g.shapeFlag&6)return D(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const y=d(g.anchor||g.el),_=y&&y[vd];return _?d(_):y};let q=!1;const j=(g,y,_)=>{g==null?y._vnode&&Le(y._vnode,null,null,!0):S(y._vnode||null,g,y,null,null,null,_),y._vnode=g,q||(q=!0,Ii(),ic(),q=!1)},z={p:S,um:Le,m:Ce,r:ft,mt:ye,mc:$,pc:ae,pbc:Y,n:D,o:e};return{render:j,hydrate:void 0,createApp:$d(j)}}function to({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Sn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function zd(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dc(e,t,n=!1){const r=e.children,s=t.children;if(J(r)&&J(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Uc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Uc(t)}function Hi(e){if(e)for(let t=0;tXe(Jd);function un(e,t,n){return $c(e,t,n)}function $c(e,t,n=ge){const{immediate:r,deep:s,flush:o,once:i}=n,a=xe({},n),l=t&&r||!t&&o!=="post";let c;if(Pr){if(o==="sync"){const p=Qd();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=kt,p.resume=kt,p.pause=kt,p}}const u=Ye;a.call=(p,E,S)=>vt(p,u,E,S);let f=!1;o==="post"?a.scheduler=p=>{ct(p,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(p,E)=>{E?p():ci(p)}),a.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=_d(e,t,a);return Pr&&(c?c.push(d):l&&d()),d}function Zd(e,t,n){const r=this.proxy,s=Re(e)?e.includes(".")?Bc(r,e):()=>r[e]:e.bind(r,r);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Br(this),a=$c(s,o.bind(r),n);return i(),a}function Bc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${gn(t)}Modifiers`];function tm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ge;let s=n;const o=t.startsWith("update:"),i=o&&em(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Re(u)?u.trim():u)),i.number&&(s=n.map(is)));let a,l=r[a=Ys(t)]||r[a=Ys(pt(t))];!l&&o&&(l=r[a=Ys(gn(t))]),l&&vt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vt(c,e,6,s)}}const nm=new WeakMap;function Hc(e,t,n=!1){const r=n?nm:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ne(e)){const l=c=>{const u=Hc(c,t,!0);u&&(a=!0,xe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(pe(e)&&r.set(e,null),null):(J(o)?o.forEach(l=>i[l]=null):xe(i,o),pe(e)&&r.set(e,i),i)}function As(e,t){return!e||!vs(t)?!1:(t=t.slice(2).replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,gn(t))||me(e,t))}function Wi(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:E,inheritAttrs:S}=e,w=fs(e);let O,k;try{if(n.shapeFlag&4){const v=s||r,L=v;O=Nt(c.call(L,v,u,f,p,d,E)),k=a}else{const v=t;O=Nt(v.length>1?v(f,{attrs:a,slots:i,emit:l}):v(f,null)),k=t.props?a:rm(a)}}catch(v){pr.length=0,Ps(v,e,1),O=Pe(qe)}let b=O;if(k&&S!==!1){const v=Object.keys(k),{shapeFlag:L}=b;v.length&&L&7&&(o&&v.some(zo)&&(k=sm(k,o)),b=mn(b,k,!1,!0))}return n.dirs&&(b=mn(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&xn(b,n.transition),O=b,fs(w),O}const rm=e=>{let t;for(const n in e)(n==="class"||n==="style"||vs(n))&&((t||(t={}))[n]=e[n]);return t},sm=(e,t)=>{const n={};for(const r in e)(!zo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function om(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Vi(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function am(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):Ed(e)}const Me=Symbol.for("v-fgt"),$r=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),no=Symbol.for("v-stc"),pr=[];let ut=null;function Ve(e=!1){pr.push(ut=e?null:[])}function lm(){pr.pop(),ut=pr[pr.length-1]||null}let Cr=1;function hs(e,t=!1){Cr+=e,e<0&&ut&&t&&(ut.hasOnce=!0)}function Vc(e){return e.dynamicChildren=Cr>0?ut||Wn:null,lm(),Cr>0&&ut&&ut.push(e),e}function jt(e,t,n,r,s,o){return Vc(Be(e,t,n,r,s,o,!0))}function dn(e,t,n,r,s){return Vc(Pe(e,t,n,r,s,!0))}function Lr(e){return e?e.__v_isVNode===!0:!1}function Rn(e,t){return e.type===t.type&&e.key===t.key}const jc=({key:e})=>e??null,es=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||we(e)||ne(e)?{i:We,r:e,k:t,f:!!n}:e:null);function Be(e,t=null,n=null,r=0,s=null,o=e===Me?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&jc(t),ref:t&&es(t),scopeId:lc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:We};return a?(mi(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Re(n)?8:16),Cr>0&&!i&&ut&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ut.push(l),l}const Pe=cm;function cm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===vc)&&(e=qe),Lr(e)){const a=mn(e,t,!0);return n&&mi(a,n),Cr>0&&!o&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag=-2,a}if(vm(e)&&(e=e.__vccOpts),t){t=um(t);let{class:a,style:l}=t;a&&!Re(a)&&(t.class=At(a)),pe(l)&&(ii(l)&&!J(l)&&(l=xe({},l)),t.style=Cs(l))}const i=Re(e)?1:Wc(e)?128:cc(e)?64:pe(e)?4:ne(e)?2:0;return Be(e,t,n,r,s,i,o,!0)}function um(e){return e?ii(e)||Ac(e)?xe({},e):e:null}function mn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?dm(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&jc(c),ref:t&&t.ref?n&&o?J(o)?o.concat(es(t)):[o,es(t)]:es(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&xn(u,l.clone(u)),u}function fm(e=" ",t=0){return Pe($r,null,e,t)}function Kc(e="",t=!1){return t?(Ve(),dn(qe,null,e)):Pe(qe,null,e)}function Nt(e){return e==null||typeof e=="boolean"?Pe(qe):J(e)?Pe(Me,null,e.slice()):Lr(e)?on(e):Pe($r,null,String(e))}function on(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function mi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),mi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Ac(t)?t._ctx=We:s===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:We},n=32):(t=String(t),r&64?(n=16,t=[fm(t)]):n=8);e.children=t,e.shapeFlag|=n}function dm(...e){const t={};for(let n=0;nYe||We;let ps,Co;{const e=Ts(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};ps=t("__VUE_INSTANCE_SETTERS__",n=>Ye=n),Co=t("__VUE_SSR_SETTERS__",n=>Pr=n)}const Br=e=>{const t=Ye;return ps(e),e.scope.on(),()=>{e.scope.off(),ps(t)}},ji=()=>{Ye&&Ye.scope.off(),ps(null)};function Gc(e){return e.vnode.shapeFlag&4}let Pr=!1;function gm(e,t=!1,n=!1){t&&Co(t);const{props:r,children:s}=e.vnode,o=Gc(e);Hd(e,r,o,t),Kd(e,s,n||t);const i=o?_m(e,t):void 0;return t&&Co(!1),i}function _m(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Id);const{setup:r}=n;if(r){qt();const s=e.setupContext=r.length>1?bm(e):null,o=Br(e),i=Ur(r,e,0,[e.props,s]),a=Nl(i);if(Yt(),o(),(a||e.sp)&&!Kn(e)&&pc(e),a){if(i.then(ji,ji),t)return i.then(l=>{Ki(e,l)}).catch(l=>{Ps(l,e,0)});e.asyncDep=i}else Ki(e,i)}else qc(e)}function Ki(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=nc(t)),qc(e)}function qc(e,t,n){const r=e.type;e.render||(e.render=r.render||kt);{const s=Br(e);qt();try{kd(e)}finally{Yt(),s()}}}const ym={get(e,t){return Ge(e,"get",""),e[t]}};function bm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ym),slots:e.slots,emit:e.emit,expose:t}}function Is(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(nc(ai(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hr)return hr[n](e)},has(t,n){return n in t||n in hr}})):e.proxy}function Em(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function vm(e){return ne(e)&&"__vccOpts"in e}const _e=(e,t)=>pd(e,t,Pr);function hn(e,t,n){const r=(o,i,a)=>{hs(-1);try{return Pe(o,i,a)}finally{hs(1)}},s=arguments.length;return s===2?pe(t)&&!J(t)?Lr(t)?r(e,null,[t]):r(e,t):r(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Lr(n)&&(n=[n]),r(e,t,n))}const Sm="3.5.21";/** +* @vue/runtime-dom v3.5.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Lo;const Gi=typeof window<"u"&&window.trustedTypes;if(Gi)try{Lo=Gi.createPolicy("vue",{createHTML:e=>e})}catch{}const Yc=Lo?e=>Lo.createHTML(e):e=>e,wm="http://www.w3.org/2000/svg",Tm="http://www.w3.org/1998/Math/MathML",$t=typeof document<"u"?document:null,qi=$t&&$t.createElement("template"),Cm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?$t.createElementNS(wm,e):t==="mathml"?$t.createElementNS(Tm,e):n?$t.createElement(e,{is:n}):$t.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>$t.createTextNode(e),createComment:e=>$t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{qi.innerHTML=Yc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const a=qi.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Zt="transition",or="animation",Gn=Symbol("_vtc"),zc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xc=xe({},fc,zc),Lm=e=>(e.displayName="Transition",e.props=Xc,e),Jc=Lm((e,{slots:t})=>hn(wd,Qc(e),t)),wn=(e,t=[])=>{J(e)?e.forEach(n=>n(...t)):e&&e(...t)},Yi=e=>e?J(e)?e.some(t=>t.length>1):e.length>1:!1;function Qc(e){const t={};for(const B in e)B in zc||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,E=Pm(s),S=E&&E[0],w=E&&E[1],{onBeforeEnter:O,onEnter:k,onEnterCancelled:b,onLeave:v,onLeaveCancelled:L,onBeforeAppear:N=O,onAppear:M=k,onAppearCancelled:$=b}=t,R=(B,Q,ye,Oe)=>{B._enterCancelled=Oe,nn(B,Q?u:a),nn(B,Q?c:i),ye&&ye()},Y=(B,Q)=>{B._isLeaving=!1,nn(B,f),nn(B,p),nn(B,d),Q&&Q()},ee=B=>(Q,ye)=>{const Oe=B?M:k,oe=()=>R(Q,B,ye);wn(Oe,[Q,oe]),zi(()=>{nn(Q,B?l:o),Rt(Q,B?u:a),Yi(Oe)||Xi(Q,r,S,oe)})};return xe(t,{onBeforeEnter(B){wn(O,[B]),Rt(B,o),Rt(B,i)},onBeforeAppear(B){wn(N,[B]),Rt(B,l),Rt(B,c)},onEnter:ee(!1),onAppear:ee(!0),onLeave(B,Q){B._isLeaving=!0;const ye=()=>Y(B,Q);Rt(B,f),B._enterCancelled?(Rt(B,d),Po()):(Po(),Rt(B,d)),zi(()=>{B._isLeaving&&(nn(B,f),Rt(B,p),Yi(v)||Xi(B,r,w,ye))}),wn(v,[B,ye])},onEnterCancelled(B){R(B,!1,void 0,!0),wn(b,[B])},onAppearCancelled(B){R(B,!0,void 0,!0),wn($,[B])},onLeaveCancelled(B){Y(B),wn(L,[B])}})}function Pm(e){if(e==null)return null;if(pe(e))return[ro(e.enter),ro(e.leave)];{const t=ro(e);return[t,t]}}function ro(e){return xf(e)}function Rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gn]||(e[Gn]=new Set)).add(t)}function nn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Gn];n&&(n.delete(t),n.size||(e[Gn]=void 0))}function zi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rm=0;function Xi(e,t,n,r){const s=e._endId=++Rm,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Zc(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u(n[E]||"").split(", "),s=r(`${Zt}Delay`),o=r(`${Zt}Duration`),i=Ji(s,o),a=r(`${or}Delay`),l=r(`${or}Duration`),c=Ji(a,l);let u=null,f=0,d=0;t===Zt?i>0&&(u=Zt,f=i,d=o.length):t===or?c>0&&(u=or,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Zt:or:null,d=u?u===Zt?o.length:l.length:0);const p=u===Zt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Zt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Ji(e,t){for(;e.lengthQi(n)+Qi(e[r])))}function Qi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Po(){return document.body.offsetHeight}function Om(e,t,n){const r=e[Gn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zi=Symbol("_vod"),Nm=Symbol("_vsh"),Am=Symbol(""),Im=/(?:^|;)\s*display\s*:/;function km(e,t,n){const r=e.style,s=Re(n);let o=!1;if(n&&!s){if(t)if(Re(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&ts(r,a,"")}else for(const i in t)n[i]==null&&ts(r,i,"");for(const i in n)i==="display"&&(o=!0),ts(r,i,n[i])}else if(s){if(t!==n){const i=r[Am];i&&(n+=";"+i),r.cssText=n,o=Im.test(n)}}else t&&e.removeAttribute("style");Zi in e&&(e[Zi]=o?r.display:"",e[Nm]&&(r.display="none"))}const ea=/\s*!important$/;function ts(e,t,n){if(J(n))n.forEach(r=>ts(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=xm(e,t);ea.test(n)?e.setProperty(gn(r),n.replace(ea,""),"important"):e[r]=n}}const ta=["Webkit","Moz","ms"],so={};function xm(e,t){const n=so[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return so[t]=r;r=ws(r);for(let s=0;soo||(Um.then(()=>oo=0),oo=Date.now());function Bm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vt(Hm(r,n.value),t,5,[r])};return n.value=e,n.attached=$m(),n}function Hm(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const aa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wm=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Om(e,r,i):t==="style"?km(e,n,r):vs(t)?zo(t)||Mm(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vm(e,t,r,i))?(sa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ra(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Re(r))?sa(e,pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ra(e,t,r,i))};function Vm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&aa(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return aa(t)&&Re(n)?!1:t in e}const eu=new WeakMap,tu=new WeakMap,gs=Symbol("_moveCb"),la=Symbol("_enterCb"),jm=e=>(delete e.props.mode,e),Km=jm({name:"TransitionGroup",props:xe({},Xc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zt(),r=uc();let s,o;return yc(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Xm(s[0].el,n.vnode.el,i)){s=[];return}s.forEach(qm),s.forEach(Ym);const a=s.filter(zm);Po(),a.forEach(l=>{const c=l.el,u=c.style;Rt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[gs]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[gs]=null,nn(c,i))};c.addEventListener("transitionend",f)}),s=[]}),()=>{const i=ce(e),a=Qc(i);let l=i.tag||Me;if(s=[],o)for(let c=0;c{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Zc(r);return o.removeChild(r),i}const qn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>Zr(t,n):t};function Jm(e){e.target.composing=!0}function ca(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gt=Symbol("_assign"),Qb={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Gt]=qn(s);const o=r||s.props&&s.props.type==="number";ln(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=is(a)),e[Gt](a)}),n&&ln(e,"change",()=>{e.value=e.value.trim()}),t||(ln(e,"compositionstart",Jm),ln(e,"compositionend",ca),ln(e,"change",ca))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Gt]=qn(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?is(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===l)||(e.value=l))}},Zb={deep:!0,created(e,t,n){e[Gt]=qn(n),ln(e,"change",()=>{const r=e._modelValue,s=Rr(e),o=e.checked,i=e[Gt];if(J(r)){const a=Qo(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Qn(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(nu(e,o))})},mounted:ua,beforeUpdate(e,t,n){e[Gt]=qn(n),ua(e,t,n)}};function ua(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(J(t))s=Qo(t,r.props.value)>-1;else if(Qn(t))s=t.has(r.props.value);else{if(t===n)return;s=Mr(t,nu(e,!0))}e.checked!==s&&(e.checked=s)}const eE={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Qn(t);ln(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?is(Rr(i)):Rr(i));e[Gt](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,Rs(()=>{e._assigning=!1})}),e[Gt]=qn(r)},mounted(e,{value:t}){fa(e,t)},beforeUpdate(e,t,n){e[Gt]=qn(n)},updated(e,{value:t}){e._assigning||fa(e,t)}};function fa(e,t){const n=e.multiple,r=J(t);if(!(n&&!r&&!Qn(t))){for(let s=0,o=e.options.length;sString(c)===String(a)):i.selected=Qo(t,a)>-1}else i.selected=t.has(a);else if(Mr(Rr(i),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rr(e){return"_value"in e?e._value:e.value}function nu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Qm=["ctrl","shift","alt","meta"],Zm={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qm.some(n=>e[`${n}Key`]&&!t.includes(n))},tE=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=gn(s.key);if(t.some(i=>i===o||eh[i]===o))return e(s)}))},th=xe({patchProp:Wm},Cm);let da;function nh(){return da||(da=qd(th))}const rh=((...e)=>{const t=nh().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=oh(r);if(!s)return;const o=t._component;!ne(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,sh(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t});function sh(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function oh(e){return Re(e)?document.querySelector(e):e}/*! + * pinia v3.0.3 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */let ru;const ks=e=>ru=e,su=Symbol();function Ro(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var gr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(gr||(gr={}));function ih(){const e=Zo(!0),t=e.run(()=>st({}));let n=[],r=[];const s=ai({install(o){ks(s),s._a=o,o.provide(su,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const ou=()=>{};function ma(e,t,n,r=ou){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&Ul()&&Wf(s),s}function Dn(e,...t){e.slice().forEach(n=>{n(...t)})}const ah=e=>e(),ha=Symbol(),io=Symbol();function Oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Ro(s)&&Ro(r)&&e.hasOwnProperty(n)&&!we(r)&&!Kt(r)?e[n]=Oo(s,r):e[n]=r}return e}const lh=Symbol();function ch(e){return!Ro(e)||!Object.prototype.hasOwnProperty.call(e,lh)}const{assign:rn}=Object;function uh(e){return!!(we(e)&&e.effect)}function fh(e,t,n,r){const{state:s,actions:o,getters:i}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const u=ud(n.state.value[e]);return rn(u,o,Object.keys(i||{}).reduce((f,d)=>(f[d]=ai(_e(()=>{ks(n);const p=n._s.get(e);return i[d].call(p,p)})),f),{}))}return l=iu(e,c,t,n,r,!0),l}function iu(e,t,n={},r,s,o){let i;const a=rn({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],p;const E=r.state.value[e];!o&&!E&&(r.state.value[e]={}),st({});let S;function w($){let R;c=u=!1,typeof $=="function"?($(r.state.value[e]),R={type:gr.patchFunction,storeId:e,events:p}):(Oo(r.state.value[e],$),R={type:gr.patchObject,payload:$,storeId:e,events:p});const Y=S=Symbol();Rs().then(()=>{S===Y&&(c=!0)}),u=!0,Dn(f,R,r.state.value[e])}const O=o?function(){const{state:R}=n,Y=R?R():{};this.$patch(ee=>{rn(ee,Y)})}:ou;function k(){i.stop(),f=[],d=[],r._s.delete(e)}const b=($,R="")=>{if(ha in $)return $[io]=R,$;const Y=function(){ks(r);const ee=Array.from(arguments),B=[],Q=[];function ye(te){B.push(te)}function Oe(te){Q.push(te)}Dn(d,{args:ee,name:Y[io],store:L,after:ye,onError:Oe});let oe;try{oe=$.apply(this&&this.$id===e?this:L,ee)}catch(te){throw Dn(Q,te),te}return oe instanceof Promise?oe.then(te=>(Dn(B,te),te)).catch(te=>(Dn(Q,te),Promise.reject(te))):(Dn(B,oe),oe)};return Y[ha]=!0,Y[io]=R,Y},v={_p:r,$id:e,$onAction:ma.bind(null,d),$patch:w,$reset:O,$subscribe($,R={}){const Y=ma(f,$,R.detached,()=>ee()),ee=i.run(()=>un(()=>r.state.value[e],B=>{(R.flush==="sync"?u:c)&&$({storeId:e,type:gr.direct,events:p},B)},rn({},l,R)));return Y},$dispose:k},L=Dr(v);r._s.set(e,L);const M=(r._a&&r._a.runWithContext||ah)(()=>r._e.run(()=>(i=Zo()).run(()=>t({action:b}))));for(const $ in M){const R=M[$];if(we(R)&&!uh(R)||Kt(R))o||(E&&ch(R)&&(we(R)?R.value=E[$]:Oo(R,E[$])),r.state.value[e][$]=R);else if(typeof R=="function"){const Y=b(R,$);M[$]=Y,a.actions[$]=R}}return rn(L,M),rn(ce(L),M),Object.defineProperty(L,"$state",{get:()=>r.state.value[e],set:$=>{w(R=>{rn(R,$)})}}),r._p.forEach($=>{rn(L,i.run(()=>$({store:L,app:r._a,pinia:r,options:a})))}),E&&o&&n.hydrate&&n.hydrate(L.$state,E),c=!0,u=!0,L}/*! #__NO_SIDE_EFFECTS__ */function dh(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(i,a){const l=Bd();return i=i||(l?Xe(su,null):null),i&&ks(i),i=ru,i._s.has(e)||(s?iu(e,t,r,i):fh(e,r,i)),i._s.get(e)}return o.$id=e,o}function mh(e){const t=ce(e),n={};for(const r in t){const s=t[r];s.effect?n[r]=_e({get:()=>e[r],set(o){e[r]=o}}):(we(s)||Kt(s))&&(n[r]=md(e,r))}return n}/*! + * vue-router v4.5.1 + * (c) 2025 Eduardo San Martin Morote + * @license MIT + */const $n=typeof document<"u";function au(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function hh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&au(e.default)}const de=Object.assign;function ao(e,t){const n={};for(const r in t){const s=t[r];n[r]=St(s)?s.map(e):e(s)}return n}const _r=()=>{},St=Array.isArray,lu=/#/g,ph=/&/g,gh=/\//g,_h=/=/g,yh=/\?/g,cu=/\+/g,bh=/%5B/g,Eh=/%5D/g,uu=/%5E/g,vh=/%60/g,fu=/%7B/g,Sh=/%7C/g,du=/%7D/g,wh=/%20/g;function hi(e){return encodeURI(""+e).replace(Sh,"|").replace(bh,"[").replace(Eh,"]")}function Th(e){return hi(e).replace(fu,"{").replace(du,"}").replace(uu,"^")}function No(e){return hi(e).replace(cu,"%2B").replace(wh,"+").replace(lu,"%23").replace(ph,"%26").replace(vh,"`").replace(fu,"{").replace(du,"}").replace(uu,"^")}function Ch(e){return No(e).replace(_h,"%3D")}function Lh(e){return hi(e).replace(lu,"%23").replace(yh,"%3F")}function Ph(e){return e==null?"":Lh(e).replace(gh,"%2F")}function Or(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Rh=/\/$/,Oh=e=>e.replace(Rh,"");function lo(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=kh(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:Or(i)}}function Nh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function pa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ah(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Yn(t.matched[r],n.matched[s])&&mu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ih(e[n],t[n]))return!1;return!0}function Ih(e,t){return St(e)?ga(e,t):St(t)?ga(t,e):e===t}function ga(e,t){return St(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function kh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i).join("/")}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Nr;(function(e){e.pop="pop",e.push="push"})(Nr||(Nr={}));var yr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yr||(yr={}));function xh(e){if(!e)if($n){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Oh(e)}const Fh=/^[^#]+#/;function Mh(e,t){return e.replace(Fh,"#")+t}function Dh(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const xs=()=>({left:window.scrollX,top:window.scrollY});function Uh(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Dh(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function _a(e,t){return(history.state?history.state.position-t:-1)+e}const Ao=new Map;function $h(e,t){Ao.set(e,t)}function Bh(e){const t=Ao.get(e);return Ao.delete(e),t}let Hh=()=>location.protocol+"//"+location.host;function hu(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),pa(l,"")}return pa(n,e)+r+s}function Wh(e,t,n,r){let s=[],o=[],i=null;const a=({state:d})=>{const p=hu(e,location),E=n.value,S=t.value;let w=0;if(d){if(n.value=p,t.value=d,i&&i===E){i=null;return}w=S?d.position-S.position:0}else r(p);s.forEach(O=>{O(n.value,E,{delta:w,type:Nr.pop,direction:w?w>0?yr.forward:yr.back:yr.unknown})})};function l(){i=n.value}function c(d){s.push(d);const p=()=>{const E=s.indexOf(d);E>-1&&s.splice(E,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(de({},d.state,{scroll:xs()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function ya(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?xs():null}}function Vh(e){const{history:t,location:n}=window,r={value:hu(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Hh()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function i(l,c){const u=de({},t.state,ya(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,u,!0),r.value=l}function a(l,c){const u=de({},s.value,t.state,{forward:l,scroll:xs()});o(u.current,u,!0);const f=de({},ya(r.value,l,null),{position:u.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function jh(e){e=xh(e);const t=Vh(e),n=Wh(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=de({location:"",base:e,go:r,createHref:Mh.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Kh(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),jh(e)}function Gh(e){return typeof e=="string"||e&&typeof e=="object"}function pu(e){return typeof e=="string"||typeof e=="symbol"}const gu=Symbol("");var ba;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ba||(ba={}));function zn(e,t){return de(new Error,{type:e,[gu]:!0},t)}function Mt(e,t){return e instanceof Error&&gu in e&&(t==null||!!(e.type&t))}const Ea="[^/]+?",qh={sensitive:!1,strict:!1,start:!0,end:!0},Yh=/[.+*?^${}()[\]/\\]/g;function zh(e,t){const n=de({},qh,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function _u(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Jh={type:0,value:""},Qh=/[a-zA-Z0-9_]/;function Zh(e){if(!e)return[[]];if(e==="/")return[[Jh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{i(b)}:_r}function i(f){if(pu(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=sp(f,n);n.splice(d,0,f),f.record.name&&!Ta(f)&&r.set(f.record.name,f)}function c(f,d){let p,E={},S,w;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw zn(1,{location:f});w=p.record.name,E=de(Sa(d.params,p.keys.filter(b=>!b.optional).concat(p.parent?p.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),f.params&&Sa(f.params,p.keys.map(b=>b.name))),S=p.stringify(E)}else if(f.path!=null)S=f.path,p=n.find(b=>b.re.test(S)),p&&(E=p.parse(S),w=p.record.name);else{if(p=d.name?r.get(d.name):n.find(b=>b.re.test(d.path)),!p)throw zn(1,{location:f,currentLocation:d});w=p.record.name,E=de({},d.params,f.params),S=p.stringify(E)}const O=[];let k=p;for(;k;)O.unshift(k.record),k=k.parent;return{name:w,path:S,params:E,matched:O,meta:rp(O)}}e.forEach(f=>o(f));function u(){n.length=0,r.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function Sa(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function wa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:np(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function np(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ta(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rp(e){return e.reduce((t,n)=>de(t,n.meta),{})}function Ca(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function sp(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;_u(e,t[o])<0?r=o:n=o+1}const s=op(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function op(e){let t=e;for(;t=t.parent;)if(yu(t)&&_u(e,t)===0)return t}function yu({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function ip(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&No(o)):[r&&No(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function ap(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=St(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const lp=Symbol(""),Pa=Symbol(""),Fs=Symbol(""),pi=Symbol(""),Io=Symbol("");function ir(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function an(e,t,n,r,s,o=i=>i()){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(zn(4,{from:n,to:t})):d instanceof Error?l(d):Gh(d)?l(zn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=o(()=>e.call(r&&r.instances[s],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function co(e,t,n,r,s=o=>o()){const o=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(au(l)){const u=(l.__vccOpts||l)[t];u&&o.push(an(u,n,r,i,a,s))}else{let c=l();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const f=hh(u)?u.default:u;i.mods[a]=u,i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&an(p,n,r,i,a,s)()}))}}return o}function Ra(e){const t=Xe(Fs),n=Xe(pi),r=_e(()=>{const l=ve(e.to);return t.resolve(l)}),s=_e(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Yn.bind(null,u));if(d>-1)return d;const p=Oa(l[c-2]);return c>1&&Oa(u)===p&&f[f.length-1].path!==p?f.findIndex(Yn.bind(null,l[c-2])):d}),o=_e(()=>s.value>-1&&mp(n.params,r.value.params)),i=_e(()=>s.value>-1&&s.value===n.matched.length-1&&mu(n.params,r.value.params));function a(l={}){if(dp(l)){const c=t[ve(e.replace)?"replace":"push"](ve(e.to)).catch(_r);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:_e(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}function cp(e){return e.length===1?e[0]:e}const up=Xt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Ra,setup(e,{slots:t}){const n=Dr(Ra(e)),{options:r}=Xe(Fs),s=_e(()=>({[Na(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Na(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&cp(t.default(n));return e.custom?o:hn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),fp=up;function dp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mp(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!St(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Oa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Na=(e,t,n)=>e??t??n,hp=Xt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Xe(Io),s=_e(()=>e.route||r.value),o=Xe(Pa,0),i=_e(()=>{let c=ve(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=_e(()=>s.value.matched[i.value]);In(Pa,_e(()=>i.value+1)),In(lp,a),In(Io,s);const l=st();return un(()=>[l.value,a.value,e.name],([c,u,f],[d,p,E])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Yn(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(S=>S(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Aa(n.default,{Component:d,route:c});const p=f.props[u],E=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=hn(d,de({},E,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Aa(n.default,{Component:w,route:c})||w}}});function Aa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bu=hp;function pp(e){const t=tp(e.routes,e),n=e.parseQuery||ip,r=e.stringifyQuery||La,s=e.history,o=ir(),i=ir(),a=ir(),l=li(en);let c=en;$n&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ao.bind(null,D=>""+D),f=ao.bind(null,Ph),d=ao.bind(null,Or);function p(D,q){let j,z;return pu(D)?(j=t.getRecordMatcher(D),z=q):z=D,t.addRoute(z,j)}function E(D){const q=t.getRecordMatcher(D);q&&t.removeRoute(q)}function S(){return t.getRoutes().map(D=>D.record)}function w(D){return!!t.getRecordMatcher(D)}function O(D,q){if(q=de({},q||l.value),typeof D=="string"){const _=lo(n,D,q.path),P=t.resolve({path:_.path},q),U=s.createHref(_.fullPath);return de(_,P,{params:d(P.params),hash:Or(_.hash),redirectedFrom:void 0,href:U})}let j;if(D.path!=null)j=de({},D,{path:lo(n,D.path,q.path).path});else{const _=de({},D.params);for(const P in _)_[P]==null&&delete _[P];j=de({},D,{params:f(_)}),q.params=f(q.params)}const z=t.resolve(j,q),ue=D.hash||"";z.params=u(d(z.params));const g=Nh(r,de({},D,{hash:Th(ue),path:z.path})),y=s.createHref(g);return de({fullPath:g,hash:ue,query:r===La?ap(D.query):D.query||{}},z,{redirectedFrom:void 0,href:y})}function k(D){return typeof D=="string"?lo(n,D,l.value.path):de({},D)}function b(D,q){if(c!==D)return zn(8,{from:q,to:D})}function v(D){return M(D)}function L(D){return v(de(k(D),{replace:!0}))}function N(D){const q=D.matched[D.matched.length-1];if(q&&q.redirect){const{redirect:j}=q;let z=typeof j=="function"?j(D):j;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=k(z):{path:z},z.params={}),de({query:D.query,hash:D.hash,params:z.path!=null?{}:D.params},z)}}function M(D,q){const j=c=O(D),z=l.value,ue=D.state,g=D.force,y=D.replace===!0,_=N(j);if(_)return M(de(k(_),{state:typeof _=="object"?de({},ue,_.state):ue,force:g,replace:y}),q||j);const P=j;P.redirectedFrom=q;let U;return!g&&Ah(r,z,j)&&(U=zn(16,{to:P,from:z}),Ce(z,z,!0,!1)),(U?Promise.resolve(U):Y(P,z)).catch(F=>Mt(F)?Mt(F,2)?F:nt(F):ae(F,P,z)).then(F=>{if(F){if(Mt(F,2))return M(de({replace:y},k(F.to),{state:typeof F.to=="object"?de({},ue,F.to.state):ue,force:g}),q||P)}else F=B(P,z,!0,y,ue);return ee(P,z,F),F})}function $(D,q){const j=b(D,q);return j?Promise.reject(j):Promise.resolve()}function R(D){const q=at.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(D):D()}function Y(D,q){let j;const[z,ue,g]=gp(D,q);j=co(z.reverse(),"beforeRouteLeave",D,q);for(const _ of z)_.leaveGuards.forEach(P=>{j.push(an(P,D,q))});const y=$.bind(null,D,q);return j.push(y),Fe(j).then(()=>{j=[];for(const _ of o.list())j.push(an(_,D,q));return j.push(y),Fe(j)}).then(()=>{j=co(ue,"beforeRouteUpdate",D,q);for(const _ of ue)_.updateGuards.forEach(P=>{j.push(an(P,D,q))});return j.push(y),Fe(j)}).then(()=>{j=[];for(const _ of g)if(_.beforeEnter)if(St(_.beforeEnter))for(const P of _.beforeEnter)j.push(an(P,D,q));else j.push(an(_.beforeEnter,D,q));return j.push(y),Fe(j)}).then(()=>(D.matched.forEach(_=>_.enterCallbacks={}),j=co(g,"beforeRouteEnter",D,q,R),j.push(y),Fe(j))).then(()=>{j=[];for(const _ of i.list())j.push(an(_,D,q));return j.push(y),Fe(j)}).catch(_=>Mt(_,8)?_:Promise.reject(_))}function ee(D,q,j){a.list().forEach(z=>R(()=>z(D,q,j)))}function B(D,q,j,z,ue){const g=b(D,q);if(g)return g;const y=q===en,_=$n?history.state:{};j&&(z||y?s.replace(D.fullPath,de({scroll:y&&_&&_.scroll},ue)):s.push(D.fullPath,ue)),l.value=D,Ce(D,q,j,y),nt()}let Q;function ye(){Q||(Q=s.listen((D,q,j)=>{if(!Tt.listening)return;const z=O(D),ue=N(z);if(ue){M(de(ue,{replace:!0,force:!0}),z).catch(_r);return}c=z;const g=l.value;$n&&$h(_a(g.fullPath,j.delta),xs()),Y(z,g).catch(y=>Mt(y,12)?y:Mt(y,2)?(M(de(k(y.to),{force:!0}),z).then(_=>{Mt(_,20)&&!j.delta&&j.type===Nr.pop&&s.go(-1,!1)}).catch(_r),Promise.reject()):(j.delta&&s.go(-j.delta,!1),ae(y,z,g))).then(y=>{y=y||B(z,g,!1),y&&(j.delta&&!Mt(y,8)?s.go(-j.delta,!1):j.type===Nr.pop&&Mt(y,20)&&s.go(-1,!1)),ee(z,g,y)}).catch(_r)}))}let Oe=ir(),oe=ir(),te;function ae(D,q,j){nt(D);const z=oe.list();return z.length?z.forEach(ue=>ue(D,q,j)):console.error(D),Promise.reject(D)}function Je(){return te&&l.value!==en?Promise.resolve():new Promise((D,q)=>{Oe.add([D,q])})}function nt(D){return te||(te=!D,ye(),Oe.list().forEach(([q,j])=>D?j(D):q()),Oe.reset()),D}function Ce(D,q,j,z){const{scrollBehavior:ue}=e;if(!$n||!ue)return Promise.resolve();const g=!j&&Bh(_a(D.fullPath,0))||(z||!j)&&history.state&&history.state.scroll||null;return Rs().then(()=>ue(D,q,g)).then(y=>y&&Uh(y)).catch(y=>ae(y,D,q))}const Le=D=>s.go(D);let ft;const at=new Set,Tt={currentRoute:l,listening:!0,addRoute:p,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:S,resolve:O,options:e,push:v,replace:L,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:oe.add,isReady:Je,install(D){const q=this;D.component("RouterLink",fp),D.component("RouterView",bu),D.config.globalProperties.$router=q,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>ve(l)}),$n&&!ft&&l.value===en&&(ft=!0,v(s.location).catch(ue=>{}));const j={};for(const ue in en)Object.defineProperty(j,ue,{get:()=>l.value[ue],enumerable:!0});D.provide(Fs,q),D.provide(pi,Zl(j)),D.provide(Io,l);const z=D.unmount;at.add(D),D.unmount=function(){at.delete(D),at.size<1&&(c=en,Q&&Q(),Q=null,l.value=en,ft=!1,te=!1),z()}}};function Fe(D){return D.reduce((q,j)=>q.then(()=>R(j)),Promise.resolve())}return Tt}function gp(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iYn(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Yn(c,l))||s.push(l))}return[n,r,s]}function _p(){return Xe(Fs)}function yp(e){return Xe(pi)}/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ia=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),bp=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Ep=e=>{const t=bp(e);return t.charAt(0).toUpperCase()+t.slice(1)},vp=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Xr={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Sp=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:r,iconNode:s,name:o,class:i,...a},{slots:l})=>hn("svg",{...Xr,width:e||Xr.width,height:e||Xr.height,stroke:r||Xr.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:vp("lucide",...o?[`lucide-${Ia(Ep(o))}-icon`,`lucide-${Ia(o)}`]:["lucide-icon"]),...a},[...s.map(c=>hn(...c)),...l.default?[l.default()]:[]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Qt=(e,t)=>(n,{slots:r})=>hn(Sp,{...n,iconNode:t,name:e},r);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const wp=Qt("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Tp=Qt("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Cp=Qt("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Lp=Qt("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Pp=Qt("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Rp=Qt("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"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Op=Qt("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"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Np=Qt("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/** + * @license lucide-vue-next v0.535.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ap=Qt("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ip=Xt({__name:"ThemeToggle",setup(e){const t=Xe("isDarkMode"),n=Xe("toggleTheme"),r=()=>{n()};return(s,o)=>(Ve(),jt("button",{onClick:r,class:At(["p-2 rounded-full transition-all duration-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 transform hover:rotate-180",ve(t)?"bg-gray-800 text-yellow-300":"bg-white text-gray-800"])},[ve(t)?(Ve(),dn(ve(Rp),{key:1,class:"w-6 h-6"})):(Ve(),dn(ve(Op),{key:0,class:"w-6 h-6"}))],2))}});/*! + * shared v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function kp(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const _s=typeof window<"u",_n=(e,t=!1)=>t?Symbol.for(e):Symbol(e),xp=(e,t,n)=>Fp({l:e,k:t,s:n}),Fp=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ne=e=>typeof e=="number"&&isFinite(e),Mp=e=>vu(e)==="[object Date]",pn=e=>vu(e)==="[object RegExp]",Ms=e=>re(e)&&Object.keys(e).length===0,je=Object.assign,Dp=Object.create,he=(e=null)=>Dp(e);let ka;const Vt=()=>ka||(ka=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:he());function xa(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Fa(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Up(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(r,s,o)=>`${s}="${Fa(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(r,s,o)=>`${s}='${Fa(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(r=>{e=e.replace(r,"$1javascript:")}),e}const $p=Object.prototype.hasOwnProperty;function _t(e,t){return $p.call(e,t)}const Se=Array.isArray,Ee=e=>typeof e=="function",G=e=>typeof e=="string",ie=e=>typeof e=="boolean",fe=e=>e!==null&&typeof e=="object",Bp=e=>fe(e)&&Ee(e.then)&&Ee(e.catch),Eu=Object.prototype.toString,vu=e=>Eu.call(e),re=e=>{if(!fe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Hp=e=>e==null?"":Se(e)||re(e)&&e.toString===Eu?JSON.stringify(e,null,2):String(e);function Wp(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function Ds(e){let t=e;return()=>++t}const Jr=e=>!fe(e)||Se(e);function ns(e,t){if(Jr(e)||Jr(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:s}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(fe(r[o])&&!fe(s[o])&&(s[o]=Array.isArray(r[o])?[]:he()),Jr(s[o])||Jr(r[o])?s[o]=r[o]:n.push({src:r[o],des:s[o]}))})}}/*! + * message-compiler v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Vp(e,t,n){return{line:e,column:t,offset:n}}function ys(e,t,n){return{start:e,end:t}}const jp=/\{([0-9a-zA-Z]+)\}/g;function Su(e,...t){return t.length===1&&Kp(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(jp,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const wu=Object.assign,Ma=e=>typeof e=="string",Kp=e=>e!==null&&typeof e=="object";function Tu(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}const gi={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Gp={[gi.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function qp(e,t,...n){const r=Su(Gp[e],...n||[]),s={message:String(r),code:e};return t&&(s.location=t),s}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Yp={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function tr(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=Su((s||Yp)[e]||"",...o||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function zp(e){throw e}const Dt=" ",Xp="\r",et=` +`,Jp="\u2028",Qp="\u2029";function Zp(e){const t=e;let n=0,r=1,s=1,o=0;const i=M=>t[M]===Xp&&t[M+1]===et,a=M=>t[M]===et,l=M=>t[M]===Qp,c=M=>t[M]===Jp,u=M=>i(M)||a(M)||l(M)||c(M),f=()=>n,d=()=>r,p=()=>s,E=()=>o,S=M=>i(M)||l(M)||c(M)?et:t[M],w=()=>S(n),O=()=>S(n+o);function k(){return o=0,u(n)&&(r++,s=0),i(n)&&n++,n++,s++,t[n]}function b(){return i(n+o)&&o++,o++,t[n+o]}function v(){n=0,r=1,s=1,o=0}function L(M=0){o=M}function N(){const M=n+o;for(;M!==n;)k();o=0}return{index:f,line:d,column:p,peekOffset:E,charAt:S,currentChar:w,currentPeek:O,next:k,peek:b,reset:v,resetPeek:L,skipToPeek:N}}const tn=void 0,eg=".",Da="'",tg="tokenizer";function ng(e,t={}){const n=t.location!==!1,r=Zp(e),s=()=>r.index(),o=()=>Vp(r.line(),r.column(),r.index()),i=o(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(m,h,C,...I){const K=c();if(h.column+=C,h.offset+=C,u){const H=n?ys(K.startLoc,h):null,T=tr(m,H,{domain:tg,args:I});u(T)}}function d(m,h,C){m.endLoc=o(),m.currentType=h;const I={type:h};return n&&(I.loc=ys(m.startLoc,m.endLoc)),C!=null&&(I.value=C),I}const p=m=>d(m,14);function E(m,h){return m.currentChar()===h?(m.next(),h):(f(Z.EXPECTED_TOKEN,o(),0,h),"")}function S(m){let h="";for(;m.currentPeek()===Dt||m.currentPeek()===et;)h+=m.currentPeek(),m.peek();return h}function w(m){const h=S(m);return m.skipToPeek(),h}function O(m){if(m===tn)return!1;const h=m.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function k(m){if(m===tn)return!1;const h=m.charCodeAt(0);return h>=48&&h<=57}function b(m,h){const{currentType:C}=h;if(C!==2)return!1;S(m);const I=O(m.currentPeek());return m.resetPeek(),I}function v(m,h){const{currentType:C}=h;if(C!==2)return!1;S(m);const I=m.currentPeek()==="-"?m.peek():m.currentPeek(),K=k(I);return m.resetPeek(),K}function L(m,h){const{currentType:C}=h;if(C!==2)return!1;S(m);const I=m.currentPeek()===Da;return m.resetPeek(),I}function N(m,h){const{currentType:C}=h;if(C!==8)return!1;S(m);const I=m.currentPeek()===".";return m.resetPeek(),I}function M(m,h){const{currentType:C}=h;if(C!==9)return!1;S(m);const I=O(m.currentPeek());return m.resetPeek(),I}function $(m,h){const{currentType:C}=h;if(!(C===8||C===12))return!1;S(m);const I=m.currentPeek()===":";return m.resetPeek(),I}function R(m,h){const{currentType:C}=h;if(C!==10)return!1;const I=()=>{const H=m.currentPeek();return H==="{"?O(m.peek()):H==="@"||H==="%"||H==="|"||H===":"||H==="."||H===Dt||!H?!1:H===et?(m.peek(),I()):B(m,!1)},K=I();return m.resetPeek(),K}function Y(m){S(m);const h=m.currentPeek()==="|";return m.resetPeek(),h}function ee(m){const h=S(m),C=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:C,hasSpace:h.length>0}}function B(m,h=!0){const C=(K=!1,H="",T=!1)=>{const x=m.currentPeek();return x==="{"?H==="%"?!1:K:x==="@"||!x?H==="%"?!0:K:x==="%"?(m.peek(),C(K,"%",!0)):x==="|"?H==="%"||T?!0:!(H===Dt||H===et):x===Dt?(m.peek(),C(!0,Dt,T)):x===et?(m.peek(),C(!0,et,T)):!0},I=C();return h&&m.resetPeek(),I}function Q(m,h){const C=m.currentChar();return C===tn?tn:h(C)?(m.next(),C):null}function ye(m){const h=m.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36}function Oe(m){return Q(m,ye)}function oe(m){const h=m.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36||h===45}function te(m){return Q(m,oe)}function ae(m){const h=m.charCodeAt(0);return h>=48&&h<=57}function Je(m){return Q(m,ae)}function nt(m){const h=m.charCodeAt(0);return h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102}function Ce(m){return Q(m,nt)}function Le(m){let h="",C="";for(;h=Je(m);)C+=h;return C}function ft(m){w(m);const h=m.currentChar();return h!=="%"&&f(Z.EXPECTED_TOKEN,o(),0,h),m.next(),"%"}function at(m){let h="";for(;;){const C=m.currentChar();if(C==="{"||C==="}"||C==="@"||C==="|"||!C)break;if(C==="%")if(B(m))h+=C,m.next();else break;else if(C===Dt||C===et)if(B(m))h+=C,m.next();else{if(Y(m))break;h+=C,m.next()}else h+=C,m.next()}return h}function Tt(m){w(m);let h="",C="";for(;h=te(m);)C+=h;return m.currentChar()===tn&&f(Z.UNTERMINATED_CLOSING_BRACE,o(),0),C}function Fe(m){w(m);let h="";return m.currentChar()==="-"?(m.next(),h+=`-${Le(m)}`):h+=Le(m),m.currentChar()===tn&&f(Z.UNTERMINATED_CLOSING_BRACE,o(),0),h}function D(m){return m!==Da&&m!==et}function q(m){w(m),E(m,"'");let h="",C="";for(;h=Q(m,D);)h==="\\"?C+=j(m):C+=h;const I=m.currentChar();return I===et||I===tn?(f(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),I===et&&(m.next(),E(m,"'")),C):(E(m,"'"),C)}function j(m){const h=m.currentChar();switch(h){case"\\":case"'":return m.next(),`\\${h}`;case"u":return z(m,h,4);case"U":return z(m,h,6);default:return f(Z.UNKNOWN_ESCAPE_SEQUENCE,o(),0,h),""}}function z(m,h,C){E(m,h);let I="";for(let K=0;K{const I=m.currentChar();return I==="{"||I==="%"||I==="@"||I==="|"||I==="("||I===")"||!I||I===Dt?C:(C+=I,m.next(),h(C))};return h("")}function P(m){w(m);const h=E(m,"|");return w(m),h}function U(m,h){let C=null;switch(m.currentChar()){case"{":return h.braceNest>=1&&f(Z.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),m.next(),C=d(h,2,"{"),w(m),h.braceNest++,C;case"}":return h.braceNest>0&&h.currentType===2&&f(Z.EMPTY_PLACEHOLDER,o(),0),m.next(),C=d(h,3,"}"),h.braceNest--,h.braceNest>0&&w(m),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),C;case"@":return h.braceNest>0&&f(Z.UNTERMINATED_CLOSING_BRACE,o(),0),C=F(m,h)||p(h),h.braceNest=0,C;default:{let K=!0,H=!0,T=!0;if(Y(m))return h.braceNest>0&&f(Z.UNTERMINATED_CLOSING_BRACE,o(),0),C=d(h,1,P(m)),h.braceNest=0,h.inLinked=!1,C;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return f(Z.UNTERMINATED_CLOSING_BRACE,o(),0),h.braceNest=0,V(m,h);if(K=b(m,h))return C=d(h,5,Tt(m)),w(m),C;if(H=v(m,h))return C=d(h,6,Fe(m)),w(m),C;if(T=L(m,h))return C=d(h,7,q(m)),w(m),C;if(!K&&!H&&!T)return C=d(h,13,g(m)),f(Z.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,C.value),w(m),C;break}}return C}function F(m,h){const{currentType:C}=h;let I=null;const K=m.currentChar();switch((C===8||C===9||C===12||C===10)&&(K===et||K===Dt)&&f(Z.INVALID_LINKED_FORMAT,o(),0),K){case"@":return m.next(),I=d(h,8,"@"),h.inLinked=!0,I;case".":return w(m),m.next(),d(h,9,".");case":":return w(m),m.next(),d(h,10,":");default:return Y(m)?(I=d(h,1,P(m)),h.braceNest=0,h.inLinked=!1,I):N(m,h)||$(m,h)?(w(m),F(m,h)):M(m,h)?(w(m),d(h,12,y(m))):R(m,h)?(w(m),K==="{"?U(m,h)||I:d(h,11,_(m))):(C===8&&f(Z.INVALID_LINKED_FORMAT,o(),0),h.braceNest=0,h.inLinked=!1,V(m,h))}}function V(m,h){let C={type:14};if(h.braceNest>0)return U(m,h)||p(h);if(h.inLinked)return F(m,h)||p(h);switch(m.currentChar()){case"{":return U(m,h)||p(h);case"}":return f(Z.UNBALANCED_CLOSING_BRACE,o(),0),m.next(),d(h,3,"}");case"@":return F(m,h)||p(h);default:{if(Y(m))return C=d(h,1,P(m)),h.braceNest=0,h.inLinked=!1,C;const{isModulo:K,hasSpace:H}=ee(m);if(K)return H?d(h,0,at(m)):d(h,4,ft(m));if(B(m))return d(h,0,at(m));break}}return C}function W(){const{currentType:m,offset:h,startLoc:C,endLoc:I}=l;return l.lastType=m,l.lastOffset=h,l.lastStartLoc=C,l.lastEndLoc=I,l.offset=s(),l.startLoc=o(),r.currentChar()===tn?d(l,14):V(r,l)}return{nextToken:W,currentOffset:s,currentPosition:o,context:c}}const rg="parser",sg=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function og(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function ig(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function s(b,v,L,N,...M){const $=b.currentPosition();if($.offset+=N,$.column+=N,n){const R=t?ys(L,$):null,Y=tr(v,R,{domain:rg,args:M});n(Y)}}function o(b,v,L,N,...M){const $=b.currentPosition();if($.offset+=N,$.column+=N,r){const R=t?ys(L,$):null;r(qp(v,R,M))}}function i(b,v,L){const N={type:b};return t&&(N.start=v,N.end=v,N.loc={start:L,end:L}),N}function a(b,v,L,N){t&&(b.end=v,b.loc&&(b.loc.end=L))}function l(b,v){const L=b.context(),N=i(3,L.offset,L.startLoc);return N.value=v,a(N,b.currentOffset(),b.currentPosition()),N}function c(b,v){const L=b.context(),{lastOffset:N,lastStartLoc:M}=L,$=i(5,N,M);return $.index=parseInt(v,10),b.nextToken(),a($,b.currentOffset(),b.currentPosition()),$}function u(b,v,L){const N=b.context(),{lastOffset:M,lastStartLoc:$}=N,R=i(4,M,$);return R.key=v,L===!0&&(R.modulo=!0),b.nextToken(),a(R,b.currentOffset(),b.currentPosition()),R}function f(b,v){const L=b.context(),{lastOffset:N,lastStartLoc:M}=L,$=i(9,N,M);return $.value=v.replace(sg,og),b.nextToken(),a($,b.currentOffset(),b.currentPosition()),$}function d(b){const v=b.nextToken(),L=b.context(),{lastOffset:N,lastStartLoc:M}=L,$=i(8,N,M);return v.type!==12?(s(b,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),$.value="",a($,N,M),{nextConsumeToken:v,node:$}):(v.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,gt(v)),$.value=v.value||"",a($,b.currentOffset(),b.currentPosition()),{node:$})}function p(b,v){const L=b.context(),N=i(7,L.offset,L.startLoc);return N.value=v,a(N,b.currentOffset(),b.currentPosition()),N}function E(b){const v=b.context(),L=i(6,v.offset,v.startLoc);let N=b.nextToken();if(N.type===9){const M=d(b);L.modifier=M.node,N=M.nextConsumeToken||b.nextToken()}switch(N.type!==10&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(N)),N=b.nextToken(),N.type===2&&(N=b.nextToken()),N.type){case 11:N.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(N)),L.key=p(b,N.value||"");break;case 5:N.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(N)),L.key=u(b,N.value||"");break;case 6:N.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(N)),L.key=c(b,N.value||"");break;case 7:N.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(N)),L.key=f(b,N.value||"");break;default:{s(b,Z.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const M=b.context(),$=i(7,M.offset,M.startLoc);return $.value="",a($,M.offset,M.startLoc),L.key=$,a(L,M.offset,M.startLoc),{nextConsumeToken:N,node:L}}}return a(L,b.currentOffset(),b.currentPosition()),{node:L}}function S(b){const v=b.context(),L=v.currentType===1?b.currentOffset():v.offset,N=v.currentType===1?v.endLoc:v.startLoc,M=i(2,L,N);M.items=[];let $=null,R=null;do{const B=$||b.nextToken();switch($=null,B.type){case 0:B.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(B)),M.items.push(l(b,B.value||""));break;case 6:B.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(B)),M.items.push(c(b,B.value||""));break;case 4:R=!0;break;case 5:B.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(B)),M.items.push(u(b,B.value||"",!!R)),R&&(o(b,gi.USE_MODULO_SYNTAX,v.lastStartLoc,0,gt(B)),R=null);break;case 7:B.value==null&&s(b,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,gt(B)),M.items.push(f(b,B.value||""));break;case 8:{const Q=E(b);M.items.push(Q.node),$=Q.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const Y=v.currentType===1?v.lastOffset:b.currentOffset(),ee=v.currentType===1?v.lastEndLoc:b.currentPosition();return a(M,Y,ee),M}function w(b,v,L,N){const M=b.context();let $=N.items.length===0;const R=i(1,v,L);R.cases=[],R.cases.push(N);do{const Y=S(b);$||($=Y.items.length===0),R.cases.push(Y)}while(M.currentType!==14);return $&&s(b,Z.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),a(R,b.currentOffset(),b.currentPosition()),R}function O(b){const v=b.context(),{offset:L,startLoc:N}=v,M=S(b);return v.currentType===14?M:w(b,L,N,M)}function k(b){const v=ng(b,wu({},e)),L=v.context(),N=i(0,L.offset,L.startLoc);return t&&N.loc&&(N.loc.source=b),N.body=O(v),e.onCacheKey&&(N.cacheKey=e.onCacheKey(b)),L.currentType!==14&&s(v,Z.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,b[L.offset]||""),a(N,v.currentOffset(),v.currentPosition()),N}return{parse:k}}function gt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function ag(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function Ua(e,t){for(let n=0;n$a(n)),e}function $a(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ni;function l(S,w){i.code+=S}function c(S,w=!0){const O=w?r:"";l(s?O+" ".repeat(S):O)}function u(S=!0){const w=++i.indentLevel;S&&c(w)}function f(S=!0){const w=--i.indentLevel;S&&c(w)}function d(){c(i.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:S=>`_${S}`,needIndent:()=>i.needIndent}}function mg(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Xn(e,t.key),t.modifier?(e.push(", "),Xn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function hg(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let o=0;o1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let o=0;o{const n=Ma(t.mode)?t.mode:"normal",r=Ma(t.filename)?t.filename:"message.intl";t.sourceMap;const s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=dg(e,{filename:r,breakLineCode:s,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),i.length>0&&(a.push(`const { ${Tu(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),Xn(a,e),a.deindent(o),a.push("}"),delete e.helpers;const{code:l,map:c}=a.context();return{ast:e,code:l,map:c?c.toJSON():void 0}};function yg(e,t={}){const n=wu({},t),r=!!n.jit,s=!!n.minify,o=n.optimize==null?!0:n.optimize,a=ig(n).parse(e);return r?(o&&cg(a),s&&Bn(a),{ast:a,code:""}):(lg(a,n),_g(a,n))}/*! + * core-base v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function bg(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function xt(e){return fe(e)&&yi(e)===0&&(_t(e,"b")||_t(e,"body"))}const Cu=["b","body"];function Eg(e){return yn(e,Cu)}const Lu=["c","cases"];function vg(e){return yn(e,Lu,[])}const Pu=["s","static"];function Sg(e){return yn(e,Pu)}const Ru=["i","items"];function wg(e){return yn(e,Ru,[])}const Ou=["t","type"];function yi(e){return yn(e,Ou)}const Nu=["v","value"];function Qr(e,t){const n=yn(e,Nu);if(n!=null)return n;throw Ar(t)}const Au=["m","modifier"];function Tg(e){return yn(e,Au)}const Iu=["k","key"];function Cg(e){const t=yn(e,Iu);if(t)return t;throw Ar(6)}function yn(e,t,n){for(let r=0;r{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,r=4,d[0]();else{if(s=0,i===void 0||(i=Ng(i),i===!1))return!1;d[1]()}};function p(){const E=e[n+1];if(r===5&&E==="'"||r===6&&E==='"')return n++,a="\\"+E,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=Og(o),f=bn[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=o,u()===!1))))return;if(r===7)return t}}const Ba=new Map;function Ig(e,t){return fe(e)?e[t]:null}function kg(e,t){if(!fe(e))return null;let n=Ba.get(t);if(n||(n=Ag(t),n&&Ba.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;oe,Fg=e=>"",Mg="text",Dg=e=>e.length===0?"":Wp(e),Ug=Hp;function Ha(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function $g(e){const t=Ne(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ne(e.named.count)||Ne(e.named.n))?Ne(e.named.count)?e.named.count:Ne(e.named.n)?e.named.n:t:t}function Bg(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Hg(e={}){const t=e.locale,n=$g(e),r=fe(e.pluralRules)&&G(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:Ha,s=fe(e.pluralRules)&&G(t)&&Ee(e.pluralRules[t])?Ha:void 0,o=O=>O[r(n,O.length,s)],i=e.list||[],a=O=>i[O],l=e.named||he();Ne(e.pluralIndex)&&Bg(n,l);const c=O=>l[O];function u(O){const k=Ee(e.messages)?e.messages(O):fe(e.messages)?e.messages[O]:!1;return k||(e.parent?e.parent.message(O):Fg)}const f=O=>e.modifiers?e.modifiers[O]:xg,d=re(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:Dg,p=re(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:Ug,E=re(e.processor)&&G(e.processor.type)?e.processor.type:Mg,w={list:a,named:c,plural:o,linked:(O,...k)=>{const[b,v]=k;let L="text",N="";k.length===1?fe(b)?(N=b.modifier||N,L=b.type||L):G(b)&&(N=b||N):k.length===2&&(G(b)&&(N=b||N),G(v)&&(L=v||L));const M=u(O)(w),$=L==="vnode"&&Se(M)&&N?M[0]:M;return N?f(N)($,L):$},message:u,type:E,interpolate:p,normalize:d,values:je(he(),i,l)};return w}let Ir=null;function Wg(e){Ir=e}function Vg(e,t,n){Ir&&Ir.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const jg=Kg("function:translate");function Kg(e){return t=>Ir&&Ir.emit(e,t)}const Gg=gi.__EXTEND_POINT__,Tn=Ds(Gg),qg={FALLBACK_TO_TRANSLATE:Tn(),CANNOT_FORMAT_NUMBER:Tn(),FALLBACK_TO_NUMBER_FORMAT:Tn(),CANNOT_FORMAT_DATE:Tn(),FALLBACK_TO_DATE_FORMAT:Tn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Tn(),__EXTEND_POINT__:Tn()},xu=Z.__EXTEND_POINT__,Cn=Ds(xu),yt={INVALID_ARGUMENT:xu,INVALID_DATE_ARGUMENT:Cn(),INVALID_ISO_DATE_ARGUMENT:Cn(),NOT_SUPPORT_NON_STRING_MESSAGE:Cn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Cn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Cn(),NOT_SUPPORT_LOCALE_TYPE:Cn(),__EXTEND_POINT__:Cn()};function It(e){return tr(e,null,void 0)}function bi(e,t){return t.locale!=null?Wa(t.locale):Wa(e.locale)}let uo;function Wa(e){if(G(e))return e;if(Ee(e)){if(e.resolvedOnce&&uo!=null)return uo;if(e.constructor.name==="Function"){const t=e();if(Bp(t))throw It(yt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return uo=t}else throw It(yt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw It(yt.NOT_SUPPORT_LOCALE_TYPE)}function Yg(e,t,n){return[...new Set([n,...Se(t)?t:fe(t)?Object.keys(t):G(t)?[t]:[n]])]}function Fu(e,t,n){const r=G(n)?n:Jn,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let i=[n];for(;Se(i);)i=Va(o,i,t);const a=Se(t)||!re(t)?t:t.default?t.default:null;i=G(a)?[a]:a,Se(i)&&Va(o,i,!1),s.__localeChainCache.set(r,o)}return o}function Va(e,t,n){let r=!0;for(let s=0;s`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Qg(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&fe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&fe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?Ka(e):t==="vnode"&&fe(e)&&"__v_isVNode"in e?Ka(e.children):e}}let Mu;function Ga(e){Mu=e}let Du;function Zg(e){Du=e}let Uu;function e_(e){Uu=e}let $u=null;const t_=e=>{$u=e},n_=()=>$u;let Bu=null;const qa=e=>{Bu=e},r_=()=>Bu;let Ya=0;function s_(e={}){const t=Ee(e.onWarn)?e.onWarn:kp,n=G(e.version)?e.version:Jg,r=G(e.locale)||Ee(e.locale)?e.locale:Jn,s=Ee(r)?Jn:r,o=Se(e.fallbackLocale)||re(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=re(e.messages)?e.messages:fo(s),a=re(e.datetimeFormats)?e.datetimeFormats:fo(s),l=re(e.numberFormats)?e.numberFormats:fo(s),c=je(he(),e.modifiers,Qg()),u=e.pluralRules||he(),f=Ee(e.missing)?e.missing:null,d=ie(e.missingWarn)||pn(e.missingWarn)?e.missingWarn:!0,p=ie(e.fallbackWarn)||pn(e.fallbackWarn)?e.fallbackWarn:!0,E=!!e.fallbackFormat,S=!!e.unresolving,w=Ee(e.postTranslation)?e.postTranslation:null,O=re(e.processor)?e.processor:null,k=ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,v=Ee(e.messageCompiler)?e.messageCompiler:Mu,L=Ee(e.messageResolver)?e.messageResolver:Du||Ig,N=Ee(e.localeFallbacker)?e.localeFallbacker:Uu||Yg,M=fe(e.fallbackContext)?e.fallbackContext:void 0,$=e,R=fe($.__datetimeFormatters)?$.__datetimeFormatters:new Map,Y=fe($.__numberFormatters)?$.__numberFormatters:new Map,ee=fe($.__meta)?$.__meta:{};Ya++;const B={version:n,cid:Ya,locale:r,fallbackLocale:o,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:p,fallbackFormat:E,unresolving:S,postTranslation:w,processor:O,warnHtmlMessage:k,escapeParameter:b,messageCompiler:v,messageResolver:L,localeFallbacker:N,fallbackContext:M,onWarn:t,__meta:ee};return B.datetimeFormats=a,B.numberFormats=l,B.__datetimeFormatters=R,B.__numberFormatters=Y,__INTLIFY_PROD_DEVTOOLS__&&Vg(B,n,ee),B}const fo=e=>({[e]:he()});function Ei(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return G(a)?a:t}else return t}function ar(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function o_(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function i_(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;ra_(n,e)}function a_(e,t){const n=Eg(t);if(n==null)throw Ar(0);if(yi(n)===1){const o=vg(n);return e.plural(o.reduce((i,a)=>[...i,za(e,a)],[]))}else return za(e,n)}function za(e,t){const n=Sg(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=wg(t).reduce((s,o)=>[...s,ko(e,o)],[]);return e.normalize(r)}}function ko(e,t){const n=yi(t);switch(n){case 3:return Qr(t,n);case 9:return Qr(t,n);case 4:{const r=t;if(_t(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(_t(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Ar(n)}case 5:{const r=t;if(_t(r,"i")&&Ne(r.i))return e.interpolate(e.list(r.i));if(_t(r,"index")&&Ne(r.index))return e.interpolate(e.list(r.index));throw Ar(n)}case 6:{const r=t,s=Tg(r),o=Cg(r);return e.linked(ko(e,o),s?ko(e,s):void 0,e.type)}case 7:return Qr(t,n);case 8:return Qr(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Hu=e=>e;let Hn=he();function Wu(e,t={}){let n=!1;const r=t.onError||zp;return t.onError=s=>{n=!0,r(s)},{...yg(e,t),detectError:n}}const l_=(e,t)=>{if(!G(e))throw It(yt.NOT_SUPPORT_NON_STRING_MESSAGE);{ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Hu)(e),s=Hn[r];if(s)return s;const{code:o,detectError:i}=Wu(e,t),a=new Function(`return ${o}`)();return i?a:Hn[r]=a}};function c_(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Hu)(e),s=Hn[r];if(s)return s;const{ast:o,detectError:i}=Wu(e,{...t,location:!1,jit:!0}),a=mo(o);return i?a:Hn[r]=a}else{const n=e.cacheKey;if(n){const r=Hn[n];return r||(Hn[n]=mo(e))}else return mo(e)}}const Xa=()=>"",mt=e=>Ee(e);function Ja(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:i,messages:a}=e,[l,c]=xo(...t),u=ie(c.missingWarn)?c.missingWarn:e.missingWarn,f=ie(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=ie(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,E=G(c.default)||ie(c.default)?ie(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",S=n||E!=="",w=bi(e,c);d&&u_(c);let[O,k,b]=p?[l,w,a[w]||he()]:Vu(e,l,w,i,f,u),v=O,L=l;if(!p&&!(G(v)||xt(v)||mt(v))&&S&&(v=E,L=v),!p&&(!(G(v)||xt(v)||mt(v))||!G(k)))return s?Us:l;let N=!1;const M=()=>{N=!0},$=mt(v)?v:ju(e,l,k,v,L,M);if(N)return v;const R=m_(e,k,b,c),Y=Hg(R),ee=f_(e,$,Y);let B=r?r(ee,l):ee;if(d&&G(B)&&(B=Up(B)),__INTLIFY_PROD_DEVTOOLS__){const Q={timestamp:Date.now(),key:G(l)?l:mt(v)?v.key:"",locale:k||(mt(v)?v.locale:""),format:G(v)?v:mt(v)?v.source:"",message:B};Q.meta=je({},e.__meta,n_()||{}),jg(Q)}return B}function u_(e){Se(e.list)?e.list=e.list.map(t=>G(t)?xa(t):t):fe(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=xa(e.named[t]))})}function Vu(e,t,n,r,s,o){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f=he(),d,p=null;const E="translate";for(let S=0;Sr);return c.locale=n,c.key=t,c}const l=i(r,d_(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function f_(e,t,n){return t(n)}function xo(...e){const[t,n,r]=e,s=he();if(!G(t)&&!Ne(t)&&!mt(t)&&!xt(t))throw It(yt.INVALID_ARGUMENT);const o=Ne(t)?String(t):(mt(t),t);return Ne(n)?s.plural=n:G(n)?s.default=n:re(n)&&!Ms(n)?s.named=n:Se(n)&&(s.list=n),Ne(r)?s.plural=r:G(r)?s.default=r:re(r)&&je(s,r),[o,s]}function d_(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>xp(t,n,i)}}function m_(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:o,messages:p=>{let E=i(n,p);if(E==null&&u){const[,,S]=Vu(u,p,t,a,l,c);E=i(S,p)}if(G(E)||xt(E)){let S=!1;const O=ju(e,p,t,E,p,()=>{S=!0});return S?Xa:O}else return mt(E)?E:Xa}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Ne(r.plural)&&(d.pluralIndex=r.plural),d}function Qa(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,c,u,f]=Fo(...t),d=ie(u.missingWarn)?u.missingWarn:e.missingWarn;ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,E=bi(e,u),S=i(e,s,E);if(!G(l)||l==="")return new Intl.DateTimeFormat(E,f).format(c);let w={},O,k=null;const b="datetime format";for(let N=0;N{Ku.includes(l)?i[l]=n[l]:o[l]=n[l]}),G(r)?o.locale=r:re(r)&&(i=r),re(s)&&(i=s),[o.key||"",a,o,i]}function Za(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function el(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,c,u,f]=Mo(...t),d=ie(u.missingWarn)?u.missingWarn:e.missingWarn;ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,E=bi(e,u),S=i(e,s,E);if(!G(l)||l==="")return new Intl.NumberFormat(E,f).format(c);let w={},O,k=null;const b="number format";for(let N=0;N{Gu.includes(l)?i[l]=n[l]:o[l]=n[l]}),G(r)?o.locale=r:re(r)&&(i=r),re(s)&&(i=s),[o.key||"",a,o,i]}function tl(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}bg();/*! + * vue-i18n v9.14.5 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const h_="9.14.5";function p_(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vt().__INTLIFY_PROD_DEVTOOLS__=!1)}const g_=qg.__EXTEND_POINT__,Ut=Ds(g_);Ut(),Ut(),Ut(),Ut(),Ut(),Ut(),Ut(),Ut(),Ut();const qu=yt.__EXTEND_POINT__,rt=Ds(qu),ke={UNEXPECTED_RETURN_TYPE:qu,INVALID_ARGUMENT:rt(),MUST_BE_CALL_SETUP_TOP:rt(),NOT_INSTALLED:rt(),NOT_AVAILABLE_IN_LEGACY_MODE:rt(),REQUIRED_VALUE:rt(),INVALID_VALUE:rt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:rt(),NOT_INSTALLED_WITH_PROVIDE:rt(),UNEXPECTED_ERROR:rt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:rt(),BRIDGE_SUPPORT_VUE_2_ONLY:rt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:rt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:rt(),__EXTEND_POINT__:rt()};function De(e,...t){return tr(e,null,void 0)}const Do=_n("__translateVNode"),Uo=_n("__datetimeParts"),$o=_n("__numberParts"),Yu=_n("__setPluralRules"),zu=_n("__injectWithOption"),Bo=_n("__dispose");function kr(e){if(!fe(e)||xt(e))return e;for(const t in e)if(_t(e,t))if(!t.includes("."))fe(e[t])&&kr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let i=0;i{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(i[l]=i[l]||he(),ns(c,i[l])):ns(c,i)}else G(a)&&ns(JSON.parse(a),i)}),s==null&&o)for(const a in i)_t(i,a)&&kr(i[a]);return i}function Xu(e){return e.type}function Ju(e,t,n){let r=fe(t.messages)?t.messages:he();"__i18nGlobal"in n&&(r=$s(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(fe(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(fe(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function nl(e){return Pe($r,null,e,0)}const rl="__INTLIFY_META__",sl=()=>[],__=()=>!1;let ol=0;function il(e){return((t,n,r,s)=>e(n,r,zt()||void 0,s))}const y_=()=>{const e=zt();let t=null;return e&&(t=Xu(e)[rl])?{[rl]:t}:null};function vi(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson,i=_s?st:li,a=!!e.translateExistCompatible;let l=ie(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&l?n.locale.value:G(e.locale)?e.locale:Jn),u=i(n&&l?n.fallbackLocale.value:G(e.fallbackLocale)||Se(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i($s(c.value,e)),d=i(re(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),p=i(re(e.numberFormats)?e.numberFormats:{[c.value]:{}});let E=n?n.missingWarn:ie(e.missingWarn)||pn(e.missingWarn)?e.missingWarn:!0,S=n?n.fallbackWarn:ie(e.fallbackWarn)||pn(e.fallbackWarn)?e.fallbackWarn:!0,w=n?n.fallbackRoot:ie(e.fallbackRoot)?e.fallbackRoot:!0,O=!!e.fallbackFormat,k=Ee(e.missing)?e.missing:null,b=Ee(e.missing)?il(e.missing):null,v=Ee(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const M=n?n.modifiers:re(e.modifiers)?e.modifiers:{};let $=e.pluralRules||n&&n.pluralRules,R;R=(()=>{s&&qa(null);const T={version:h_,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:M,pluralRules:$,missing:b===null?void 0:b,missingWarn:E,fallbackWarn:S,fallbackFormat:O,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:L,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=d.value,T.numberFormats=p.value,T.__datetimeFormatters=re(R)?R.__datetimeFormatters:void 0,T.__numberFormatters=re(R)?R.__numberFormatters:void 0;const x=s_(T);return s&&qa(x),x})(),ar(R,c.value,u.value);function ee(){return[c.value,u.value,f.value,d.value,p.value]}const B=_e({get:()=>c.value,set:T=>{c.value=T,R.locale=c.value}}),Q=_e({get:()=>u.value,set:T=>{u.value=T,R.fallbackLocale=u.value,ar(R,c.value,T)}}),ye=_e(()=>f.value),Oe=_e(()=>d.value),oe=_e(()=>p.value);function te(){return Ee(v)?v:null}function ae(T){v=T,R.postTranslation=T}function Je(){return k}function nt(T){T!==null&&(b=il(T)),k=T,R.missing=b}const Ce=(T,x,X,le,Te,Qe)=>{ee();let Ue;try{__INTLIFY_PROD_DEVTOOLS__,s||(R.fallbackContext=n?r_():void 0),Ue=T(R)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(R.fallbackContext=void 0)}if(X!=="translate exists"&&Ne(Ue)&&Ue===Us||X==="translate exists"&&!Ue){const[En,qs]=x();return n&&w?le(n):Te(En)}else{if(Qe(Ue))return Ue;throw De(ke.UNEXPECTED_RETURN_TYPE)}};function Le(...T){return Ce(x=>Reflect.apply(Ja,null,[x,...T]),()=>xo(...T),"translate",x=>Reflect.apply(x.t,x,[...T]),x=>x,x=>G(x))}function ft(...T){const[x,X,le]=T;if(le&&!fe(le))throw De(ke.INVALID_ARGUMENT);return Le(x,X,je({resolvedMessage:!0},le||{}))}function at(...T){return Ce(x=>Reflect.apply(Qa,null,[x,...T]),()=>Fo(...T),"datetime format",x=>Reflect.apply(x.d,x,[...T]),()=>ja,x=>G(x))}function Tt(...T){return Ce(x=>Reflect.apply(el,null,[x,...T]),()=>Mo(...T),"number format",x=>Reflect.apply(x.n,x,[...T]),()=>ja,x=>G(x))}function Fe(T){return T.map(x=>G(x)||Ne(x)||ie(x)?nl(String(x)):x)}const q={normalize:Fe,interpolate:T=>T,type:"vnode"};function j(...T){return Ce(x=>{let X;const le=x;try{le.processor=q,X=Reflect.apply(Ja,null,[le,...T])}finally{le.processor=null}return X},()=>xo(...T),"translate",x=>x[Do](...T),x=>[nl(x)],x=>Se(x))}function z(...T){return Ce(x=>Reflect.apply(el,null,[x,...T]),()=>Mo(...T),"number format",x=>x[$o](...T),sl,x=>G(x)||Se(x))}function ue(...T){return Ce(x=>Reflect.apply(Qa,null,[x,...T]),()=>Fo(...T),"datetime format",x=>x[Uo](...T),sl,x=>G(x)||Se(x))}function g(T){$=T,R.pluralRules=$}function y(T,x){return Ce(()=>{if(!T)return!1;const X=G(x)?x:c.value,le=U(X),Te=R.messageResolver(le,T);return a?Te!=null:xt(Te)||mt(Te)||G(Te)},()=>[T],"translate exists",X=>Reflect.apply(X.te,X,[T,x]),__,X=>ie(X))}function _(T){let x=null;const X=Fu(R,u.value,c.value);for(let le=0;le{l&&(c.value=T,R.locale=T,ar(R,c.value,u.value))}),un(n.fallbackLocale,T=>{l&&(u.value=T,R.fallbackLocale=T,ar(R,c.value,u.value))}));const H={id:ol,locale:B,fallbackLocale:Q,get inheritLocale(){return l},set inheritLocale(T){l=T,T&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,ar(R,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ye,get modifiers(){return M},get pluralRules(){return $||{}},get isGlobal(){return s},get missingWarn(){return E},set missingWarn(T){E=T,R.missingWarn=E},get fallbackWarn(){return S},set fallbackWarn(T){S=T,R.fallbackWarn=S},get fallbackRoot(){return w},set fallbackRoot(T){w=T},get fallbackFormat(){return O},set fallbackFormat(T){O=T,R.fallbackFormat=O},get warnHtmlMessage(){return L},set warnHtmlMessage(T){L=T,R.warnHtmlMessage=T},get escapeParameter(){return N},set escapeParameter(T){N=T,R.escapeParameter=T},t:Le,getLocaleMessage:U,setLocaleMessage:F,mergeLocaleMessage:V,getPostTranslationHandler:te,setPostTranslationHandler:ae,getMissingHandler:Je,setMissingHandler:nt,[Yu]:g};return H.datetimeFormats=Oe,H.numberFormats=oe,H.rt=ft,H.te=y,H.tm=P,H.d=at,H.n=Tt,H.getDateTimeFormat=W,H.setDateTimeFormat=m,H.mergeDateTimeFormat=h,H.getNumberFormat=C,H.setNumberFormat=I,H.mergeNumberFormat=K,H[zu]=r,H[Do]=j,H[Uo]=ue,H[$o]=z,H}function b_(e){const t=G(e.locale)?e.locale:Jn,n=G(e.fallbackLocale)||Se(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Ee(e.missing)?e.missing:void 0,s=ie(e.silentTranslationWarn)||pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=ie(e.silentFallbackWarn)||pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ie(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=re(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=ie(e.sync)?e.sync:!0;let E=e.messages;if(re(e.sharedMessages)){const N=e.sharedMessages;E=Object.keys(N).reduce(($,R)=>{const Y=$[R]||($[R]={});return je(Y,N[R]),$},E||{})}const{__i18n:S,__root:w,__injectWithOption:O}=e,k=e.datetimeFormats,b=e.numberFormats,v=e.flatJson,L=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:E,flatJson:v,datetimeFormats:k,numberFormats:b,missing:r,missingWarn:s,fallbackWarn:o,fallbackRoot:i,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:L,__i18n:S,__root:w,__injectWithOption:O}}function Ho(e={},t){{const n=vi(b_(e)),{__extender:r}=e,s={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return ie(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=ie(o)?!o:o},get silentFallbackWarn(){return ie(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=ie(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[i,a,l]=o,c={};let u=null,f=null;if(!G(i))throw De(ke.INVALID_ARGUMENT);const d=i;return G(a)?c.locale=a:Se(a)?u=a:re(a)&&(f=a),Se(l)?u=l:re(l)&&(f=l),Reflect.apply(n.t,n,[d,u||f||{},c])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[i,a,l]=o,c={plural:1};let u=null,f=null;if(!G(i))throw De(ke.INVALID_ARGUMENT);const d=i;return G(a)?c.locale=a:Ne(a)?c.plural=a:Se(a)?u=a:re(a)&&(f=a),G(l)?c.locale=l:Se(l)?u=l:re(l)&&(f=l),Reflect.apply(n.t,n,[d,u||f||{},c])},te(o,i){return n.te(o,i)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,i){n.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){n.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,i){n.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){n.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,i){n.setNumberFormat(o,i)},mergeNumberFormat(o,i){n.mergeNumberFormat(o,i)},getChoiceIndex(o,i){return-1}};return s.__extender=r,s}}const Si={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E_({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===Me?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},he())}function Qu(e){return Me}const v_=Xt({name:"i18n-t",props:je({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ne(e)||!isNaN(e)}},Si),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||Hr({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i=he();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=G(e.plural)?+e.plural:e.plural);const a=E_(t,o),l=s[Do](e.keypath,a,i),c=je(he(),r),u=G(e.tag)||fe(e.tag)?e.tag:Qu();return hn(u,c,l)}}}),al=v_;function S_(e){return Se(e)&&!G(e[0])}function Zu(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a=he();e.locale&&(i.locale=e.locale),G(e.format)?i.key=e.format:fe(e.format)&&(G(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,p)=>n.includes(p)?je(he(),d,{[p]:e.format[p]}):d,he()));const l=r(e.value,i,a);let c=[i.key];Se(l)?c=l.map((d,p)=>{const E=s[d.type],S=E?E({[d.type]:d.value,index:p,parts:l}):[d.value];return S_(S)&&(S[0].key=`${d.type}-${p}`),S}):G(l)&&(c=[l]);const u=je(he(),o),f=G(e.tag)||fe(e.tag)?e.tag:Qu();return hn(f,u,c)}}const w_=Xt({name:"i18n-n",props:je({value:{type:Number,required:!0},format:{type:[String,Object]}},Si),setup(e,t){const n=e.i18n||Hr({useScope:e.scope,__useComponent:!0});return Zu(e,t,Gu,(...r)=>n[$o](...r))}}),ll=w_,T_=Xt({name:"i18n-d",props:je({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Si),setup(e,t){const n=e.i18n||Hr({useScope:e.scope,__useComponent:!0});return Zu(e,t,Ku,(...r)=>n[Uo](...r))}}),cl=T_;function C_(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function L_(e){const t=i=>{const{instance:a,modifiers:l,value:c}=i;if(!a||!a.$)throw De(ke.UNEXPECTED_ERROR);const u=C_(e,a.$),f=ul(c);return[Reflect.apply(u.t,u,[...fl(f)]),u]};return{created:(i,a)=>{const[l,c]=t(a);_s&&e.global===c&&(i.__i18nWatcher=un(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=c,i.textContent=l},unmounted:i=>{_s&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,c=ul(a);i.textContent=Reflect.apply(l.t,l,[...fl(c)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function ul(e){if(G(e))return{path:e};if(re(e)){if(!("path"in e))throw De(ke.REQUIRED_VALUE,"path");return e}else throw De(ke.INVALID_VALUE)}function fl(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return G(n)&&(i.locale=n),Ne(s)&&(i.plural=s),Ne(o)&&(i.plural=o),[t,a,i]}function P_(e,t,...n){const r=re(n[0])?n[0]:{},s=!!r.useI18nComponentName;(ie(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":al.name,"I18nT"].forEach(i=>e.component(i,al)),[ll.name,"I18nN"].forEach(i=>e.component(i,ll)),[cl.name,"I18nD"].forEach(i=>e.component(i,cl))),e.directive("t",L_(t))}function R_(e,t,n){return{beforeCreate(){const r=zt();if(!r)throw De(ke.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const o=s.i18n;if(s.__i18n&&(o.__i18n=s.__i18n),o.__root=t,this===this.$root)this.$i18n=dl(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Ho(o);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=dl(e,s);else{this.$i18n=Ho({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Ju(t,s,s),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,i)=>this.$i18n.te(o,i),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=zt();if(!r)throw De(ke.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function dl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Yu](t.pluralizationRules||e.pluralizationRules);const n=$s(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const O_=_n("global-vue-i18n");function N_(e={},t){const n=__VUE_I18N_LEGACY_API__&&ie(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ie(e.globalInjection)?e.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[i,a]=A_(e,n),l=_n("");function c(d){return o.get(d)||null}function u(d,p){o.set(d,p)}function f(d){o.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return s},async install(p,...E){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,d),re(E[0])){const O=E[0];d.__composerExtend=O.__composerExtend,d.__vueI18nExtend=O.__vueI18nExtend}let S=null;!n&&r&&(S=B_(p,d.global)),__VUE_I18N_FULL_INSTALL__&&P_(p,d,...E),__VUE_I18N_LEGACY_API__&&n&&p.mixin(R_(a,a.__composer,d));const w=p.unmount;p.unmount=()=>{S&&S(),d.dispose(),w()}},get global(){return a},dispose(){i.stop()},__instances:o,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function Hr(e={}){const t=zt();if(t==null)throw De(ke.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw De(ke.NOT_INSTALLED);const n=I_(t),r=x_(n),s=Xu(t),o=k_(e,s);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw De(ke.NOT_AVAILABLE_IN_LEGACY_MODE);return U_(t,o,r,e)}if(o==="global")return Ju(r,e,s),r;if(o==="parent"){let l=F_(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=je({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=vi(l),i.__composerExtend&&(a[Bo]=i.__composerExtend(a)),D_(i,t,a),i.__setInstance(t,a)}return a}function A_(e,t,n){const r=Zo();{const s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>Ho(e)):r.run(()=>vi(e));if(s==null)throw De(ke.UNEXPECTED_ERROR);return[r,s]}}function I_(e){{const t=Xe(e.isCE?O_:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw De(e.isCE?ke.NOT_INSTALLED_WITH_PROVIDE:ke.UNEXPECTED_ERROR);return t}}function k_(e,t){return Ms(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function x_(e){return e.mode==="composition"?e.global:e.global.__composer}function F_(e,t,n=!1){let r=null;const s=t.root;let o=M_(t,n);for(;o!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const a=i.__getInstance(o);a!=null&&(r=a.__composer,n&&r&&!r[zu]&&(r=null))}if(r!=null||s===o)break;o=o.parent}return r}function M_(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function D_(e,t,n){Zn(()=>{},t),er(()=>{const r=n;e.__deleteInstance(t);const s=r[Bo];s&&(s(),delete r[Bo])},t)}function U_(e,t,n,r={}){const s=t==="local",o=li(null);if(s&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw De(ke.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=ie(r.inheritLocale)?r.inheritLocale:!G(r.locale),a=st(!s||i?n.locale.value:G(r.locale)?r.locale:Jn),l=st(!s||i?n.fallbackLocale.value:G(r.fallbackLocale)||Se(r.fallbackLocale)||re(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=st($s(a.value,r)),u=st(re(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=st(re(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=s?n.missingWarn:ie(r.missingWarn)||pn(r.missingWarn)?r.missingWarn:!0,p=s?n.fallbackWarn:ie(r.fallbackWarn)||pn(r.fallbackWarn)?r.fallbackWarn:!0,E=s?n.fallbackRoot:ie(r.fallbackRoot)?r.fallbackRoot:!0,S=!!r.fallbackFormat,w=Ee(r.missing)?r.missing:null,O=Ee(r.postTranslation)?r.postTranslation:null,k=s?n.warnHtmlMessage:ie(r.warnHtmlMessage)?r.warnHtmlMessage:!0,b=!!r.escapeParameter,v=s?n.modifiers:re(r.modifiers)?r.modifiers:{},L=r.pluralRules||s&&n.pluralRules;function N(){return[a.value,l.value,c.value,u.value,f.value]}const M=_e({get:()=>o.value?o.value.locale.value:a.value,set:_=>{o.value&&(o.value.locale.value=_),a.value=_}}),$=_e({get:()=>o.value?o.value.fallbackLocale.value:l.value,set:_=>{o.value&&(o.value.fallbackLocale.value=_),l.value=_}}),R=_e(()=>o.value?o.value.messages.value:c.value),Y=_e(()=>u.value),ee=_e(()=>f.value);function B(){return o.value?o.value.getPostTranslationHandler():O}function Q(_){o.value&&o.value.setPostTranslationHandler(_)}function ye(){return o.value?o.value.getMissingHandler():w}function Oe(_){o.value&&o.value.setMissingHandler(_)}function oe(_){return N(),_()}function te(..._){return o.value?oe(()=>Reflect.apply(o.value.t,null,[..._])):oe(()=>"")}function ae(..._){return o.value?Reflect.apply(o.value.rt,null,[..._]):""}function Je(..._){return o.value?oe(()=>Reflect.apply(o.value.d,null,[..._])):oe(()=>"")}function nt(..._){return o.value?oe(()=>Reflect.apply(o.value.n,null,[..._])):oe(()=>"")}function Ce(_){return o.value?o.value.tm(_):{}}function Le(_,P){return o.value?o.value.te(_,P):!1}function ft(_){return o.value?o.value.getLocaleMessage(_):{}}function at(_,P){o.value&&(o.value.setLocaleMessage(_,P),c.value[_]=P)}function Tt(_,P){o.value&&o.value.mergeLocaleMessage(_,P)}function Fe(_){return o.value?o.value.getDateTimeFormat(_):{}}function D(_,P){o.value&&(o.value.setDateTimeFormat(_,P),u.value[_]=P)}function q(_,P){o.value&&o.value.mergeDateTimeFormat(_,P)}function j(_){return o.value?o.value.getNumberFormat(_):{}}function z(_,P){o.value&&(o.value.setNumberFormat(_,P),f.value[_]=P)}function ue(_,P){o.value&&o.value.mergeNumberFormat(_,P)}const g={get id(){return o.value?o.value.id:-1},locale:M,fallbackLocale:$,messages:R,datetimeFormats:Y,numberFormats:ee,get inheritLocale(){return o.value?o.value.inheritLocale:i},set inheritLocale(_){o.value&&(o.value.inheritLocale=_)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:v},get pluralRules(){return o.value?o.value.pluralRules:L},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:d},set missingWarn(_){o.value&&(o.value.missingWarn=_)},get fallbackWarn(){return o.value?o.value.fallbackWarn:p},set fallbackWarn(_){o.value&&(o.value.missingWarn=_)},get fallbackRoot(){return o.value?o.value.fallbackRoot:E},set fallbackRoot(_){o.value&&(o.value.fallbackRoot=_)},get fallbackFormat(){return o.value?o.value.fallbackFormat:S},set fallbackFormat(_){o.value&&(o.value.fallbackFormat=_)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:k},set warnHtmlMessage(_){o.value&&(o.value.warnHtmlMessage=_)},get escapeParameter(){return o.value?o.value.escapeParameter:b},set escapeParameter(_){o.value&&(o.value.escapeParameter=_)},t:te,getPostTranslationHandler:B,setPostTranslationHandler:Q,getMissingHandler:ye,setMissingHandler:Oe,rt:ae,d:Je,n:nt,tm:Ce,te:Le,getLocaleMessage:ft,setLocaleMessage:at,mergeLocaleMessage:Tt,getDateTimeFormat:Fe,setDateTimeFormat:D,mergeDateTimeFormat:q,getNumberFormat:j,setNumberFormat:z,mergeNumberFormat:ue};function y(_){_.locale.value=a.value,_.fallbackLocale.value=l.value,Object.keys(c.value).forEach(P=>{_.mergeLocaleMessage(P,c.value[P])}),Object.keys(u.value).forEach(P=>{_.mergeDateTimeFormat(P,u.value[P])}),Object.keys(f.value).forEach(P=>{_.mergeNumberFormat(P,f.value[P])}),_.escapeParameter=b,_.fallbackFormat=S,_.fallbackRoot=E,_.fallbackWarn=p,_.missingWarn=d,_.warnHtmlMessage=k}return _c(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw De(ke.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const _=o.value=e.proxy.$i18n.__composer;t==="global"?(a.value=_.locale.value,l.value=_.fallbackLocale.value,c.value=_.messages.value,u.value=_.datetimeFormats.value,f.value=_.numberFormats.value):s&&y(_)}),g}const $_=["locale","fallbackLocale","availableLocales"],ml=["t","rt","d","n","tm","te"];function B_(e,t){const n=Object.create(null);return $_.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw De(ke.UNEXPECTED_ERROR);const i=we(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,ml.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw De(ke.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,ml.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}p_();__INTLIFY_JIT_COMPILATION__?Ga(c_):Ga(l_);Zg(kg);e_(Fu);if(__INTLIFY_PROD_DEVTOOLS__){const e=Vt();e.__INTLIFY__=!0,Wg(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const H_={common:{confirm:"确认",cancel:"取消",close:"关闭",delete:"删除",edit:"编辑",save:"保存",add:"添加",back:"返回",next:"下一页",previous:"上一页",loading:"加载中...",success:"成功",error:"错误",warning:"警告",info:"信息",search:"搜索",copy:"复制",uploadSuccess:"上传成功",uploadFailed:"上传失败",copySuccess:"复制成功",copyFailed:"复制失败",deleteSuccess:"删除成功",deleteFailed:"删除失败",downloadSuccess:"下载成功",downloadFailed:"下载失败",shareSuccess:"分享成功",shareFailed:"分享失败",expiredFile:"文件已过期",fileNotFound:"文件不存在",networkError:"网络错误",unknownError:"未知错误",invalidFileType:"不支持的文件类型",fileTooLarge:"文件过大",uploadCanceled:"上传已取消",processing:"处理中...",pleaseWait:"请稍候...",fileDetails:"文件详情",enabled:"已开启",disabled:"已关闭",minute:"分钟",files:"个文件",second:"秒",hour:"小时",day:"天",times:"次",appName:"文件快递柜 - FileCodeBox",appDescription:"开箱即用的文件快传系统"},admin:{dashboard:{title:"仪表盘",totalFiles:"总文件数",storageSpace:"存储空间",activeUsers:"活跃用户",systemStatus:"系统状态",yesterday:"昨天:",today:"今天:",weeklyChange:"↓ 5% 较上周",normal:"正常",serverUptime:"服务器运行时间:",version:"版本 v2.2.1 更新时间:2025-09-04"},fileManage:{title:"文件管理"},settings:{title:"系统设置",basicSettings:"基本设置",websiteInfo:"网站基本信息",websiteName:"网站名称",websiteDescription:"网站描述",siteName:"网站名称",adminPassword:"管理员密码",passwordPlaceholder:"留空则不修改密码",passwordNote:"留空则不修改",keywords:"关键词",themeSelection:"主题选择",robotsFile:"Robots.txt",notificationSettings:"通知设置",notificationTitle:"通知标题",notificationContent:"通知内容",storageSettings:"存储设置",storagePath:"存储路径",storagePathPlaceholder:"留空则使用默认路径,可不填写",storageMethod:"存储方式",localStorage:"本地存储",s3Storage:"S3 存储",webdavStorage:"Webdav 存储",chunkUploadNote:"开启切片上传(实验性功能,还在开发中,目前仅本地存储可用,可能会出现未知问题)",s3AccessKeyId:"S3 AccessKeyId",s3SecretAccessKey:"S3 SecretAccessKey",s3BucketName:"S3 BucketName",s3EndpointUrl:"S3 EndpointUrl",s3RegionName:"S3 Region Name",s3SignatureVersion:"S3 Signature Version",s3Hostname:"S3 Hostname",s3v2:"S3v2",s3v4:"S3v4",autoPlaceholder:"auto",enabled:"已开启",disabled:"已关闭",webdavUrl:"请输入 Webdav URL",webdavUsername:"请输入 Webdav Username",webdavPassword:"请输入 Webdav Password",webdavUrlPlaceholder:"请输入 Webdav URL",webdavUsernamePlaceholder:"请输入 Webdav Username",webdavPasswordPlaceholder:"请输入 Webdav Password",enableProxy:"启用代理",uploadLimits:"上传限制",uploadRateLimit:"每分钟上传限制",uploadPerMinute:"每分钟上传限制",minute:"分钟",uploadCountLimit:"上传数量限制",files:"个文件",fileSizeLimit:"文件大小限制",expirationMethod:"过期方式",expirationType:"过期类型",expiration:{day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"},maxSaveTime:"最长保存时间",timeUnits:{second:"秒",minute:"分",hour:"时",day:"天"},guestUpload:"游客上传",errorLimits:"错误限制",errorRateLimit:"每分钟错误限制",errorPerMinute:"每分钟错误限制",errorCountLimit:"错误次数限制",times:"次",saveChanges:"保存更改",fileSizeUnits:{kb:"KB",mb:"MB",gb:"GB"}}},nav:{sendFile:"发送文件",retrieveFile:"取件",fileRecords:"取件记录"},retrieve:{title:"文件取件",codeInput:{placeholder:"请输入5位取件码",label:"取件码"},submit:"取件",needSendFile:"需要发送文件?点击这里",recordsDrawer:"取件记录",messages:{invalidCode:"请输入5位取件码",retrieveSuccess:"文件获取成功",invalidCodeError:"无效的取件码",retrieveFailure:"获取文件失败:",networkError:"取件失败,请稍后重试:",unknownError:"未知错误"}},send:{title:"文件发送",sendText:"发送文本",fileDetails:"文件详情",expirationMethod:"过期方式",uploadArea:{dragText:"拖拽文件到此处或",clickText:"点击选择文件",textInput:"在此输入要发送的文本...",placeholder:"点击或拖放文件到此处上传",description:"支持各种常见格式"},submit:"安全寄送",needRetrieveFile:"需要取件?点击这里",sendRecords:"发件记录",secureEncryption:"安全加密",fileDetail:{title:"文件详情",content:"文件内容",previewContent:"预览内容",download:"点击下载",qrCode:"取件二维码",scanQrCode:"扫描二维码快速取件"},contentPreview:{title:"内容预览"},fileManage:{title:"文件管理",searchPlaceholder:"搜索文件名称、描述...",allFiles:"所有文件",editFileInfo:"编辑文件信息",saveChanges:"保存更改",headers:{code:"取件码",name:"名称",size:"大小",description:"描述",expiration:"过期时间",actions:"操作"},form:{code:"取件码",codePlaceholder:"输入取件码",filename:"文件名称",filenamePlaceholder:"输入文件名称",suffix:"文件后缀",suffixPlaceholder:"输入文件后缀",downloadLimit:"下载次数限制",downloadLimitPlaceholder:"输入下载次数限制"}},expiration:{label:"过期时间",placeholders:{days:"输入天数",hours:"输入小时数",minutes:"输入分钟数",count:"输入查看次数",forever:"永久",default:"输入值"},units:{days:"天",hours:"小时",minutes:"分钟",times:"次",forever:"永久"}},time:{day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"},messages:{selectFile:"请选择要上传的文件",enterText:"请输入要发送的文本",enterExpirationValue:"请输入过期值",expirationTooLong:"过期时间不能超过{days}天",sendSuccess:"文件发送成功!取件码:{code}",initChunkUploadFailed:"初始化切片上传失败",chunkUploadFailed:"切片 {index} 上传失败",completeUploadFailed:"完成上传失败",uploadFailed:"上传失败,请稍后重试",guestUploadDisabled:"游客上传功能已关闭",fileSizeExceeded:"文件大小超过限制 ({size})",serverError:"服务器响应异常",sendFailed:"发送失败,请稍后重试",expiresAfterCount:"{count}次后过期",expiresAt:"{date}过期",emptyFileError:"无法读取空文件",fileAddedFromClipboard:"已从剪贴板添加文件:{filename}",fileProcessingFailed:"文件处理失败",expiresAfter:"{value}{unit}后过期"}},fileManage:{title:"文件管理",searchPlaceholder:"搜索文件名称、描述...",allFiles:"所有文件",editFileInfo:"编辑文件信息",saveChanges:"保存更改",headers:{code:"取件码",name:"名称",size:"大小",description:"描述",expiration:"过期时间",actions:"操作"},form:{code:"取件码",codePlaceholder:"输入取件码",filename:"文件名称",filenamePlaceholder:"输入文件名称",suffix:"文件后缀",suffixPlaceholder:"输入文件后缀",downloadLimit:"下载次数限制",downloadLimitPlaceholder:"输入下载次数限制"}},fileRecord:{filename:"文件名",size:"文件大小",date:"取件日期",code:"取件码",actions:"操作",download:"下载",viewDetails:"查看详情",deleteRecord:"删除记录",preview:"预览",copyContent:"复制内容",contentCopied:"内容已复制到剪贴板",copyFailed:"复制失败,请重试"},fileDetail:{title:"文件详情",content:"文件内容",previewContent:"预览内容",download:"点击下载",qrCode:"取件二维码",scanQrCode:"扫描二维码快速取件"},contentPreview:{title:"内容预览"},drawer:{noRecords:"暂无记录"},fileSize:{bytes:"Bytes",kb:"KB",mb:"MB",gb:"GB",tb:"TB"},manage:{settings:{title:"系统设置",basicSettings:"基本设置",siteName:"网站名称",adminPassword:"管理员密码",passwordPlaceholder:"留空则不修改密码",passwordNote:"留空则不修改",keywords:"关键词",themeSelection:"主题选择",robotsFile:"Robots.txt",notificationSettings:"通知设置",notificationTitle:"通知标题",notificationContent:"通知内容",storageSettings:"存储设置",storagePath:"存储路径",storagePathPlaceholder:"留空则使用默认路径,可不填写",storageMethod:"存储方式",localStorage:"本地存储",chunkUploadNote:"开启切片上传(实验性功能,还在开发中,目前仅本地存储可用,可能会出现未知问题)",uploadLimits:"上传限制",uploadPerMinute:"每分钟上传限制",uploadCountLimit:"上传数量限制",fileSizeLimit:"文件大小限制",expiration:{day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"},maxSaveTime:"最长保存时间",s3SecretAccessKey:"S3 SecretAccessKey",fileSizeUnits:{kb:"KB",mb:"MB",gb:"GB"},expirationType:"过期类型",guestUpload:"游客上传",errorLimits:"错误限制",errorPerMinute:"每分钟错误限制",errorCountLimit:"错误次数限制",saveChanges:"保存更改"},dashboard:{title:"仪表盘",totalFiles:"总文件数",storageSpace:"存储空间",activeUsers:"活跃用户",systemStatus:"系统状态",yesterday:"昨天:",today:"今天:",weeklyChange:"↓ 5% 较上周",normal:"正常",serverUptime:"服务器运行时间:",version:"版本 v2.2.1 更新时间:2025-09-04"},fileManage:{title:"文件管理",searchPlaceholder:"搜索文件名称、描述...",allFiles:"所有文件",editFileInfo:"编辑文件信息",saveChanges:"保存更改",headers:{code:"取件码",name:"名称",size:"大小",description:"描述",expiration:"过期时间",actions:"操作"},form:{code:"取件码",codePlaceholder:"输入取件码",filename:"文件名称",filenamePlaceholder:"输入文件名称",suffix:"文件后缀",suffixPlaceholder:"输入文件后缀",downloadLimit:"下载次数限制",downloadLimitPlaceholder:"输入下载次数限制"},updateFailed:"更新失败",deleteFailed:"删除失败",loadFileListFailed:"加载文件列表失败"},systemSettings:{title:"系统设置",basicSettings:"基本设置",websiteInfo:"网站基本信息",websiteName:"网站名称",websiteDescription:"网站描述",adminPassword:"管理员密码",passwordPlaceholder:"留空则不修改密码",passwordNote:"留空则不修改",keywords:"关键词",themeSelection:"主题选择",notificationSettings:"通知设置",notificationTitle:"通知标题",notificationContent:"通知内容",storageSettings:"存储设置",storagePath:"存储路径",storagePathPlaceholder:"留空则使用默认路径,可不填写",storageMethod:"存储方式",localStorage:"本地存储",s3Storage:"S3 存储",webdavStorage:"Webdav 存储",chunkUploadNote:"开启切片上传(实验性功能,还在开发中,目前仅本地存储可用,可能会出现未知问题)",enabled:"已开启",disabled:"已关闭",webdavUrl:"请输入 Webdav URL",webdavUsername:"请输入 Webdav Username",webdavPassword:"请输入 Webdav Password",enableProxy:"启用代理",uploadLimits:"上传限制",uploadRateLimit:"每分钟上传限制",minute:"分钟",uploadCountLimit:"上传数量限制",files:"个文件",fileSizeLimit:"文件大小限制",expirationMethod:"过期方式",expirationMethods:{day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"},expiration:{day:"按天",hour:"按小时",minute:"按分钟",forever:"永久",count:"按次数"},maxSaveTime:"最长保存时间",timeUnits:{second:"秒",minute:"分",hour:"时",day:"天"},guestUpload:"游客上传",errorLimits:"错误限制",errorRateLimit:"每分钟错误限制",errorCountLimit:"错误次数限制",times:"次",saveSettings:"保存设置",saveSuccess:"保存成功",saveFailed:"保存失败",getConfigFailed:"获取配置失败"},login:{title:"登录",password:"密码",passwordPlaceholder:"密码",loginButton:"登录",loggingIn:"登录中...",invalidPassword:"无效的密码",passwordTooShort:"密码长度至少为6位",loginFailed:"登录失败",noValidToken:"登录失败:未获取到有效令牌"}},utils:{common:{formatTime:"格式化时间戳为可读格式",formatFileSize:"格式化文件大小",formatDuration:"格式化持续时间",time:{forever:"永久",day:"天",hour:"小时",minute:"分钟",second:"秒"},copyToClipboard:"复制文本到剪贴板",copyFailed:"复制失败:",debounce:"防抖函数",throttle:"节流函数",validateEmail:"验证邮箱格式",validateUrl:"验证URL格式",generateRandomString:"生成随机字符串",deepClone:"深度克隆对象",getFileExtension:"获取文件扩展名",isMobileDevice:"检查是否为移动设备",formatNumber:"格式化数字,添加千分位分隔符"},clipboard:{title:"剪贴板工具函数",copyText:"复制文本到剪贴板",copySuccess:"复制成功",copyFailed:"复制失败,请手动复制"}},components:{pagination:{showing:"显示第",to:"到",of:"条,共",total:"条",previous:"上一页",next:"下一页"},languageSwitcher:{clickOutsideToClose:"点击外部关闭下拉菜单"},borderProgressBar:{borderWidth:"边框宽度",cornerRadius:"拐角半径",createGradient:"创建渐变",drawBackground:"绘制背景",calculateProgress:"计算进度",drawProgress:"绘制进度"}},misc:{emptyFileError:"无法读取空文件",fileAddedFromClipboard:"已从剪贴板添加文件:",fileProcessFailed:"文件处理失败",chunkSize:"保持 2MB 的切片大小用于计算哈希",secureContext:"如果不是安全上下文(HTTP),则返回一个基于文件信息的替代哈希",cryptoFallback:"如果 crypto.subtle.digest 失败,使用替代方案",generateAlternativeHash:"生成替代哈希的函数",fileInfoHash:"使用文件名、大小和最后修改时间生成一个简单的哈希",convertToHex:"转换为16进制字符串并填充到64位",defaultChunkSize:"默认切片大小为5MB",initChunkUpload:"1. 初始化切片上传",uploadChunk:"2. 上传切片",completeUpload:"3. 完成上传",chunkUploadFailed:"切片上传失败:",uploadProgressListener:"添加上传进度监听",noLimitCheck:"如果没有限制,直接返回true",expirationValidation:"添加过期时间验证",chunkUploadReplacement:"使用切片上传替代原来的直接上传",textUploadUnchanged:"文本上传保持不变",addSendRecord:"添加新的发送记录",permanent:"永久",sendSuccessMessage:"显示发送成功消息",resetForm:"重置表单 - 只重置文件和文本内容,保留过期信息",showDetails:"显示详情",autoCopyLink:"自动复制取件码链接",delayedLoading:"使用 onMounted 钩子延迟加载一些非关键资源或初始化",nonCriticalInit:"这里可以放置一些非立即需要的初始化代码"}},W_={common:{confirm:"Confirm",cancel:"Cancel",close:"Close",delete:"Delete",edit:"Edit",save:"Save",add:"Add",back:"Back",next:"Next",previous:"Previous",loading:"Loading...",noData:"No Data",success:"Success",error:"Error",warning:"Warning",info:"Information",search:"Search",copy:"Copy",uploadSuccess:"Upload successful",uploadFailed:"Upload failed",copySuccess:"Copy successful",copyFailed:"Copy failed",deleteSuccess:"Delete successful",deleteFailed:"Delete failed",downloadSuccess:"Download successful",downloadFailed:"Download failed",shareSuccess:"Share successful",shareFailed:"Share failed",expiredFile:"File has expired",fileNotFound:"File not found",networkError:"Network error",unknownError:"Unknown error",invalidFileType:"Invalid file type",fileTooLarge:"File too large",uploadCanceled:"Upload canceled",processing:"Processing",pleaseWait:"Please wait",fileDetails:"File Details",enabled:"Enabled",disabled:"Disabled",minute:"minute",files:"files",second:"second",hour:"hour",day:"day",times:"times",appName:"FileCodeBox - File Transfer",appDescription:"Ready-to-use file transfer system"},admin:{dashboard:{title:"Dashboard",totalFiles:"Total Files",storageSpace:"Storage Space",activeUsers:"Active Users",systemStatus:"System Status",yesterday:"Yesterday:",today:"Today:",weeklyChange:"↓ 5% from last week",normal:"Normal",serverUptime:"Server Uptime:",version:"Version v2.2.1 Updated: 2025-09-04"},fileManage:{title:"File Management"},settings:{title:"System Settings",basicSettings:"Basic Settings",websiteInfo:"Website Basic Information",websiteName:"Website Name",websiteDescription:"Website Description",siteName:"Site Name",adminPassword:"Admin Password",passwordPlaceholder:"Leave blank to keep current password",passwordNote:"Leave blank to keep unchanged",keywords:"Keywords",themeSelection:"Theme Selection",robotsFile:"Robots.txt",notificationSettings:"Notification Settings",notificationTitle:"Notification Title",notificationContent:"Notification Content",storageSettings:"Storage Settings",storagePath:"Storage Path",storagePathPlaceholder:"Leave blank to use default path, optional",storageMethod:"Storage Method",localStorage:"Local Storage",s3Storage:"S3 Storage",webdavStorage:"Webdav Storage",chunkUploadNote:"Enable chunk upload (experimental feature, still in development, currently only available for local storage, may have unknown issues)",s3AccessKeyId:"S3 AccessKeyId",s3SecretAccessKey:"S3 SecretAccessKey",s3BucketName:"S3 BucketName",s3EndpointUrl:"S3 EndpointUrl",s3RegionName:"S3 Region Name",s3SignatureVersion:"S3 Signature Version",s3Hostname:"S3 Hostname",s3v2:"S3v2",s3v4:"S3v4",autoPlaceholder:"auto",enabled:"Enabled",disabled:"Disabled",webdavUrl:"Please enter Webdav URL",webdavUsername:"Please enter Webdav Username",webdavPassword:"Please enter Webdav Password",webdavUrlPlaceholder:"Please enter Webdav URL",webdavUsernamePlaceholder:"Please enter Webdav Username",webdavPasswordPlaceholder:"Please enter Webdav Password",enableProxy:"Enable Proxy",uploadLimits:"Upload Limits",uploadRateLimit:"Upload Rate Limit",uploadPerMinute:"Upload Per Minute",minute:"minute",uploadCountLimit:"Upload Count Limit",files:"files",fileSizeLimit:"File Size Limit",expirationMethod:"Expiration Method",expirationType:"Expiration Type",expiration:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count"},maxSaveTime:"Maximum Save Time",timeUnits:{second:"second",minute:"minute",hour:"hour",day:"day"},guestUpload:"Guest Upload",errorLimits:"Error Limits",errorRateLimit:"Error Rate Limit",errorPerMinute:"Error Per Minute",errorCountLimit:"Error Count Limit",times:"times",saveChanges:"Save Changes",fileSizeUnits:{kb:"KB",mb:"MB",gb:"GB"}}},nav:{sendFile:"Send File",retrieveFile:"Retrieve",fileRecords:"File Records"},retrieve:{title:"File Retrieval",codeInput:{placeholder:"Enter 5-digit retrieval code",label:"Retrieval Code"},submit:"Retrieve",needSendFile:"Need to send a file? Click here",recordsDrawer:"Retrieval Records",messages:{invalidCode:"Please enter a 5-digit retrieval code",retrieveSuccess:"File retrieved successfully",invalidCodeError:"Invalid retrieval code",retrieveFailure:"Failed to retrieve file: ",networkError:"Retrieval failed, please try again later: ",unknownError:"Unknown error"}},send:{title:"File Send",sendText:"Send Text",uploadArea:{dragText:"Drag files here or",clickText:"click to select files",textInput:"Enter text to send here...",placeholder:"Click or drag files here to upload",description:"Supports various common formats"},submit:"Secure Send",needRetrieveFile:"Need to retrieve? Click here",sendRecords:"Send Records",secureEncryption:"Secure Encryption",fileDetails:"File Details",expirationMethod:"Expiration Method",expiration:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count",label:"Expiration Time",placeholders:{days:"Enter days",hours:"Enter hours",minutes:"Enter minutes",count:"Enter view count",forever:"Forever",default:"Enter value"},units:{days:"days",hours:"hours",minutes:"minutes",times:"times",forever:"Forever"}},time:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count"},messages:{selectFile:"Please select a file to upload",enterText:"Please enter text to send",enterExpirationValue:"Please enter expiration value",expirationTooLong:"Expiration time cannot exceed {days} days",sendSuccess:"File sent successfully! Retrieve code: {code}",initChunkUploadFailed:"Failed to initialize chunk upload",chunkUploadFailed:"Chunk {index} upload failed",completeUploadFailed:"Failed to complete upload",uploadFailed:"Upload failed, please try again later",guestUploadDisabled:"Guest upload feature is disabled",fileSizeExceeded:"File size exceeds limit ({size})",serverError:"Server response error",sendFailed:"Send failed, please try again later",expiresAfterCount:"Expires after {count} times",expiresAt:"Expires at {date}",emptyFileError:"Cannot read empty file",fileAddedFromClipboard:"File added from clipboard: {filename}",fileProcessingFailed:"File processing failed",expiresAfter:"Expires after {value} {unit}"}},fileRecord:{filename:"Filename",size:"Size",date:"Date",code:"Code",actions:"Actions",download:"Download",viewDetails:"View Details",deleteRecord:"Delete Record",preview:"Preview",copyContent:"Copy Content",contentCopied:"Content copied to clipboard",copyFailed:"Copy failed, please try again"},fileDetail:{title:"File Details",content:"File Content",previewContent:"Preview Content",download:"Click to Download",qrCode:"Retrieve QR Code",scanQrCode:"Scan QR code for quick retrieval"},contentPreview:{title:"Content Preview"},fileManage:{title:"File Management",searchPlaceholder:"Search file name, description...",allFiles:"All Files",editFileInfo:"Edit File Information",saveChanges:"Save Changes",headers:{code:"Retrieve Code",name:"Name",size:"Size",description:"Description",expiration:"Expiration",actions:"Actions"},form:{code:"Retrieve Code",codePlaceholder:"Enter retrieve code",filename:"File Name",filenamePlaceholder:"Enter file name",suffix:"File Extension",suffixPlaceholder:"Enter file extension",downloadLimit:"Download Limit",downloadLimitPlaceholder:"Enter download limit"}},drawer:{noRecords:"No records"},manage:{settings:{title:"System Settings",basicSettings:"Basic Settings",websiteInfo:"Website Basic Information",websiteName:"Website Name",websiteDescription:"Website Description",siteName:"Site Name",adminPassword:"Admin Password",passwordPlaceholder:"Leave blank to keep current password",passwordNote:"Leave blank to keep unchanged",keywords:"Keywords",themeSelection:"Theme Selection",notificationSettings:"Notification Settings",notificationTitle:"Notification Title",notificationContent:"Notification Content",storageSettings:"Storage Settings",storagePath:"Storage Path",storagePathPlaceholder:"Leave blank to use default path, optional",storageMethod:"Storage Method",localStorage:"Local Storage",s3Storage:"S3 Storage",webdavStorage:"Webdav Storage",chunkUploadNote:"Enable chunk upload (experimental feature, still in development, currently only available for local storage, may have unknown issues)",enabled:"Enabled",disabled:"Disabled",webdavUrl:"Please enter Webdav URL",webdavUsername:"Please enter Webdav Username",webdavPassword:"Please enter Webdav Password",webdavUrlPlaceholder:"Please enter Webdav URL",webdavUsernamePlaceholder:"Please enter Webdav Username",webdavPasswordPlaceholder:"Please enter Webdav Password",enableProxy:"Enable Proxy",uploadLimits:"Upload Limits",uploadRateLimit:"Upload Rate Limit",uploadPerMinute:"Upload Per Minute",minute:"minute",uploadCountLimit:"Upload Count Limit",files:"files",fileSizeLimit:"File Size Limit",expirationMethod:"Expiration Method",expirationType:"Expiration Type",expiration:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count"},maxSaveTime:"Maximum Save Time",timeUnits:{second:"second",minute:"minute",hour:"hour",day:"day"},guestUpload:"Guest Upload",errorLimits:"Error Limits",errorRateLimit:"Error Rate Limit",errorPerMinute:"Error Per Minute",errorCountLimit:"Error Count Limit",times:"times",fileSizeUnits:{kb:"KB",mb:"MB",gb:"GB"},saveChanges:"Save Changes"},systemSettings:{title:"System Settings",basicSettings:"Basic Settings",websiteInfo:"Website Basic Information",websiteName:"Website Name",websiteDescription:"Website Description",adminPassword:"Admin Password",passwordPlaceholder:"Leave blank to keep current password",passwordNote:"Leave blank to keep unchanged",keywords:"Keywords",themeSelection:"Theme Selection",notificationSettings:"Notification Settings",notificationTitle:"Notification Title",notificationContent:"Notification Content",storageSettings:"Storage Settings",storagePath:"Storage Path",storagePathPlaceholder:"Leave blank to use default path, optional",storageMethod:"Storage Method",localStorage:"Local Storage",s3Storage:"S3 Storage",webdavStorage:"Webdav Storage",chunkUploadNote:"Enable chunk upload (experimental feature, still in development, currently only available for local storage, may have unknown issues)",enabled:"Enabled",disabled:"Disabled",webdavUrl:"Please enter Webdav URL",webdavUsername:"Please enter Webdav Username",webdavPassword:"Please enter Webdav Password",enableProxy:"Enable Proxy",uploadLimits:"Upload Limits",uploadRateLimit:"Upload Rate Limit",minute:"minute",uploadCountLimit:"Upload Count Limit",files:"files",fileSizeLimit:"File Size Limit",expirationMethod:"Expiration Method",expirationMethods:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count"},expiration:{day:"By Day",hour:"By Hour",minute:"By Minute",forever:"Forever",count:"By Count"},maxSaveTime:"Maximum Save Time",timeUnits:{second:"second",minute:"minute",hour:"hour",day:"day"},guestUpload:"Guest Upload",errorLimits:"Error Limits",errorRateLimit:"Error Rate Limit",errorCountLimit:"Error Count Limit",times:"times",saveSettings:"Save Settings",saveSuccess:"Save successful",saveFailed:"Save failed",getConfigFailed:"Failed to get configuration"},dashboard:{title:"Dashboard",totalFiles:"Total Files",storageSpace:"Storage Space",activeUsers:"Active Users",systemStatus:"System Status",yesterday:"Yesterday:",today:"Today:",weeklyChange:"↓ 5% from last week",normal:"Normal",serverUptime:"Server Uptime:",version:"Version v2.2.1 Updated: 2025-09-04"},fileManage:{title:"File Management",searchPlaceholder:"Search file name, description...",allFiles:"All Files",editFileInfo:"Edit File Info",saveChanges:"Save Changes",headers:{code:"Code",name:"Name",size:"Size",description:"Description",expiration:"Expiration",actions:"Actions"},form:{code:"Code",codePlaceholder:"Enter code",filename:"File Name",filenamePlaceholder:"Enter file name",suffix:"File Suffix",suffixPlaceholder:"Enter file suffix",downloadLimit:"Download Limit",downloadLimitPlaceholder:"Enter download limit"},updateFailed:"Update failed",deleteFailed:"Delete failed",loadFileListFailed:"Failed to load file list"},login:{title:"Login",password:"Password",passwordPlaceholder:"Password",loginButton:"Login",loggingIn:"Logging in...",invalidPassword:"Invalid password",passwordTooShort:"Password must be at least 6 characters",loginFailed:"Login failed",noValidToken:"Login failed: No valid token received"}},fileSize:{bytes:"Bytes",kb:"KB",mb:"MB",gb:"GB",tb:"TB"},utils:{formatTime:"Format timestamp to readable format",formatFileSize:"Format file size",formatDuration:"Format duration",time:{forever:"Forever",day:"day",hour:"hour",minute:"minute",second:"second"},copyToClipboard:"Copy text to clipboard",copyFailed:"Copy failed:",debounce:"Debounce function",throttle:"Throttle function",validateEmail:"Validate email format",validateUrl:"Validate URL format",generateRandomString:"Generate random string",deepClone:"Deep clone object",getFileExtension:"Get file extension",isMobileDevice:"Check if mobile device",formatNumber:"Format number with thousand separators",clipboard:{title:"Clipboard utility functions",copyText:"Copy text to clipboard",copySuccess:"Copy successful",copyFailed:"Copy failed, please copy manually"}},components:{pagination:{showing:"Showing",to:"to",of:"of",total:"total",previous:"Previous",next:"Next"},languageSwitcher:{clickOutsideToClose:"Click outside to close dropdown menu"},borderProgressBar:{borderWidth:"Border width",cornerRadius:"Corner radius",createGradient:"Create gradient",drawBackground:"Draw background",calculateProgress:"Calculate progress",drawProgress:"Draw progress"}},misc:{emptyFileError:"Cannot read empty file",fileAddedFromClipboard:"File added from clipboard: ",fileProcessFailed:"File processing failed",chunkSize:"Keep 2MB chunk size for hash calculation",secureContext:"If not in secure context (HTTP), return an alternative hash based on file info",cryptoFallback:"If crypto.subtle.digest fails, use fallback method",generateAlternativeHash:"Function to generate alternative hash",fileInfoHash:"Generate simple hash using filename, size and last modified time",convertToHex:"Convert to hex string and pad to 64 bits",defaultChunkSize:"Default chunk size is 5MB",initChunkUpload:"1. Initialize chunk upload",uploadChunk:"2. Upload chunk",completeUpload:"3. Complete upload",chunkUploadFailed:"Chunk upload failed: ",uploadProgressListener:"Add upload progress listener",noLimitCheck:"If no limit, return true directly",expirationValidation:"Add expiration time validation",chunkUploadReplacement:"Use chunk upload to replace direct upload",textUploadUnchanged:"Text upload remains unchanged",addSendRecord:"Add new send record",permanent:"Permanent",sendSuccessMessage:"Show send success message",resetForm:"Reset form - only reset file and text content, keep expiration info",showDetails:"Show details",autoCopyLink:"Auto copy retrieve code link",delayedLoading:"Use onMounted hook to delay load non-critical resources or initialization",nonCriticalInit:"Place non-immediately needed initialization code here"}},V_=()=>{const e=localStorage.getItem("locale");return e||(navigator.language.toLowerCase().startsWith("zh")?"zh-CN":"en-US")},j_={"zh-CN":H_,"en-US":W_},ef=N_({legacy:!1,locale:V_(),fallbackLocale:"zh-CN",messages:j_,globalInjection:!0}),K_=e=>{ef.global.locale.value=e,localStorage.setItem("locale",e),document.documentElement.lang=e},ho=[{code:"zh-CN",name:"中文"},{code:"en-US",name:"English"}],G_={class:"relative"},q_={class:"text-sm font-medium"},Y_={class:"py-1"},z_=["onClick"],X_=Xt({__name:"LanguageSwitcher",setup(e){const{locale:t}=Hr(),n=Xe("isDarkMode"),r=st(!1),s=_e(()=>t.value),o=_e(()=>ho.find(c=>c.code===s.value)||ho[0]),i=()=>{r.value=!r.value},a=c=>{K_(c),r.value=!1},l=c=>{c.target.closest(".relative")||(r.value=!1)};return Zn(()=>{document.addEventListener("click",l)}),er(()=>{document.removeEventListener("click",l)}),(c,u)=>(Ve(),jt("div",G_,[Be("button",{onClick:i,class:At(["flex items-center space-x-2 px-3 py-2 rounded-lg transition-all duration-200",ve(n)?"bg-gray-800/60 hover:bg-gray-700/80 text-gray-300 hover:text-white":"bg-gray-100 hover:bg-gray-200 text-gray-700 hover:text-gray-900"])},[Pe(ve(Lp),{class:"w-4 h-4"}),Be("span",q_,br(o.value.name),1),Pe(ve(wp),{class:At(["w-4 h-4 transition-transform duration-200",{"rotate-180":r.value}])},null,8,["class"])],2),Pe(Jc,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:wr(()=>[r.value?(Ve(),jt("div",{key:0,class:At(["absolute right-0 mt-2 w-32 rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 z-50",ve(n)?"bg-gray-800 border border-gray-700":"bg-white border border-gray-200"])},[Be("div",Y_,[(Ve(!0),jt(Me,null,Tc(ve(ho),f=>(Ve(),jt("button",{key:f.code,onClick:d=>a(f.code),class:At(["w-full text-left px-4 py-2 text-sm transition-colors duration-150",s.value===f.code?ve(n)?"bg-indigo-600 text-white":"bg-indigo-50 text-indigo-600":ve(n)?"text-gray-300 hover:bg-gray-700 hover:text-white":"text-gray-700 hover:bg-gray-100"])},br(f.name),11,z_))),128))])],2)):Kc("",!0)]),_:1})]))}}),hl={COLOR_MODE:"colorMode",ADMIN_PASSWORD:"adminPassword",TOKEN:"token"},$e={LIGHT:"light",DARK:"dark",SYSTEM:"system"},rE={IDLE:"idle",UPLOADING:"uploading",SUCCESS:"success",ERROR:"error"},tf={ALERT_DURATION:5e3,REQUEST_TIMEOUT:3e4},nf=dh("alert",{state:()=>({alerts:[]}),actions:{showAlert(e,t="info",n=tf.ALERT_DURATION){const r=Date.now(),s=Date.now();this.alerts.push({id:r,message:e,type:t,progress:100,duration:n,startTime:s}),setTimeout(()=>this.removeAlert(r),n)},removeAlert(e){const t=this.alerts.findIndex(n=>n.id===e);t>-1&&this.alerts.splice(t,1)},updateAlertProgress(e){const t=this.alerts.find(n=>n.id===e);if(t){const r=100-(Date.now()-t.startTime)/t.duration*100;t.progress=Math.max(0,r),t.progress<=0&&this.removeAlert(e)}}}}),J_={class:"p-4"},Q_={class:"flex items-start"},Z_={class:"flex-shrink-0"},ey={class:"ml-3 flex-1 pt-0.5"},ty={class:"text-sm font-medium text-white"},ny={class:"ml-4 flex-shrink-0 flex"},ry=["onClick"],sy={class:"sr-only"},oy={class:"h-1 bg-white bg-opacity-25"},iy=Xt({__name:"AlertComponent",setup(e){const{t}=Hr(),n=nf(),{alerts:r}=mh(n),{removeAlert:s,updateAlertProgress:o}=n,i={success:"from-green-500 to-green-600",error:"from-red-500 to-red-600",warning:"from-yellow-500 to-yellow-600",info:"from-blue-500 to-blue-600"},a={success:Cp,error:Np,warning:Tp,info:Pp};let l;return Zn(()=>{l=setInterval(()=>{r.value.forEach(c=>{o(c.id)})},100)}),er(()=>{clearInterval(l)}),(c,u)=>(Ve(),dn(Gm,{name:"alert-fade",tag:"div",class:"fixed top-4 left-4 z-50 w-full sm:max-w-sm md:max-w-md space-y-4 px-4 sm:px-0"},{default:wr(()=>[(Ve(!0),jt(Me,null,Tc(ve(r),f=>(Ve(),jt("div",{key:f.id,class:At(["w-full rounded-lg shadow-xl overflow-hidden","bg-gradient-to-r",i[f.type]])},[Be("div",J_,[Be("div",Q_,[Be("div",Z_,[(Ve(),dn(Sc(a[f.type]),{class:"h-6 w-6 text-white"}))]),Be("div",ey,[Be("p",ty,br(f.message),1)]),Be("div",ny,[Be("button",{onClick:d=>ve(s)(f.id),class:"inline-flex text-white hover:text-gray-200 focus:outline-none transition-colors duration-200"},[Be("span",sy,br(ve(t)("common.close")),1),Pe(ve(Ap),{class:"h-5 w-5"})],8,ry)])])]),Be("div",oy,[Be("div",{class:"h-full bg-white transition-all duration-100 ease-out",style:Cs({width:`${f.progress}%`})},null,4)])],2))),128))]),_:1}))}}),ay=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ly=ay(iy,[["__scopeId","data-v-59f86e5f"]]);function rf(e,t){return function(){return e.apply(t,arguments)}}const{toString:cy}=Object.prototype,{getPrototypeOf:wi}=Object,{iterator:Bs,toStringTag:sf}=Symbol,Hs=(e=>t=>{const n=cy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),wt=e=>(e=e.toLowerCase(),t=>Hs(t)===e),Ws=e=>t=>typeof t===e,{isArray:nr}=Array,xr=Ws("undefined");function Wr(e){return e!==null&&!xr(e)&&e.constructor!==null&&!xr(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const of=wt("ArrayBuffer");function uy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&of(e.buffer),t}const fy=Ws("string"),ot=Ws("function"),af=Ws("number"),Vr=e=>e!==null&&typeof e=="object",dy=e=>e===!0||e===!1,rs=e=>{if(Hs(e)!=="object")return!1;const t=wi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(sf in e)&&!(Bs in e)},my=e=>{if(!Vr(e)||Wr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},hy=wt("Date"),py=wt("File"),gy=wt("Blob"),_y=wt("FileList"),yy=e=>Vr(e)&&ot(e.pipe),by=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Hs(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},Ey=wt("URLSearchParams"),[vy,Sy,wy,Ty]=["ReadableStream","Request","Response","Headers"].map(wt),Cy=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const On=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cf=e=>!xr(e)&&e!==On;function Wo(){const{caseless:e}=cf(this)&&this||{},t={},n=(r,s)=>{const o=e&&lf(t,s)||s;rs(t[o])&&rs(r)?t[o]=Wo(t[o],r):rs(r)?t[o]=Wo({},r):nr(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(jr(t,(s,o)=>{n&&ot(s)?e[o]=rf(s,n):e[o]=s},{allOwnKeys:r}),e),Py=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ry=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Oy=(e,t,n,r)=>{let s,o,i;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&wi(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Ny=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Ay=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!af(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Iy=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&wi(Uint8Array)),ky=(e,t)=>{const r=(e&&e[Bs]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},xy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Fy=wt("HTMLFormElement"),My=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),pl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Dy=wt("RegExp"),uf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};jr(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Uy=e=>{uf(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ot(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$y=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},By=()=>{},Hy=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Wy(e){return!!(e&&ot(e.append)&&e[sf]==="FormData"&&e[Bs])}const Vy=e=>{const t=new Array(10),n=(r,s)=>{if(Vr(r)){if(t.indexOf(r)>=0)return;if(Wr(r))return r;if(!("toJSON"in r)){t[s]=r;const o=nr(r)?[]:{};return jr(r,(i,a)=>{const l=n(i,s+1);!xr(l)&&(o[a]=l)}),t[s]=void 0,o}}return r};return n(e,0)},jy=wt("AsyncFunction"),Ky=e=>e&&(Vr(e)||ot(e))&&ot(e.then)&&ot(e.catch),ff=((e,t)=>e?setImmediate:t?((n,r)=>(On.addEventListener("message",({source:s,data:o})=>{s===On&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),On.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ot(On.postMessage)),Gy=typeof queueMicrotask<"u"?queueMicrotask.bind(On):typeof process<"u"&&process.nextTick||ff,qy=e=>e!=null&&ot(e[Bs]),A={isArray:nr,isArrayBuffer:of,isBuffer:Wr,isFormData:by,isArrayBufferView:uy,isString:fy,isNumber:af,isBoolean:dy,isObject:Vr,isPlainObject:rs,isEmptyObject:my,isReadableStream:vy,isRequest:Sy,isResponse:wy,isHeaders:Ty,isUndefined:xr,isDate:hy,isFile:py,isBlob:gy,isRegExp:Dy,isFunction:ot,isStream:yy,isURLSearchParams:Ey,isTypedArray:Iy,isFileList:_y,forEach:jr,merge:Wo,extend:Ly,trim:Cy,stripBOM:Py,inherits:Ry,toFlatObject:Oy,kindOf:Hs,kindOfTest:wt,endsWith:Ny,toArray:Ay,forEachEntry:ky,matchAll:xy,isHTMLForm:Fy,hasOwnProperty:pl,hasOwnProp:pl,reduceDescriptors:uf,freezeMethods:Uy,toObjectSet:$y,toCamelCase:My,noop:By,toFiniteNumber:Hy,findKey:lf,global:On,isContextDefined:cf,isSpecCompliantForm:Wy,toJSONObject:Vy,isAsyncFn:jy,isThenable:Ky,setImmediate:ff,asap:Gy,isIterable:qy};function se(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}A.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}});const df=se.prototype,mf={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mf[e]={value:e}});Object.defineProperties(se,mf);Object.defineProperty(df,"isAxiosError",{value:!0});se.from=(e,t,n,r,s,o)=>{const i=Object.create(df);return A.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),se.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Yy=null;function Vo(e){return A.isPlainObject(e)||A.isArray(e)}function hf(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function gl(e,t,n){return e?e.concat(t).map(function(s,o){return s=hf(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function zy(e){return A.isArray(e)&&!e.some(Vo)}const Xy=A.toFlatObject(A,{},null,function(t){return/^is[A-Z]/.test(t)});function Vs(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,w){return!A.isUndefined(w[S])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(s))throw new TypeError("visitor must be a function");function c(E){if(E===null)return"";if(A.isDate(E))return E.toISOString();if(A.isBoolean(E))return E.toString();if(!l&&A.isBlob(E))throw new se("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(E)||A.isTypedArray(E)?l&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function u(E,S,w){let O=E;if(E&&!w&&typeof E=="object"){if(A.endsWith(S,"{}"))S=r?S:S.slice(0,-2),E=JSON.stringify(E);else if(A.isArray(E)&&zy(E)||(A.isFileList(E)||A.endsWith(S,"[]"))&&(O=A.toArray(E)))return S=hf(S),O.forEach(function(b,v){!(A.isUndefined(b)||b===null)&&t.append(i===!0?gl([S],v,o):i===null?S:S+"[]",c(b))}),!1}return Vo(E)?!0:(t.append(gl(w,S,o),c(E)),!1)}const f=[],d=Object.assign(Xy,{defaultVisitor:u,convertValue:c,isVisitable:Vo});function p(E,S){if(!A.isUndefined(E)){if(f.indexOf(E)!==-1)throw Error("Circular reference detected in "+S.join("."));f.push(E),A.forEach(E,function(O,k){(!(A.isUndefined(O)||O===null)&&s.call(t,O,A.isString(k)?k.trim():k,S,d))===!0&&p(O,S?S.concat(k):[k])}),f.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return p(e),t}function _l(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ti(e,t){this._pairs=[],e&&Vs(e,this,t)}const pf=Ti.prototype;pf.append=function(t,n){this._pairs.push([t,n])};pf.toString=function(t){const n=t?function(r){return t.call(this,r,_l)}:_l;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Jy(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gf(e,t,n){if(!t)return e;const r=n&&n.encode||Jy;A.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=A.isURLSearchParams(t)?t.toString():new Ti(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class yl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(r){r!==null&&t(r)})}}const _f={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qy=typeof URLSearchParams<"u"?URLSearchParams:Ti,Zy=typeof FormData<"u"?FormData:null,eb=typeof Blob<"u"?Blob:null,tb={isBrowser:!0,classes:{URLSearchParams:Qy,FormData:Zy,Blob:eb},protocols:["http","https","file","blob","url","data"]},Ci=typeof window<"u"&&typeof document<"u",jo=typeof navigator=="object"&&navigator||void 0,nb=Ci&&(!jo||["ReactNative","NativeScript","NS"].indexOf(jo.product)<0),rb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sb=Ci&&window.location.href||"http://localhost",ob=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ci,hasStandardBrowserEnv:nb,hasStandardBrowserWebWorkerEnv:rb,navigator:jo,origin:sb},Symbol.toStringTag,{value:"Module"})),ze={...ob,...tb};function ib(e,t){return Vs(e,new ze.classes.URLSearchParams,{visitor:function(n,r,s,o){return ze.isNode&&A.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function ab(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function lb(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&A.isArray(s)?s.length:i,l?(A.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!a):((!s[i]||!A.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&A.isArray(s[i])&&(s[i]=lb(s[i])),!a)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(r,s)=>{t(ab(r),s,n,0)}),n}return null}function cb(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Kr={transitional:_f,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=A.isObject(t);if(o&&A.isHTMLForm(t)&&(t=new FormData(t)),A.isFormData(t))return s?JSON.stringify(yf(t)):t;if(A.isArrayBuffer(t)||A.isBuffer(t)||A.isStream(t)||A.isFile(t)||A.isBlob(t)||A.isReadableStream(t))return t;if(A.isArrayBufferView(t))return t.buffer;if(A.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ib(t,this.formSerializer).toString();if((a=A.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Vs(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),cb(t)):t}],transformResponse:[function(t){const n=this.transitional||Kr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(A.isResponse(t)||A.isReadableStream(t))return t;if(t&&A.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?se.from(a,se.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ze.classes.FormData,Blob:ze.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{Kr.headers[e]={}});const ub=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fb=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&ub[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},bl=Symbol("internals");function lr(e){return e&&String(e).trim().toLowerCase()}function ss(e){return e===!1||e==null?e:A.isArray(e)?e.map(ss):String(e)}function db(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const mb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function po(e,t,n,r,s){if(A.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!A.isString(t)){if(A.isString(r))return t.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(t)}}function hb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function pb(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}let it=class{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(a,l,c){const u=lr(l);if(!u)throw new Error("header name must be a non-empty string");const f=A.findKey(s,u);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||l]=ss(a))}const i=(a,l)=>A.forEach(a,(c,u)=>o(c,u,l));if(A.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(A.isString(t)&&(t=t.trim())&&!mb(t))i(fb(t),n);else if(A.isObject(t)&&A.isIterable(t)){let a={},l,c;for(const u of t){if(!A.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?A.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}i(a,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=lr(t),t){const r=A.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return db(s);if(A.isFunction(n))return n.call(this,s,r);if(A.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=lr(t),t){const r=A.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||po(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=lr(i),i){const a=A.findKey(r,i);a&&(!n||po(r,r[a],a,n))&&(delete r[a],s=!0)}}return A.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||po(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return A.forEach(this,(s,o)=>{const i=A.findKey(r,o);if(i){n[i]=ss(s),delete n[o];return}const a=t?hb(o):String(o).trim();a!==o&&delete n[o],n[a]=ss(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return A.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&A.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[bl]=this[bl]={accessors:{}}).accessors,s=this.prototype;function o(i){const a=lr(i);r[a]||(pb(s,i),r[a]=!0)}return A.isArray(t)?t.forEach(o):o(t),this}};it.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);A.reduceDescriptors(it.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});A.freezeMethods(it);function go(e,t){const n=this||Kr,r=t||n,s=it.from(r.headers);let o=r.data;return A.forEach(e,function(a){o=a.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function bf(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}A.inherits(rr,se,{__CANCEL__:!0});function Ef(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function gb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function _b(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];i||(i=c),n[s]=l,r[s]=c;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i{n=u,s=null,o&&(clearTimeout(o),o=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?i(c,u):(s=c,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const bs=(e,t,n=3)=>{let r=0;const s=_b(50,250);return yb(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,l=i-r,c=s(l),u=i<=a;r=i;const f={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-i)/c:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},El=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},vl=e=>(...t)=>A.asap(()=>e(...t)),bb=ze.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ze.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ze.origin),ze.navigator&&/(msie|trident)/i.test(ze.navigator.userAgent)):()=>!0,Eb=ze.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];A.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),A.isString(r)&&i.push("path="+r),A.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function vb(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Sb(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vf(e,t,n){let r=!vb(t);return e&&(r||n==!1)?Sb(e,t):t}const Sl=e=>e instanceof it?{...e}:e;function Fn(e,t){t=t||{};const n={};function r(c,u,f,d){return A.isPlainObject(c)&&A.isPlainObject(u)?A.merge.call({caseless:d},c,u):A.isPlainObject(u)?A.merge({},u):A.isArray(u)?u.slice():u}function s(c,u,f,d){if(A.isUndefined(u)){if(!A.isUndefined(c))return r(void 0,c,f,d)}else return r(c,u,f,d)}function o(c,u){if(!A.isUndefined(u))return r(void 0,u)}function i(c,u){if(A.isUndefined(u)){if(!A.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,f){if(f in t)return r(c,u);if(f in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u,f)=>s(Sl(c),Sl(u),f,!0)};return A.forEach(Object.keys({...e,...t}),function(u){const f=l[u]||s,d=f(e[u],t[u],u);A.isUndefined(d)&&f!==a||(n[u]=d)}),n}const Sf=e=>{const t=Fn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:a}=t;t.headers=i=it.from(i),t.url=gf(vf(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(A.isFormData(n)){if(ze.hasStandardBrowserEnv||ze.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[c,...u]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ze.hasStandardBrowserEnv&&(r&&A.isFunction(r)&&(r=r(t)),r||r!==!1&&bb(t.url))){const c=s&&o&&Eb.read(o);c&&i.set(s,c)}return t},wb=typeof XMLHttpRequest<"u",Tb=wb&&function(e){return new Promise(function(n,r){const s=Sf(e);let o=s.data;const i=it.from(s.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=s,u,f,d,p,E;function S(){p&&p(),E&&E(),s.cancelToken&&s.cancelToken.unsubscribe(u),s.signal&&s.signal.removeEventListener("abort",u)}let w=new XMLHttpRequest;w.open(s.method.toUpperCase(),s.url,!0),w.timeout=s.timeout;function O(){if(!w)return;const b=it.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),L={data:!a||a==="text"||a==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:b,config:e,request:w};Ef(function(M){n(M),S()},function(M){r(M),S()},L),w=null}"onloadend"in w?w.onloadend=O:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(O)},w.onabort=function(){w&&(r(new se("Request aborted",se.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new se("Network Error",se.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let v=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const L=s.transitional||_f;s.timeoutErrorMessage&&(v=s.timeoutErrorMessage),r(new se(v,L.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,w)),w=null},o===void 0&&i.setContentType(null),"setRequestHeader"in w&&A.forEach(i.toJSON(),function(v,L){w.setRequestHeader(L,v)}),A.isUndefined(s.withCredentials)||(w.withCredentials=!!s.withCredentials),a&&a!=="json"&&(w.responseType=s.responseType),c&&([d,E]=bs(c,!0),w.addEventListener("progress",d)),l&&w.upload&&([f,p]=bs(l),w.upload.addEventListener("progress",f),w.upload.addEventListener("loadend",p)),(s.cancelToken||s.signal)&&(u=b=>{w&&(r(!b||b.type?new rr(null,e,w):b),w.abort(),w=null)},s.cancelToken&&s.cancelToken.subscribe(u),s.signal&&(s.signal.aborted?u():s.signal.addEventListener("abort",u)));const k=gb(s.url);if(k&&ze.protocols.indexOf(k)===-1){r(new se("Unsupported protocol "+k+":",se.ERR_BAD_REQUEST,e));return}w.send(o||null)})},Cb=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(c){if(!s){s=!0,a();const u=c instanceof Error?c:this.reason;r.abort(u instanceof se?u:new rr(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,o(new se(`timeout ${t} of ms exceeded`,se.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>A.asap(a),l}},Lb=function*(e,t){let n=e.byteLength;if(n{const s=Pb(e,t);let o=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await s.next();if(c){a(),l.close();return}let f=u.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),s.return()}},{highWaterMark:2})},js=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wf=js&&typeof ReadableStream=="function",Ob=js&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Tf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Nb=wf&&Tf(()=>{let e=!1;const t=new Request(ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Tl=64*1024,Ko=wf&&Tf(()=>A.isReadableStream(new Response("").body)),Es={stream:Ko&&(e=>e.body)};js&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Es[t]&&(Es[t]=A.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new se(`Response type '${t}' is not supported`,se.ERR_NOT_SUPPORT,r)})})})(new Response);const Ab=async e=>{if(e==null)return 0;if(A.isBlob(e))return e.size;if(A.isSpecCompliantForm(e))return(await new Request(ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(A.isArrayBufferView(e)||A.isArrayBuffer(e))return e.byteLength;if(A.isURLSearchParams(e)&&(e=e+""),A.isString(e))return(await Ob(e)).byteLength},Ib=async(e,t)=>{const n=A.toFiniteNumber(e.getContentLength());return n??Ab(t)},kb=js&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Sf(e);c=c?(c+"").toLowerCase():"text";let p=Cb([s,o&&o.toAbortSignal()],i),E;const S=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let w;try{if(l&&Nb&&n!=="get"&&n!=="head"&&(w=await Ib(u,r))!==0){let L=new Request(t,{method:"POST",body:r,duplex:"half"}),N;if(A.isFormData(r)&&(N=L.headers.get("content-type"))&&u.setContentType(N),L.body){const[M,$]=El(w,bs(vl(l)));r=wl(L.body,Tl,M,$)}}A.isString(f)||(f=f?"include":"omit");const O="credentials"in Request.prototype;E=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:O?f:void 0});let k=await fetch(E,d);const b=Ko&&(c==="stream"||c==="response");if(Ko&&(a||b&&S)){const L={};["status","statusText","headers"].forEach(R=>{L[R]=k[R]});const N=A.toFiniteNumber(k.headers.get("content-length")),[M,$]=a&&El(N,bs(vl(a),!0))||[];k=new Response(wl(k.body,Tl,M,()=>{$&&$(),S&&S()}),L)}c=c||"text";let v=await Es[A.findKey(Es,c)||"text"](k,e);return!b&&S&&S(),await new Promise((L,N)=>{Ef(L,N,{data:v,headers:it.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:E})})}catch(O){throw S&&S(),O&&O.name==="TypeError"&&/Load failed|fetch/i.test(O.message)?Object.assign(new se("Network Error",se.ERR_NETWORK,e,E),{cause:O.cause||O}):se.from(O,O&&O.code,e,E)}}),Go={http:Yy,xhr:Tb,fetch:kb};A.forEach(Go,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Cl=e=>`- ${e}`,xb=e=>A.isFunction(e)||e===null||e===!1,Cf={getAdapter:e=>{e=A.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : +`+o.map(Cl).join(` +`):" "+Cl(o[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Go};function _o(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rr(null,e)}function Ll(e){return _o(e),e.headers=it.from(e.headers),e.data=go.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Cf.getAdapter(e.adapter||Kr.adapter)(e).then(function(r){return _o(e),r.data=go.call(e,e.transformResponse,r),r.headers=it.from(r.headers),r},function(r){return bf(r)||(_o(e),r&&r.response&&(r.response.data=go.call(e,e.transformResponse,r.response),r.response.headers=it.from(r.response.headers))),Promise.reject(r)})}const Lf="1.11.0",Ks={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ks[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Pl={};Ks.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Lf+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,a)=>{if(t===!1)throw new se(s(i," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Pl[i]&&(Pl[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};Ks.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Fb(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new se("option "+o+" must be "+l,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+o,se.ERR_BAD_OPTION)}}const os={assertOptions:Fb,validators:Ks},Pt=os.validators;let kn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new yl,response:new yl}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Fn(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&os.assertOptions(r,{silentJSONParsing:Pt.transitional(Pt.boolean),forcedJSONParsing:Pt.transitional(Pt.boolean),clarifyTimeoutError:Pt.transitional(Pt.boolean)},!1),s!=null&&(A.isFunction(s)?n.paramsSerializer={serialize:s}:os.assertOptions(s,{encode:Pt.function,serialize:Pt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),os.assertOptions(n,{baseUrl:Pt.spelling("baseURL"),withXsrfToken:Pt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&A.merge(o.common,o[n.method]);o&&A.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=it.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(l=l&&S.synchronous,a.unshift(S.fulfilled,S.rejected))});const c=[];this.interceptors.response.forEach(function(S){c.push(S.fulfilled,S.rejected)});let u,f=0,d;if(!l){const E=[Ll.bind(this),void 0];for(E.unshift(...a),E.push(...c),d=E.length,u=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(a=>{r.subscribe(a),o=a}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,a){r.reason||(r.reason=new rr(o,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Pf(function(s){t=s}),cancel:t}}};function Db(e){return function(n){return e.apply(null,n)}}function Ub(e){return A.isObject(e)&&e.isAxiosError===!0}const qo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(qo).forEach(([e,t])=>{qo[t]=e});function Rf(e){const t=new kn(e),n=rf(kn.prototype.request,t);return A.extend(n,kn.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Rf(Fn(e,s))},n}const Ae=Rf(Kr);Ae.Axios=kn;Ae.CanceledError=rr;Ae.CancelToken=Mb;Ae.isCancel=bf;Ae.VERSION=Lf;Ae.toFormData=Vs;Ae.AxiosError=se;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Db;Ae.isAxiosError=Ub;Ae.mergeConfig=Fn;Ae.AxiosHeaders=it;Ae.formToJSON=e=>yf(A.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Cf.getAdapter;Ae.HttpStatusCode=qo;Ae.default=Ae;const{Axios:iE,AxiosError:aE,CanceledError:lE,isCancel:cE,CancelToken:uE,VERSION:fE,all:dE,Cancel:mE,isAxiosError:hE,spread:pE,toFormData:gE,AxiosHeaders:_E,HttpStatusCode:yE,formToJSON:bE,getAdapter:EE,mergeConfig:vE}=Ae,$b="",Of=$b,Ie=Ae.create({baseURL:Of,timeout:tf.REQUEST_TIMEOUT,headers:{"Content-Type":"application/json"}});Ie.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.url&&!e.url.startsWith("http")&&(e.url=`${Of}/${e.url.replace(/^\//,"")}`),e},e=>Promise.reject(e));Ie.interceptors.response.use(e=>e.data,e=>{if(e.response){const{status:t}=e.response;switch(t){case 401:localStorage.removeItem("token"),window.location.hash!=="#/login"&&(window.location.href="/#/login");break}}else e.request;return Promise.reject(e)});class Bb{static async getConfig(){return Ie.get("/admin/config/get")}static async getUserConfig(){return Ie.post("/")}static async updateConfig(t){return Ie.patch("/admin/config/update",t)}}class SE{static async uploadFile(t,n){const r=new FormData;return r.append("file",t),Ie.post("/share/file/",r,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:s=>{if(n&&s.total){const o={loaded:s.loaded,total:s.total,percentage:Math.round(s.loaded*100/s.total)};n(o)}}})}static async uploadText(t){return Ie.post("/share/text/",{content:t})}static async getFile(t){return Ie.get(`/file/${t}`)}static async downloadFile(t){return(await Ie.get(`/download/${t}`,{responseType:"blob"})).data}static async deleteFile(t){return Ie.post("/admin/file/delete",{id:t})}static async getFileList(t=1,n=10){return Ie.get("/admin/file/list",{params:{page:t,size:n}})}static async getAdminFileList(t){return Ie.get("/admin/file/list",{params:t})}static async updateFile(t){return Ie.patch("/admin/file/update",t)}static async deleteAdminFile(t){return Ie.delete("/admin/file/delete",{data:{id:t}})}static async downloadAdminFile(t){return Ie.get("/admin/file/download",{params:{id:t},responseType:"blob"})}}class wE{static async login(t){return Ie.post("/admin/login",{password:t})}static async logout(){return Ie.post("/admin/logout")}static async verifyToken(){return Ie.get("/admin/verify")}}class TE{static async getDashboardStats(){return Ie.get("/admin/dashboard")}static async getDashboard(){return Ie.get("/admin/dashboard")}}function Hb(){const e=st(!1),t=st($e.SYSTEM),n=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,r=()=>{const f=localStorage.getItem(hl.COLOR_MODE);return f&&Object.values($e).includes(f)?f:null},s=f=>{t.value=f,localStorage.setItem(hl.COLOR_MODE,f),f===$e.SYSTEM?e.value=n():e.value=f===$e.DARK,o()},o=()=>{const f=document.documentElement;e.value?f.classList.add("dark"):f.classList.remove("dark")},i=()=>{t.value===$e.LIGHT?s($e.DARK):t.value===$e.DARK?s($e.SYSTEM):s($e.LIGHT)},a=()=>{if(window.matchMedia){const f=window.matchMedia("(prefers-color-scheme: dark)"),d=p=>{t.value===$e.SYSTEM&&(e.value=p.matches,o())};return f.addEventListener("change",d),()=>{f.removeEventListener("change",d)}}return()=>{}},l=()=>{const f=r();return s(f||$e.SYSTEM),a()},c=_e(()=>{switch(t.value){case $e.LIGHT:return"sun";case $e.DARK:return"moon";case $e.SYSTEM:return"monitor";default:return"monitor"}}),u=_e(()=>{switch(t.value){case $e.LIGHT:return"浅色模式";case $e.DARK:return"深色模式";case $e.SYSTEM:return"跟随系统";default:return"跟随系统"}});return{isDarkMode:e,themeMode:t,themeIcon:c,themeLabel:u,setThemeMode:s,toggleTheme:i,initTheme:l,checkSystemColorScheme:n}}const Wb={class:"fixed top-4 right-4 z-50 flex items-center space-x-3"},Vb={key:0,class:"loading-overlay"},jb=Xt({__name:"App",setup(e){const t=st(!1),n=_p(),r=yp(),s=nf(),{isDarkMode:o,toggleTheme:i,initTheme:a}=Hb();let l=null;return Zn(()=>{l=a(),Bb.getUserConfig().then(c=>{c.code===200&&c.detail&&(localStorage.setItem("config",JSON.stringify(c.detail)),c.detail.notify_title&&c.detail.notify_content&&localStorage.getItem("notify")!==c.detail.notify_title+c.detail.notify_content&&(localStorage.setItem("notify",c.detail.notify_title+c.detail.notify_content),s.showAlert(c.detail.notify_title+": "+c.detail.notify_content,"success")))})}),er(()=>{l&&l()}),n.beforeEach((c,u,f)=>{t.value=!0,f()}),n.afterEach(()=>{setTimeout(()=>{t.value=!1},200)}),In("isDarkMode",o),In("toggleTheme",i),In("isLoading",t),(c,u)=>(Ve(),jt("div",{class:At(["app-container",ve(o)?"dark":"light"])},[Be("div",Wb,[Pe(X_),Pe(Ip,{modelValue:ve(o),"onUpdate:modelValue":u[0]||(u[0]=f=>we(o)?o.value=f:null)},null,8,["modelValue"])]),t.value?(Ve(),jt("div",Vb,[...u[1]||(u[1]=[Be("div",{class:"loading-spinner"},null,-1)])])):Kc("",!0),Pe(ve(bu),null,{default:wr(({Component:f})=>[Pe(Jc,{name:"fade",mode:"out-in"},{default:wr(()=>[(Ve(),dn(Sc(f),{key:ve(r).fullPath}))]),_:2},1024)]),_:1}),Pe(ly)],2))}}),Kb="modulepreload",Gb=function(e){return"/"+e},Rl={},Pn=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let l=function(c){return Promise.all(c.map(u=>Promise.resolve(u).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");s=l(n.map(c=>{if(c=Gb(c),c in Rl)return;Rl[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Kb,u||(d.as="script"),d.crossOrigin="",d.href=c,a&&d.setAttribute("nonce",a),document.head.appendChild(d),u)return new Promise((p,E)=>{d.addEventListener("load",p),d.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})},qb=()=>Pn(()=>import("./SendFileView-BoEy45cq.js"),__vite__mapDeps([0,1,2,3,4,5,6])),Yb=pp({history:Kh("/"),routes:[{path:"/",name:"Retrieve",component:()=>Pn(()=>import("./RetrievewFileView-Bz_9iHJX.js"),__vite__mapDeps([7,1,2,3,4,8,5,9]))},{path:"/send",name:"Send",component:qb},{path:"/admin",name:"Manage",component:()=>Pn(()=>import("./AdminLayout-B2sEbNJ3.js"),__vite__mapDeps([10,2,11])),redirect:"/admin/dashboard",children:[{path:"/admin/dashboard",name:"Dashboard",component:()=>Pn(()=>import("./DashboardView-q8iNpHgp.js"),__vite__mapDeps([12,4,8]))},{path:"/admin/files",name:"FileManage",component:()=>Pn(()=>import("./FileManageView-DcCyX2aA.js"),__vite__mapDeps([13,4,5,14]))},{path:"/admin/settings",name:"Settings",component:()=>Pn(()=>import("./SystemSettingsView-CLFB8wRs.js"),[])}]},{path:"/login",name:"Login",component:()=>Pn(()=>import("./LoginView-BTZd0llH.js"),__vite__mapDeps([15,2,16]))}]}),Gs=rh(jb);Gs.use(ih());Gs.use(Yb);Gs.use(ef);Gs.mount("#app");export{Gm as A,_p as B,Ie as C,dn as D,Jb as E,Me as F,mh as G,yp as H,hn as I,yc as J,dh as K,er as L,Sc as M,Dr as N,nE as O,SE as P,Bb as Q,Zb as R,TE as S,Jc as T,rE as U,hl as V,wE as W,Ap as X,ay as _,jt as a,Be as b,Qt as c,Xt as d,ve as e,Zn as f,_e as g,tE as h,Xe as i,Kc as j,Pe as k,nf as l,wr as m,At as n,Ve as o,zb as p,eE as q,st as r,Cs as s,br as t,Hr as u,Qb as v,un as w,Tc as x,fm as y,Xb as z}; diff --git a/themes/2024/assets/index-CVaRI27s.css b/themes/2024/assets/index-CVaRI27s.css deleted file mode 100644 index 7ac464f..0000000 --- a/themes/2024/assets/index-CVaRI27s.css +++ /dev/null @@ -1 +0,0 @@ -*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-inset-2{inset:-.5rem}.inset-0{inset:0}.inset-1{inset:.25rem}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.-top-2{top:-.5rem}.left-0{left:0}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-2{right:.5rem}.right-28{right:7rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[85vh\]{max-height:85vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-16{width:4rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-full{max-width:100%}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize-none{resize:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity, 1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-gray-700\/50{border-color:#37415180}.border-gray-700\/60{border-color:#37415199}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-opacity-20{--tw-border-opacity: .2}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/60{background-color:#0009}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))}.bg-blue-900\/20{background-color:#1e3a8a33}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-700\/50{background-color:#37415180}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-800\/50{background-color:#1f293780}.bg-gray-800\/60{background-color:#1f293799}.bg-gray-800\/95{background-color:#1f2937f2}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-gray-900\/50{background-color:#11182780}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.bg-green-900\/30{background-color:#14532d4d}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500\/10{background-color:#6366f11a}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-900\/20{background-color:#7f1d1d33}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/70{background-color:#ffffffb3}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-900\/30{background-color:#713f124d}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-90{--tw-bg-opacity: .9}.bg-opacity-95{--tw-bg-opacity: .95}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-50{--tw-gradient-from: #f9fafb var(--tw-gradient-from-position);--tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-800\/50{--tw-gradient-from: rgb(31 41 55 / .5) var(--tw-gradient-from-position);--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900{--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900\/90{--tw-gradient-from: rgb(17 24 39 / .9) var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-300{--tw-gradient-from: #a5b4fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(165 180 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-yellow-500{--tw-gradient-from: #eab308 var(--tw-gradient-from-position);--tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-indigo-50{--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-indigo-900{--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-300{--tw-gradient-to: rgb(216 180 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #d8b4fe var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-black\/90{--tw-gradient-to: rgb(0 0 0 / .9) var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-gray-700\/50{--tw-gradient-to: rgb(55 65 81 / .5) var(--tw-gradient-to-position)}.to-gray-800{--tw-gradient-to: #1f2937 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-pink-300{--tw-gradient-to: #f9a8d4 var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #dc2626 var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.to-yellow-600{--tw-gradient-to: #ca8a04 var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-right{background-position:right}.bg-no-repeat{background-repeat:no-repeat}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-32{padding-right:8rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.pt-0\.5{padding-top:.125rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.tracking-wider{letter-spacing:.05em}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-indigo-500\/25{--tw-shadow-color: rgb(99 102 241 / .25);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.blur-md{--tw-blur: blur(12px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\[appearance\:textfield\]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}@font-face{font-family:DingTalk;src:url(/assets/DingTalk-CT5a5scH.ttf) format("truetype")}*{font-family:DingTalk,sans-serif!important}.hover\:rotate-180:hover{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:rotate-90:hover{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-\[1\.02\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.hover\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-900\/30:hover{background-color:#1e3a8a4d}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-600\/50:hover{background-color:#4b556380}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700\/60:hover{background-color:#37415199}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-red-900\/30:hover{background-color:#7f1d1d4d}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/10:hover{background-color:#ffffff1a}.hover\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:from-cyan-600:hover{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-cyan-700:hover{--tw-gradient-from: #0e7490 var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 116 144 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-500:hover{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-indigo-600:hover{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:to-purple-600:hover{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-indigo-300:hover{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-cyan-500\/50:hover{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.hover\:shadow-indigo-500\/35:hover{--tw-shadow-color: rgb(99 102 241 / .35);--tw-shadow: var(--tw-shadow-colored)}.focus\:z-10:focus{z-index:10}.focus\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\:border-indigo-500:focus{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity, 1))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1))}.focus\:ring-indigo-500\/50:focus{--tw-ring-color: rgb(99 102 241 / .5)}.focus\:ring-indigo-500\/60:focus{--tw-ring-color: rgb(99 102 241 / .6)}.focus\:ring-indigo-500\/80:focus{--tw-ring-color: rgb(99 102 241 / .8)}.focus\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group:focus-within .group-focus-within\:bg-indigo-500\/30{background-color:#6366f14d}.group:focus-within .group-focus-within\:bg-indigo-500\/50{background-color:#6366f180}.group:focus-within .group-focus-within\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.group:focus-within .group-focus-within\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.group:focus-within .group-focus-within\:opacity-100{opacity:1}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.group:hover .group-hover\:border-gray-600\/80{border-color:#4b5563cc}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-20{opacity:.2}.group:hover .group-hover\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group:hover .group-hover\:shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group:hover .group-hover\:shadow-gray-200\/50{--tw-shadow-color: rgb(229 231 235 / .5);--tw-shadow: var(--tw-shadow-colored)}.group:hover .group-hover\:shadow-gray-900\/20{--tw-shadow-color: rgb(17 24 39 / .2);--tw-shadow: var(--tw-shadow-colored)}@media (min-width: 640px){.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:mb-3{margin-bottom:.75rem}.sm\:mb-4{margin-bottom:1rem}.sm\:mb-6{margin-bottom:1.5rem}.sm\:ml-4{margin-left:1rem}.sm\:mr-2{margin-right:.5rem}.sm\:h-4{height:1rem}.sm\:h-5{height:1.25rem}.sm\:h-6{height:1.5rem}.sm\:h-\[160px\]{height:160px}.sm\:w-4{width:1rem}.sm\:w-5{width:1.25rem}.sm\:w-6{width:1.5rem}.sm\:w-\[160px\]{width:160px}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:max-w-xl{max-width:36rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:gap-4{gap:1rem}.sm\:gap-6{gap:1.5rem}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:p-0{padding:0}.sm\:p-2{padding:.5rem}.sm\:p-3{padding:.75rem}.sm\:p-4{padding:1rem}.sm\:p-5{padding:1.25rem}.sm\:p-6{padding:1.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\:py-4{padding-top:1rem;padding-bottom:1rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\:max-w-md{max-width:28rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:relative{position:relative}.lg\:hidden{display:none}.lg\:h-screen{height:100vh}.lg\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme: dark){.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}.alert-fade-enter-active[data-v-c49ea12b],.alert-fade-leave-active[data-v-c49ea12b]{transition:all .5s cubic-bezier(.68,-.55,.265,1.55)}.alert-fade-enter-from[data-v-c49ea12b],.alert-fade-leave-to[data-v-c49ea12b]{opacity:0;transform:translate(-50px) scale(.95)}.app-container{min-height:100vh;width:100%;transition:background-color .5s ease}.light{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #fff var(--tw-gradient-to-position)}.dark{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #000 var(--tw-gradient-to-position)}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999}.loading-spinner{width:50px;height:50px;border:3px solid #fff;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/themes/2024/assets/index-Cd5a1Wuq.css b/themes/2024/assets/index-Cd5a1Wuq.css new file mode 100644 index 0000000..3fd4d44 --- /dev/null +++ b/themes/2024/assets/index-Cd5a1Wuq.css @@ -0,0 +1 @@ +*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-invert{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-inset-2{inset:-.5rem}.inset-0{inset:0}.inset-1{inset:.25rem}.inset-y-0{top:0;bottom:0}.-bottom-0\.5{bottom:-.125rem}.-top-2{top:-.5rem}.left-0{left:0}.left-2{left:.5rem}.left-3{left:.75rem}.left-4{left:1rem}.right-0{right:0}.right-2{right:.5rem}.right-28{right:7rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-\[85vh\]{max-height:85vh}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0{width:0px}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-16{width:4rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-full{min-width:100%}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-full{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.cursor-wait{cursor:wait}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-all{-webkit-user-select:all;-moz-user-select:all;user-select:all}.resize-none{resize:none}.resize{resize:both}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.-space-y-px>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(-1px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(-1px * var(--tw-space-y-reverse))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-200>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(229 231 235 / var(--tw-divide-opacity, 1))}.divide-gray-700>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(55 65 81 / var(--tw-divide-opacity, 1))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-r-2xl{border-top-right-radius:1rem;border-bottom-right-radius:1rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-current{border-color:currentColor}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-gray-700\/50{border-color:#37415180}.border-gray-700\/60{border-color:#37415199}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity, 1))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity, 1))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-t-transparent{border-top-color:transparent}.border-opacity-20{--tw-border-opacity: .2}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\/60{background-color:#0009}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity, 1))}.bg-blue-900\/20{background-color:#1e3a8a33}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.bg-gray-700\/50{background-color:#37415180}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.bg-gray-800\/50{background-color:#1f293780}.bg-gray-800\/60{background-color:#1f293799}.bg-gray-800\/95{background-color:#1f2937f2}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-gray-900\/50{background-color:#11182780}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity, 1))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.bg-green-900\/30{background-color:#14532d4d}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity, 1))}.bg-indigo-500\/10{background-color:#6366f11a}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity, 1))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-red-900\/20{background-color:#7f1d1d33}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/50{background-color:#ffffff80}.bg-white\/70{background-color:#ffffffb3}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-900\/30{background-color:#713f124d}.bg-opacity-10{--tw-bg-opacity: .1}.bg-opacity-20{--tw-bg-opacity: .2}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-90{--tw-bg-opacity: .9}.bg-opacity-95{--tw-bg-opacity: .95}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-500{--tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);--tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-cyan-600{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-50{--tw-gradient-from: #f9fafb var(--tw-gradient-from-position);--tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-800\/50{--tw-gradient-from: rgb(31 41 55 / .5) var(--tw-gradient-from-position);--tw-gradient-to: rgb(31 41 55 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900{--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-900\/90{--tw-gradient-from: rgb(17 24 39 / .9) var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-300{--tw-gradient-from: #a5b4fc var(--tw-gradient-from-position);--tw-gradient-to: rgb(165 180 252 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-pink-500{--tw-gradient-from: #ec4899 var(--tw-gradient-from-position);--tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-red-500{--tw-gradient-from: #ef4444 var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-yellow-500{--tw-gradient-from: #eab308 var(--tw-gradient-from-position);--tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-indigo-50{--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-indigo-900{--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-300{--tw-gradient-to: rgb(216 180 254 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #d8b4fe var(--tw-gradient-via-position), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-black\/90{--tw-gradient-to: rgb(0 0 0 / .9) var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-gray-700\/50{--tw-gradient-to: rgb(55 65 81 / .5) var(--tw-gradient-to-position)}.to-gray-800{--tw-gradient-to: #1f2937 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.to-indigo-500{--tw-gradient-to: #6366f1 var(--tw-gradient-to-position)}.to-pink-300{--tw-gradient-to: #f9a8d4 var(--tw-gradient-to-position)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.to-purple-500{--tw-gradient-to: #a855f7 var(--tw-gradient-to-position)}.to-purple-600{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.to-red-600{--tw-gradient-to: #dc2626 var(--tw-gradient-to-position)}.to-white{--tw-gradient-to: #fff var(--tw-gradient-to-position)}.to-yellow-600{--tw-gradient-to: #ca8a04 var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-right{background-position:right}.bg-no-repeat{background-repeat:no-repeat}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-3\.5{padding-top:.875rem;padding-bottom:.875rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.pb-4{padding-bottom:1rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pr-32{padding-right:8rem}.pr-4{padding-right:1rem}.pr-9{padding-right:2.25rem}.pt-0\.5{padding-top:.125rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.tracking-wider{letter-spacing:.05em}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity, 1))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity, 1))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-500::placeholder{--tw-placeholder-opacity: 1;color:rgb(107 114 128 / var(--tw-placeholder-opacity, 1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-indigo-500\/25{--tw-shadow-color: rgb(99 102 241 / .25);--tw-shadow: var(--tw-shadow-colored)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity, 1))}.ring-red-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.ring-opacity-5{--tw-ring-opacity: .05}.blur-md{--tw-blur: blur(12px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-lg{--tw-backdrop-blur: blur(16px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.\[appearance\:textfield\]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}@font-face{font-family:DingTalk;src:url(/assets/DingTalk-CT5a5scH.ttf) format("truetype")}*{font-family:DingTalk,sans-serif!important}.hover\:rotate-180:hover{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:rotate-90:hover{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-\[1\.02\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity, 1))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity, 1))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.hover\:bg-black:hover{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.hover\:bg-blue-900\/30:hover{background-color:#1e3a8a4d}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-600\/50:hover{background-color:#4b556380}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-700\/60:hover{background-color:#37415199}.hover\:bg-gray-700\/80:hover{background-color:#374151cc}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity, 1))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-red-900\/30:hover{background-color:#7f1d1d4d}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/10:hover{background-color:#ffffff1a}.hover\:bg-opacity-10:hover{--tw-bg-opacity: .1}.hover\:bg-opacity-20:hover{--tw-bg-opacity: .2}.hover\:bg-opacity-50:hover{--tw-bg-opacity: .5}.hover\:from-cyan-600:hover{--tw-gradient-from: #0891b2 var(--tw-gradient-from-position);--tw-gradient-to: rgb(8 145 178 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-cyan-700:hover{--tw-gradient-from: #0e7490 var(--tw-gradient-from-position);--tw-gradient-to: rgb(14 116 144 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-500:hover{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-indigo-600:hover{--tw-gradient-to: #4f46e5 var(--tw-gradient-to-position)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:to-purple-600:hover{--tw-gradient-to: #9333ea var(--tw-gradient-to-position)}.hover\:to-purple-700:hover{--tw-gradient-to: #7e22ce var(--tw-gradient-to-position)}.hover\:text-gray-200:hover{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.hover\:text-gray-300:hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-indigo-300:hover{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:shadow-cyan-500\/50:hover{--tw-shadow-color: rgb(6 182 212 / .5);--tw-shadow: var(--tw-shadow-colored)}.hover\:shadow-indigo-500\/35:hover{--tw-shadow-color: rgb(99 102 241 / .35);--tw-shadow: var(--tw-shadow-colored)}.focus\:z-10:focus{z-index:10}.focus\:border-cyan-500:focus{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity, 1))}.focus\:border-indigo-500:focus{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity, 1))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-cyan-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(6 182 212 / var(--tw-ring-opacity, 1))}.focus\:ring-gray-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(107 114 128 / var(--tw-ring-opacity, 1))}.focus\:ring-green-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1))}.focus\:ring-indigo-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity, 1))}.focus\:ring-indigo-500\/50:focus{--tw-ring-color: rgb(99 102 241 / .5)}.focus\:ring-indigo-500\/60:focus{--tw-ring-color: rgb(99 102 241 / .6)}.focus\:ring-indigo-500\/80:focus{--tw-ring-color: rgb(99 102 241 / .8)}.focus\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-opacity-50:focus{--tw-ring-opacity: .5}.focus\:ring-offset-0:focus{--tw-ring-offset-width: 0px}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:focus-within .group-focus-within\:bg-indigo-500\/30{background-color:#6366f14d}.group:focus-within .group-focus-within\:bg-indigo-500\/50{background-color:#6366f180}.group:focus-within .group-focus-within\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.group:focus-within .group-focus-within\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.group:focus-within .group-focus-within\:opacity-100{opacity:1}.group:hover .group-hover\:translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.group:hover .group-hover\:border-gray-600\/80{border-color:#4b5563cc}.group:hover .group-hover\:text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.group:hover .group-hover\:opacity-20{opacity:.2}.group:hover .group-hover\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group:hover .group-hover\:shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.group:hover .group-hover\:shadow-gray-200\/50{--tw-shadow-color: rgb(229 231 235 / .5);--tw-shadow: var(--tw-shadow-colored)}.group:hover .group-hover\:shadow-gray-900\/20{--tw-shadow-color: rgb(17 24 39 / .2);--tw-shadow: var(--tw-shadow-colored)}@media (min-width: 640px){.sm\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\:mb-3{margin-bottom:.75rem}.sm\:mb-4{margin-bottom:1rem}.sm\:mb-6{margin-bottom:1.5rem}.sm\:ml-4{margin-left:1rem}.sm\:mr-2{margin-right:.5rem}.sm\:h-4{height:1rem}.sm\:h-5{height:1.25rem}.sm\:h-6{height:1.5rem}.sm\:h-\[160px\]{height:160px}.sm\:w-4{width:1rem}.sm\:w-5{width:1.25rem}.sm\:w-6{width:1.5rem}.sm\:w-\[160px\]{width:160px}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:max-w-xl{max-width:36rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:gap-4{gap:1rem}.sm\:gap-6{gap:1.5rem}.sm\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sm\:p-0{padding:0}.sm\:p-2{padding:.5rem}.sm\:p-3{padding:.75rem}.sm\:p-4{padding:1rem}.sm\:p-5{padding:1.25rem}.sm\:p-6{padding:1.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-3{padding-top:.75rem;padding-bottom:.75rem}.sm\:py-4{padding-top:1rem;padding-bottom:1rem}.sm\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\:text-base{font-size:1rem;line-height:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 768px){.md\:max-w-md{max-width:28rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:relative{position:relative}.lg\:hidden{display:none}.lg\:h-screen{height:100vh}.lg\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:px-8{padding-left:2rem;padding-right:2rem}}@media (prefers-color-scheme: dark){.dark\:hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}}.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}.alert-fade-enter-active[data-v-59f86e5f],.alert-fade-leave-active[data-v-59f86e5f]{transition:all .5s cubic-bezier(.68,-.55,.265,1.55)}.alert-fade-enter-from[data-v-59f86e5f],.alert-fade-leave-to[data-v-59f86e5f]{opacity:0;transform:translate(-50px) scale(.95)}.app-container{min-height:100vh;width:100%;transition:background-color .5s ease}.light{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #fff var(--tw-gradient-to-position)}.dark{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops));--tw-gradient-from: #111827 var(--tw-gradient-from-position);--tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);--tw-gradient-to: rgb(49 46 129 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #312e81 var(--tw-gradient-via-position), var(--tw-gradient-to);--tw-gradient-to: #000 var(--tw-gradient-to-position)}.fade-enter-active,.fade-leave-active{transition:opacity .3s ease}.fade-enter-from,.fade-leave-to{opacity:0}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:9999}.loading-spinner{width:50px;height:50px;border:3px solid #fff;border-top:3px solid #3498db;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}} diff --git a/themes/2024/assets/trash-McEm8LQt.js b/themes/2024/assets/trash-DFHGA4Wo.js similarity index 89% rename from themes/2024/assets/trash-McEm8LQt.js rename to themes/2024/assets/trash-DFHGA4Wo.js index eb0faa7..743d615 100644 --- a/themes/2024/assets/trash-McEm8LQt.js +++ b/themes/2024/assets/trash-DFHGA4Wo.js @@ -1,4 +1,4 @@ -import{c as a}from"./index-B-Ka-o3f.js";/** +import{c as a}from"./index-BQT7CCpA.js";/** * @license lucide-vue-next v0.535.0 - ISC * * This source code is licensed under the ISC license. diff --git a/themes/2024/index.html b/themes/2024/index.html index 0ab4086..271efb8 100644 --- a/themes/2024/index.html +++ b/themes/2024/index.html @@ -13,8 +13,8 @@ {{title}} - - + +