From 4f817cc02808d1d3954f4b49e5f3b613f5f7fe51 Mon Sep 17 00:00:00 2001 From: Masterain98 Date: Thu, 27 Apr 2023 07:59:30 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20DGP-Stud?= =?UTF-8?q?io/Snap.Hutao.Docs@c0ca9e096687f9ef40854e43bb147ae66e04eb21=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 6 +++--- assets/{app-3ca9120e.js => app-e63ae470.js} | 4 ++-- ...munity.html-ee762065.js => community.html-7b6cf713.js} | 2 +- ...munity.html-157b5bb6.js => community.html-7d1656aa.js} | 2 +- ...munity.html-1851f335.js => community.html-c9f2d093.js} | 2 +- ...munity.html-fb5b81f3.js => community.html-d5cd824a.js} | 2 +- assets/{component-e9992e19.js => component-40873d3a.js} | 2 +- en/advanced/FAQ.html | 4 ++-- en/advanced/Gacha-system-and-export-principal.html | 4 ++-- en/advanced/exceptions.html | 4 ++-- en/advanced/get-stoken-cookie-from-the-third-party.html | 4 ++-- en/advanced/index.html | 4 ++-- en/advanced/known-issue.html | 4 ++-- en/advanced/mihoyo-risk-tip.html | 4 ++-- en/advanced/uninstall.html | 4 ++-- en/community.html | 8 ++++---- en/features/achievements.html | 4 ++-- en/features/character-data.html | 4 ++-- en/features/character-wiki.html | 4 ++-- en/features/develop-plan.html | 4 ++-- en/features/game-launcher.html | 4 ++-- en/features/hutao-API.html | 4 ++-- en/features/hutao-settings.html | 4 ++-- en/features/index.html | 4 ++-- en/features/mhy-account-switch.html | 4 ++-- en/features/real-time-notes.html | 4 ++-- en/features/weapon-wiki.html | 4 ++-- en/features/wish-export.html | 4 ++-- en/i18n.html | 4 ++-- en/index.html | 4 ++-- en/project.html | 4 ++-- en/quick-start.html | 4 ++-- en/rss.xml | 5 +++-- en/side-load.html | 4 ++-- en/star-request.html | 4 ++-- en/statements/bug-report.html | 4 ++-- en/statements/index.html | 4 ++-- en/statements/privacy-notice.html | 4 ++-- en/statements/tos.html | 4 ++-- en/statements/update-log.html | 4 ++-- index.html | 4 ++-- rss.xml | 4 ++-- service-worker.js | 2 +- service-worker.js.map | 2 +- sitemap.xml | 2 +- zh/advanced/FAQ.html | 4 ++-- zh/advanced/Gacha-system-and-export-principal.html | 4 ++-- zh/advanced/exceptions.html | 4 ++-- zh/advanced/get-stoken-cookie-from-the-third-party.html | 4 ++-- zh/advanced/index.html | 4 ++-- zh/advanced/known-issue.html | 4 ++-- zh/advanced/mihoyo-risk-tip.html | 4 ++-- zh/advanced/uninstall.html | 4 ++-- zh/community.html | 8 ++++---- zh/development-log/index.html | 4 ++-- zh/development-log/symposium1.html | 4 ++-- zh/development-log/symposium2.html | 4 ++-- zh/features/achievements.html | 4 ++-- zh/features/character-data.html | 4 ++-- zh/features/character-wiki.html | 4 ++-- zh/features/develop-plan.html | 4 ++-- zh/features/game-launcher.html | 4 ++-- zh/features/hutao-API.html | 4 ++-- zh/features/hutao-settings.html | 4 ++-- zh/features/index.html | 4 ++-- zh/features/mhy-account-switch.html | 4 ++-- zh/features/real-time-notes.html | 4 ++-- zh/features/weapon-wiki.html | 4 ++-- zh/features/wish-export.html | 4 ++-- zh/i18n.html | 4 ++-- zh/index.html | 4 ++-- zh/project.html | 4 ++-- zh/quick-start.html | 4 ++-- zh/rss.xml | 5 +++-- zh/side-load.html | 4 ++-- zh/star-request.html | 4 ++-- zh/statements/bug-report.html | 4 ++-- zh/statements/index.html | 4 ++-- zh/statements/privacy-notice.html | 4 ++-- zh/statements/tos.html | 4 ++-- zh/statements/update-log.html | 4 ++-- 81 files changed, 161 insertions(+), 159 deletions(-) rename assets/{app-3ca9120e.js => app-e63ae470.js} (99%) rename assets/{community.html-ee762065.js => community.html-7b6cf713.js} (82%) rename assets/{community.html-157b5bb6.js => community.html-7d1656aa.js} (50%) rename assets/{community.html-1851f335.js => community.html-c9f2d093.js} (52%) rename assets/{community.html-fb5b81f3.js => community.html-d5cd824a.js} (84%) rename assets/{component-e9992e19.js => component-40873d3a.js} (99%) diff --git a/404.html b/404.html index 0a9713d87..719e29153 100644 --- a/404.html +++ b/404.html @@ -31,10 +31,10 @@ } - + -

404

Page not found

That’s a Four-Oh-Four.

- +

404

Page not found

How did we get here?

+ diff --git a/assets/app-3ca9120e.js b/assets/app-e63ae470.js similarity index 99% rename from assets/app-3ca9120e.js rename to assets/app-e63ae470.js index 79131798b..a07b654cb 100644 --- a/assets/app-3ca9120e.js +++ b/assets/app-e63ae470.js @@ -1,5 +1,5 @@ -import{d as b,r as k,a as be,b as Fn,c as E,i as F,e as Ce,f as Hn,g as jn,o as R,h as m,j as r,k as ke,l as sa,m as J,n as Le,p as bt,q as qn,u as me,s as et,t as ze,v as Wn,w as Te,x as I,y as Ve,z as ca,A as ua,B as Un,C as Gn,T as se,D as G,E as Kn,R as re,F as q,G as tt,H as K,I as da,J as va,K as Qn,L as Re,M as at,N as Yn,O as Jn,P as nt,Q as yt,S as Xn,U as Zn,V as eo,W as to,X as ao}from"./framework-8be3ab77.js";const no="modulepreload",oo=function(e){return"/"+e},wt={},p=function(t,a,n){if(!a||a.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(a.map(l=>{if(l=oo(l),l in wt)return;wt[l]=!0;const i=l.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const v=o[u];if(v.href===l&&(!i||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":no,i||(c.as="script",c.crossOrigin=""),c.href=l,document.head.appendChild(c),i)return new Promise((u,v)=>{c.addEventListener("load",u),c.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t())},ro={"v-2d0a870d":()=>p(()=>import("./index.html-eea618f2.js"),[]).then(({data:e})=>e),"v-082946dd":()=>p(()=>import("./community.html-ee762065.js"),[]).then(({data:e})=>e),"v-038e810e":()=>p(()=>import("./i18n.html-ef362d15.js"),[]).then(({data:e})=>e),"v-586858ed":()=>p(()=>import("./project.html-473b3158.js"),[]).then(({data:e})=>e),"v-0c01f6a4":()=>p(()=>import("./quick-start.html-4d65a6d8.js"),[]).then(({data:e})=>e),"v-23b9870a":()=>p(()=>import("./side-load.html-7b979a4b.js"),[]).then(({data:e})=>e),"v-7d29d7d8":()=>p(()=>import("./star-request.html-f04fbb42.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>p(()=>import("./index.html-f34e1944.js"),[]).then(({data:e})=>e),"v-5cad49b8":()=>p(()=>import("./community.html-fb5b81f3.js"),[]).then(({data:e})=>e),"v-27c4e153":()=>p(()=>import("./i18n.html-ae78c768.js"),[]).then(({data:e})=>e),"v-6c355688":()=>p(()=>import("./project.html-19f093f4.js"),[]).then(({data:e})=>e),"v-4f90aebf":()=>p(()=>import("./quick-start.html-56223e7c.js"),[]).then(({data:e})=>e),"v-783d89e5":()=>p(()=>import("./side-load.html-21c2c1b2.js"),[]).then(({data:e})=>e),"v-a91bb9c6":()=>p(()=>import("./star-request.html-bcc46613.js"),[]).then(({data:e})=>e),"v-1bd4ef83":()=>p(()=>import("./FAQ.html-35cf3b82.js"),[]).then(({data:e})=>e),"v-5c3f740a":()=>p(()=>import("./Gacha-system-and-export-principal.html-853037f5.js"),[]).then(({data:e})=>e),"v-5f449840":()=>p(()=>import("./index.html-c0f9c75d.js"),[]).then(({data:e})=>e),"v-1a028d16":()=>p(()=>import("./exceptions.html-1526c82d.js"),[]).then(({data:e})=>e),"v-bd668802":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-520f4ee1.js"),[]).then(({data:e})=>e),"v-51647c4a":()=>p(()=>import("./known-issue.html-38311247.js"),[]).then(({data:e})=>e),"v-031e5d68":()=>p(()=>import("./mihoyo-risk-tip.html-9f88b447.js"),[]).then(({data:e})=>e),"v-bbae7dd2":()=>p(()=>import("./uninstall.html-d9dcec87.js"),[]).then(({data:e})=>e),"v-30f089b6":()=>p(()=>import("./index.html-0c1ef835.js"),[]).then(({data:e})=>e),"v-699a13b0":()=>p(()=>import("./achievements.html-8117d04c.js"),[]).then(({data:e})=>e),"v-f3692af4":()=>p(()=>import("./character-data.html-719b9d94.js"),[]).then(({data:e})=>e),"v-10108380":()=>p(()=>import("./character-wiki.html-8767f568.js"),[]).then(({data:e})=>e),"v-83f6294a":()=>p(()=>import("./develop-plan.html-b75d7412.js"),[]).then(({data:e})=>e),"v-7839fe83":()=>p(()=>import("./game-launcher.html-d3a1a744.js"),[]).then(({data:e})=>e),"v-0106e0dc":()=>p(()=>import("./hutao-API.html-767e6bb1.js"),[]).then(({data:e})=>e),"v-639b3ef9":()=>p(()=>import("./hutao-settings.html-55d052a6.js"),[]).then(({data:e})=>e),"v-03aaffb1":()=>p(()=>import("./mhy-account-switch.html-dcbe0027.js"),[]).then(({data:e})=>e),"v-124743a4":()=>p(()=>import("./real-time-notes.html-c37f178d.js"),[]).then(({data:e})=>e),"v-e30b3c46":()=>p(()=>import("./weapon-wiki.html-3a22c97c.js"),[]).then(({data:e})=>e),"v-b8e3a2b8":()=>p(()=>import("./wish-export.html-2dd03804.js"),[]).then(({data:e})=>e),"v-a4f9d2c4":()=>p(()=>import("./index.html-c41eac72.js"),[]).then(({data:e})=>e),"v-45ceb024":()=>p(()=>import("./bug-report.html-6058d767.js"),[]).then(({data:e})=>e),"v-b4085a44":()=>p(()=>import("./privacy-notice.html-b602f4cd.js"),[]).then(({data:e})=>e),"v-b1c7a1c2":()=>p(()=>import("./tos.html-26935a8d.js"),[]).then(({data:e})=>e),"v-52f43e3b":()=>p(()=>import("./update-log.html-060fdc3c.js"),[]).then(({data:e})=>e),"v-4a1d3ac8":()=>p(()=>import("./FAQ.html-a02e3572.js"),[]).then(({data:e})=>e),"v-b0dd6b00":()=>p(()=>import("./Gacha-system-and-export-principal.html-4770640b.js"),[]).then(({data:e})=>e),"v-16d7d7b6":()=>p(()=>import("./index.html-c16a5239.js"),[]).then(({data:e})=>e),"v-c8e5b2e0":()=>p(()=>import("./exceptions.html-1f58c557.js"),[]).then(({data:e})=>e),"v-6892c29a":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-32d0a398.js"),[]).then(({data:e})=>e),"v-8ab89ae2":()=>p(()=>import("./known-issue.html-d69c4bff.js"),[]).then(({data:e})=>e),"v-9cc22da6":()=>p(()=>import("./mihoyo-risk-tip.html-3b9124dc.js"),[]).then(({data:e})=>e),"v-a04a76c8":()=>p(()=>import("./uninstall.html-65de1499.js"),[]).then(({data:e})=>e),"v-db2a9d92":()=>p(()=>import("./symposium1.html-6b58761a.js"),[]).then(({data:e})=>e),"v-d7c0ec54":()=>p(()=>import("./symposium2.html-facbe563.js"),[]).then(({data:e})=>e),"v-0bbe1b6a":()=>p(()=>import("./index.html-952217e3.js"),[]).then(({data:e})=>e),"v-2841a60b":()=>p(()=>import("./achievements.html-153951fa.js"),[]).then(({data:e})=>e),"v-3957d221":()=>p(()=>import("./character-data.html-025331ff.js"),[]).then(({data:e})=>e),"v-a9f7b44a":()=>p(()=>import("./character-wiki.html-e8ab0077.js"),[]).then(({data:e})=>e),"v-7cac7db6":()=>p(()=>import("./develop-plan.html-d275fd43.js"),[]).then(({data:e})=>e),"v-e2f690f0":()=>p(()=>import("./game-launcher.html-9485cb36.js"),[]).then(({data:e})=>e),"v-0eb8e461":()=>p(()=>import("./hutao-API.html-1a35710b.js"),[]).then(({data:e})=>e),"v-16a7a694":()=>p(()=>import("./hutao-settings.html-a0beedb9.js"),[]).then(({data:e})=>e),"v-04b421cc":()=>p(()=>import("./mhy-account-switch.html-d89611c4.js"),[]).then(({data:e})=>e),"v-b5462c1a":()=>p(()=>import("./real-time-notes.html-b6b26118.js"),[]).then(({data:e})=>e),"v-108ccfbc":()=>p(()=>import("./weapon-wiki.html-fe452671.js"),[]).then(({data:e})=>e),"v-0ccd64e9":()=>p(()=>import("./wish-export.html-73b25ec4.js"),[]).then(({data:e})=>e),"v-c4bb0cba":()=>p(()=>import("./index.html-f6e81126.js"),[]).then(({data:e})=>e),"v-c87f8b6e":()=>p(()=>import("./bug-report.html-3f92b9f9.js"),[]).then(({data:e})=>e),"v-70e6808e":()=>p(()=>import("./privacy-notice.html-4d9aedad.js"),[]).then(({data:e})=>e),"v-647ebd24":()=>p(()=>import("./tos.html-187ddbdd.js"),[]).then(({data:e})=>e),"v-119bd096":()=>p(()=>import("./update-log.html-3a65a8b7.js"),[]).then(({data:e})=>e),"v-3706649a":()=>p(()=>import("./404.html-392add74.js"),[]).then(({data:e})=>e),"v-42f24836":()=>p(()=>import("./index.html-ec66f958.js"),[]).then(({data:e})=>e),"v-8daa1a0e":()=>p(()=>import("./index.html-ead0711a.js"),[]).then(({data:e})=>e)},lo=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"https://umami.irain.in/script.js","data-website-id":"f586534f-1741-450e-a0f4-3c0189f993c9","async":"","defer":""}],["script",{"type":"module","src":"https://get.microsoft.com/badge/ms-store-badge.bundled.js"}],["link",{"rel":"icon","href":"/favicon.ico"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-512.png","type":"image/png","sizes":"512x512"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-192.png","type":"image/png","sizes":"192x192"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-144.png","type":"image/png","sizes":"144x144"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-72.png","type":"image/png","sizes":"72x72"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-96.png","type":"image/png","sizes":"96x96"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-48.png","type":"image/png","sizes":"48x48"}],["link",{"rel":"manifest","href":"/manifest.webmanifest","crossorigin":"use-credentials"}],["meta",{"name":"theme-color","content":"#f26d6d"}],["link",{"rel":"apple-touch-icon","href":"/favicon.ico"}],["meta",{"name":"apple-mobile-web-app-capable","content":"yes"}],["meta",{"name":"apple-mobile-web-app-status-bar-style","content":"black"}],["meta",{"name":"msapplication-TileImage","content":"/favicon.ico"}],["meta",{"name":"msapplication-TileColor","content":"#ffffff"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}]],"locales":{"/zh/":{"lang":"zh-CN","title":"胡桃工具箱","description":"多功能的原神工具箱"},"/en/":{"lang":"en-US","title":"Snap Hutao","description":"Super utilitarian Genshin Impact Tool"}}}'),pa={"v-2d0a870d":b(()=>p(()=>import("./index.html-26bb78d0.js"),["assets/index.html-26bb78d0.js","assets/framework-8be3ab77.js"])),"v-082946dd":b(()=>p(()=>import("./community.html-157b5bb6.js"),["assets/community.html-157b5bb6.js","assets/framework-8be3ab77.js"])),"v-038e810e":b(()=>p(()=>import("./i18n.html-74c5c7e2.js"),["assets/i18n.html-74c5c7e2.js","assets/framework-8be3ab77.js"])),"v-586858ed":b(()=>p(()=>import("./project.html-0650083e.js"),["assets/project.html-0650083e.js","assets/framework-8be3ab77.js"])),"v-0c01f6a4":b(()=>p(()=>import("./quick-start.html-c13d246e.js"),["assets/quick-start.html-c13d246e.js","assets/framework-8be3ab77.js"])),"v-23b9870a":b(()=>p(()=>import("./side-load.html-f656173e.js"),["assets/side-load.html-f656173e.js","assets/framework-8be3ab77.js"])),"v-7d29d7d8":b(()=>p(()=>import("./star-request.html-3ff0f768.js"),["assets/star-request.html-3ff0f768.js","assets/framework-8be3ab77.js"])),"v-2d0ad528":b(()=>p(()=>import("./index.html-1ea01100.js"),["assets/index.html-1ea01100.js","assets/framework-8be3ab77.js"])),"v-5cad49b8":b(()=>p(()=>import("./community.html-1851f335.js"),["assets/community.html-1851f335.js","assets/framework-8be3ab77.js"])),"v-27c4e153":b(()=>p(()=>import("./i18n.html-ab40d114.js"),["assets/i18n.html-ab40d114.js","assets/framework-8be3ab77.js"])),"v-6c355688":b(()=>p(()=>import("./project.html-11af8d5b.js"),["assets/project.html-11af8d5b.js","assets/framework-8be3ab77.js"])),"v-4f90aebf":b(()=>p(()=>import("./quick-start.html-73137be4.js"),["assets/quick-start.html-73137be4.js","assets/framework-8be3ab77.js"])),"v-783d89e5":b(()=>p(()=>import("./side-load.html-6d4118f1.js"),["assets/side-load.html-6d4118f1.js","assets/framework-8be3ab77.js"])),"v-a91bb9c6":b(()=>p(()=>import("./star-request.html-8a203856.js"),["assets/star-request.html-8a203856.js","assets/framework-8be3ab77.js"])),"v-1bd4ef83":b(()=>p(()=>import("./FAQ.html-9b6ca765.js"),["assets/FAQ.html-9b6ca765.js","assets/framework-8be3ab77.js"])),"v-5c3f740a":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-adee93ff.js"),["assets/Gacha-system-and-export-principal.html-adee93ff.js","assets/framework-8be3ab77.js"])),"v-5f449840":b(()=>p(()=>import("./index.html-fac48cef.js"),["assets/index.html-fac48cef.js","assets/framework-8be3ab77.js"])),"v-1a028d16":b(()=>p(()=>import("./exceptions.html-ebfba49d.js"),["assets/exceptions.html-ebfba49d.js","assets/framework-8be3ab77.js"])),"v-bd668802":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-1058bb32.js"),["assets/get-stoken-cookie-from-the-third-party.html-1058bb32.js","assets/framework-8be3ab77.js"])),"v-51647c4a":b(()=>p(()=>import("./known-issue.html-456ce03d.js"),["assets/known-issue.html-456ce03d.js","assets/framework-8be3ab77.js"])),"v-031e5d68":b(()=>p(()=>import("./mihoyo-risk-tip.html-953fd5f3.js"),["assets/mihoyo-risk-tip.html-953fd5f3.js","assets/framework-8be3ab77.js"])),"v-bbae7dd2":b(()=>p(()=>import("./uninstall.html-6206b061.js"),["assets/uninstall.html-6206b061.js","assets/framework-8be3ab77.js"])),"v-30f089b6":b(()=>p(()=>import("./index.html-14e304a7.js"),["assets/index.html-14e304a7.js","assets/framework-8be3ab77.js"])),"v-699a13b0":b(()=>p(()=>import("./achievements.html-b4f0b9f3.js"),["assets/achievements.html-b4f0b9f3.js","assets/framework-8be3ab77.js"])),"v-f3692af4":b(()=>p(()=>import("./character-data.html-1fe02eed.js"),["assets/character-data.html-1fe02eed.js","assets/framework-8be3ab77.js"])),"v-10108380":b(()=>p(()=>import("./character-wiki.html-f5c241cf.js"),["assets/character-wiki.html-f5c241cf.js","assets/framework-8be3ab77.js"])),"v-83f6294a":b(()=>p(()=>import("./develop-plan.html-a2b0e4e5.js"),["assets/develop-plan.html-a2b0e4e5.js","assets/framework-8be3ab77.js"])),"v-7839fe83":b(()=>p(()=>import("./game-launcher.html-3a595d86.js"),["assets/game-launcher.html-3a595d86.js","assets/framework-8be3ab77.js"])),"v-0106e0dc":b(()=>p(()=>import("./hutao-API.html-649782e1.js"),["assets/hutao-API.html-649782e1.js","assets/framework-8be3ab77.js"])),"v-639b3ef9":b(()=>p(()=>import("./hutao-settings.html-0516ff4b.js"),["assets/hutao-settings.html-0516ff4b.js","assets/framework-8be3ab77.js"])),"v-03aaffb1":b(()=>p(()=>import("./mhy-account-switch.html-fa72bc8b.js"),["assets/mhy-account-switch.html-fa72bc8b.js","assets/framework-8be3ab77.js"])),"v-124743a4":b(()=>p(()=>import("./real-time-notes.html-99f16c8c.js"),["assets/real-time-notes.html-99f16c8c.js","assets/framework-8be3ab77.js"])),"v-e30b3c46":b(()=>p(()=>import("./weapon-wiki.html-1b6ec5a4.js"),["assets/weapon-wiki.html-1b6ec5a4.js","assets/framework-8be3ab77.js"])),"v-b8e3a2b8":b(()=>p(()=>import("./wish-export.html-93eff3a4.js"),["assets/wish-export.html-93eff3a4.js","assets/framework-8be3ab77.js"])),"v-a4f9d2c4":b(()=>p(()=>import("./index.html-88564790.js"),["assets/index.html-88564790.js","assets/framework-8be3ab77.js"])),"v-45ceb024":b(()=>p(()=>import("./bug-report.html-49b70aa7.js"),["assets/bug-report.html-49b70aa7.js","assets/framework-8be3ab77.js"])),"v-b4085a44":b(()=>p(()=>import("./privacy-notice.html-789465cc.js"),["assets/privacy-notice.html-789465cc.js","assets/framework-8be3ab77.js"])),"v-b1c7a1c2":b(()=>p(()=>import("./tos.html-4ccd710b.js"),["assets/tos.html-4ccd710b.js","assets/framework-8be3ab77.js"])),"v-52f43e3b":b(()=>p(()=>import("./update-log.html-d813d090.js"),["assets/update-log.html-d813d090.js","assets/framework-8be3ab77.js"])),"v-4a1d3ac8":b(()=>p(()=>import("./FAQ.html-7f8b0e42.js"),["assets/FAQ.html-7f8b0e42.js","assets/framework-8be3ab77.js"])),"v-b0dd6b00":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-7eaacb59.js"),["assets/Gacha-system-and-export-principal.html-7eaacb59.js","assets/framework-8be3ab77.js"])),"v-16d7d7b6":b(()=>p(()=>import("./index.html-2b1921cb.js"),["assets/index.html-2b1921cb.js","assets/framework-8be3ab77.js"])),"v-c8e5b2e0":b(()=>p(()=>import("./exceptions.html-70309d5f.js"),["assets/exceptions.html-70309d5f.js","assets/framework-8be3ab77.js"])),"v-6892c29a":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-865dbdf0.js"),["assets/get-stoken-cookie-from-the-third-party.html-865dbdf0.js","assets/framework-8be3ab77.js"])),"v-8ab89ae2":b(()=>p(()=>import("./known-issue.html-7521a7b3.js"),["assets/known-issue.html-7521a7b3.js","assets/framework-8be3ab77.js"])),"v-9cc22da6":b(()=>p(()=>import("./mihoyo-risk-tip.html-1ba22612.js"),["assets/mihoyo-risk-tip.html-1ba22612.js","assets/framework-8be3ab77.js"])),"v-a04a76c8":b(()=>p(()=>import("./uninstall.html-1cacc183.js"),["assets/uninstall.html-1cacc183.js","assets/framework-8be3ab77.js"])),"v-db2a9d92":b(()=>p(()=>import("./symposium1.html-c6b390a7.js"),["assets/symposium1.html-c6b390a7.js","assets/framework-8be3ab77.js"])),"v-d7c0ec54":b(()=>p(()=>import("./symposium2.html-d8a74b5c.js"),["assets/symposium2.html-d8a74b5c.js","assets/framework-8be3ab77.js"])),"v-0bbe1b6a":b(()=>p(()=>import("./index.html-316c8240.js"),["assets/index.html-316c8240.js","assets/framework-8be3ab77.js"])),"v-2841a60b":b(()=>p(()=>import("./achievements.html-13a48bd9.js"),["assets/achievements.html-13a48bd9.js","assets/framework-8be3ab77.js"])),"v-3957d221":b(()=>p(()=>import("./character-data.html-52ae7620.js"),["assets/character-data.html-52ae7620.js","assets/framework-8be3ab77.js"])),"v-a9f7b44a":b(()=>p(()=>import("./character-wiki.html-198a5541.js"),["assets/character-wiki.html-198a5541.js","assets/framework-8be3ab77.js"])),"v-7cac7db6":b(()=>p(()=>import("./develop-plan.html-41964921.js"),["assets/develop-plan.html-41964921.js","assets/framework-8be3ab77.js"])),"v-e2f690f0":b(()=>p(()=>import("./game-launcher.html-1016c709.js"),["assets/game-launcher.html-1016c709.js","assets/framework-8be3ab77.js"])),"v-0eb8e461":b(()=>p(()=>import("./hutao-API.html-1c9a476e.js"),["assets/hutao-API.html-1c9a476e.js","assets/framework-8be3ab77.js"])),"v-16a7a694":b(()=>p(()=>import("./hutao-settings.html-75742e29.js"),["assets/hutao-settings.html-75742e29.js","assets/framework-8be3ab77.js"])),"v-04b421cc":b(()=>p(()=>import("./mhy-account-switch.html-8b9bc712.js"),["assets/mhy-account-switch.html-8b9bc712.js","assets/framework-8be3ab77.js"])),"v-b5462c1a":b(()=>p(()=>import("./real-time-notes.html-efc395e0.js"),["assets/real-time-notes.html-efc395e0.js","assets/framework-8be3ab77.js"])),"v-108ccfbc":b(()=>p(()=>import("./weapon-wiki.html-7adf8d60.js"),["assets/weapon-wiki.html-7adf8d60.js","assets/framework-8be3ab77.js"])),"v-0ccd64e9":b(()=>p(()=>import("./wish-export.html-d7c83ab6.js"),["assets/wish-export.html-d7c83ab6.js","assets/framework-8be3ab77.js"])),"v-c4bb0cba":b(()=>p(()=>import("./index.html-db394eaf.js"),["assets/index.html-db394eaf.js","assets/framework-8be3ab77.js"])),"v-c87f8b6e":b(()=>p(()=>import("./bug-report.html-045ede4f.js"),["assets/bug-report.html-045ede4f.js","assets/framework-8be3ab77.js"])),"v-70e6808e":b(()=>p(()=>import("./privacy-notice.html-2dde0de5.js"),["assets/privacy-notice.html-2dde0de5.js","assets/framework-8be3ab77.js"])),"v-647ebd24":b(()=>p(()=>import("./tos.html-5f23cb94.js"),["assets/tos.html-5f23cb94.js","assets/framework-8be3ab77.js"])),"v-119bd096":b(()=>p(()=>import("./update-log.html-c2575952.js"),["assets/update-log.html-c2575952.js","assets/framework-8be3ab77.js"])),"v-3706649a":b(()=>p(()=>import("./404.html-3152ea96.js"),["assets/404.html-3152ea96.js","assets/framework-8be3ab77.js"])),"v-42f24836":b(()=>p(()=>import("./index.html-d4b53319.js"),["assets/index.html-d4b53319.js","assets/framework-8be3ab77.js"])),"v-8daa1a0e":b(()=>p(()=>import("./index.html-8b0bd72f.js"),["assets/index.html-8b0bd72f.js","assets/framework-8be3ab77.js"]))};var io=Symbol(""),so=k(ro),ma=be({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),oe=k(ma),D=()=>oe,ha=Symbol(""),C=()=>{const e=J(ha);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},fa=Symbol(""),co=()=>{const e=J(fa);if(!e)throw new Error("usePageHead() is called without provider.");return e},uo=Symbol(""),ga=Symbol(""),Ne=()=>{const e=J(ga);if(!e)throw new Error("usePageLang() is called without provider.");return e},_a=Symbol(""),vo=()=>{const e=J(_a);if(!e)throw new Error("usePageLayout() is called without provider.");return e},ot=Symbol(""),ae=()=>{const e=J(ot);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},he=k(lo),ba=()=>he,ya=Symbol(""),Me=()=>{const e=J(ya);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},po=Symbol(""),mo="Layout",ho="NotFound",X=Fn({resolveLayouts:e=>e.reduce((t,a)=>({...t,...a.layouts}),{}),resolvePageData:async e=>{const t=so.value[e];return await(t==null?void 0:t())??ma},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,a)=>{const n=F(t.description)?t.description:a.description,o=[...Ce(t.head)?t.head:[],...a.head,["title",{},e],["meta",{name:"description",content:n}]];return Hn(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(a=>!!a).join(" | "),resolvePageLang:e=>e.lang||"en",resolvePageLayout:(e,t)=>{let a;if(e.path){const n=e.frontmatter.layout;F(n)?a=n:a=mo}else a=ho;return t[a]},resolveRouteLocale:(e,t)=>jn(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Be=E({name:"ClientOnly",setup(e,t){const a=k(!1);return R(()=>{a.value=!0}),()=>{var n,o;return a.value?(o=(n=t.slots).default)==null?void 0:o.call(n):null}}}),wa=E({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=D(),a=m(()=>pa[e.pageKey||t.value.key]);return()=>a.value?r(a.value):r("div","404 Not Found")}}),H=(e={})=>e,te=e=>ke(e)?e:`/${sa(e)}`;const fo={},x=({name:e="",color:t="currentColor"},{slots:a})=>{var n;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(n=a.default)==null?void 0:n.call(a))};x.displayName="IconBase";const Ea=({size:e=48,stroke:t=4,wrapper:a=!0,height:n=2*e})=>{const o=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[r("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),r("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[r("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),r("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return a?r("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${n}px`},o):o};Ea.displayName="LoadingIcon";const ka=(e,{slots:t})=>{var a;return((a=t.default)==null?void 0:a.call(t))||null},La=()=>r(x,{name:"github"},()=>r("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));La.displayName="GitHubIcon";const Ta=()=>r(x,{name:"gitlab"},()=>r("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Ta.displayName="GitLabIcon";const Oa=()=>r(x,{name:"gitee"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Oa.displayName="GiteeIcon";const Aa=()=>r(x,{name:"bitbucket"},()=>r("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Aa.displayName="BitbucketIcon";const Ia=()=>r(x,{name:"source"},()=>r("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Ia.displayName="SourceIcon";const Pa=Array.isArray,go=e=>typeof e=="function",_o=e=>typeof e=="string";var Sa=e=>/^(https?:)?\/\//.test(e),Da=e=>Object.prototype.toString.call(e)==="[object Object]";const Y=(e,t)=>{const a=t?t._instance:Le();return Da(a==null?void 0:a.appContext.components)&&(e in a.appContext.components||bt(e)in a.appContext.components||qn(bt(e))in a.appContext.components)};function bo(){const e=k(!1);return Le()&&R(()=>{e.value=!0}),e}function yo(e){return bo(),m(()=>!!e())}const wo=()=>yo(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),Eo=()=>{const e=wo();return m(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},ve=e=>{const t=ae();return m(()=>e[t.value])},ko=(e="")=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},$a=(e,t)=>{let a=1;for(let n=0;n>6;return a+=a<<3,a^=a>>11,a%t},ce=e=>typeof e=="string",Ee=(e,t)=>ce(e)&&e.startsWith(t),pe=(e,t)=>ce(e)&&e.endsWith(t),rt=Object.entries,ye=Object.keys,Et=e=>Da(e)&&ce(e.name),kt=(e,t=!1)=>e?Pa(e)?e.map(a=>ce(a)?{name:a}:Et(a)?a:null).filter(a=>a!==null):ce(e)?[{name:e}]:Et(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Ra=(e,t)=>{if(e){if(Pa(e)&&e.every(ce))return e;if(ce(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Lo=e=>Ra(e,"category"),To=e=>Ra(e,"tag"),lt=e=>Ee(e,"/"),xa=/#.*$/u,Oo=e=>{const t=xa.exec(e);return t?t[0]:""},Lt=e=>decodeURI(e).replace(xa,"").replace(/(index)?\.(md|html)$/,""),it=(e,t)=>{if(t===void 0)return!1;const a=Lt(e.path),n=Lt(t),o=Oo(t);return o?o===e.hash&&(!n||a===n):a===n},Ao=e=>Sa(e)?e:`https://github.com/${e}`,Ca=e=>!Sa(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,st=(e,...t)=>{const a=e.resolve(...t),n=a.matched[a.matched.length-1];if(!(n!=null&&n.redirect))return a;const{redirect:o}=n,l=go(o)?o(a):o,i=_o(l)?{path:l}:l;return st(e,{hash:a.hash,query:a.query,params:a.params,...i})};function Q(e){return ca()?(ua(e),!0):!1}function B(e){return typeof e=="function"?e():me(e)}const ue=typeof window<"u",de=()=>{},Tt=Io();function Io(){var e;return ue&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ct(e,t){function a(...n){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(l)})}return a}const za=e=>e();function Po(e,t={}){let a,n,o=de;const l=s=>{clearTimeout(s),o(),o=de};return s=>{const d=B(e),c=B(t.maxWait);return a&&l(a),d<=0||c!==void 0&&c<=0?(n&&(l(n),n=null),Promise.resolve(s())):new Promise((u,v)=>{o=t.rejectOnCancel?v:u,c&&!n&&(n=setTimeout(()=>{a&&l(a),n=null,u(s())},c)),a=setTimeout(()=>{n&&l(n),n=null,u(s())},d)})}}function So(e,t=!0,a=!0,n=!1){let o=0,l,i=!0,s=de,d;const c=()=>{l&&(clearTimeout(l),l=void 0,s(),s=de)};return v=>{const h=B(e),f=Date.now()-o,w=()=>d=v();return c(),h<=0?(o=Date.now(),w()):(f>h&&(a||!i)?(o=Date.now(),w()):t&&(d=new Promise((L,y)=>{s=n?y:L,l=setTimeout(()=>{o=Date.now(),i=!0,L(w()),c()},Math.max(0,h-f))})),!a&&!l&&(l=setTimeout(()=>i=!0,h)),i=!1,d)}}function Do(e=za){const t=k(!0);function a(){t.value=!1}function n(){t.value=!0}const o=(...l)=>{t.value&&e(...l)};return{isActive:be(t),pause:a,resume:n,eventFilter:o}}function Va(...e){if(e.length!==1)return ze(...e);const t=e[0];return typeof t=="function"?be(Wn(()=>({get:t,set:de}))):k(t)}function Ss(e,t=200,a={}){return ct(Po(t,a),e)}function $o(e,t=200,a=!1,n=!0,o=!1){return ct(So(t,a,n,o),e)}function ut(e,t=!0){Le()?R(e):t?e():Te(e)}function Ro(e){Le()&&Ve(e)}function xo(e,t=1e3,a={}){const{immediate:n=!0,immediateCallback:o=!1}=a;let l=null;const i=k(!1);function s(){l&&(clearInterval(l),l=null)}function d(){i.value=!1,s()}function c(){const u=B(t);u<=0||(i.value=!0,o&&e(),s(),l=setInterval(e,u))}if(n&&ue&&c(),et(t)||typeof t=="function"){const u=I(t,()=>{i.value&&ue&&c()});Q(u)}return Q(d),{isActive:i,pause:d,resume:c}}function Co(e,t,a={}){const{immediate:n=!0}=a,o=k(!1);let l=null;function i(){l&&(clearTimeout(l),l=null)}function s(){o.value=!1,i()}function d(...c){i(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,e(...c)},B(t))}return n&&(o.value=!0,ue&&d()),Q(s),{isPending:be(o),start:d,stop:s}}function Ot(e=!1,t={}){const{truthyValue:a=!0,falsyValue:n=!1}=t,o=et(e),l=k(e);function i(s){if(arguments.length)return l.value=s,l.value;{const d=B(a);return l.value=l.value===d?B(n):d,l.value}}return o?i:[l,i]}var At=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,No=(e,t)=>{var a={};for(var n in e)zo.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&At)for(var n of At(e))t.indexOf(n)<0&&Vo.call(e,n)&&(a[n]=e[n]);return a};function Mo(e,t,a={}){const n=a,{eventFilter:o=za}=n,l=No(n,["eventFilter"]);return I(e,ct(o,t),l)}var Bo=Object.defineProperty,Fo=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,It=(e,t,a)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,jo=(e,t)=>{for(var a in t||(t={}))Na.call(t,a)&&It(e,a,t[a]);if(xe)for(var a of xe(t))Ma.call(t,a)&&It(e,a,t[a]);return e},qo=(e,t)=>Fo(e,Ho(t)),Wo=(e,t)=>{var a={};for(var n in e)Na.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&xe)for(var n of xe(e))t.indexOf(n)<0&&Ma.call(e,n)&&(a[n]=e[n]);return a};function Uo(e,t,a={}){const n=a,{eventFilter:o}=n,l=Wo(n,["eventFilter"]),{eventFilter:i,pause:s,resume:d,isActive:c}=Do(o);return{stop:Mo(e,t,qo(jo({},l),{eventFilter:i})),pause:s,resume:d,isActive:c}}function ee(e){var t;const a=B(e);return(t=a==null?void 0:a.$el)!=null?t:a}const W=ue?window:void 0,dt=ue?window.document:void 0,Go=ue?window.navigator:void 0;function N(...e){let t,a,n,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,n,o]=e,t=W):[t,a,n,o]=e,!t)return de;Array.isArray(a)||(a=[a]),Array.isArray(n)||(n=[n]);const l=[],i=()=>{l.forEach(u=>u()),l.length=0},s=(u,v,h,f)=>(u.addEventListener(v,h,f),()=>u.removeEventListener(v,h,f)),d=I(()=>[ee(t),B(o)],([u,v])=>{i(),u&&l.push(...a.flatMap(h=>n.map(f=>s(u,h,f,v))))},{immediate:!0,flush:"post"}),c=()=>{d(),i()};return Q(c),c}function Ko(){const e=k(!1);return Le()&&R(()=>{e.value=!0}),e}function Oe(e){const t=Ko();return m(()=>(t.value,Boolean(e())))}function Qo(e,t={}){const{immediate:a=!0,window:n=W}=t,o=k(!1);let l=0,i=null;function s(u){if(!o.value||!n)return;const v=u-l;e({delta:v,timestamp:u}),l=u,i=n.requestAnimationFrame(s)}function d(){!o.value&&n&&(o.value=!0,i=n.requestAnimationFrame(s))}function c(){o.value=!1,i!=null&&n&&(n.cancelAnimationFrame(i),i=null)}return a&&d(),Q(c),{isActive:be(o),pause:c,resume:d}}function Ba(e,t={}){const{window:a=W}=t,n=Oe(()=>a&&"matchMedia"in a&&typeof a.matchMedia=="function");let o;const l=k(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{n.value&&(i(),o=a.matchMedia(Va(e).value),l.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s)))};return Gn(s),Q(()=>i()),l}function Yo(e={}){const{navigator:t=Go,read:a=!1,source:n,copiedDuring:o=1500,legacy:l=!1}=e,i=["copy","cut"],s=Oe(()=>t&&"clipboard"in t),d=m(()=>s.value||l),c=k(""),u=k(!1),v=Co(()=>u.value=!1,o);function h(){s.value?t.clipboard.readText().then(y=>{c.value=y}):c.value=L()}if(d.value&&a)for(const y of i)N(y,h);async function f(y=B(n)){d.value&&y!=null&&(s.value?await t.clipboard.writeText(y):w(y),c.value=y,u.value=!0,v.start())}function w(y){const g=document.createElement("textarea");g.value=y??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function L(){var y,g,O;return(O=(g=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:g.toString())!=null?O:""}return{isSupported:d,text:c,copied:u,copy:f}}const Ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pe="__vueuse_ssr_handlers__",Jo=Xo();function Xo(){return Pe in Ie||(Ie[Pe]=Ie[Pe]||{}),Ie[Pe]}function Zo(e,t){return Jo[e]||t}function er(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var tr=Object.defineProperty,Pt=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,St=(e,t,a)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Dt=(e,t)=>{for(var a in t||(t={}))ar.call(t,a)&&St(e,a,t[a]);if(Pt)for(var a of Pt(t))nr.call(t,a)&&St(e,a,t[a]);return e};const or={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},$t="vueuse-storage";function vt(e,t,a,n={}){var o;const{flush:l="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:c=!1,shallow:u,window:v=W,eventFilter:h,onError:f=T=>{console.error(T)}}=n,w=(u?Un:k)(t);if(!a)try{a=Zo("getDefaultStorage",()=>{var T;return(T=W)==null?void 0:T.localStorage})()}catch(T){f(T)}if(!a)return w;const L=B(t),y=er(L),g=(o=n.serializer)!=null?o:or[y],{pause:O,resume:P}=Uo(w,()=>V(w.value),{flush:l,deep:i,eventFilter:h});return v&&s&&(N(v,"storage",_),N(v,$t,S)),_(),w;function V(T){try{if(T==null)a.removeItem(e);else{const z=g.write(T),ie=a.getItem(e);ie!==z&&(a.setItem(e,z),v&&v.dispatchEvent(new CustomEvent($t,{detail:{key:e,oldValue:ie,newValue:z,storageArea:a}})))}}catch(z){f(z)}}function M(T){const z=T?T.newValue:a.getItem(e);if(z==null)return d&&L!==null&&a.setItem(e,g.write(L)),L;if(!T&&c){const ie=g.read(z);return typeof c=="function"?c(ie,L):y==="object"&&!Array.isArray(ie)?Dt(Dt({},L),ie):ie}else return typeof z!="string"?z:g.read(z)}function S(T){_(T.detail)}function _(T){if(!(T&&T.storageArea!==a)){if(T&&T.key==null){w.value=L;return}if(!(T&&T.key!==e)){O();try{w.value=M(T)}catch(z){f(z)}finally{T?Te(P):P()}}}}}function rr(e){return Ba("(prefers-color-scheme: dark)",e)}var Rt=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,sr=(e,t)=>{var a={};for(var n in e)lr.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&Rt)for(var n of Rt(e))t.indexOf(n)<0&&ir.call(e,n)&&(a[n]=e[n]);return a};function cr(e,t,a={}){const n=a,{window:o=W}=n,l=sr(n,["window"]);let i;const s=Oe(()=>o&&"MutationObserver"in o),d=()=>{i&&(i.disconnect(),i=void 0)},c=I(()=>ee(e),v=>{d(),s.value&&o&&v&&(i=new MutationObserver(t),i.observe(v,l))},{immediate:!0}),u=()=>{d(),c()};return Q(u),{isSupported:s,stop:u}}var xt=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,vr=(e,t)=>{var a={};for(var n in e)ur.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&xt)for(var n of xt(e))t.indexOf(n)<0&&dr.call(e,n)&&(a[n]=e[n]);return a};function pr(e,t,a={}){const n=a,{window:o=W}=n,l=vr(n,["window"]);let i;const s=Oe(()=>o&&"ResizeObserver"in o),d=()=>{i&&(i.disconnect(),i=void 0)},c=m(()=>Array.isArray(e)?e.map(h=>ee(h)):[ee(e)]),u=I(c,h=>{if(d(),s.value&&o){i=new ResizeObserver(t);for(const f of h)f&&i.observe(f,l)}},{immediate:!0,flush:"post",deep:!0}),v=()=>{d(),u()};return Q(v),{isSupported:s,stop:v}}function mr(e,t={width:0,height:0},a={}){const{window:n=W,box:o="content-box"}=a,l=m(()=>{var d,c;return(c=(d=ee(e))==null?void 0:d.namespaceURI)==null?void 0:c.includes("svg")}),i=k(t.width),s=k(t.height);return pr(e,([d])=>{const c=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(n&&l.value){const u=ee(e);if(u){const v=n.getComputedStyle(u);i.value=parseFloat(v.width),s.value=parseFloat(v.height)}}else if(c){const u=Array.isArray(c)?c:[c];i.value=u.reduce((v,{inlineSize:h})=>v+h,0),s.value=u.reduce((v,{blockSize:h})=>v+h,0)}else i.value=d.contentRect.width,s.value=d.contentRect.height},a),I(()=>ee(e),d=>{i.value=d?t.width:0,s.value=d?t.height:0}),{width:i,height:s}}const Ct=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function pt(e,t={}){const{document:a=dt,autoExit:n=!1}=t,o=m(()=>{var g;return(g=ee(e))!=null?g:a==null?void 0:a.querySelector("html")}),l=k(!1),i=m(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>a&&g in a||o.value&&g in o.value)),s=m(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>a&&g in a||o.value&&g in o.value)),d=m(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>a&&g in a||o.value&&g in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>a&&g in a),u=Oe(()=>o.value&&a&&i.value!==void 0&&s.value!==void 0&&d.value!==void 0),v=()=>c?(a==null?void 0:a[c])===o.value:!1,h=()=>{if(d.value){if(a&&a[d.value]!=null)return a[d.value];{const g=o.value;if((g==null?void 0:g[d.value])!=null)return Boolean(g[d.value])}}return!1};async function f(){if(u.value){if(s.value)if((a==null?void 0:a[s.value])!=null)await a[s.value]();else{const g=o.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}l.value=!1}}async function w(){if(!u.value)return;h()&&await f();const g=o.value;i.value&&(g==null?void 0:g[i.value])!=null&&(await g[i.value](),l.value=!0)}async function L(){await(l.value?f():w())}const y=()=>{const g=h();(!g||g&&v())&&(l.value=g)};return N(a,Ct,y,!1),N(()=>ee(o),Ct,y,!1),n&&Q(f),{isSupported:u,isFullscreen:l,enter:w,exit:f,toggle:L}}var hr=Object.defineProperty,zt=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,Vt=(e,t,a)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,_r=(e,t)=>{for(var a in t||(t={}))fr.call(t,a)&&Vt(e,a,t[a]);if(zt)for(var a of zt(t))gr.call(t,a)&&Vt(e,a,t[a]);return e};function Ds(e={}){const{controls:t=!1,interval:a="requestAnimationFrame"}=e,n=k(new Date),o=()=>n.value=new Date,l=a==="requestAnimationFrame"?Qo(o,{immediate:!0}):xo(o,a,{immediate:!0});return t?_r({now:n},l):n}function br(e={}){const{window:t=W}=e;if(!t)return k(["en"]);const a=t.navigator,n=k(a.languages);return N(t,"languagechange",()=>{n.value=a.languages}),n}function $s(e,t=de,a={}){const{immediate:n=!0,manual:o=!1,type:l="text/javascript",async:i=!0,crossOrigin:s,referrerPolicy:d,noModule:c,defer:u,document:v=dt,attrs:h={}}=a,f=k(null);let w=null;const L=O=>new Promise((P,V)=>{const M=T=>(f.value=T,P(T),T);if(!v){P(!1);return}let S=!1,_=v.querySelector(`script[src="${B(e)}"]`);_?_.hasAttribute("data-loaded")&&M(_):(_=v.createElement("script"),_.type=l,_.async=i,_.src=B(e),u&&(_.defer=u),s&&(_.crossOrigin=s),c&&(_.noModule=c),d&&(_.referrerPolicy=d),Object.entries(h).forEach(([T,z])=>_==null?void 0:_.setAttribute(T,z)),S=!0),_.addEventListener("error",T=>V(T)),_.addEventListener("abort",T=>V(T)),_.addEventListener("load",()=>{_.setAttribute("data-loaded","true"),t(_),M(_)}),S&&(_=v.head.appendChild(_)),O||M(_)}),y=(O=!0)=>(w||(w=L(O)),w),g=()=>{if(!v)return;w=null,f.value&&(f.value=null);const O=v.querySelector(`script[src="${B(e)}"]`);O&&v.head.removeChild(O)};return n&&!o&&ut(y),o||Ro(g),{scriptTag:f,load:y,unload:g}}function Fa(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientHeight1?!0:(t.preventDefault&&t.preventDefault(),!1)}function mt(e,t=!1){const a=k(t);let n=null,o;I(Va(e),s=>{if(s){const d=s;o=d.style.overflow,a.value&&(d.style.overflow="hidden")}},{immediate:!0});const l=()=>{const s=B(e);!s||a.value||(Tt&&(n=N(s,"touchmove",d=>{yr(d)},{passive:!1})),s.style.overflow="hidden",a.value=!0)},i=()=>{const s=B(e);!s||!a.value||(Tt&&(n==null||n()),s.style.overflow=o,a.value=!1)};return Q(i),m({get(){return a.value},set(s){s?l():i()}})}function wr(e,t,a={}){const{window:n=W}=a;return vt(e,t,n==null?void 0:n.sessionStorage,a)}let Er=0;function kr(e,t={}){const a=k(!1),{document:n=dt,immediate:o=!0,manual:l=!1,id:i=`vueuse_styletag_${++Er}`}=t,s=k(e);let d=()=>{};const c=()=>{if(!n)return;const v=n.getElementById(i)||n.createElement("style");v.isConnected||(v.type="text/css",v.id=i,t.media&&(v.media=t.media),n.head.appendChild(v)),!a.value&&(d=I(s,h=>{v.textContent=h},{immediate:!0}),a.value=!0)},u=()=>{!n||!a.value||(d(),n.head.removeChild(n.getElementById(i)),a.value=!1)};return o&&!l&&ut(c),l||Q(u),{id:i,css:s,unload:u,load:c,isLoaded:be(a)}}function Lr({window:e=W}={}){if(!e)return{x:k(0),y:k(0)};const t=k(e.scrollX),a=k(e.scrollY);return N(e,"scroll",()=>{t.value=e.scrollX,a.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:a}}function Tr(e={}){const{window:t=W,initialWidth:a=1/0,initialHeight:n=1/0,listenOrientation:o=!0,includeScrollbar:l=!0}=e,i=k(a),s=k(n),d=()=>{t&&(l?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(d(),ut(d),N("resize",d,{passive:!0}),o){const c=Ba("(orientation: portrait)");I(c,()=>d())}return{width:i,height:s}}var Or=E({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=m(()=>{const n=["font-icon icon"],o=`iconfont icon-${e.icon}`;return n.push(o),n}),a=m(()=>{const n={};return e.color&&(n.color=e.color),e.size&&(n["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),ye(n).length?n:null});return()=>e.icon?r("span",{key:e.icon,class:t.value,style:a.value}):null}});const Ha=({type:e="info",text:t="",vertical:a="top",color:n},{slots:o})=>{var l;return r("span",{class:["badge",e,{diy:n}],style:{verticalAlign:a,...n?{backgroundColor:n}:{}}},t||((l=o.default)==null?void 0:l.call(o)))};Ha.displayName="Badge";const Ar="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture",Nt=e=>F(e)?e:`${e}px`,Ir=(e,t=0)=>{const a=k(),n=m(()=>Nt(me(e.width)||"100%")),o=k("auto"),l=d=>{if(F(d)){const[c,u]=d.split(":"),v=Number(c)/Number(u);if(!Number.isNaN(v))return v}return typeof d=="number"?d:16/9},i=d=>{const c=me(e.height),u=l(me(e.ratio));return c?Nt(c):`${Number(d)/u+me(t)}px`},s=()=>{a.value&&(o.value=i(a.value.clientWidth))};return R(()=>{s(),et(t)&&I(t,()=>s()),N("orientationchange",()=>s()),N("resize",()=>s())}),{el:a,width:n,height:o}},Mt="https://player.bilibili.com/player.html";var Pr=E({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(e){const{el:t,width:a,height:n}=Ir(e),o=m(()=>{const{aid:l,bvid:i,cid:s,autoplay:d,time:c,page:u}=e;return l&&s?`${Mt}?aid=${l}&cid=${s}&t=${c}&autoplay=${d?1:0}&page=${u}`:i?`${Mt}?bvid=${i}&t=${c}&autoplay=${d?1:0}`:null});return()=>o.value?[r("div",{class:"bili-desc"},r("a",{class:"sr-only",href:o.value},e.title)),r("iframe",{ref:t,src:o.value,title:e.title,class:"bili-iframe",allow:Ar,style:{width:a.value,height:n.value}})]:null}});const ja=()=>r(x,{name:"back-to-top"},()=>[r("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),r("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);ja.displayName="BackToTopIcon";var Sr=E({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(e){const t=C(),a=ve({"/zh/":{backToTop:"返回顶部"},"/en/":{backToTop:"Back to top"},"/":{backToTop:"Back to top"}}),n=k(),{height:o}=mr(n),{height:l}=Tr(),{y:i}=Lr(),s=m(()=>t.value.backToTop!==!1&&i.value>e.threshold),d=m(()=>i.value/(o.value-l.value));return R(()=>{n.value=document.body}),()=>r(se,{name:"fade"},()=>s.value?r("button",{type:"button",class:"back-to-top","aria-label":a.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[e.noProgress?null:r("svg",{class:"scroll-progress"},r("circle",{cx:"50%",cy:"50%",r:"calc(50% - 2px)",style:{"stroke-dasharray":`${Math.PI*d.value*100}% ${Math.PI*100}%`}})),r(ja)]):null)}});const Dr=H({enhance:({app:e})=>{Y("FontIcon")||e.component("FontIcon",Or),Y("Badge")||e.component("Badge",Ha),Y("BiliBili")||e.component("BiliBili",Pr)},setup:()=>{kr(` @import url("https://at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css"); +import{d as b,r as k,a as be,b as Fn,c as E,i as F,e as Ce,f as Hn,g as jn,o as R,h as m,j as r,k as ke,l as sa,m as J,n as Le,p as bt,q as qn,u as me,s as et,t as ze,v as Wn,w as Te,x as I,y as Ve,z as ca,A as ua,B as Un,C as Gn,T as se,D as G,E as Kn,R as re,F as q,G as tt,H as K,I as da,J as va,K as Qn,L as Re,M as at,N as Yn,O as Jn,P as nt,Q as yt,S as Xn,U as Zn,V as eo,W as to,X as ao}from"./framework-8be3ab77.js";const no="modulepreload",oo=function(e){return"/"+e},wt={},p=function(t,a,n){if(!a||a.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(a.map(l=>{if(l=oo(l),l in wt)return;wt[l]=!0;const i=l.endsWith(".css"),s=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const v=o[u];if(v.href===l&&(!i||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${s}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":no,i||(c.as="script",c.crossOrigin=""),c.href=l,document.head.appendChild(c),i)return new Promise((u,v)=>{c.addEventListener("load",u),c.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t())},ro={"v-2d0a870d":()=>p(()=>import("./index.html-eea618f2.js"),[]).then(({data:e})=>e),"v-082946dd":()=>p(()=>import("./community.html-7b6cf713.js"),[]).then(({data:e})=>e),"v-038e810e":()=>p(()=>import("./i18n.html-ef362d15.js"),[]).then(({data:e})=>e),"v-586858ed":()=>p(()=>import("./project.html-473b3158.js"),[]).then(({data:e})=>e),"v-0c01f6a4":()=>p(()=>import("./quick-start.html-4d65a6d8.js"),[]).then(({data:e})=>e),"v-23b9870a":()=>p(()=>import("./side-load.html-7b979a4b.js"),[]).then(({data:e})=>e),"v-7d29d7d8":()=>p(()=>import("./star-request.html-f04fbb42.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>p(()=>import("./index.html-f34e1944.js"),[]).then(({data:e})=>e),"v-5cad49b8":()=>p(()=>import("./community.html-d5cd824a.js"),[]).then(({data:e})=>e),"v-27c4e153":()=>p(()=>import("./i18n.html-ae78c768.js"),[]).then(({data:e})=>e),"v-6c355688":()=>p(()=>import("./project.html-19f093f4.js"),[]).then(({data:e})=>e),"v-4f90aebf":()=>p(()=>import("./quick-start.html-56223e7c.js"),[]).then(({data:e})=>e),"v-783d89e5":()=>p(()=>import("./side-load.html-21c2c1b2.js"),[]).then(({data:e})=>e),"v-a91bb9c6":()=>p(()=>import("./star-request.html-bcc46613.js"),[]).then(({data:e})=>e),"v-1bd4ef83":()=>p(()=>import("./FAQ.html-35cf3b82.js"),[]).then(({data:e})=>e),"v-5c3f740a":()=>p(()=>import("./Gacha-system-and-export-principal.html-853037f5.js"),[]).then(({data:e})=>e),"v-5f449840":()=>p(()=>import("./index.html-c0f9c75d.js"),[]).then(({data:e})=>e),"v-1a028d16":()=>p(()=>import("./exceptions.html-1526c82d.js"),[]).then(({data:e})=>e),"v-bd668802":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-520f4ee1.js"),[]).then(({data:e})=>e),"v-51647c4a":()=>p(()=>import("./known-issue.html-38311247.js"),[]).then(({data:e})=>e),"v-031e5d68":()=>p(()=>import("./mihoyo-risk-tip.html-9f88b447.js"),[]).then(({data:e})=>e),"v-bbae7dd2":()=>p(()=>import("./uninstall.html-d9dcec87.js"),[]).then(({data:e})=>e),"v-30f089b6":()=>p(()=>import("./index.html-0c1ef835.js"),[]).then(({data:e})=>e),"v-699a13b0":()=>p(()=>import("./achievements.html-8117d04c.js"),[]).then(({data:e})=>e),"v-f3692af4":()=>p(()=>import("./character-data.html-719b9d94.js"),[]).then(({data:e})=>e),"v-10108380":()=>p(()=>import("./character-wiki.html-8767f568.js"),[]).then(({data:e})=>e),"v-83f6294a":()=>p(()=>import("./develop-plan.html-b75d7412.js"),[]).then(({data:e})=>e),"v-7839fe83":()=>p(()=>import("./game-launcher.html-d3a1a744.js"),[]).then(({data:e})=>e),"v-0106e0dc":()=>p(()=>import("./hutao-API.html-767e6bb1.js"),[]).then(({data:e})=>e),"v-639b3ef9":()=>p(()=>import("./hutao-settings.html-55d052a6.js"),[]).then(({data:e})=>e),"v-03aaffb1":()=>p(()=>import("./mhy-account-switch.html-dcbe0027.js"),[]).then(({data:e})=>e),"v-124743a4":()=>p(()=>import("./real-time-notes.html-c37f178d.js"),[]).then(({data:e})=>e),"v-e30b3c46":()=>p(()=>import("./weapon-wiki.html-3a22c97c.js"),[]).then(({data:e})=>e),"v-b8e3a2b8":()=>p(()=>import("./wish-export.html-2dd03804.js"),[]).then(({data:e})=>e),"v-a4f9d2c4":()=>p(()=>import("./index.html-c41eac72.js"),[]).then(({data:e})=>e),"v-45ceb024":()=>p(()=>import("./bug-report.html-6058d767.js"),[]).then(({data:e})=>e),"v-b4085a44":()=>p(()=>import("./privacy-notice.html-b602f4cd.js"),[]).then(({data:e})=>e),"v-b1c7a1c2":()=>p(()=>import("./tos.html-26935a8d.js"),[]).then(({data:e})=>e),"v-52f43e3b":()=>p(()=>import("./update-log.html-060fdc3c.js"),[]).then(({data:e})=>e),"v-4a1d3ac8":()=>p(()=>import("./FAQ.html-a02e3572.js"),[]).then(({data:e})=>e),"v-b0dd6b00":()=>p(()=>import("./Gacha-system-and-export-principal.html-4770640b.js"),[]).then(({data:e})=>e),"v-16d7d7b6":()=>p(()=>import("./index.html-c16a5239.js"),[]).then(({data:e})=>e),"v-c8e5b2e0":()=>p(()=>import("./exceptions.html-1f58c557.js"),[]).then(({data:e})=>e),"v-6892c29a":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-32d0a398.js"),[]).then(({data:e})=>e),"v-8ab89ae2":()=>p(()=>import("./known-issue.html-d69c4bff.js"),[]).then(({data:e})=>e),"v-9cc22da6":()=>p(()=>import("./mihoyo-risk-tip.html-3b9124dc.js"),[]).then(({data:e})=>e),"v-a04a76c8":()=>p(()=>import("./uninstall.html-65de1499.js"),[]).then(({data:e})=>e),"v-db2a9d92":()=>p(()=>import("./symposium1.html-6b58761a.js"),[]).then(({data:e})=>e),"v-d7c0ec54":()=>p(()=>import("./symposium2.html-facbe563.js"),[]).then(({data:e})=>e),"v-0bbe1b6a":()=>p(()=>import("./index.html-952217e3.js"),[]).then(({data:e})=>e),"v-2841a60b":()=>p(()=>import("./achievements.html-153951fa.js"),[]).then(({data:e})=>e),"v-3957d221":()=>p(()=>import("./character-data.html-025331ff.js"),[]).then(({data:e})=>e),"v-a9f7b44a":()=>p(()=>import("./character-wiki.html-e8ab0077.js"),[]).then(({data:e})=>e),"v-7cac7db6":()=>p(()=>import("./develop-plan.html-d275fd43.js"),[]).then(({data:e})=>e),"v-e2f690f0":()=>p(()=>import("./game-launcher.html-9485cb36.js"),[]).then(({data:e})=>e),"v-0eb8e461":()=>p(()=>import("./hutao-API.html-1a35710b.js"),[]).then(({data:e})=>e),"v-16a7a694":()=>p(()=>import("./hutao-settings.html-a0beedb9.js"),[]).then(({data:e})=>e),"v-04b421cc":()=>p(()=>import("./mhy-account-switch.html-d89611c4.js"),[]).then(({data:e})=>e),"v-b5462c1a":()=>p(()=>import("./real-time-notes.html-b6b26118.js"),[]).then(({data:e})=>e),"v-108ccfbc":()=>p(()=>import("./weapon-wiki.html-fe452671.js"),[]).then(({data:e})=>e),"v-0ccd64e9":()=>p(()=>import("./wish-export.html-73b25ec4.js"),[]).then(({data:e})=>e),"v-c4bb0cba":()=>p(()=>import("./index.html-f6e81126.js"),[]).then(({data:e})=>e),"v-c87f8b6e":()=>p(()=>import("./bug-report.html-3f92b9f9.js"),[]).then(({data:e})=>e),"v-70e6808e":()=>p(()=>import("./privacy-notice.html-4d9aedad.js"),[]).then(({data:e})=>e),"v-647ebd24":()=>p(()=>import("./tos.html-187ddbdd.js"),[]).then(({data:e})=>e),"v-119bd096":()=>p(()=>import("./update-log.html-3a65a8b7.js"),[]).then(({data:e})=>e),"v-3706649a":()=>p(()=>import("./404.html-392add74.js"),[]).then(({data:e})=>e),"v-42f24836":()=>p(()=>import("./index.html-ec66f958.js"),[]).then(({data:e})=>e),"v-8daa1a0e":()=>p(()=>import("./index.html-ead0711a.js"),[]).then(({data:e})=>e)},lo=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"https://umami.irain.in/script.js","data-website-id":"f586534f-1741-450e-a0f4-3c0189f993c9","async":"","defer":""}],["script",{"type":"module","src":"https://get.microsoft.com/badge/ms-store-badge.bundled.js"}],["link",{"rel":"icon","href":"/favicon.ico"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-512.png","type":"image/png","sizes":"512x512"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-192.png","type":"image/png","sizes":"192x192"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-144.png","type":"image/png","sizes":"144x144"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-72.png","type":"image/png","sizes":"72x72"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-96.png","type":"image/png","sizes":"96x96"}],["link",{"rel":"icon","href":"/pwa-icon/chrome-48.png","type":"image/png","sizes":"48x48"}],["link",{"rel":"manifest","href":"/manifest.webmanifest","crossorigin":"use-credentials"}],["meta",{"name":"theme-color","content":"#f26d6d"}],["link",{"rel":"apple-touch-icon","href":"/favicon.ico"}],["meta",{"name":"apple-mobile-web-app-capable","content":"yes"}],["meta",{"name":"apple-mobile-web-app-status-bar-style","content":"black"}],["meta",{"name":"msapplication-TileImage","content":"/favicon.ico"}],["meta",{"name":"msapplication-TileColor","content":"#ffffff"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}]],"locales":{"/zh/":{"lang":"zh-CN","title":"胡桃工具箱","description":"多功能的原神工具箱"},"/en/":{"lang":"en-US","title":"Snap Hutao","description":"Super utilitarian Genshin Impact Tool"}}}'),pa={"v-2d0a870d":b(()=>p(()=>import("./index.html-26bb78d0.js"),["assets/index.html-26bb78d0.js","assets/framework-8be3ab77.js"])),"v-082946dd":b(()=>p(()=>import("./community.html-7d1656aa.js"),["assets/community.html-7d1656aa.js","assets/framework-8be3ab77.js"])),"v-038e810e":b(()=>p(()=>import("./i18n.html-74c5c7e2.js"),["assets/i18n.html-74c5c7e2.js","assets/framework-8be3ab77.js"])),"v-586858ed":b(()=>p(()=>import("./project.html-0650083e.js"),["assets/project.html-0650083e.js","assets/framework-8be3ab77.js"])),"v-0c01f6a4":b(()=>p(()=>import("./quick-start.html-c13d246e.js"),["assets/quick-start.html-c13d246e.js","assets/framework-8be3ab77.js"])),"v-23b9870a":b(()=>p(()=>import("./side-load.html-6d4118f1.js"),["assets/side-load.html-6d4118f1.js","assets/framework-8be3ab77.js"])),"v-7d29d7d8":b(()=>p(()=>import("./star-request.html-3ff0f768.js"),["assets/star-request.html-3ff0f768.js","assets/framework-8be3ab77.js"])),"v-2d0ad528":b(()=>p(()=>import("./index.html-1ea01100.js"),["assets/index.html-1ea01100.js","assets/framework-8be3ab77.js"])),"v-5cad49b8":b(()=>p(()=>import("./community.html-c9f2d093.js"),["assets/community.html-c9f2d093.js","assets/framework-8be3ab77.js"])),"v-27c4e153":b(()=>p(()=>import("./i18n.html-ab40d114.js"),["assets/i18n.html-ab40d114.js","assets/framework-8be3ab77.js"])),"v-6c355688":b(()=>p(()=>import("./project.html-11af8d5b.js"),["assets/project.html-11af8d5b.js","assets/framework-8be3ab77.js"])),"v-4f90aebf":b(()=>p(()=>import("./quick-start.html-73137be4.js"),["assets/quick-start.html-73137be4.js","assets/framework-8be3ab77.js"])),"v-783d89e5":b(()=>p(()=>import("./side-load.html-f656173e.js"),["assets/side-load.html-f656173e.js","assets/framework-8be3ab77.js"])),"v-a91bb9c6":b(()=>p(()=>import("./star-request.html-8a203856.js"),["assets/star-request.html-8a203856.js","assets/framework-8be3ab77.js"])),"v-1bd4ef83":b(()=>p(()=>import("./FAQ.html-9b6ca765.js"),["assets/FAQ.html-9b6ca765.js","assets/framework-8be3ab77.js"])),"v-5c3f740a":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-adee93ff.js"),["assets/Gacha-system-and-export-principal.html-adee93ff.js","assets/framework-8be3ab77.js"])),"v-5f449840":b(()=>p(()=>import("./index.html-fac48cef.js"),["assets/index.html-fac48cef.js","assets/framework-8be3ab77.js"])),"v-1a028d16":b(()=>p(()=>import("./exceptions.html-ebfba49d.js"),["assets/exceptions.html-ebfba49d.js","assets/framework-8be3ab77.js"])),"v-bd668802":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-1058bb32.js"),["assets/get-stoken-cookie-from-the-third-party.html-1058bb32.js","assets/framework-8be3ab77.js"])),"v-51647c4a":b(()=>p(()=>import("./known-issue.html-456ce03d.js"),["assets/known-issue.html-456ce03d.js","assets/framework-8be3ab77.js"])),"v-031e5d68":b(()=>p(()=>import("./mihoyo-risk-tip.html-953fd5f3.js"),["assets/mihoyo-risk-tip.html-953fd5f3.js","assets/framework-8be3ab77.js"])),"v-bbae7dd2":b(()=>p(()=>import("./uninstall.html-6206b061.js"),["assets/uninstall.html-6206b061.js","assets/framework-8be3ab77.js"])),"v-30f089b6":b(()=>p(()=>import("./index.html-14e304a7.js"),["assets/index.html-14e304a7.js","assets/framework-8be3ab77.js"])),"v-699a13b0":b(()=>p(()=>import("./achievements.html-b4f0b9f3.js"),["assets/achievements.html-b4f0b9f3.js","assets/framework-8be3ab77.js"])),"v-f3692af4":b(()=>p(()=>import("./character-data.html-1fe02eed.js"),["assets/character-data.html-1fe02eed.js","assets/framework-8be3ab77.js"])),"v-10108380":b(()=>p(()=>import("./character-wiki.html-f5c241cf.js"),["assets/character-wiki.html-f5c241cf.js","assets/framework-8be3ab77.js"])),"v-83f6294a":b(()=>p(()=>import("./develop-plan.html-a2b0e4e5.js"),["assets/develop-plan.html-a2b0e4e5.js","assets/framework-8be3ab77.js"])),"v-7839fe83":b(()=>p(()=>import("./game-launcher.html-3a595d86.js"),["assets/game-launcher.html-3a595d86.js","assets/framework-8be3ab77.js"])),"v-0106e0dc":b(()=>p(()=>import("./hutao-API.html-649782e1.js"),["assets/hutao-API.html-649782e1.js","assets/framework-8be3ab77.js"])),"v-639b3ef9":b(()=>p(()=>import("./hutao-settings.html-0516ff4b.js"),["assets/hutao-settings.html-0516ff4b.js","assets/framework-8be3ab77.js"])),"v-03aaffb1":b(()=>p(()=>import("./mhy-account-switch.html-fa72bc8b.js"),["assets/mhy-account-switch.html-fa72bc8b.js","assets/framework-8be3ab77.js"])),"v-124743a4":b(()=>p(()=>import("./real-time-notes.html-99f16c8c.js"),["assets/real-time-notes.html-99f16c8c.js","assets/framework-8be3ab77.js"])),"v-e30b3c46":b(()=>p(()=>import("./weapon-wiki.html-1b6ec5a4.js"),["assets/weapon-wiki.html-1b6ec5a4.js","assets/framework-8be3ab77.js"])),"v-b8e3a2b8":b(()=>p(()=>import("./wish-export.html-93eff3a4.js"),["assets/wish-export.html-93eff3a4.js","assets/framework-8be3ab77.js"])),"v-a4f9d2c4":b(()=>p(()=>import("./index.html-88564790.js"),["assets/index.html-88564790.js","assets/framework-8be3ab77.js"])),"v-45ceb024":b(()=>p(()=>import("./bug-report.html-49b70aa7.js"),["assets/bug-report.html-49b70aa7.js","assets/framework-8be3ab77.js"])),"v-b4085a44":b(()=>p(()=>import("./privacy-notice.html-789465cc.js"),["assets/privacy-notice.html-789465cc.js","assets/framework-8be3ab77.js"])),"v-b1c7a1c2":b(()=>p(()=>import("./tos.html-4ccd710b.js"),["assets/tos.html-4ccd710b.js","assets/framework-8be3ab77.js"])),"v-52f43e3b":b(()=>p(()=>import("./update-log.html-d813d090.js"),["assets/update-log.html-d813d090.js","assets/framework-8be3ab77.js"])),"v-4a1d3ac8":b(()=>p(()=>import("./FAQ.html-7f8b0e42.js"),["assets/FAQ.html-7f8b0e42.js","assets/framework-8be3ab77.js"])),"v-b0dd6b00":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-7eaacb59.js"),["assets/Gacha-system-and-export-principal.html-7eaacb59.js","assets/framework-8be3ab77.js"])),"v-16d7d7b6":b(()=>p(()=>import("./index.html-2b1921cb.js"),["assets/index.html-2b1921cb.js","assets/framework-8be3ab77.js"])),"v-c8e5b2e0":b(()=>p(()=>import("./exceptions.html-70309d5f.js"),["assets/exceptions.html-70309d5f.js","assets/framework-8be3ab77.js"])),"v-6892c29a":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-865dbdf0.js"),["assets/get-stoken-cookie-from-the-third-party.html-865dbdf0.js","assets/framework-8be3ab77.js"])),"v-8ab89ae2":b(()=>p(()=>import("./known-issue.html-7521a7b3.js"),["assets/known-issue.html-7521a7b3.js","assets/framework-8be3ab77.js"])),"v-9cc22da6":b(()=>p(()=>import("./mihoyo-risk-tip.html-1ba22612.js"),["assets/mihoyo-risk-tip.html-1ba22612.js","assets/framework-8be3ab77.js"])),"v-a04a76c8":b(()=>p(()=>import("./uninstall.html-1cacc183.js"),["assets/uninstall.html-1cacc183.js","assets/framework-8be3ab77.js"])),"v-db2a9d92":b(()=>p(()=>import("./symposium1.html-c6b390a7.js"),["assets/symposium1.html-c6b390a7.js","assets/framework-8be3ab77.js"])),"v-d7c0ec54":b(()=>p(()=>import("./symposium2.html-d8a74b5c.js"),["assets/symposium2.html-d8a74b5c.js","assets/framework-8be3ab77.js"])),"v-0bbe1b6a":b(()=>p(()=>import("./index.html-316c8240.js"),["assets/index.html-316c8240.js","assets/framework-8be3ab77.js"])),"v-2841a60b":b(()=>p(()=>import("./achievements.html-13a48bd9.js"),["assets/achievements.html-13a48bd9.js","assets/framework-8be3ab77.js"])),"v-3957d221":b(()=>p(()=>import("./character-data.html-52ae7620.js"),["assets/character-data.html-52ae7620.js","assets/framework-8be3ab77.js"])),"v-a9f7b44a":b(()=>p(()=>import("./character-wiki.html-198a5541.js"),["assets/character-wiki.html-198a5541.js","assets/framework-8be3ab77.js"])),"v-7cac7db6":b(()=>p(()=>import("./develop-plan.html-41964921.js"),["assets/develop-plan.html-41964921.js","assets/framework-8be3ab77.js"])),"v-e2f690f0":b(()=>p(()=>import("./game-launcher.html-1016c709.js"),["assets/game-launcher.html-1016c709.js","assets/framework-8be3ab77.js"])),"v-0eb8e461":b(()=>p(()=>import("./hutao-API.html-1c9a476e.js"),["assets/hutao-API.html-1c9a476e.js","assets/framework-8be3ab77.js"])),"v-16a7a694":b(()=>p(()=>import("./hutao-settings.html-75742e29.js"),["assets/hutao-settings.html-75742e29.js","assets/framework-8be3ab77.js"])),"v-04b421cc":b(()=>p(()=>import("./mhy-account-switch.html-8b9bc712.js"),["assets/mhy-account-switch.html-8b9bc712.js","assets/framework-8be3ab77.js"])),"v-b5462c1a":b(()=>p(()=>import("./real-time-notes.html-efc395e0.js"),["assets/real-time-notes.html-efc395e0.js","assets/framework-8be3ab77.js"])),"v-108ccfbc":b(()=>p(()=>import("./weapon-wiki.html-7adf8d60.js"),["assets/weapon-wiki.html-7adf8d60.js","assets/framework-8be3ab77.js"])),"v-0ccd64e9":b(()=>p(()=>import("./wish-export.html-d7c83ab6.js"),["assets/wish-export.html-d7c83ab6.js","assets/framework-8be3ab77.js"])),"v-c4bb0cba":b(()=>p(()=>import("./index.html-db394eaf.js"),["assets/index.html-db394eaf.js","assets/framework-8be3ab77.js"])),"v-c87f8b6e":b(()=>p(()=>import("./bug-report.html-045ede4f.js"),["assets/bug-report.html-045ede4f.js","assets/framework-8be3ab77.js"])),"v-70e6808e":b(()=>p(()=>import("./privacy-notice.html-2dde0de5.js"),["assets/privacy-notice.html-2dde0de5.js","assets/framework-8be3ab77.js"])),"v-647ebd24":b(()=>p(()=>import("./tos.html-5f23cb94.js"),["assets/tos.html-5f23cb94.js","assets/framework-8be3ab77.js"])),"v-119bd096":b(()=>p(()=>import("./update-log.html-c2575952.js"),["assets/update-log.html-c2575952.js","assets/framework-8be3ab77.js"])),"v-3706649a":b(()=>p(()=>import("./404.html-3152ea96.js"),["assets/404.html-3152ea96.js","assets/framework-8be3ab77.js"])),"v-42f24836":b(()=>p(()=>import("./index.html-d4b53319.js"),["assets/index.html-d4b53319.js","assets/framework-8be3ab77.js"])),"v-8daa1a0e":b(()=>p(()=>import("./index.html-8b0bd72f.js"),["assets/index.html-8b0bd72f.js","assets/framework-8be3ab77.js"]))};var io=Symbol(""),so=k(ro),ma=be({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),oe=k(ma),D=()=>oe,ha=Symbol(""),C=()=>{const e=J(ha);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},fa=Symbol(""),co=()=>{const e=J(fa);if(!e)throw new Error("usePageHead() is called without provider.");return e},uo=Symbol(""),ga=Symbol(""),Ne=()=>{const e=J(ga);if(!e)throw new Error("usePageLang() is called without provider.");return e},_a=Symbol(""),vo=()=>{const e=J(_a);if(!e)throw new Error("usePageLayout() is called without provider.");return e},ot=Symbol(""),ae=()=>{const e=J(ot);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},he=k(lo),ba=()=>he,ya=Symbol(""),Me=()=>{const e=J(ya);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},po=Symbol(""),mo="Layout",ho="NotFound",X=Fn({resolveLayouts:e=>e.reduce((t,a)=>({...t,...a.layouts}),{}),resolvePageData:async e=>{const t=so.value[e];return await(t==null?void 0:t())??ma},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,a)=>{const n=F(t.description)?t.description:a.description,o=[...Ce(t.head)?t.head:[],...a.head,["title",{},e],["meta",{name:"description",content:n}]];return Hn(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(a=>!!a).join(" | "),resolvePageLang:e=>e.lang||"en",resolvePageLayout:(e,t)=>{let a;if(e.path){const n=e.frontmatter.layout;F(n)?a=n:a=mo}else a=ho;return t[a]},resolveRouteLocale:(e,t)=>jn(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),Be=E({name:"ClientOnly",setup(e,t){const a=k(!1);return R(()=>{a.value=!0}),()=>{var n,o;return a.value?(o=(n=t.slots).default)==null?void 0:o.call(n):null}}}),wa=E({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=D(),a=m(()=>pa[e.pageKey||t.value.key]);return()=>a.value?r(a.value):r("div","404 Not Found")}}),H=(e={})=>e,te=e=>ke(e)?e:`/${sa(e)}`;const fo={},x=({name:e="",color:t="currentColor"},{slots:a})=>{var n;return r("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(n=a.default)==null?void 0:n.call(a))};x.displayName="IconBase";const Ea=({size:e=48,stroke:t=4,wrapper:a=!0,height:n=2*e})=>{const o=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[r("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),r("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[r("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),r("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return a?r("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${n}px`},o):o};Ea.displayName="LoadingIcon";const ka=(e,{slots:t})=>{var a;return((a=t.default)==null?void 0:a.call(t))||null},La=()=>r(x,{name:"github"},()=>r("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));La.displayName="GitHubIcon";const Ta=()=>r(x,{name:"gitlab"},()=>r("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Ta.displayName="GitLabIcon";const Oa=()=>r(x,{name:"gitee"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Oa.displayName="GiteeIcon";const Aa=()=>r(x,{name:"bitbucket"},()=>r("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Aa.displayName="BitbucketIcon";const Ia=()=>r(x,{name:"source"},()=>r("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Ia.displayName="SourceIcon";const Pa=Array.isArray,go=e=>typeof e=="function",_o=e=>typeof e=="string";var Sa=e=>/^(https?:)?\/\//.test(e),Da=e=>Object.prototype.toString.call(e)==="[object Object]";const Y=(e,t)=>{const a=t?t._instance:Le();return Da(a==null?void 0:a.appContext.components)&&(e in a.appContext.components||bt(e)in a.appContext.components||qn(bt(e))in a.appContext.components)};function bo(){const e=k(!1);return Le()&&R(()=>{e.value=!0}),e}function yo(e){return bo(),m(()=>!!e())}const wo=()=>yo(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),Eo=()=>{const e=wo();return m(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},ve=e=>{const t=ae();return m(()=>e[t.value])},ko=(e="")=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},$a=(e,t)=>{let a=1;for(let n=0;n>6;return a+=a<<3,a^=a>>11,a%t},ce=e=>typeof e=="string",Ee=(e,t)=>ce(e)&&e.startsWith(t),pe=(e,t)=>ce(e)&&e.endsWith(t),rt=Object.entries,ye=Object.keys,Et=e=>Da(e)&&ce(e.name),kt=(e,t=!1)=>e?Pa(e)?e.map(a=>ce(a)?{name:a}:Et(a)?a:null).filter(a=>a!==null):ce(e)?[{name:e}]:Et(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Ra=(e,t)=>{if(e){if(Pa(e)&&e.every(ce))return e;if(ce(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Lo=e=>Ra(e,"category"),To=e=>Ra(e,"tag"),lt=e=>Ee(e,"/"),xa=/#.*$/u,Oo=e=>{const t=xa.exec(e);return t?t[0]:""},Lt=e=>decodeURI(e).replace(xa,"").replace(/(index)?\.(md|html)$/,""),it=(e,t)=>{if(t===void 0)return!1;const a=Lt(e.path),n=Lt(t),o=Oo(t);return o?o===e.hash&&(!n||a===n):a===n},Ao=e=>Sa(e)?e:`https://github.com/${e}`,Ca=e=>!Sa(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,st=(e,...t)=>{const a=e.resolve(...t),n=a.matched[a.matched.length-1];if(!(n!=null&&n.redirect))return a;const{redirect:o}=n,l=go(o)?o(a):o,i=_o(l)?{path:l}:l;return st(e,{hash:a.hash,query:a.query,params:a.params,...i})};function Q(e){return ca()?(ua(e),!0):!1}function B(e){return typeof e=="function"?e():me(e)}const ue=typeof window<"u",de=()=>{},Tt=Io();function Io(){var e;return ue&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ct(e,t){function a(...n){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(l)})}return a}const za=e=>e();function Po(e,t={}){let a,n,o=de;const l=s=>{clearTimeout(s),o(),o=de};return s=>{const d=B(e),c=B(t.maxWait);return a&&l(a),d<=0||c!==void 0&&c<=0?(n&&(l(n),n=null),Promise.resolve(s())):new Promise((u,v)=>{o=t.rejectOnCancel?v:u,c&&!n&&(n=setTimeout(()=>{a&&l(a),n=null,u(s())},c)),a=setTimeout(()=>{n&&l(n),n=null,u(s())},d)})}}function So(e,t=!0,a=!0,n=!1){let o=0,l,i=!0,s=de,d;const c=()=>{l&&(clearTimeout(l),l=void 0,s(),s=de)};return v=>{const h=B(e),f=Date.now()-o,w=()=>d=v();return c(),h<=0?(o=Date.now(),w()):(f>h&&(a||!i)?(o=Date.now(),w()):t&&(d=new Promise((L,y)=>{s=n?y:L,l=setTimeout(()=>{o=Date.now(),i=!0,L(w()),c()},Math.max(0,h-f))})),!a&&!l&&(l=setTimeout(()=>i=!0,h)),i=!1,d)}}function Do(e=za){const t=k(!0);function a(){t.value=!1}function n(){t.value=!0}const o=(...l)=>{t.value&&e(...l)};return{isActive:be(t),pause:a,resume:n,eventFilter:o}}function Va(...e){if(e.length!==1)return ze(...e);const t=e[0];return typeof t=="function"?be(Wn(()=>({get:t,set:de}))):k(t)}function Ss(e,t=200,a={}){return ct(Po(t,a),e)}function $o(e,t=200,a=!1,n=!0,o=!1){return ct(So(t,a,n,o),e)}function ut(e,t=!0){Le()?R(e):t?e():Te(e)}function Ro(e){Le()&&Ve(e)}function xo(e,t=1e3,a={}){const{immediate:n=!0,immediateCallback:o=!1}=a;let l=null;const i=k(!1);function s(){l&&(clearInterval(l),l=null)}function d(){i.value=!1,s()}function c(){const u=B(t);u<=0||(i.value=!0,o&&e(),s(),l=setInterval(e,u))}if(n&&ue&&c(),et(t)||typeof t=="function"){const u=I(t,()=>{i.value&&ue&&c()});Q(u)}return Q(d),{isActive:i,pause:d,resume:c}}function Co(e,t,a={}){const{immediate:n=!0}=a,o=k(!1);let l=null;function i(){l&&(clearTimeout(l),l=null)}function s(){o.value=!1,i()}function d(...c){i(),o.value=!0,l=setTimeout(()=>{o.value=!1,l=null,e(...c)},B(t))}return n&&(o.value=!0,ue&&d()),Q(s),{isPending:be(o),start:d,stop:s}}function Ot(e=!1,t={}){const{truthyValue:a=!0,falsyValue:n=!1}=t,o=et(e),l=k(e);function i(s){if(arguments.length)return l.value=s,l.value;{const d=B(a);return l.value=l.value===d?B(n):d,l.value}}return o?i:[l,i]}var At=Object.getOwnPropertySymbols,zo=Object.prototype.hasOwnProperty,Vo=Object.prototype.propertyIsEnumerable,No=(e,t)=>{var a={};for(var n in e)zo.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&At)for(var n of At(e))t.indexOf(n)<0&&Vo.call(e,n)&&(a[n]=e[n]);return a};function Mo(e,t,a={}){const n=a,{eventFilter:o=za}=n,l=No(n,["eventFilter"]);return I(e,ct(o,t),l)}var Bo=Object.defineProperty,Fo=Object.defineProperties,Ho=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Na=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,It=(e,t,a)=>t in e?Bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,jo=(e,t)=>{for(var a in t||(t={}))Na.call(t,a)&&It(e,a,t[a]);if(xe)for(var a of xe(t))Ma.call(t,a)&&It(e,a,t[a]);return e},qo=(e,t)=>Fo(e,Ho(t)),Wo=(e,t)=>{var a={};for(var n in e)Na.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&xe)for(var n of xe(e))t.indexOf(n)<0&&Ma.call(e,n)&&(a[n]=e[n]);return a};function Uo(e,t,a={}){const n=a,{eventFilter:o}=n,l=Wo(n,["eventFilter"]),{eventFilter:i,pause:s,resume:d,isActive:c}=Do(o);return{stop:Mo(e,t,qo(jo({},l),{eventFilter:i})),pause:s,resume:d,isActive:c}}function ee(e){var t;const a=B(e);return(t=a==null?void 0:a.$el)!=null?t:a}const W=ue?window:void 0,dt=ue?window.document:void 0,Go=ue?window.navigator:void 0;function N(...e){let t,a,n,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,n,o]=e,t=W):[t,a,n,o]=e,!t)return de;Array.isArray(a)||(a=[a]),Array.isArray(n)||(n=[n]);const l=[],i=()=>{l.forEach(u=>u()),l.length=0},s=(u,v,h,f)=>(u.addEventListener(v,h,f),()=>u.removeEventListener(v,h,f)),d=I(()=>[ee(t),B(o)],([u,v])=>{i(),u&&l.push(...a.flatMap(h=>n.map(f=>s(u,h,f,v))))},{immediate:!0,flush:"post"}),c=()=>{d(),i()};return Q(c),c}function Ko(){const e=k(!1);return Le()&&R(()=>{e.value=!0}),e}function Oe(e){const t=Ko();return m(()=>(t.value,Boolean(e())))}function Qo(e,t={}){const{immediate:a=!0,window:n=W}=t,o=k(!1);let l=0,i=null;function s(u){if(!o.value||!n)return;const v=u-l;e({delta:v,timestamp:u}),l=u,i=n.requestAnimationFrame(s)}function d(){!o.value&&n&&(o.value=!0,i=n.requestAnimationFrame(s))}function c(){o.value=!1,i!=null&&n&&(n.cancelAnimationFrame(i),i=null)}return a&&d(),Q(c),{isActive:be(o),pause:c,resume:d}}function Ba(e,t={}){const{window:a=W}=t,n=Oe(()=>a&&"matchMedia"in a&&typeof a.matchMedia=="function");let o;const l=k(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{n.value&&(i(),o=a.matchMedia(Va(e).value),l.value=!!(o!=null&&o.matches),o&&("addEventListener"in o?o.addEventListener("change",s):o.addListener(s)))};return Gn(s),Q(()=>i()),l}function Yo(e={}){const{navigator:t=Go,read:a=!1,source:n,copiedDuring:o=1500,legacy:l=!1}=e,i=["copy","cut"],s=Oe(()=>t&&"clipboard"in t),d=m(()=>s.value||l),c=k(""),u=k(!1),v=Co(()=>u.value=!1,o);function h(){s.value?t.clipboard.readText().then(y=>{c.value=y}):c.value=L()}if(d.value&&a)for(const y of i)N(y,h);async function f(y=B(n)){d.value&&y!=null&&(s.value?await t.clipboard.writeText(y):w(y),c.value=y,u.value=!0,v.start())}function w(y){const g=document.createElement("textarea");g.value=y??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function L(){var y,g,O;return(O=(g=(y=document==null?void 0:document.getSelection)==null?void 0:y.call(document))==null?void 0:g.toString())!=null?O:""}return{isSupported:d,text:c,copied:u,copy:f}}const Ie=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pe="__vueuse_ssr_handlers__",Jo=Xo();function Xo(){return Pe in Ie||(Ie[Pe]=Ie[Pe]||{}),Ie[Pe]}function Zo(e,t){return Jo[e]||t}function er(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var tr=Object.defineProperty,Pt=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,St=(e,t,a)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Dt=(e,t)=>{for(var a in t||(t={}))ar.call(t,a)&&St(e,a,t[a]);if(Pt)for(var a of Pt(t))nr.call(t,a)&&St(e,a,t[a]);return e};const or={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},$t="vueuse-storage";function vt(e,t,a,n={}){var o;const{flush:l="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:c=!1,shallow:u,window:v=W,eventFilter:h,onError:f=T=>{console.error(T)}}=n,w=(u?Un:k)(t);if(!a)try{a=Zo("getDefaultStorage",()=>{var T;return(T=W)==null?void 0:T.localStorage})()}catch(T){f(T)}if(!a)return w;const L=B(t),y=er(L),g=(o=n.serializer)!=null?o:or[y],{pause:O,resume:P}=Uo(w,()=>V(w.value),{flush:l,deep:i,eventFilter:h});return v&&s&&(N(v,"storage",_),N(v,$t,S)),_(),w;function V(T){try{if(T==null)a.removeItem(e);else{const z=g.write(T),ie=a.getItem(e);ie!==z&&(a.setItem(e,z),v&&v.dispatchEvent(new CustomEvent($t,{detail:{key:e,oldValue:ie,newValue:z,storageArea:a}})))}}catch(z){f(z)}}function M(T){const z=T?T.newValue:a.getItem(e);if(z==null)return d&&L!==null&&a.setItem(e,g.write(L)),L;if(!T&&c){const ie=g.read(z);return typeof c=="function"?c(ie,L):y==="object"&&!Array.isArray(ie)?Dt(Dt({},L),ie):ie}else return typeof z!="string"?z:g.read(z)}function S(T){_(T.detail)}function _(T){if(!(T&&T.storageArea!==a)){if(T&&T.key==null){w.value=L;return}if(!(T&&T.key!==e)){O();try{w.value=M(T)}catch(z){f(z)}finally{T?Te(P):P()}}}}}function rr(e){return Ba("(prefers-color-scheme: dark)",e)}var Rt=Object.getOwnPropertySymbols,lr=Object.prototype.hasOwnProperty,ir=Object.prototype.propertyIsEnumerable,sr=(e,t)=>{var a={};for(var n in e)lr.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&Rt)for(var n of Rt(e))t.indexOf(n)<0&&ir.call(e,n)&&(a[n]=e[n]);return a};function cr(e,t,a={}){const n=a,{window:o=W}=n,l=sr(n,["window"]);let i;const s=Oe(()=>o&&"MutationObserver"in o),d=()=>{i&&(i.disconnect(),i=void 0)},c=I(()=>ee(e),v=>{d(),s.value&&o&&v&&(i=new MutationObserver(t),i.observe(v,l))},{immediate:!0}),u=()=>{d(),c()};return Q(u),{isSupported:s,stop:u}}var xt=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,vr=(e,t)=>{var a={};for(var n in e)ur.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&xt)for(var n of xt(e))t.indexOf(n)<0&&dr.call(e,n)&&(a[n]=e[n]);return a};function pr(e,t,a={}){const n=a,{window:o=W}=n,l=vr(n,["window"]);let i;const s=Oe(()=>o&&"ResizeObserver"in o),d=()=>{i&&(i.disconnect(),i=void 0)},c=m(()=>Array.isArray(e)?e.map(h=>ee(h)):[ee(e)]),u=I(c,h=>{if(d(),s.value&&o){i=new ResizeObserver(t);for(const f of h)f&&i.observe(f,l)}},{immediate:!0,flush:"post",deep:!0}),v=()=>{d(),u()};return Q(v),{isSupported:s,stop:v}}function mr(e,t={width:0,height:0},a={}){const{window:n=W,box:o="content-box"}=a,l=m(()=>{var d,c;return(c=(d=ee(e))==null?void 0:d.namespaceURI)==null?void 0:c.includes("svg")}),i=k(t.width),s=k(t.height);return pr(e,([d])=>{const c=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(n&&l.value){const u=ee(e);if(u){const v=n.getComputedStyle(u);i.value=parseFloat(v.width),s.value=parseFloat(v.height)}}else if(c){const u=Array.isArray(c)?c:[c];i.value=u.reduce((v,{inlineSize:h})=>v+h,0),s.value=u.reduce((v,{blockSize:h})=>v+h,0)}else i.value=d.contentRect.width,s.value=d.contentRect.height},a),I(()=>ee(e),d=>{i.value=d?t.width:0,s.value=d?t.height:0}),{width:i,height:s}}const Ct=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function pt(e,t={}){const{document:a=dt,autoExit:n=!1}=t,o=m(()=>{var g;return(g=ee(e))!=null?g:a==null?void 0:a.querySelector("html")}),l=k(!1),i=m(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>a&&g in a||o.value&&g in o.value)),s=m(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>a&&g in a||o.value&&g in o.value)),d=m(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>a&&g in a||o.value&&g in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>a&&g in a),u=Oe(()=>o.value&&a&&i.value!==void 0&&s.value!==void 0&&d.value!==void 0),v=()=>c?(a==null?void 0:a[c])===o.value:!1,h=()=>{if(d.value){if(a&&a[d.value]!=null)return a[d.value];{const g=o.value;if((g==null?void 0:g[d.value])!=null)return Boolean(g[d.value])}}return!1};async function f(){if(u.value){if(s.value)if((a==null?void 0:a[s.value])!=null)await a[s.value]();else{const g=o.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}l.value=!1}}async function w(){if(!u.value)return;h()&&await f();const g=o.value;i.value&&(g==null?void 0:g[i.value])!=null&&(await g[i.value](),l.value=!0)}async function L(){await(l.value?f():w())}const y=()=>{const g=h();(!g||g&&v())&&(l.value=g)};return N(a,Ct,y,!1),N(()=>ee(o),Ct,y,!1),n&&Q(f),{isSupported:u,isFullscreen:l,enter:w,exit:f,toggle:L}}var hr=Object.defineProperty,zt=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable,Vt=(e,t,a)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,_r=(e,t)=>{for(var a in t||(t={}))fr.call(t,a)&&Vt(e,a,t[a]);if(zt)for(var a of zt(t))gr.call(t,a)&&Vt(e,a,t[a]);return e};function Ds(e={}){const{controls:t=!1,interval:a="requestAnimationFrame"}=e,n=k(new Date),o=()=>n.value=new Date,l=a==="requestAnimationFrame"?Qo(o,{immediate:!0}):xo(o,a,{immediate:!0});return t?_r({now:n},l):n}function br(e={}){const{window:t=W}=e;if(!t)return k(["en"]);const a=t.navigator,n=k(a.languages);return N(t,"languagechange",()=>{n.value=a.languages}),n}function $s(e,t=de,a={}){const{immediate:n=!0,manual:o=!1,type:l="text/javascript",async:i=!0,crossOrigin:s,referrerPolicy:d,noModule:c,defer:u,document:v=dt,attrs:h={}}=a,f=k(null);let w=null;const L=O=>new Promise((P,V)=>{const M=T=>(f.value=T,P(T),T);if(!v){P(!1);return}let S=!1,_=v.querySelector(`script[src="${B(e)}"]`);_?_.hasAttribute("data-loaded")&&M(_):(_=v.createElement("script"),_.type=l,_.async=i,_.src=B(e),u&&(_.defer=u),s&&(_.crossOrigin=s),c&&(_.noModule=c),d&&(_.referrerPolicy=d),Object.entries(h).forEach(([T,z])=>_==null?void 0:_.setAttribute(T,z)),S=!0),_.addEventListener("error",T=>V(T)),_.addEventListener("abort",T=>V(T)),_.addEventListener("load",()=>{_.setAttribute("data-loaded","true"),t(_),M(_)}),S&&(_=v.head.appendChild(_)),O||M(_)}),y=(O=!0)=>(w||(w=L(O)),w),g=()=>{if(!v)return;w=null,f.value&&(f.value=null);const O=v.querySelector(`script[src="${B(e)}"]`);O&&v.head.removeChild(O)};return n&&!o&&ut(y),o||Ro(g),{scriptTag:f,load:y,unload:g}}function Fa(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientHeight1?!0:(t.preventDefault&&t.preventDefault(),!1)}function mt(e,t=!1){const a=k(t);let n=null,o;I(Va(e),s=>{if(s){const d=s;o=d.style.overflow,a.value&&(d.style.overflow="hidden")}},{immediate:!0});const l=()=>{const s=B(e);!s||a.value||(Tt&&(n=N(s,"touchmove",d=>{yr(d)},{passive:!1})),s.style.overflow="hidden",a.value=!0)},i=()=>{const s=B(e);!s||!a.value||(Tt&&(n==null||n()),s.style.overflow=o,a.value=!1)};return Q(i),m({get(){return a.value},set(s){s?l():i()}})}function wr(e,t,a={}){const{window:n=W}=a;return vt(e,t,n==null?void 0:n.sessionStorage,a)}let Er=0;function kr(e,t={}){const a=k(!1),{document:n=dt,immediate:o=!0,manual:l=!1,id:i=`vueuse_styletag_${++Er}`}=t,s=k(e);let d=()=>{};const c=()=>{if(!n)return;const v=n.getElementById(i)||n.createElement("style");v.isConnected||(v.type="text/css",v.id=i,t.media&&(v.media=t.media),n.head.appendChild(v)),!a.value&&(d=I(s,h=>{v.textContent=h},{immediate:!0}),a.value=!0)},u=()=>{!n||!a.value||(d(),n.head.removeChild(n.getElementById(i)),a.value=!1)};return o&&!l&&ut(c),l||Q(u),{id:i,css:s,unload:u,load:c,isLoaded:be(a)}}function Lr({window:e=W}={}){if(!e)return{x:k(0),y:k(0)};const t=k(e.scrollX),a=k(e.scrollY);return N(e,"scroll",()=>{t.value=e.scrollX,a.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:a}}function Tr(e={}){const{window:t=W,initialWidth:a=1/0,initialHeight:n=1/0,listenOrientation:o=!0,includeScrollbar:l=!0}=e,i=k(a),s=k(n),d=()=>{t&&(l?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(d(),ut(d),N("resize",d,{passive:!0}),o){const c=Ba("(orientation: portrait)");I(c,()=>d())}return{width:i,height:s}}var Or=E({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=m(()=>{const n=["font-icon icon"],o=`iconfont icon-${e.icon}`;return n.push(o),n}),a=m(()=>{const n={};return e.color&&(n.color=e.color),e.size&&(n["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),ye(n).length?n:null});return()=>e.icon?r("span",{key:e.icon,class:t.value,style:a.value}):null}});const Ha=({type:e="info",text:t="",vertical:a="top",color:n},{slots:o})=>{var l;return r("span",{class:["badge",e,{diy:n}],style:{verticalAlign:a,...n?{backgroundColor:n}:{}}},t||((l=o.default)==null?void 0:l.call(o)))};Ha.displayName="Badge";const Ar="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture",Nt=e=>F(e)?e:`${e}px`,Ir=(e,t=0)=>{const a=k(),n=m(()=>Nt(me(e.width)||"100%")),o=k("auto"),l=d=>{if(F(d)){const[c,u]=d.split(":"),v=Number(c)/Number(u);if(!Number.isNaN(v))return v}return typeof d=="number"?d:16/9},i=d=>{const c=me(e.height),u=l(me(e.ratio));return c?Nt(c):`${Number(d)/u+me(t)}px`},s=()=>{a.value&&(o.value=i(a.value.clientWidth))};return R(()=>{s(),et(t)&&I(t,()=>s()),N("orientationchange",()=>s()),N("resize",()=>s())}),{el:a,width:n,height:o}},Mt="https://player.bilibili.com/player.html";var Pr=E({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(e){const{el:t,width:a,height:n}=Ir(e),o=m(()=>{const{aid:l,bvid:i,cid:s,autoplay:d,time:c,page:u}=e;return l&&s?`${Mt}?aid=${l}&cid=${s}&t=${c}&autoplay=${d?1:0}&page=${u}`:i?`${Mt}?bvid=${i}&t=${c}&autoplay=${d?1:0}`:null});return()=>o.value?[r("div",{class:"bili-desc"},r("a",{class:"sr-only",href:o.value},e.title)),r("iframe",{ref:t,src:o.value,title:e.title,class:"bili-iframe",allow:Ar,style:{width:a.value,height:n.value}})]:null}});const ja=()=>r(x,{name:"back-to-top"},()=>[r("path",{d:"M512 843.2c-36.2 0-66.4-13.6-85.8-21.8-10.8-4.6-22.6 3.6-21.8 15.2l7 102c.4 6.2 7.6 9.4 12.6 5.6l29-22c3.6-2.8 9-1.8 11.4 2l41 64.2c3 4.8 10.2 4.8 13.2 0l41-64.2c2.4-3.8 7.8-4.8 11.4-2l29 22c5 3.8 12.2.6 12.6-5.6l7-102c.8-11.6-11-20-21.8-15.2-19.6 8.2-49.6 21.8-85.8 21.8z"}),r("path",{d:"m795.4 586.2-96-98.2C699.4 172 513 32 513 32S324.8 172 324.8 488l-96 98.2c-3.6 3.6-5.2 9-4.4 14.2L261.2 824c1.8 11.4 14.2 17 23.6 10.8L419 744s41.4 40 94.2 40c52.8 0 92.2-40 92.2-40l134.2 90.8c9.2 6.2 21.6.6 23.6-10.8l37-223.8c.4-5.2-1.2-10.4-4.8-14zM513 384c-34 0-61.4-28.6-61.4-64s27.6-64 61.4-64c34 0 61.4 28.6 61.4 64S547 384 513 384z"})]);ja.displayName="BackToTopIcon";var Sr=E({name:"BackToTop",props:{threshold:{type:Number,default:100},noProgress:Boolean},setup(e){const t=C(),a=ve({"/zh/":{backToTop:"返回顶部"},"/en/":{backToTop:"Back to top"},"/":{backToTop:"Back to top"}}),n=k(),{height:o}=mr(n),{height:l}=Tr(),{y:i}=Lr(),s=m(()=>t.value.backToTop!==!1&&i.value>e.threshold),d=m(()=>i.value/(o.value-l.value));return R(()=>{n.value=document.body}),()=>r(se,{name:"fade"},()=>s.value?r("button",{type:"button",class:"back-to-top","aria-label":a.value.backToTop,"data-balloon-pos":"left",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[e.noProgress?null:r("svg",{class:"scroll-progress"},r("circle",{cx:"50%",cy:"50%",r:"calc(50% - 2px)",style:{"stroke-dasharray":`${Math.PI*d.value*100}% ${Math.PI*100}%`}})),r(ja)]):null)}});const Dr=H({enhance:({app:e})=>{Y("FontIcon")||e.component("FontIcon",Or),Y("Badge")||e.component("Badge",Ha),Y("BiliBili")||e.component("BiliBili",Pr)},setup:()=>{kr(` @import url("https://at.alicdn.com/t/c/font_2410206_5vb9zlyghj.css"); `)},rootComponents:[()=>r(Sr,{})]});function qa(e,t,a){var n,o,l;t===void 0&&(t=50),a===void 0&&(a={});var i=(n=a.isImmediate)!=null&&n,s=(o=a.callback)!=null&&o,d=a.maxWait,c=Date.now(),u=[];function v(){if(d!==void 0){var f=Date.now()-c;if(f+t>=d)return d-f}return t}var h=function(){var f=[].slice.call(arguments),w=this;return new Promise(function(L,y){var g=i&&l===void 0;if(l!==void 0&&clearTimeout(l),l=setTimeout(function(){if(l=void 0,c=Date.now(),!i){var P=e.apply(w,f);s&&s(P),u.forEach(function(V){return(0,V.resolve)(P)}),u=[]}},v()),g){var O=e.apply(w,f);return s&&s(O),L(O)}u.push({resolve:L,reject:y})})};return h.cancel=function(f){l!==void 0&&clearTimeout(l),u.forEach(function(w){return(0,w.reject)(f)}),u=[]},h}const $r=({headerLinkSelector:e,headerAnchorSelector:t,delay:a,offset:n=5})=>{const o=G(),i=qa(()=>{var L,y;const s=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(s-0)h.some(O=>O.hash===g.hash));for(let g=0;g=(((L=O.parentElement)==null?void 0:L.offsetTop)??0)-n,M=!P||s<(((y=P.parentElement)==null?void 0:y.offsetTop)??0)-n;if(!(V&&M))continue;const _=decodeURIComponent(o.currentRoute.value.hash),T=decodeURIComponent(O.hash);if(_===T)return;if(v){for(let z=g+1;z{window.addEventListener("scroll",i)}),Kn(()=>{window.removeEventListener("scroll",i)})},Bt=async(e,t)=>{const{scrollBehavior:a}=e.options;e.options.scrollBehavior=void 0,await e.replace({query:e.currentRoute.value.query,hash:t,force:!0}).finally(()=>e.options.scrollBehavior=a)},Rr=".sidebar-link, .toc-link",xr=".header-anchor",Cr=200,zr=5,Vr=H({setup(){$r({headerLinkSelector:Rr,headerAnchorSelector:xr,delay:Cr,offset:zr})}});var Nr=E({name:"AutoCatalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean},setup(e,{slots:t}){const a=ve({"/zh/":{title:"目录"},"/en/":{title:"Catalog"},"/":{title:"Catalog"}}),n=D(),o=G(),l=ba(),i=c=>{const u=c.I;return typeof u>"u"||u},s=()=>{const c=e.base||n.value.path.replace(/\/[^/]+$/,"/"),u=o.getRoutes(),v=[];return u.filter(({meta:h,path:f})=>{if(!Ee(f,c)||f===c)return!1;if(c==="/"){const w=ye(l.value.locales).filter(L=>L!=="/");if(f==="/404.html"||w.some(L=>Ee(f,L)))return!1}return(pe(f,".html")&&!pe(f,"/index.html")||pe(f,"/"))&&i(h)}).map(({path:h,meta:f})=>{const w=h.substring(c.length).split("/").length;return{title:f.t||"",icon:f.i,base:h.replace(/\/[^/]+\/?$/,"/"),order:f.O||null,level:pe(h,"/")?w-1:w,path:h}}).filter(({title:h,level:f})=>typeof h=="string"&&h&&f<=e.level).sort(({title:h,level:f,path:w,order:L},{title:y,level:g,path:O,order:P})=>f-g||(pe(w,"/index.html")?-1:pe(O,"/index.html")?1:L===null?P===null?h.localeCompare(y):P:P===null?L:L>0?P>0?L-P:-1:P<0?L-P:1)).forEach(h=>{var f;const{base:w,level:L}=h;switch(L){case 1:v.push(h);break;case 2:{const y=v.find(g=>g.path===w);y&&(y.children??(y.children=[])).push(h);break}default:{const y=v.find(g=>g.path===w.replace(/\/[^/]+\/$/,"/"));if(y){const g=(f=y.children)==null?void 0:f.find(O=>O.path===w);g&&(g.children??(g.children=[])).push(h)}}}}),v},d=m(()=>s());return()=>r("div",{class:"auto-catalog-wrapper"},[r("h2",{class:"main-title"},a.value.title),d.value.map(({children:c=[],icon:u,path:v,title:h},f)=>[r("h3",{id:h,class:["child-title",{"has-children":c.length}]},[r("a",{href:`#${h}`,class:"header-anchor"},"#"),r(re,{class:"catalog-title",to:v},()=>[e.index?`${f+1}.`:null,u&&t.icon?t.icon({icon:u}):null,h||"Unknown"])]),c.length?r("ul",{class:"child-catalog-wrapper"},c.map(({children:w=[],icon:L,path:y,title:g},O)=>r("li",{class:"child-catalog-item"},[r("div",{class:["sub-title",{"has-children":w.length}]},[r("a",{href:`#${g}`,class:"header-anchor"},"#"),r(re,{class:"catalog-title",to:y},()=>[e.index?`${f+1}.${O+1}`:null,L&&t.icon?t.icon({icon:L}):null,g||"Unknown"])]),w.length?r("div",{class:"sub-catalog-wrapper"},w.map(({icon:P,path:V,title:M},S)=>r(re,{class:"sub-catalog-item",to:V},()=>[e.index?`${f+1}.${O+1}.${S+1}`:null,P&&t.icon?t.icon({icon:P}):null,M||"Unknown"]))):null]))):null])])}}),Mr=H({enhance:({app:e})=>{Y("AutoCatalog",e)||e.component("AutoCatalog",t=>r(Nr,t,{icon:({icon:a})=>r(q("HopeIcon"),{icon:a})}))}});const Br=r("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[r("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Wa=E({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=ae(),a=m(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>r("span",[Br,r("span",{class:"external-link-icon-sr-only"},a.value.openInNewWindow)])}}),Fr={},Hr=H({enhance({app:e}){e.component("ExternalLinkIcon",r(Wa,{locales:Fr}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const A={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=A.isStarted();e=je(e,A.settings.minimum,1),A.status=e===1?null:e;const a=A.render(!t),n=a.querySelector(A.settings.barSelector),o=A.settings.speed,l=A.settings.easing;return a.offsetWidth,jr(i=>{Se(n,{transform:"translate3d("+Ft(e)+"%,0,0)",transition:"all "+o+"ms "+l}),e===1?(Se(a,{transition:"none",opacity:"1"}),a.offsetWidth,setTimeout(function(){Se(a,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){A.remove(),i()},o)},o)):setTimeout(()=>i(),o)}),A},isStarted:()=>typeof A.status=="number",start:()=>{A.status||A.set(0);const e=()=>{setTimeout(()=>{A.status&&(A.trickle(),e())},A.settings.trickleSpeed)};return A.settings.trickle&&e(),A},done:e=>!e&&!A.status?A:A.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=A.status;return t?(typeof e!="number"&&(e=(1-t)*je(Math.random()*t,.1,.95)),t=je(t+e,0,.994),A.set(t)):A.start()},trickle:()=>A.inc(Math.random()*A.settings.trickleRate),render:e=>{if(A.isRendered())return document.getElementById("nprogress");Ht(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=A.settings.template;const a=t.querySelector(A.settings.barSelector),n=e?"-100":Ft(A.status||0),o=document.querySelector(A.settings.parent);return Se(a,{transition:"all 0 linear",transform:"translate3d("+n+"%,0,0)"}),o!==document.body&&Ht(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{jt(document.documentElement,"nprogress-busy"),jt(document.querySelector(A.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&qr(e)},isRendered:()=>!!document.getElementById("nprogress")},je=(e,t,a)=>ea?a:e,Ft=e=>(-1+e)*100,jr=function(){const e=[];function t(){const a=e.shift();a&&a(t)}return function(a){e.push(a),e.length===1&&t()}}(),Se=function(){const e=["Webkit","O","Moz","ms"],t={};function a(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,d){return d.toUpperCase()})}function n(i){const s=document.body.style;if(i in s)return i;let d=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;d--;)if(u=e[d]+c,u in s)return u;return i}function o(i){return i=a(i),t[i]||(t[i]=n(i))}function l(i,s,d){s=o(s),i.style[s]=d}return function(i,s){for(const d in s){const c=s[d];c!==void 0&&Object.prototype.hasOwnProperty.call(s,d)&&l(i,d,c)}}}(),Ua=(e,t)=>(typeof e=="string"?e:ht(e)).indexOf(" "+t+" ")>=0,Ht=(e,t)=>{const a=ht(e),n=a+t;Ua(a,t)||(e.className=n.substring(1))},jt=(e,t)=>{const a=ht(e);if(!Ua(e,t))return;const n=a.replace(" "+t+" "," ");e.className=n.substring(1,n.length-1)},ht=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),qr=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const Wr=()=>{R(()=>{const e=G(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(a=>{t.has(a.path)||A.start()}),e.afterEach(a=>{t.add(a.path),A.done()})})},Ur=H({setup(){Wr()}}),Gr=JSON.parse(`{"encrypt":{},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"https://img.alicdn.com/imgextra/i4/1797064093/O1CN01vK3m2w1g6duwt8quS_!!1797064093.png","repo":"DGP-Studio/Snap.Hutao","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"docsRepo":"DGP-Studio/Snap.Hutao.Docs","docsDir":"docs","locales":{"/zh/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/zh/",{"text":"文档","icon":"article","link":"/zh/features/"},{"text":"下载","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"加入社区讨论","icon":"community","link":"/zh/community.md"}],"sidebar":{"/zh/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project.md"},{"icon":"network","text":"国际化支持","link":"i18n.md"},{"icon":"play","text":"快速开始","link":"quick-start.md"},{"icon":"read","text":"功能指南","prefix":"features/","children":"structure"},{"icon":"advance","text":"高级","prefix":"advanced/","children":"structure"},{"icon":"article","text":"声明和公告","prefix":"statements/","children":"structure"}]},"footer":"用开源社区力量为原神PC端玩家带来最好的游戏体验","displayFooter":true},"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Document","icon":"article","link":"/en/features/"},{"text":"Download","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"Community","icon":"community","link":"/en/community.md"}],"sidebar":{"/en/":["",{"icon":"workingDirectory","text":"Project","link":"project.md"},{"icon":"network","text":"Localization","link":"i18n.md"},{"icon":"play","text":"Quick Start","link":"quick-start.md"},{"icon":"read","text":"Features","prefix":"features/","children":"structure"},{"icon":"advance","text":"Advanced","prefix":"advanced/","children":"structure"},{"icon":"article","text":"Statements","prefix":"statements/","children":"structure"}]},"footer":"Be the best Genshin Impact tool","displayFooter":true},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),Kr=k(Gr),Ga=()=>Kr,Ka=Symbol(""),Qr=()=>{const e=J(Ka);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Yr=(e,t)=>{var a;return{...e,...(a=e.locales)==null?void 0:a[t]}},Jr=H({enhance({app:e}){const t=Ga(),a=e._context.provides[ot],n=m(()=>Yr(t.value,a.value));e.provide(Ka,n),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return n.value}}})}}),Xr={"Content-Type":"application/json"},Zr=({serverURL:e,lang:t,paths:a,signal:n})=>(({serverURL:o,lang:l,paths:i,type:s,signal:d})=>fetch(`${o}/article?path=${encodeURIComponent(i.join(","))}&type=${encodeURIComponent(s.join(","))}&lang=${l}`,{signal:d}).then(c=>c.json()))({serverURL:e,lang:t,paths:a,type:["time"],signal:n}).then(o=>Array.isArray(o)?o:[o]),el=e=>(({serverURL:t,lang:a,path:n,type:o,action:l})=>fetch(`${t}/article?lang=${a}`,{method:"POST",headers:Xr,body:JSON.stringify({path:n,type:o,action:l})}).then(i=>i.json()))({...e,type:"time",action:"inc"}),qt=e=>{const t=((a="")=>a.replace(/\/$/u,""))(e);return/^(https?:)?\/\//.test(t)?t:`https://${t}`},tl=e=>{e.name!=="AbortError"&&console.error(e.message)},Wt=e=>e.dataset.path||e.getAttribute("id"),Ut=(e,t)=>{t.forEach((a,n)=>{a.innerText=e[n].toString()})},al=({serverURL:e,path:t=window.location.pathname,selector:a=".waline-pageview-count",update:n=!0,lang:o=navigator.language})=>{const l=new AbortController,i=Array.from(document.querySelectorAll(a)),s=c=>{const u=Wt(c);return u!==null&&t!==u},d=c=>Zr({serverURL:qt(e),paths:c.map(u=>Wt(u)||t),lang:o,signal:l.signal}).then(u=>Ut(u,c)).catch(tl);if(n){const c=i.filter(v=>!s(v)),u=i.filter(s);el({serverURL:qt(e),path:t,lang:o}).then(v=>Ut(new Array(c.length).fill(v),c)),u.length&&d(u)}else d(i);return l.abort.bind(l)};const we={provider:"Waline",dark:'html[data-theme="dark"]',serverURL:"https://comments.snapgenshin.com",emoji:["//unpkg.com/@waline/emojis@1.1.0/weibo","//unpkg.com/@waline/emojis@1.1.0/bilibili","//unpkg.com/@waline/emojis@1.1.0/bmoji","//unpkg.com/@waline/emojis@1.1.0/qq","//unpkg.com/@waline/emojis@1.1.0/tieba"],requiredMeta:["mail"],reaction:!1},nl={"/zh/":{placeholder:"请留言。(填写邮箱可在被回复时收到邮件提醒)"},"/en/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"},"/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"}};p(()=>import("./waline-meta-a31b78ed.js"),[]);var ol=E({name:"WalineComment",setup(){const e=D(),t=C(),a=Ne(),n=ve(nl);let o;const l=m(()=>{const c=we.comment!==!1,u=t.value.comment;return!!u||c!==!1&&u!==!1}),i=m(()=>{const c=we.pageview!==!1,u=t.value.pageview;return!!u||c!==!1&&u!==!1}),s=m(()=>te(e.value.path)),d=m(()=>({lang:a.value==="zh-CN"?"zh-CN":"en",locale:n.value,dark:"html.dark",...we,path:s.value}));return R(()=>{I(s,()=>{o==null||o(),i.value&&Te().then(()=>{setTimeout(()=>{o=al({serverURL:we.serverURL,path:s.value})},we.delay||800)})},{immediate:!0})}),()=>l.value?r("div",{class:"waline-wrapper",id:"comment"},r(b({loader:async()=>(await p(()=>import("./component-e9992e19.js"),["assets/component-e9992e19.js","assets/framework-8be3ab77.js"])).Waline,loadingComponent:Ea}),d.value)):null}});const rl={provider:"Waline",dark:'html[data-theme="dark"]',serverURL:"https://comments.snapgenshin.com",emoji:["//unpkg.com/@waline/emojis@1.1.0/weibo","//unpkg.com/@waline/emojis@1.1.0/bilibili","//unpkg.com/@waline/emojis@1.1.0/bmoji","//unpkg.com/@waline/emojis@1.1.0/qq","//unpkg.com/@waline/emojis@1.1.0/tieba"],requiredMeta:["mail"],reaction:!1}.comment!==!1,ll=E({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=C(),a=m(()=>t.value.comment||rl&&t.value.comment!==!1);return()=>r(ol,{darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}});var il=H({enhance:({app:e})=>{e.component("CommentService",ll)}});const sl=800,cl=2e3,ul={"/zh/":{copy:"复制代码",copied:"已复制",hint:"复制成功"},"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"}},dl=!1,vl=['.theme-hope-content div[class*="language-"] pre'],Gt=!1,qe=new Map,pl=()=>{const{copy:e}=Yo({legacy:!0}),t=ve(ul),a=D(),n=Eo(),o=s=>{if(!s.hasAttribute("copy-code-registered")){const d=document.createElement("button");d.type="button",d.classList.add("copy-code-button"),d.innerHTML='
',d.setAttribute("aria-label",t.value.copy),d.setAttribute("data-copied",t.value.copied),s.parentElement&&s.parentElement.insertBefore(d,s),s.setAttribute("copy-code-registered","")}},l=()=>Te().then(()=>new Promise(s=>{setTimeout(()=>{vl.forEach(d=>{document.querySelectorAll(d).forEach(o)}),s()},sl)})),i=(s,d,c)=>{let{innerText:u=""}=d;/language-(shellscript|shell|bash|sh|zsh)/.test(s.classList.toString())&&(u=u.replace(/^ *(\$|>) /gm,"")),e(u).then(()=>{c.classList.add("copied"),clearTimeout(qe.get(c));const v=setTimeout(()=>{c.classList.remove("copied"),c.blur(),qe.delete(c)},cl);qe.set(c,v)})};R(()=>{(!n.value||Gt)&&l(),N("click",s=>{const d=s.target;if(d.matches('div[class*="language-"] > button.copy')){const c=d.parentElement,u=d.nextElementSibling;u&&i(c,u,d)}else if(d.matches('div[class*="language-"] div.copy-icon')){const c=d.parentElement,u=c.parentElement,v=c.nextElementSibling;v&&i(u,v,c)}}),I(()=>a.value.path,()=>{(!n.value||Gt)&&l()})})};var ml=H({setup:()=>{pl()}});const We=vt("VUEPRESS_TAB_STORE",{});var hl=E({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},setup(e,{slots:t}){const a=k(e.active),n=k([]),o=()=>{if(e.tabId){const{title:c,id:u=c}=e.data[a.value];We.value[e.tabId]=u}},l=(c=a.value)=>{a.value=c{a.value=c>0?c-1:n.value.length-1,n.value[a.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),a.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),o()},d=()=>{if(e.tabId){const c=e.data.findIndex(({title:u,id:v=u})=>We.value[e.tabId]===v);if(c!==-1)return c}return e.active};return R(()=>{a.value=d(),I(()=>We.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const v=e.data.findIndex(({title:h,id:f=h})=>f===c);v!==-1&&(a.value=v)}})}),()=>e.data.length?r("div",{class:"tab-list"},[r("div",{class:"tab-list-nav",role:"tablist"},e.data.map(({title:c},u)=>{const v=u===a.value;return r("button",{type:"button",ref:h=>{h&&(n.value[u]=h)},class:["tab-list-nav-item",{active:v}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":v,onClick:()=>{a.value=u,o()},onKeydown:h=>s(h,u)},c)})),e.data.map(({title:c,id:u=c},v)=>{var h;const f=v===a.value;return r("div",{class:["tab-item",{active:f}],id:`tab-${e.id}-${v}`,role:"tabpanel","aria-expanded":f},(h=t[`tab${v}`])==null?void 0:h.call(t,{title:c,value:u,isActive:f}))})]):null}});const fl=H({enhance:({app:e})=>{e.component("Tabs",hl)}});const gl=".theme-hope-content :not(a) > img:not([no-view])",_l={"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}},bl=800,yl={},wl='
',El=e=>F(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Qa=e=>new Promise((t,a)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(Qa(e)),e.onerror=n=>a(n))}),kl=()=>{const{isSupported:e,toggle:t}=pt(),a=ve(_l),n=D();let o;const l=s=>{s.on("uiRegister",()=>{e&&s.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{t()}}),s.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(d,c)=>{d.setAttribute("download",""),d.setAttribute("target","_blank"),d.setAttribute("rel","noopener"),c.on("change",()=>{d.setAttribute("href",c.currSlide.data.src)})}}),s.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(d,c)=>{const u=[];let v=-1;for(let h=0;h{c.goTo(u.indexOf(w.target))},u.push(f),d.appendChild(f)}c.on("change",()=>{v>=0&&u[v].classList.remove("active"),u[c.currIndex].classList.add("active"),v=c.currIndex})}})})},i=()=>Promise.all([p(()=>import("./photoswipe.esm-36cd6c3c.js"),[]),Te().then(()=>new Promise(s=>setTimeout(s,bl)).then(()=>El(gl)))]).then(([{default:s},d])=>{const c=d.map(u=>({html:wl,element:u,msrc:u.src}));d.forEach((u,v)=>{const h=()=>{o=new s({preloaderDelay:0,showHideAnimationType:"zoom",...a.value,...yl,dataSource:c,index:v,closeOnVerticalDrag:!0,wheelToZoom:!1}),l(o),o.addFilter("thumbEl",()=>u),o.addFilter("placeholderSrc",()=>u.src),o.init()};u.style.cursor="zoom-in",u.addEventListener("click",()=>{h()}),u.addEventListener("keypress",({key:f})=>{f==="Enter"&&h()})}),d.forEach((u,v)=>{Qa(u).then(h=>{c.splice(v,1,h),o==null||o.refreshSlideContent(v)})})});R(()=>{N("wheel",()=>{o==null||o.close()}),i(),I(()=>n.value.path,()=>i())})};var Ll=H({setup:()=>{kl()}});function Tl(e){return{all:e=e||new Map,on:function(t,a){var n=e.get(t);n?n.push(a):e.set(t,[a])},off:function(t,a){var n=e.get(t);n&&(a?n.splice(n.indexOf(a)>>>0,1):e.set(t,[]))},emit:function(t,a){var n=e.get(t);n&&n.slice().map(function(o){o(a)}),(n=e.get("*"))&&n.slice().map(function(o){o(t,a)})}}}const Ya=Symbol(""),Ol=()=>{const e=J(Ya);if(!e)throw new Error("usePWAEvent() is called without provider.");return e},Al=async e=>{const{register:t}=await p(()=>import("./index-70769223.js"),[]);t(te("service-worker.js"),{ready(a){console.log("[PWA]: Service worker is active"),e.emit("ready",a)},registered(a){console.log("[PWA]: Service worker has been registered."),e.emit("registered",a)},cached(a){console.log("[PWA]: Content has been cached for offline usage"),e.emit("cached",a)},async updatefound(a){await navigator.serviceWorker.getRegistration()&&(console.log("[PWA]: New content is downloading."),e.emit("updatefound",a))},updated(a){console.log("[PWA]: New content is available, please refresh.");const n="service-worker-version",o=Number(localStorage.getItem(n)||0);localStorage.setItem(n,(o+1).toString()),localStorage.removeItem("manifest"),e.emit("updated",a)},offline(){console.log("[PWA]: No internet connection found. App is running in offline mode."),e.emit("offline")},error(a){console.log("[PWA]: Error during service worker registration:",a),e.emit("error",a)}})},Il=()=>{const e=Tl();tt(Ya,e),R(async()=>{var t;let a=!1;(t=navigator.serviceWorker)!=null&&t.controller&&navigator.serviceWorker.addEventListener("controllerchange",()=>{a||(a=!0,window.location.reload())}),await Al(e)})},Ja=()=>r(x,{name:"update"},()=>r("path",{d:"M949.949 146.25v255.826c0 21.981-13.989 35.97-35.97 35.97H658.154c-13.988 0-25.983-7.992-33.973-21.981-5.997-13.989-4-27.977 7.991-39.97l79.942-77.946c-55.954-51.973-121.918-77.955-199.863-77.955-37.975 0-75.95 8.002-113.924 21.99-37.975 15.985-67.948 37.976-91.934 63.957-25.982 23.987-47.973 53.96-63.957 91.934-29.983 73.955-29.983 153.895 0 227.85 15.984 37.976 37.975 67.947 63.957 91.934 23.986 25.982 53.959 47.973 91.934 63.956 37.974 13.989 75.95 21.991 113.924 21.991 45.967 0 87.942-9.998 127.913-29.982 41.976-17.99 75.951-45.967 101.931-83.943 7.993-4 11.994-5.995 13.989-5.995 5.997 0 9.998 1.994 13.988 5.995l77.958 77.946c3.989 4 5.986 7.993 5.986 11.994 0 1.994-1.996 5.995-3.99 11.994-43.973 51.962-93.941 91.934-151.9 117.914-53.958 25.983-115.92 39.972-185.874 39.972-61.961 0-119.921-11.984-169.89-33.973-57.96-25.985-105.923-57.963-139.896-93.943-35.98-33.972-67.958-81.936-93.94-139.897-45.967-101.93-45.967-237.846 0-339.777 25.982-57.96 57.96-105.923 93.94-139.896 33.973-35.98 81.936-67.958 139.896-93.94 49.968-21.99 107.928-33.974 169.89-33.974 55.963 0 109.923 9.988 161.885 29.973 53.97 21.99 101.933 51.963 139.908 89.938l73.954-73.944c9.987-9.998 23.987-13.988 39.971-8.002 13.988 8.002 21.98 19.995 21.98 33.984z"}));Ja.displayName="UpdateIcon";const Pl={"/zh/":{install:"安装",iOSInstall:"点击分享按钮然后点击“添加到主屏幕”",cancel:"取消",close:"关闭",prevImage:"上一张图片",nextImage:"下一张图片",desc:"详情",feature:"主要特色",explain:"该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。",hint:"发现新内容可用",update:"新内容已就绪"},"/en/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."},"/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."}};var Sl=E({name:"SWHintPopup",setup(e,{slots:t}){const a=ve(Pl),n=k(!1),o=()=>{n.value&&(window.location.reload(!0),n.value=!1)};return R(()=>{const l=Ol();l.on("updatefound",()=>{navigator.serviceWorker.getRegistration().then(i=>{i&&i.active&&(n.value=!0)})}),l.on("updated",()=>{n.value=!1})}),()=>r(se,{name:"popup"},()=>{var l;return((l=t.default)==null?void 0:l.call(t,{enabled:n.value,uninstall:o}))||(n.value?r("button",{type:"button",class:"sw-hint-popup",tabindex:0,onClick:()=>o()},[a.value.hint,r("span",{class:"icon-wrapper"},r(Ja))]):null)})}});const Dl=H({setup:()=>{Il()},rootComponents:[Sl]}),Xa=()=>{const e=D();return m(()=>e.value.readingTime??null)},Ke=typeof{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}}>"u"?null:{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}},$l=(e,t)=>{const{minutes:a,words:n}=e,{less1Minute:o,word:l,time:i}=t;return{time:a<1?o:i.replace("$time",Math.round(a).toString()),words:l.replace("$word",n.toString())}},Kt={words:"",time:""},Rl=()=>Ke?ve(Ke):m(()=>null),xl=()=>{if(typeof Ke>"u")return m(()=>Kt);const e=Xa(),t=Rl();return m(()=>e.value&&t.value?$l(e.value,t.value):Kt)},le=()=>Ga(),$=()=>Qr(),Fe=()=>m(()=>!!le().value.pure);var Qt=E({name:"EmptyComponent",setup:()=>()=>null});const ft={"/zh/features/":["game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/zh/advanced/":["FAQ","exceptions","known-issue","mihoyo-risk-tip","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/zh/statements/":["update-log","bug-report","privacy-notice","tos"],"/en/features/":["game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/en/advanced/":["FAQ","exceptions","known-issue","mihoyo-risk-tip","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/en/statements/":["update-log","bug-report","privacy-notice","tos"],"/":[]},Za=e=>{const{icon:t="",color:a,size:n}=e,o={};return a&&(o.color=a),n&&(o.height=Number.isNaN(Number(n))?n:`${n}px`),ke(t)?r("img",{class:"icon",src:t,"no-view":"",style:o}):lt(t)?r("img",{class:"icon",src:te(t),"no-view":"",style:o}):r(q("FontIcon"),e)};Za.displayName="HopeIcon";var U=Za,Z=(e=>(e.type="y",e.title="t",e.shortTitle="s",e.icon="i",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e.index="I",e.order="O",e))(Z||{}),Cl=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Cl||{});const ge=(e,t=!1)=>{const a=G(),{fullPath:n,meta:o,name:l}=st(a,encodeURI(e));return{text:!t&&o[Z.shortTitle]?o[Z.shortTitle]:o[Z.title]||e,link:l==="404"?e:n,...o[Z.icon]?{icon:o[Z.icon]}:{}}},zl=()=>{const e=G(),t=K();return a=>{if(a)if(lt(a))t.path!==a&&e.push(a);else if(ke(a)||va(a))window&&window.open(a);else{const n=t.path.slice(0,t.path.lastIndexOf("/"));e.push(`${n}/${encodeURI(a)}`)}}},en=()=>{const e=$(),t=C();return m(()=>{const{author:a}=t.value;return a?kt(a):a===!1?[]:kt(e.value.author,!1)})},Vl=()=>{const e=C();return m(()=>Lo(e.value.category).map(t=>({name:t,path:""})))},Nl=()=>{const e=C();return m(()=>To(e.value.tag).map(t=>({name:t,path:""})))},Ml=()=>{const e=C(),t=D();return m(()=>{const a=ko(e.value.date);if(a)return a;const{createdTime:n}=t.value.git||{};return n?new Date(n):null})},Bl=()=>{const e=$(),t=D(),a=C(),n=en(),o=Vl(),l=Nl(),i=Ml(),s=Xa(),d=xl(),c=m(()=>({author:n.value,category:o.value,date:i.value,localizedDate:t.value.localizedDate,tag:l.value,isOriginal:a.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:d.value,pageview:"pageview"in a.value?a.value.pageview:!0})),u=m(()=>"pageInfo"in a.value?a.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},He=()=>{const e=le(),t=k(!1),a=k(!1),n=()=>{t.value=window.innerWidth<=(e.value.mobileBreakPoint||719),a.value=window.innerWidth>=(e.value.pcBreakPoint||1440)};return R(()=>{n(),N("resize",n,!1),N("orientationchange",n,!1)}),{isMobile:t,isPC:a}},tn=Symbol(""),Ae=()=>{const e=J(tn);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Fl=e=>{const t=le(),a=rr(),n=vt("vuepress-theme-hope-scheme","auto"),o=m(()=>t.value.darkmode||"switch"),l=m(()=>{const s=o.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?a.value:s==="toggle"?n.value==="dark":n.value==="dark"||n.value==="auto"&&a.value}),i=m(()=>{const s=o.value;return s==="switch"||s==="toggle"});e.provide(tn,{canToggle:i,config:o,isDarkmode:l,status:n}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>l.value}})},Hl=()=>{const{isDarkmode:e}=Ae(),t=(a=e.value)=>document.documentElement.setAttribute("data-theme",a?"dark":"light");R(()=>{I(e,t,{immediate:!0})})};var j=E({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],setup(e,{attrs:t,emit:a,slots:n}){const o=K(),l=ba(),i=ze(e,"config"),s=m(()=>ke(i.value.link)),d=m(()=>va(i.value.link)||Qn(i.value.link)),c=m(()=>d.value?void 0:i.value.target||(s.value?"_blank":void 0)),u=m(()=>c.value==="_blank"),v=m(()=>!s.value&&!d.value&&!u.value),h=m(()=>d.value?void 0:i.value.rel||(u.value?"noopener noreferrer":void 0)),f=m(()=>i.value.ariaLabel||i.value.text),w=m(()=>{if(e.exact)return!1;const y=ye(l.value.locales);return y.length?y.every(g=>g!==i.value.link):i.value.link!=="/"}),L=m(()=>v.value?i.value.activeMatch?new RegExp(i.value.activeMatch).test(o.path):w.value?Ee(o.path,i.value.link):o.path===i.value.link:!1);return()=>{var y,g,O;const{text:P,icon:V,link:M}=i.value;return v.value?r(re,{to:M,"aria-label":f.value,...t,class:["nav-link",{active:L.value},t.class],onFocusout:()=>a("focusout")},()=>{var S,_,T;return((S=n.default)==null?void 0:S.call(n))||[((_=n.before)==null?void 0:_.call(n))||r(U,{icon:V}),P,(T=n.after)==null?void 0:T.call(n)]}):r("a",{href:M,rel:h.value,target:c.value,"aria-label":f.value,...t,class:["nav-link",t.class],onFocusout:()=>a("focusout")},((y=n.default)==null?void 0:y.call(n))||[((g=n.before)==null?void 0:g.call(n))||r(U,{icon:V}),P,e.noExternalLinkIcon?null:r(Wa),(O=n.after)==null?void 0:O.call(n)])}}});const _e=(e,t,a=!1)=>"activeMatch"in t?new RegExp(t.activeMatch).test(e.path):it(e,t.link)?!0:t.children&&!a?t.children.some(n=>_e(e,n)):!1,an=(e,t)=>t.type==="group"?t.children.some(a=>a.type==="group"?an(e,a):a.type==="page"&&_e(e,a,!0))||"prefix"in t&&it(e,t.prefix):!1,nn=(e,t)=>F(e.link)?r(j,{...t,config:e}):r("p",t,[r(U,{icon:e.icon}),e.text]),on=e=>{const t=K();return e?r("ul",{class:"sidebar-sub-headers"},e.map(a=>{const n=_e(t,a,!0);return r("li",{class:"sidebar-sub-header"},[nn(a,{class:["sidebar-link","heading",{active:n}]}),on(a.children)])})):null},Ue=(e="",t="")=>lt(t)?t:`${Yn(e)}${t}`,jl=(e,t)=>{const a=D();return{type:"heading",text:e.title,link:`${a.value.path}#${e.slug}`,children:gt(e.children,t)}},gt=(e,t)=>t>0?e.map(a=>jl(a,t-1)):[],rn=e=>{const t=D();return gt(t.value.headers,e)},Qe=(e,t,a="")=>{const n=D(),o=(l,i=a)=>{var s;const d=F(l)?ge(Ue(i,l)):l.link?{...l,...Re(l.link)?{}:{link:ge(Ue(i,l.link)).link}}:l;if("children"in d){const c=Ue(i,d.prefix),u=d.children==="structure"?ft[c]:d.children;return{type:"group",...d,prefix:c,children:u.map(v=>o(v,c))}}return{type:"page",...d,children:d.link===n.value.path?gt(((s=n.value.headers[0])==null?void 0:s.level)===1?n.value.headers[0].children:n.value.headers,t):[]}};return e.map(l=>o(l))},ql=(e,t)=>{const a=D(),n=ye(e).sort((o,l)=>l.length-o.length);for(const o of n)if(Ee(decodeURI(a.value.path),o)){const l=e[o];return l?Qe(l==="structure"?ft[o]:l==="heading"?rn(t):l,t,o):[]}return console.warn(`${a.value.path} is missing sidebar config.`),[]},Wl=()=>{const e=ae(),t=C(),a=$(),n=t.value.home?!1:t.value.sidebar??a.value.sidebar??"structure",o=t.value.headerDepth??a.value.headerDepth??2;return n===!1?[]:n==="heading"?rn(o):n==="structure"?Qe(ft[e.value],o,e.value):Ce(n)?Qe(n,o):at(n)?ql(n,o):[]},ln=Symbol(""),Ul=()=>{const e=m(()=>Wl());tt(ln,e)},_t=()=>{const e=J(ln);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var Gl=E({name:"PageFooter",setup(){const e=C(),t=$(),a=en(),n=m(()=>{const{copyright:i,footer:s}=e.value;return s!==!1&&!!(i||s||t.value.displayFooter)}),o=m(()=>{const{footer:i}=e.value;return i===!1?!1:F(i)?i:t.value.footer||""}),l=m(()=>"copyright"in e.value?e.value.copyright:"copyright"in t.value?t.value.copyright:a.value.length?`Copyright © ${new Date().getFullYear()} ${a.value[0].name}`:!1);return()=>n.value?r("footer",{class:"footer-wrapper"},[o.value?r("div",{class:"footer",innerHTML:o.value}):null,l.value?r("div",{class:"copyright",innerHTML:l.value}):null]):null}}),sn=E({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(e,{slots:t}){const a=D(),n=ze(e,"config"),o=m(()=>n.value.ariaLabel||n.value.text),l=k(!1);I(()=>a.value.path,()=>{l.value=!1});const i=s=>{s.detail===0&&(l.value=!l.value)};return()=>{var s;return r("div",{class:["dropdown-wrapper",{open:l.value}]},[r("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:i},[((s=t.title)==null?void 0:s.call(t))||r("span",{class:"title"},[r(U,{icon:n.value.icon}),e.config.text]),r("span",{class:"arrow"}),r("ul",{class:"nav-dropdown"},n.value.children.map((d,c)=>{const u=c===n.value.children.length-1;return r("li",{class:"dropdown-item"},"children"in d?[r("h4",{class:"dropdown-subtitle"},d.link?r(j,{config:d,onFocusout:()=>{d.children.length===0&&u&&(l.value=!1)}}):r("span",d.text)),r("ul",{class:"dropdown-subitem-wrapper"},d.children.map((v,h)=>r("li",{class:"dropdown-subitem"},r(j,{config:v,onFocusout:()=>{h===d.children.length-1&&u&&(l.value=!1)}}))))]:r(j,{config:d,onFocusout:()=>{u&&(l.value=!1)}}))}))])])}}});const cn=()=>r(x,{name:"i18n"},()=>[r("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);cn.displayName="I18nIcon";const un=(e,t="")=>F(e)?ge(`${t}${e}`):"children"in e?{...e,...e.link&&!Re(e.link)?ge(`${t}${e.link}`):{},children:e.children.map(a=>un(a,`${t}${e.prefix||""}`))}:{...e,link:Re(e.link)?e.link:ge(`${t}${e.link}`).link},dn=()=>m(()=>($().value.navbar||[]).map(e=>un(e))),Kl=()=>{const e=G(),t=K(),a=ae(),n=Me(),o=le(),l=$();return m(()=>{const i=ye(n.value.locales);if(i.length<2)return null;const{path:s,fullPath:d}=e.currentRoute.value,{navbarLocales:c}=l.value;return{text:"",ariaLabel:c==null?void 0:c.selectLangAriaLabel,children:[...i.map(u=>{var v,h,f;const w=((v=n.value.locales)==null?void 0:v[u])??{},L=((h=o.value.locales)==null?void 0:h[u])??{},y=w.lang||"",g=((f=L.navbarLocales)==null?void 0:f.langName)??y;let O;if(y===n.value.lang)O=s;else{const P=s.replace(a.value,u);O=e.getRoutes().some(V=>V.path===P)?d.replace(s,P):L.home??u}return{text:g,link:O}}),...rt(o.value.extraLocales||{}).map(([u,v])=>({text:u,link:v.replace(":route",t.path.replace(a.value,""))}))]}})},Ql=()=>{const e=$(),t=m(()=>e.value.repo||null),a=m(()=>t.value?Ao(t.value):null),n=m(()=>t.value?Ca(t.value):null),o=m(()=>a.value?e.value.repoLabel??(n.value===null?"Source":n.value):null);return m(()=>!a.value||!o.value||e.value.repoDisplay===!1?null:{type:n.value||"Source",label:o.value,link:a.value})};var Yl=E({name:"LanguageDropdown",setup(){const e=Kl();return()=>e.value?r("div",{class:"nav-item"},r(sn,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return r(cn,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),Jl=E({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=D(),a=ze(e,"config"),n=m(()=>a.value.ariaLabel||a.value.text),o=k(!1);I(()=>t.value.path,()=>{o.value=!1});const l=(i,s)=>s[s.length-1]===i;return()=>[r("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":n.value,onClick:()=>{o.value=!o.value}},[r("span",{class:"title"},[r(U,{icon:a.value.icon}),e.config.text]),r("span",{class:["arrow",o.value?"down":"end"]})]),r("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},a.value.children.map(i=>r("li",{class:"dropdown-item"},"children"in i?[r("h4",{class:"dropdown-subtitle"},i.link?r(j,{config:i,onFocusout:()=>{l(i,a.value.children)&&i.children.length===0&&(o.value=!1)}}):r("span",i.text)),r("ul",{class:"dropdown-subitem-wrapper"},i.children.map(s=>r("li",{class:"dropdown-subitem"},r(j,{config:s,onFocusout:()=>{l(s,i.children)&&l(i,a.value.children)&&(o.value=!1)}}))))]:r(j,{config:i,onFocusout:()=>{l(i,a.value.children)&&(o.value=!1)}}))))]}}),Xl=E({name:"NavScreenLinks",setup(){const e=dn();return()=>e.value.length?r("nav",{class:"nav-screen-links"},e.value.map(t=>r("div",{class:"navbar-links-item"},"children"in t?r(Jl,{config:t}):r(j,{config:t})))):null}});const vn=()=>r(x,{name:"dark"},()=>r("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));vn.displayName="DarkIcon";const pn=()=>r(x,{name:"light"},()=>r("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));pn.displayName="LightIcon";const mn=()=>r(x,{name:"auto"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));mn.displayName="AutoIcon";const hn=()=>r(x,{name:"enter-fullscreen"},()=>r("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));hn.displayName="EnterFullScreenIcon";const fn=()=>r(x,{name:"cancel-fullscreen"},()=>r("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));fn.displayName="CancelFullScreenIcon";const gn=()=>r(x,{name:"outlook"},()=>[r("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);gn.displayName="OutlookIcon";var _n=E({name:"AppearanceSwitch",setup(){const{config:e,status:t}=Ae(),a=()=>{e.value==="switch"?t.value={light:"dark",dark:"auto",auto:"light"}[t.value]:t.value=t.value==="light"?"dark":"light"};return()=>r("button",{type:"button",id:"appearance-switch",onClick:()=>a()},[r(mn,{style:{display:t.value==="auto"?"block":"none"}}),r(vn,{style:{display:t.value==="dark"?"block":"none"}}),r(pn,{style:{display:t.value==="light"?"block":"none"}})])}}),Zl=E({name:"AppearanceMode",setup(){const e=$(),{canToggle:t}=Ae(),a=m(()=>e.value.outlookLocales.darkmode);return()=>t.value?r("div",{class:"appearance-wrapper"},[r("label",{class:"appearance-title",for:"appearance-switch"},a.value),r(_n)]):null}}),ei=E({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(a="")=>{const n=document.documentElement.classList,o=ye(e.themeColor).map(l=>`theme-${l}`);if(!a){localStorage.removeItem("theme"),n.remove(...o);return}n.remove(...o.filter(l=>l!==`theme-${a}`)),n.add(`theme-${a}`),localStorage.setItem("theme",a)};return R(()=>{const a=localStorage.getItem("theme");a&&t(a)}),()=>r("ul",{id:"theme-color-picker"},[r("li",r("span",{class:"theme-color",onClick:()=>t()})),rt(e.themeColor).map(([a,n])=>r("li",r("span",{style:{background:n},onClick:()=>t(a)})))])}}),ti=E({name:"ThemeColor",setup(){const e=le(),t=$(),a=m(()=>t.value.outlookLocales.themeColor),n=m(()=>{const{themeColor:o}=e.value;return o===!1?null:o});return()=>n.value?r("div",{class:"theme-color-wrapper"},[r("label",{class:"theme-color-title",for:"theme-color-picker"},a.value),r(ei,{themeColor:n.value})]):null}}),bn=E({name:"ToggleFullScreenButton",setup(){const e=$(),{isSupported:t,isFullscreen:a,toggle:n}=pt(),o=m(()=>e.value.outlookLocales.fullscreen);return()=>t?r("div",{class:"full-screen-wrapper"},[r("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),r("button",{type:"button",class:"full-screen",id:"full-screen-switch",ariaPressed:a.value,onClick:()=>n()},a.value?r(fn):r(hn))]):null}}),yn=E({name:"OutlookSettings",setup(){const e=le(),t=Fe(),a=m(()=>!t.value&&!!e.value.themeColor),n=m(()=>!t.value&&e.value.fullscreen);return()=>r(Be,()=>[a.value?r(ti):null,r(Zl),n.value?r(bn):null])}}),ai=E({name:"NavScreen",props:{show:Boolean},emits:["close"],setup(e,{emit:t,slots:a}){const n=D(),{isMobile:o}=He(),l=k(),i=mt(l);return R(()=>{l.value=document.body,I(o,s=>{!s&&e.show&&(i.value=!1,t("close"))}),I(()=>n.value.path,()=>{i.value=!1,t("close")})}),Ve(()=>{i.value=!1}),()=>r(se,{name:"fade",onEnter:()=>{i.value=!0},onAfterLeave:()=>{i.value=!1}},()=>{var s,d;return e.show?r("div",{id:"nav-screen"},r("div",{class:"container"},[(s=a.before)==null?void 0:s.call(a),r(Xl),r("div",{class:"outlook-wrapper"},r(yn)),(d=a.after)==null?void 0:d.call(a)])):null})}}),ni=E({name:"NavbarBrand",setup(){const e=ae(),t=Me(),a=$(),n=m(()=>a.value.home||e.value),o=m(()=>t.value.title),l=m(()=>a.value.logo?te(a.value.logo):null),i=m(()=>a.value.logoDark?te(a.value.logoDark):null);return()=>r(re,{to:n.value,class:"brand"},()=>[l.value?r("img",{class:["logo",{light:!!i.value}],src:l.value,alt:o.value}):null,i.value?r("img",{class:["logo dark"],src:i.value,alt:o.value}):null,o.value?r("span",{class:["site-name",{"hide-in-pad":l.value&&a.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),oi=E({name:"NavbarLinks",setup(){const e=dn();return()=>e.value.length?r("nav",{class:"nav-links"},e.value.map(t=>r("div",{class:"nav-item hide-in-mobile"},"children"in t?r(sn,{config:t}):r(j,{config:t})))):null}}),ri=E({name:"RepoLink",components:{BitbucketIcon:Aa,GiteeIcon:Oa,GitHubIcon:La,GitLabIcon:Ta,SourceIcon:Ia},setup(){const e=Ql();return()=>e.value?r("div",{class:"nav-item"},r("a",{class:"repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},r(q(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const wn=({active:e=!1},{emit:t})=>r("button",{type:"button",class:["toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},r("span",{class:"button-container"},[r("span",{class:"button-top"}),r("span",{class:"button-middle"}),r("span",{class:"button-bottom"})]));wn.displayName="ToggleNavbarButton";var li=wn;const Ye=(e,{emit:t})=>r("button",{type:"button",class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},r("span",{class:"icon"}));Ye.displayName="ToggleSidebarButton",Ye.emits=["toggle"];var ii=Ye,si=E({name:"OutlookButton",setup(){const{isSupported:e}=pt(),t=le(),a=Fe(),n=D(),{canToggle:o}=Ae(),l=k(!1),i=m(()=>!a.value&&!!t.value.themeColor),s=m(()=>!a.value&&t.value.fullscreen&&e);return I(()=>n.value.path,()=>{l.value=!1}),()=>o.value||s.value||i.value?r("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!i.value?r(_n):s.value&&!o.value&&!i.value?r(bn):r("button",{type:"button",class:["outlook-button",{open:l.value}],tabindex:"-1","aria-hidden":!0},[r(gn),r("div",{class:"outlook-dropdown"},r(yn))])):null}}),ci=E({name:"NavBar",emits:["toggleSidebar"],setup(e,{emit:t,slots:a}){const n=$(),{isMobile:o}=He(),l=k(!1),i=m(()=>{const{navbarAutoHide:u="mobile"}=n.value;return u!=="none"&&(u==="always"||o.value)}),s=m(()=>n.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),d={Brand:ni,Language:Yl,Links:oi,Repo:ri,Outlook:si,Search:Y("Docsearch")?q("Docsearch"):Y("SearchBox")?q("SearchBox"):Qt},c=u=>d[u]??(Y(u)?q(u):Qt);return()=>{var u,v,h,f,w,L;return[r("header",{class:["navbar",{"auto-hide":i.value,"hide-icon":n.value.navbarIcon===!1}],id:"navbar"},[r("div",{class:"navbar-start"},[r(ii,{onToggle:()=>{l.value&&(l.value=!1),t("toggleSidebar")}}),(u=a.startBefore)==null?void 0:u.call(a),(s.value.start||[]).map(y=>r(c(y))),(v=a.startAfter)==null?void 0:v.call(a)]),r("div",{class:"navbar-center"},[(h=a.centerBefore)==null?void 0:h.call(a),(s.value.center||[]).map(y=>r(c(y))),(f=a.centerAfter)==null?void 0:f.call(a)]),r("div",{class:"navbar-end"},[(w=a.endBefore)==null?void 0:w.call(a),(s.value.end||[]).map(y=>r(c(y))),(L=a.endAfter)==null?void 0:L.call(a),r(li,{active:l.value,onToggle:()=>{l.value=!l.value}})])]),r(ai,{show:l.value,onClose:()=>{l.value=!1}},{before:()=>{var y;return(y=a.screenTop)==null?void 0:y.call(a)},after:()=>{var y;return(y=a.screenBottom)==null?void 0:y.call(a)}})]}}}),ui=E({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=K();return()=>[nn(e.config,{class:["sidebar-link",`sidebar-${e.config.type}`,{active:_e(t,e.config,!0)}],exact:!0}),on(e.config.children)]}}),di=E({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const a=K(),n=m(()=>_e(a,e.config)),o=m(()=>_e(a,e.config,!0));return()=>{const{collapsible:l,children:i=[],icon:s,prefix:d,link:c,text:u}=e.config;return r("section",{class:"sidebar-group"},[r(l?"button":"p",{class:["sidebar-heading",{clickable:l||c,exact:o.value,active:n.value}],...l?{type:"button",onClick:()=>t("toggle"),onKeydown:v=>{v.key==="Enter"&&t("toggle")}}:{}},[r(U,{icon:s}),c?r(j,{class:"title",config:{text:u,link:c},noExternalLinkIcon:!0}):r("span",{class:"title"},u),l?r("span",{class:["arrow",e.open?"down":"end"]}):null]),e.open||!l?r(En,{key:d,config:i}):null])}}}),En=E({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=K(),a=k(-1),n=o=>{a.value=o===a.value?-1:o};return I(()=>t.path,()=>{const o=e.config.findIndex(l=>an(t,l));a.value=o},{immediate:!0,flush:"post"}),()=>r("ul",{class:"sidebar-links"},e.config.map((o,l)=>r("li",o.type==="group"?r(di,{config:o,open:l===a.value,onToggle:()=>n(l)}):r(ui,{config:o}))))}}),vi=E({name:"SideBar",setup(e,{slots:t}){const a=K(),n=$(),o=_t(),l=k();return R(()=>{I(()=>a.hash,i=>{const s=document.querySelector(`.sidebar a.sidebar-link[href="${a.path}${i}"]`);if(!s)return;const{top:d,height:c}=l.value.getBoundingClientRect(),{top:u,height:v}=s.getBoundingClientRect();ud+c&&s.scrollIntoView(!1)})}),()=>{var i,s,d;return r("aside",{class:["sidebar",{"hide-icon":n.value.sidebarIcon===!1}],id:"sidebar",ref:l},[(i=t.top)==null?void 0:i.call(t),((s=t.default)==null?void 0:s.call(t))||r(En,{config:o.value}),(d=t.bottom)==null?void 0:d.call(t)])}}}),kn=E({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean},setup(e,{slots:t}){const a=G(),n=D(),o=C(),l=$(),{isMobile:i,isPC:s}=He(),[d,c]=Ot(!1),[u,v]=Ot(!1),h=_t(),f=k(!1),w=m(()=>e.noNavbar||o.value.navbar===!1||l.value.navbar===!1?!1:!!(n.value.title||l.value.logo||l.value.repo||l.value.navbar)),L=m(()=>e.noSidebar?!1:o.value.sidebar!==!1&&h.value.length!==0&&!o.value.home),y={x:0,y:0},g=S=>{y.x=S.changedTouches[0].clientX,y.y=S.changedTouches[0].clientY},O=S=>{const _=S.changedTouches[0].clientX-y.x,T=S.changedTouches[0].clientY-y.y;Math.abs(_)>Math.abs(T)*1.5&&Math.abs(_)>40&&(_>0&&y.x<=80?c(!0):c(!1))},P=m(()=>o.value.home?!1:o.value.toc||l.value.toc!==!1&&o.value.toc!==!1),V=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return N("scroll",$o(()=>{const S=V();S<=58||S{S||c(!1)}),R(()=>{const S=mt(document.body);I(d,T=>{S.value=T});const _=a.afterEach(()=>{c(!1)});Ve(()=>{S.value=!1,_()})}),()=>r(Y("GlobalEncrypt")?q("GlobalEncrypt"):ka,()=>{var S;return r("div",{class:["theme-container",{"no-navbar":!w.value,"no-sidebar":!L.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":P.value,"hide-navbar":f.value,"sidebar-collapsed":!i.value&&!s.value&&u.value,"sidebar-open":i.value&&d.value},o.value.containerClass||""],onTouchStart:g,onTouchEnd:O},[w.value?r(ci,{onToggleSidebar:()=>c()},{startBefore:()=>{var _;return(_=t.navbarStartBefore)==null?void 0:_.call(t)},startAfter:()=>{var _;return(_=t.navbarStartAfter)==null?void 0:_.call(t)},centerBefore:()=>{var _;return(_=t.navbarCenterBefore)==null?void 0:_.call(t)},centerAfter:()=>{var _;return(_=t.navbarCenterAfter)==null?void 0:_.call(t)},endBefore:()=>{var _;return(_=t.navbarEndBefore)==null?void 0:_.call(t)},endAfter:()=>{var _;return(_=t.navbarEndAfter)==null?void 0:_.call(t)},screenTop:()=>{var _;return(_=t.navScreenTop)==null?void 0:_.call(t)},screenBottom:()=>{var _;return(_=t.navScreenBottom)==null?void 0:_.call(t)}}):null,r(se,{name:"fade"},()=>d.value?r("div",{class:"sidebar-mask",onClick:()=>c(!1)}):null),r(se,{name:"fade"},()=>i.value?null:r("div",{class:"toggle-sidebar-wrapper",onClick:()=>v()},r("span",{class:["arrow",u.value?"end":"start"]}))),r(vi,{},{...t.sidebar?{default:()=>{var _;return(_=t.sidebar)==null?void 0:_.call(t)}}:{},top:()=>{var _;return(_=t.sidebarTop)==null?void 0:_.call(t)},bottom:()=>{var _;return(_=t.sidebarBottom)==null?void 0:_.call(t)}}),(S=t.default)==null?void 0:S.call(t),r(Gl)])})}}),fe=E({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(e,{slots:t}){const a=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},n=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>r(e.type==="single"?se:da,{name:"drop",appear:e.appear,onAppear:a,onAfterAppear:n,onEnter:a,onAfterEnter:n,onBeforeLeave:a},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const Je=({custom:e})=>r(wa,{class:["theme-hope-content",{custom:e}]});Je.displayName="MarkdownContent",Je.props={custom:Boolean};var Ln=Je;const Tn=()=>r(x,{name:"author"},()=>r("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Tn.displayName="AuthorIcon";const On=()=>r(x,{name:"calendar"},()=>r("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));On.displayName="CalendarIcon";const An=()=>r(x,{name:"category"},()=>r("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));An.displayName="CategoryIcon";const In=()=>r(x,{name:"eye"},()=>r("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));In.displayName="EyeIcon";const Pn=()=>r(x,{name:"fire"},()=>r("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));Pn.displayName="FireIcon";const Sn=()=>r(x,{name:"print"},()=>r("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Sn.displayName="PrintIcon";const Dn=()=>r(x,{name:"tag"},()=>r("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Dn.displayName="TagIcon";const $n=()=>r(x,{name:"timer"},()=>r("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));$n.displayName="TimerIcon";const Rn=()=>r(x,{name:"word"},()=>[r("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),r("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Rn.displayName="WordIcon";const ne=()=>{const e=$();return m(()=>e.value.metaLocales)};var pi=E({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=ne();return()=>e.author.length?r("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Tn),r("span",e.author.map(a=>a.url?r("a",{class:"page-author-item",href:a.url,target:"_blank",rel:"noopener noreferrer"},a.name):r("span",{class:"page-author-item"},a.name))),r("span",{property:"author",content:e.author.map(a=>a.name).join(", ")})]):null}}),mi=E({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=G(),a=D(),n=ne(),o=(l,i="")=>{i&&a.value.path!==i&&(l.preventDefault(),t.push(i))};return()=>e.category.length?r("span",{class:"page-category-info","aria-label":`${n.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(An),e.category.map(({name:l,path:i})=>r("span",{class:["page-category-item",{[`category${$a(l,9)}`]:!e.pure,clickable:i}],role:i?"navigation":"",onClick:s=>o(s,i)},l)),r("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),hi=E({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Ne(),a=ne();return()=>e.date?r("span",{class:"page-date-info","aria-label":`${a.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(On),r("span",r(Be,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),r("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),fi=E({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=ne();return()=>e.isOriginal?r("span",{class:"page-original-info"},t.value.origin):null}}),gi=E({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=K(),a=ne(),n=k(),o=k(0);return cr(n,()=>{const l=n.value.textContent;l&&!isNaN(Number(l))&&(o.value=Number(l))},{childList:!0}),()=>e.pageview?r("span",{class:"page-pageview-info","aria-label":`${a.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(o.value<1e3?In:Pn),r("span",{ref:n,class:"waline-pageview-count",id:"ArtalkPV","data-path":F(e.pageview)?e.pageview:te(t.path)},"...")]):null}}),_i=E({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ne(),a=m(()=>{if(!e.readingTime)return null;const{minutes:n}=e.readingTime;return n<1?"PT1M":`PT${Math.round(n)}M`});return()=>{var n,o;return(n=e.readingTimeLocale)!=null&&n.time?r("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r($n),r("span",(o=e.readingTimeLocale)==null?void 0:o.time),r("meta",{property:"timeRequired",content:a.value})]):null}}}),bi=E({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=G(),a=D(),n=ne(),o=(l,i="")=>{i&&a.value.path!==i&&(l.preventDefault(),t.push(i))};return()=>e.tag.length?r("span",{class:"page-tag-info","aria-label":`${n.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Dn),e.tag.map(({name:l,path:i})=>r("span",{class:["page-tag-item",{[`tag${$a(l,9)}`]:!e.pure,clickable:i}],role:i?"navigation":"",onClick:s=>o(s,i)},l)),r("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),yi=E({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ne();return()=>{var a,n,o;return(a=e.readingTimeLocale)!=null&&a.words?r("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Rn),r("span",(n=e.readingTimeLocale)==null?void 0:n.words),r("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),wi=E({name:"PageInfo",components:{AuthorInfo:pi,CategoryInfo:mi,DateInfo:hi,OriginalInfo:fi,PageViewInfo:gi,ReadingTimeInfo:_i,TagInfo:bi,WordInfo:yi},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Fe();return()=>e.items?r("div",{class:"page-info"},e.items.map(a=>r(q(`${a}Info`),{...e.info,pure:t.value}))):null}}),Ei=E({name:"PrintButton",setup(){const e=le(),t=$();return()=>e.value.print===!1?null:r("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},r(Sn))}});const ki=({title:e,level:t,slug:a})=>r(re,{to:`#${a}`,class:["toc-link",`level${t}`]},()=>e),Xe=(e,t)=>{const a=K();return e.length&&t>0?r("ul",{class:"toc-list"},e.map(n=>{const o=Xe(n.children,t-1);return[r("li",{class:["toc-item",{active:it(a,`#${n.slug}`)}]},ki(n)),o?r("li",o):null]})):null};var Li=E({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(e,{slots:t}){const a=K(),n=D(),o=ne(),l=k(),i=k("-1.7rem"),s=c=>{var u;(u=l.value)==null||u.scrollTo({top:c,behavior:"smooth"})},d=()=>{if(l.value){const c=document.querySelector(".toc-item.active");c?i.value=`${c.getBoundingClientRect().top-l.value.getBoundingClientRect().top+l.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return R(()=>{I(()=>a.hash,c=>{if(l.value){const u=document.querySelector(`#toc a.toc-link[href$="${c}"]`);if(!u)return;const{top:v,height:h}=l.value.getBoundingClientRect(),{top:f,height:w}=u.getBoundingClientRect();fv+h&&s(l.value.scrollTop+f+w-v-h)}}),I(()=>a.fullPath,()=>d(),{flush:"post",immediate:!0})}),()=>{var c,u;const v=e.items.length?Xe(e.items,e.headerDepth):n.value.headers?Xe(n.value.headers,e.headerDepth):null;return v?r("div",{class:"toc-place-holder"},[r("aside",{id:"toc"},[(c=t.before)==null?void 0:c.call(t),r("div",{class:"toc-header"},[o.value.toc,r(Ei)]),r("div",{class:"toc-wrapper",ref:l},[v,r("div",{class:"toc-marker",style:{top:i.value}})]),(u=t.after)==null?void 0:u.call(t)])]):null}}}),xn=E({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=D(),a=$(),n=k(),o=({target:l})=>{const i=document.querySelector(l.hash);if(i){const s=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",s)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",s),i.focus(),window.scrollTo(0,0)}};return R(()=>{I(()=>t.value.path,()=>n.value.focus())}),()=>[r("span",{ref:n,tabindex:"-1"}),r("a",{href:`#${e.content}`,class:"skip-link sr-only",onClick:o},a.value.routeLocales.skipToContent)]}});let Ge=null,De=null;const Ti={wait:()=>Ge,pending:()=>{Ge=new Promise(e=>De=e)},resolve:()=>{De==null||De(),Ge=null,De=null}},Cn=()=>Ti;var Oi=E({name:"FadeSlideY",setup(e,{slots:t}){const{resolve:a,pending:n}=Cn();return()=>r(se,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:a,onBeforeLeave:n},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}}),Ai=E({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(e){return()=>r("div",{class:"feature-panel"},[e.header?r("h2",{class:"feature-header"},e.header):null,e.items.length?r("div",{class:"feature-wrapper"},e.items.map(t=>{const a=[r("h3",[r(U,{icon:t.icon}),r("span",{innerHTML:t.title})]),r("p",{innerHTML:t.details})];return t.link?Re(t.link)?r("a",{class:"feature-item link",href:t.link,role:"navigation","aria-label":t.title,target:"_blank"},a):r(re,{class:"feature-item link",to:t.link,role:"navigation","aria-label":t.title},()=>a):r("div",{class:"feature-item"},a)})):null])}}),Ii=E({name:"HeroInfo",setup(e,{slots:t}){const a=C(),n=Me(),o=m(()=>a.value.heroText===!1?!1:a.value.heroText||n.value.title||"Hello"),l=m(()=>a.value.tagline===!1?!1:a.value.tagline||n.value.description||"Welcome to your VuePress site"),i=m(()=>a.value.heroImage?te(a.value.heroImage):null),s=m(()=>a.value.heroImageDark?te(a.value.heroImageDark):null),d=m(()=>a.value.heroAlt||o.value||"hero"),c=m(()=>a.value.actions??[]);return()=>{var u,v;return r("header",{class:"hero-info-wrapper"},[((u=t.heroImage)==null?void 0:u.call(t))||r(fe,{appear:!0,type:"group"},()=>[i.value?r("img",{key:"light",class:{light:s.value},src:i.value,alt:d.value}):null,s.value?r("img",{key:"dark",class:"dark",src:s.value,alt:d.value}):null]),((v=t.heroInfo)==null?void 0:v.call(t))||r("div",{class:"hero-info"},[o.value?r(fe,{appear:!0,delay:.04},()=>r("h1",{id:"main-title"},o.value)):null,l.value?r(fe,{appear:!0,delay:.08},()=>r("p",{class:"description"},l.value)):null,c.value.length?r(fe,{appear:!0,delay:.12},()=>r("p",{class:"actions"},c.value.map(h=>r(j,{class:["action-button",h.type||"default"],config:h,noExternalLinkIcon:!0})))):null])])}}}),Pi=E({name:"HopePage",setup(e,{slots:t}){const a=Fe(),n=C(),o=m(()=>{const{features:l}=n.value;return Ce(l)?l.some(i=>!("items"in i))?[{items:l}]:l:[]});return()=>{var l,i,s;return r("main",{class:["home project",{pure:a.value}],id:"main-content","aria-labelledby":n.value.heroText===null?void 0:"main-title"},[(l=t.top)==null?void 0:l.call(t),r(Ii),o.value.map(({header:d="",items:c},u)=>r(fe,{appear:!0,delay:.16+u*.08},()=>r(Ai,{header:d,items:c}))),(i=t.center)==null?void 0:i.call(t),r(fe,{appear:!0,delay:.16+o.value.length*.08},()=>r(Ln)),(s=t.bottom)==null?void 0:s.call(t)])}}});const Si=(e,t)=>{const a=e.replace(t,"/").split("/"),n=[];let o=nt(t);return a.forEach((l,i)=>{i!==a.length-1?(o+=`${l}/`,n.push(o)):l!==""&&(o+=l,n.push(o))}),n};var Di=E({name:"BreadCrumb",setup(){const e=G(),t=D(),a=ae(),n=C(),o=$(),l=k([]),i=m(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&o.value.breadcrumb!==!1)&&l.value.length>1),s=m(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&o.value.breadcrumbIcon!==!1),d=()=>{const c=e.getRoutes(),u=Si(t.value.path,a.value).map(v=>{const h=c.find(f=>f.path===v);if(h){const{meta:f,path:w}=st(e,h.path),L=f[Z.shortTitle]||f[Z.title];if(L)return{title:L,icon:f[Z.icon],path:w}}return null}).filter(v=>v!==null);u.length>1&&(l.value=u)};return R(()=>{d(),I(()=>t.value.path,d)}),()=>r("nav",{class:["breadcrumb",{disable:!i.value}]},i.value?r("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},l.value.map((c,u)=>r("li",{class:{"is-active":l.value.length-1===u},property:"itemListElement",typeof:"ListItem"},[r(re,{to:c.path,property:"item",typeof:"WebPage"},()=>[s.value?r(U,{icon:c.icon}):null,r("span",{property:"name"},c.title||"Unknown")]),r("meta",{property:"position",content:u+1})]))):[])}});const Yt=e=>e===!1?!1:F(e)?ge(e,!0):at(e)?e:null,Ze=(e,t,a)=>{const n=e.findIndex(o=>o.link===t);if(n!==-1){const o=e[n+a];return o!=null&&o.link?o:null}for(const o of e)if(o.children){const l=Ze(o.children,t,a);if(l)return l}return null};var $i=E({name:"PageNav",setup(){const e=$(),t=C(),a=_t(),n=D(),o=zl(),l=m(()=>{const s=Yt(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:Ze(a.value,n.value.path,-1))}),i=m(()=>{const s=Yt(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:Ze(a.value,n.value.path,1))});return N("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?i.value&&(o(i.value.link),s.preventDefault()):s.key==="ArrowLeft"&&l.value&&(o(l.value.link),s.preventDefault()))}),()=>l.value||i.value?r("nav",{class:"page-nav"},[l.value?r(j,{class:"prev",config:l.value},()=>{var s,d;return[r("div",{class:"hint"},[r("span",{class:"arrow start"}),e.value.metaLocales.prev]),r("div",{class:"link"},[r(U,{icon:(s=l.value)==null?void 0:s.icon}),(d=l.value)==null?void 0:d.text])]}):null,i.value?r(j,{class:"next",config:i.value},()=>{var s,d;return[r("div",{class:"hint"},[e.value.metaLocales.next,r("span",{class:"arrow end"})]),r("div",{class:"link"},[(s=i.value)==null?void 0:s.text,r(U,{icon:(d=i.value)==null?void 0:d.icon})])]}):null]):null}});const Ri={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},xi=({docsRepo:e,docsBranch:t,docsDir:a,filePathRelative:n,editLinkPattern:o})=>{if(!n)return null;const l=Ca(e);let i;return o?i=o:l!==null&&(i=Ri[l]),i?i.replace(/:repo/,ke(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,sa(`${nt(a)}/${n}`)):null},Ci=()=>{const e=$(),t=D(),a=C();return m(()=>{const{repo:n,docsRepo:o=n,docsBranch:l="main",docsDir:i="",editLink:s,editLinkPattern:d=""}=e.value;if(!(a.value.editLink??s??!0)||!o)return null;const c=xi({docsRepo:o,docsBranch:l,docsDir:i,editLinkPattern:d,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},zi=()=>{const e=Me(),t=$(),a=D(),n=C();return m(()=>{var o,l;return!(n.value.lastUpdated??t.value.lastUpdated??!0)||!((o=a.value.git)!=null&&o.updatedTime)?null:new Date((l=a.value.git)==null?void 0:l.updatedTime).toLocaleString(e.value.lang)})},Vi=()=>{const e=$(),t=D(),a=C();return m(()=>{var n;return a.value.contributors??e.value.contributors??!0?((n=t.value.git)==null?void 0:n.contributors)??null:null})};var Ni=E({name:"PageTitle",setup(){const e=D(),t=C(),a=$(),{info:n,items:o}=Bl();return()=>r("div",{class:"page-title"},[r("h1",[a.value.titleIcon===!1?null:r(U,{icon:t.value.icon}),e.value.title]),r(wi,{info:n.value,...o.value===null?{}:{items:o.value}}),r("hr")])}});const zn=()=>r(x,{name:"edit"},()=>[r("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),r("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);zn.displayName="EditIcon";var Mi=E({name:"PageMeta",setup(){const e=$(),t=Ci(),a=zi(),n=Vi();return()=>{const{metaLocales:o}=e.value;return r("footer",{class:"page-meta"},[t.value?r("div",{class:"meta-item edit-link"},r(j,{class:"label",config:t.value},{before:()=>r(zn)})):null,r("div",{class:"meta-item git-info"},[a.value?r("div",{class:"update-time"},[r("span",{class:"label"},`${o.lastUpdated}: `),r(Be,()=>r("span",{class:"info"},a.value))]):null,n.value&&n.value.length?r("div",{class:"contributors"},[r("span",{class:"label"},`${o.contributors}: `),n.value.map(({email:l,name:i},s)=>[r("span",{class:"contributor",title:`email: ${l}`},i),s!==n.value.length-1?",":""])]):null])])}}}),Bi=E({name:"NormalPage",setup(e,{slots:t}){const a=C(),n=D(),{isDarkmode:o}=Ae(),l=$(),i=m(()=>a.value.toc||a.value.toc!==!1&&l.value.toc!==!1);return()=>r("main",{class:"page",id:"main-content"},r(Y("LocalEncrypt")?q("LocalEncrypt"):ka,()=>{var s,d,c,u;return[(s=t.top)==null?void 0:s.call(t),a.value.cover?r("img",{class:"page-cover",src:a.value.cover,alt:n.value.title,"no-view":""}):null,r(Di),r(Ni),i.value?r(Li,{headerDepth:a.value.headerDepth??l.value.headerDepth??2},{before:()=>{var v;return(v=t.tocBefore)==null?void 0:v.call(t)},after:()=>{var v;return(v=t.tocAfter)==null?void 0:v.call(t)}}):null,(d=t.contentBefore)==null?void 0:d.call(t),r(Ln),(c=t.contentAfter)==null?void 0:c.call(t),r(Mi),r($i),Y("CommentService")?r(q("CommentService"),{darkmode:o.value}):null,(u=t.bottom)==null?void 0:u.call(t)]}))}}),Fi=E({name:"Layout",setup(){$();const e=D(),t=C(),{isMobile:a}=He(),n=m(()=>"none");return()=>[r(xn),r(kn,{},{default:()=>t.value.home?r(Pi):r(Oi,()=>r(Bi,{key:e.value.path})),...n.value!=="none"?{navScreenBottom:()=>r(q("BloggerInfo"))}:{},...!a.value&&n.value==="always"?{sidebar:()=>r(q("BloggerInfo"))}:{}})]}}),Hi=E({name:"NotFoundHint",setup(){const e=$(),t=()=>{const a=e.value.routeLocales.notFoundMsg;return a[Math.floor(Math.random()*a.length)]};return()=>r("div",{class:"not-found-hint"},[r("p",{class:"error-code"},"404"),r("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),r("p",{class:"error-hint"},t())])}}),ji=E({name:"NotFound",setup(e,{slots:t}){const a=ae(),n=$(),{navigate:o}=Jn({to:n.value.home??a.value});return()=>[r(xn),r(kn,{noSidebar:!0},()=>{var l;return r("main",{class:"page not-found",id:"main-content"},((l=t.default)==null?void 0:l.call(t))||[r(Hi),r("div",{class:"actions"},[r("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},n.value.routeLocales.back),r("button",{type:"button",class:"action-button",onClick:()=>o()},n.value.routeLocales.home)])])})]}});const qi=H({enhance:({app:e,router:t})=>{const{scrollBehavior:a}=t.options;t.options.scrollBehavior=async(...n)=>(await Cn().wait(),a(...n)),Fl(e),e.component("HopeIcon",U)},setup:()=>{Hl(),Ul()},layouts:{Layout:Fi,NotFound:ji}});var Jt;const Vn=typeof window<"u",Wi=e=>typeof e=="string",Ui=()=>{};Vn&&((Jt=window==null?void 0:window.navigator)!=null&&Jt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Nn(e){return typeof e=="function"?e():me(e)}function Gi(e){return e}function Ki(e){return ca()?(ua(e),!0):!1}function Qi(e){var t;const a=Nn(e);return(t=a==null?void 0:a.$el)!=null?t:a}const Yi=Vn?window:void 0;function Ji(...e){let t,a,n,o;if(Wi(e[0])||Array.isArray(e[0])?([a,n,o]=e,t=Yi):[t,a,n,o]=e,!t)return Ui;Array.isArray(a)||(a=[a]),Array.isArray(n)||(n=[n]);const l=[],i=()=>{l.forEach(u=>u()),l.length=0},s=(u,v,h,f)=>(u.addEventListener(v,h,f),()=>u.removeEventListener(v,h,f)),d=I(()=>[Qi(t),Nn(o)],([u,v])=>{i(),u&&l.push(...a.flatMap(h=>n.map(f=>s(u,h,f,v))))},{immediate:!0,flush:"post"}),c=()=>{d(),i()};return Ki(c),c}const Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zt="__vueuse_ssr_handlers__";Xt[Zt]=Xt[Zt]||{};var ea;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ea||(ea={}));var Xi=Object.defineProperty,ta=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,aa=(e,t,a)=>t in e?Xi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ts=(e,t)=>{for(var a in t||(t={}))Zi.call(t,a)&&aa(e,a,t[a]);if(ta)for(var a of ta(t))es.call(t,a)&&aa(e,a,t[a]);return e};const as={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ts({linear:Gi},as);const ns=e=>{const t=Ji("keydown",a=>{a.key==="k"&&(a.ctrlKey||a.metaKey)&&(a.preventDefault(),e(),t())})},os=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,rs=()=>{const e=G();return{hitComponent:({hit:t,children:a})=>({type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:t.url,onClick:n=>{os(n)||(n.preventDefault(),e.push(yt(t.url,"/")))},children:a},__v:null}),navigator:{navigate:({itemUrl:t})=>{e.push(yt(t,"/"))}},transformSearchClient:t=>{const a=qa(t.search,500);return{...t,search:async(...n)=>a(...n)}}}},ls=(e=[],t)=>[`lang:${t}`,...Ce(e)?e:[e]],is=({buttonText:e="Search",buttonAriaLabel:t=e}={})=>``,ss=16,Mn=()=>{if(document.querySelector(".DocSearch-Modal"))return;const e=new Event("keydown");e.key="k",e.metaKey=!0,window.dispatchEvent(e),setTimeout(Mn,ss)},cs=e=>{const t="algolia-preconnect";(window.requestIdleCallback||setTimeout)(()=>{if(document.head.querySelector(`#${t}`))return;const n=document.createElement("link");n.id=t,n.rel="preconnect",n.href=`https://${e}-dsn.algolia.net`,n.crossOrigin="",document.head.appendChild(n)})},us={appId:"28CTGDOOQD",apiKey:"72d7a9a0f9f0466218ea19988886dce8",indexName:"hutao",locales:{"/zh/":{placeholder:"搜索文档",translations:{button:{buttonText:"搜索文档",buttonAriaLabel:"搜索文档"},modal:{searchBox:{resetButtonTitle:"清除查询条件",resetButtonAriaLabel:"清除查询条件",cancelButtonText:"取消",cancelButtonAriaLabel:"取消"},startScreen:{recentSearchesTitle:"搜索历史",noRecentSearchesText:"没有搜索历史",saveRecentSearchButtonTitle:"保存至搜索历史",removeRecentSearchButtonTitle:"从搜索历史中移除",favoriteSearchesTitle:"收藏",removeFavoriteSearchButtonTitle:"从收藏中移除"},errorScreen:{titleText:"无法获取结果",helpText:"你可能需要检查你的网络连接"},footer:{selectText:"选择",navigateText:"切换",closeText:"关闭",searchByText:"搜索提供者"},noResultsScreen:{noResultsText:"无法找到相关结果",suggestedQueryText:"你可以尝试查询",reportMissingResultsText:"你认为该查询应该有结果?",reportMissingResultsLinkText:"点击反馈"}}}},"/en/":{placeholder:"Search documents",translations:{button:{buttonText:"Search documents"}}}}};p(()=>import("./style-e9220a04.js"),[]),p(()=>import("./docsearch-1d421ddb.js"),[]);const ds=E({name:"Docsearch",props:{containerId:{type:String,required:!1,default:"docsearch-container"},options:{type:Object,required:!1,default:()=>us}},setup(e){const t=rs(),a=Ne(),n=ae(),o=k(!1),l=k(!1),i=m(()=>{var c;return{...e.options,...(c=e.options.locales)==null?void 0:c[n.value]}}),s=async()=>{var u;const{default:c}=await p(()=>import("./index-ade63bb5.js"),[]);c({...t,...i.value,container:`#${e.containerId}`,searchParameters:{...i.value.searchParameters,facetFilters:ls((u=i.value.searchParameters)==null?void 0:u.facetFilters,a.value)}}),o.value=!0},d=()=>{l.value||o.value||(l.value=!0,s(),Mn(),I(n,s))};return ns(d),R(()=>cs(i.value.appId)),()=>{var c;return[r("div",{id:e.containerId,style:{display:o.value?"block":"none"}}),o.value?null:r("div",{onClick:d,innerHTML:is((c=i.value.translations)==null?void 0:c.button)})]}}}),vs=H({enhance({app:e}){e.component("Docsearch",ds)}}),ps=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e.id}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),e.debug?gtag("config",e.id,{debug_mode:!0}):gtag("config",e.id)},ms={id:"G-F3LFJCE3RM"},hs=H({enhance(){ps(ms)}});const Bn={autoLocale:!0,switchLocale:"modal",localeConfig:{0:["/en/",["en-US","en-UK","en"]],1:["/zh/",["zh-CN","zh-TW","zh"]],"/zh/":["zh-CN"],"/en/":["en-US"]},defaultLocale:"/en/",localeFallback:!0,defaultBehavior:"defaultLocale"},na=rt(Bn.localeConfig),oa={"/zh/":{name:"简体中文",hint:"您的首选语言是 $1,是否切换到该语言?",switch:"切换到 $1",cancel:"取消"},"/en/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"},"/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"}},{switchLocale:ra}=Bn,la=wr("VUEPRESS_REDIRECT_LOCALES",{});var fs=E({name:"LanguageSwitch",setup(){const e=br(),t=K(),a=G(),n=ae(),o=k(!1),l=m(()=>{if(na.some(([c])=>n.value===c)){for(const c of e.value)for(const[u,v]of na)if(v.includes(c))return u===n.value?null:{lang:c,localePath:u}}return null}),i=m(()=>{if(l.value){const{lang:c,localePath:u}=l.value,v=[oa[n.value],oa[u]];return{hint:v.map(({hint:h})=>h.replace("$1",c)),switch:v.map(({switch:h})=>h.replace("$1",c)).join(" / "),cancel:v.map(({cancel:h})=>h).join(" / ")}}return null}),s=m(()=>l.value?t.path.replace(n.value,l.value.localePath):null),d=()=>{la.value[n.value]=!0,o.value=!1};return R(()=>{const c=mt(document.body);la.value[n.value]||(l.value?ra==="direct"?a.replace(s.value):ra==="modal"?o.value=!0:o.value=!1:o.value=!1),I(o,u=>{c.value=u},{immediate:!0}),Ve(()=>{c.value=!1})}),()=>o.value?r(da,{name:"lang-modal-fade"},()=>{var c,u,v;return o.value?[r("div",{key:"mask",class:"lang-modal-mask"}),r("div",{key:"popup",class:"lang-modal-wrapper"},[r("div",{class:"lang-modal-content"},(c=i.value)==null?void 0:c.hint.map(h=>r("p",h))),r("button",{type:"button",class:"lang-modal-action primary",onClick:()=>{d(),a.replace(s.value)}},(u=i.value)==null?void 0:u.switch),r("button",{type:"button",class:"lang-modal-action",onClick:()=>d()},(v=i.value)==null?void 0:v.cancel)])]:[]}):null}}),gs=H({setup(){},rootComponents:[fs]});const $e=[fo,Dr,Vr,Mr,Hr,Ur,Jr,il,ml,fl,Ll,Dl,qi,vs,hs,gs],_s=[["v-2d0a870d","/en/",{y:"h",t:"Home",i:"home"},["/en/index.html","/en/README.md"]],["v-082946dd","/en/community.html",{y:"a",t:"Join Community"},["/en/community","/en/community.md"]],["v-038e810e","/en/i18n.html",{y:"a",t:"Localization"},["/en/i18n","/en/i18n.md"]],["v-586858ed","/en/project.html",{y:"a",t:"Project"},["/en/project","/en/project.md"]],["v-0c01f6a4","/en/quick-start.html",{y:"a",t:"Quick Start"},["/en/quick-start","/en/quick-start.md"]],["v-23b9870a","/en/side-load.html",{y:"a",t:""},["/en/side-load","/en/side-load.md"]],["v-7d29d7d8","/en/star-request.html",{y:"a",t:""},["/en/star-request","/en/star-request.md"]],["v-2d0ad528","/zh/",{y:"h",t:"首页",i:"home"},["/zh/index.html","/zh/README.md"]],["v-5cad49b8","/zh/community.html",{y:"a",t:"加入用户社区"},["/zh/community","/zh/community.md"]],["v-27c4e153","/zh/i18n.html",{y:"a",t:"国际化支持"},["/zh/i18n","/zh/i18n.md"]],["v-6c355688","/zh/project.html",{y:"a",t:"项目说明"},["/zh/project","/zh/project.md"]],["v-4f90aebf","/zh/quick-start.html",{y:"a",t:"快速开始"},["/zh/quick-start","/zh/quick-start.md"]],["v-783d89e5","/zh/side-load.html",{y:"a",t:""},["/zh/side-load","/zh/side-load.md"]],["v-a91bb9c6","/zh/star-request.html",{y:"a",t:""},["/zh/star-request","/zh/star-request.md"]],["v-1bd4ef83","/en/advanced/FAQ.html",{y:"a",t:"常见问题",i:"ask",O:1},["/en/advanced/FAQ","/en/advanced/FAQ.md"]],["v-5c3f740a","/en/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/en/advanced/Gacha-system-and-export-principal","/en/advanced/Gacha-system-and-export-principal.md"]],["v-5f449840","/en/advanced/",{y:"a",t:"Advanced",I:0},["/en/advanced/index.html","/en/advanced/README.md"]],["v-1a028d16","/en/advanced/exceptions.html",{y:"a",t:"Common Program Exceptions",i:"debug",O:2},["/en/advanced/exceptions","/en/advanced/exceptions.md"]],["v-bd668802","/en/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/en/advanced/get-stoken-cookie-from-the-third-party","/en/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-51647c4a","/en/advanced/known-issue.html",{y:"a",t:"已知问题",i:"tool",O:3},["/en/advanced/known-issue","/en/advanced/known-issue.md"]],["v-031e5d68","/en/advanced/mihoyo-risk-tip.html",{y:"a",t:"账号风险及异常提示",i:"warn",O:4},["/en/advanced/mihoyo-risk-tip","/en/advanced/mihoyo-risk-tip.md"]],["v-bbae7dd2","/en/advanced/uninstall.html",{y:"a",t:"Uninstall Snap Hutao",i:"delete",O:8},["/en/advanced/uninstall","/en/advanced/uninstall.md"]],["v-30f089b6","/en/features/",{y:"a",t:"Features",I:0},["/en/features/index.html","/en/features/README.md"]],["v-699a13b0","/en/features/achievements.html",{y:"a",t:"Achievement Management",O:3},["/en/features/achievements","/en/features/achievements.md"]],["v-f3692af4","/en/features/character-data.html",{y:"a",t:"My Characters",O:5},["/en/features/character-data","/en/features/character-data.md"]],["v-10108380","/en/features/character-wiki.html",{y:"a",t:"Character WIKI",O:8},["/en/features/character-wiki","/en/features/character-wiki.md"]],["v-83f6294a","/en/features/develop-plan.html",{y:"a",t:"Development Plan",O:7},["/en/features/develop-plan","/en/features/develop-plan.md"]],["v-7839fe83","/en/features/game-launcher.html",{y:"a",t:"Game Launcher",O:1},["/en/features/game-launcher","/en/features/game-launcher.md"]],["v-0106e0dc","/en/features/hutao-API.html",{y:"a",t:"Hutao Database / Abyss Record",O:6},["/en/features/hutao-API","/en/features/hutao-API.md"]],["v-639b3ef9","/en/features/hutao-settings.html",{y:"a",t:"Software Settings",O:11},["/en/features/hutao-settings","/en/features/hutao-settings.md"]],["v-03aaffb1","/en/features/mhy-account-switch.html",{y:"a",t:"MiHoYo BBS Account Switch",O:10},["/en/features/mhy-account-switch","/en/features/mhy-account-switch.md"]],["v-124743a4","/en/features/real-time-notes.html",{y:"a",t:"Real-time Notes",O:4},["/en/features/real-time-notes","/en/features/real-time-notes.md"]],["v-e30b3c46","/en/features/weapon-wiki.html",{y:"a",t:"Weapon WIKI",O:9},["/en/features/weapon-wiki","/en/features/weapon-wiki.md"]],["v-b8e3a2b8","/en/features/wish-export.html",{y:"a",t:"Wish History",O:2},["/en/features/wish-export","/en/features/wish-export.md"]],["v-a4f9d2c4","/en/statements/",{y:"a",t:"Statements",I:0},["/en/statements/index.html","/en/statements/README.md"]],["v-45ceb024","/en/statements/bug-report.html",{y:"a",t:"Submit Bug Report",i:"debug",O:2},["/en/statements/bug-report","/en/statements/bug-report.md"]],["v-b4085a44","/en/statements/privacy-notice.html",{y:"a",t:"User Data and Privacy Notice",i:"license",O:3},["/en/statements/privacy-notice","/en/statements/privacy-notice.md"]],["v-b1c7a1c2","/en/statements/tos.html",{y:"a",t:"User Agreement and Legal Disclaime",i:"license",O:4},["/en/statements/tos","/en/statements/tos.md"]],["v-52f43e3b","/en/statements/update-log.html",{y:"a",t:"Update Logs",i:"update",O:1},["/en/statements/update-log","/en/statements/update-log.md"]],["v-4a1d3ac8","/zh/advanced/FAQ.html",{y:"a",t:"常见问题",i:"ask",O:1},["/zh/advanced/FAQ","/zh/advanced/FAQ.md"]],["v-b0dd6b00","/zh/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/zh/advanced/Gacha-system-and-export-principal","/zh/advanced/Gacha-system-and-export-principal.md"]],["v-16d7d7b6","/zh/advanced/",{y:"a",t:"高级",I:0},["/zh/advanced/index.html","/zh/advanced/README.md"]],["v-c8e5b2e0","/zh/advanced/exceptions.html",{y:"a",t:"常见的程序异常",i:"debug",O:2},["/zh/advanced/exceptions","/zh/advanced/exceptions.md"]],["v-6892c29a","/zh/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/zh/advanced/get-stoken-cookie-from-the-third-party","/zh/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-8ab89ae2","/zh/advanced/known-issue.html",{y:"a",t:"已知问题",i:"tool",O:3},["/zh/advanced/known-issue","/zh/advanced/known-issue.md"]],["v-9cc22da6","/zh/advanced/mihoyo-risk-tip.html",{y:"a",t:"账号风险及异常提示",i:"warn",O:4},["/zh/advanced/mihoyo-risk-tip","/zh/advanced/mihoyo-risk-tip.md"]],["v-a04a76c8","/zh/advanced/uninstall.html",{y:"a",t:"卸载胡桃工具箱",i:"delete",O:8},["/zh/advanced/uninstall","/zh/advanced/uninstall.md"]],["v-db2a9d92","/zh/development-log/symposium1.html",{y:"a",t:"第一期开发组座谈会"},["/zh/development-log/symposium1","/zh/development-log/symposium1.md"]],["v-d7c0ec54","/zh/development-log/symposium2.html",{y:"a",t:"第二期开发组座谈会"},["/zh/development-log/symposium2","/zh/development-log/symposium2.md"]],["v-0bbe1b6a","/zh/features/",{y:"a",t:"功能指南",I:0},["/zh/features/index.html","/zh/features/README.md"]],["v-2841a60b","/zh/features/achievements.html",{y:"a",t:"成就管理",O:3},["/zh/features/achievements","/zh/features/achievements.md"]],["v-3957d221","/zh/features/character-data.html",{y:"a",t:"属性统计",O:5},["/zh/features/character-data","/zh/features/character-data.md"]],["v-a9f7b44a","/zh/features/character-wiki.html",{y:"a",t:"角色资料",O:8},["/zh/features/character-wiki","/zh/features/character-wiki.md"]],["v-7cac7db6","/zh/features/develop-plan.html",{y:"a",t:"养成计划",O:7},["/zh/features/develop-plan","/zh/features/develop-plan.md"]],["v-e2f690f0","/zh/features/game-launcher.html",{y:"a",t:"高级启动器",O:1},["/zh/features/game-launcher","/zh/features/game-launcher.md"]],["v-0eb8e461","/zh/features/hutao-API.html",{y:"a",t:"胡桃数据库/深渊统计",O:6},["/zh/features/hutao-API","/zh/features/hutao-API.md"]],["v-16a7a694","/zh/features/hutao-settings.html",{y:"a",t:"软件设置",O:11},["/zh/features/hutao-settings","/zh/features/hutao-settings.md"]],["v-04b421cc","/zh/features/mhy-account-switch.html",{y:"a",t:"米游社多帐号切换",O:10},["/zh/features/mhy-account-switch","/zh/features/mhy-account-switch.md"]],["v-b5462c1a","/zh/features/real-time-notes.html",{y:"a",t:"实时便笺",O:4},["/zh/features/real-time-notes","/zh/features/real-time-notes.md"]],["v-108ccfbc","/zh/features/weapon-wiki.html",{y:"a",t:"武器资料",O:9},["/zh/features/weapon-wiki","/zh/features/weapon-wiki.md"]],["v-0ccd64e9","/zh/features/wish-export.html",{y:"a",t:"祈愿记录",O:2},["/zh/features/wish-export","/zh/features/wish-export.md"]],["v-c4bb0cba","/zh/statements/",{y:"a",t:"声明和公告",I:0},["/zh/statements/index.html","/zh/statements/README.md"]],["v-c87f8b6e","/zh/statements/bug-report.html",{y:"a",t:"提交BUG报告",i:"debug",O:2},["/zh/statements/bug-report","/zh/statements/bug-report.md"]],["v-70e6808e","/zh/statements/privacy-notice.html",{y:"a",t:"用户数据和隐私权益",i:"license",O:3},["/zh/statements/privacy-notice","/zh/statements/privacy-notice.md"]],["v-647ebd24","/zh/statements/tos.html",{y:"a",t:"用户使用协议和法律声明",i:"license",O:4},["/zh/statements/tos","/zh/statements/tos.md"]],["v-119bd096","/zh/statements/update-log.html",{y:"a",t:"更新日志",i:"update",O:1},["/zh/statements/update-log","/zh/statements/update-log.md"]],["v-3706649a","/404.html",{y:"p",t:""},["/404"]],["v-42f24836","/zh/development-log/",{y:"p",t:"Development Log"},["/zh/development-log/index.html"]],["v-8daa1a0e","/",{y:"p",t:"Home"},["/index.html"]]];var ia=E({name:"Vuepress",setup(){const e=vo();return()=>r(e.value)}}),bs=()=>_s.reduce((e,[t,a,n,o])=>(e.push({name:t,path:a,component:ia,meta:n},...o.map(l=>({path:l,redirect:a}))),e),[{name:"404",path:"/:catchAll(.*)",component:ia}]),ys=to,ws=()=>{const e=Xn({history:ys(nt("/")),routes:bs(),scrollBehavior:(t,a,n)=>n||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,a)=>{var n;(t.path!==a.path||a===Zn)&&([oe.value]=await Promise.all([X.resolvePageData(t.name),(n=pa[t.name])==null?void 0:n.__asyncLoader()]))}),e},Es=e=>{e.component("ClientOnly",Be),e.component("Content",wa)},ks=(e,t,a)=>{const n=k(t.currentRoute.value.path);I(()=>t.currentRoute.value.path,h=>n.value=h);const o=m(()=>X.resolveLayouts(a)),l=m(()=>X.resolveRouteLocale(he.value.locales,n.value)),i=m(()=>X.resolveSiteLocaleData(he.value,l.value)),s=m(()=>X.resolvePageFrontmatter(oe.value)),d=m(()=>X.resolvePageHeadTitle(oe.value,i.value)),c=m(()=>X.resolvePageHead(d.value,s.value,i.value)),u=m(()=>X.resolvePageLang(oe.value)),v=m(()=>X.resolvePageLayout(oe.value,o.value));return e.provide(io,o),e.provide(ha,s),e.provide(uo,d),e.provide(fa,c),e.provide(ga,u),e.provide(_a,v),e.provide(ot,l),e.provide(ya,i),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>s.value},$head:{get:()=>c.value},$headTitle:{get:()=>d.value},$lang:{get:()=>u.value},$page:{get:()=>oe.value},$routeLocale:{get:()=>l.value},$site:{get:()=>he.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>te}}),{layouts:o,pageData:oe,pageFrontmatter:s,pageHead:c,pageHeadTitle:d,pageLang:u,pageLayout:v,routeLocale:l,siteData:he,siteLocaleData:i}},Ls=()=>{const e=co(),t=Ne(),a=k([]),n=()=>{e.value.forEach(l=>{const i=Ts(l);i&&a.value.push(i)})},o=()=>{document.documentElement.lang=t.value,a.value.forEach(l=>{l.parentNode===document.head&&document.head.removeChild(l)}),a.value.splice(0,a.value.length),e.value.forEach(l=>{const i=Os(l);i!==null&&(document.head.appendChild(i),a.value.push(i))})};tt(po,o),R(()=>{n(),o(),I(()=>e.value,()=>o())})},Ts=([e,t,a=""])=>{const n=Object.entries(t).map(([s,d])=>F(d)?`[${s}=${JSON.stringify(d)}]`:d===!0?`[${s}]`:"").join(""),o=`head > ${e}${n}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===a)||null},Os=([e,t,a])=>{if(!F(e))return null;const n=document.createElement(e);return at(t)&&Object.entries(t).forEach(([o,l])=>{F(l)?n.setAttribute(o,l):l===!0&&n.setAttribute(o,"")}),F(a)&&n.appendChild(document.createTextNode(a)),n},As=eo,Is=async()=>{var a;const e=As({name:"VuepressApp",setup(){var n;Ls();for(const o of $e)(n=o.setup)==null||n.call(o);return()=>[r(ao),...$e.flatMap(({rootComponents:o=[]})=>o.map(l=>r(l)))]}}),t=ws();Es(e),ks(e,t,$e);for(const n of $e)await((a=n.enhance)==null?void 0:a.call(n,{app:e,router:t,siteData:he}));return e.use(t),{app:e,router:t}};Is().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ds as a,kr as b,$s as c,Is as createVueApp,Ss as d,vt as u}; + */const A={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=A.isStarted();e=je(e,A.settings.minimum,1),A.status=e===1?null:e;const a=A.render(!t),n=a.querySelector(A.settings.barSelector),o=A.settings.speed,l=A.settings.easing;return a.offsetWidth,jr(i=>{Se(n,{transform:"translate3d("+Ft(e)+"%,0,0)",transition:"all "+o+"ms "+l}),e===1?(Se(a,{transition:"none",opacity:"1"}),a.offsetWidth,setTimeout(function(){Se(a,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){A.remove(),i()},o)},o)):setTimeout(()=>i(),o)}),A},isStarted:()=>typeof A.status=="number",start:()=>{A.status||A.set(0);const e=()=>{setTimeout(()=>{A.status&&(A.trickle(),e())},A.settings.trickleSpeed)};return A.settings.trickle&&e(),A},done:e=>!e&&!A.status?A:A.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=A.status;return t?(typeof e!="number"&&(e=(1-t)*je(Math.random()*t,.1,.95)),t=je(t+e,0,.994),A.set(t)):A.start()},trickle:()=>A.inc(Math.random()*A.settings.trickleRate),render:e=>{if(A.isRendered())return document.getElementById("nprogress");Ht(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=A.settings.template;const a=t.querySelector(A.settings.barSelector),n=e?"-100":Ft(A.status||0),o=document.querySelector(A.settings.parent);return Se(a,{transition:"all 0 linear",transform:"translate3d("+n+"%,0,0)"}),o!==document.body&&Ht(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{jt(document.documentElement,"nprogress-busy"),jt(document.querySelector(A.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&qr(e)},isRendered:()=>!!document.getElementById("nprogress")},je=(e,t,a)=>ea?a:e,Ft=e=>(-1+e)*100,jr=function(){const e=[];function t(){const a=e.shift();a&&a(t)}return function(a){e.push(a),e.length===1&&t()}}(),Se=function(){const e=["Webkit","O","Moz","ms"],t={};function a(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,d){return d.toUpperCase()})}function n(i){const s=document.body.style;if(i in s)return i;let d=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;d--;)if(u=e[d]+c,u in s)return u;return i}function o(i){return i=a(i),t[i]||(t[i]=n(i))}function l(i,s,d){s=o(s),i.style[s]=d}return function(i,s){for(const d in s){const c=s[d];c!==void 0&&Object.prototype.hasOwnProperty.call(s,d)&&l(i,d,c)}}}(),Ua=(e,t)=>(typeof e=="string"?e:ht(e)).indexOf(" "+t+" ")>=0,Ht=(e,t)=>{const a=ht(e),n=a+t;Ua(a,t)||(e.className=n.substring(1))},jt=(e,t)=>{const a=ht(e);if(!Ua(e,t))return;const n=a.replace(" "+t+" "," ");e.className=n.substring(1,n.length-1)},ht=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),qr=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)};const Wr=()=>{R(()=>{const e=G(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(a=>{t.has(a.path)||A.start()}),e.afterEach(a=>{t.add(a.path),A.done()})})},Ur=H({setup(){Wr()}}),Gr=JSON.parse(`{"encrypt":{},"author":{"name":"DGP-Studio","url":"https://github.com/DGP-Studio"},"logo":"https://img.alicdn.com/imgextra/i4/1797064093/O1CN01vK3m2w1g6duwt8quS_!!1797064093.png","repo":"DGP-Studio/Snap.Hutao","pageInfo":["Author","Original","Date","Category","Tag","ReadingTime"],"docsRepo":"DGP-Studio/Snap.Hutao.Docs","docsDir":"docs","locales":{"/zh/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/zh/",{"text":"文档","icon":"article","link":"/zh/features/"},{"text":"下载","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"加入社区讨论","icon":"community","link":"/zh/community.md"}],"sidebar":{"/zh/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project.md"},{"icon":"network","text":"国际化支持","link":"i18n.md"},{"icon":"play","text":"快速开始","link":"quick-start.md"},{"icon":"read","text":"功能指南","prefix":"features/","children":"structure"},{"icon":"advance","text":"高级","prefix":"advanced/","children":"structure"},{"icon":"article","text":"声明和公告","prefix":"statements/","children":"structure"}]},"footer":"用开源社区力量为原神PC端玩家带来最好的游戏体验","displayFooter":true},"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/",{"text":"Document","icon":"article","link":"/en/features/"},{"text":"Download","icon":"install","link":"https://apps.microsoft.com/store/detail/snap-hutao/9PH4NXJ2JN52"},{"text":"Community","icon":"community","link":"/en/community.md"}],"sidebar":{"/en/":["",{"icon":"workingDirectory","text":"Project","link":"project.md"},{"icon":"network","text":"Localization","link":"i18n.md"},{"icon":"play","text":"Quick Start","link":"quick-start.md"},{"icon":"read","text":"Features","prefix":"features/","children":"structure"},{"icon":"advance","text":"Advanced","prefix":"advanced/","children":"structure"},{"icon":"article","text":"Statements","prefix":"statements/","children":"structure"}]},"footer":"Be the best Genshin Impact tool","displayFooter":true},"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"}}}}`),Kr=k(Gr),Ga=()=>Kr,Ka=Symbol(""),Qr=()=>{const e=J(Ka);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Yr=(e,t)=>{var a;return{...e,...(a=e.locales)==null?void 0:a[t]}},Jr=H({enhance({app:e}){const t=Ga(),a=e._context.provides[ot],n=m(()=>Yr(t.value,a.value));e.provide(Ka,n),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return n.value}}})}}),Xr={"Content-Type":"application/json"},Zr=({serverURL:e,lang:t,paths:a,signal:n})=>(({serverURL:o,lang:l,paths:i,type:s,signal:d})=>fetch(`${o}/article?path=${encodeURIComponent(i.join(","))}&type=${encodeURIComponent(s.join(","))}&lang=${l}`,{signal:d}).then(c=>c.json()))({serverURL:e,lang:t,paths:a,type:["time"],signal:n}).then(o=>Array.isArray(o)?o:[o]),el=e=>(({serverURL:t,lang:a,path:n,type:o,action:l})=>fetch(`${t}/article?lang=${a}`,{method:"POST",headers:Xr,body:JSON.stringify({path:n,type:o,action:l})}).then(i=>i.json()))({...e,type:"time",action:"inc"}),qt=e=>{const t=((a="")=>a.replace(/\/$/u,""))(e);return/^(https?:)?\/\//.test(t)?t:`https://${t}`},tl=e=>{e.name!=="AbortError"&&console.error(e.message)},Wt=e=>e.dataset.path||e.getAttribute("id"),Ut=(e,t)=>{t.forEach((a,n)=>{a.innerText=e[n].toString()})},al=({serverURL:e,path:t=window.location.pathname,selector:a=".waline-pageview-count",update:n=!0,lang:o=navigator.language})=>{const l=new AbortController,i=Array.from(document.querySelectorAll(a)),s=c=>{const u=Wt(c);return u!==null&&t!==u},d=c=>Zr({serverURL:qt(e),paths:c.map(u=>Wt(u)||t),lang:o,signal:l.signal}).then(u=>Ut(u,c)).catch(tl);if(n){const c=i.filter(v=>!s(v)),u=i.filter(s);el({serverURL:qt(e),path:t,lang:o}).then(v=>Ut(new Array(c.length).fill(v),c)),u.length&&d(u)}else d(i);return l.abort.bind(l)};const we={provider:"Waline",dark:'html[data-theme="dark"]',serverURL:"https://comments.snapgenshin.com",emoji:["//unpkg.com/@waline/emojis@1.1.0/weibo","//unpkg.com/@waline/emojis@1.1.0/bilibili","//unpkg.com/@waline/emojis@1.1.0/bmoji","//unpkg.com/@waline/emojis@1.1.0/qq","//unpkg.com/@waline/emojis@1.1.0/tieba"],requiredMeta:["mail"],reaction:!1},nl={"/zh/":{placeholder:"请留言。(填写邮箱可在被回复时收到邮件提醒)"},"/en/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"},"/":{placeholder:"Write a comment here (Fill in the email address to receive an email notification when being replied)"}};p(()=>import("./waline-meta-a31b78ed.js"),[]);var ol=E({name:"WalineComment",setup(){const e=D(),t=C(),a=Ne(),n=ve(nl);let o;const l=m(()=>{const c=we.comment!==!1,u=t.value.comment;return!!u||c!==!1&&u!==!1}),i=m(()=>{const c=we.pageview!==!1,u=t.value.pageview;return!!u||c!==!1&&u!==!1}),s=m(()=>te(e.value.path)),d=m(()=>({lang:a.value==="zh-CN"?"zh-CN":"en",locale:n.value,dark:"html.dark",...we,path:s.value}));return R(()=>{I(s,()=>{o==null||o(),i.value&&Te().then(()=>{setTimeout(()=>{o=al({serverURL:we.serverURL,path:s.value})},we.delay||800)})},{immediate:!0})}),()=>l.value?r("div",{class:"waline-wrapper",id:"comment"},r(b({loader:async()=>(await p(()=>import("./component-40873d3a.js"),["assets/component-40873d3a.js","assets/framework-8be3ab77.js"])).Waline,loadingComponent:Ea}),d.value)):null}});const rl={provider:"Waline",dark:'html[data-theme="dark"]',serverURL:"https://comments.snapgenshin.com",emoji:["//unpkg.com/@waline/emojis@1.1.0/weibo","//unpkg.com/@waline/emojis@1.1.0/bilibili","//unpkg.com/@waline/emojis@1.1.0/bmoji","//unpkg.com/@waline/emojis@1.1.0/qq","//unpkg.com/@waline/emojis@1.1.0/tieba"],requiredMeta:["mail"],reaction:!1}.comment!==!1,ll=E({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=C(),a=m(()=>t.value.comment||rl&&t.value.comment!==!1);return()=>r(ol,{darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}});var il=H({enhance:({app:e})=>{e.component("CommentService",ll)}});const sl=800,cl=2e3,ul={"/zh/":{copy:"复制代码",copied:"已复制",hint:"复制成功"},"/en/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"},"/":{copy:"Copy code",copied:"Copied",hint:"Copied successfully"}},dl=!1,vl=['.theme-hope-content div[class*="language-"] pre'],Gt=!1,qe=new Map,pl=()=>{const{copy:e}=Yo({legacy:!0}),t=ve(ul),a=D(),n=Eo(),o=s=>{if(!s.hasAttribute("copy-code-registered")){const d=document.createElement("button");d.type="button",d.classList.add("copy-code-button"),d.innerHTML='
',d.setAttribute("aria-label",t.value.copy),d.setAttribute("data-copied",t.value.copied),s.parentElement&&s.parentElement.insertBefore(d,s),s.setAttribute("copy-code-registered","")}},l=()=>Te().then(()=>new Promise(s=>{setTimeout(()=>{vl.forEach(d=>{document.querySelectorAll(d).forEach(o)}),s()},sl)})),i=(s,d,c)=>{let{innerText:u=""}=d;/language-(shellscript|shell|bash|sh|zsh)/.test(s.classList.toString())&&(u=u.replace(/^ *(\$|>) /gm,"")),e(u).then(()=>{c.classList.add("copied"),clearTimeout(qe.get(c));const v=setTimeout(()=>{c.classList.remove("copied"),c.blur(),qe.delete(c)},cl);qe.set(c,v)})};R(()=>{(!n.value||Gt)&&l(),N("click",s=>{const d=s.target;if(d.matches('div[class*="language-"] > button.copy')){const c=d.parentElement,u=d.nextElementSibling;u&&i(c,u,d)}else if(d.matches('div[class*="language-"] div.copy-icon')){const c=d.parentElement,u=c.parentElement,v=c.nextElementSibling;v&&i(u,v,c)}}),I(()=>a.value.path,()=>{(!n.value||Gt)&&l()})})};var ml=H({setup:()=>{pl()}});const We=vt("VUEPRESS_TAB_STORE",{});var hl=E({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},setup(e,{slots:t}){const a=k(e.active),n=k([]),o=()=>{if(e.tabId){const{title:c,id:u=c}=e.data[a.value];We.value[e.tabId]=u}},l=(c=a.value)=>{a.value=c{a.value=c>0?c-1:n.value.length-1,n.value[a.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),a.value=u):c.key==="ArrowRight"?(c.preventDefault(),l()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),o()},d=()=>{if(e.tabId){const c=e.data.findIndex(({title:u,id:v=u})=>We.value[e.tabId]===v);if(c!==-1)return c}return e.active};return R(()=>{a.value=d(),I(()=>We.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const v=e.data.findIndex(({title:h,id:f=h})=>f===c);v!==-1&&(a.value=v)}})}),()=>e.data.length?r("div",{class:"tab-list"},[r("div",{class:"tab-list-nav",role:"tablist"},e.data.map(({title:c},u)=>{const v=u===a.value;return r("button",{type:"button",ref:h=>{h&&(n.value[u]=h)},class:["tab-list-nav-item",{active:v}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":v,onClick:()=>{a.value=u,o()},onKeydown:h=>s(h,u)},c)})),e.data.map(({title:c,id:u=c},v)=>{var h;const f=v===a.value;return r("div",{class:["tab-item",{active:f}],id:`tab-${e.id}-${v}`,role:"tabpanel","aria-expanded":f},(h=t[`tab${v}`])==null?void 0:h.call(t,{title:c,value:u,isActive:f}))})]):null}});const fl=H({enhance:({app:e})=>{e.component("Tabs",hl)}});const gl=".theme-hope-content :not(a) > img:not([no-view])",_l={"/zh/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"},"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}},bl=800,yl={},wl='
',El=e=>F(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),Qa=e=>new Promise((t,a)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(Qa(e)),e.onerror=n=>a(n))}),kl=()=>{const{isSupported:e,toggle:t}=pt(),a=ve(_l),n=D();let o;const l=s=>{s.on("uiRegister",()=>{e&&s.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{t()}}),s.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(d,c)=>{d.setAttribute("download",""),d.setAttribute("target","_blank"),d.setAttribute("rel","noopener"),c.on("change",()=>{d.setAttribute("href",c.currSlide.data.src)})}}),s.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(d,c)=>{const u=[];let v=-1;for(let h=0;h{c.goTo(u.indexOf(w.target))},u.push(f),d.appendChild(f)}c.on("change",()=>{v>=0&&u[v].classList.remove("active"),u[c.currIndex].classList.add("active"),v=c.currIndex})}})})},i=()=>Promise.all([p(()=>import("./photoswipe.esm-36cd6c3c.js"),[]),Te().then(()=>new Promise(s=>setTimeout(s,bl)).then(()=>El(gl)))]).then(([{default:s},d])=>{const c=d.map(u=>({html:wl,element:u,msrc:u.src}));d.forEach((u,v)=>{const h=()=>{o=new s({preloaderDelay:0,showHideAnimationType:"zoom",...a.value,...yl,dataSource:c,index:v,closeOnVerticalDrag:!0,wheelToZoom:!1}),l(o),o.addFilter("thumbEl",()=>u),o.addFilter("placeholderSrc",()=>u.src),o.init()};u.style.cursor="zoom-in",u.addEventListener("click",()=>{h()}),u.addEventListener("keypress",({key:f})=>{f==="Enter"&&h()})}),d.forEach((u,v)=>{Qa(u).then(h=>{c.splice(v,1,h),o==null||o.refreshSlideContent(v)})})});R(()=>{N("wheel",()=>{o==null||o.close()}),i(),I(()=>n.value.path,()=>i())})};var Ll=H({setup:()=>{kl()}});function Tl(e){return{all:e=e||new Map,on:function(t,a){var n=e.get(t);n?n.push(a):e.set(t,[a])},off:function(t,a){var n=e.get(t);n&&(a?n.splice(n.indexOf(a)>>>0,1):e.set(t,[]))},emit:function(t,a){var n=e.get(t);n&&n.slice().map(function(o){o(a)}),(n=e.get("*"))&&n.slice().map(function(o){o(t,a)})}}}const Ya=Symbol(""),Ol=()=>{const e=J(Ya);if(!e)throw new Error("usePWAEvent() is called without provider.");return e},Al=async e=>{const{register:t}=await p(()=>import("./index-70769223.js"),[]);t(te("service-worker.js"),{ready(a){console.log("[PWA]: Service worker is active"),e.emit("ready",a)},registered(a){console.log("[PWA]: Service worker has been registered."),e.emit("registered",a)},cached(a){console.log("[PWA]: Content has been cached for offline usage"),e.emit("cached",a)},async updatefound(a){await navigator.serviceWorker.getRegistration()&&(console.log("[PWA]: New content is downloading."),e.emit("updatefound",a))},updated(a){console.log("[PWA]: New content is available, please refresh.");const n="service-worker-version",o=Number(localStorage.getItem(n)||0);localStorage.setItem(n,(o+1).toString()),localStorage.removeItem("manifest"),e.emit("updated",a)},offline(){console.log("[PWA]: No internet connection found. App is running in offline mode."),e.emit("offline")},error(a){console.log("[PWA]: Error during service worker registration:",a),e.emit("error",a)}})},Il=()=>{const e=Tl();tt(Ya,e),R(async()=>{var t;let a=!1;(t=navigator.serviceWorker)!=null&&t.controller&&navigator.serviceWorker.addEventListener("controllerchange",()=>{a||(a=!0,window.location.reload())}),await Al(e)})},Ja=()=>r(x,{name:"update"},()=>r("path",{d:"M949.949 146.25v255.826c0 21.981-13.989 35.97-35.97 35.97H658.154c-13.988 0-25.983-7.992-33.973-21.981-5.997-13.989-4-27.977 7.991-39.97l79.942-77.946c-55.954-51.973-121.918-77.955-199.863-77.955-37.975 0-75.95 8.002-113.924 21.99-37.975 15.985-67.948 37.976-91.934 63.957-25.982 23.987-47.973 53.96-63.957 91.934-29.983 73.955-29.983 153.895 0 227.85 15.984 37.976 37.975 67.947 63.957 91.934 23.986 25.982 53.959 47.973 91.934 63.956 37.974 13.989 75.95 21.991 113.924 21.991 45.967 0 87.942-9.998 127.913-29.982 41.976-17.99 75.951-45.967 101.931-83.943 7.993-4 11.994-5.995 13.989-5.995 5.997 0 9.998 1.994 13.988 5.995l77.958 77.946c3.989 4 5.986 7.993 5.986 11.994 0 1.994-1.996 5.995-3.99 11.994-43.973 51.962-93.941 91.934-151.9 117.914-53.958 25.983-115.92 39.972-185.874 39.972-61.961 0-119.921-11.984-169.89-33.973-57.96-25.985-105.923-57.963-139.896-93.943-35.98-33.972-67.958-81.936-93.94-139.897-45.967-101.93-45.967-237.846 0-339.777 25.982-57.96 57.96-105.923 93.94-139.896 33.973-35.98 81.936-67.958 139.896-93.94 49.968-21.99 107.928-33.974 169.89-33.974 55.963 0 109.923 9.988 161.885 29.973 53.97 21.99 101.933 51.963 139.908 89.938l73.954-73.944c9.987-9.998 23.987-13.988 39.971-8.002 13.988 8.002 21.98 19.995 21.98 33.984z"}));Ja.displayName="UpdateIcon";const Pl={"/zh/":{install:"安装",iOSInstall:"点击分享按钮然后点击“添加到主屏幕”",cancel:"取消",close:"关闭",prevImage:"上一张图片",nextImage:"下一张图片",desc:"详情",feature:"主要特色",explain:"该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。",hint:"发现新内容可用",update:"新内容已就绪"},"/en/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."},"/":{install:"Install",iOSInstall:"Tap the share button and then 'Add to Home Screen'",cancel:"Cancel",close:"Close",prevImage:"Previous Image",nextImage:"Next Image",desc:"Description",feature:"Key Features",explain:"This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system. ",hint:"New content found.",update:"New content is available."}};var Sl=E({name:"SWHintPopup",setup(e,{slots:t}){const a=ve(Pl),n=k(!1),o=()=>{n.value&&(window.location.reload(!0),n.value=!1)};return R(()=>{const l=Ol();l.on("updatefound",()=>{navigator.serviceWorker.getRegistration().then(i=>{i&&i.active&&(n.value=!0)})}),l.on("updated",()=>{n.value=!1})}),()=>r(se,{name:"popup"},()=>{var l;return((l=t.default)==null?void 0:l.call(t,{enabled:n.value,uninstall:o}))||(n.value?r("button",{type:"button",class:"sw-hint-popup",tabindex:0,onClick:()=>o()},[a.value.hint,r("span",{class:"icon-wrapper"},r(Ja))]):null)})}});const Dl=H({setup:()=>{Il()},rootComponents:[Sl]}),Xa=()=>{const e=D();return m(()=>e.value.readingTime??null)},Ke=typeof{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}}>"u"?null:{"/zh/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"},"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}},$l=(e,t)=>{const{minutes:a,words:n}=e,{less1Minute:o,word:l,time:i}=t;return{time:a<1?o:i.replace("$time",Math.round(a).toString()),words:l.replace("$word",n.toString())}},Kt={words:"",time:""},Rl=()=>Ke?ve(Ke):m(()=>null),xl=()=>{if(typeof Ke>"u")return m(()=>Kt);const e=Xa(),t=Rl();return m(()=>e.value&&t.value?$l(e.value,t.value):Kt)},le=()=>Ga(),$=()=>Qr(),Fe=()=>m(()=>!!le().value.pure);var Qt=E({name:"EmptyComponent",setup:()=>()=>null});const ft={"/zh/features/":["game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/zh/advanced/":["FAQ","exceptions","known-issue","mihoyo-risk-tip","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/zh/statements/":["update-log","bug-report","privacy-notice","tos"],"/en/features/":["game-launcher","wish-export","achievements","real-time-notes","character-data","hutao-API","develop-plan","character-wiki","weapon-wiki","mhy-account-switch","hutao-settings"],"/en/advanced/":["FAQ","exceptions","known-issue","mihoyo-risk-tip","get-stoken-cookie-from-the-third-party","Gacha-system-and-export-principal","uninstall"],"/en/statements/":["update-log","bug-report","privacy-notice","tos"],"/":[]},Za=e=>{const{icon:t="",color:a,size:n}=e,o={};return a&&(o.color=a),n&&(o.height=Number.isNaN(Number(n))?n:`${n}px`),ke(t)?r("img",{class:"icon",src:t,"no-view":"",style:o}):lt(t)?r("img",{class:"icon",src:te(t),"no-view":"",style:o}):r(q("FontIcon"),e)};Za.displayName="HopeIcon";var U=Za,Z=(e=>(e.type="y",e.title="t",e.shortTitle="s",e.icon="i",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e.index="I",e.order="O",e))(Z||{}),Cl=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(Cl||{});const ge=(e,t=!1)=>{const a=G(),{fullPath:n,meta:o,name:l}=st(a,encodeURI(e));return{text:!t&&o[Z.shortTitle]?o[Z.shortTitle]:o[Z.title]||e,link:l==="404"?e:n,...o[Z.icon]?{icon:o[Z.icon]}:{}}},zl=()=>{const e=G(),t=K();return a=>{if(a)if(lt(a))t.path!==a&&e.push(a);else if(ke(a)||va(a))window&&window.open(a);else{const n=t.path.slice(0,t.path.lastIndexOf("/"));e.push(`${n}/${encodeURI(a)}`)}}},en=()=>{const e=$(),t=C();return m(()=>{const{author:a}=t.value;return a?kt(a):a===!1?[]:kt(e.value.author,!1)})},Vl=()=>{const e=C();return m(()=>Lo(e.value.category).map(t=>({name:t,path:""})))},Nl=()=>{const e=C();return m(()=>To(e.value.tag).map(t=>({name:t,path:""})))},Ml=()=>{const e=C(),t=D();return m(()=>{const a=ko(e.value.date);if(a)return a;const{createdTime:n}=t.value.git||{};return n?new Date(n):null})},Bl=()=>{const e=$(),t=D(),a=C(),n=en(),o=Vl(),l=Nl(),i=Ml(),s=Xa(),d=xl(),c=m(()=>({author:n.value,category:o.value,date:i.value,localizedDate:t.value.localizedDate,tag:l.value,isOriginal:a.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:d.value,pageview:"pageview"in a.value?a.value.pageview:!0})),u=m(()=>"pageInfo"in a.value?a.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},He=()=>{const e=le(),t=k(!1),a=k(!1),n=()=>{t.value=window.innerWidth<=(e.value.mobileBreakPoint||719),a.value=window.innerWidth>=(e.value.pcBreakPoint||1440)};return R(()=>{n(),N("resize",n,!1),N("orientationchange",n,!1)}),{isMobile:t,isPC:a}},tn=Symbol(""),Ae=()=>{const e=J(tn);if(!e)throw new Error("useDarkmode() is called without provider.");return e},Fl=e=>{const t=le(),a=rr(),n=vt("vuepress-theme-hope-scheme","auto"),o=m(()=>t.value.darkmode||"switch"),l=m(()=>{const s=o.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?a.value:s==="toggle"?n.value==="dark":n.value==="dark"||n.value==="auto"&&a.value}),i=m(()=>{const s=o.value;return s==="switch"||s==="toggle"});e.provide(tn,{canToggle:i,config:o,isDarkmode:l,status:n}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>l.value}})},Hl=()=>{const{isDarkmode:e}=Ae(),t=(a=e.value)=>document.documentElement.setAttribute("data-theme",a?"dark":"light");R(()=>{I(e,t,{immediate:!0})})};var j=E({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],setup(e,{attrs:t,emit:a,slots:n}){const o=K(),l=ba(),i=ze(e,"config"),s=m(()=>ke(i.value.link)),d=m(()=>va(i.value.link)||Qn(i.value.link)),c=m(()=>d.value?void 0:i.value.target||(s.value?"_blank":void 0)),u=m(()=>c.value==="_blank"),v=m(()=>!s.value&&!d.value&&!u.value),h=m(()=>d.value?void 0:i.value.rel||(u.value?"noopener noreferrer":void 0)),f=m(()=>i.value.ariaLabel||i.value.text),w=m(()=>{if(e.exact)return!1;const y=ye(l.value.locales);return y.length?y.every(g=>g!==i.value.link):i.value.link!=="/"}),L=m(()=>v.value?i.value.activeMatch?new RegExp(i.value.activeMatch).test(o.path):w.value?Ee(o.path,i.value.link):o.path===i.value.link:!1);return()=>{var y,g,O;const{text:P,icon:V,link:M}=i.value;return v.value?r(re,{to:M,"aria-label":f.value,...t,class:["nav-link",{active:L.value},t.class],onFocusout:()=>a("focusout")},()=>{var S,_,T;return((S=n.default)==null?void 0:S.call(n))||[((_=n.before)==null?void 0:_.call(n))||r(U,{icon:V}),P,(T=n.after)==null?void 0:T.call(n)]}):r("a",{href:M,rel:h.value,target:c.value,"aria-label":f.value,...t,class:["nav-link",t.class],onFocusout:()=>a("focusout")},((y=n.default)==null?void 0:y.call(n))||[((g=n.before)==null?void 0:g.call(n))||r(U,{icon:V}),P,e.noExternalLinkIcon?null:r(Wa),(O=n.after)==null?void 0:O.call(n)])}}});const _e=(e,t,a=!1)=>"activeMatch"in t?new RegExp(t.activeMatch).test(e.path):it(e,t.link)?!0:t.children&&!a?t.children.some(n=>_e(e,n)):!1,an=(e,t)=>t.type==="group"?t.children.some(a=>a.type==="group"?an(e,a):a.type==="page"&&_e(e,a,!0))||"prefix"in t&&it(e,t.prefix):!1,nn=(e,t)=>F(e.link)?r(j,{...t,config:e}):r("p",t,[r(U,{icon:e.icon}),e.text]),on=e=>{const t=K();return e?r("ul",{class:"sidebar-sub-headers"},e.map(a=>{const n=_e(t,a,!0);return r("li",{class:"sidebar-sub-header"},[nn(a,{class:["sidebar-link","heading",{active:n}]}),on(a.children)])})):null},Ue=(e="",t="")=>lt(t)?t:`${Yn(e)}${t}`,jl=(e,t)=>{const a=D();return{type:"heading",text:e.title,link:`${a.value.path}#${e.slug}`,children:gt(e.children,t)}},gt=(e,t)=>t>0?e.map(a=>jl(a,t-1)):[],rn=e=>{const t=D();return gt(t.value.headers,e)},Qe=(e,t,a="")=>{const n=D(),o=(l,i=a)=>{var s;const d=F(l)?ge(Ue(i,l)):l.link?{...l,...Re(l.link)?{}:{link:ge(Ue(i,l.link)).link}}:l;if("children"in d){const c=Ue(i,d.prefix),u=d.children==="structure"?ft[c]:d.children;return{type:"group",...d,prefix:c,children:u.map(v=>o(v,c))}}return{type:"page",...d,children:d.link===n.value.path?gt(((s=n.value.headers[0])==null?void 0:s.level)===1?n.value.headers[0].children:n.value.headers,t):[]}};return e.map(l=>o(l))},ql=(e,t)=>{const a=D(),n=ye(e).sort((o,l)=>l.length-o.length);for(const o of n)if(Ee(decodeURI(a.value.path),o)){const l=e[o];return l?Qe(l==="structure"?ft[o]:l==="heading"?rn(t):l,t,o):[]}return console.warn(`${a.value.path} is missing sidebar config.`),[]},Wl=()=>{const e=ae(),t=C(),a=$(),n=t.value.home?!1:t.value.sidebar??a.value.sidebar??"structure",o=t.value.headerDepth??a.value.headerDepth??2;return n===!1?[]:n==="heading"?rn(o):n==="structure"?Qe(ft[e.value],o,e.value):Ce(n)?Qe(n,o):at(n)?ql(n,o):[]},ln=Symbol(""),Ul=()=>{const e=m(()=>Wl());tt(ln,e)},_t=()=>{const e=J(ln);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var Gl=E({name:"PageFooter",setup(){const e=C(),t=$(),a=en(),n=m(()=>{const{copyright:i,footer:s}=e.value;return s!==!1&&!!(i||s||t.value.displayFooter)}),o=m(()=>{const{footer:i}=e.value;return i===!1?!1:F(i)?i:t.value.footer||""}),l=m(()=>"copyright"in e.value?e.value.copyright:"copyright"in t.value?t.value.copyright:a.value.length?`Copyright © ${new Date().getFullYear()} ${a.value[0].name}`:!1);return()=>n.value?r("footer",{class:"footer-wrapper"},[o.value?r("div",{class:"footer",innerHTML:o.value}):null,l.value?r("div",{class:"copyright",innerHTML:l.value}):null]):null}}),sn=E({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},setup(e,{slots:t}){const a=D(),n=ze(e,"config"),o=m(()=>n.value.ariaLabel||n.value.text),l=k(!1);I(()=>a.value.path,()=>{l.value=!1});const i=s=>{s.detail===0&&(l.value=!l.value)};return()=>{var s;return r("div",{class:["dropdown-wrapper",{open:l.value}]},[r("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:i},[((s=t.title)==null?void 0:s.call(t))||r("span",{class:"title"},[r(U,{icon:n.value.icon}),e.config.text]),r("span",{class:"arrow"}),r("ul",{class:"nav-dropdown"},n.value.children.map((d,c)=>{const u=c===n.value.children.length-1;return r("li",{class:"dropdown-item"},"children"in d?[r("h4",{class:"dropdown-subtitle"},d.link?r(j,{config:d,onFocusout:()=>{d.children.length===0&&u&&(l.value=!1)}}):r("span",d.text)),r("ul",{class:"dropdown-subitem-wrapper"},d.children.map((v,h)=>r("li",{class:"dropdown-subitem"},r(j,{config:v,onFocusout:()=>{h===d.children.length-1&&u&&(l.value=!1)}}))))]:r(j,{config:d,onFocusout:()=>{u&&(l.value=!1)}}))}))])])}}});const cn=()=>r(x,{name:"i18n"},()=>[r("path",{d:"M379.392 460.8 494.08 575.488l-42.496 102.4L307.2 532.48 138.24 701.44l-71.68-72.704L234.496 460.8l-45.056-45.056c-27.136-27.136-51.2-66.56-66.56-108.544h112.64c7.68 14.336 16.896 27.136 26.112 35.84l45.568 46.08 45.056-45.056C382.976 312.32 409.6 247.808 409.6 204.8H0V102.4h256V0h102.4v102.4h256v102.4H512c0 70.144-37.888 161.28-87.04 210.944L378.88 460.8zM576 870.4 512 1024H409.6l256-614.4H768l256 614.4H921.6l-64-153.6H576zM618.496 768h196.608L716.8 532.48 618.496 768z"})]);cn.displayName="I18nIcon";const un=(e,t="")=>F(e)?ge(`${t}${e}`):"children"in e?{...e,...e.link&&!Re(e.link)?ge(`${t}${e.link}`):{},children:e.children.map(a=>un(a,`${t}${e.prefix||""}`))}:{...e,link:Re(e.link)?e.link:ge(`${t}${e.link}`).link},dn=()=>m(()=>($().value.navbar||[]).map(e=>un(e))),Kl=()=>{const e=G(),t=K(),a=ae(),n=Me(),o=le(),l=$();return m(()=>{const i=ye(n.value.locales);if(i.length<2)return null;const{path:s,fullPath:d}=e.currentRoute.value,{navbarLocales:c}=l.value;return{text:"",ariaLabel:c==null?void 0:c.selectLangAriaLabel,children:[...i.map(u=>{var v,h,f;const w=((v=n.value.locales)==null?void 0:v[u])??{},L=((h=o.value.locales)==null?void 0:h[u])??{},y=w.lang||"",g=((f=L.navbarLocales)==null?void 0:f.langName)??y;let O;if(y===n.value.lang)O=s;else{const P=s.replace(a.value,u);O=e.getRoutes().some(V=>V.path===P)?d.replace(s,P):L.home??u}return{text:g,link:O}}),...rt(o.value.extraLocales||{}).map(([u,v])=>({text:u,link:v.replace(":route",t.path.replace(a.value,""))}))]}})},Ql=()=>{const e=$(),t=m(()=>e.value.repo||null),a=m(()=>t.value?Ao(t.value):null),n=m(()=>t.value?Ca(t.value):null),o=m(()=>a.value?e.value.repoLabel??(n.value===null?"Source":n.value):null);return m(()=>!a.value||!o.value||e.value.repoDisplay===!1?null:{type:n.value||"Source",label:o.value,link:a.value})};var Yl=E({name:"LanguageDropdown",setup(){const e=Kl();return()=>e.value?r("div",{class:"nav-item"},r(sn,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return r(cn,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),Jl=E({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=D(),a=ze(e,"config"),n=m(()=>a.value.ariaLabel||a.value.text),o=k(!1);I(()=>t.value.path,()=>{o.value=!1});const l=(i,s)=>s[s.length-1]===i;return()=>[r("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":n.value,onClick:()=>{o.value=!o.value}},[r("span",{class:"title"},[r(U,{icon:a.value.icon}),e.config.text]),r("span",{class:["arrow",o.value?"down":"end"]})]),r("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},a.value.children.map(i=>r("li",{class:"dropdown-item"},"children"in i?[r("h4",{class:"dropdown-subtitle"},i.link?r(j,{config:i,onFocusout:()=>{l(i,a.value.children)&&i.children.length===0&&(o.value=!1)}}):r("span",i.text)),r("ul",{class:"dropdown-subitem-wrapper"},i.children.map(s=>r("li",{class:"dropdown-subitem"},r(j,{config:s,onFocusout:()=>{l(s,i.children)&&l(i,a.value.children)&&(o.value=!1)}}))))]:r(j,{config:i,onFocusout:()=>{l(i,a.value.children)&&(o.value=!1)}}))))]}}),Xl=E({name:"NavScreenLinks",setup(){const e=dn();return()=>e.value.length?r("nav",{class:"nav-screen-links"},e.value.map(t=>r("div",{class:"navbar-links-item"},"children"in t?r(Jl,{config:t}):r(j,{config:t})))):null}});const vn=()=>r(x,{name:"dark"},()=>r("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));vn.displayName="DarkIcon";const pn=()=>r(x,{name:"light"},()=>r("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));pn.displayName="LightIcon";const mn=()=>r(x,{name:"auto"},()=>r("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));mn.displayName="AutoIcon";const hn=()=>r(x,{name:"enter-fullscreen"},()=>r("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));hn.displayName="EnterFullScreenIcon";const fn=()=>r(x,{name:"cancel-fullscreen"},()=>r("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));fn.displayName="CancelFullScreenIcon";const gn=()=>r(x,{name:"outlook"},()=>[r("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);gn.displayName="OutlookIcon";var _n=E({name:"AppearanceSwitch",setup(){const{config:e,status:t}=Ae(),a=()=>{e.value==="switch"?t.value={light:"dark",dark:"auto",auto:"light"}[t.value]:t.value=t.value==="light"?"dark":"light"};return()=>r("button",{type:"button",id:"appearance-switch",onClick:()=>a()},[r(mn,{style:{display:t.value==="auto"?"block":"none"}}),r(vn,{style:{display:t.value==="dark"?"block":"none"}}),r(pn,{style:{display:t.value==="light"?"block":"none"}})])}}),Zl=E({name:"AppearanceMode",setup(){const e=$(),{canToggle:t}=Ae(),a=m(()=>e.value.outlookLocales.darkmode);return()=>t.value?r("div",{class:"appearance-wrapper"},[r("label",{class:"appearance-title",for:"appearance-switch"},a.value),r(_n)]):null}}),ei=E({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(a="")=>{const n=document.documentElement.classList,o=ye(e.themeColor).map(l=>`theme-${l}`);if(!a){localStorage.removeItem("theme"),n.remove(...o);return}n.remove(...o.filter(l=>l!==`theme-${a}`)),n.add(`theme-${a}`),localStorage.setItem("theme",a)};return R(()=>{const a=localStorage.getItem("theme");a&&t(a)}),()=>r("ul",{id:"theme-color-picker"},[r("li",r("span",{class:"theme-color",onClick:()=>t()})),rt(e.themeColor).map(([a,n])=>r("li",r("span",{style:{background:n},onClick:()=>t(a)})))])}}),ti=E({name:"ThemeColor",setup(){const e=le(),t=$(),a=m(()=>t.value.outlookLocales.themeColor),n=m(()=>{const{themeColor:o}=e.value;return o===!1?null:o});return()=>n.value?r("div",{class:"theme-color-wrapper"},[r("label",{class:"theme-color-title",for:"theme-color-picker"},a.value),r(ei,{themeColor:n.value})]):null}}),bn=E({name:"ToggleFullScreenButton",setup(){const e=$(),{isSupported:t,isFullscreen:a,toggle:n}=pt(),o=m(()=>e.value.outlookLocales.fullscreen);return()=>t?r("div",{class:"full-screen-wrapper"},[r("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),r("button",{type:"button",class:"full-screen",id:"full-screen-switch",ariaPressed:a.value,onClick:()=>n()},a.value?r(fn):r(hn))]):null}}),yn=E({name:"OutlookSettings",setup(){const e=le(),t=Fe(),a=m(()=>!t.value&&!!e.value.themeColor),n=m(()=>!t.value&&e.value.fullscreen);return()=>r(Be,()=>[a.value?r(ti):null,r(Zl),n.value?r(bn):null])}}),ai=E({name:"NavScreen",props:{show:Boolean},emits:["close"],setup(e,{emit:t,slots:a}){const n=D(),{isMobile:o}=He(),l=k(),i=mt(l);return R(()=>{l.value=document.body,I(o,s=>{!s&&e.show&&(i.value=!1,t("close"))}),I(()=>n.value.path,()=>{i.value=!1,t("close")})}),Ve(()=>{i.value=!1}),()=>r(se,{name:"fade",onEnter:()=>{i.value=!0},onAfterLeave:()=>{i.value=!1}},()=>{var s,d;return e.show?r("div",{id:"nav-screen"},r("div",{class:"container"},[(s=a.before)==null?void 0:s.call(a),r(Xl),r("div",{class:"outlook-wrapper"},r(yn)),(d=a.after)==null?void 0:d.call(a)])):null})}}),ni=E({name:"NavbarBrand",setup(){const e=ae(),t=Me(),a=$(),n=m(()=>a.value.home||e.value),o=m(()=>t.value.title),l=m(()=>a.value.logo?te(a.value.logo):null),i=m(()=>a.value.logoDark?te(a.value.logoDark):null);return()=>r(re,{to:n.value,class:"brand"},()=>[l.value?r("img",{class:["logo",{light:!!i.value}],src:l.value,alt:o.value}):null,i.value?r("img",{class:["logo dark"],src:i.value,alt:o.value}):null,o.value?r("span",{class:["site-name",{"hide-in-pad":l.value&&a.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),oi=E({name:"NavbarLinks",setup(){const e=dn();return()=>e.value.length?r("nav",{class:"nav-links"},e.value.map(t=>r("div",{class:"nav-item hide-in-mobile"},"children"in t?r(sn,{config:t}):r(j,{config:t})))):null}}),ri=E({name:"RepoLink",components:{BitbucketIcon:Aa,GiteeIcon:Oa,GitHubIcon:La,GitLabIcon:Ta,SourceIcon:Ia},setup(){const e=Ql();return()=>e.value?r("div",{class:"nav-item"},r("a",{class:"repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},r(q(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const wn=({active:e=!1},{emit:t})=>r("button",{type:"button",class:["toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},r("span",{class:"button-container"},[r("span",{class:"button-top"}),r("span",{class:"button-middle"}),r("span",{class:"button-bottom"})]));wn.displayName="ToggleNavbarButton";var li=wn;const Ye=(e,{emit:t})=>r("button",{type:"button",class:"toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},r("span",{class:"icon"}));Ye.displayName="ToggleSidebarButton",Ye.emits=["toggle"];var ii=Ye,si=E({name:"OutlookButton",setup(){const{isSupported:e}=pt(),t=le(),a=Fe(),n=D(),{canToggle:o}=Ae(),l=k(!1),i=m(()=>!a.value&&!!t.value.themeColor),s=m(()=>!a.value&&t.value.fullscreen&&e);return I(()=>n.value.path,()=>{l.value=!1}),()=>o.value||s.value||i.value?r("div",{class:"nav-item hide-in-mobile"},o.value&&!s.value&&!i.value?r(_n):s.value&&!o.value&&!i.value?r(bn):r("button",{type:"button",class:["outlook-button",{open:l.value}],tabindex:"-1","aria-hidden":!0},[r(gn),r("div",{class:"outlook-dropdown"},r(yn))])):null}}),ci=E({name:"NavBar",emits:["toggleSidebar"],setup(e,{emit:t,slots:a}){const n=$(),{isMobile:o}=He(),l=k(!1),i=m(()=>{const{navbarAutoHide:u="mobile"}=n.value;return u!=="none"&&(u==="always"||o.value)}),s=m(()=>n.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),d={Brand:ni,Language:Yl,Links:oi,Repo:ri,Outlook:si,Search:Y("Docsearch")?q("Docsearch"):Y("SearchBox")?q("SearchBox"):Qt},c=u=>d[u]??(Y(u)?q(u):Qt);return()=>{var u,v,h,f,w,L;return[r("header",{class:["navbar",{"auto-hide":i.value,"hide-icon":n.value.navbarIcon===!1}],id:"navbar"},[r("div",{class:"navbar-start"},[r(ii,{onToggle:()=>{l.value&&(l.value=!1),t("toggleSidebar")}}),(u=a.startBefore)==null?void 0:u.call(a),(s.value.start||[]).map(y=>r(c(y))),(v=a.startAfter)==null?void 0:v.call(a)]),r("div",{class:"navbar-center"},[(h=a.centerBefore)==null?void 0:h.call(a),(s.value.center||[]).map(y=>r(c(y))),(f=a.centerAfter)==null?void 0:f.call(a)]),r("div",{class:"navbar-end"},[(w=a.endBefore)==null?void 0:w.call(a),(s.value.end||[]).map(y=>r(c(y))),(L=a.endAfter)==null?void 0:L.call(a),r(li,{active:l.value,onToggle:()=>{l.value=!l.value}})])]),r(ai,{show:l.value,onClose:()=>{l.value=!1}},{before:()=>{var y;return(y=a.screenTop)==null?void 0:y.call(a)},after:()=>{var y;return(y=a.screenBottom)==null?void 0:y.call(a)}})]}}}),ui=E({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=K();return()=>[nn(e.config,{class:["sidebar-link",`sidebar-${e.config.type}`,{active:_e(t,e.config,!0)}],exact:!0}),on(e.config.children)]}}),di=E({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const a=K(),n=m(()=>_e(a,e.config)),o=m(()=>_e(a,e.config,!0));return()=>{const{collapsible:l,children:i=[],icon:s,prefix:d,link:c,text:u}=e.config;return r("section",{class:"sidebar-group"},[r(l?"button":"p",{class:["sidebar-heading",{clickable:l||c,exact:o.value,active:n.value}],...l?{type:"button",onClick:()=>t("toggle"),onKeydown:v=>{v.key==="Enter"&&t("toggle")}}:{}},[r(U,{icon:s}),c?r(j,{class:"title",config:{text:u,link:c},noExternalLinkIcon:!0}):r("span",{class:"title"},u),l?r("span",{class:["arrow",e.open?"down":"end"]}):null]),e.open||!l?r(En,{key:d,config:i}):null])}}}),En=E({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=K(),a=k(-1),n=o=>{a.value=o===a.value?-1:o};return I(()=>t.path,()=>{const o=e.config.findIndex(l=>an(t,l));a.value=o},{immediate:!0,flush:"post"}),()=>r("ul",{class:"sidebar-links"},e.config.map((o,l)=>r("li",o.type==="group"?r(di,{config:o,open:l===a.value,onToggle:()=>n(l)}):r(ui,{config:o}))))}}),vi=E({name:"SideBar",setup(e,{slots:t}){const a=K(),n=$(),o=_t(),l=k();return R(()=>{I(()=>a.hash,i=>{const s=document.querySelector(`.sidebar a.sidebar-link[href="${a.path}${i}"]`);if(!s)return;const{top:d,height:c}=l.value.getBoundingClientRect(),{top:u,height:v}=s.getBoundingClientRect();ud+c&&s.scrollIntoView(!1)})}),()=>{var i,s,d;return r("aside",{class:["sidebar",{"hide-icon":n.value.sidebarIcon===!1}],id:"sidebar",ref:l},[(i=t.top)==null?void 0:i.call(t),((s=t.default)==null?void 0:s.call(t))||r(En,{config:o.value}),(d=t.bottom)==null?void 0:d.call(t)])}}}),kn=E({name:"CommonWrapper",props:{noNavbar:Boolean,noSidebar:Boolean},setup(e,{slots:t}){const a=G(),n=D(),o=C(),l=$(),{isMobile:i,isPC:s}=He(),[d,c]=Ot(!1),[u,v]=Ot(!1),h=_t(),f=k(!1),w=m(()=>e.noNavbar||o.value.navbar===!1||l.value.navbar===!1?!1:!!(n.value.title||l.value.logo||l.value.repo||l.value.navbar)),L=m(()=>e.noSidebar?!1:o.value.sidebar!==!1&&h.value.length!==0&&!o.value.home),y={x:0,y:0},g=S=>{y.x=S.changedTouches[0].clientX,y.y=S.changedTouches[0].clientY},O=S=>{const _=S.changedTouches[0].clientX-y.x,T=S.changedTouches[0].clientY-y.y;Math.abs(_)>Math.abs(T)*1.5&&Math.abs(_)>40&&(_>0&&y.x<=80?c(!0):c(!1))},P=m(()=>o.value.home?!1:o.value.toc||l.value.toc!==!1&&o.value.toc!==!1),V=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return N("scroll",$o(()=>{const S=V();S<=58||S{S||c(!1)}),R(()=>{const S=mt(document.body);I(d,T=>{S.value=T});const _=a.afterEach(()=>{c(!1)});Ve(()=>{S.value=!1,_()})}),()=>r(Y("GlobalEncrypt")?q("GlobalEncrypt"):ka,()=>{var S;return r("div",{class:["theme-container",{"no-navbar":!w.value,"no-sidebar":!L.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":P.value,"hide-navbar":f.value,"sidebar-collapsed":!i.value&&!s.value&&u.value,"sidebar-open":i.value&&d.value},o.value.containerClass||""],onTouchStart:g,onTouchEnd:O},[w.value?r(ci,{onToggleSidebar:()=>c()},{startBefore:()=>{var _;return(_=t.navbarStartBefore)==null?void 0:_.call(t)},startAfter:()=>{var _;return(_=t.navbarStartAfter)==null?void 0:_.call(t)},centerBefore:()=>{var _;return(_=t.navbarCenterBefore)==null?void 0:_.call(t)},centerAfter:()=>{var _;return(_=t.navbarCenterAfter)==null?void 0:_.call(t)},endBefore:()=>{var _;return(_=t.navbarEndBefore)==null?void 0:_.call(t)},endAfter:()=>{var _;return(_=t.navbarEndAfter)==null?void 0:_.call(t)},screenTop:()=>{var _;return(_=t.navScreenTop)==null?void 0:_.call(t)},screenBottom:()=>{var _;return(_=t.navScreenBottom)==null?void 0:_.call(t)}}):null,r(se,{name:"fade"},()=>d.value?r("div",{class:"sidebar-mask",onClick:()=>c(!1)}):null),r(se,{name:"fade"},()=>i.value?null:r("div",{class:"toggle-sidebar-wrapper",onClick:()=>v()},r("span",{class:["arrow",u.value?"end":"start"]}))),r(vi,{},{...t.sidebar?{default:()=>{var _;return(_=t.sidebar)==null?void 0:_.call(t)}}:{},top:()=>{var _;return(_=t.sidebarTop)==null?void 0:_.call(t)},bottom:()=>{var _;return(_=t.sidebarBottom)==null?void 0:_.call(t)}}),(S=t.default)==null?void 0:S.call(t),r(Gl)])})}}),fe=E({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},setup(e,{slots:t}){const a=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},n=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>r(e.type==="single"?se:da,{name:"drop",appear:e.appear,onAppear:a,onAfterAppear:n,onEnter:a,onAfterEnter:n,onBeforeLeave:a},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}});const Je=({custom:e})=>r(wa,{class:["theme-hope-content",{custom:e}]});Je.displayName="MarkdownContent",Je.props={custom:Boolean};var Ln=Je;const Tn=()=>r(x,{name:"author"},()=>r("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Tn.displayName="AuthorIcon";const On=()=>r(x,{name:"calendar"},()=>r("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));On.displayName="CalendarIcon";const An=()=>r(x,{name:"category"},()=>r("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));An.displayName="CategoryIcon";const In=()=>r(x,{name:"eye"},()=>r("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));In.displayName="EyeIcon";const Pn=()=>r(x,{name:"fire"},()=>r("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));Pn.displayName="FireIcon";const Sn=()=>r(x,{name:"print"},()=>r("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Sn.displayName="PrintIcon";const Dn=()=>r(x,{name:"tag"},()=>r("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Dn.displayName="TagIcon";const $n=()=>r(x,{name:"timer"},()=>r("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));$n.displayName="TimerIcon";const Rn=()=>r(x,{name:"word"},()=>[r("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),r("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Rn.displayName="WordIcon";const ne=()=>{const e=$();return m(()=>e.value.metaLocales)};var pi=E({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=ne();return()=>e.author.length?r("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Tn),r("span",e.author.map(a=>a.url?r("a",{class:"page-author-item",href:a.url,target:"_blank",rel:"noopener noreferrer"},a.name):r("span",{class:"page-author-item"},a.name))),r("span",{property:"author",content:e.author.map(a=>a.name).join(", ")})]):null}}),mi=E({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=G(),a=D(),n=ne(),o=(l,i="")=>{i&&a.value.path!==i&&(l.preventDefault(),t.push(i))};return()=>e.category.length?r("span",{class:"page-category-info","aria-label":`${n.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(An),e.category.map(({name:l,path:i})=>r("span",{class:["page-category-item",{[`category${$a(l,9)}`]:!e.pure,clickable:i}],role:i?"navigation":"",onClick:s=>o(s,i)},l)),r("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),hi=E({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Ne(),a=ne();return()=>e.date?r("span",{class:"page-date-info","aria-label":`${a.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(On),r("span",r(Be,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),r("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),fi=E({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=ne();return()=>e.isOriginal?r("span",{class:"page-original-info"},t.value.origin):null}}),gi=E({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=K(),a=ne(),n=k(),o=k(0);return cr(n,()=>{const l=n.value.textContent;l&&!isNaN(Number(l))&&(o.value=Number(l))},{childList:!0}),()=>e.pageview?r("span",{class:"page-pageview-info","aria-label":`${a.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(o.value<1e3?In:Pn),r("span",{ref:n,class:"waline-pageview-count",id:"ArtalkPV","data-path":F(e.pageview)?e.pageview:te(t.path)},"...")]):null}}),_i=E({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ne(),a=m(()=>{if(!e.readingTime)return null;const{minutes:n}=e.readingTime;return n<1?"PT1M":`PT${Math.round(n)}M`});return()=>{var n,o;return(n=e.readingTimeLocale)!=null&&n.time?r("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r($n),r("span",(o=e.readingTimeLocale)==null?void 0:o.time),r("meta",{property:"timeRequired",content:a.value})]):null}}}),bi=E({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=G(),a=D(),n=ne(),o=(l,i="")=>{i&&a.value.path!==i&&(l.preventDefault(),t.push(i))};return()=>e.tag.length?r("span",{class:"page-tag-info","aria-label":`${n.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Dn),e.tag.map(({name:l,path:i})=>r("span",{class:["page-tag-item",{[`tag${$a(l,9)}`]:!e.pure,clickable:i}],role:i?"navigation":"",onClick:s=>o(s,i)},l)),r("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),yi=E({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=ne();return()=>{var a,n,o;return(a=e.readingTimeLocale)!=null&&a.words?r("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"down"}},[r(Rn),r("span",(n=e.readingTimeLocale)==null?void 0:n.words),r("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),wi=E({name:"PageInfo",components:{AuthorInfo:pi,CategoryInfo:mi,DateInfo:hi,OriginalInfo:fi,PageViewInfo:gi,ReadingTimeInfo:_i,TagInfo:bi,WordInfo:yi},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Fe();return()=>e.items?r("div",{class:"page-info"},e.items.map(a=>r(q(`${a}Info`),{...e.info,pure:t.value}))):null}}),Ei=E({name:"PrintButton",setup(){const e=le(),t=$();return()=>e.value.print===!1?null:r("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},r(Sn))}});const ki=({title:e,level:t,slug:a})=>r(re,{to:`#${a}`,class:["toc-link",`level${t}`]},()=>e),Xe=(e,t)=>{const a=K();return e.length&&t>0?r("ul",{class:"toc-list"},e.map(n=>{const o=Xe(n.children,t-1);return[r("li",{class:["toc-item",{active:it(a,`#${n.slug}`)}]},ki(n)),o?r("li",o):null]})):null};var Li=E({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},setup(e,{slots:t}){const a=K(),n=D(),o=ne(),l=k(),i=k("-1.7rem"),s=c=>{var u;(u=l.value)==null||u.scrollTo({top:c,behavior:"smooth"})},d=()=>{if(l.value){const c=document.querySelector(".toc-item.active");c?i.value=`${c.getBoundingClientRect().top-l.value.getBoundingClientRect().top+l.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return R(()=>{I(()=>a.hash,c=>{if(l.value){const u=document.querySelector(`#toc a.toc-link[href$="${c}"]`);if(!u)return;const{top:v,height:h}=l.value.getBoundingClientRect(),{top:f,height:w}=u.getBoundingClientRect();fv+h&&s(l.value.scrollTop+f+w-v-h)}}),I(()=>a.fullPath,()=>d(),{flush:"post",immediate:!0})}),()=>{var c,u;const v=e.items.length?Xe(e.items,e.headerDepth):n.value.headers?Xe(n.value.headers,e.headerDepth):null;return v?r("div",{class:"toc-place-holder"},[r("aside",{id:"toc"},[(c=t.before)==null?void 0:c.call(t),r("div",{class:"toc-header"},[o.value.toc,r(Ei)]),r("div",{class:"toc-wrapper",ref:l},[v,r("div",{class:"toc-marker",style:{top:i.value}})]),(u=t.after)==null?void 0:u.call(t)])]):null}}}),xn=E({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=D(),a=$(),n=k(),o=({target:l})=>{const i=document.querySelector(l.hash);if(i){const s=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",s)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",s),i.focus(),window.scrollTo(0,0)}};return R(()=>{I(()=>t.value.path,()=>n.value.focus())}),()=>[r("span",{ref:n,tabindex:"-1"}),r("a",{href:`#${e.content}`,class:"skip-link sr-only",onClick:o},a.value.routeLocales.skipToContent)]}});let Ge=null,De=null;const Ti={wait:()=>Ge,pending:()=>{Ge=new Promise(e=>De=e)},resolve:()=>{De==null||De(),Ge=null,De=null}},Cn=()=>Ti;var Oi=E({name:"FadeSlideY",setup(e,{slots:t}){const{resolve:a,pending:n}=Cn();return()=>r(se,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:a,onBeforeLeave:n},()=>{var o;return(o=t.default)==null?void 0:o.call(t)})}}),Ai=E({name:"FeaturePanel",props:{items:{type:Object,default:()=>[]},header:{type:String,default:""}},setup(e){return()=>r("div",{class:"feature-panel"},[e.header?r("h2",{class:"feature-header"},e.header):null,e.items.length?r("div",{class:"feature-wrapper"},e.items.map(t=>{const a=[r("h3",[r(U,{icon:t.icon}),r("span",{innerHTML:t.title})]),r("p",{innerHTML:t.details})];return t.link?Re(t.link)?r("a",{class:"feature-item link",href:t.link,role:"navigation","aria-label":t.title,target:"_blank"},a):r(re,{class:"feature-item link",to:t.link,role:"navigation","aria-label":t.title},()=>a):r("div",{class:"feature-item"},a)})):null])}}),Ii=E({name:"HeroInfo",setup(e,{slots:t}){const a=C(),n=Me(),o=m(()=>a.value.heroText===!1?!1:a.value.heroText||n.value.title||"Hello"),l=m(()=>a.value.tagline===!1?!1:a.value.tagline||n.value.description||"Welcome to your VuePress site"),i=m(()=>a.value.heroImage?te(a.value.heroImage):null),s=m(()=>a.value.heroImageDark?te(a.value.heroImageDark):null),d=m(()=>a.value.heroAlt||o.value||"hero"),c=m(()=>a.value.actions??[]);return()=>{var u,v;return r("header",{class:"hero-info-wrapper"},[((u=t.heroImage)==null?void 0:u.call(t))||r(fe,{appear:!0,type:"group"},()=>[i.value?r("img",{key:"light",class:{light:s.value},src:i.value,alt:d.value}):null,s.value?r("img",{key:"dark",class:"dark",src:s.value,alt:d.value}):null]),((v=t.heroInfo)==null?void 0:v.call(t))||r("div",{class:"hero-info"},[o.value?r(fe,{appear:!0,delay:.04},()=>r("h1",{id:"main-title"},o.value)):null,l.value?r(fe,{appear:!0,delay:.08},()=>r("p",{class:"description"},l.value)):null,c.value.length?r(fe,{appear:!0,delay:.12},()=>r("p",{class:"actions"},c.value.map(h=>r(j,{class:["action-button",h.type||"default"],config:h,noExternalLinkIcon:!0})))):null])])}}}),Pi=E({name:"HopePage",setup(e,{slots:t}){const a=Fe(),n=C(),o=m(()=>{const{features:l}=n.value;return Ce(l)?l.some(i=>!("items"in i))?[{items:l}]:l:[]});return()=>{var l,i,s;return r("main",{class:["home project",{pure:a.value}],id:"main-content","aria-labelledby":n.value.heroText===null?void 0:"main-title"},[(l=t.top)==null?void 0:l.call(t),r(Ii),o.value.map(({header:d="",items:c},u)=>r(fe,{appear:!0,delay:.16+u*.08},()=>r(Ai,{header:d,items:c}))),(i=t.center)==null?void 0:i.call(t),r(fe,{appear:!0,delay:.16+o.value.length*.08},()=>r(Ln)),(s=t.bottom)==null?void 0:s.call(t)])}}});const Si=(e,t)=>{const a=e.replace(t,"/").split("/"),n=[];let o=nt(t);return a.forEach((l,i)=>{i!==a.length-1?(o+=`${l}/`,n.push(o)):l!==""&&(o+=l,n.push(o))}),n};var Di=E({name:"BreadCrumb",setup(){const e=G(),t=D(),a=ae(),n=C(),o=$(),l=k([]),i=m(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&o.value.breadcrumb!==!1)&&l.value.length>1),s=m(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&o.value.breadcrumbIcon!==!1),d=()=>{const c=e.getRoutes(),u=Si(t.value.path,a.value).map(v=>{const h=c.find(f=>f.path===v);if(h){const{meta:f,path:w}=st(e,h.path),L=f[Z.shortTitle]||f[Z.title];if(L)return{title:L,icon:f[Z.icon],path:w}}return null}).filter(v=>v!==null);u.length>1&&(l.value=u)};return R(()=>{d(),I(()=>t.value.path,d)}),()=>r("nav",{class:["breadcrumb",{disable:!i.value}]},i.value?r("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},l.value.map((c,u)=>r("li",{class:{"is-active":l.value.length-1===u},property:"itemListElement",typeof:"ListItem"},[r(re,{to:c.path,property:"item",typeof:"WebPage"},()=>[s.value?r(U,{icon:c.icon}):null,r("span",{property:"name"},c.title||"Unknown")]),r("meta",{property:"position",content:u+1})]))):[])}});const Yt=e=>e===!1?!1:F(e)?ge(e,!0):at(e)?e:null,Ze=(e,t,a)=>{const n=e.findIndex(o=>o.link===t);if(n!==-1){const o=e[n+a];return o!=null&&o.link?o:null}for(const o of e)if(o.children){const l=Ze(o.children,t,a);if(l)return l}return null};var $i=E({name:"PageNav",setup(){const e=$(),t=C(),a=_t(),n=D(),o=zl(),l=m(()=>{const s=Yt(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:Ze(a.value,n.value.path,-1))}),i=m(()=>{const s=Yt(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:Ze(a.value,n.value.path,1))});return N("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?i.value&&(o(i.value.link),s.preventDefault()):s.key==="ArrowLeft"&&l.value&&(o(l.value.link),s.preventDefault()))}),()=>l.value||i.value?r("nav",{class:"page-nav"},[l.value?r(j,{class:"prev",config:l.value},()=>{var s,d;return[r("div",{class:"hint"},[r("span",{class:"arrow start"}),e.value.metaLocales.prev]),r("div",{class:"link"},[r(U,{icon:(s=l.value)==null?void 0:s.icon}),(d=l.value)==null?void 0:d.text])]}):null,i.value?r(j,{class:"next",config:i.value},()=>{var s,d;return[r("div",{class:"hint"},[e.value.metaLocales.next,r("span",{class:"arrow end"})]),r("div",{class:"link"},[(s=i.value)==null?void 0:s.text,r(U,{icon:(d=i.value)==null?void 0:d.icon})])]}):null]):null}});const Ri={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},xi=({docsRepo:e,docsBranch:t,docsDir:a,filePathRelative:n,editLinkPattern:o})=>{if(!n)return null;const l=Ca(e);let i;return o?i=o:l!==null&&(i=Ri[l]),i?i.replace(/:repo/,ke(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,sa(`${nt(a)}/${n}`)):null},Ci=()=>{const e=$(),t=D(),a=C();return m(()=>{const{repo:n,docsRepo:o=n,docsBranch:l="main",docsDir:i="",editLink:s,editLinkPattern:d=""}=e.value;if(!(a.value.editLink??s??!0)||!o)return null;const c=xi({docsRepo:o,docsBranch:l,docsDir:i,editLinkPattern:d,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},zi=()=>{const e=Me(),t=$(),a=D(),n=C();return m(()=>{var o,l;return!(n.value.lastUpdated??t.value.lastUpdated??!0)||!((o=a.value.git)!=null&&o.updatedTime)?null:new Date((l=a.value.git)==null?void 0:l.updatedTime).toLocaleString(e.value.lang)})},Vi=()=>{const e=$(),t=D(),a=C();return m(()=>{var n;return a.value.contributors??e.value.contributors??!0?((n=t.value.git)==null?void 0:n.contributors)??null:null})};var Ni=E({name:"PageTitle",setup(){const e=D(),t=C(),a=$(),{info:n,items:o}=Bl();return()=>r("div",{class:"page-title"},[r("h1",[a.value.titleIcon===!1?null:r(U,{icon:t.value.icon}),e.value.title]),r(wi,{info:n.value,...o.value===null?{}:{items:o.value}}),r("hr")])}});const zn=()=>r(x,{name:"edit"},()=>[r("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),r("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);zn.displayName="EditIcon";var Mi=E({name:"PageMeta",setup(){const e=$(),t=Ci(),a=zi(),n=Vi();return()=>{const{metaLocales:o}=e.value;return r("footer",{class:"page-meta"},[t.value?r("div",{class:"meta-item edit-link"},r(j,{class:"label",config:t.value},{before:()=>r(zn)})):null,r("div",{class:"meta-item git-info"},[a.value?r("div",{class:"update-time"},[r("span",{class:"label"},`${o.lastUpdated}: `),r(Be,()=>r("span",{class:"info"},a.value))]):null,n.value&&n.value.length?r("div",{class:"contributors"},[r("span",{class:"label"},`${o.contributors}: `),n.value.map(({email:l,name:i},s)=>[r("span",{class:"contributor",title:`email: ${l}`},i),s!==n.value.length-1?",":""])]):null])])}}}),Bi=E({name:"NormalPage",setup(e,{slots:t}){const a=C(),n=D(),{isDarkmode:o}=Ae(),l=$(),i=m(()=>a.value.toc||a.value.toc!==!1&&l.value.toc!==!1);return()=>r("main",{class:"page",id:"main-content"},r(Y("LocalEncrypt")?q("LocalEncrypt"):ka,()=>{var s,d,c,u;return[(s=t.top)==null?void 0:s.call(t),a.value.cover?r("img",{class:"page-cover",src:a.value.cover,alt:n.value.title,"no-view":""}):null,r(Di),r(Ni),i.value?r(Li,{headerDepth:a.value.headerDepth??l.value.headerDepth??2},{before:()=>{var v;return(v=t.tocBefore)==null?void 0:v.call(t)},after:()=>{var v;return(v=t.tocAfter)==null?void 0:v.call(t)}}):null,(d=t.contentBefore)==null?void 0:d.call(t),r(Ln),(c=t.contentAfter)==null?void 0:c.call(t),r(Mi),r($i),Y("CommentService")?r(q("CommentService"),{darkmode:o.value}):null,(u=t.bottom)==null?void 0:u.call(t)]}))}}),Fi=E({name:"Layout",setup(){$();const e=D(),t=C(),{isMobile:a}=He(),n=m(()=>"none");return()=>[r(xn),r(kn,{},{default:()=>t.value.home?r(Pi):r(Oi,()=>r(Bi,{key:e.value.path})),...n.value!=="none"?{navScreenBottom:()=>r(q("BloggerInfo"))}:{},...!a.value&&n.value==="always"?{sidebar:()=>r(q("BloggerInfo"))}:{}})]}}),Hi=E({name:"NotFoundHint",setup(){const e=$(),t=()=>{const a=e.value.routeLocales.notFoundMsg;return a[Math.floor(Math.random()*a.length)]};return()=>r("div",{class:"not-found-hint"},[r("p",{class:"error-code"},"404"),r("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),r("p",{class:"error-hint"},t())])}}),ji=E({name:"NotFound",setup(e,{slots:t}){const a=ae(),n=$(),{navigate:o}=Jn({to:n.value.home??a.value});return()=>[r(xn),r(kn,{noSidebar:!0},()=>{var l;return r("main",{class:"page not-found",id:"main-content"},((l=t.default)==null?void 0:l.call(t))||[r(Hi),r("div",{class:"actions"},[r("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},n.value.routeLocales.back),r("button",{type:"button",class:"action-button",onClick:()=>o()},n.value.routeLocales.home)])])})]}});const qi=H({enhance:({app:e,router:t})=>{const{scrollBehavior:a}=t.options;t.options.scrollBehavior=async(...n)=>(await Cn().wait(),a(...n)),Fl(e),e.component("HopeIcon",U)},setup:()=>{Hl(),Ul()},layouts:{Layout:Fi,NotFound:ji}});var Jt;const Vn=typeof window<"u",Wi=e=>typeof e=="string",Ui=()=>{};Vn&&((Jt=window==null?void 0:window.navigator)!=null&&Jt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Nn(e){return typeof e=="function"?e():me(e)}function Gi(e){return e}function Ki(e){return ca()?(ua(e),!0):!1}function Qi(e){var t;const a=Nn(e);return(t=a==null?void 0:a.$el)!=null?t:a}const Yi=Vn?window:void 0;function Ji(...e){let t,a,n,o;if(Wi(e[0])||Array.isArray(e[0])?([a,n,o]=e,t=Yi):[t,a,n,o]=e,!t)return Ui;Array.isArray(a)||(a=[a]),Array.isArray(n)||(n=[n]);const l=[],i=()=>{l.forEach(u=>u()),l.length=0},s=(u,v,h,f)=>(u.addEventListener(v,h,f),()=>u.removeEventListener(v,h,f)),d=I(()=>[Qi(t),Nn(o)],([u,v])=>{i(),u&&l.push(...a.flatMap(h=>n.map(f=>s(u,h,f,v))))},{immediate:!0,flush:"post"}),c=()=>{d(),i()};return Ki(c),c}const Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zt="__vueuse_ssr_handlers__";Xt[Zt]=Xt[Zt]||{};var ea;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ea||(ea={}));var Xi=Object.defineProperty,ta=Object.getOwnPropertySymbols,Zi=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,aa=(e,t,a)=>t in e?Xi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ts=(e,t)=>{for(var a in t||(t={}))Zi.call(t,a)&&aa(e,a,t[a]);if(ta)for(var a of ta(t))es.call(t,a)&&aa(e,a,t[a]);return e};const as={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ts({linear:Gi},as);const ns=e=>{const t=Ji("keydown",a=>{a.key==="k"&&(a.ctrlKey||a.metaKey)&&(a.preventDefault(),e(),t())})},os=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,rs=()=>{const e=G();return{hitComponent:({hit:t,children:a})=>({type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:t.url,onClick:n=>{os(n)||(n.preventDefault(),e.push(yt(t.url,"/")))},children:a},__v:null}),navigator:{navigate:({itemUrl:t})=>{e.push(yt(t,"/"))}},transformSearchClient:t=>{const a=qa(t.search,500);return{...t,search:async(...n)=>a(...n)}}}},ls=(e=[],t)=>[`lang:${t}`,...Ce(e)?e:[e]],is=({buttonText:e="Search",buttonAriaLabel:t=e}={})=>``,ss=16,Mn=()=>{if(document.querySelector(".DocSearch-Modal"))return;const e=new Event("keydown");e.key="k",e.metaKey=!0,window.dispatchEvent(e),setTimeout(Mn,ss)},cs=e=>{const t="algolia-preconnect";(window.requestIdleCallback||setTimeout)(()=>{if(document.head.querySelector(`#${t}`))return;const n=document.createElement("link");n.id=t,n.rel="preconnect",n.href=`https://${e}-dsn.algolia.net`,n.crossOrigin="",document.head.appendChild(n)})},us={appId:"28CTGDOOQD",apiKey:"72d7a9a0f9f0466218ea19988886dce8",indexName:"hutao",locales:{"/zh/":{placeholder:"搜索文档",translations:{button:{buttonText:"搜索文档",buttonAriaLabel:"搜索文档"},modal:{searchBox:{resetButtonTitle:"清除查询条件",resetButtonAriaLabel:"清除查询条件",cancelButtonText:"取消",cancelButtonAriaLabel:"取消"},startScreen:{recentSearchesTitle:"搜索历史",noRecentSearchesText:"没有搜索历史",saveRecentSearchButtonTitle:"保存至搜索历史",removeRecentSearchButtonTitle:"从搜索历史中移除",favoriteSearchesTitle:"收藏",removeFavoriteSearchButtonTitle:"从收藏中移除"},errorScreen:{titleText:"无法获取结果",helpText:"你可能需要检查你的网络连接"},footer:{selectText:"选择",navigateText:"切换",closeText:"关闭",searchByText:"搜索提供者"},noResultsScreen:{noResultsText:"无法找到相关结果",suggestedQueryText:"你可以尝试查询",reportMissingResultsText:"你认为该查询应该有结果?",reportMissingResultsLinkText:"点击反馈"}}}},"/en/":{placeholder:"Search documents",translations:{button:{buttonText:"Search documents"}}}}};p(()=>import("./style-e9220a04.js"),[]),p(()=>import("./docsearch-1d421ddb.js"),[]);const ds=E({name:"Docsearch",props:{containerId:{type:String,required:!1,default:"docsearch-container"},options:{type:Object,required:!1,default:()=>us}},setup(e){const t=rs(),a=Ne(),n=ae(),o=k(!1),l=k(!1),i=m(()=>{var c;return{...e.options,...(c=e.options.locales)==null?void 0:c[n.value]}}),s=async()=>{var u;const{default:c}=await p(()=>import("./index-ade63bb5.js"),[]);c({...t,...i.value,container:`#${e.containerId}`,searchParameters:{...i.value.searchParameters,facetFilters:ls((u=i.value.searchParameters)==null?void 0:u.facetFilters,a.value)}}),o.value=!0},d=()=>{l.value||o.value||(l.value=!0,s(),Mn(),I(n,s))};return ns(d),R(()=>cs(i.value.appId)),()=>{var c;return[r("div",{id:e.containerId,style:{display:o.value?"block":"none"}}),o.value?null:r("div",{onClick:d,innerHTML:is((c=i.value.translations)==null?void 0:c.button)})]}}}),vs=H({enhance({app:e}){e.component("Docsearch",ds)}}),ps=e=>{if(window.dataLayer&&window.gtag)return;const t=document.createElement("script");t.src=`https://www.googletagmanager.com/gtag/js?id=${e.id}`,t.async=!0,document.head.appendChild(t),window.dataLayer=window.dataLayer||[],window.gtag=function(){dataLayer.push(arguments)},gtag("js",new Date),e.debug?gtag("config",e.id,{debug_mode:!0}):gtag("config",e.id)},ms={id:"G-F3LFJCE3RM"},hs=H({enhance(){ps(ms)}});const Bn={autoLocale:!0,switchLocale:"modal",localeConfig:{0:["/en/",["en-US","en-UK","en"]],1:["/zh/",["zh-CN","zh-TW","zh"]],"/zh/":["zh-CN"],"/en/":["en-US"]},defaultLocale:"/en/",localeFallback:!0,defaultBehavior:"defaultLocale"},na=rt(Bn.localeConfig),oa={"/zh/":{name:"简体中文",hint:"您的首选语言是 $1,是否切换到该语言?",switch:"切换到 $1",cancel:"取消"},"/en/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"},"/":{name:"English",hint:"Your primary language is $1, do you want to switch to it?",switch:"Switch to $1",cancel:"Cancel"}},{switchLocale:ra}=Bn,la=wr("VUEPRESS_REDIRECT_LOCALES",{});var fs=E({name:"LanguageSwitch",setup(){const e=br(),t=K(),a=G(),n=ae(),o=k(!1),l=m(()=>{if(na.some(([c])=>n.value===c)){for(const c of e.value)for(const[u,v]of na)if(v.includes(c))return u===n.value?null:{lang:c,localePath:u}}return null}),i=m(()=>{if(l.value){const{lang:c,localePath:u}=l.value,v=[oa[n.value],oa[u]];return{hint:v.map(({hint:h})=>h.replace("$1",c)),switch:v.map(({switch:h})=>h.replace("$1",c)).join(" / "),cancel:v.map(({cancel:h})=>h).join(" / ")}}return null}),s=m(()=>l.value?t.path.replace(n.value,l.value.localePath):null),d=()=>{la.value[n.value]=!0,o.value=!1};return R(()=>{const c=mt(document.body);la.value[n.value]||(l.value?ra==="direct"?a.replace(s.value):ra==="modal"?o.value=!0:o.value=!1:o.value=!1),I(o,u=>{c.value=u},{immediate:!0}),Ve(()=>{c.value=!1})}),()=>o.value?r(da,{name:"lang-modal-fade"},()=>{var c,u,v;return o.value?[r("div",{key:"mask",class:"lang-modal-mask"}),r("div",{key:"popup",class:"lang-modal-wrapper"},[r("div",{class:"lang-modal-content"},(c=i.value)==null?void 0:c.hint.map(h=>r("p",h))),r("button",{type:"button",class:"lang-modal-action primary",onClick:()=>{d(),a.replace(s.value)}},(u=i.value)==null?void 0:u.switch),r("button",{type:"button",class:"lang-modal-action",onClick:()=>d()},(v=i.value)==null?void 0:v.cancel)])]:[]}):null}}),gs=H({setup(){},rootComponents:[fs]});const $e=[fo,Dr,Vr,Mr,Hr,Ur,Jr,il,ml,fl,Ll,Dl,qi,vs,hs,gs],_s=[["v-2d0a870d","/en/",{y:"h",t:"Home",i:"home"},["/en/index.html","/en/README.md"]],["v-082946dd","/en/community.html",{y:"a",t:"Join Community"},["/en/community","/en/community.md"]],["v-038e810e","/en/i18n.html",{y:"a",t:"Localization"},["/en/i18n","/en/i18n.md"]],["v-586858ed","/en/project.html",{y:"a",t:"Project"},["/en/project","/en/project.md"]],["v-0c01f6a4","/en/quick-start.html",{y:"a",t:"Quick Start"},["/en/quick-start","/en/quick-start.md"]],["v-23b9870a","/en/side-load.html",{y:"a",t:""},["/en/side-load","/en/side-load.md"]],["v-7d29d7d8","/en/star-request.html",{y:"a",t:""},["/en/star-request","/en/star-request.md"]],["v-2d0ad528","/zh/",{y:"h",t:"首页",i:"home"},["/zh/index.html","/zh/README.md"]],["v-5cad49b8","/zh/community.html",{y:"a",t:"加入用户社区"},["/zh/community","/zh/community.md"]],["v-27c4e153","/zh/i18n.html",{y:"a",t:"国际化支持"},["/zh/i18n","/zh/i18n.md"]],["v-6c355688","/zh/project.html",{y:"a",t:"项目说明"},["/zh/project","/zh/project.md"]],["v-4f90aebf","/zh/quick-start.html",{y:"a",t:"快速开始"},["/zh/quick-start","/zh/quick-start.md"]],["v-783d89e5","/zh/side-load.html",{y:"a",t:""},["/zh/side-load","/zh/side-load.md"]],["v-a91bb9c6","/zh/star-request.html",{y:"a",t:""},["/zh/star-request","/zh/star-request.md"]],["v-1bd4ef83","/en/advanced/FAQ.html",{y:"a",t:"常见问题",i:"ask",O:1},["/en/advanced/FAQ","/en/advanced/FAQ.md"]],["v-5c3f740a","/en/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/en/advanced/Gacha-system-and-export-principal","/en/advanced/Gacha-system-and-export-principal.md"]],["v-5f449840","/en/advanced/",{y:"a",t:"Advanced",I:0},["/en/advanced/index.html","/en/advanced/README.md"]],["v-1a028d16","/en/advanced/exceptions.html",{y:"a",t:"Common Program Exceptions",i:"debug",O:2},["/en/advanced/exceptions","/en/advanced/exceptions.md"]],["v-bd668802","/en/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/en/advanced/get-stoken-cookie-from-the-third-party","/en/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-51647c4a","/en/advanced/known-issue.html",{y:"a",t:"已知问题",i:"tool",O:3},["/en/advanced/known-issue","/en/advanced/known-issue.md"]],["v-031e5d68","/en/advanced/mihoyo-risk-tip.html",{y:"a",t:"账号风险及异常提示",i:"warn",O:4},["/en/advanced/mihoyo-risk-tip","/en/advanced/mihoyo-risk-tip.md"]],["v-bbae7dd2","/en/advanced/uninstall.html",{y:"a",t:"Uninstall Snap Hutao",i:"delete",O:8},["/en/advanced/uninstall","/en/advanced/uninstall.md"]],["v-30f089b6","/en/features/",{y:"a",t:"Features",I:0},["/en/features/index.html","/en/features/README.md"]],["v-699a13b0","/en/features/achievements.html",{y:"a",t:"Achievement Management",O:3},["/en/features/achievements","/en/features/achievements.md"]],["v-f3692af4","/en/features/character-data.html",{y:"a",t:"My Characters",O:5},["/en/features/character-data","/en/features/character-data.md"]],["v-10108380","/en/features/character-wiki.html",{y:"a",t:"Character WIKI",O:8},["/en/features/character-wiki","/en/features/character-wiki.md"]],["v-83f6294a","/en/features/develop-plan.html",{y:"a",t:"Development Plan",O:7},["/en/features/develop-plan","/en/features/develop-plan.md"]],["v-7839fe83","/en/features/game-launcher.html",{y:"a",t:"Game Launcher",O:1},["/en/features/game-launcher","/en/features/game-launcher.md"]],["v-0106e0dc","/en/features/hutao-API.html",{y:"a",t:"Hutao Database / Abyss Record",O:6},["/en/features/hutao-API","/en/features/hutao-API.md"]],["v-639b3ef9","/en/features/hutao-settings.html",{y:"a",t:"Software Settings",O:11},["/en/features/hutao-settings","/en/features/hutao-settings.md"]],["v-03aaffb1","/en/features/mhy-account-switch.html",{y:"a",t:"MiHoYo BBS Account Switch",O:10},["/en/features/mhy-account-switch","/en/features/mhy-account-switch.md"]],["v-124743a4","/en/features/real-time-notes.html",{y:"a",t:"Real-time Notes",O:4},["/en/features/real-time-notes","/en/features/real-time-notes.md"]],["v-e30b3c46","/en/features/weapon-wiki.html",{y:"a",t:"Weapon WIKI",O:9},["/en/features/weapon-wiki","/en/features/weapon-wiki.md"]],["v-b8e3a2b8","/en/features/wish-export.html",{y:"a",t:"Wish History",O:2},["/en/features/wish-export","/en/features/wish-export.md"]],["v-a4f9d2c4","/en/statements/",{y:"a",t:"Statements",I:0},["/en/statements/index.html","/en/statements/README.md"]],["v-45ceb024","/en/statements/bug-report.html",{y:"a",t:"Submit Bug Report",i:"debug",O:2},["/en/statements/bug-report","/en/statements/bug-report.md"]],["v-b4085a44","/en/statements/privacy-notice.html",{y:"a",t:"User Data and Privacy Notice",i:"license",O:3},["/en/statements/privacy-notice","/en/statements/privacy-notice.md"]],["v-b1c7a1c2","/en/statements/tos.html",{y:"a",t:"User Agreement and Legal Disclaime",i:"license",O:4},["/en/statements/tos","/en/statements/tos.md"]],["v-52f43e3b","/en/statements/update-log.html",{y:"a",t:"Update Logs",i:"update",O:1},["/en/statements/update-log","/en/statements/update-log.md"]],["v-4a1d3ac8","/zh/advanced/FAQ.html",{y:"a",t:"常见问题",i:"ask",O:1},["/zh/advanced/FAQ","/zh/advanced/FAQ.md"]],["v-b0dd6b00","/zh/advanced/Gacha-system-and-export-principal.html",{y:"a",t:"祈愿系统与导出原理",i:"read",O:7},["/zh/advanced/Gacha-system-and-export-principal","/zh/advanced/Gacha-system-and-export-principal.md"]],["v-16d7d7b6","/zh/advanced/",{y:"a",t:"高级",I:0},["/zh/advanced/index.html","/zh/advanced/README.md"]],["v-c8e5b2e0","/zh/advanced/exceptions.html",{y:"a",t:"常见的程序异常",i:"debug",O:2},["/zh/advanced/exceptions","/zh/advanced/exceptions.md"]],["v-6892c29a","/zh/advanced/get-stoken-cookie-from-the-third-party.html",{y:"a",t:"使用第三方工具获取有 Stoken 的 cookie",i:"read",O:6},["/zh/advanced/get-stoken-cookie-from-the-third-party","/zh/advanced/get-stoken-cookie-from-the-third-party.md"]],["v-8ab89ae2","/zh/advanced/known-issue.html",{y:"a",t:"已知问题",i:"tool",O:3},["/zh/advanced/known-issue","/zh/advanced/known-issue.md"]],["v-9cc22da6","/zh/advanced/mihoyo-risk-tip.html",{y:"a",t:"账号风险及异常提示",i:"warn",O:4},["/zh/advanced/mihoyo-risk-tip","/zh/advanced/mihoyo-risk-tip.md"]],["v-a04a76c8","/zh/advanced/uninstall.html",{y:"a",t:"卸载胡桃工具箱",i:"delete",O:8},["/zh/advanced/uninstall","/zh/advanced/uninstall.md"]],["v-db2a9d92","/zh/development-log/symposium1.html",{y:"a",t:"第一期开发组座谈会"},["/zh/development-log/symposium1","/zh/development-log/symposium1.md"]],["v-d7c0ec54","/zh/development-log/symposium2.html",{y:"a",t:"第二期开发组座谈会"},["/zh/development-log/symposium2","/zh/development-log/symposium2.md"]],["v-0bbe1b6a","/zh/features/",{y:"a",t:"功能指南",I:0},["/zh/features/index.html","/zh/features/README.md"]],["v-2841a60b","/zh/features/achievements.html",{y:"a",t:"成就管理",O:3},["/zh/features/achievements","/zh/features/achievements.md"]],["v-3957d221","/zh/features/character-data.html",{y:"a",t:"属性统计",O:5},["/zh/features/character-data","/zh/features/character-data.md"]],["v-a9f7b44a","/zh/features/character-wiki.html",{y:"a",t:"角色资料",O:8},["/zh/features/character-wiki","/zh/features/character-wiki.md"]],["v-7cac7db6","/zh/features/develop-plan.html",{y:"a",t:"养成计划",O:7},["/zh/features/develop-plan","/zh/features/develop-plan.md"]],["v-e2f690f0","/zh/features/game-launcher.html",{y:"a",t:"高级启动器",O:1},["/zh/features/game-launcher","/zh/features/game-launcher.md"]],["v-0eb8e461","/zh/features/hutao-API.html",{y:"a",t:"胡桃数据库/深渊统计",O:6},["/zh/features/hutao-API","/zh/features/hutao-API.md"]],["v-16a7a694","/zh/features/hutao-settings.html",{y:"a",t:"软件设置",O:11},["/zh/features/hutao-settings","/zh/features/hutao-settings.md"]],["v-04b421cc","/zh/features/mhy-account-switch.html",{y:"a",t:"米游社多帐号切换",O:10},["/zh/features/mhy-account-switch","/zh/features/mhy-account-switch.md"]],["v-b5462c1a","/zh/features/real-time-notes.html",{y:"a",t:"实时便笺",O:4},["/zh/features/real-time-notes","/zh/features/real-time-notes.md"]],["v-108ccfbc","/zh/features/weapon-wiki.html",{y:"a",t:"武器资料",O:9},["/zh/features/weapon-wiki","/zh/features/weapon-wiki.md"]],["v-0ccd64e9","/zh/features/wish-export.html",{y:"a",t:"祈愿记录",O:2},["/zh/features/wish-export","/zh/features/wish-export.md"]],["v-c4bb0cba","/zh/statements/",{y:"a",t:"声明和公告",I:0},["/zh/statements/index.html","/zh/statements/README.md"]],["v-c87f8b6e","/zh/statements/bug-report.html",{y:"a",t:"提交BUG报告",i:"debug",O:2},["/zh/statements/bug-report","/zh/statements/bug-report.md"]],["v-70e6808e","/zh/statements/privacy-notice.html",{y:"a",t:"用户数据和隐私权益",i:"license",O:3},["/zh/statements/privacy-notice","/zh/statements/privacy-notice.md"]],["v-647ebd24","/zh/statements/tos.html",{y:"a",t:"用户使用协议和法律声明",i:"license",O:4},["/zh/statements/tos","/zh/statements/tos.md"]],["v-119bd096","/zh/statements/update-log.html",{y:"a",t:"更新日志",i:"update",O:1},["/zh/statements/update-log","/zh/statements/update-log.md"]],["v-3706649a","/404.html",{y:"p",t:""},["/404"]],["v-42f24836","/zh/development-log/",{y:"p",t:"Development Log"},["/zh/development-log/index.html"]],["v-8daa1a0e","/",{y:"p",t:"Home"},["/index.html"]]];var ia=E({name:"Vuepress",setup(){const e=vo();return()=>r(e.value)}}),bs=()=>_s.reduce((e,[t,a,n,o])=>(e.push({name:t,path:a,component:ia,meta:n},...o.map(l=>({path:l,redirect:a}))),e),[{name:"404",path:"/:catchAll(.*)",component:ia}]),ys=to,ws=()=>{const e=Xn({history:ys(nt("/")),routes:bs(),scrollBehavior:(t,a,n)=>n||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,a)=>{var n;(t.path!==a.path||a===Zn)&&([oe.value]=await Promise.all([X.resolvePageData(t.name),(n=pa[t.name])==null?void 0:n.__asyncLoader()]))}),e},Es=e=>{e.component("ClientOnly",Be),e.component("Content",wa)},ks=(e,t,a)=>{const n=k(t.currentRoute.value.path);I(()=>t.currentRoute.value.path,h=>n.value=h);const o=m(()=>X.resolveLayouts(a)),l=m(()=>X.resolveRouteLocale(he.value.locales,n.value)),i=m(()=>X.resolveSiteLocaleData(he.value,l.value)),s=m(()=>X.resolvePageFrontmatter(oe.value)),d=m(()=>X.resolvePageHeadTitle(oe.value,i.value)),c=m(()=>X.resolvePageHead(d.value,s.value,i.value)),u=m(()=>X.resolvePageLang(oe.value)),v=m(()=>X.resolvePageLayout(oe.value,o.value));return e.provide(io,o),e.provide(ha,s),e.provide(uo,d),e.provide(fa,c),e.provide(ga,u),e.provide(_a,v),e.provide(ot,l),e.provide(ya,i),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>s.value},$head:{get:()=>c.value},$headTitle:{get:()=>d.value},$lang:{get:()=>u.value},$page:{get:()=>oe.value},$routeLocale:{get:()=>l.value},$site:{get:()=>he.value},$siteLocale:{get:()=>i.value},$withBase:{get:()=>te}}),{layouts:o,pageData:oe,pageFrontmatter:s,pageHead:c,pageHeadTitle:d,pageLang:u,pageLayout:v,routeLocale:l,siteData:he,siteLocaleData:i}},Ls=()=>{const e=co(),t=Ne(),a=k([]),n=()=>{e.value.forEach(l=>{const i=Ts(l);i&&a.value.push(i)})},o=()=>{document.documentElement.lang=t.value,a.value.forEach(l=>{l.parentNode===document.head&&document.head.removeChild(l)}),a.value.splice(0,a.value.length),e.value.forEach(l=>{const i=Os(l);i!==null&&(document.head.appendChild(i),a.value.push(i))})};tt(po,o),R(()=>{n(),o(),I(()=>e.value,()=>o())})},Ts=([e,t,a=""])=>{const n=Object.entries(t).map(([s,d])=>F(d)?`[${s}=${JSON.stringify(d)}]`:d===!0?`[${s}]`:"").join(""),o=`head > ${e}${n}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===a)||null},Os=([e,t,a])=>{if(!F(e))return null;const n=document.createElement(e);return at(t)&&Object.entries(t).forEach(([o,l])=>{F(l)?n.setAttribute(o,l):l===!0&&n.setAttribute(o,"")}),F(a)&&n.appendChild(document.createTextNode(a)),n},As=eo,Is=async()=>{var a;const e=As({name:"VuepressApp",setup(){var n;Ls();for(const o of $e)(n=o.setup)==null||n.call(o);return()=>[r(ao),...$e.flatMap(({rootComponents:o=[]})=>o.map(l=>r(l)))]}}),t=ws();Es(e),ks(e,t,$e);for(const n of $e)await((a=n.enhance)==null?void 0:a.call(n,{app:e,router:t,siteData:he}));return e.use(t),{app:e,router:t}};Is().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ds as a,kr as b,$s as c,Is as createVueApp,Ss as d,vt as u}; diff --git a/assets/community.html-ee762065.js b/assets/community.html-7b6cf713.js similarity index 82% rename from assets/community.html-ee762065.js rename to assets/community.html-7b6cf713.js index 0e59f9b5f..cb59a0bfb 100644 --- a/assets/community.html-ee762065.js +++ b/assets/community.html-7b6cf713.js @@ -1 +1 @@ -const t=JSON.parse('{"key":"v-082946dd","path":"/en/community.html","title":"Join Community","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Announcement"],"description":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/community.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Join Community"}],["meta",{"property":"og:description","content":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Join Community\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub Discussion","slug":"github-discussion","link":"#github-discussion","children":[]},{"level":2,"title":"QQ Group (CN)","slug":"qq-group-cn","link":"#qq-group-cn","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679108717000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2}]},"readingTime":{"minutes":0.37,"words":110},"filePathRelative":"en/community.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data}; +const t=JSON.parse('{"key":"v-082946dd","path":"/en/community.html","title":"Join Community","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Announcement"],"description":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/community.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Join Community"}],["meta",{"property":"og:description","content":"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways. GitHub Discussion Snap.Hutao D..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-27T07:58:03.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-27T07:58:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Join Community\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-27T07:58:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub Discussion","slug":"github-discussion","link":"#github-discussion","children":[]},{"level":2,"title":"QQ Group (CN)","slug":"qq-group-cn","link":"#qq-group-cn","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679108717000,"updatedTime":1682582283000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":0.38,"words":115},"filePathRelative":"en/community.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data}; diff --git a/assets/community.html-157b5bb6.js b/assets/community.html-7d1656aa.js similarity index 50% rename from assets/community.html-157b5bb6.js rename to assets/community.html-7d1656aa.js index 323175148..a8b68d506 100644 --- a/assets/community.html-157b5bb6.js +++ b/assets/community.html-7d1656aa.js @@ -1 +1 @@ -import{_ as r,Y as a,Z as s,$ as o,a0 as t,a1 as n,F as i}from"./framework-8be3ab77.js";const l={},u=o("h1",{id:"join-community",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#join-community","aria-hidden":"true"},"#"),t(" Join Community")],-1),c=o("p",null,"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways.",-1),h=o("p",null,[o("strong",null,"If you believe Snap Hutao is a good project and helps you, you can support us by the following ways")],-1),d={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},p=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),_={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=o("li",null,[t("Rate our App on "),o("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"Microsoft Store")],-1),f=o("li",null,"Promote our project in your network",-1),b=o("p",null,[o("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t(),o("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),y=o("h2",{id:"github-discussion",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#github-discussion","aria-hidden":"true"},"#"),t(" GitHub Discussion")],-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},k=o("h2",{id:"qq-group-cn",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#qq-group-cn","aria-hidden":"true"},"#"),t(" QQ Group (CN)")],-1),H={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},G={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},v={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},w=o("em",null,"Snap Developer Open Discussion Group",-1),P=o("li",null,"General tech talk, not Snap Hutao Project development group",-1),x=o("li",null,"The Dev group requires some basic tech knowledge",-1),j={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},q=o("h2",{id:"discord",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),t(" Discord")],-1),N={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function I(z,C){const e=i("ExternalLinkIcon");return a(),s("div",null,[u,c,h,o("ul",null,[o("li",null,[t("Star our project on GitHub ⭐ "),o("ul",null,[o("li",null,[o("a",d,[t("Snap.Hutao"),n(e)]),t(),p]),o("li",null,[o("a",_,[t("Snap.Hutao.Docs"),n(e)]),t(),g])])]),m,f]),b,y,o("p",null,[o("a",S,[t("Snap.Hutao Discussion"),n(e)])]),k,o("ul",null,[o("li",null,[o("a",H,[t("Snap Group #1"),n(e)])]),o("li",null,[o("a",D,[t("Snap Group #2"),n(e)])]),o("li",null,[o("a",G,[t("Snap Group #3"),n(e)])]),o("li",null,[o("a",v,[t("Snap Group #4"),n(e)])]),o("li",null,[w,o("ul",null,[P,x,o("li",null,[t("You can join via "),o("a",j,[t("https://dev-group.hut.ao"),n(e)]),t(" if you are interested to join")])])])]),q,o("p",null,[t("Invite link:"),o("a",N,[t("https://discord.gg/Yb8bykUKp"),n(e)])])])}const B=r(l,[["render",I],["__file","community.html.vue"]]);export{B as default}; +import{_ as r,Y as a,Z as s,$ as o,a0 as t,a1 as n,F as i}from"./framework-8be3ab77.js";const l={},u=o("h1",{id:"join-community",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#join-community","aria-hidden":"true"},"#"),t(" Join Community")],-1),c=o("p",null,"As open-source software, community power is an important part of the ecology of Snap Hutao, and you can join our user community by following ways.",-1),h=o("p",null,[o("strong",null,"If you believe Snap Hutao is a good project and helps you, you can support us by the following ways")],-1),d={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},p=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),_={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=o("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=o("li",null,[t("Rate our App on "),o("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"Microsoft Store")],-1),f=o("li",null,"Promote our project in your network",-1),b=o("p",null,[o("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t(),o("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),y=o("h2",{id:"github-discussion",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#github-discussion","aria-hidden":"true"},"#"),t(" GitHub Discussion")],-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},k=o("h2",{id:"qq-group-cn",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#qq-group-cn","aria-hidden":"true"},"#"),t(" QQ Group (CN)")],-1),G={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},H={href:"https://go.hut.ao/qun5",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},v={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},w={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},P=o("em",null,"Snap Developer Open Discussion Group",-1),q=o("li",null,"General tech talk, not Snap Hutao Project development group",-1),x=o("li",null,"The Dev group requires some basic tech knowledge",-1),j={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},N=o("h2",{id:"discord",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),t(" Discord")],-1),I={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function z(C,Y){const e=i("ExternalLinkIcon");return a(),s("div",null,[u,c,h,o("ul",null,[o("li",null,[t("Star our project on GitHub ⭐ "),o("ul",null,[o("li",null,[o("a",d,[t("Snap.Hutao"),n(e)]),t(),p]),o("li",null,[o("a",_,[t("Snap.Hutao.Docs"),n(e)]),t(),g])])]),m,f]),b,y,o("p",null,[o("a",S,[t("Snap.Hutao Discussion"),n(e)])]),k,o("ul",null,[o("li",null,[o("a",G,[t("Snap Group #1"),n(e)])]),o("li",null,[o("a",H,[t("Snap Group #5"),n(e)])]),o("li",null,[o("a",D,[t("Snap Group #2"),n(e)])]),o("li",null,[o("a",v,[t("Snap Group #3"),n(e)])]),o("li",null,[o("a",w,[t("Snap Group #4"),n(e)])]),o("li",null,[P,o("ul",null,[q,x,o("li",null,[t("You can join via "),o("a",j,[t("https://dev-group.hut.ao"),n(e)]),t(" if you are interested to join")])])])]),N,o("p",null,[t("Invite link:"),o("a",I,[t("https://discord.gg/Yb8bykUKp"),n(e)])])])}const E=r(l,[["render",z],["__file","community.html.vue"]]);export{E as default}; diff --git a/assets/community.html-1851f335.js b/assets/community.html-c9f2d093.js similarity index 52% rename from assets/community.html-1851f335.js rename to assets/community.html-c9f2d093.js index 28868a0ad..862c4dbb9 100644 --- a/assets/community.html-1851f335.js +++ b/assets/community.html-c9f2d093.js @@ -1 +1 @@ -import{_ as a,Y as r,Z as s,$ as t,a0 as e,a1 as n,F as l}from"./framework-8be3ab77.js";const i={},h=t("h1",{id:"加入用户社区",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#加入用户社区","aria-hidden":"true"},"#"),e(" 加入用户社区")],-1),u=t("p",null,"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。",-1),d=t("p",null,[t("strong",null,"如果你认为胡桃工具箱是一个好的项目或者有帮助到你,你可以通过以下方式支持我们")],-1),c={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},_=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=t("li",null,[e("在"),t("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"微软商店"),e("上给出好评")],-1),f=t("li",null,"在更多的地方帮助我们宣传",-1),b=t("p",null,[t("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),S=t("h2",{id:"github-讨论",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#github-讨论","aria-hidden":"true"},"#"),e(" GitHub 讨论")],-1),k={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},y=t("h2",{id:"qq-群",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#qq-群","aria-hidden":"true"},"#"),e(" QQ 群")],-1),H={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},x={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},G={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},P=t("em",null,"Snap 开发交流群",-1),q=t("li",null,"广泛的技术交流群,并非胡桃工具箱开发群",-1),v=t("li",null,"开发群对申请者的技术水平有一定要求",-1),N={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},z=t("h2",{id:"discord",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),e(" Discord")],-1),w={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function B(E,I){const o=l("ExternalLinkIcon");return r(),s("div",null,[h,u,d,t("ul",null,[t("li",null,[e("为我们在 GitHub 上的项目加星点赞 ⭐ "),t("ul",null,[t("li",null,[t("a",c,[e("Snap.Hutao"),n(o)]),e(),_]),t("li",null,[t("a",p,[e("Snap.Hutao.Docs"),n(o)]),e(),g])])]),m,f]),b,S,t("p",null,[t("a",k,[e("Snap.Hutao Discussion"),n(o)])]),y,t("ul",null,[t("li",null,[t("a",H,[e("Snap 一群"),n(o)])]),t("li",null,[t("a",D,[e("Snap 二群"),n(o)])]),t("li",null,[t("a",x,[e("Snap 三群"),n(o)])]),t("li",null,[t("a",G,[e("Snap 四群"),n(o)])]),t("li",null,[P,t("ul",null,[q,v,t("li",null,[e("如果你有兴趣可以从"),t("a",N,[e("dev-group.hut.ao"),n(o)]),e("加入开发者交流群")])])])]),z,t("p",null,[e("邀请链接:"),t("a",w,[e("https://discord.gg/Yb8bykaUKp"),n(o)])])])}const V=a(i,[["render",B],["__file","community.html.vue"]]);export{V as default}; +import{_ as a,Y as r,Z as l,$ as t,a0 as e,a1 as n,F as s}from"./framework-8be3ab77.js";const i={},h=t("h1",{id:"加入用户社区",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#加入用户社区","aria-hidden":"true"},"#"),e(" 加入用户社区")],-1),u=t("p",null,"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。",-1),d=t("p",null,[t("strong",null,"如果你认为胡桃工具箱是一个好的项目或者有帮助到你,你可以通过以下方式支持我们")],-1),c={href:"https://github.com/DGP-Studio/Snap.Hutao",target:"_blank",rel:"noopener noreferrer"},_=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao?style=plastic&color=red",alt:"hutao.stars",loading:"lazy"},null,-1),p={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs",target:"_blank",rel:"noopener noreferrer"},g=t("img",{src:"https://img.shields.io/github/stars/DGP-Studio/Snap.Hutao.Docs?style=plastic&color=red",alt:"hutao.docs.stars",loading:"lazy"},null,-1),m=t("li",null,[e("在"),t("a",{href:"ms-windows-store://review/?ProductId=9PH4NXJ2JN52"},"微软商店"),e("上给出好评")],-1),f=t("li",null,"在更多的地方帮助我们宣传",-1),b=t("p",null,[t("img",{src:"https://img.shields.io/github/commit-activity/y/DGP-Studio/Snap.Hutao?style=for-the-badge",alt:"commit_activity",loading:"lazy"}),t("img",{src:"https://img.shields.io/github/last-commit/DGP-Studio/Snap.Hutao?label=Hutao Last Commit&style=for-the-badge",alt:"hutao-last-commit",loading:"lazy"})],-1),S=t("h2",{id:"github-讨论",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#github-讨论","aria-hidden":"true"},"#"),e(" GitHub 讨论")],-1),k={href:"https://github.com/DGP-Studio/Snap.Hutao/discussions",target:"_blank",rel:"noopener noreferrer"},y=t("h2",{id:"qq-群",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#qq-群","aria-hidden":"true"},"#"),e(" QQ 群")],-1),H={href:"https://go.hut.ao/qun1",target:"_blank",rel:"noopener noreferrer"},D={href:"https://go.hut.ao/qun5",target:"_blank",rel:"noopener noreferrer"},x={href:"https://go.hut.ao/qun2",target:"_blank",rel:"noopener noreferrer"},q={href:"https://go.hut.ao/qun3",target:"_blank",rel:"noopener noreferrer"},G={href:"https://go.hut.ao/qun4",target:"_blank",rel:"noopener noreferrer"},P=t("em",null,"Snap 开发交流群",-1),v=t("li",null,"广泛的技术交流群,并非胡桃工具箱开发群",-1),N=t("li",null,"开发群对申请者的技术水平有一定要求",-1),z={href:"https://dev-group.hut.ao",target:"_blank",rel:"noopener noreferrer"},w=t("h2",{id:"discord",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#discord","aria-hidden":"true"},"#"),e(" Discord")],-1),B={href:"https://discord.gg/Yb8bykaUKp",target:"_blank",rel:"noopener noreferrer"};function E(I,L){const o=s("ExternalLinkIcon");return r(),l("div",null,[h,u,d,t("ul",null,[t("li",null,[e("为我们在 GitHub 上的项目加星点赞 ⭐ "),t("ul",null,[t("li",null,[t("a",c,[e("Snap.Hutao"),n(o)]),e(),_]),t("li",null,[t("a",p,[e("Snap.Hutao.Docs"),n(o)]),e(),g])])]),m,f]),b,S,t("p",null,[t("a",k,[e("Snap.Hutao Discussion"),n(o)])]),y,t("ul",null,[t("li",null,[t("a",H,[e("Snap 一群"),n(o)])]),t("li",null,[t("a",D,[e("Snap 五群"),n(o)])]),t("li",null,[t("a",x,[e("Snap 二群"),n(o)])]),t("li",null,[t("a",q,[e("Snap 三群"),n(o)])]),t("li",null,[t("a",G,[e("Snap 四群"),n(o)])]),t("li",null,[P,t("ul",null,[v,N,t("li",null,[e("如果你有兴趣可以从"),t("a",z,[e("dev-group.hut.ao"),n(o)]),e("加入开发者交流群")])])])]),w,t("p",null,[e("邀请链接:"),t("a",B,[e("https://discord.gg/Yb8bykaUKp"),n(o)])])])}const Y=a(i,[["render",E],["__file","community.html.vue"]]);export{Y as default}; diff --git a/assets/community.html-fb5b81f3.js b/assets/community.html-d5cd824a.js similarity index 84% rename from assets/community.html-fb5b81f3.js rename to assets/community.html-d5cd824a.js index 71be6c05e..91fda63b9 100644 --- a/assets/community.html-fb5b81f3.js +++ b/assets/community.html-d5cd824a.js @@ -1 +1 @@ -const t=JSON.parse('{"key":"v-5cad49b8","path":"/zh/community.html","title":"加入用户社区","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["公告"],"redirectFrom":"/community.html","description":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"加入用户社区"}],["meta",{"property":"og:description","content":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-03T03:07:54.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-03T03:07:54.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"加入用户社区\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-03T03:07:54.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub 讨论","slug":"github-讨论","link":"#github-讨论","children":[]},{"level":2,"title":"QQ 群","slug":"qq-群","link":"#qq-群","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1680491274000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":0.55,"words":165},"filePathRelative":"zh/community.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data}; +const t=JSON.parse('{"key":"v-5cad49b8","path":"/zh/community.html","title":"加入用户社区","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["公告"],"redirectFrom":"/community.html","description":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/community.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/community.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"加入用户社区"}],["meta",{"property":"og:description","content":"作为开源软件,社区动力是胡桃工具箱生态的重要组成部分,你可以在通过下面的方式加入到胡桃的用户社区中。 GitHub 讨论 Snap.Hutao Discussion (https://github.com/DGP-Studio/Snap.Hutao/discussions) QQ 群 Snap 一群 (https://go.hut.ao/qun1); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-27T07:58:03.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-27T07:58:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"加入用户社区\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-27T07:58:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"GitHub 讨论","slug":"github-讨论","link":"#github-讨论","children":[]},{"level":2,"title":"QQ 群","slug":"qq-群","link":"#qq-群","children":[]},{"level":2,"title":"Discord","slug":"discord","link":"#discord","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1682582283000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":4}]},"readingTime":{"minutes":0.57,"words":170},"filePathRelative":"zh/community.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data}; diff --git a/assets/component-e9992e19.js b/assets/component-40873d3a.js similarity index 99% rename from assets/component-e9992e19.js rename to assets/component-40873d3a.js index dfce70101..3debfda74 100644 --- a/assets/component-e9992e19.js +++ b/assets/component-40873d3a.js @@ -1,4 +1,4 @@ -var ln=Object.defineProperty;var rn=(l,t,n)=>t in l?ln(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n;var kt=(l,t,n)=>(rn(l,typeof t!="symbol"?t+"":t,n),n);import{c as Ne,r as U,h as Y,o as tt,x as me,y as pt,u,Y as m,Z as y,$ as z,a4 as M,a5 as te,a6 as se,a7 as j,E as an,a8 as wt,b as sn,a1 as ee,a9 as J,aa as Ze,ab as on,s as cn,ac as yt,a0 as Ce,ad as ve,ae as un,j as N,m as ht,w as pn,F as hn,G as dn}from"./framework-8be3ab77.js";import{u as Le,a as gn,b as fn,c as mn,d as vn}from"./app-3ca9120e.js";var Be=new Map;function kn(l){var t=Be.get(l);t&&t.destroy()}function wn(l){var t=Be.get(l);t&&t.update()}var De=null;typeof window>"u"?((De=function(l){return l}).destroy=function(l){return l},De.update=function(l){return l}):((De=function(l,t){return l&&Array.prototype.forEach.call(l.length?l:[l],function(n){return function(e){if(e&&e.nodeName&&e.nodeName==="TEXTAREA"&&!Be.has(e)){var i,r=null,a=window.getComputedStyle(e),s=(i=e.value,function(){d({testForHeightReduction:i===""||!e.value.startsWith(i),restoreTextAlign:null}),i=e.value}),c=function(h){e.removeEventListener("autosize:destroy",c),e.removeEventListener("autosize:update",o),e.removeEventListener("input",s),window.removeEventListener("resize",o),Object.keys(h).forEach(function(g){return e.style[g]=h[g]}),Be.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c),e.addEventListener("autosize:update",o),e.addEventListener("input",s),window.addEventListener("resize",o),e.style.overflowX="hidden",e.style.wordWrap="break-word",Be.set(e,{destroy:c,update:o}),o()}function d(h){var g,p,A=h.restoreTextAlign,v=A===void 0?null:A,f=h.testForHeightReduction,S=f===void 0||f,R=a.overflowY;if(e.scrollHeight!==0&&(a.resize==="vertical"?e.style.resize="none":a.resize==="both"&&(e.style.resize="horizontal"),S&&(g=function(C){for(var V=[];C&&C.parentNode&&C.parentNode instanceof Element;)C.parentNode.scrollTop&&V.push([C.parentNode,C.parentNode.scrollTop]),C=C.parentNode;return function(){return V.forEach(function(O){var P=O[0],ie=O[1];P.style.scrollBehavior="auto",P.scrollTop=ie,P.style.scrollBehavior=null})}}(e),e.style.height=""),p=a.boxSizing==="content-box"?e.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):e.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&p>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(e.style.overflow="scroll"),p=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(e.style.overflow="hidden"),e.style.height=p+"px",v&&(e.style.textAlign=v),g&&g(),r!==p&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),r=p),R!==a.overflow&&!v)){var E=a.textAlign;a.overflow==="hidden"&&(e.style.textAlign=E==="start"?"end":"start"),d({restoreTextAlign:E,testForHeightReduction:!0})}}function o(){d({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),l}).destroy=function(l){return l&&Array.prototype.forEach.call(l.length?l:[l],kn),l},De.update=function(l){return l&&Array.prototype.forEach.call(l.length?l:[l],wn),l});var bt=De;function Ht(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let _e=Ht();function yn(l){_e=l}const Vt=/[&<>"']/,bn=new RegExp(Vt.source,"g"),Ft=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,xn=new RegExp(Ft.source,"g"),$n={"&":"&","<":"<",">":">",'"':""","'":"'"},xt=l=>$n[l];function X(l,t){if(t){if(Vt.test(l))return l.replace(bn,xt)}else if(Ft.test(l))return l.replace(xn,xt);return l}const Cn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wt(l){return l.replace(Cn,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const _n=/(^|[^\[])\^/g;function W(l,t){l=typeof l=="string"?l:l.source,t=t||"";const n={replace:(e,i)=>(i=i.source||i,i=i.replace(_n,"$1"),l=l.replace(e,i),n),getRegex:()=>new RegExp(l,t)};return n}const zn=/[^\w:]/g,Rn=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function $t(l,t,n){if(l){let e;try{e=decodeURIComponent(Wt(n)).replace(zn,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}t&&!Rn.test(n)&&(n=En(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Ke={},Sn=/^[^:]+:\/*[^/]*$/,Ln=/^([^:]+:)[\s\S]*$/,In=/^([^:]+:\/*[^/]*)[\s\S]*$/;function En(l,t){Ke[" "+l]||(Sn.test(l)?Ke[" "+l]=l+"/":Ke[" "+l]=Qe(l,"/",!0)),l=Ke[" "+l];const n=l.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:l.replace(Ln,"$1")+t:t.charAt(0)==="/"?n?t:l.replace(In,"$1")+t:l+t}const Xe={exec:function(){}};function Ct(l,t){const n=l.replace(/\|/g,(r,a,s)=>{let c=!1,d=a;for(;--d>=0&&s[d]==="\\";)c=!c;return c?"|":" |"}),e=n.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>t)e.splice(t);else for(;e.length1;)t&1&&(n+=l),t>>=1,l+=l;return n+l}function zt(l,t,n,e){const i=t.href,r=t.title?X(t.title):null,a=l[1].replace(/\\([\[\]])/g,"$1");if(l[0].charAt(0)!=="!"){e.state.inLink=!0;const s={type:"link",raw:n,href:i,title:r,text:a,tokens:e.inlineTokens(a)};return e.state.inLink=!1,s}return{type:"image",raw:n,href:i,title:r,text:X(a)}}function jn(l,t){const n=l.match(/^(\s+)(?:```)/);if(n===null)return t;const e=n[1];return t.split(` +var ln=Object.defineProperty;var rn=(l,t,n)=>t in l?ln(l,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):l[t]=n;var kt=(l,t,n)=>(rn(l,typeof t!="symbol"?t+"":t,n),n);import{c as Ne,r as U,h as Y,o as tt,x as me,y as pt,u,Y as m,Z as y,$ as z,a4 as M,a5 as te,a6 as se,a7 as j,E as an,a8 as wt,b as sn,a1 as ee,a9 as J,aa as Ze,ab as on,s as cn,ac as yt,a0 as Ce,ad as ve,ae as un,j as N,m as ht,w as pn,F as hn,G as dn}from"./framework-8be3ab77.js";import{u as Le,a as gn,b as fn,c as mn,d as vn}from"./app-e63ae470.js";var Be=new Map;function kn(l){var t=Be.get(l);t&&t.destroy()}function wn(l){var t=Be.get(l);t&&t.update()}var De=null;typeof window>"u"?((De=function(l){return l}).destroy=function(l){return l},De.update=function(l){return l}):((De=function(l,t){return l&&Array.prototype.forEach.call(l.length?l:[l],function(n){return function(e){if(e&&e.nodeName&&e.nodeName==="TEXTAREA"&&!Be.has(e)){var i,r=null,a=window.getComputedStyle(e),s=(i=e.value,function(){d({testForHeightReduction:i===""||!e.value.startsWith(i),restoreTextAlign:null}),i=e.value}),c=function(h){e.removeEventListener("autosize:destroy",c),e.removeEventListener("autosize:update",o),e.removeEventListener("input",s),window.removeEventListener("resize",o),Object.keys(h).forEach(function(g){return e.style[g]=h[g]}),Be.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c),e.addEventListener("autosize:update",o),e.addEventListener("input",s),window.addEventListener("resize",o),e.style.overflowX="hidden",e.style.wordWrap="break-word",Be.set(e,{destroy:c,update:o}),o()}function d(h){var g,p,A=h.restoreTextAlign,v=A===void 0?null:A,f=h.testForHeightReduction,S=f===void 0||f,R=a.overflowY;if(e.scrollHeight!==0&&(a.resize==="vertical"?e.style.resize="none":a.resize==="both"&&(e.style.resize="horizontal"),S&&(g=function(C){for(var V=[];C&&C.parentNode&&C.parentNode instanceof Element;)C.parentNode.scrollTop&&V.push([C.parentNode,C.parentNode.scrollTop]),C=C.parentNode;return function(){return V.forEach(function(O){var P=O[0],ie=O[1];P.style.scrollBehavior="auto",P.scrollTop=ie,P.style.scrollBehavior=null})}}(e),e.style.height=""),p=a.boxSizing==="content-box"?e.scrollHeight-(parseFloat(a.paddingTop)+parseFloat(a.paddingBottom)):e.scrollHeight+parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),a.maxHeight!=="none"&&p>parseFloat(a.maxHeight)?(a.overflowY==="hidden"&&(e.style.overflow="scroll"),p=parseFloat(a.maxHeight)):a.overflowY!=="hidden"&&(e.style.overflow="hidden"),e.style.height=p+"px",v&&(e.style.textAlign=v),g&&g(),r!==p&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),r=p),R!==a.overflow&&!v)){var E=a.textAlign;a.overflow==="hidden"&&(e.style.textAlign=E==="start"?"end":"start"),d({restoreTextAlign:E,testForHeightReduction:!0})}}function o(){d({testForHeightReduction:!0,restoreTextAlign:null})}}(n)}),l}).destroy=function(l){return l&&Array.prototype.forEach.call(l.length?l:[l],kn),l},De.update=function(l){return l&&Array.prototype.forEach.call(l.length?l:[l],wn),l});var bt=De;function Ht(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let _e=Ht();function yn(l){_e=l}const Vt=/[&<>"']/,bn=new RegExp(Vt.source,"g"),Ft=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,xn=new RegExp(Ft.source,"g"),$n={"&":"&","<":"<",">":">",'"':""","'":"'"},xt=l=>$n[l];function X(l,t){if(t){if(Vt.test(l))return l.replace(bn,xt)}else if(Ft.test(l))return l.replace(xn,xt);return l}const Cn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Wt(l){return l.replace(Cn,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const _n=/(^|[^\[])\^/g;function W(l,t){l=typeof l=="string"?l:l.source,t=t||"";const n={replace:(e,i)=>(i=i.source||i,i=i.replace(_n,"$1"),l=l.replace(e,i),n),getRegex:()=>new RegExp(l,t)};return n}const zn=/[^\w:]/g,Rn=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function $t(l,t,n){if(l){let e;try{e=decodeURIComponent(Wt(n)).replace(zn,"").toLowerCase()}catch{return null}if(e.indexOf("javascript:")===0||e.indexOf("vbscript:")===0||e.indexOf("data:")===0)return null}t&&!Rn.test(n)&&(n=En(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const Ke={},Sn=/^[^:]+:\/*[^/]*$/,Ln=/^([^:]+:)[\s\S]*$/,In=/^([^:]+:\/*[^/]*)[\s\S]*$/;function En(l,t){Ke[" "+l]||(Sn.test(l)?Ke[" "+l]=l+"/":Ke[" "+l]=Qe(l,"/",!0)),l=Ke[" "+l];const n=l.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:l.replace(Ln,"$1")+t:t.charAt(0)==="/"?n?t:l.replace(In,"$1")+t:l+t}const Xe={exec:function(){}};function Ct(l,t){const n=l.replace(/\|/g,(r,a,s)=>{let c=!1,d=a;for(;--d>=0&&s[d]==="\\";)c=!c;return c?"|":" |"}),e=n.split(/ \|/);let i=0;if(e[0].trim()||e.shift(),e.length>0&&!e[e.length-1].trim()&&e.pop(),e.length>t)e.splice(t);else for(;e.length1;)t&1&&(n+=l),t>>=1,l+=l;return n+l}function zt(l,t,n,e){const i=t.href,r=t.title?X(t.title):null,a=l[1].replace(/\\([\[\]])/g,"$1");if(l[0].charAt(0)!=="!"){e.state.inLink=!0;const s={type:"link",raw:n,href:i,title:r,text:a,tokens:e.inlineTokens(a)};return e.state.inLink=!1,s}return{type:"image",raw:n,href:i,title:r,text:X(a)}}function jn(l,t){const n=l.match(/^(\s+)(?:```)/);if(n===null)return t;const e=n[1];return t.split(` `).map(i=>{const r=i.match(/^\s+/);if(r===null)return i;const[a]=r;return a.length>=e.length?i.slice(e.length):i}).join(` `)}class dt{constructor(t){this.options=t||_e}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const e=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?e:Qe(e,` `)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const e=n[0],i=jn(e,n[3]||"");return{type:"code",raw:e,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let e=n[2].trim();if(/#$/.test(e)){const i=Qe(e,"#");(this.options.pedantic||!i||/ $/.test(i))&&(e=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const e=n[0].replace(/^ *>[ \t]?/gm,""),i=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=i,{type:"blockquote",raw:n[0],tokens:r,text:e}}}list(t){let n=this.rules.block.list.exec(t);if(n){let e,i,r,a,s,c,d,o,h,g,p,A,v=n[1].trim();const f=v.length>1,S={type:"list",raw:"",ordered:f,start:f?+v.slice(0,-1):"",loose:!1,items:[]};v=f?`\\d{1,9}\\${v.slice(-1)}`:`\\${v}`,this.options.pedantic&&(v=f?v:"[*+-]");const R=new RegExp(`^( {0,3}${v})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;t&&(A=!1,!(!(n=R.exec(t))||this.rules.block.hr.test(t)));){if(e=n[0],t=t.substring(e.length),o=n[2].split(` diff --git a/en/advanced/FAQ.html b/en/advanced/FAQ.html index a72176897..b5696b395 100644 --- a/en/advanced/FAQ.html +++ b/en/advanced/FAQ.html @@ -31,12 +31,12 @@ } - +

常见问题

DGP-StudioFAQAbout 5 min

常见问题

如何创建胡桃的桌面快捷方式

  • Win+R 呼出运行窗口,在窗口中输入shell:AppsFolder Run
  • Windows 会弹出应用程序目录,找到胡桃工具箱
  • 右键,点击创建快捷方式
  • 根据提示操作你就可以获得一个桌面快捷方式了

如何添加一个默认以管理员方式运行的快捷方式

基本原理:使用下方的 PowerShell 脚本可以以管理员方式运行胡桃

Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
 
  • 保存胡桃工具箱的 Logo 资源
  • 在桌面点击右键,选择新建 -> 快捷方式
  • 请键入对象的位置中直接输入:
  powershell -Command "Start-Process shell:AppsFolder\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
 
  • 将快捷方式命名为你需要的名称,比如Snap Hutao
  • 确认创建,此时你会在桌面得到一个有 PowerShell 图标的快捷方式
  • 右键该快捷方式,点击属性
    • 运行方式修改为最小化
    • 点击更改图标,选择浏览,并选中刚刚下载的图标
  • 这样你就获得了胡桃工具箱的桌面快捷方式,并且运行它将直接以管理员模式运行
    • 你也可以将固定到任务栏或磁贴区

如何让胡桃工具箱开机自动启动

  • 请参考如下思路
    • 可以自行创建一个批处理文件,内容参考此issueopen in new window中,令胡桃以管理员模式直接运行的命令。
    • 设置一个计划任务程序令上述批处理文件开机自启,或将上述批处理文件加入启动项
  • 或有其他令胡桃工具箱可开机自启的思路,可自行探索

如何通过胡桃工具箱快速地启动游戏

  • 在主程序中正确设置高级启动器功能

  • 将胡桃工具箱在系统中固定在快速启动栏中

  • 在快速启动栏中右键胡桃应用程序

    quick-start

  • 选择启动游戏即可

如何通过网络代理使用胡桃工具箱

参考 HttpRequestException 错误 文档

为什么在设置中点击修改游戏路径无效

特定系统版本的用户,由于微软对文件选择对话框的COM实现的差异,会存在点击按钮后无响应的问题。

相关的 Github Issueopen in new window

为什么程序会出现乱码现象

  • 当用户在 Windows 10 下使用胡桃且发现有乱码情况时:
    • 可以下载 Segoe Fluent Icons字体
    • 安装时选择为系统所有用户安装,即可解决问题
  • 您可以从 微软官方open in new window下载到该字体文件

为什么解锁帧率后使用心海时出现掉帧

原神的BUG,和我们没关系

为什么会弹出需要使用新应用以打开的对话框

uninstall-error

如在卸载胡桃工具箱后出现如上图所示的需要使用新应用以打开此 hutao 链接,说明没有按文档要求在卸载前清除实时便笺定时任务。 请根据文档在设置中清除定时任务后再卸载胡桃工具箱。

为什么米游社帐号登录状态经常失效,添加的帐号消失

  • 我们通过储存帐号的米游社 Cookie 来维持登录状态。
  • 但是当用户在浏览器或其它设备上注销帐号后, 维持登录状态的 Cookie 将失效
  • 这会导致胡桃工具箱上的米游社帐号在启动后被自动移除。
  • 此情况也可能因为网络连接问题导致无法检查Cookie有效性,故出现此情况后请优先重启胡桃工具箱。
  • 自2022年10月起,米游社极大地提高了账号被判定为有风险的概率,账号有风险时亦会令Cookie无法被识别为有效状态
  • 自 1.4.15 版本起,你可以通过在帐号面板中刷新 Cookie 来刷新登录状态

为什么游戏登录状态会失效,导致切换帐号功能无效

  • 保存游戏登录状态的要素有两个:网络环境和设备 ID
  • 导致该问题的常见原因是:
    • 网络环境频繁变换,如公网 IP 更换
    • 操作失误,导致实际上根本没有保存登录状态(空的登录状态无法避免被胡桃识别)
      • 确认你的帐号已登录后,进入游戏
      • 关闭游戏后,确定游戏进程已关闭
      • 再次进行帐号检测,来添加登录状态

为什么程序会提示注册计划任务失败

使用管理员模式使用一次实时便笺后,胡桃的任务计划会被以管理员权限创建。当再次以非管理员模式启动胡桃时,程序在修改计划任务时会缺少权限。 继续使用管理员模式即可解决该问题。

为什么在开启代理后胡桃工具箱会没有网络连接

参考 HttpRequestException 错误 文档

为什么商店版本和侧载版本不会相互覆盖升级

  • 商店版本和侧载版本有不同的软件 ID,所以会被系统识别为不同的程序
  • 商店版的更新只会覆盖商店版应用;侧载版更新包只会更新侧载版应用
  • 在你的系统中,商店版的胡桃工具箱名称为 Snap Hutao,侧载版的名称为 胡桃
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/Gacha-system-and-export-principal.html b/en/advanced/Gacha-system-and-export-principal.html index 7e479f5ee..f11c68912 100644 --- a/en/advanced/Gacha-system-and-export-principal.html +++ b/en/advanced/Gacha-system-and-export-principal.html @@ -31,10 +31,10 @@ } - +

祈愿系统与导出原理

DGP-StudioFAQAbout 2 min

祈愿系统与导出原理

Gacha System and Principal

胡桃的祈愿系统相较 Snap Genshin 进行了整体架构上的重新设计。

本文将解释原神的祈愿记录机制和胡桃工具箱中祈愿导出功能的技术原理。

祈愿的获取

获取祈愿记录需要请求米哈游的API

关于此API, 有下列几个注意点

  • 通过米哈游服务器的API,只能查询到过去6个月内的祈愿记录
    • 这也是原神客户端中祈愿记录的来源
  • API存在请求速率限制,过快的请求会导致后续的请求失败,无法正常获取数据

为了请求此API,我们需要四个关键参数

  • 目前有下列几种方法可以获取这些参数
    • 遍历 Unity 的日志文件,查找用户打开的祈愿记录URL
    • 代理本机流量,筛选祈愿记录URL
    • 查找 CefBrowser 的浏览器缓存,找到祈愿记录URL
    • 对于包含了Stoken的Cookie,调用genAuthKey API,获取参数
    • 高级用户手动输入相关URL

在请求API后可以获取到零散的祈愿记录,在对其进行拼接后即可获得一份完整的祈愿记录列表

祈愿的存储

获得完整的祈愿记录列表后即可将其简单的序列化入本地数据库内,在需要时可从数据库中反序列化出来呈现给用户。

后续的对服务器的请求只需要对比数据库中的数据请求新增的部分即可。

这样,用户即可长期地保存帐号的完整祈愿记录

UIGF格式

统一可交换祈愿记录标准

Uniformed Interchangeable GachaLog Format standard

UIGF 是由我们联合其他祈愿记录应用倡导、推出并持久维护的一个统一的祈愿记录数据交换标准

标准化的数据格式将允许用户将祈愿记录在不同的转移数据,以使用到不同原神工具中各自的特色功能

祈愿的导入

在使用 UIGF 数据格式的前提下,可以导入曾在其他应用中储存的数据

胡桃在处理导入时,会对比本地储存中存在的最早的索引(ID)并仅导入较老的数据

(因为始终可以从米哈游的服务器获取较新的数据,这种原始数据有更高的精确度)

祈愿的导出

尚未实现,正在设计 已实装

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/exceptions.html b/en/advanced/exceptions.html index c60d29a7c..94acbbca8 100644 --- a/en/advanced/exceptions.html +++ b/en/advanced/exceptions.html @@ -31,10 +31,10 @@ } - +

Common Program Exceptions

DGP-StudioFAQAbout 1 min

Common Program Exceptions

该文档包含由用户端错误造成的问题 This document covers solutions of foreseeable client error

RuntimeEnvironmentException

  • Exception: RuntimeEnvironmentException
    • Hint: Unable to set registry key without enabling long path
  • Issue source: Windows long path limit is set to be limited at 256 characters by default
  • Solution: Download EnableLongPaths.zipopen in new window, unzip it and run .reg file as administrator

Return Code: -10001

  • This error comes directly from MiHoYo BBS, hints include
    • Return Code: -10001
    • Return Code: -100
  • Issue source
    1. Cookie expired
    2. Network error
    3. System time is not accurate
  • Solution
    1. 在帐号面板中,点击刷新 Cookie
    2. 删除帐号后重新添加米游社帐号
    3. 在系统设置中启用自动同步时间并立刻同步时间

HttpRequestException 元数据校验文件下载失败

403 (Forbidden)

解决方案:更新胡桃工具箱至最新版本open in new window

502 (Bad Gateway)

相关 Issue: https://github.com/DGP-Studio/Snap.Hutao/issues/100open in new window

当胡桃工具箱无法从远程服务器获取到必要资源时(通常是配置文件和图片缓存),会在用户界面抛出如下图所示的 HttpRequestException 错误。

HttpRequestException

当你遇到该情况,且已经确定本地网络没有互联网连接问题时,请检查是否启用了系统代理程序。如果是,请关闭。胡桃工具箱的远程服务器在全世界范围内都有类似的体验效果, 你无需为了胡桃工具箱的网络连接而使用代理网络。

如果系统代理是你的网络必须选项,请关闭系统代理而使用 TUN 模式代理;或者也可以通过 Windows 8 AppContainer Loopback Utilityopen in new window 解除 Windows APP Container Loopback 的限制open in new window

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/get-stoken-cookie-from-the-third-party.html b/en/advanced/get-stoken-cookie-from-the-third-party.html index 1771c3911..85870e7a5 100644 --- a/en/advanced/get-stoken-cookie-from-the-third-party.html +++ b/en/advanced/get-stoken-cookie-from-the-third-party.html @@ -31,10 +31,10 @@ } - +

使用第三方工具获取有 Stoken 的 cookie

DGP-StudioFAQ第三方工具About 2 min

使用第三方工具获取有 Stoken 的 cookie

Note

  • 以下步骤中涉及的软件、开源项目等资源均来源于互联网,与 DGP-Studio 无关
  • 本说明文档仅提供有关的解决思路,仅供学习使用,具体操作与操作后果与本项目无关

Android

Android 用户可以使用开源项目 GetToken 来获取包含 Stoken 字段的 cookie

GetToken 开源项目

  • GetToken 项目的发布会包含两个 apk 文件,两者最终效果相同。根据你的设备情况选择适合你的版本即可
    • app-release.apk 为一个 LSPosed 插件允许用户在官方米游社中使用 GetToken 功能
    • 名称以lspatched结尾的 apk 文件是一个已包含 GetToken 功能的修改版米游社程序
      • 你需要卸载官方版米游社以安装该版本的米游社
  • 启用插件或安装修改版米游社后打开米游社,在底栏点击"我的",然后登录您的通行证
  • 在右上角点击形如🔑形状的按钮
  • 点击勾选 Stoken 选项
  • 点击复制登录信息
  • 将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑
  • 胡桃工具箱中的账号登录位置,点击手动输入
  • 将之前获取到的 cookie 输入,此时即可完成登录

iOS

iOS 用户可以在 App Store 下载抓包软件 Stream 来获取包含 Stoken 字段的 cookie

  • 从 App Store 下载 Streamopen in new window
  • 对域名 api-takumi.mihoyo.com 进行抓包分析
  • 找到并复制带有 Stoken 的数据
    • 形如stuid=****;stoken=v2****;mid=****;
  • 将复制到的 Stoken 发送到已经安装了胡桃工具箱的电脑
  • 胡桃工具箱中的账号登录位置,点击手动输入
  • 将之前获取到的 cookie 输入,此时即可完成登录
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/index.html b/en/advanced/index.html index 5d52900c5..761ae4cc9 100644 --- a/en/advanced/index.html +++ b/en/advanced/index.html @@ -31,10 +31,10 @@ } - + - + diff --git a/en/advanced/known-issue.html b/en/advanced/known-issue.html index fba5c3c79..2723e0df4 100644 --- a/en/advanced/known-issue.html +++ b/en/advanced/known-issue.html @@ -31,10 +31,10 @@ } - +

已知问题

DGP-StudioFAQAbout 3 min

已知问题

该文档包含由程序错误造成的问题

#1 微软商店下载应用程序

该问题来源并非胡桃工具箱,属于外部问题 该问题通常仅出现在东亚地区的网络环境下

  • 发现于 2023/02/07
  • 无法从微软商店下载的原因在于微软在东亚的授权服务器 licensing.mp.microsoft.com 掉线。当你在商店上下载一个新应用时,这实际上是一个授权/购买的过程。 当授权服务出现问题时,自然不会再进入到下一步下载环节,这就导致了用户无法安装
    • 目前仅发现于微软商店新加坡授权服务器 52.137.108.250 出现了问题,所以你可以使用代理,切换到其它授权服务器,来实现下载。
  • 授权服务器问题 DGP-Studio已反馈给微软,等待解决。
  • 临时的解决方案:
    • 方法1
      • 使用UsbEAm Hosts Editoropen in new window
        • 在该工具箱内选择 Microsoft Store - 微软商店 中的 微软授权验证
        • 点击检测延迟
        • 选择一个对你而言延迟最低的服务器,选中后点击应用选中
        • 此时重启微软商店后,你应当可以下载应用了
        • 下载完成后,建议点击清除当前以删除对 Hosts 文件的修改
      • 如果你懒得下载,可以尝试将 licensing.mp.microsoft.com 通过修改 Hosts文件解析到以下 IP 地址之一 (收集于 UsbEAm Hosts Editor)
        • 124.108.22.138
        • 92.38.149.175
        • 141.147.180.87
        • 103.151.179.4
    • 方法2
      • 将系统的DNS服务器设置为4.2.2.1和4.2.2.2(完事后记得改回原本的设置)
    • 方法3

#2 服务器切换导致31-4302报错

该问题已于 1.4.15 版本修复,请及时更新

  • 使用高级启动器中的服务器切换功能时,可能会出现31-4302相关错误
  • 目前的临时解决方案:
    • 将原神截图目录中的服务器切换缓存目录删除

#3 任务栏右键菜单中没有快速启动游戏的入口

该问题已于 1.5.1 版本修复,请及时更新

  • 胡桃使用 Windows 提供的 JumpPath 接口来提供快速启动游戏菜单
    • 该接口需要用户在系统设置 -> 个性化 -> 开始 中启用在“开始”菜单或任务栏的跳转列表中以及资源管理器的“快速使用”中显示最近打开的项 (该设置系统默认开启)
  • 在下一版本,我们会使用 JumpTask 接口来代替 JumpPath 接口,用户将不再需要上述设置选项开启

#4 无法使用管理员模式启动胡桃工具箱

该问题来源并非胡桃工具箱,属于外部问题 该问题仅存在于 Windows 10 低于22H2的版本中

  • 当用户系统版本低于 Windows Build 19045(即 Windows 10 22H2 版本)时,可能无法通过管理员模式启动胡桃工具箱
    • 该问题属于 Windows 内核级别问题,难以判断具体来源,故建议用户升级至 Windows 10 最新版本

#5 服务器转换卡死并持续写入的问题

相关 Issue:issues/566open in new window

该问题已在1.5.4 版本修复,请及时更新

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/mihoyo-risk-tip.html b/en/advanced/mihoyo-risk-tip.html index 7b55b62ff..a0eee68bb 100644 --- a/en/advanced/mihoyo-risk-tip.html +++ b/en/advanced/mihoyo-risk-tip.html @@ -31,10 +31,10 @@ } - +

账号风险及异常提示

DGP-StudioFAQAbout 2 min

账号风险及异常提示

image image

  • 当胡桃工具箱返回"账号有风险,请前往米游社查看"、"请求异常,请前往米游社对应功能页面查看"、"无感验证失败,请前往「米游社我的角色实时便笺」页面查看 "等错误提示时,代表当前的操作被米游社的验证系统所阻挡

  • 解决方式

    • 方法1 推荐
      • 自 1.4.15 版本起,在帐号面板内点击 刷新 Cookie 即可
    • 方法2:
      • 使用手机打开米游社App
      • 点击我的
      • 点击个人主页
      • 点击我的角色下方的角色标签
        • 点击全部角色
        • 或可以点击实时便笺窗体
      • 完成在此期间可能随机触发的验证流程(例如验证码),即可解决本问题。
        • 若此操作未触发验证流程,可重复进行多次,直到触发验证为止
        • 若始终无法触发验证,可修改密码

Tips

  • 若风险提示过于频繁,或始终无法触发验证,代表您的账号风险已过高,请修改密码,使多个设备同时登录的状态被重置

Note

  • 若您已绑定并使用可提供原神查询的Bot同时有多个设备使用同一个米哈游通行证,则本条目所示的情况,尤其无感验证将基本无法成功,这是米游社后端的安全性设计,不可避免,无法绕过
  • 若您本地有多个米哈游通行证同时频繁与米游社进行数据交互,则可能会被米游社在一定时间内封禁IP地址,这是米游社后端的安全性设计,不可避免,无法绕过
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/advanced/uninstall.html b/en/advanced/uninstall.html index aee0ca139..928cfe91d 100644 --- a/en/advanced/uninstall.html +++ b/en/advanced/uninstall.html @@ -31,11 +31,11 @@ } - +

Uninstall Snap Hutao

DGP-StudioFAQLess than 1 minute

Uninstall Snap Hutao

  • Clear Real-time Notes Scheduled Task
    • Before version 1.4.15, if not execute this step, scheduled task used to refresh real-time notes may not be deleted,and you may face this issue
      • Method 1 For version <= 1.4.15
        • Launch Snap Hutao, and go to settings page
        • Find Delete All Scheduled Task field, and click on Execute Button Requires administrator privileges
    • Method 2
      • Execute the following PowerShell script
        schtasks /delete /tn SnapHutaoDailyNoteRefreshTask
         
    • Method 3
      • Open Windows Scheduled Task Manager
      • Find SnapHutaoDailyNoteRefreshTask task and delete it
    • Method 4
      • Upgrade to1.5.1 version and open Real-time Notes
      • Close software and remove it
  • Remove the Software
    • Open Start Menu
    • Find or search Snap Hutao
    • Right click on it, and select Unstall
  • Remove data folder (If you want remove it completely)
    • Open and delete %userprofile%/Documents/Hutao
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.2
- + diff --git a/en/community.html b/en/community.html index 61e5228ea..4666766ac 100644 --- a/en/community.html +++ b/en/community.html @@ -5,7 +5,7 @@ - Join Community | Snap Hutao + Join Community | Snap Hutao