From e887e7e848dd86f81f2276a402666d67e46200a9 Mon Sep 17 00:00:00 2001 From: Masterain98 Date: Sat, 6 May 2023 10:27:16 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20DGP-Stud?= =?UTF-8?q?io/Snap.Hutao.Docs@3c083d9cfc0a6909ee1af751c0e05a4862835232=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/FAQ.html-0c609f8f.js | 1 - assets/FAQ.html-433e1117.js | 3 + assets/FAQ.html-699ab111.js | 3 - assets/FAQ.html-8134f784.js | 1 + assets/FAQ.html-886ce8cb.js | 3 + assets/FAQ.html-8b6fd38e.js | 1 - assets/FAQ.html-9fc18f8a.js | 3 - assets/FAQ.html-dcda3816.js | 1 + assets/{app-705aea89.js => app-ddd494ae.js} | 4 +- ...nent-9611ff8c.js => component-17d60fd4.js} | 2 +- en/advanced/FAQ.html | 10 +-- .../Gacha-system-and-export-principal.html | 4 +- en/advanced/exceptions.html | 4 +- ...et-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 | 4 +- 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 | 73 +++++++------------ 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 | 10 +-- .../Gacha-system-and-export-principal.html | 4 +- zh/advanced/exceptions.html | 4 +- ...et-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 | 4 +- 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 | 17 +---- 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 +- 85 files changed, 191 insertions(+), 221 deletions(-) delete mode 100644 assets/FAQ.html-0c609f8f.js create mode 100644 assets/FAQ.html-433e1117.js delete mode 100644 assets/FAQ.html-699ab111.js create mode 100644 assets/FAQ.html-8134f784.js create mode 100644 assets/FAQ.html-886ce8cb.js delete mode 100644 assets/FAQ.html-8b6fd38e.js delete mode 100644 assets/FAQ.html-9fc18f8a.js create mode 100644 assets/FAQ.html-dcda3816.js rename assets/{app-705aea89.js => app-ddd494ae.js} (99%) rename assets/{component-9611ff8c.js => component-17d60fd4.js} (99%) diff --git a/404.html b/404.html index e4ed02820..a8ce2059e 100644 --- a/404.html +++ b/404.html @@ -31,10 +31,10 @@ } - + -

404

Page not found

There’s nothing here.

- +

404

Page not found

How did we get here?

+ diff --git a/assets/FAQ.html-0c609f8f.js b/assets/FAQ.html-0c609f8f.js deleted file mode 100644 index cf93329ee..000000000 --- a/assets/FAQ.html-0c609f8f.js +++ /dev/null @@ -1 +0,0 @@ -const t=JSON.parse('{"key":"v-1bd4ef83","path":"/en/advanced/FAQ.html","title":"FAQ","lang":"en-US","frontmatter":{"headerDepth":2,"icon":"ask","category":["FAQ"],"order":1,"description":"How to create desktop shortcut Community Power Thanks to solution provided by CzHUV (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12)。 Use Win+R to start run, in the win...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/advanced/FAQ.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/advanced/FAQ.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"How to create desktop shortcut Community Power Thanks to solution provided by CzHUV (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12)。 Use Win+R to start run, in the win..."}],["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-05-06T04:57:45.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-05-06T04:57:45.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-05-06T04:57:45.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"How to create desktop shortcut","slug":"how-to-create-desktop-shortcut","link":"#how-to-create-desktop-shortcut","children":[]},{"level":2,"title":"How to create desktop shortcut with Administrator privilege","slug":"how-to-create-desktop-shortcut-with-administrator-privilege","link":"#how-to-create-desktop-shortcut-with-administrator-privilege","children":[]},{"level":2,"title":"How to run Snap Hutao when Windows starts","slug":"how-to-run-snap-hutao-when-windows-starts","link":"#how-to-run-snap-hutao-when-windows-starts","children":[]},{"level":2,"title":"Use Snap Hutao to quick start the game","slug":"use-snap-hutao-to-quick-start-the-game","link":"#use-snap-hutao-to-quick-start-the-game","children":[]},{"level":2,"title":"Use Snap Hutao with Network Proxy","slug":"use-snap-hutao-with-network-proxy","link":"#use-snap-hutao-with-network-proxy","children":[]},{"level":2,"title":"为什么在设置中点击修改游戏路径无效","slug":"为什么在设置中点击修改游戏路径无效","link":"#为什么在设置中点击修改游戏路径无效","children":[]},{"level":2,"title":"为什么程序会出现乱码现象","slug":"为什么程序会出现乱码现象","link":"#为什么程序会出现乱码现象","children":[]},{"level":2,"title":"为什么解锁帧率后使用心海时出现掉帧","slug":"为什么解锁帧率后使用心海时出现掉帧","link":"#为什么解锁帧率后使用心海时出现掉帧","children":[]},{"level":2,"title":"为什么会弹出需要使用新应用以打开的对话框","slug":"为什么会弹出需要使用新应用以打开的对话框","link":"#为什么会弹出需要使用新应用以打开的对话框","children":[]},{"level":2,"title":"为什么米游社帐号登录状态经常失效,添加的帐号消失","slug":"为什么米游社帐号登录状态经常失效-添加的帐号消失","link":"#为什么米游社帐号登录状态经常失效-添加的帐号消失","children":[]},{"level":2,"title":"为什么游戏登录状态会失效,导致切换帐号功能无效","slug":"为什么游戏登录状态会失效-导致切换帐号功能无效","link":"#为什么游戏登录状态会失效-导致切换帐号功能无效","children":[]},{"level":2,"title":"为什么程序会提示注册计划任务失败","slug":"为什么程序会提示注册计划任务失败","link":"#为什么程序会提示注册计划任务失败","children":[]},{"level":2,"title":"为什么在开启代理后胡桃工具箱会没有网络连接","slug":"为什么在开启代理后胡桃工具箱会没有网络连接","link":"#为什么在开启代理后胡桃工具箱会没有网络连接","children":[]},{"level":2,"title":"为什么商店版本和侧载版本不会相互覆盖升级","slug":"为什么商店版本和侧载版本不会相互覆盖升级","link":"#为什么商店版本和侧载版本不会相互覆盖升级","children":[]}],"git":{"createdTime":1679108735000,"updatedTime":1683349065000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2},{"name":"Mr.Hope","email":"mister-hope@outlook.com","commits":1}]},"readingTime":{"minutes":4.23,"words":1268},"filePathRelative":"en/advanced/FAQ.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data}; diff --git a/assets/FAQ.html-433e1117.js b/assets/FAQ.html-433e1117.js new file mode 100644 index 000000000..45c09583f --- /dev/null +++ b/assets/FAQ.html-433e1117.js @@ -0,0 +1,3 @@ +import{_ as r,Y as d,Z as h,$ as e,a0 as l,a1 as o,a2 as a,a3 as n,F as s}from"./framework-8be3ab77.js";const c={},u=e("h1",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题","aria-hidden":"true"},"#"),l(" 常见问题")],-1),_=e("h2",{id:"如何创建胡桃的桌面快捷方式",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#如何创建胡桃的桌面快捷方式","aria-hidden":"true"},"#"),l(" 如何创建胡桃的桌面快捷方式")],-1),p={class:"hint-container tip"},g=e("p",{class:"hint-container-title"},"社区力量",-1),f={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},m=n('

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

',2),b={class:"hint-container tip"},S=e("p",{class:"hint-container-title"},"社区力量",-1),x={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/17",target:"_blank",rel:"noopener noreferrer"},k=e("p",null,"基本原理:使用下方的 PowerShell 脚本可以以管理员方式运行胡桃",-1),P=e("div",{class:"language-PowerShell","data-ext":"PowerShell"},[e("pre",{class:"language-PowerShell"},[e("code",null,`Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas +`)])],-1),w={href:"https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico",target:"_blank",rel:"noopener noreferrer"},v=e("li",null,[l("在桌面点击右键,选择"),e("code",null,"新建"),l(" -> "),e("code",null,"快捷方式")],-1),C=e("li",null,[l("在"),e("code",null,"请键入对象的位置"),l("中直接输入:")],-1),D=n(`
  powershell -Command "Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
+

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

`,3),H={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},A=e("li",null,[l("设置一个"),e("strong",null,"计划任务程序"),l("令上述批处理文件开机自启,或将上述批处理文件加入"),e("strong",null,"启动项"),l("中")],-1),F=e("li",null,"或有其他令胡桃工具箱可开机自启的思路,可自行探索",-1),N=n('

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

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

',3),y=e("h2",{id:"为什么程序会出现乱码现象",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么程序会出现乱码现象","aria-hidden":"true"},"#"),l(" 为什么程序会出现乱码现象")],-1),z=e("li",null,[l("当用户在 Windows 10 下使用胡桃且发现有乱码情况时: "),e("ul",null,[e("li",null,[l("可以下载 "),e("code",null,"Segoe Fluent Icons"),l("字体")]),e("li",null,[l("安装时选择"),e("code",null,"为系统所有用户安装"),l(",即可解决问题")])])],-1),G={href:"https://aka.ms/SegoeFluentIcons",target:"_blank",rel:"noopener noreferrer"},L=e("h2",{id:"为什么会弹出需要使用新应用以打开的对话框",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么会弹出需要使用新应用以打开的对话框","aria-hidden":"true"},"#"),l(" 为什么会弹出需要使用新应用以打开的对话框")],-1),I=e("p",null,[e("img",{src:"https://img.alicdn.com/imgextra/i3/1797064093/O1CN01b3j0eY1g6duBXLJXg_!!1797064093.jpg_.webp",alt:"uninstall-error",loading:"lazy"})],-1),R=e("p",null,[l("如在卸载胡桃工具箱后出现如上图所示的"),e("code",null,"需要使用新应用以打开此 hutao 链接"),l(",说明没有按文档要求在卸载前清除实时便笺定时任务。 请根据文档在设置中清除定时任务后再卸载胡桃工具箱。")],-1),j={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/18",target:"_blank",rel:"noopener noreferrer"},V=e("h2",{id:"为什么米游社帐号登录状态经常失效-添加的帐号消失",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么米游社帐号登录状态经常失效-添加的帐号消失","aria-hidden":"true"},"#"),l(" 为什么米游社帐号登录状态经常失效,添加的帐号消失")],-1),q=e("li",null,"我们通过储存帐号的米游社 Cookie 来维持登录状态。",-1),B=e("li",null,[l("但是当用户在浏览器或其它设备上"),e("strong",null,"注销帐号"),l("后, 维持登录状态的 Cookie 将"),e("strong",null,"失效"),l("。")],-1),E=e("li",null,"这会导致胡桃工具箱上的米游社帐号在启动后被自动移除。",-1),O=e("li",null,"此情况也可能因为网络连接问题导致无法检查 Cookie 有效性,故出现此情况后请优先重启胡桃工具箱。",-1),Q=e("li",null,"自 1.4.15 版本起,你可以通过在帐号面板中刷新 Cookie 来刷新登录状态",-1),W=n('

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

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

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

安装进度卡在“正在安装所需框架”(一个可能的情况为卡在 15%)

',5),J=e("li",null,"这可能是因为你的系统无法自动安装框架,通常是网络或者 windows update 组件导致,这类问题请到微软社区提问",-1),U={href:"https://d.hut.ao/releases/Dependency",target:"_blank",rel:"noopener noreferrer"};function X(Y,M){const t=s("ExternalLinkIcon"),i=s("RouterLink");return d(),h("div",null,[u,_,e("div",p,[g,e("p",null,[l("感谢 "),e("a",f,[l("CzHUV 提供的解决方案"),o(t)])])]),m,e("div",b,[S,e("p",null,[l("感谢 "),e("a",x,[l("Parsifa1 提供的解决方案"),o(t)])])]),k,P,e("ul",null,[e("li",null,[l("保存胡桃工具箱的 Logo 资源 "),e("ul",null,[e("li",null,[l("你可以点击"),e("a",w,[l("这里"),o(t)]),l("下载")])])]),v,C]),D,e("ul",null,[e("li",null,[l("请参考如下思路 "),e("ul",null,[e("li",null,[l("可以自行创建一个批处理文件,内容参考"),e("a",H,[l("此 issue"),o(t)]),l("中,令胡桃以管理员模式直接运行的命令。")]),A])]),F]),N,e("p",null,[l("参考 "),o(i,{to:"/zh/advanced/exceptions.html#httprequestexception"},{default:a(()=>[l("HttpRequestException 错误")]),_:1}),l(" 文档")]),y,e("ul",null,[z,e("li",null,[l("您可以从 "),e("a",G,[l("微软官方"),o(t)]),l("下载到该字体文件")])]),L,I,R,e("ul",null,[e("li",null,[l("如果你在系统定时任务中找不到胡桃的定时任务,但问题仍然出现,请参考"),e("a",j,[l("这份文档"),o(t)]),l("来解决")])]),V,e("ul",null,[q,B,E,O,e("li",null,[l("自 2022 年 10 月起,米游社极大地提高了账号被判定为有风险的概率,"),o(i,{to:"/zh/advanced/mihoyo-risk-tip.html"},{default:a(()=>[l("账号有风险")]),_:1}),l("时亦会令 Cookie 无法被识别为有效状态")]),Q]),W,e("ul",null,[J,e("li",null,[l("也可以选择手动安装 "),e("a",U,[l("胡桃的相关依赖"),o(t)]),l("尝试解决")])])])}const Z=r(c,[["render",X],["__file","FAQ.html.vue"]]);export{Z as default}; diff --git a/assets/FAQ.html-699ab111.js b/assets/FAQ.html-699ab111.js deleted file mode 100644 index 51b914c37..000000000 --- a/assets/FAQ.html-699ab111.js +++ /dev/null @@ -1,3 +0,0 @@ -import{_ as r,Y as d,Z as h,$ as e,a0 as l,a1 as t,a2 as a,a3 as i,F as s}from"./framework-8be3ab77.js";const c={},u=e("h1",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题","aria-hidden":"true"},"#"),l(" 常见问题")],-1),_=e("h2",{id:"如何创建胡桃的桌面快捷方式",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#如何创建胡桃的桌面快捷方式","aria-hidden":"true"},"#"),l(" 如何创建胡桃的桌面快捷方式")],-1),p={class:"hint-container tip"},g=e("p",{class:"hint-container-title"},"社区力量",-1),f={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},b=i('

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

',2),m={class:"hint-container tip"},x=e("p",{class:"hint-container-title"},"社区力量",-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/17",target:"_blank",rel:"noopener noreferrer"},k=e("p",null,"基本原理:使用下方的 PowerShell 脚本可以以管理员方式运行胡桃",-1),w=e("div",{class:"language-PowerShell","data-ext":"PowerShell"},[e("pre",{class:"language-PowerShell"},[e("code",null,`Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas -`)])],-1),P={href:"https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico",target:"_blank",rel:"noopener noreferrer"},D=e("li",null,[l("在桌面点击右键,选择"),e("code",null,"新建"),l(" -> "),e("code",null,"快捷方式")],-1),H=e("li",null,[l("在"),e("code",null,"请键入对象的位置"),l("中直接输入:")],-1),v=i(`
  powershell -Command "Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
-

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

`,3),C={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},A=e("li",null,[l("设置一个"),e("strong",null,"计划任务程序"),l("令上述批处理文件开机自启,或将上述批处理文件加入"),e("strong",null,"启动项"),l("中")],-1),G=e("li",null,"或有其他令胡桃工具箱可开机自启的思路,可自行探索",-1),z=i('

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

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

',3),F=e("h2",{id:"为什么在设置中点击修改游戏路径无效",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么在设置中点击修改游戏路径无效","aria-hidden":"true"},"#"),l(" 为什么在设置中点击修改游戏路径无效")],-1),I=e("p",null,"特定系统版本的用户,由于微软对文件选择对话框的 COM 实现的差异,会存在点击按钮后无响应的问题。",-1),N={href:"https://github.com/microsoft/WindowsAppSDK/issues/2931",target:"_blank",rel:"noopener noreferrer"},y=e("h2",{id:"为什么程序会出现乱码现象",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么程序会出现乱码现象","aria-hidden":"true"},"#"),l(" 为什么程序会出现乱码现象")],-1),L=e("li",null,[l("当用户在 Windows 10 下使用胡桃且发现有乱码情况时: "),e("ul",null,[e("li",null,[l("可以下载 "),e("code",null,"Segoe Fluent Icons"),l("字体")]),e("li",null,[l("安装时选择"),e("code",null,"为系统所有用户安装"),l(",即可解决问题")])])],-1),R={href:"https://aka.ms/SegoeFluentIcons",target:"_blank",rel:"noopener noreferrer"},q=i('

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

原神的 BUG,和我们没关系

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

uninstall-error

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

',5),j={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/18",target:"_blank",rel:"noopener noreferrer"},B=e("h2",{id:"为什么米游社帐号登录状态经常失效-添加的帐号消失",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么米游社帐号登录状态经常失效-添加的帐号消失","aria-hidden":"true"},"#"),l(" 为什么米游社帐号登录状态经常失效,添加的帐号消失")],-1),E=e("li",null,"我们通过储存帐号的米游社 Cookie 来维持登录状态。",-1),V=e("li",null,[l("但是当用户在浏览器或其它设备上"),e("strong",null,"注销帐号"),l("后, 维持登录状态的 Cookie 将"),e("strong",null,"失效"),l("。")],-1),O=e("li",null,"这会导致胡桃工具箱上的米游社帐号在启动后被自动移除。",-1),W=e("li",null,"此情况也可能因为网络连接问题导致无法检查 Cookie 有效性,故出现此情况后请优先重启胡桃工具箱。",-1),Q=e("li",null,"自 1.4.15 版本起,你可以通过在帐号面板中刷新 Cookie 来刷新登录状态",-1),U=i('

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

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

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

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

',5),J=i('

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

安装进度卡在“正在安装所需框架”(一个可能的情况为卡在 15%)

',3),M=e("li",null,"这可能是因为你的系统无法自动安装框架,通常是网络或者 windows update 组件导致,这类问题请到微软社区提问",-1),X={href:"https://d.hut.ao/releases/Dependency",target:"_blank",rel:"noopener noreferrer"};function Y(K,T){const o=s("ExternalLinkIcon"),n=s("RouterLink");return d(),h("div",null,[u,_,e("div",p,[g,e("p",null,[l("感谢 "),e("a",f,[l("CzHUV 提供的解决方案"),t(o)])])]),b,e("div",m,[x,e("p",null,[l("感谢 "),e("a",S,[l("Parsifa1 提供的解决方案"),t(o)])])]),k,w,e("ul",null,[e("li",null,[l("保存胡桃工具箱的 Logo 资源 "),e("ul",null,[e("li",null,[l("你可以点击"),e("a",P,[l("这里"),t(o)]),l("下载")])])]),D,H]),v,e("ul",null,[e("li",null,[l("请参考如下思路 "),e("ul",null,[e("li",null,[l("可以自行创建一个批处理文件,内容参考"),e("a",C,[l("此 issue"),t(o)]),l("中,令胡桃以管理员模式直接运行的命令。")]),A])]),G]),z,e("p",null,[l("参考 "),t(n,{to:"/zh/advanced/exceptions.html#httprequestexception"},{default:a(()=>[l("HttpRequestException 错误")]),_:1}),l(" 文档")]),F,I,e("p",null,[l("相关的 "),e("a",N,[l("Github Issue"),t(o)])]),y,e("ul",null,[L,e("li",null,[l("您可以从 "),e("a",R,[l("微软官方"),t(o)]),l("下载到该字体文件")])]),q,e("ul",null,[e("li",null,[l("如果你在系统定时任务中找不到胡桃的定时任务,但问题仍然出现,请参考"),e("a",j,[l("这份文档"),t(o)]),l("来解决")])]),B,e("ul",null,[E,V,O,W,e("li",null,[l("自 2022 年 10 月起,米游社极大地提高了账号被判定为有风险的概率,"),t(n,{to:"/zh/advanced/mihoyo-risk-tip.html"},{default:a(()=>[l("账号有风险")]),_:1}),l("时亦会令 Cookie 无法被识别为有效状态")]),Q]),U,e("p",null,[l("参考 "),t(n,{to:"/zh/advanced/exceptions.html#httprequestexception"},{default:a(()=>[l("HttpRequestException 错误")]),_:1}),l(" 文档")]),J,e("ul",null,[M,e("li",null,[l("也可以选择手动安装 "),e("a",X,[l("胡桃的相关依赖"),t(o)]),l("尝试解决")])])])}const $=r(c,[["render",Y],["__file","FAQ.html.vue"]]);export{$ as default}; diff --git a/assets/FAQ.html-8134f784.js b/assets/FAQ.html-8134f784.js new file mode 100644 index 000000000..67222f910 --- /dev/null +++ b/assets/FAQ.html-8134f784.js @@ -0,0 +1 @@ +const e=JSON.parse('{"key":"v-4a1d3ac8","path":"/zh/advanced/FAQ.html","title":"常见问题","lang":"zh-CN","frontmatter":{"headerDepth":2,"icon":"ask","category":["FAQ"],"order":1,"redirectFrom":"/advanced/FAQ.html","description":"如何创建胡桃的桌面快捷方式 社区力量 感谢 CzHUV 提供的解决方案 (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12) Win+R 呼出运行窗口,在窗口中输入shell:AppsFolder; Run Windows 会弹出应用程序目录,找到胡桃工具箱; 右键,点击创建快捷方式; 根据...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/advanced/FAQ.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/advanced/FAQ.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"常见问题"}],["meta",{"property":"og:description","content":"如何创建胡桃的桌面快捷方式 社区力量 感谢 CzHUV 提供的解决方案 (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12) Win+R 呼出运行窗口,在窗口中输入shell:AppsFolder; Run Windows 会弹出应用程序目录,找到胡桃工具箱; 右键,点击创建快捷方式; 根据..."}],["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-05-06T10:26:04.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-05-06T10:26:04.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"常见问题\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-05-06T10:26:04.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"如何创建胡桃的桌面快捷方式","slug":"如何创建胡桃的桌面快捷方式","link":"#如何创建胡桃的桌面快捷方式","children":[]},{"level":2,"title":"如何添加一个默认以管理员方式运行的快捷方式","slug":"如何添加一个默认以管理员方式运行的快捷方式","link":"#如何添加一个默认以管理员方式运行的快捷方式","children":[]},{"level":2,"title":"如何让胡桃工具箱开机自动启动","slug":"如何让胡桃工具箱开机自动启动","link":"#如何让胡桃工具箱开机自动启动","children":[]},{"level":2,"title":"如何通过胡桃工具箱快速地启动游戏","slug":"如何通过胡桃工具箱快速地启动游戏","link":"#如何通过胡桃工具箱快速地启动游戏","children":[]},{"level":2,"title":"如何通过网络代理使用胡桃工具箱","slug":"如何通过网络代理使用胡桃工具箱","link":"#如何通过网络代理使用胡桃工具箱","children":[]},{"level":2,"title":"为什么程序会出现乱码现象","slug":"为什么程序会出现乱码现象","link":"#为什么程序会出现乱码现象","children":[]},{"level":2,"title":"为什么会弹出需要使用新应用以打开的对话框","slug":"为什么会弹出需要使用新应用以打开的对话框","link":"#为什么会弹出需要使用新应用以打开的对话框","children":[]},{"level":2,"title":"为什么米游社帐号登录状态经常失效,添加的帐号消失","slug":"为什么米游社帐号登录状态经常失效-添加的帐号消失","link":"#为什么米游社帐号登录状态经常失效-添加的帐号消失","children":[]},{"level":2,"title":"为什么游戏登录状态会失效,导致切换帐号功能无效","slug":"为什么游戏登录状态会失效-导致切换帐号功能无效","link":"#为什么游戏登录状态会失效-导致切换帐号功能无效","children":[]},{"level":2,"title":"为什么程序会提示注册计划任务失败","slug":"为什么程序会提示注册计划任务失败","link":"#为什么程序会提示注册计划任务失败","children":[]},{"level":2,"title":"安装进度卡在“正在安装所需框架”(一个可能的情况为卡在 15%)","slug":"安装进度卡在-正在安装所需框架-一个可能的情况为卡在-15","link":"#安装进度卡在-正在安装所需框架-一个可能的情况为卡在-15","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1683368764000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":4},{"name":"Mr.Hope","email":"mister-hope@outlook.com","commits":1},{"name":"白丰","email":"32367628+hoixding@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":4.61,"words":1384},"filePathRelative":"zh/advanced/FAQ.md","localizedDate":"2023年3月21日","autoDesc":true}');export{e as data}; diff --git a/assets/FAQ.html-886ce8cb.js b/assets/FAQ.html-886ce8cb.js new file mode 100644 index 000000000..d01911d49 --- /dev/null +++ b/assets/FAQ.html-886ce8cb.js @@ -0,0 +1,3 @@ +import{_ as r,Y as l,Z as u,$ as e,a0 as t,a1 as o,a2 as c,a3 as i,F as n}from"./framework-8be3ab77.js";const d={},h=e("h1",{id:"faq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faq","aria-hidden":"true"},"#"),t(" FAQ")],-1),p=e("h2",{id:"how-to-create-desktop-shortcut",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-create-desktop-shortcut","aria-hidden":"true"},"#"),t(" How to create desktop shortcut")],-1),g={class:"hint-container tip"},m=e("p",{class:"hint-container-title"},"Community Power",-1),w={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},f=i('

How to create desktop shortcut with Administrator privilege

',2),_={class:"hint-container tip"},k=e("p",{class:"hint-container-title"},"Community Power",-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/17",target:"_blank",rel:"noopener noreferrer"},b=e("p",null,"Fundamental principle: Use the following PowerShell scrip can run Snap Hutao with Administrator privilege",-1),y=e("div",{class:"language-PowerShell","data-ext":"PowerShell"},[e("pre",{class:"language-PowerShell"},[e("code",null,`Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas +`)])],-1),v={href:"https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico",target:"_blank",rel:"noopener noreferrer"},H=e("li",null,"It is expected to see a blank image in the browser",-1),x=e("li",null,[t("In your desktop, select "),e("code",null,"New"),t(" -> "),e("code",null,"Shortcut")],-1),P=e("li",null,[t("In the field of "),e("code",null,"Type the location of the item"),t(", input:")],-1),A=i(`
powershell -Command "Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
+

How to run Snap Hutao when Windows starts

This is a workaround solution

`,4),C={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},I=e("li",null,"Create a Scheduled Task, run the bat when Windows startup, or drag it to Windows start folder",-1),R=i('

Use Snap Hutao to quick start the game

Use Snap Hutao with Network Proxy

',3),F=e("h2",{id:"mojibake-in-snap-hutao",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mojibake-in-snap-hutao","aria-hidden":"true"},"#"),t(" Mojibake in Snap Hutao")],-1),L=e("li",null,[t("If you are using Windows 10 and see some button are not display properly "),e("ul",null,[e("li",null,[t("You can download "),e("code",null,"Segoe Fluent Icons"),t(" font")]),e("li",null,"You need to install it for all users")])],-1),N={href:"https://aka.ms/SegoeFluentIcons",target:"_blank",rel:"noopener noreferrer"},T=i('

MiHoYo BBS Account often Lose Login Status

Snap Hutao use saved MiHoYo BBS cookies to maintain login status. If you log out your account in your browser or other device, cookie will become invalid, and Snap Hutao will also be forced to log out, account will be automatically removed.

This problem may also be caused by network error, you should check this first; If it's not caused by network issue, you can use Refresh Cookie in the account panel; You can also remove your account manually and add it back again.

Since October 2022, MiYouShe (Chinese BBS) rapidly increased bot detection and may set users' account as under-risk status, this may cause Snap Hutao failed to check validation of the cookie

Game Account Lose Login Status in the Launcher

Snap Hutao Throws Failed to add Scheduled Task Error

If you are using Administrator privilege to start real-time notes feature, Snap Hutao's scheduled task will be created as Administrator role. When next time edit real-time notes settings without Administrator privilege, the program will have a lack of privilege to edit the settings and throw out this error.

Run Snap Hutao as Administrator to edit your settings to solve this issue.

',9);function D(Y,q){const a=n("ExternalLinkIcon"),s=n("RouterLink");return l(),u("div",null,[h,p,e("div",g,[m,e("p",null,[t("Thanks to "),e("a",w,[t("solution provided by CzHUV"),o(a)]),t("。")])]),f,e("div",_,[k,e("p",null,[t("Thanks to "),e("a",S,[t("solution provided by Parsifa1"),o(a)]),t("。")])]),b,y,e("ul",null,[e("li",null,[t("Save Snap Hutao logo to your device "),e("ul",null,[e("li",null,[t("You can find it "),e("a",v,[t("here"),o(a)])]),H])]),x,P]),A,e("ul",null,[e("li",null,[t("Create a bat file, content refers to "),e("a",C,[t("this Issue"),o(a)]),t(", it allows bat to run Snap Hutao with Administrator privilege")]),I]),R,e("p",null,[t("Refer to "),o(s,{to:"/en/advanced/exceptions.html#_502-bad-gateway"},{default:c(()=>[t("HttpRequestException Error (502)")]),_:1}),t(" document")]),F,e("ul",null,[L,e("li",null,[t("You can find this font from "),e("a",N,[t("Microsoft"),o(a)])])]),T])}const M=r(d,[["render",D],["__file","FAQ.html.vue"]]);export{M as default}; diff --git a/assets/FAQ.html-8b6fd38e.js b/assets/FAQ.html-8b6fd38e.js deleted file mode 100644 index f051dd390..000000000 --- a/assets/FAQ.html-8b6fd38e.js +++ /dev/null @@ -1 +0,0 @@ -const e=JSON.parse('{"key":"v-4a1d3ac8","path":"/zh/advanced/FAQ.html","title":"常见问题","lang":"zh-CN","frontmatter":{"headerDepth":2,"icon":"ask","category":["FAQ"],"order":1,"redirectFrom":"/advanced/FAQ.html","description":"如何创建胡桃的桌面快捷方式 社区力量 感谢 CzHUV 提供的解决方案 (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12) Win+R 呼出运行窗口,在窗口中输入shell:AppsFolder; Run Windows 会弹出应用程序目录,找到胡桃工具箱; 右键,点击创建快捷方式; 根据...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/advanced/FAQ.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/advanced/FAQ.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"常见问题"}],["meta",{"property":"og:description","content":"如何创建胡桃的桌面快捷方式 社区力量 感谢 CzHUV 提供的解决方案 (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12) Win+R 呼出运行窗口,在窗口中输入shell:AppsFolder; Run Windows 会弹出应用程序目录,找到胡桃工具箱; 右键,点击创建快捷方式; 根据..."}],["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-26T05:03:02.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-26T05:03:02.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"常见问题\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-26T05:03:02.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"如何创建胡桃的桌面快捷方式","slug":"如何创建胡桃的桌面快捷方式","link":"#如何创建胡桃的桌面快捷方式","children":[]},{"level":2,"title":"如何添加一个默认以管理员方式运行的快捷方式","slug":"如何添加一个默认以管理员方式运行的快捷方式","link":"#如何添加一个默认以管理员方式运行的快捷方式","children":[]},{"level":2,"title":"如何让胡桃工具箱开机自动启动","slug":"如何让胡桃工具箱开机自动启动","link":"#如何让胡桃工具箱开机自动启动","children":[]},{"level":2,"title":"如何通过胡桃工具箱快速地启动游戏","slug":"如何通过胡桃工具箱快速地启动游戏","link":"#如何通过胡桃工具箱快速地启动游戏","children":[]},{"level":2,"title":"如何通过网络代理使用胡桃工具箱","slug":"如何通过网络代理使用胡桃工具箱","link":"#如何通过网络代理使用胡桃工具箱","children":[]},{"level":2,"title":"为什么在设置中点击修改游戏路径无效","slug":"为什么在设置中点击修改游戏路径无效","link":"#为什么在设置中点击修改游戏路径无效","children":[]},{"level":2,"title":"为什么程序会出现乱码现象","slug":"为什么程序会出现乱码现象","link":"#为什么程序会出现乱码现象","children":[]},{"level":2,"title":"为什么解锁帧率后使用心海时出现掉帧","slug":"为什么解锁帧率后使用心海时出现掉帧","link":"#为什么解锁帧率后使用心海时出现掉帧","children":[]},{"level":2,"title":"为什么会弹出需要使用新应用以打开的对话框","slug":"为什么会弹出需要使用新应用以打开的对话框","link":"#为什么会弹出需要使用新应用以打开的对话框","children":[]},{"level":2,"title":"为什么米游社帐号登录状态经常失效,添加的帐号消失","slug":"为什么米游社帐号登录状态经常失效-添加的帐号消失","link":"#为什么米游社帐号登录状态经常失效-添加的帐号消失","children":[]},{"level":2,"title":"为什么游戏登录状态会失效,导致切换帐号功能无效","slug":"为什么游戏登录状态会失效-导致切换帐号功能无效","link":"#为什么游戏登录状态会失效-导致切换帐号功能无效","children":[]},{"level":2,"title":"为什么程序会提示注册计划任务失败","slug":"为什么程序会提示注册计划任务失败","link":"#为什么程序会提示注册计划任务失败","children":[]},{"level":2,"title":"为什么在开启代理后胡桃工具箱会没有网络连接","slug":"为什么在开启代理后胡桃工具箱会没有网络连接","link":"#为什么在开启代理后胡桃工具箱会没有网络连接","children":[]},{"level":2,"title":"为什么商店版本和侧载版本不会相互覆盖升级","slug":"为什么商店版本和侧载版本不会相互覆盖升级","link":"#为什么商店版本和侧载版本不会相互覆盖升级","children":[]},{"level":2,"title":"安装进度卡在“正在安装所需框架”(一个可能的情况为卡在 15%)","slug":"安装进度卡在-正在安装所需框架-一个可能的情况为卡在-15","link":"#安装进度卡在-正在安装所需框架-一个可能的情况为卡在-15","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1682485382000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3},{"name":"Mr.Hope","email":"mister-hope@outlook.com","commits":1},{"name":"白丰","email":"32367628+hoixding@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":5.39,"words":1616},"filePathRelative":"zh/advanced/FAQ.md","localizedDate":"2023年3月21日","autoDesc":true}');export{e as data}; diff --git a/assets/FAQ.html-9fc18f8a.js b/assets/FAQ.html-9fc18f8a.js deleted file mode 100644 index 444392580..000000000 --- a/assets/FAQ.html-9fc18f8a.js +++ /dev/null @@ -1,3 +0,0 @@ -import{_ as r,Y as h,Z as d,$ as e,a0 as t,a1 as o,a2 as l,a3 as i,F as s}from"./framework-8be3ab77.js";const c={},u=e("h1",{id:"faq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faq","aria-hidden":"true"},"#"),t(" FAQ")],-1),p=e("h2",{id:"how-to-create-desktop-shortcut",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-create-desktop-shortcut","aria-hidden":"true"},"#"),t(" How to create desktop shortcut")],-1),_={class:"hint-container tip"},g=e("p",{class:"hint-container-title"},"Community Power",-1),w={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12",target:"_blank",rel:"noopener noreferrer"},m=i('

How to create desktop shortcut with Administrator privilege

',2),f={class:"hint-container tip"},k=e("p",{class:"hint-container-title"},"Community Power",-1),S={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/17",target:"_blank",rel:"noopener noreferrer"},b=e("p",null,"Fundamental principle: Use the following PowerShell scrip can run Snap Hutao with Administrator privilege",-1),x=e("div",{class:"language-PowerShell","data-ext":"PowerShell"},[e("pre",{class:"language-PowerShell"},[e("code",null,`Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas -`)])],-1),H={href:"https://github.com/DGP-Studio/Snap.Hutao/raw/main/src/Snap.Hutao/Snap.Hutao/Assets/Logo.ico",target:"_blank",rel:"noopener noreferrer"},v=e("li",null,"It is expected to see a blank image in the browser",-1),P=e("li",null,[t("In your desktop, select "),e("code",null,"New"),t(" -> "),e("code",null,"Shortcut")],-1),y=e("li",null,[t("In the field of "),e("code",null,"Type the location of the item"),t(", input:")],-1),C=i(`
powershell -Command "Start-Process shell:AppsFolder\\60568DGPStudio.SnapHutao_ebfp3nyc27j86!App -verb runas
-

How to run Snap Hutao when Windows starts

This is a workaround solution

`,4),A={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/184",target:"_blank",rel:"noopener noreferrer"},I=e("li",null,"Create a Scheduled Task, run the bat when Windows startup, or drag it to Windows start folder",-1),D=i('

Use Snap Hutao to quick start the game

Use Snap Hutao with Network Proxy

',3),N=e("h2",{id:"为什么在设置中点击修改游戏路径无效",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么在设置中点击修改游戏路径无效","aria-hidden":"true"},"#"),t(" 为什么在设置中点击修改游戏路径无效")],-1),R=e("p",null,"特定系统版本的用户,由于微软对文件选择对话框的 COM 实现的差异,会存在点击按钮后无响应的问题。",-1),q={href:"https://github.com/microsoft/WindowsAppSDK/issues/2931",target:"_blank",rel:"noopener noreferrer"},F=e("h2",{id:"为什么程序会出现乱码现象",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么程序会出现乱码现象","aria-hidden":"true"},"#"),t(" 为什么程序会出现乱码现象")],-1),G=e("li",null,[t("当用户在 Windows 10 下使用胡桃且发现有乱码情况时: "),e("ul",null,[e("li",null,[t("可以下载 "),e("code",null,"Segoe Fluent Icons"),t("字体")]),e("li",null,[t("安装时选择"),e("code",null,"为系统所有用户安装"),t(",即可解决问题")])])],-1),L={href:"https://aka.ms/SegoeFluentIcons",target:"_blank",rel:"noopener noreferrer"},U=i('

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

原神的 BUG,和我们没关系

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

uninstall-error

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

',5),j={href:"https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/18",target:"_blank",rel:"noopener noreferrer"},z=e("h2",{id:"为什么米游社帐号登录状态经常失效-添加的帐号消失",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么米游社帐号登录状态经常失效-添加的帐号消失","aria-hidden":"true"},"#"),t(" 为什么米游社帐号登录状态经常失效,添加的帐号消失")],-1),E=e("li",null,"我们通过储存帐号的米游社 Cookie 来维持登录状态。",-1),T=e("li",null,[t("但是当用户在浏览器或其它设备上"),e("strong",null,"注销帐号"),t("后, 维持登录状态的 Cookie 将"),e("strong",null,"失效"),t("。")],-1),W=e("li",null,"这会导致胡桃工具箱上的米游社帐号在启动后被自动移除。",-1),B=e("li",null,"此情况也可能因为网络连接问题导致无法检查 Cookie 有效性,故出现此情况后请优先重启胡桃工具箱。",-1),V=e("li",null,"自 1.4.15 版本起,你可以通过在帐号面板中刷新 Cookie 来刷新登录状态",-1),O=i('

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

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

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

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

',5),Q=e("h2",{id:"为什么商店版本和侧载版本不会相互覆盖升级",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#为什么商店版本和侧载版本不会相互覆盖升级","aria-hidden":"true"},"#"),t(" 为什么商店版本和侧载版本不会相互覆盖升级")],-1),Y=e("ul",null,[e("li",null,"商店版本和侧载版本有不同的软件 ID,所以会被系统识别为不同的程序"),e("li",null,"商店版的更新只会覆盖商店版应用;侧载版更新包只会更新侧载版应用"),e("li",null,[t("在你的系统中,商店版的胡桃工具箱名称为 "),e("code",null,"Snap Hutao"),t(",侧载版的名称为 "),e("code",null,"胡桃")])],-1);function M(J,X){const a=s("ExternalLinkIcon"),n=s("RouterLink");return h(),d("div",null,[u,p,e("div",_,[g,e("p",null,[t("Thanks to "),e("a",w,[t("solution provided by CzHUV"),o(a)]),t("。")])]),m,e("div",f,[k,e("p",null,[t("Thanks to "),e("a",S,[t("solution provided by Parsifa1"),o(a)]),t("。")])]),b,x,e("ul",null,[e("li",null,[t("Save Snap Hutao logo to your device "),e("ul",null,[e("li",null,[t("You can find it "),e("a",H,[t("here"),o(a)])]),v])]),P,y]),C,e("ul",null,[e("li",null,[t("Create a bat file, content refers to "),e("a",A,[t("this Issue"),o(a)]),t(", it allows bat to run Snap Hutao with Administrator privilege")]),I]),D,e("p",null,[t("Refer to "),o(n,{to:"/en/advanced/exceptions.html#_502-bad-gateway"},{default:l(()=>[t("HttpRequestException Error (502)")]),_:1}),t(" document")]),N,R,e("p",null,[t("相关的 "),e("a",q,[t("Github Issue"),o(a)])]),F,e("ul",null,[G,e("li",null,[t("您可以从 "),e("a",L,[t("微软官方"),o(a)]),t("下载到该字体文件")])]),U,e("ul",null,[e("li",null,[t("如果你在系统定时任务中找不到胡桃的定时任务,但问题仍然出现,请参考"),e("a",j,[t("这份文档"),o(a)]),t("来解决")])]),z,e("ul",null,[E,T,W,B,e("li",null,[t("自 2022 年 10 月起,米游社极大地提高了账号被判定为有风险的概率,"),o(n,{to:"/en/advanced/mihoyo-risk-tip.html"},{default:l(()=>[t("账号有风险")]),_:1}),t("时亦会令 Cookie 无法被识别为有效状态")]),V]),O,e("p",null,[t("参考 "),o(n,{to:"/en/advanced/exceptions.html#httprequestexception"},{default:l(()=>[t("HttpRequestException 错误")]),_:1}),t(" 文档")]),Q,Y])}const Z=r(c,[["render",M],["__file","FAQ.html.vue"]]);export{Z as default}; diff --git a/assets/FAQ.html-dcda3816.js b/assets/FAQ.html-dcda3816.js new file mode 100644 index 000000000..4713a553c --- /dev/null +++ b/assets/FAQ.html-dcda3816.js @@ -0,0 +1 @@ +const t=JSON.parse('{"key":"v-1bd4ef83","path":"/en/advanced/FAQ.html","title":"FAQ","lang":"en-US","frontmatter":{"headerDepth":2,"icon":"ask","category":["FAQ"],"order":1,"description":"How to create desktop shortcut Community Power Thanks to solution provided by CzHUV (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12)。 Use Win+R to start run, in the win...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/advanced/FAQ.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/advanced/FAQ.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"How to create desktop shortcut Community Power Thanks to solution provided by CzHUV (https://github.com/DGP-Studio/Snap.Hutao.Docs/issues/12)。 Use Win+R to start run, in the win..."}],["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-05-06T10:25:42.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-05-06T10:25:42.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-05-06T10:25:42.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"How to create desktop shortcut","slug":"how-to-create-desktop-shortcut","link":"#how-to-create-desktop-shortcut","children":[]},{"level":2,"title":"How to create desktop shortcut with Administrator privilege","slug":"how-to-create-desktop-shortcut-with-administrator-privilege","link":"#how-to-create-desktop-shortcut-with-administrator-privilege","children":[]},{"level":2,"title":"How to run Snap Hutao when Windows starts","slug":"how-to-run-snap-hutao-when-windows-starts","link":"#how-to-run-snap-hutao-when-windows-starts","children":[]},{"level":2,"title":"Use Snap Hutao to quick start the game","slug":"use-snap-hutao-to-quick-start-the-game","link":"#use-snap-hutao-to-quick-start-the-game","children":[]},{"level":2,"title":"Use Snap Hutao with Network Proxy","slug":"use-snap-hutao-with-network-proxy","link":"#use-snap-hutao-with-network-proxy","children":[]},{"level":2,"title":"Mojibake in Snap Hutao","slug":"mojibake-in-snap-hutao","link":"#mojibake-in-snap-hutao","children":[]},{"level":2,"title":"MiHoYo BBS Account often Lose Login Status","slug":"mihoyo-bbs-account-often-lose-login-status","link":"#mihoyo-bbs-account-often-lose-login-status","children":[]},{"level":2,"title":"Game Account Lose Login Status in the Launcher","slug":"game-account-lose-login-status-in-the-launcher","link":"#game-account-lose-login-status-in-the-launcher","children":[]},{"level":2,"title":"Snap Hutao Throws Failed to add Scheduled Task Error","slug":"snap-hutao-throws-failed-to-add-scheduled-task-error","link":"#snap-hutao-throws-failed-to-add-scheduled-task-error","children":[]}],"git":{"createdTime":1679108735000,"updatedTime":1683368742000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3},{"name":"Mr.Hope","email":"mister-hope@outlook.com","commits":1}]},"readingTime":{"minutes":2.24,"words":673},"filePathRelative":"en/advanced/FAQ.md","localizedDate":"March 18, 2023","autoDesc":true}');export{t as data}; diff --git a/assets/app-705aea89.js b/assets/app-ddd494ae.js similarity index 99% rename from assets/app-705aea89.js rename to assets/app-ddd494ae.js index 9342df005..592a37284 100644 --- a/assets/app-705aea89.js +++ b/assets/app-ddd494ae.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-14e051e6.js"),[]).then(({data:e})=>e),"v-082946dd":()=>p(()=>import("./community.html-68bafb48.js"),[]).then(({data:e})=>e),"v-038e810e":()=>p(()=>import("./i18n.html-7bbd0925.js"),[]).then(({data:e})=>e),"v-586858ed":()=>p(()=>import("./project.html-62cdf008.js"),[]).then(({data:e})=>e),"v-0c01f6a4":()=>p(()=>import("./quick-start.html-1278591c.js"),[]).then(({data:e})=>e),"v-23b9870a":()=>p(()=>import("./side-load.html-e04e7234.js"),[]).then(({data:e})=>e),"v-7d29d7d8":()=>p(()=>import("./star-request.html-4cb88d32.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>p(()=>import("./index.html-8ce0ae99.js"),[]).then(({data:e})=>e),"v-5cad49b8":()=>p(()=>import("./community.html-91aa29f2.js"),[]).then(({data:e})=>e),"v-27c4e153":()=>p(()=>import("./i18n.html-1a20bdd4.js"),[]).then(({data:e})=>e),"v-6c355688":()=>p(()=>import("./project.html-2690409d.js"),[]).then(({data:e})=>e),"v-4f90aebf":()=>p(()=>import("./quick-start.html-21849a17.js"),[]).then(({data:e})=>e),"v-783d89e5":()=>p(()=>import("./side-load.html-9cc44de3.js"),[]).then(({data:e})=>e),"v-a91bb9c6":()=>p(()=>import("./star-request.html-2ad37f25.js"),[]).then(({data:e})=>e),"v-1bd4ef83":()=>p(()=>import("./FAQ.html-0c609f8f.js"),[]).then(({data:e})=>e),"v-5c3f740a":()=>p(()=>import("./Gacha-system-and-export-principal.html-cf17a2c3.js"),[]).then(({data:e})=>e),"v-5f449840":()=>p(()=>import("./index.html-63291408.js"),[]).then(({data:e})=>e),"v-1a028d16":()=>p(()=>import("./exceptions.html-076bd414.js"),[]).then(({data:e})=>e),"v-bd668802":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-7c0dd482.js"),[]).then(({data:e})=>e),"v-51647c4a":()=>p(()=>import("./known-issue.html-11edd8d4.js"),[]).then(({data:e})=>e),"v-031e5d68":()=>p(()=>import("./mihoyo-risk-tip.html-668c908e.js"),[]).then(({data:e})=>e),"v-bbae7dd2":()=>p(()=>import("./uninstall.html-e98d2832.js"),[]).then(({data:e})=>e),"v-30f089b6":()=>p(()=>import("./index.html-3f2e3060.js"),[]).then(({data:e})=>e),"v-699a13b0":()=>p(()=>import("./achievements.html-78ddcaf7.js"),[]).then(({data:e})=>e),"v-f3692af4":()=>p(()=>import("./character-data.html-60d2a792.js"),[]).then(({data:e})=>e),"v-10108380":()=>p(()=>import("./character-wiki.html-4470b662.js"),[]).then(({data:e})=>e),"v-83f6294a":()=>p(()=>import("./develop-plan.html-227c3b3d.js"),[]).then(({data:e})=>e),"v-7839fe83":()=>p(()=>import("./game-launcher.html-b96d3a85.js"),[]).then(({data:e})=>e),"v-0106e0dc":()=>p(()=>import("./hutao-API.html-1c0e0b3b.js"),[]).then(({data:e})=>e),"v-639b3ef9":()=>p(()=>import("./hutao-settings.html-502c2e74.js"),[]).then(({data:e})=>e),"v-03aaffb1":()=>p(()=>import("./mhy-account-switch.html-0c28a728.js"),[]).then(({data:e})=>e),"v-124743a4":()=>p(()=>import("./real-time-notes.html-7edaa452.js"),[]).then(({data:e})=>e),"v-e30b3c46":()=>p(()=>import("./weapon-wiki.html-fe328aeb.js"),[]).then(({data:e})=>e),"v-b8e3a2b8":()=>p(()=>import("./wish-export.html-2a78da4e.js"),[]).then(({data:e})=>e),"v-a4f9d2c4":()=>p(()=>import("./index.html-3e434e4b.js"),[]).then(({data:e})=>e),"v-45ceb024":()=>p(()=>import("./bug-report.html-be008402.js"),[]).then(({data:e})=>e),"v-b4085a44":()=>p(()=>import("./privacy-notice.html-43cfb1bb.js"),[]).then(({data:e})=>e),"v-b1c7a1c2":()=>p(()=>import("./tos.html-2697c794.js"),[]).then(({data:e})=>e),"v-52f43e3b":()=>p(()=>import("./update-log.html-d957ca1f.js"),[]).then(({data:e})=>e),"v-4a1d3ac8":()=>p(()=>import("./FAQ.html-8b6fd38e.js"),[]).then(({data:e})=>e),"v-b0dd6b00":()=>p(()=>import("./Gacha-system-and-export-principal.html-35e3a9ed.js"),[]).then(({data:e})=>e),"v-16d7d7b6":()=>p(()=>import("./index.html-a5246ba5.js"),[]).then(({data:e})=>e),"v-c8e5b2e0":()=>p(()=>import("./exceptions.html-83d6729e.js"),[]).then(({data:e})=>e),"v-6892c29a":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-a4274fa1.js"),[]).then(({data:e})=>e),"v-8ab89ae2":()=>p(()=>import("./known-issue.html-ef2dae3b.js"),[]).then(({data:e})=>e),"v-9cc22da6":()=>p(()=>import("./mihoyo-risk-tip.html-d5051ce5.js"),[]).then(({data:e})=>e),"v-a04a76c8":()=>p(()=>import("./uninstall.html-f3e75a7a.js"),[]).then(({data:e})=>e),"v-db2a9d92":()=>p(()=>import("./symposium1.html-c47ecab0.js"),[]).then(({data:e})=>e),"v-d7c0ec54":()=>p(()=>import("./symposium2.html-e492a642.js"),[]).then(({data:e})=>e),"v-0bbe1b6a":()=>p(()=>import("./index.html-b6121344.js"),[]).then(({data:e})=>e),"v-2841a60b":()=>p(()=>import("./achievements.html-50d91807.js"),[]).then(({data:e})=>e),"v-3957d221":()=>p(()=>import("./character-data.html-81f13ba6.js"),[]).then(({data:e})=>e),"v-a9f7b44a":()=>p(()=>import("./character-wiki.html-339c899e.js"),[]).then(({data:e})=>e),"v-7cac7db6":()=>p(()=>import("./develop-plan.html-11e50b04.js"),[]).then(({data:e})=>e),"v-e2f690f0":()=>p(()=>import("./game-launcher.html-b635d67c.js"),[]).then(({data:e})=>e),"v-0eb8e461":()=>p(()=>import("./hutao-API.html-dcecab36.js"),[]).then(({data:e})=>e),"v-16a7a694":()=>p(()=>import("./hutao-settings.html-262ba592.js"),[]).then(({data:e})=>e),"v-04b421cc":()=>p(()=>import("./mhy-account-switch.html-3c818870.js"),[]).then(({data:e})=>e),"v-b5462c1a":()=>p(()=>import("./real-time-notes.html-33dada16.js"),[]).then(({data:e})=>e),"v-108ccfbc":()=>p(()=>import("./weapon-wiki.html-660adaba.js"),[]).then(({data:e})=>e),"v-0ccd64e9":()=>p(()=>import("./wish-export.html-d867b90a.js"),[]).then(({data:e})=>e),"v-c4bb0cba":()=>p(()=>import("./index.html-41be6e42.js"),[]).then(({data:e})=>e),"v-c87f8b6e":()=>p(()=>import("./bug-report.html-f0d519b1.js"),[]).then(({data:e})=>e),"v-70e6808e":()=>p(()=>import("./privacy-notice.html-50988b5a.js"),[]).then(({data:e})=>e),"v-647ebd24":()=>p(()=>import("./tos.html-09235935.js"),[]).then(({data:e})=>e),"v-119bd096":()=>p(()=>import("./update-log.html-e0177afb.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-5ec33057.js"),["assets/index.html-5ec33057.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-02184ed6.js"),["assets/i18n.html-02184ed6.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-77a2ea9d.js"),["assets/quick-start.html-77a2ea9d.js","assets/framework-8be3ab77.js"])),"v-23b9870a":b(()=>p(()=>import("./side-load.html-b81bb7fe.js"),["assets/side-load.html-b81bb7fe.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-7d14f03a.js"),["assets/index.html-7d14f03a.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-41eab0f0.js"),["assets/quick-start.html-41eab0f0.js","assets/framework-8be3ab77.js"])),"v-783d89e5":b(()=>p(()=>import("./side-load.html-33557d9b.js"),["assets/side-load.html-33557d9b.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-9fc18f8a.js"),["assets/FAQ.html-9fc18f8a.js","assets/framework-8be3ab77.js"])),"v-5c3f740a":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-c568d3b7.js"),["assets/Gacha-system-and-export-principal.html-c568d3b7.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-4ccb3608.js"),["assets/exceptions.html-4ccb3608.js","assets/framework-8be3ab77.js"])),"v-bd668802":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-2e6e77d4.js"),["assets/get-stoken-cookie-from-the-third-party.html-2e6e77d4.js","assets/framework-8be3ab77.js"])),"v-51647c4a":b(()=>p(()=>import("./known-issue.html-b46846cf.js"),["assets/known-issue.html-b46846cf.js","assets/framework-8be3ab77.js"])),"v-031e5d68":b(()=>p(()=>import("./mihoyo-risk-tip.html-86d7ea6f.js"),["assets/mihoyo-risk-tip.html-86d7ea6f.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-7d5d9071.js"),["assets/character-data.html-7d5d9071.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-9211d237.js"),["assets/develop-plan.html-9211d237.js","assets/framework-8be3ab77.js"])),"v-7839fe83":b(()=>p(()=>import("./game-launcher.html-a366b7c3.js"),["assets/game-launcher.html-a366b7c3.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-721aa8a3.js"),["assets/privacy-notice.html-721aa8a3.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-699ab111.js"),["assets/FAQ.html-699ab111.js","assets/framework-8be3ab77.js"])),"v-b0dd6b00":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-409f751b.js"),["assets/Gacha-system-and-export-principal.html-409f751b.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-3cca977e.js"),["assets/get-stoken-cookie-from-the-third-party.html-3cca977e.js","assets/framework-8be3ab77.js"])),"v-8ab89ae2":b(()=>p(()=>import("./known-issue.html-5513ab11.js"),["assets/known-issue.html-5513ab11.js","assets/framework-8be3ab77.js"])),"v-9cc22da6":b(()=>p(()=>import("./mihoyo-risk-tip.html-3363d750.js"),["assets/mihoyo-risk-tip.html-3363d750.js","assets/framework-8be3ab77.js"])),"v-a04a76c8":b(()=>p(()=>import("./uninstall.html-87cb053a.js"),["assets/uninstall.html-87cb053a.js","assets/framework-8be3ab77.js"])),"v-db2a9d92":b(()=>p(()=>import("./symposium1.html-a722d433.js"),["assets/symposium1.html-a722d433.js","assets/framework-8be3ab77.js"])),"v-d7c0ec54":b(()=>p(()=>import("./symposium2.html-4225d3ec.js"),["assets/symposium2.html-4225d3ec.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-2b4454b3.js"),["assets/achievements.html-2b4454b3.js","assets/framework-8be3ab77.js"])),"v-3957d221":b(()=>p(()=>import("./character-data.html-a55ab1ca.js"),["assets/character-data.html-a55ab1ca.js","assets/framework-8be3ab77.js"])),"v-a9f7b44a":b(()=>p(()=>import("./character-wiki.html-0486e3d4.js"),["assets/character-wiki.html-0486e3d4.js","assets/framework-8be3ab77.js"])),"v-7cac7db6":b(()=>p(()=>import("./develop-plan.html-1bdb5891.js"),["assets/develop-plan.html-1bdb5891.js","assets/framework-8be3ab77.js"])),"v-e2f690f0":b(()=>p(()=>import("./game-launcher.html-b7313ab4.js"),["assets/game-launcher.html-b7313ab4.js","assets/framework-8be3ab77.js"])),"v-0eb8e461":b(()=>p(()=>import("./hutao-API.html-12fc0e97.js"),["assets/hutao-API.html-12fc0e97.js","assets/framework-8be3ab77.js"])),"v-16a7a694":b(()=>p(()=>import("./hutao-settings.html-9e8d000d.js"),["assets/hutao-settings.html-9e8d000d.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-fb21ac9f.js"),["assets/wish-export.html-fb21ac9f.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-da9c9af6.js"),["assets/bug-report.html-da9c9af6.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-d453e8d3.js"),["assets/tos.html-d453e8d3.js","assets/framework-8be3ab77.js"])),"v-119bd096":b(()=>p(()=>import("./update-log.html-5aeeaa80.js"),["assets/update-log.html-5aeeaa80.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-14e051e6.js"),[]).then(({data:e})=>e),"v-082946dd":()=>p(()=>import("./community.html-68bafb48.js"),[]).then(({data:e})=>e),"v-038e810e":()=>p(()=>import("./i18n.html-7bbd0925.js"),[]).then(({data:e})=>e),"v-586858ed":()=>p(()=>import("./project.html-62cdf008.js"),[]).then(({data:e})=>e),"v-0c01f6a4":()=>p(()=>import("./quick-start.html-1278591c.js"),[]).then(({data:e})=>e),"v-23b9870a":()=>p(()=>import("./side-load.html-e04e7234.js"),[]).then(({data:e})=>e),"v-7d29d7d8":()=>p(()=>import("./star-request.html-4cb88d32.js"),[]).then(({data:e})=>e),"v-2d0ad528":()=>p(()=>import("./index.html-8ce0ae99.js"),[]).then(({data:e})=>e),"v-5cad49b8":()=>p(()=>import("./community.html-91aa29f2.js"),[]).then(({data:e})=>e),"v-27c4e153":()=>p(()=>import("./i18n.html-1a20bdd4.js"),[]).then(({data:e})=>e),"v-6c355688":()=>p(()=>import("./project.html-2690409d.js"),[]).then(({data:e})=>e),"v-4f90aebf":()=>p(()=>import("./quick-start.html-21849a17.js"),[]).then(({data:e})=>e),"v-783d89e5":()=>p(()=>import("./side-load.html-9cc44de3.js"),[]).then(({data:e})=>e),"v-a91bb9c6":()=>p(()=>import("./star-request.html-2ad37f25.js"),[]).then(({data:e})=>e),"v-1bd4ef83":()=>p(()=>import("./FAQ.html-dcda3816.js"),[]).then(({data:e})=>e),"v-5c3f740a":()=>p(()=>import("./Gacha-system-and-export-principal.html-cf17a2c3.js"),[]).then(({data:e})=>e),"v-5f449840":()=>p(()=>import("./index.html-63291408.js"),[]).then(({data:e})=>e),"v-1a028d16":()=>p(()=>import("./exceptions.html-076bd414.js"),[]).then(({data:e})=>e),"v-bd668802":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-7c0dd482.js"),[]).then(({data:e})=>e),"v-51647c4a":()=>p(()=>import("./known-issue.html-11edd8d4.js"),[]).then(({data:e})=>e),"v-031e5d68":()=>p(()=>import("./mihoyo-risk-tip.html-668c908e.js"),[]).then(({data:e})=>e),"v-bbae7dd2":()=>p(()=>import("./uninstall.html-e98d2832.js"),[]).then(({data:e})=>e),"v-30f089b6":()=>p(()=>import("./index.html-3f2e3060.js"),[]).then(({data:e})=>e),"v-699a13b0":()=>p(()=>import("./achievements.html-78ddcaf7.js"),[]).then(({data:e})=>e),"v-f3692af4":()=>p(()=>import("./character-data.html-60d2a792.js"),[]).then(({data:e})=>e),"v-10108380":()=>p(()=>import("./character-wiki.html-4470b662.js"),[]).then(({data:e})=>e),"v-83f6294a":()=>p(()=>import("./develop-plan.html-227c3b3d.js"),[]).then(({data:e})=>e),"v-7839fe83":()=>p(()=>import("./game-launcher.html-b96d3a85.js"),[]).then(({data:e})=>e),"v-0106e0dc":()=>p(()=>import("./hutao-API.html-1c0e0b3b.js"),[]).then(({data:e})=>e),"v-639b3ef9":()=>p(()=>import("./hutao-settings.html-502c2e74.js"),[]).then(({data:e})=>e),"v-03aaffb1":()=>p(()=>import("./mhy-account-switch.html-0c28a728.js"),[]).then(({data:e})=>e),"v-124743a4":()=>p(()=>import("./real-time-notes.html-7edaa452.js"),[]).then(({data:e})=>e),"v-e30b3c46":()=>p(()=>import("./weapon-wiki.html-fe328aeb.js"),[]).then(({data:e})=>e),"v-b8e3a2b8":()=>p(()=>import("./wish-export.html-2a78da4e.js"),[]).then(({data:e})=>e),"v-a4f9d2c4":()=>p(()=>import("./index.html-3e434e4b.js"),[]).then(({data:e})=>e),"v-45ceb024":()=>p(()=>import("./bug-report.html-be008402.js"),[]).then(({data:e})=>e),"v-b4085a44":()=>p(()=>import("./privacy-notice.html-43cfb1bb.js"),[]).then(({data:e})=>e),"v-b1c7a1c2":()=>p(()=>import("./tos.html-2697c794.js"),[]).then(({data:e})=>e),"v-52f43e3b":()=>p(()=>import("./update-log.html-d957ca1f.js"),[]).then(({data:e})=>e),"v-4a1d3ac8":()=>p(()=>import("./FAQ.html-8134f784.js"),[]).then(({data:e})=>e),"v-b0dd6b00":()=>p(()=>import("./Gacha-system-and-export-principal.html-35e3a9ed.js"),[]).then(({data:e})=>e),"v-16d7d7b6":()=>p(()=>import("./index.html-a5246ba5.js"),[]).then(({data:e})=>e),"v-c8e5b2e0":()=>p(()=>import("./exceptions.html-83d6729e.js"),[]).then(({data:e})=>e),"v-6892c29a":()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-a4274fa1.js"),[]).then(({data:e})=>e),"v-8ab89ae2":()=>p(()=>import("./known-issue.html-ef2dae3b.js"),[]).then(({data:e})=>e),"v-9cc22da6":()=>p(()=>import("./mihoyo-risk-tip.html-d5051ce5.js"),[]).then(({data:e})=>e),"v-a04a76c8":()=>p(()=>import("./uninstall.html-f3e75a7a.js"),[]).then(({data:e})=>e),"v-db2a9d92":()=>p(()=>import("./symposium1.html-c47ecab0.js"),[]).then(({data:e})=>e),"v-d7c0ec54":()=>p(()=>import("./symposium2.html-e492a642.js"),[]).then(({data:e})=>e),"v-0bbe1b6a":()=>p(()=>import("./index.html-b6121344.js"),[]).then(({data:e})=>e),"v-2841a60b":()=>p(()=>import("./achievements.html-50d91807.js"),[]).then(({data:e})=>e),"v-3957d221":()=>p(()=>import("./character-data.html-81f13ba6.js"),[]).then(({data:e})=>e),"v-a9f7b44a":()=>p(()=>import("./character-wiki.html-339c899e.js"),[]).then(({data:e})=>e),"v-7cac7db6":()=>p(()=>import("./develop-plan.html-11e50b04.js"),[]).then(({data:e})=>e),"v-e2f690f0":()=>p(()=>import("./game-launcher.html-b635d67c.js"),[]).then(({data:e})=>e),"v-0eb8e461":()=>p(()=>import("./hutao-API.html-dcecab36.js"),[]).then(({data:e})=>e),"v-16a7a694":()=>p(()=>import("./hutao-settings.html-262ba592.js"),[]).then(({data:e})=>e),"v-04b421cc":()=>p(()=>import("./mhy-account-switch.html-3c818870.js"),[]).then(({data:e})=>e),"v-b5462c1a":()=>p(()=>import("./real-time-notes.html-33dada16.js"),[]).then(({data:e})=>e),"v-108ccfbc":()=>p(()=>import("./weapon-wiki.html-660adaba.js"),[]).then(({data:e})=>e),"v-0ccd64e9":()=>p(()=>import("./wish-export.html-d867b90a.js"),[]).then(({data:e})=>e),"v-c4bb0cba":()=>p(()=>import("./index.html-41be6e42.js"),[]).then(({data:e})=>e),"v-c87f8b6e":()=>p(()=>import("./bug-report.html-f0d519b1.js"),[]).then(({data:e})=>e),"v-70e6808e":()=>p(()=>import("./privacy-notice.html-50988b5a.js"),[]).then(({data:e})=>e),"v-647ebd24":()=>p(()=>import("./tos.html-09235935.js"),[]).then(({data:e})=>e),"v-119bd096":()=>p(()=>import("./update-log.html-e0177afb.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-5ec33057.js"),["assets/index.html-5ec33057.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-02184ed6.js"),["assets/i18n.html-02184ed6.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-77a2ea9d.js"),["assets/quick-start.html-77a2ea9d.js","assets/framework-8be3ab77.js"])),"v-23b9870a":b(()=>p(()=>import("./side-load.html-b81bb7fe.js"),["assets/side-load.html-b81bb7fe.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-7d14f03a.js"),["assets/index.html-7d14f03a.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-41eab0f0.js"),["assets/quick-start.html-41eab0f0.js","assets/framework-8be3ab77.js"])),"v-783d89e5":b(()=>p(()=>import("./side-load.html-33557d9b.js"),["assets/side-load.html-33557d9b.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-886ce8cb.js"),["assets/FAQ.html-886ce8cb.js","assets/framework-8be3ab77.js"])),"v-5c3f740a":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-c568d3b7.js"),["assets/Gacha-system-and-export-principal.html-c568d3b7.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-4ccb3608.js"),["assets/exceptions.html-4ccb3608.js","assets/framework-8be3ab77.js"])),"v-bd668802":b(()=>p(()=>import("./get-stoken-cookie-from-the-third-party.html-2e6e77d4.js"),["assets/get-stoken-cookie-from-the-third-party.html-2e6e77d4.js","assets/framework-8be3ab77.js"])),"v-51647c4a":b(()=>p(()=>import("./known-issue.html-b46846cf.js"),["assets/known-issue.html-b46846cf.js","assets/framework-8be3ab77.js"])),"v-031e5d68":b(()=>p(()=>import("./mihoyo-risk-tip.html-86d7ea6f.js"),["assets/mihoyo-risk-tip.html-86d7ea6f.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-7d5d9071.js"),["assets/character-data.html-7d5d9071.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-9211d237.js"),["assets/develop-plan.html-9211d237.js","assets/framework-8be3ab77.js"])),"v-7839fe83":b(()=>p(()=>import("./game-launcher.html-a366b7c3.js"),["assets/game-launcher.html-a366b7c3.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-721aa8a3.js"),["assets/privacy-notice.html-721aa8a3.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-433e1117.js"),["assets/FAQ.html-433e1117.js","assets/framework-8be3ab77.js"])),"v-b0dd6b00":b(()=>p(()=>import("./Gacha-system-and-export-principal.html-409f751b.js"),["assets/Gacha-system-and-export-principal.html-409f751b.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-3cca977e.js"),["assets/get-stoken-cookie-from-the-third-party.html-3cca977e.js","assets/framework-8be3ab77.js"])),"v-8ab89ae2":b(()=>p(()=>import("./known-issue.html-5513ab11.js"),["assets/known-issue.html-5513ab11.js","assets/framework-8be3ab77.js"])),"v-9cc22da6":b(()=>p(()=>import("./mihoyo-risk-tip.html-3363d750.js"),["assets/mihoyo-risk-tip.html-3363d750.js","assets/framework-8be3ab77.js"])),"v-a04a76c8":b(()=>p(()=>import("./uninstall.html-87cb053a.js"),["assets/uninstall.html-87cb053a.js","assets/framework-8be3ab77.js"])),"v-db2a9d92":b(()=>p(()=>import("./symposium1.html-a722d433.js"),["assets/symposium1.html-a722d433.js","assets/framework-8be3ab77.js"])),"v-d7c0ec54":b(()=>p(()=>import("./symposium2.html-4225d3ec.js"),["assets/symposium2.html-4225d3ec.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-2b4454b3.js"),["assets/achievements.html-2b4454b3.js","assets/framework-8be3ab77.js"])),"v-3957d221":b(()=>p(()=>import("./character-data.html-a55ab1ca.js"),["assets/character-data.html-a55ab1ca.js","assets/framework-8be3ab77.js"])),"v-a9f7b44a":b(()=>p(()=>import("./character-wiki.html-0486e3d4.js"),["assets/character-wiki.html-0486e3d4.js","assets/framework-8be3ab77.js"])),"v-7cac7db6":b(()=>p(()=>import("./develop-plan.html-1bdb5891.js"),["assets/develop-plan.html-1bdb5891.js","assets/framework-8be3ab77.js"])),"v-e2f690f0":b(()=>p(()=>import("./game-launcher.html-b7313ab4.js"),["assets/game-launcher.html-b7313ab4.js","assets/framework-8be3ab77.js"])),"v-0eb8e461":b(()=>p(()=>import("./hutao-API.html-12fc0e97.js"),["assets/hutao-API.html-12fc0e97.js","assets/framework-8be3ab77.js"])),"v-16a7a694":b(()=>p(()=>import("./hutao-settings.html-9e8d000d.js"),["assets/hutao-settings.html-9e8d000d.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-fb21ac9f.js"),["assets/wish-export.html-fb21ac9f.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-da9c9af6.js"),["assets/bug-report.html-da9c9af6.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-d453e8d3.js"),["assets/tos.html-d453e8d3.js","assets/framework-8be3ab77.js"])),"v-119bd096":b(()=>p(()=>import("./update-log.html-5aeeaa80.js"),["assets/update-log.html-5aeeaa80.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"}],"sidebar":{"/zh/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project"},{"icon":"network","text":"国际化支持","link":"i18n"},{"icon":"play","text":"快速开始","link":"quick-start"},{"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"}],"sidebar":{"/en/":["",{"icon":"workingDirectory","text":"Project","link":"project"},{"icon":"network","text":"Localization","link":"i18n"},{"icon":"play","text":"Quick Start","link":"quick-start"},{"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-9611ff8c.js"),["assets/component-9611ff8c.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:"FAQ",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"}],"sidebar":{"/zh/":["",{"icon":"workingDirectory","text":"项目介绍","link":"project"},{"icon":"network","text":"国际化支持","link":"i18n"},{"icon":"play","text":"快速开始","link":"quick-start"},{"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"}],"sidebar":{"/en/":["",{"icon":"workingDirectory","text":"Project","link":"project"},{"icon":"network","text":"Localization","link":"i18n"},{"icon":"play","text":"Quick Start","link":"quick-start"},{"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-17d60fd4.js"),["assets/component-17d60fd4.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:"FAQ",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/component-9611ff8c.js b/assets/component-17d60fd4.js similarity index 99% rename from assets/component-9611ff8c.js rename to assets/component-17d60fd4.js index 64aec62b4..3a45d1f65 100644 --- a/assets/component-9611ff8c.js +++ b/assets/component-17d60fd4.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-705aea89.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-ddd494ae.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 0144c0d20..323a63000 100644 --- a/en/advanced/FAQ.html +++ b/en/advanced/FAQ.html @@ -5,7 +5,7 @@ - FAQ | Snap Hutao + FAQ | Snap Hutao