From cbef20febf7acea434bd8ce75c98225f277182d8 Mon Sep 17 00:00:00 2001 From: snowykami Date: Tue, 20 Aug 2024 12:39:11 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Liteyuki?= =?UTF-8?q?Studio/LiteyukiBot@598bff8c49a69982d3bd27773693ef108cfa0e54=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 ++-- ....html-C6dG-E3t.js => 404.html-CocDKFbA.js} | 2 +- ...D2HjRdYs.js => agreement.html-DTrW--oO.js} | 2 +- ...C8KanYPv.js => agreement.html-DgwwyIXl.js} | 2 +- assets/{app-vZ92a7EE.js => app-Bs1PeMf0.js} | 14 ++++----- ...1e_S.js => basic_command.html-CLFR4-SL.js} | 2 +- ...M4Pg.js => basic_command.html-Djt1jsoL.js} | 2 +- ...l-tCQiMn71.js => channel.html-CJlHQUyq.js} | 2 +- ...l-CGsdwmN6.js => channel.html-D7FTqSpu.js} | 2 +- ...ml-CwJze0QA.js => config.html-Bvi6ON-5.js} | 2 +- ...ml-BOHMkdM1.js => config.html-JHrVObO1.js} | 2 +- ...ml-BzXYK2Ho.js => config.html-jXXfcHdL.js} | 2 +- ...ml-D2KlS3qT.js => config.html-x2DggEEz.js} | 2 +- ...-DUbsFhna.js => dev_comm.html-DH1VjFpJ.js} | 2 +- ...-D-xI4P2w.js => dev_comm.html-Dffo7Ipz.js} | 2 +- ...3XWCVWY.js => dev_lyfunc.html-C1z3XK3f.js} | 2 +- ...l2KnV6y.js => dev_lyfunc.html-RUDtzk1B.js} | 2 +- ...0lnZ0.js => dev_lyplugin.html-CwQDqgqg.js} | 2 +- ...EiGFA.js => dev_lyplugin.html-Dzb4NNEu.js} | 2 +- ....js => dev_resource_pack.html-CT4UraRi.js} | 2 +- ....js => dev_resource_pack.html-hzjN8h_W.js} | 2 +- ...tml-JydFrDuG.js => event.html-CYw2tPLX.js} | 2 +- assets/event.html-ChvlMQKp.js | 21 +++++++++++++ ...tml-BXn7YCPg.js => event.html-DQw8buFO.js} | 2 +- assets/event.html-Q77pA76C.js | 13 -------- assets/event.html-bxn6cD_R.js | 13 -------- assets/event.html-d8RFoE2J.js | 21 +++++++++++++ ...XkUi7zDX.js => exception.html-BnPs2xtp.js} | 2 +- ...ClJ8F9fx.js => exception.html-DraJIKfM.js} | 2 +- ...Xf1U.js => extra_command.html-ByptD_MK.js} | 2 +- ...UV5q.js => extra_command.html-CqZWearh.js} | 2 +- ...tml-DvjHiWcM.js => fandq.html-CZwFx6EP.js} | 2 +- ...tml-zIUZzDyV.js => fandq.html-DwSlEl9h.js} | 2 +- ...tml-Bx9vRIyA.js => index.html-BG-OTJ01.js} | 2 +- ...tml-fA-OQ47B.js => index.html-BGLsk8LQ.js} | 2 +- ...tml-DkfxK4g6.js => index.html-BNS6aWZs.js} | 2 +- ...tml-CF1i9Rxy.js => index.html-Bom3tjBi.js} | 2 +- ...tml-Dag8AdTX.js => index.html-C-5_z4Ql.js} | 2 +- ...tml-BuABcCLO.js => index.html-CXXO6xcH.js} | 2 +- ...tml-D8TlmoJr.js => index.html-CcKUYTsl.js} | 2 +- ...tml-T2Cq0k1Z.js => index.html-CdM-GhBc.js} | 2 +- ...tml-Dp15VJld.js => index.html-CldB2gan.js} | 2 +- ...tml-z0ptraCT.js => index.html-CmLQE17j.js} | 2 +- ...tml-Cyz5iyY9.js => index.html-CydeTHZa.js} | 2 +- ...tml-CbUTp-1C.js => index.html-D9A3PrLB.js} | 2 +- ...tml-CwUoHcW6.js => index.html-D9fN6DeZ.js} | 2 +- ...tml-BUZ4bQPt.js => index.html-DSmJ2m9V.js} | 2 +- ...tml-Cq9Y7UTQ.js => index.html-DayvyYmV.js} | 2 +- ...tml-VwTwLeZn.js => index.html-DjMqCNCc.js} | 2 +- ...tml-CNC16hLe.js => index.html-DrSFzvRf.js} | 2 +- ...tml-BTwg4yiX.js => index.html-DrrAeUuB.js} | 2 +- ...tml-NBx4CAbe.js => index.html-JDKOSGWq.js} | 2 +- ...tml-Cl77tEdp.js => index.html-LtkmrGu9.js} | 2 +- ...tml-BdibGUlK.js => index.html-MivUrS-S.js} | 2 +- ...tml-CBIjm8lk.js => index.html-X4AQiuCY.js} | 2 +- ...tml-dx5NzQ5w.js => index.html-jXobCw6I.js} | 2 +- ...tml-Dp4Z-Qyz.js => index.html-ljg_PI1R.js} | 2 +- ...l-CNSU3Y5q.js => install.html-Byj8VUg-.js} | 2 +- ...l-B8qqv2TR.js => install.html-T5JrtwZR.js} | 2 +- ...-B83utQxg.js => lifespan.html-BThnlarw.js} | 2 +- ...-71k_dJCR.js => lifespan.html-DV2d0LE_.js} | 2 +- ...html-DweObU5b.js => load.html-BIgFYGDk.js} | 2 +- ...html-DkYkZ2D0.js => load.html-CgZzOXg3.js} | 2 +- ....html-ChaFmD0C.js => log.html-B6ne9LQi.js} | 2 +- ....html-C5iOBg0l.js => log.html-BWgq1I4q.js} | 2 +- ...l-DHo7L3O7.js => manager.html-BV5ldr2L.js} | 2 +- ...l-CLOHlB8W.js => manager.html-BkVFg96L.js} | 2 +- ...l-eWTfwa5M.js => manager.html-DgN4cRCp.js} | 2 +- ...l-Cb5JEiB_.js => manager.html-DprLOdHx.js} | 2 +- ...l-BbwXZeQG.js => matcher.html-BlyTwki1.js} | 2 +- ...l-DDe-pclc.js => matcher.html-DiZmNAY7.js} | 2 +- ...tml-CJGfdlS1.js => mkdoc.html-CRi0bBqT.js} | 2 +- ...tml-D97i_2kZ.js => mkdoc.html-DvuxL8et.js} | 2 +- ...tml-mG1yNru6.js => model.html-Bs0mM2km.js} | 2 +- ...tml-DERmi5kA.js => model.html-C1PYojDX.js} | 2 +- ...-BQLAVfLj.js => observer.html-C7rFMFl-.js} | 2 +- ...-Dmt-3WCR.js => observer.html-Dj-N0tMw.js} | 2 +- ...n.html-D9aaBFCR.js => on.html-BsRFg2Z3.js} | 2 +- ...n.html-BFzCvrae.js => on.html-Ce5mjVnc.js} | 2 +- ...ml-CwCk-kKv.js => plugin.html-BBrieOL3.js} | 2 +- ...ml-D0MVMBJ8.js => plugin.html-C8LvTzrt.js} | 2 +- ...ml-CQiVEPXJ.js => plugin.html-DYl5C-yG.js} | 2 +- ...ml-Dnmwrkym.js => plugin.html-OrnCCBoS.js} | 2 +- ...-D9Tzc1dy.js => resource.html-B-5sMHx4.js} | 2 +- ...-KZpSHE8r.js => resource.html-w4v4-ls4.js} | 2 +- ...html-2Zh9pGrd.js => rule.html-ZuLAFHMl.js} | 2 +- ...html-ksHsK-dy.js => rule.html-zZdLdX_D.js} | 2 +- ...l-BRlqilAT.js => session.html-DdxIkF5o.js} | 2 +- ...l-BQgzB68l.js => session.html-c_Rhlapx.js} | 2 +- ...l-CVHJw7IB.js => storage.html-BD-UMrDG.js} | 2 +- ...l-DUwq2EYM.js => storage.html-C3Od2hbX.js} | 2 +- ...tml-CC1uBq2F.js => utils.html-DIGgwcLa.js} | 2 +- ...tml-Bc62FQnv.js => utils.html-kScX1Uhd.js} | 2 +- deploy/config.html | 6 ++-- deploy/fandq.html | 6 ++-- deploy/index.html | 6 ++-- deploy/install.html | 6 ++-- dev/api/bot/index.html | 6 ++-- dev/api/bot/lifespan.html | 6 ++-- dev/api/comm/channel.html | 6 ++-- dev/api/comm/event.html | 6 ++-- dev/api/comm/index.html | 6 ++-- dev/api/comm/storage.html | 6 ++-- dev/api/config.html | 6 ++-- dev/api/core/index.html | 6 ++-- dev/api/core/manager.html | 6 ++-- dev/api/dev/index.html | 6 ++-- dev/api/dev/observer.html | 6 ++-- dev/api/dev/plugin.html | 6 ++-- dev/api/exception.html | 6 ++-- dev/api/index.html | 6 ++-- dev/api/log.html | 6 ++-- dev/api/message/event.html | 30 ++++++++++++------- dev/api/message/index.html | 6 ++-- dev/api/message/matcher.html | 6 ++-- dev/api/message/on.html | 6 ++-- dev/api/message/rule.html | 6 ++-- dev/api/message/session.html | 6 ++-- dev/api/mkdoc.html | 6 ++-- dev/api/plugin/index.html | 6 ++-- dev/api/plugin/load.html | 6 ++-- dev/api/plugin/manager.html | 6 ++-- dev/api/plugin/model.html | 6 ++-- dev/api/utils.html | 6 ++-- dev/dev_comm.html | 6 ++-- dev/dev_lyfunc.html | 6 ++-- dev/dev_lyplugin.html | 6 ++-- dev/dev_resource_pack.html | 6 ++-- dev/index.html | 6 ++-- en/deploy/config.html | 6 ++-- en/deploy/fandq.html | 6 ++-- en/deploy/index.html | 6 ++-- en/deploy/install.html | 6 ++-- en/dev/api/bot/index.html | 6 ++-- en/dev/api/bot/lifespan.html | 6 ++-- en/dev/api/comm/channel.html | 6 ++-- en/dev/api/comm/event.html | 6 ++-- en/dev/api/comm/index.html | 6 ++-- en/dev/api/comm/storage.html | 6 ++-- en/dev/api/config.html | 6 ++-- en/dev/api/core/index.html | 6 ++-- en/dev/api/core/manager.html | 6 ++-- en/dev/api/dev/index.html | 6 ++-- en/dev/api/dev/observer.html | 6 ++-- en/dev/api/dev/plugin.html | 6 ++-- en/dev/api/exception.html | 6 ++-- en/dev/api/index.html | 6 ++-- en/dev/api/log.html | 6 ++-- en/dev/api/message/event.html | 30 ++++++++++++------- en/dev/api/message/index.html | 6 ++-- en/dev/api/message/matcher.html | 6 ++-- en/dev/api/message/on.html | 6 ++-- en/dev/api/message/rule.html | 6 ++-- en/dev/api/message/session.html | 6 ++-- en/dev/api/mkdoc.html | 6 ++-- en/dev/api/plugin/index.html | 6 ++-- en/dev/api/plugin/load.html | 6 ++-- en/dev/api/plugin/manager.html | 6 ++-- en/dev/api/plugin/model.html | 6 ++-- en/dev/api/utils.html | 6 ++-- en/dev/dev_comm.html | 6 ++-- en/dev/dev_lyfunc.html | 6 ++-- en/dev/dev_lyplugin.html | 6 ++-- en/dev/dev_resource_pack.html | 6 ++-- en/dev/index.html | 6 ++-- en/index.html | 6 ++-- en/store/index.html | 6 ++-- en/store/plugin.html | 6 ++-- en/store/resource.html | 6 ++-- en/usage/agreement.html | 6 ++-- en/usage/basic_command.html | 6 ++-- en/usage/extra_command.html | 6 ++-- en/usage/index.html | 6 ++-- index.html | 6 ++-- store/index.html | 6 ++-- store/plugin.html | 6 ++-- store/resource.html | 6 ++-- usage/agreement.html | 6 ++-- usage/basic_command.html | 6 ++-- usage/extra_command.html | 6 ++-- usage/index.html | 6 ++-- 181 files changed, 435 insertions(+), 403 deletions(-) rename assets/{404.html-C6dG-E3t.js => 404.html-CocDKFbA.js} (93%) rename assets/{agreement.html-D2HjRdYs.js => agreement.html-DTrW--oO.js} (98%) rename assets/{agreement.html-C8KanYPv.js => agreement.html-DgwwyIXl.js} (98%) rename assets/{app-vZ92a7EE.js => app-Bs1PeMf0.js} (81%) rename assets/{basic_command.html-DF_b1e_S.js => basic_command.html-CLFR4-SL.js} (99%) rename assets/{basic_command.html-CEucM4Pg.js => basic_command.html-Djt1jsoL.js} (99%) rename assets/{channel.html-tCQiMn71.js => channel.html-CJlHQUyq.js} (99%) rename assets/{channel.html-CGsdwmN6.js => channel.html-D7FTqSpu.js} (99%) rename assets/{config.html-CwJze0QA.js => config.html-Bvi6ON-5.js} (98%) rename assets/{config.html-BOHMkdM1.js => config.html-JHrVObO1.js} (99%) rename assets/{config.html-BzXYK2Ho.js => config.html-jXXfcHdL.js} (99%) rename assets/{config.html-D2KlS3qT.js => config.html-x2DggEEz.js} (98%) rename assets/{dev_comm.html-DUbsFhna.js => dev_comm.html-DH1VjFpJ.js} (99%) rename assets/{dev_comm.html-D-xI4P2w.js => dev_comm.html-Dffo7Ipz.js} (99%) rename assets/{dev_lyfunc.html-D3XWCVWY.js => dev_lyfunc.html-C1z3XK3f.js} (99%) rename assets/{dev_lyfunc.html-Dl2KnV6y.js => dev_lyfunc.html-RUDtzk1B.js} (99%) rename assets/{dev_lyplugin.html-hnn0lnZ0.js => dev_lyplugin.html-CwQDqgqg.js} (99%) rename assets/{dev_lyplugin.html-BMREiGFA.js => dev_lyplugin.html-Dzb4NNEu.js} (99%) rename assets/{dev_resource_pack.html-Bw83tP6G.js => dev_resource_pack.html-CT4UraRi.js} (99%) rename assets/{dev_resource_pack.html-6plhb-8g.js => dev_resource_pack.html-hzjN8h_W.js} (99%) rename assets/{event.html-JydFrDuG.js => event.html-CYw2tPLX.js} (97%) create mode 100644 assets/event.html-ChvlMQKp.js rename assets/{event.html-BXn7YCPg.js => event.html-DQw8buFO.js} (97%) delete mode 100644 assets/event.html-Q77pA76C.js delete mode 100644 assets/event.html-bxn6cD_R.js create mode 100644 assets/event.html-d8RFoE2J.js rename assets/{exception.html-XkUi7zDX.js => exception.html-BnPs2xtp.js} (97%) rename assets/{exception.html-ClJ8F9fx.js => exception.html-DraJIKfM.js} (96%) rename assets/{extra_command.html-BByOXf1U.js => extra_command.html-ByptD_MK.js} (99%) rename assets/{extra_command.html-B7kzUV5q.js => extra_command.html-CqZWearh.js} (99%) rename assets/{fandq.html-DvjHiWcM.js => fandq.html-CZwFx6EP.js} (99%) rename assets/{fandq.html-zIUZzDyV.js => fandq.html-DwSlEl9h.js} (99%) rename assets/{index.html-Bx9vRIyA.js => index.html-BG-OTJ01.js} (98%) rename assets/{index.html-fA-OQ47B.js => index.html-BGLsk8LQ.js} (94%) rename assets/{index.html-DkfxK4g6.js => index.html-BNS6aWZs.js} (99%) rename assets/{index.html-CF1i9Rxy.js => index.html-Bom3tjBi.js} (95%) rename assets/{index.html-Dag8AdTX.js => index.html-C-5_z4Ql.js} (95%) rename assets/{index.html-BuABcCLO.js => index.html-CXXO6xcH.js} (98%) rename assets/{index.html-D8TlmoJr.js => index.html-CcKUYTsl.js} (95%) rename assets/{index.html-T2Cq0k1Z.js => index.html-CdM-GhBc.js} (95%) rename assets/{index.html-Dp15VJld.js => index.html-CldB2gan.js} (94%) rename assets/{index.html-z0ptraCT.js => index.html-CmLQE17j.js} (97%) rename assets/{index.html-Cyz5iyY9.js => index.html-CydeTHZa.js} (95%) rename assets/{index.html-CbUTp-1C.js => index.html-D9A3PrLB.js} (95%) rename assets/{index.html-CwUoHcW6.js => index.html-D9fN6DeZ.js} (94%) rename assets/{index.html-BUZ4bQPt.js => index.html-DSmJ2m9V.js} (95%) rename assets/{index.html-Cq9Y7UTQ.js => index.html-DayvyYmV.js} (96%) rename assets/{index.html-VwTwLeZn.js => index.html-DjMqCNCc.js} (94%) rename assets/{index.html-CNC16hLe.js => index.html-DrSFzvRf.js} (95%) rename assets/{index.html-BTwg4yiX.js => index.html-DrrAeUuB.js} (99%) rename assets/{index.html-NBx4CAbe.js => index.html-JDKOSGWq.js} (95%) rename assets/{index.html-Cl77tEdp.js => index.html-LtkmrGu9.js} (95%) rename assets/{index.html-BdibGUlK.js => index.html-MivUrS-S.js} (97%) rename assets/{index.html-CBIjm8lk.js => index.html-X4AQiuCY.js} (95%) rename assets/{index.html-dx5NzQ5w.js => index.html-jXobCw6I.js} (95%) rename assets/{index.html-Dp4Z-Qyz.js => index.html-ljg_PI1R.js} (95%) rename assets/{install.html-CNSU3Y5q.js => install.html-Byj8VUg-.js} (99%) rename assets/{install.html-B8qqv2TR.js => install.html-T5JrtwZR.js} (99%) rename assets/{lifespan.html-B83utQxg.js => lifespan.html-BThnlarw.js} (99%) rename assets/{lifespan.html-71k_dJCR.js => lifespan.html-DV2d0LE_.js} (99%) rename assets/{load.html-DweObU5b.js => load.html-BIgFYGDk.js} (99%) rename assets/{load.html-DkYkZ2D0.js => load.html-CgZzOXg3.js} (99%) rename assets/{log.html-ChaFmD0C.js => log.html-B6ne9LQi.js} (98%) rename assets/{log.html-C5iOBg0l.js => log.html-BWgq1I4q.js} (98%) rename assets/{manager.html-DHo7L3O7.js => manager.html-BV5ldr2L.js} (99%) rename assets/{manager.html-CLOHlB8W.js => manager.html-BkVFg96L.js} (96%) rename assets/{manager.html-eWTfwa5M.js => manager.html-DgN4cRCp.js} (99%) rename assets/{manager.html-Cb5JEiB_.js => manager.html-DprLOdHx.js} (95%) rename assets/{matcher.html-BbwXZeQG.js => matcher.html-BlyTwki1.js} (98%) rename assets/{matcher.html-DDe-pclc.js => matcher.html-DiZmNAY7.js} (98%) rename assets/{mkdoc.html-CJGfdlS1.js => mkdoc.html-CRi0bBqT.js} (99%) rename assets/{mkdoc.html-D97i_2kZ.js => mkdoc.html-DvuxL8et.js} (99%) rename assets/{model.html-mG1yNru6.js => model.html-Bs0mM2km.js} (99%) rename assets/{model.html-DERmi5kA.js => model.html-C1PYojDX.js} (99%) rename assets/{observer.html-BQLAVfLj.js => observer.html-C7rFMFl-.js} (99%) rename assets/{observer.html-Dmt-3WCR.js => observer.html-Dj-N0tMw.js} (99%) rename assets/{on.html-D9aaBFCR.js => on.html-BsRFg2Z3.js} (98%) rename assets/{on.html-BFzCvrae.js => on.html-Ce5mjVnc.js} (98%) rename assets/{plugin.html-CwCk-kKv.js => plugin.html-BBrieOL3.js} (98%) rename assets/{plugin.html-D0MVMBJ8.js => plugin.html-C8LvTzrt.js} (98%) rename assets/{plugin.html-CQiVEPXJ.js => plugin.html-DYl5C-yG.js} (96%) rename assets/{plugin.html-Dnmwrkym.js => plugin.html-OrnCCBoS.js} (96%) rename assets/{resource.html-D9Tzc1dy.js => resource.html-B-5sMHx4.js} (96%) rename assets/{resource.html-KZpSHE8r.js => resource.html-w4v4-ls4.js} (96%) rename assets/{rule.html-2Zh9pGrd.js => rule.html-ZuLAFHMl.js} (97%) rename assets/{rule.html-ksHsK-dy.js => rule.html-zZdLdX_D.js} (97%) rename assets/{session.html-BRlqilAT.js => session.html-DdxIkF5o.js} (95%) rename assets/{session.html-BQgzB68l.js => session.html-c_Rhlapx.js} (95%) rename assets/{storage.html-CVHJw7IB.js => storage.html-BD-UMrDG.js} (99%) rename assets/{storage.html-DUwq2EYM.js => storage.html-C3Od2hbX.js} (99%) rename assets/{utils.html-CC1uBq2F.js => utils.html-DIGgwcLa.js} (99%) rename assets/{utils.html-Bc62FQnv.js => utils.html-kScX1Uhd.js} (99%) diff --git a/404.html b/404.html index 828ad111..fdd540b7 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

404

页面不存在

我们是怎么来到这儿的?

- + diff --git a/assets/404.html-C6dG-E3t.js b/assets/404.html-CocDKFbA.js similarity index 93% rename from assets/404.html-C6dG-E3t.js rename to assets/404.html-CocDKFbA.js index 0703537c..356d7655 100644 --- a/assets/404.html-C6dG-E3t.js +++ b/assets/404.html-CocDKFbA.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,b as n}from"./app-vZ92a7EE.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data}; +import{_ as t,o as e,c as o,b as n}from"./app-Bs1PeMf0.js";const a={},r=n("p",null,"404 Not Found",-1),s=[r];function c(p,i){return e(),o("div",null,s)}const d=t(a,[["render",c],["__file","404.html.vue"]]),m=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,m as data}; diff --git a/assets/agreement.html-D2HjRdYs.js b/assets/agreement.html-DTrW--oO.js similarity index 98% rename from assets/agreement.html-D2HjRdYs.js rename to assets/agreement.html-DTrW--oO.js index 4effd34f..759d2703 100644 --- a/assets/agreement.html-D2HjRdYs.js +++ b/assets/agreement.html-DTrW--oO.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as a}from"./app-vZ92a7EE.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["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":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data}; +import{_ as e,o as t,c as o,e as a}from"./app-Bs1PeMf0.js";const r={},i=a("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function l(c,m){return t(),o("div",null,n)}const s=e(r,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["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":"2024-07-20T16:40:55.000Z"}],["meta",{"property":"article:modified_time","content":"2024-07-20T16:40:55.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-20T16:40:55.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1721493655000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":0.76,"words":227},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{s as comp,d as data}; diff --git a/assets/agreement.html-C8KanYPv.js b/assets/agreement.html-DgwwyIXl.js similarity index 98% rename from assets/agreement.html-C8KanYPv.js rename to assets/agreement.html-DgwwyIXl.js index 652ef6e4..dddfd8c6 100644 --- a/assets/agreement.html-C8KanYPv.js +++ b/assets/agreement.html-DgwwyIXl.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as r}from"./app-vZ92a7EE.js";const a={},n=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data}; +import{_ as e,o as t,c as o,e as r}from"./app-Bs1PeMf0.js";const a={},n=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息及Python信息
    • 插件信息(不含插件数据)
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),i=[n];function l(c,s){return t(),o("div",null,i)}const p=e(a,[["render",l],["__file","agreement.html.vue"]]),d=JSON.parse('{"path":"/en/usage/agreement.html","title":"User Agreement","lang":"en-US","frontmatter":{"title":"User Agreement","icon":"user-secret","order":3,"category":"usage","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"User Agreement"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息及Python信息 插件信息(不含插件数据) 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"User Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.74,"words":222},"filePathRelative":"en/usage/agreement.md","localizedDate":"August 16, 2024","autoDesc":true}');export{p as comp,d as data}; diff --git a/assets/app-vZ92a7EE.js b/assets/app-Bs1PeMf0.js similarity index 81% rename from assets/app-vZ92a7EE.js rename to assets/app-Bs1PeMf0.js index 9f75e16e..1aff42c6 100644 --- a/assets/app-vZ92a7EE.js +++ b/assets/app-Bs1PeMf0.js @@ -12,22 +12,22 @@ function __vite__mapDeps(indexes) { * @vue/reactivity v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let nt;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=this.parent}stop(t){if(this._active){let n,l;for(n=0,l=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zt,n=un;try{return zt=!0,un=this,this._runnings++,_i(this),this.fn()}finally{bi(this),this._runnings--,un=n,zt=t}}stop(){var t;this.active&&(_i(this),bi(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ed(e){return e.value}function _i(e){e._trackId++,e._depsLength=0}function bi(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},ar=new WeakMap,dn=Symbol(""),sa=Symbol("");function Ze(e,t,n){if(zt&&un){let l=ar.get(e);l||ar.set(e,l=new Map);let r=l.get(n);r||l.set(n,r=oo(()=>l.delete(n))),io(un,r)}}function St(e,t,n,l,r,a){const i=ar.get(e);if(!i)return;let s=[];if(t==="clear")s=[...i.values()];else if(n==="length"&&ae(e)){const o=Number(l);i.forEach((c,u)=>{(u==="length"||!Un(u)&&u>=o)&&s.push(c)})}else switch(n!==void 0&&s.push(i.get(n)),t){case"add":ae(e)?Pa(n)&&s.push(i.get("length")):(s.push(i.get(dn)),Tn(e)&&s.push(i.get(sa)));break;case"delete":ae(e)||(s.push(i.get(dn)),Tn(e)&&s.push(i.get(sa)));break;case"set":Tn(e)&&s.push(i.get(dn));break}Ma();for(const o of s)o&&so(o,4);Da()}function Cd(e,t){var n;return(n=ar.get(e))==null?void 0:n.get(t)}const Ad=Na("__proto__,__v_isRef,__isVue"),co=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Un)),ki=Ld();function Ld(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=de(this);for(let a=0,i=this.length;a{e[t]=function(...n){hn(),Ma();const l=de(this)[t].apply(this,n);return Da(),vn(),l}}),e}function xd(e){const t=de(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class uo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return l===(r?a?Hd:vo:a?ho:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const i=ae(t);if(!r){if(i&&he(ki,n))return Reflect.get(ki,n,l);if(n==="hasOwnProperty")return xd}const s=Reflect.get(t,n,l);return(Un(n)?co.has(n):Ad(n))||(r||Ze(t,"get",n),a)?s:Fe(s)?i&&Pa(n)?s:s.value:ke(s)?r?Al(s):Cl(s):s}}class fo extends uo{constructor(t=!1){super(!1,t)}set(t,n,l,r){let a=t[n];if(!this._isShallow){const o=$n(a);if(!ir(l)&&!$n(l)&&(a=de(a),l=de(l)),!ae(t)&&Fe(a)&&!Fe(l))return o?!1:(a.value=l,!0)}const i=ae(t)&&Pa(n)?Number(n)e,gr=e=>Reflect.getPrototypeOf(e);function jl(e,t,n=!1,l=!1){e=e.__v_raw;const r=de(e),a=de(t);n||(Wt(t,a)&&Ze(r,"get",t),Ze(r,"get",a));const{has:i}=gr(r),s=l?ja:n?Va:cl;if(i.call(r,t))return s(e.get(t));if(i.call(r,a))return s(e.get(a));e!==r&&e.get(t)}function Hl(e,t=!1){const n=this.__v_raw,l=de(n),r=de(e);return t||(Wt(e,r)&&Ze(l,"has",e),Ze(l,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Bl(e,t=!1){return e=e.__v_raw,!t&&Ze(de(e),"iterate",dn),Reflect.get(e,"size",e)}function wi(e){e=de(e);const t=de(this);return gr(t).has.call(t,e)||(t.add(e),St(t,"add",e,e)),this}function Ei(e,t){t=de(t);const n=de(this),{has:l,get:r}=gr(n);let a=l.call(n,e);a||(e=de(e),a=l.call(n,e));const i=r.call(n,e);return n.set(e,t),a?Wt(t,i)&&St(n,"set",e,t):St(n,"add",e,t),this}function Ci(e){const t=de(this),{has:n,get:l}=gr(t);let r=n.call(t,e);r||(e=de(e),r=n.call(t,e)),l&&l.call(t,e);const a=t.delete(e);return r&&St(t,"delete",e,void 0),a}function Ai(){const e=de(this),t=e.size!==0,n=e.clear();return t&&St(e,"clear",void 0,void 0),n}function Vl(e,t){return function(l,r){const a=this,i=a.__v_raw,s=de(i),o=t?ja:e?Va:cl;return!e&&Ze(s,"iterate",dn),i.forEach((c,u)=>l.call(r,o(c),o(u),a))}}function Ul(e,t,n){return function(...l){const r=this.__v_raw,a=de(r),i=Tn(a),s=e==="entries"||e===Symbol.iterator&&i,o=e==="keys"&&i,c=r[e](...l),u=n?ja:t?Va:cl;return!t&&Ze(a,"iterate",o?sa:dn),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:s?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Od(){const e={get(a){return jl(this,a)},get size(){return Bl(this)},has:Hl,add:wi,set:Ei,delete:Ci,clear:Ai,forEach:Vl(!1,!1)},t={get(a){return jl(this,a,!1,!0)},get size(){return Bl(this)},has:Hl,add:wi,set:Ei,delete:Ci,clear:Ai,forEach:Vl(!1,!0)},n={get(a){return jl(this,a,!0)},get size(){return Bl(this,!0)},has(a){return Hl.call(this,a,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vl(!0,!1)},l={get(a){return jl(this,a,!0,!0)},get size(){return Bl(this,!0)},has(a){return Hl.call(this,a,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Ul(a,!1,!1),n[a]=Ul(a,!0,!1),t[a]=Ul(a,!1,!0),l[a]=Ul(a,!0,!0)}),[e,n,t,l]}const[Pd,Rd,Fd,$d]=Od();function Ha(e,t){const n=t?e?$d:Fd:e?Rd:Pd;return(l,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?l:Reflect.get(he(n,r)&&r in l?n:l,r,a)}const Md={get:Ha(!1,!1)},Dd={get:Ha(!1,!0)},jd={get:Ha(!0,!1)},po=new WeakMap,ho=new WeakMap,vo=new WeakMap,Hd=new WeakMap;function Bd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vd(e){return e.__v_skip||!Object.isExtensible(e)?0:Bd(ud(e))}function Cl(e){return $n(e)?e:Ba(e,!1,Sd,Md,po)}function go(e){return Ba(e,!1,Id,Dd,ho)}function Al(e){return Ba(e,!0,Nd,jd,vo)}function Ba(e,t,n,l,r){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=Vd(e);if(i===0)return e;const s=new Proxy(e,i===2?l:n);return r.set(e,s),s}function Nn(e){return $n(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function ir(e){return!!(e&&e.__v_isShallow)}function mo(e){return Nn(e)||$n(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function yo(e){return Object.isExtensible(e)&&rr(e,"__v_skip",!0),e}const cl=e=>ke(e)?Cl(e):e,Va=e=>ke(e)?Al(e):e;class _o{constructor(t,n,l,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new $a(()=>t(this._value),()=>el(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=l}get value(){const t=de(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&el(t,4),Ua(t),t.effect._dirtyLevel>=2&&el(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ud(e,t,n=!1){let l,r;const a=ce(e);return a?(l=e,r=ot):(l=e.get,r=e.set),new _o(l,r,a||!r,n)}function Ua(e){var t;zt&&un&&(e=de(e),io(un,(t=e.dep)!=null?t:e.dep=oo(()=>e.dep=void 0,e instanceof _o?e:void 0)))}function el(e,t=4,n){e=de(e);const l=e.dep;l&&so(l,t)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return bo(e,!1)}function De(e){return bo(e,!0)}function bo(e,t){return Fe(e)?e:new zd(e,t)}class zd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:cl(t)}get value(){return Ua(this),this._value}set value(t){const n=this.__v_isShallow||ir(t)||$n(t);t=n?t:de(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cl(t),el(this,4))}}function lt(e){return Fe(e)?e.value:e}const qd={get:(e,t,n)=>lt(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function ko(e){return Nn(e)?e:new Proxy(e,qd)}class Wd{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:l}=t(()=>Ua(this),()=>el(this));this._get=n,this._set=l}get value(){return this._get()}set value(t){this._set(t)}}function za(e){return new Wd(e)}function Gd(e){const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=wo(e,n);return t}class Kd{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Cd(de(this._object),this._key)}}class Yd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mr(e,t,n){return Fe(e)?e:ce(e)?new Yd(e):ke(e)&&arguments.length>1?wo(e,t,n):Q(e)}function wo(e,t,n){const l=e[t];return Fe(l)?l:new Kd(e,t,n)}/** +**/let nt;class bd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=nt,!t&&nt&&(this.index=(nt.scopes||(nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=nt;try{return nt=this,t()}finally{nt=n}}}on(){nt=this}off(){nt=this.parent}stop(t){if(this._active){let n,l;for(n=0,l=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),vn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=zt,n=un;try{return zt=!0,un=this,this._runnings++,_i(this),this.fn()}finally{bi(this),this._runnings--,un=n,zt=t}}stop(){var t;this.active&&(_i(this),bi(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Ed(e){return e.value}function _i(e){e._trackId++,e._depsLength=0}function bi(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},ar=new WeakMap,dn=Symbol(""),sa=Symbol("");function Ze(e,t,n){if(zt&&un){let l=ar.get(e);l||ar.set(e,l=new Map);let r=l.get(n);r||l.set(n,r=oo(()=>l.delete(n))),io(un,r)}}function St(e,t,n,l,r,a){const i=ar.get(e);if(!i)return;let s=[];if(t==="clear")s=[...i.values()];else if(n==="length"&&ae(e)){const o=Number(l);i.forEach((c,u)=>{(u==="length"||!Un(u)&&u>=o)&&s.push(c)})}else switch(n!==void 0&&s.push(i.get(n)),t){case"add":ae(e)?Pa(n)&&s.push(i.get("length")):(s.push(i.get(dn)),Tn(e)&&s.push(i.get(sa)));break;case"delete":ae(e)||(s.push(i.get(dn)),Tn(e)&&s.push(i.get(sa)));break;case"set":Tn(e)&&s.push(i.get(dn));break}Ma();for(const o of s)o&&so(o,4);Da()}function Cd(e,t){var n;return(n=ar.get(e))==null?void 0:n.get(t)}const Ad=Na("__proto__,__v_isRef,__isVue"),co=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Un)),ki=Ld();function Ld(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const l=de(this);for(let a=0,i=this.length;a{e[t]=function(...n){hn(),Ma();const l=de(this)[t].apply(this,n);return Da(),vn(),l}}),e}function xd(e){const t=de(this);return Ze(t,"has",e),t.hasOwnProperty(e)}class uo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){const r=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return a;if(n==="__v_raw")return l===(r?a?Hd:vo:a?ho:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const i=ae(t);if(!r){if(i&&he(ki,n))return Reflect.get(ki,n,l);if(n==="hasOwnProperty")return xd}const s=Reflect.get(t,n,l);return(Un(n)?co.has(n):Ad(n))||(r||Ze(t,"get",n),a)?s:Fe(s)?i&&Pa(n)?s:s.value:ke(s)?r?Al(s):Cl(s):s}}class fo extends uo{constructor(t=!1){super(!1,t)}set(t,n,l,r){let a=t[n];if(!this._isShallow){const o=$n(a);if(!ir(l)&&!$n(l)&&(a=de(a),l=de(l)),!ae(t)&&Fe(a)&&!Fe(l))return o?!1:(a.value=l,!0)}const i=ae(t)&&Pa(n)?Number(n)e,gr=e=>Reflect.getPrototypeOf(e);function jl(e,t,n=!1,l=!1){e=e.__v_raw;const r=de(e),a=de(t);n||(Wt(t,a)&&Ze(r,"get",t),Ze(r,"get",a));const{has:i}=gr(r),s=l?ja:n?Va:cl;if(i.call(r,t))return s(e.get(t));if(i.call(r,a))return s(e.get(a));e!==r&&e.get(t)}function Hl(e,t=!1){const n=this.__v_raw,l=de(n),r=de(e);return t||(Wt(e,r)&&Ze(l,"has",e),Ze(l,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Bl(e,t=!1){return e=e.__v_raw,!t&&Ze(de(e),"iterate",dn),Reflect.get(e,"size",e)}function wi(e){e=de(e);const t=de(this);return gr(t).has.call(t,e)||(t.add(e),St(t,"add",e,e)),this}function Ei(e,t){t=de(t);const n=de(this),{has:l,get:r}=gr(n);let a=l.call(n,e);a||(e=de(e),a=l.call(n,e));const i=r.call(n,e);return n.set(e,t),a?Wt(t,i)&&St(n,"set",e,t):St(n,"add",e,t),this}function Ci(e){const t=de(this),{has:n,get:l}=gr(t);let r=n.call(t,e);r||(e=de(e),r=n.call(t,e)),l&&l.call(t,e);const a=t.delete(e);return r&&St(t,"delete",e,void 0),a}function Ai(){const e=de(this),t=e.size!==0,n=e.clear();return t&&St(e,"clear",void 0,void 0),n}function Vl(e,t){return function(l,r){const a=this,i=a.__v_raw,s=de(i),o=t?ja:e?Va:cl;return!e&&Ze(s,"iterate",dn),i.forEach((c,u)=>l.call(r,o(c),o(u),a))}}function Ul(e,t,n){return function(...l){const r=this.__v_raw,a=de(r),i=Tn(a),s=e==="entries"||e===Symbol.iterator&&i,o=e==="keys"&&i,c=r[e](...l),u=n?ja:t?Va:cl;return!t&&Ze(a,"iterate",o?sa:dn),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:s?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Od(){const e={get(a){return jl(this,a)},get size(){return Bl(this)},has:Hl,add:wi,set:Ei,delete:Ci,clear:Ai,forEach:Vl(!1,!1)},t={get(a){return jl(this,a,!1,!0)},get size(){return Bl(this)},has:Hl,add:wi,set:Ei,delete:Ci,clear:Ai,forEach:Vl(!1,!0)},n={get(a){return jl(this,a,!0)},get size(){return Bl(this,!0)},has(a){return Hl.call(this,a,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vl(!0,!1)},l={get(a){return jl(this,a,!0,!0)},get size(){return Bl(this,!0)},has(a){return Hl.call(this,a,!0)},add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear"),forEach:Vl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=Ul(a,!1,!1),n[a]=Ul(a,!0,!1),t[a]=Ul(a,!1,!0),l[a]=Ul(a,!0,!0)}),[e,n,t,l]}const[Pd,Rd,Fd,$d]=Od();function Ha(e,t){const n=t?e?$d:Fd:e?Rd:Pd;return(l,r,a)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?l:Reflect.get(he(n,r)&&r in l?n:l,r,a)}const Md={get:Ha(!1,!1)},Dd={get:Ha(!1,!0)},jd={get:Ha(!0,!1)},po=new WeakMap,ho=new WeakMap,vo=new WeakMap,Hd=new WeakMap;function Bd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vd(e){return e.__v_skip||!Object.isExtensible(e)?0:Bd(ud(e))}function Cl(e){return $n(e)?e:Ba(e,!1,Sd,Md,po)}function go(e){return Ba(e,!1,Id,Dd,ho)}function Al(e){return Ba(e,!0,Nd,jd,vo)}function Ba(e,t,n,l,r){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=r.get(e);if(a)return a;const i=Vd(e);if(i===0)return e;const s=new Proxy(e,i===2?l:n);return r.set(e,s),s}function Nn(e){return $n(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function ir(e){return!!(e&&e.__v_isShallow)}function mo(e){return Nn(e)||$n(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function yo(e){return Object.isExtensible(e)&&rr(e,"__v_skip",!0),e}const cl=e=>ke(e)?Cl(e):e,Va=e=>ke(e)?Al(e):e;class _o{constructor(t,n,l,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new $a(()=>t(this._value),()=>el(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=l}get value(){const t=de(this);return(!t._cacheable||t.effect.dirty)&&Wt(t._value,t._value=t.effect.run())&&el(t,4),Ua(t),t.effect._dirtyLevel>=2&&el(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Ud(e,t,n=!1){let l,r;const a=ce(e);return a?(l=e,r=ot):(l=e.get,r=e.set),new _o(l,r,a||!r,n)}function Ua(e){var t;zt&&un&&(e=de(e),io(un,(t=e.dep)!=null?t:e.dep=oo(()=>e.dep=void 0,e instanceof _o?e:void 0)))}function el(e,t=4,n){e=de(e);const l=e.dep;l&&so(l,t)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return bo(e,!1)}function De(e){return bo(e,!0)}function bo(e,t){return Fe(e)?e:new zd(e,t)}class zd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:cl(t)}get value(){return Ua(this),this._value}set value(t){const n=this.__v_isShallow||ir(t)||$n(t);t=n?t:de(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:cl(t),el(this,4))}}function lt(e){return Fe(e)?e.value:e}const qd={get:(e,t,n)=>lt(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,l)}};function ko(e){return Nn(e)?e:new Proxy(e,qd)}class Wd{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:l}=t(()=>Ua(this),()=>el(this));this._get=n,this._set=l}get value(){return this._get()}set value(t){this._set(t)}}function za(e){return new Wd(e)}function Kd(e){const t=ae(e)?new Array(e.length):{};for(const n in e)t[n]=wo(e,n);return t}class Gd{constructor(t,n,l){this._object=t,this._key=n,this._defaultValue=l,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Cd(de(this._object),this._key)}}class Yd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mr(e,t,n){return Fe(e)?e:ce(e)?new Yd(e):ke(e)&&arguments.length>1?wo(e,t,n):Q(e)}function wo(e,t,n){const l=e[t];return Fe(l)?l:new Gd(e,t,n)}/** * @vue/runtime-core v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function qt(e,t,n,l){try{return l?e(...l):e()}catch(r){Ll(r,t,n)}}function ct(e,t,n,l){if(ce(e)){const a=qt(e,t,n,l);return a&&Js(a)&&a.catch(i=>{Ll(i,t,n)}),a}const r=[];for(let a=0;a>>1,r=Ve[l],a=dl(r);awt&&Ve.splice(t,1)}function Zd(e){ae(e)?In.push(...e):(!Dt||!Dt.includes(e,e.allowRecurse?an+1:an))&&In.push(e),Co()}function Li(e,t,n=ul?wt+1:0){for(;ndl(n)-dl(l));if(In.length=0,Dt){Dt.push(...t);return}for(Dt=t,an=0;ane.id==null?1/0:e.id,ef=(e,t)=>{const n=dl(e)-dl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){oa=!1,ul=!0,Ve.sort(ef);try{for(wt=0;wtRe(h)?h.trim():h)),f&&(r=n.map(ra))}let s,o=l[s=Ir(t)]||l[s=Ir(ft(t))];!o&&a&&(o=l[s=Ir(zn(t))]),o&&ct(o,e,6,r);const c=l[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ct(c,e,6,r)}}function Lo(e,t,n=!1){const l=t.emitsCache,r=l.get(e);if(r!==void 0)return r;const a=e.emits;let i={},s=!1;if(!ce(e)){const o=c=>{const u=Lo(c,t,!0);u&&(s=!0,Pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return!a&&!s?(ke(e)&&l.set(e,null),null):(ae(a)?a.forEach(o=>i[o]=null):Pe(i,a),ke(e)&&l.set(e,i),i)}function _r(e,t){return!e||!wl(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,zn(t))||he(e,t))}let We=null,br=null;function or(e){const t=We;return We=e,br=e&&e.type.__scopeId||null,t}function xl(e){br=e}function Tl(){br=null}function nf(e,t=We,n){if(!t||e._n)return e;const l=(...r)=>{l._d&&Di(-1);const a=or(t);let i;try{i=e(...r)}finally{or(a),l._d&&Di(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function Pr(e){const{type:t,vnode:n,proxy:l,withProxy:r,props:a,propsOptions:[i],slots:s,attrs:o,emit:c,render:u,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:b}=e;let _,k;const C=or(e);try{if(n.shapeFlag&4){const A=r||l,O=A;_=vt(u.call(O,A,f,a,h,p,g)),k=o}else{const A=t;_=vt(A.length>1?A(a,{attrs:o,slots:s,emit:c}):A(a,null)),k=t.props?o:lf(o)}}catch(A){al.length=0,Ll(A,e,1),_=Ie(ut)}let y=_;if(k&&b!==!1){const A=Object.keys(k),{shapeFlag:O}=y;A.length&&O&7&&(i&&A.some(Ia)&&(k=rf(k,i)),y=Kt(y,k))}return n.dirs&&(y=Kt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),_=y,or(C),_}const lf=e=>{let t;for(const n in e)(n==="class"||n==="style"||wl(n))&&((t||(t={}))[n]=e[n]);return t},rf=(e,t)=>{const n={};for(const l in e)(!Ia(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function af(e,t,n){const{props:l,children:r,component:a}=e,{props:i,children:s,patchFlag:o}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&o>=0){if(o&1024)return!0;if(o&16)return l?xi(l,i,c):!!i;if(o&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function To(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Zd(e)}const df=Symbol.for("v-scx"),ff=()=>Me(df);function So(e,t){return Wa(e,null,t)}const zl={};function ve(e,t,n){return Wa(e,t,n)}function Wa(e,t,{immediate:n,deep:l,flush:r,once:a,onTrack:i,onTrigger:s}=Ce){if(t&&a){const L=t;t=(...N)=>{L(...N),O()}}const o=He,c=L=>l===!0?L:on(L,l===!1?1:void 0);let u,f=!1,p=!1;if(Fe(e)?(u=()=>e.value,f=ir(e)):Nn(e)?(u=()=>c(e),f=!0):ae(e)?(p=!0,f=e.some(L=>Nn(L)||ir(L)),u=()=>e.map(L=>{if(Fe(L))return L.value;if(Nn(L))return c(L);if(ce(L))return qt(L,o,2)})):ce(e)?t?u=()=>qt(e,o,2):u=()=>(h&&h(),ct(e,o,3,[g])):u=ot,t&&l){const L=u;u=()=>on(L())}let h,g=L=>{h=y.onStop=()=>{qt(L,o,4),h=y.onStop=void 0}},b;if(Ol)if(g=ot,t?n&&ct(t,o,3,[u(),p?[]:void 0,g]):u(),r==="sync"){const L=ff();b=L.__watcherHandles||(L.__watcherHandles=[])}else return ot;let _=p?new Array(e.length).fill(zl):zl;const k=()=>{if(!(!y.active||!y.dirty))if(t){const L=y.run();(l||f||(p?L.some((N,P)=>Wt(N,_[P])):Wt(L,_)))&&(h&&h(),ct(t,o,3,[L,_===zl?void 0:p&&_[0]===zl?[]:_,g]),_=L)}else y.run()};k.allowRecurse=!!t;let C;r==="sync"?C=k:r==="post"?C=()=>Qe(k,o&&o.suspense):(k.pre=!0,o&&(k.id=o.uid),C=()=>yr(k));const y=new $a(u,ot,C),A=lo(),O=()=>{y.stop(),A&&Oa(A.effects,y)};return t?n?k():_=y.run():r==="post"?Qe(y.run.bind(y),o&&o.suspense):y.run(),b&&b.push(O),O}function pf(e,t,n){const l=this.proxy,r=Re(e)?e.includes(".")?No(l,e):()=>l[e]:e.bind(l,l);let a;ce(t)?a=t:(a=t.handler,n=t);const i=Il(this),s=Wa(r,a.bind(l),n);return i(),s}function No(e,t){const n=t.split(".");return()=>{let l=e;for(let r=0;r0){if(n>=t)return e;n++}if(l=l||new Set,l.has(e))return e;if(l.add(e),Fe(e))on(e.value,t,n,l);else if(ae(e))for(let r=0;r{on(r,t,n,l)});else if(Zs(e))for(const r in e)on(e[r],t,n,l);return e}function Io(e,t){if(We===null)return e;const n=Er(We)||We.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ka(()=>{e.isUnmounting=!0}),e}const at=[Function,Array],Po={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},hf={name:"BaseTransition",props:Po,setup(e,{slots:t}){const n=Nl(),l=Oo();return()=>{const r=t.default&&Ga(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const p of r)if(p.type!==ut){a=p;break}}const i=de(e),{mode:s}=i;if(l.isLeaving)return Rr(a);const o=Si(a);if(!o)return Rr(a);const c=fl(o,i,l,n);pl(o,c);const u=n.subTree,f=u&&Si(u);if(f&&f.type!==ut&&!sn(o,f)){const p=fl(f,i,l,n);if(pl(f,p),s==="out-in")return l.isLeaving=!0,p.afterLeave=()=>{l.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Rr(a);s==="in-out"&&o.type!==ut&&(p.delayLeave=(h,g,b)=>{const _=Ro(l,f);_[String(f.key)]=f,h[jt]=()=>{g(),h[jt]=void 0,delete c.delayedLeave},c.delayedLeave=b})}return a}}},vf=hf;function Ro(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function fl(e,t,n,l){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:o,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:b,onAppear:_,onAfterAppear:k,onAppearCancelled:C}=t,y=String(e.key),A=Ro(n,e),O=(P,J)=>{P&&ct(P,l,9,J)},L=(P,J)=>{const I=J[1];O(P,J),ae(P)?P.every(q=>q.length<=1)&&I():P.length<=1&&I()},N={mode:a,persisted:i,beforeEnter(P){let J=s;if(!n.isMounted)if(r)J=b||s;else return;P[jt]&&P[jt](!0);const I=A[y];I&&sn(e,I)&&I.el[jt]&&I.el[jt](),O(J,[P])},enter(P){let J=o,I=c,q=u;if(!n.isMounted)if(r)J=_||o,I=k||c,q=C||u;else return;let $=!1;const re=P[ql]=Ee=>{$||($=!0,Ee?O(q,[P]):O(I,[P]),N.delayedLeave&&N.delayedLeave(),P[ql]=void 0)};J?L(J,[P,re]):re()},leave(P,J){const I=String(e.key);if(P[ql]&&P[ql](!0),n.isUnmounting)return J();O(f,[P]);let q=!1;const $=P[jt]=re=>{q||(q=!0,J(),re?O(g,[P]):O(h,[P]),P[jt]=void 0,A[I]===e&&delete A[I])};A[I]=e,p?L(p,[P,$]):$()},clone(P){return fl(P,t,n,l)}};return N}function Rr(e){if(Sl(e))return e=Kt(e),e.children=null,e}function Si(e){return Sl(e)?e.children?e.children[0]:void 0:e}function pl(e,t){e.shapeFlag&6&&e.component?pl(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ga(e,t=!1,n){let l=[],r=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function gf(e){ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:l,delay:r=200,timeout:a,suspensible:i=!0,onError:s}=e;let o=null,c,u=0;const f=()=>(u++,o=null,p()),p=()=>{let h;return o||(h=o=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),s)return new Promise((b,_)=>{s(g,()=>b(f()),()=>_(g),u+1)});throw g}).then(g=>h!==o&&o?o:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return U({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=He;if(c)return()=>Fr(c,h);const g=C=>{o=null,Ll(C,h,13,!l)};if(i&&h.suspense||Ol)return p().then(C=>()=>Fr(C,h)).catch(C=>(g(C),()=>l?Ie(l,{error:C}):null));const b=Q(!1),_=Q(),k=Q(!!r);return r&&setTimeout(()=>{k.value=!1},r),a!=null&&setTimeout(()=>{if(!b.value&&!_.value){const C=new Error(`Async component timed out after ${a}ms.`);g(C),_.value=C}},a),p().then(()=>{b.value=!0,h.parent&&Sl(h.parent.vnode)&&(h.parent.effect.dirty=!0,yr(h.parent.update))}).catch(C=>{g(C),_.value=C}),()=>{if(b.value&&c)return Fr(c,h);if(_.value&&l)return Ie(l,{error:_.value});if(n&&!k.value)return Ie(n)}}})}function Fr(e,t){const{ref:n,props:l,children:r,ce:a}=t.vnode,i=Ie(e,l,r);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const Sl=e=>e.type.__isKeepAlive;function mf(e,t){Fo(e,"a",t)}function yf(e,t){Fo(e,"da",t)}function Fo(e,t,n=He){const l=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kr(t,l,n),n){let r=n.parent;for(;r&&r.parent;)Sl(r.parent.vnode)&&_f(l,t,n,r),r=r.parent}}function _f(e,t,n,l){const r=kr(t,e,l,!0);gn(()=>{Oa(l[t],r)},n)}function kr(e,t,n=He,l=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;hn();const s=Il(n),o=ct(t,n,e,i);return s(),vn(),o});return l?r.unshift(a):r.push(a),a}}const It=e=>(t,n=He)=>(!Ol||e==="sp")&&kr(e,(...l)=>t(...l),n),bf=It("bm"),we=It("m"),kf=It("bu"),$o=It("u"),Ka=It("bum"),gn=It("um"),wf=It("sp"),Ef=It("rtg"),Cf=It("rtc");function Af(e,t=He){kr("ec",e,t)}function Mo(e,t,n,l){let r;const a=n&&n[l];if(ae(e)||Re(e)){r=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);r=new Array(i.length);for(let s=0,o=i.length;se?Qo(e)?Er(e)||e.proxy:ca(e.parent):null,nl=Pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ca(e.parent),$root:e=>ca(e.root),$emit:e=>e.emit,$options:e=>Ya(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,yr(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>pf.bind(e)}),$r=(e,t)=>e!==Ce&&!e.__isScriptSetup&&he(e,t),Lf={get({_:e},t){const{ctx:n,setupState:l,data:r,props:a,accessCache:i,type:s,appContext:o}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return l[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if($r(l,t))return i[t]=1,l[t];if(r!==Ce&&he(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&he(c,t))return i[t]=3,a[t];if(n!==Ce&&he(n,t))return i[t]=4,n[t];ua&&(i[t]=0)}}const u=nl[t];let f,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&he(n,t))return i[t]=4,n[t];if(p=o.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:l,setupState:r,ctx:a}=e;return $r(r,t)?(r[t]=n,!0):l!==Ce&&he(l,t)?(l[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:a}},i){let s;return!!n[i]||e!==Ce&&he(e,i)||$r(t,i)||(s=a[0])&&he(s,i)||he(l,i)||he(nl,i)||he(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ni(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ua=!0;function xf(e){const t=Ya(e),n=e.proxy,l=e.ctx;ua=!1,t.beforeCreate&&Ii(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:i,watch:s,provide:o,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:h,updated:g,activated:b,deactivated:_,beforeDestroy:k,beforeUnmount:C,destroyed:y,unmounted:A,render:O,renderTracked:L,renderTriggered:N,errorCaptured:P,serverPrefetch:J,expose:I,inheritAttrs:q,components:$,directives:re,filters:Ee}=t;if(c&&Tf(c,l,null),i)for(const ie in i){const G=i[ie];ce(G)&&(l[ie]=G.bind(n))}if(r){const ie=r.call(n,n);ke(ie)&&(e.data=Cl(ie))}if(ua=!0,a)for(const ie in a){const G=a[ie],Le=ce(G)?G.bind(n,n):ce(G.get)?G.get.bind(n,n):ot,rt=!ce(G)&&ce(G.set)?G.set.bind(n):ot,Ye=x({get:Le,set:rt});Object.defineProperty(l,ie,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ee=>Ye.value=ee})}if(s)for(const ie in s)Do(s[ie],l,n,ie);if(o){const ie=ce(o)?o.call(n):o;Reflect.ownKeys(ie).forEach(G=>{On(G,ie[G])})}u&&Ii(u,e,"c");function Y(ie,G){ae(G)?G.forEach(Le=>ie(Le.bind(n))):G&&ie(G.bind(n))}if(Y(bf,f),Y(we,p),Y(kf,h),Y($o,g),Y(mf,b),Y(yf,_),Y(Af,P),Y(Cf,L),Y(Ef,N),Y(Ka,C),Y(gn,A),Y(wf,J),ae(I))if(I.length){const ie=e.exposed||(e.exposed={});I.forEach(G=>{Object.defineProperty(ie,G,{get:()=>n[G],set:Le=>n[G]=Le})})}else e.exposed||(e.exposed={});O&&e.render===ot&&(e.render=O),q!=null&&(e.inheritAttrs=q),$&&(e.components=$),re&&(e.directives=re)}function Tf(e,t,n=ot){ae(e)&&(e=da(e));for(const l in e){const r=e[l];let a;ke(r)?"default"in r?a=Me(r.from||l,r.default,!0):a=Me(r.from||l):a=Me(r),Fe(a)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[l]=a}}function Ii(e,t,n){ct(ae(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,l){const r=l.includes(".")?No(n,l):()=>n[l];if(Re(e)){const a=t[e];ce(a)&&ve(r,a)}else if(ce(e))ve(r,e.bind(n));else if(ke(e))if(ae(e))e.forEach(a=>Do(a,t,n,l));else{const a=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(a)&&ve(r,a,e)}}function Ya(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let o;return s?o=s:!r.length&&!n&&!l?o=t:(o={},r.length&&r.forEach(c=>cr(o,c,i,!0)),cr(o,t,i)),ke(t)&&a.set(t,o),o}function cr(e,t,n,l=!1){const{mixins:r,extends:a}=t;a&&cr(e,a,n,!0),r&&r.forEach(i=>cr(e,i,n,!0));for(const i in t)if(!(l&&i==="expose")){const s=Sf[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Sf={data:Oi,props:Pi,emits:Pi,methods:Xn,computed:Xn,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:Xn,directives:Xn,watch:If,provide:Oi,inject:Nf};function Oi(e,t){return t?e?function(){return Pe(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Nf(e,t){return Xn(da(e),da(t))}function da(e){if(ae(e)){const t={};for(let n=0;n1)return n&&ce(t)?t.call(l&&l.proxy):t}}function Rf(e,t,n,l=!1){const r={},a={};rr(a,wr,1),e.propsDefaults=Object.create(null),Ho(e,t,r,a);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=l?r:go(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function Ff(e,t,n,l){const{props:r,attrs:a,vnode:{patchFlag:i}}=e,s=de(r),[o]=e.propsOptions;let c=!1;if((l||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{o=!0;const[p,h]=Bo(f,t,!0);Pe(i,p),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!o)return ke(e)&&l.set(e,xn),xn;if(ae(a))for(let u=0;u-1,h[1]=b<0||g-1||he(h,"default"))&&s.push(f)}}}const c=[i,s];return ke(e)&&l.set(e,c),c}function Ri(e){return e[0]!=="$"&&!Sn(e)}function Fi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function $i(e,t){return Fi(e)===Fi(t)}function Mi(e,t){return ae(t)?t.findIndex(n=>$i(n,e)):ce(t)&&$i(t,e)?0:-1}const Vo=e=>e[0]==="_"||e==="$stable",Qa=e=>ae(e)?e.map(vt):[vt(e)],$f=(e,t,n)=>{if(t._n)return t;const l=nf((...r)=>Qa(t(...r)),n);return l._c=!1,l},Uo=(e,t,n)=>{const l=e._ctx;for(const r in e){if(Vo(r))continue;const a=e[r];if(ce(a))t[r]=$f(r,a,l);else if(a!=null){const i=Qa(a);t[r]=()=>i}}},zo=(e,t)=>{const n=Qa(t);e.slots.default=()=>n},Mf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),rr(t,"_",n)):Uo(t,e.slots={})}else e.slots={},t&&zo(e,t);rr(e.slots,wr,1)},Df=(e,t,n)=>{const{vnode:l,slots:r}=e;let a=!0,i=Ce;if(l.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Pe(r,t),!n&&s===1&&delete r._):(a=!t.$stable,Uo(t,r)),i=t}else t&&(zo(e,t),i={default:1});if(a)for(const s in r)!Vo(s)&&i[s]==null&&delete r[s]};function ur(e,t,n,l,r=!1){if(ae(e)){e.forEach((p,h)=>ur(p,t&&(ae(t)?t[h]:t),n,l,r));return}if(tl(l)&&!r)return;const a=l.shapeFlag&4?Er(l.component)||l.component.proxy:l.el,i=r?null:a,{i:s,r:o}=e,c=t&&t.r,u=s.refs===Ce?s.refs={}:s.refs,f=s.setupState;if(c!=null&&c!==o&&(Re(c)?(u[c]=null,he(f,c)&&(f[c]=null)):Fe(c)&&(c.value=null)),ce(o))qt(o,s,12,[i,u]);else{const p=Re(o),h=Fe(o);if(p||h){const g=()=>{if(e.f){const b=p?he(f,o)?f[o]:u[o]:o.value;r?ae(b)&&Oa(b,a):ae(b)?b.includes(a)||b.push(a):p?(u[o]=[a],he(f,o)&&(f[o]=u[o])):(o.value=[a],e.k&&(u[e.k]=o.value))}else p?(u[o]=i,he(f,o)&&(f[o]=i)):h&&(o.value=i,e.k&&(u[e.k]=i))};i?(g.id=-1,Qe(g,n)):g()}}}let Pt=!1;const jf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hf=e=>e.namespaceURI.includes("MathML"),Wl=e=>{if(jf(e))return"svg";if(Hf(e))return"mathml"},Gl=e=>e.nodeType===8;function Bf(e){const{mt:t,p:n,o:{patchProp:l,createText:r,nextSibling:a,parentNode:i,remove:s,insert:o,createComment:c}}=e,u=(y,A)=>{if(!A.hasChildNodes()){n(null,y,A),sr(),A._vnode=y;return}Pt=!1,f(A.firstChild,y,null,null,null),sr(),A._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},f=(y,A,O,L,N,P=!1)=>{const J=Gl(y)&&y.data==="[",I=()=>b(y,A,O,L,N,J),{type:q,ref:$,shapeFlag:re,patchFlag:Ee}=A;let be=y.nodeType;A.el=y,Ee===-2&&(P=!1,A.dynamicChildren=null);let Y=null;switch(q){case Mn:be!==3?A.children===""?(o(A.el=r(""),i(y),y),Y=y):Y=I():(y.data!==A.children&&(Pt=!0,y.data=A.children),Y=a(y));break;case ut:C(y)?(Y=a(y),k(A.el=y.content.firstChild,y,O)):be!==8||J?Y=I():Y=a(y);break;case rl:if(J&&(y=a(y),be=y.nodeType),be===1||be===3){Y=y;const ie=!A.children.length;for(let G=0;G{P=P||!!A.dynamicChildren;const{type:J,props:I,patchFlag:q,shapeFlag:$,dirs:re,transition:Ee}=A,be=J==="input"||J==="option";if(be||q!==-1){re&&kt(A,null,O,"created");let Y=!1;if(C(y)){Y=qo(L,Ee)&&O&&O.vnode.props&&O.vnode.props.appear;const G=y.content.firstChild;Y&&Ee.beforeEnter(G),k(G,y,O),A.el=y=G}if($&16&&!(I&&(I.innerHTML||I.textContent))){let G=h(y.firstChild,A,y,O,L,N,P);for(;G;){Pt=!0;const Le=G;G=G.nextSibling,s(Le)}}else $&8&&y.textContent!==A.children&&(Pt=!0,y.textContent=A.children);if(I)if(be||!P||q&48)for(const G in I)(be&&(G.endsWith("value")||G==="indeterminate")||wl(G)&&!Sn(G)||G[0]===".")&&l(y,G,null,I[G],void 0,void 0,O);else I.onClick&&l(y,"onClick",null,I.onClick,void 0,void 0,O);let ie;(ie=I&&I.onVnodeBeforeMount)&&it(ie,O,A),re&&kt(A,null,O,"beforeMount"),((ie=I&&I.onVnodeMounted)||re||Y)&&To(()=>{ie&&it(ie,O,A),Y&&Ee.enter(y),re&&kt(A,null,O,"mounted")},L)}return y.nextSibling},h=(y,A,O,L,N,P,J)=>{J=J||!!A.dynamicChildren;const I=A.children,q=I.length;for(let $=0;${const{slotScopeIds:J}=A;J&&(N=N?N.concat(J):J);const I=i(y),q=h(a(y),A,I,O,L,N,P);return q&&Gl(q)&&q.data==="]"?a(A.anchor=q):(Pt=!0,o(A.anchor=c("]"),I,q),q)},b=(y,A,O,L,N,P)=>{if(Pt=!0,A.el=null,P){const q=_(y);for(;;){const $=a(y);if($&&$!==q)s($);else break}}const J=a(y),I=i(y);return s(y),n(null,A,I,J,O,L,Wl(I),N),J},_=(y,A="[",O="]")=>{let L=0;for(;y;)if(y=a(y),y&&Gl(y)&&(y.data===A&&L++,y.data===O)){if(L===0)return a(y);L--}return y},k=(y,A,O)=>{const L=A.parentNode;L&&L.replaceChild(y,A);let N=O;for(;N;)N.vnode.el===A&&(N.vnode.el=N.subTree.el=y),N=N.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Qe=To;function Vf(e){return Uf(e,Bf)}function Uf(e,t){const n=eo();n.__VUE__=!0;const{insert:l,remove:r,patchProp:a,createElement:i,createText:s,createComment:o,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:h=ot,insertStaticContent:g}=e,b=(v,m,E,S=null,T=null,D=null,V=void 0,M=null,B=!!m.dynamicChildren)=>{if(v===m)return;v&&!sn(v,m)&&(S=w(v),ee(v,T,D,!0),v=null),m.patchFlag===-2&&(B=!1,m.dynamicChildren=null);const{type:R,ref:W,shapeFlag:le}=m;switch(R){case Mn:_(v,m,E,S);break;case ut:k(v,m,E,S);break;case rl:v==null&&C(m,E,S,V);break;case ze:$(v,m,E,S,T,D,V,M,B);break;default:le&1?O(v,m,E,S,T,D,V,M,B):le&6?re(v,m,E,S,T,D,V,M,B):(le&64||le&128)&&R.process(v,m,E,S,T,D,V,M,B,Z)}W!=null&&T&&ur(W,v&&v.ref,D,m||v,!m)},_=(v,m,E,S)=>{if(v==null)l(m.el=s(m.children),E,S);else{const T=m.el=v.el;m.children!==v.children&&c(T,m.children)}},k=(v,m,E,S)=>{v==null?l(m.el=o(m.children||""),E,S):m.el=v.el},C=(v,m,E,S)=>{[v.el,v.anchor]=g(v.children,m,E,S,v.el,v.anchor)},y=({el:v,anchor:m},E,S)=>{let T;for(;v&&v!==m;)T=p(v),l(v,E,S),v=T;l(m,E,S)},A=({el:v,anchor:m})=>{let E;for(;v&&v!==m;)E=p(v),r(v),v=E;r(m)},O=(v,m,E,S,T,D,V,M,B)=>{m.type==="svg"?V="svg":m.type==="math"&&(V="mathml"),v==null?L(m,E,S,T,D,V,M,B):J(v,m,T,D,V,M,B)},L=(v,m,E,S,T,D,V,M)=>{let B,R;const{props:W,shapeFlag:le,transition:te,dirs:oe}=v;if(B=v.el=i(v.type,D,W&&W.is,W),le&8?u(B,v.children):le&16&&P(v.children,B,null,S,T,Mr(v,D),V,M),oe&&kt(v,null,S,"created"),N(B,v,v.scopeId,V,S),W){for(const me in W)me!=="value"&&!Sn(me)&&a(B,me,null,W[me],D,v.children,S,T,X);"value"in W&&a(B,"value",null,W.value,D),(R=W.onVnodeBeforeMount)&&it(R,S,v)}oe&&kt(v,null,S,"beforeMount");const ue=qo(T,te);ue&&te.beforeEnter(B),l(B,m,E),((R=W&&W.onVnodeMounted)||ue||oe)&&Qe(()=>{R&&it(R,S,v),ue&&te.enter(B),oe&&kt(v,null,S,"mounted")},T)},N=(v,m,E,S,T)=>{if(E&&h(v,E),S)for(let D=0;D{for(let R=B;R{const M=m.el=v.el;let{patchFlag:B,dynamicChildren:R,dirs:W}=m;B|=v.patchFlag&16;const le=v.props||Ce,te=m.props||Ce;let oe;if(E&&nn(E,!1),(oe=te.onVnodeBeforeUpdate)&&it(oe,E,m,v),W&&kt(m,v,E,"beforeUpdate"),E&&nn(E,!0),R?I(v.dynamicChildren,R,M,E,S,Mr(m,T),D):V||G(v,m,M,null,E,S,Mr(m,T),D,!1),B>0){if(B&16)q(M,m,le,te,E,S,T);else if(B&2&&le.class!==te.class&&a(M,"class",null,te.class,T),B&4&&a(M,"style",le.style,te.style,T),B&8){const ue=m.dynamicProps;for(let me=0;me{oe&&it(oe,E,m,v),W&&kt(m,v,E,"updated")},S)},I=(v,m,E,S,T,D,V)=>{for(let M=0;M{if(E!==S){if(E!==Ce)for(const M in E)!Sn(M)&&!(M in S)&&a(v,M,E[M],null,V,m.children,T,D,X);for(const M in S){if(Sn(M))continue;const B=S[M],R=E[M];B!==R&&M!=="value"&&a(v,M,R,B,V,m.children,T,D,X)}"value"in S&&a(v,"value",E.value,S.value,V)}},$=(v,m,E,S,T,D,V,M,B)=>{const R=m.el=v?v.el:s(""),W=m.anchor=v?v.anchor:s("");let{patchFlag:le,dynamicChildren:te,slotScopeIds:oe}=m;oe&&(M=M?M.concat(oe):oe),v==null?(l(R,E,S),l(W,E,S),P(m.children||[],E,W,T,D,V,M,B)):le>0&&le&64&&te&&v.dynamicChildren?(I(v.dynamicChildren,te,E,T,D,V,M),(m.key!=null||T&&m===T.subTree)&&Wo(v,m,!0)):G(v,m,E,W,T,D,V,M,B)},re=(v,m,E,S,T,D,V,M,B)=>{m.slotScopeIds=M,v==null?m.shapeFlag&512?T.ctx.activate(m,E,S,V,B):Ee(m,E,S,T,D,V,B):be(v,m,B)},Ee=(v,m,E,S,T,D,V)=>{const M=v.component=Xf(v,S,T);if(Sl(v)&&(M.ctx.renderer=Z),Zf(M),M.asyncDep){if(T&&T.registerDep(M,Y),!v.el){const B=M.subTree=Ie(ut);k(null,B,m,E)}}else Y(M,v,m,E,T,D,V)},be=(v,m,E)=>{const S=m.component=v.component;if(af(v,m,E))if(S.asyncDep&&!S.asyncResolved){ie(S,m,E);return}else S.next=m,Xd(S.update),S.effect.dirty=!0,S.update();else m.el=v.el,S.vnode=m},Y=(v,m,E,S,T,D,V)=>{const M=()=>{if(v.isMounted){let{next:W,bu:le,u:te,parent:oe,vnode:ue}=v;{const bn=Go(v);if(bn){W&&(W.el=ue.el,ie(v,W,V)),bn.asyncDep.then(()=>{v.isUnmounted||M()});return}}let me=W,xe;nn(v,!1),W?(W.el=ue.el,ie(v,W,V)):W=ue,le&&tr(le),(xe=W.props&&W.props.onVnodeBeforeUpdate)&&it(xe,oe,W,ue),nn(v,!0);const je=Pr(v),pt=v.subTree;v.subTree=je,b(pt,je,f(pt.el),w(pt),v,T,D),W.el=je.el,me===null&&sf(v,je.el),te&&Qe(te,T),(xe=W.props&&W.props.onVnodeUpdated)&&Qe(()=>it(xe,oe,W,ue),T)}else{let W;const{el:le,props:te}=m,{bm:oe,m:ue,parent:me}=v,xe=tl(m);if(nn(v,!1),oe&&tr(oe),!xe&&(W=te&&te.onVnodeBeforeMount)&&it(W,me,m),nn(v,!0),le&&_e){const je=()=>{v.subTree=Pr(v),_e(le,v.subTree,v,T,null)};xe?m.type.__asyncLoader().then(()=>!v.isUnmounted&&je()):je()}else{const je=v.subTree=Pr(v);b(null,je,E,S,v,T,D),m.el=je.el}if(ue&&Qe(ue,T),!xe&&(W=te&&te.onVnodeMounted)){const je=m;Qe(()=>it(W,me,je),T)}(m.shapeFlag&256||me&&tl(me.vnode)&&me.vnode.shapeFlag&256)&&v.a&&Qe(v.a,T),v.isMounted=!0,m=E=S=null}},B=v.effect=new $a(M,ot,()=>yr(R),v.scope),R=v.update=()=>{B.dirty&&B.run()};R.id=v.uid,nn(v,!0),R()},ie=(v,m,E)=>{m.component=v;const S=v.vnode.props;v.vnode=m,v.next=null,Ff(v,m.props,S,E),Df(v,m.children,E),hn(),Li(v),vn()},G=(v,m,E,S,T,D,V,M,B=!1)=>{const R=v&&v.children,W=v?v.shapeFlag:0,le=m.children,{patchFlag:te,shapeFlag:oe}=m;if(te>0){if(te&128){rt(R,le,E,S,T,D,V,M,B);return}else if(te&256){Le(R,le,E,S,T,D,V,M,B);return}}oe&8?(W&16&&X(R,T,D),le!==R&&u(E,le)):W&16?oe&16?rt(R,le,E,S,T,D,V,M,B):X(R,T,D,!0):(W&8&&u(E,""),oe&16&&P(le,E,S,T,D,V,M,B))},Le=(v,m,E,S,T,D,V,M,B)=>{v=v||xn,m=m||xn;const R=v.length,W=m.length,le=Math.min(R,W);let te;for(te=0;teW?X(v,T,D,!0,!1,le):P(m,E,S,T,D,V,M,B,le)},rt=(v,m,E,S,T,D,V,M,B)=>{let R=0;const W=m.length;let le=v.length-1,te=W-1;for(;R<=le&&R<=te;){const oe=v[R],ue=m[R]=B?Ht(m[R]):vt(m[R]);if(sn(oe,ue))b(oe,ue,E,null,T,D,V,M,B);else break;R++}for(;R<=le&&R<=te;){const oe=v[le],ue=m[te]=B?Ht(m[te]):vt(m[te]);if(sn(oe,ue))b(oe,ue,E,null,T,D,V,M,B);else break;le--,te--}if(R>le){if(R<=te){const oe=te+1,ue=oete)for(;R<=le;)ee(v[R],T,D,!0),R++;else{const oe=R,ue=R,me=new Map;for(R=ue;R<=te;R++){const tt=m[R]=B?Ht(m[R]):vt(m[R]);tt.key!=null&&me.set(tt.key,R)}let xe,je=0;const pt=te-ue+1;let bn=!1,vi=0;const Kn=new Array(pt);for(R=0;R=pt){ee(tt,T,D,!0);continue}let bt;if(tt.key!=null)bt=me.get(tt.key);else for(xe=ue;xe<=te;xe++)if(Kn[xe-ue]===0&&sn(tt,m[xe])){bt=xe;break}bt===void 0?ee(tt,T,D,!0):(Kn[bt-ue]=R+1,bt>=vi?vi=bt:bn=!0,b(tt,m[bt],E,null,T,D,V,M,B),je++)}const gi=bn?zf(Kn):xn;for(xe=gi.length-1,R=pt-1;R>=0;R--){const tt=ue+R,bt=m[tt],mi=tt+1{const{el:D,type:V,transition:M,children:B,shapeFlag:R}=v;if(R&6){Ye(v.component.subTree,m,E,S);return}if(R&128){v.suspense.move(m,E,S);return}if(R&64){V.move(v,m,E,Z);return}if(V===ze){l(D,m,E);for(let le=0;leM.enter(D),T);else{const{leave:le,delayLeave:te,afterLeave:oe}=M,ue=()=>l(D,m,E),me=()=>{le(D,()=>{ue(),oe&&oe()})};te?te(D,ue,me):me()}else l(D,m,E)},ee=(v,m,E,S=!1,T=!1)=>{const{type:D,props:V,ref:M,children:B,dynamicChildren:R,shapeFlag:W,patchFlag:le,dirs:te}=v;if(M!=null&&ur(M,null,E,v,!0),W&256){m.ctx.deactivate(v);return}const oe=W&1&&te,ue=!tl(v);let me;if(ue&&(me=V&&V.onVnodeBeforeUnmount)&&it(me,m,v),W&6)ne(v.component,E,S);else{if(W&128){v.suspense.unmount(E,S);return}oe&&kt(v,null,m,"beforeUnmount"),W&64?v.type.remove(v,m,E,T,Z,S):R&&(D!==ze||le>0&&le&64)?X(R,m,E,!1,!0):(D===ze&&le&384||!T&&W&16)&&X(B,m,E),S&&z(v)}(ue&&(me=V&&V.onVnodeUnmounted)||oe)&&Qe(()=>{me&&it(me,m,v),oe&&kt(v,null,m,"unmounted")},E)},z=v=>{const{type:m,el:E,anchor:S,transition:T}=v;if(m===ze){K(E,S);return}if(m===rl){A(v);return}const D=()=>{r(E),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(v.shapeFlag&1&&T&&!T.persisted){const{leave:V,delayLeave:M}=T,B=()=>V(E,D);M?M(v.el,D,B):B()}else D()},K=(v,m)=>{let E;for(;v!==m;)E=p(v),r(v),v=E;r(m)},ne=(v,m,E)=>{const{bum:S,scope:T,update:D,subTree:V,um:M}=v;S&&tr(S),T.stop(),D&&(D.active=!1,ee(V,v,m,E)),M&&Qe(M,m),Qe(()=>{v.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},X=(v,m,E,S=!1,T=!1,D=0)=>{for(let V=D;Vv.shapeFlag&6?w(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let j=!1;const H=(v,m,E)=>{v==null?m._vnode&&ee(m._vnode,null,null,!0):b(m._vnode||null,v,m,null,null,null,E),j||(j=!0,Li(),sr(),j=!1),m._vnode=v},Z={p:b,um:ee,m:Ye,r:z,mt:Ee,mc:P,pc:G,pbc:I,n:w,o:e};let fe,_e;return t&&([fe,_e]=t(Z)),{render:H,hydrate:fe,createApp:Pf(H,fe)}}function Mr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wo(e,t,n=!1){const l=e.children,r=t.children;if(ae(l)&&ae(r))for(let a=0;a>1,e[n[s]]0&&(t[l]=n[a-1]),n[a]=l)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}function Go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Go(t)}const qf=e=>e.__isTeleport,ze=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),rl=Symbol.for("v-stc"),al=[];let gt=null;function yt(e=!1){al.push(gt=e?null:[])}function Wf(){al.pop(),gt=al[al.length-1]||null}let hl=1;function Di(e){hl+=e}function Ko(e){return e.dynamicChildren=hl>0?gt||xn:null,Wf(),hl>0&>&>.push(e),e}function Gt(e,t,n,l,r,a){return Ko(se(e,t,n,l,r,a,!0))}function Ja(e,t,n,l,r){return Ko(Ie(e,t,n,l,r,!0))}function pa(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const wr="__vInternal",Yo=({key:e})=>e??null,nr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Fe(e)||ce(e)?{i:We,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,l=0,r=null,a=e===ze?0:1,i=!1,s=!1){const o={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yo(t),ref:t&&nr(t),scopeId:br,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:We};return s?(Xa(o,n),a&128&&e.normalize(o)):n&&(o.shapeFlag|=Re(n)?8:16),hl>0&&!i&>&&(o.patchFlag>0||a&6)&&o.patchFlag!==32&>.push(o),o}const Ie=Gf;function Gf(e,t=null,n=null,l=0,r=null,a=!1){if((!e||e===of)&&(e=ut),pa(e)){const s=Kt(e,t,!0);return n&&Xa(s,n),hl>0&&!a&>&&(s.shapeFlag&6?gt[gt.indexOf(e)]=s:gt.push(s)),s.patchFlag|=-2,s}if(rp(e)&&(e=e.__vccOpts),t){t=Kf(t);let{class:s,style:o}=t;s&&!Re(s)&&(t.class=Fa(s)),ke(o)&&(mo(o)&&!ae(o)&&(o=Pe({},o)),t.style=Ra(o))}const i=Re(e)?1:uf(e)?128:qf(e)?64:ke(e)?4:ce(e)?2:0;return se(e,t,n,l,r,i,a,!0)}function Kf(e){return e?mo(e)||wr in e?Pe({},e):e:null}function Kt(e,t,n=!1){const{props:l,ref:r,patchFlag:a,children:i}=e,s=t?Yf(l||{},t):l;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Yo(s),ref:t&&t.ref?n&&r?ae(r)?r.concat(nr(t)):[r,nr(t)]:nr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function dr(e=" ",t=0){return Ie(Mn,null,e,t)}function i2(e,t){const n=Ie(rl,null,e);return n.staticCount=t,n}function fn(e="",t=!1){return t?(yt(),Ja(ut,null,e)):Ie(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(ut):ae(e)?Ie(ze,null,e.slice()):typeof e=="object"?Ht(e):Ie(Mn,null,String(e))}function Ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Xa(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(l&65){const r=t.default;r&&(r._c&&(r._d=!1),Xa(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(wr in t)?t._ctx=We:r===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:We},n=32):(t=String(t),l&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yf(...e){const t={};for(let n=0;nHe||We;let fr,ha;{const e=eo(),t=(n,l)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(l),a=>{r.length>1?r.forEach(i=>i(a)):r[0](a)}};fr=t("__VUE_INSTANCE_SETTERS__",n=>He=n),ha=t("__VUE_SSR_SETTERS__",n=>Ol=n)}const Il=e=>{const t=He;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},ji=()=>{He&&He.scope.off(),fr(null)};function Qo(e){return e.vnode.shapeFlag&4}let Ol=!1;function Zf(e,t=!1){t&&ha(t);const{props:n,children:l}=e.vnode,r=Qo(e);Rf(e,n,r,t),Mf(e,l);const a=r?ep(e,t):void 0;return t&&ha(!1),a}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=yo(new Proxy(e.ctx,Lf));const{setup:l}=n;if(l){const r=e.setupContext=l.length>1?np(e):null,a=Il(e);hn();const i=qt(l,e,0,[e.props,r]);if(vn(),a(),Js(i)){if(i.then(ji,ji),t)return i.then(s=>{Hi(e,s,t)}).catch(s=>{Ll(s,e,0)});e.asyncDep=i}else Hi(e,i,t)}else Jo(e,t)}function Hi(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=ko(t)),Jo(e,n)}let Bi;function Jo(e,t,n){const l=e.type;if(!e.render){if(!t&&Bi&&!l.render){const r=l.template||Ya(e).template;if(r){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:o}=l,c=Pe(Pe({isCustomElement:a,delimiters:s},i),o);l.render=Bi(r,c)}}e.render=l.render||ot}{const r=Il(e);hn();try{xf(e)}finally{vn(),r()}}}function tp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function np(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return tp(e)},slots:e.slots,emit:e.emit,expose:t}}function Er(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ko(yo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nl)return nl[n](e)},has(t,n){return n in t||n in nl}}))}function lp(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function rp(e){return ce(e)&&"__vccOpts"in e}const x=(e,t)=>Ud(e,t,Ol);function d(e,t,n){const l=arguments.length;return l===2?ke(t)&&!ae(t)?pa(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&pa(n)&&(n=[n]),Ie(e,t,n))}const ap="3.4.21";/** +**/function qt(e,t,n,l){try{return l?e(...l):e()}catch(r){Ll(r,t,n)}}function ct(e,t,n,l){if(ce(e)){const a=qt(e,t,n,l);return a&&Js(a)&&a.catch(i=>{Ll(i,t,n)}),a}const r=[];for(let a=0;a>>1,r=Ve[l],a=dl(r);awt&&Ve.splice(t,1)}function Zd(e){ae(e)?In.push(...e):(!Dt||!Dt.includes(e,e.allowRecurse?an+1:an))&&In.push(e),Co()}function Li(e,t,n=ul?wt+1:0){for(;ndl(n)-dl(l));if(In.length=0,Dt){Dt.push(...t);return}for(Dt=t,an=0;ane.id==null?1/0:e.id,ef=(e,t)=>{const n=dl(e)-dl(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ao(e){oa=!1,ul=!0,Ve.sort(ef);try{for(wt=0;wtRe(h)?h.trim():h)),f&&(r=n.map(ra))}let s,o=l[s=Ir(t)]||l[s=Ir(ft(t))];!o&&a&&(o=l[s=Ir(zn(t))]),o&&ct(o,e,6,r);const c=l[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ct(c,e,6,r)}}function Lo(e,t,n=!1){const l=t.emitsCache,r=l.get(e);if(r!==void 0)return r;const a=e.emits;let i={},s=!1;if(!ce(e)){const o=c=>{const u=Lo(c,t,!0);u&&(s=!0,Pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return!a&&!s?(ke(e)&&l.set(e,null),null):(ae(a)?a.forEach(o=>i[o]=null):Pe(i,a),ke(e)&&l.set(e,i),i)}function _r(e,t){return!e||!wl(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,zn(t))||he(e,t))}let We=null,br=null;function or(e){const t=We;return We=e,br=e&&e.type.__scopeId||null,t}function xl(e){br=e}function Tl(){br=null}function nf(e,t=We,n){if(!t||e._n)return e;const l=(...r)=>{l._d&&Di(-1);const a=or(t);let i;try{i=e(...r)}finally{or(a),l._d&&Di(1)}return i};return l._n=!0,l._c=!0,l._d=!0,l}function Pr(e){const{type:t,vnode:n,proxy:l,withProxy:r,props:a,propsOptions:[i],slots:s,attrs:o,emit:c,render:u,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:b}=e;let _,k;const C=or(e);try{if(n.shapeFlag&4){const A=r||l,O=A;_=vt(u.call(O,A,f,a,h,p,g)),k=o}else{const A=t;_=vt(A.length>1?A(a,{attrs:o,slots:s,emit:c}):A(a,null)),k=t.props?o:lf(o)}}catch(A){al.length=0,Ll(A,e,1),_=Ie(ut)}let y=_;if(k&&b!==!1){const A=Object.keys(k),{shapeFlag:O}=y;A.length&&O&7&&(i&&A.some(Ia)&&(k=rf(k,i)),y=Gt(y,k))}return n.dirs&&(y=Gt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),_=y,or(C),_}const lf=e=>{let t;for(const n in e)(n==="class"||n==="style"||wl(n))&&((t||(t={}))[n]=e[n]);return t},rf=(e,t)=>{const n={};for(const l in e)(!Ia(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function af(e,t,n){const{props:l,children:r,component:a}=e,{props:i,children:s,patchFlag:o}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&o>=0){if(o&1024)return!0;if(o&16)return l?xi(l,i,c):!!i;if(o&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function To(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Zd(e)}const df=Symbol.for("v-scx"),ff=()=>Me(df);function So(e,t){return Wa(e,null,t)}const zl={};function ve(e,t,n){return Wa(e,t,n)}function Wa(e,t,{immediate:n,deep:l,flush:r,once:a,onTrack:i,onTrigger:s}=Ce){if(t&&a){const L=t;t=(...N)=>{L(...N),O()}}const o=He,c=L=>l===!0?L:on(L,l===!1?1:void 0);let u,f=!1,p=!1;if(Fe(e)?(u=()=>e.value,f=ir(e)):Nn(e)?(u=()=>c(e),f=!0):ae(e)?(p=!0,f=e.some(L=>Nn(L)||ir(L)),u=()=>e.map(L=>{if(Fe(L))return L.value;if(Nn(L))return c(L);if(ce(L))return qt(L,o,2)})):ce(e)?t?u=()=>qt(e,o,2):u=()=>(h&&h(),ct(e,o,3,[g])):u=ot,t&&l){const L=u;u=()=>on(L())}let h,g=L=>{h=y.onStop=()=>{qt(L,o,4),h=y.onStop=void 0}},b;if(Ol)if(g=ot,t?n&&ct(t,o,3,[u(),p?[]:void 0,g]):u(),r==="sync"){const L=ff();b=L.__watcherHandles||(L.__watcherHandles=[])}else return ot;let _=p?new Array(e.length).fill(zl):zl;const k=()=>{if(!(!y.active||!y.dirty))if(t){const L=y.run();(l||f||(p?L.some((N,P)=>Wt(N,_[P])):Wt(L,_)))&&(h&&h(),ct(t,o,3,[L,_===zl?void 0:p&&_[0]===zl?[]:_,g]),_=L)}else y.run()};k.allowRecurse=!!t;let C;r==="sync"?C=k:r==="post"?C=()=>Qe(k,o&&o.suspense):(k.pre=!0,o&&(k.id=o.uid),C=()=>yr(k));const y=new $a(u,ot,C),A=lo(),O=()=>{y.stop(),A&&Oa(A.effects,y)};return t?n?k():_=y.run():r==="post"?Qe(y.run.bind(y),o&&o.suspense):y.run(),b&&b.push(O),O}function pf(e,t,n){const l=this.proxy,r=Re(e)?e.includes(".")?No(l,e):()=>l[e]:e.bind(l,l);let a;ce(t)?a=t:(a=t.handler,n=t);const i=Il(this),s=Wa(r,a.bind(l),n);return i(),s}function No(e,t){const n=t.split(".");return()=>{let l=e;for(let r=0;r0){if(n>=t)return e;n++}if(l=l||new Set,l.has(e))return e;if(l.add(e),Fe(e))on(e.value,t,n,l);else if(ae(e))for(let r=0;r{on(r,t,n,l)});else if(Zs(e))for(const r in e)on(e[r],t,n,l);return e}function Io(e,t){if(We===null)return e;const n=Er(We)||We.proxy,l=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ga(()=>{e.isUnmounting=!0}),e}const at=[Function,Array],Po={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},hf={name:"BaseTransition",props:Po,setup(e,{slots:t}){const n=Nl(),l=Oo();return()=>{const r=t.default&&Ka(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const p of r)if(p.type!==ut){a=p;break}}const i=de(e),{mode:s}=i;if(l.isLeaving)return Rr(a);const o=Si(a);if(!o)return Rr(a);const c=fl(o,i,l,n);pl(o,c);const u=n.subTree,f=u&&Si(u);if(f&&f.type!==ut&&!sn(o,f)){const p=fl(f,i,l,n);if(pl(f,p),s==="out-in")return l.isLeaving=!0,p.afterLeave=()=>{l.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Rr(a);s==="in-out"&&o.type!==ut&&(p.delayLeave=(h,g,b)=>{const _=Ro(l,f);_[String(f.key)]=f,h[jt]=()=>{g(),h[jt]=void 0,delete c.delayedLeave},c.delayedLeave=b})}return a}}},vf=hf;function Ro(e,t){const{leavingVNodes:n}=e;let l=n.get(t.type);return l||(l=Object.create(null),n.set(t.type,l)),l}function fl(e,t,n,l){const{appear:r,mode:a,persisted:i=!1,onBeforeEnter:s,onEnter:o,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:b,onAppear:_,onAfterAppear:k,onAppearCancelled:C}=t,y=String(e.key),A=Ro(n,e),O=(P,J)=>{P&&ct(P,l,9,J)},L=(P,J)=>{const I=J[1];O(P,J),ae(P)?P.every(q=>q.length<=1)&&I():P.length<=1&&I()},N={mode:a,persisted:i,beforeEnter(P){let J=s;if(!n.isMounted)if(r)J=b||s;else return;P[jt]&&P[jt](!0);const I=A[y];I&&sn(e,I)&&I.el[jt]&&I.el[jt](),O(J,[P])},enter(P){let J=o,I=c,q=u;if(!n.isMounted)if(r)J=_||o,I=k||c,q=C||u;else return;let $=!1;const re=P[ql]=Ee=>{$||($=!0,Ee?O(q,[P]):O(I,[P]),N.delayedLeave&&N.delayedLeave(),P[ql]=void 0)};J?L(J,[P,re]):re()},leave(P,J){const I=String(e.key);if(P[ql]&&P[ql](!0),n.isUnmounting)return J();O(f,[P]);let q=!1;const $=P[jt]=re=>{q||(q=!0,J(),re?O(g,[P]):O(h,[P]),P[jt]=void 0,A[I]===e&&delete A[I])};A[I]=e,p?L(p,[P,$]):$()},clone(P){return fl(P,t,n,l)}};return N}function Rr(e){if(Sl(e))return e=Gt(e),e.children=null,e}function Si(e){return Sl(e)?e.children?e.children[0]:void 0:e}function pl(e,t){e.shapeFlag&6&&e.component?pl(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ka(e,t=!1,n){let l=[],r=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function gf(e){ce(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:l,delay:r=200,timeout:a,suspensible:i=!0,onError:s}=e;let o=null,c,u=0;const f=()=>(u++,o=null,p()),p=()=>{let h;return o||(h=o=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),s)return new Promise((b,_)=>{s(g,()=>b(f()),()=>_(g),u+1)});throw g}).then(g=>h!==o&&o?o:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return U({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const h=He;if(c)return()=>Fr(c,h);const g=C=>{o=null,Ll(C,h,13,!l)};if(i&&h.suspense||Ol)return p().then(C=>()=>Fr(C,h)).catch(C=>(g(C),()=>l?Ie(l,{error:C}):null));const b=Q(!1),_=Q(),k=Q(!!r);return r&&setTimeout(()=>{k.value=!1},r),a!=null&&setTimeout(()=>{if(!b.value&&!_.value){const C=new Error(`Async component timed out after ${a}ms.`);g(C),_.value=C}},a),p().then(()=>{b.value=!0,h.parent&&Sl(h.parent.vnode)&&(h.parent.effect.dirty=!0,yr(h.parent.update))}).catch(C=>{g(C),_.value=C}),()=>{if(b.value&&c)return Fr(c,h);if(_.value&&l)return Ie(l,{error:_.value});if(n&&!k.value)return Ie(n)}}})}function Fr(e,t){const{ref:n,props:l,children:r,ce:a}=t.vnode,i=Ie(e,l,r);return i.ref=n,i.ce=a,delete t.vnode.ce,i}const Sl=e=>e.type.__isKeepAlive;function mf(e,t){Fo(e,"a",t)}function yf(e,t){Fo(e,"da",t)}function Fo(e,t,n=He){const l=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(kr(t,l,n),n){let r=n.parent;for(;r&&r.parent;)Sl(r.parent.vnode)&&_f(l,t,n,r),r=r.parent}}function _f(e,t,n,l){const r=kr(t,e,l,!0);gn(()=>{Oa(l[t],r)},n)}function kr(e,t,n=He,l=!1){if(n){const r=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;hn();const s=Il(n),o=ct(t,n,e,i);return s(),vn(),o});return l?r.unshift(a):r.push(a),a}}const It=e=>(t,n=He)=>(!Ol||e==="sp")&&kr(e,(...l)=>t(...l),n),bf=It("bm"),we=It("m"),kf=It("bu"),$o=It("u"),Ga=It("bum"),gn=It("um"),wf=It("sp"),Ef=It("rtg"),Cf=It("rtc");function Af(e,t=He){kr("ec",e,t)}function Mo(e,t,n,l){let r;const a=n&&n[l];if(ae(e)||Re(e)){r=new Array(e.length);for(let i=0,s=e.length;it(i,s,void 0,a&&a[s]));else{const i=Object.keys(e);r=new Array(i.length);for(let s=0,o=i.length;se?Qo(e)?Er(e)||e.proxy:ca(e.parent):null,nl=Pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ca(e.parent),$root:e=>ca(e.root),$emit:e=>e.emit,$options:e=>Ya(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,yr(e.update)}),$nextTick:e=>e.n||(e.n=Qt.bind(e.proxy)),$watch:e=>pf.bind(e)}),$r=(e,t)=>e!==Ce&&!e.__isScriptSetup&&he(e,t),Lf={get({_:e},t){const{ctx:n,setupState:l,data:r,props:a,accessCache:i,type:s,appContext:o}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return l[t];case 2:return r[t];case 4:return n[t];case 3:return a[t]}else{if($r(l,t))return i[t]=1,l[t];if(r!==Ce&&he(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&he(c,t))return i[t]=3,a[t];if(n!==Ce&&he(n,t))return i[t]=4,n[t];ua&&(i[t]=0)}}const u=nl[t];let f,p;if(u)return t==="$attrs"&&Ze(e,"get",t),u(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==Ce&&he(n,t))return i[t]=4,n[t];if(p=o.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:l,setupState:r,ctx:a}=e;return $r(r,t)?(r[t]=n,!0):l!==Ce&&he(l,t)?(l[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:r,propsOptions:a}},i){let s;return!!n[i]||e!==Ce&&he(e,i)||$r(t,i)||(s=a[0])&&he(s,i)||he(l,i)||he(nl,i)||he(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ni(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ua=!0;function xf(e){const t=Ya(e),n=e.proxy,l=e.ctx;ua=!1,t.beforeCreate&&Ii(t.beforeCreate,e,"bc");const{data:r,computed:a,methods:i,watch:s,provide:o,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:h,updated:g,activated:b,deactivated:_,beforeDestroy:k,beforeUnmount:C,destroyed:y,unmounted:A,render:O,renderTracked:L,renderTriggered:N,errorCaptured:P,serverPrefetch:J,expose:I,inheritAttrs:q,components:$,directives:re,filters:Ee}=t;if(c&&Tf(c,l,null),i)for(const ie in i){const K=i[ie];ce(K)&&(l[ie]=K.bind(n))}if(r){const ie=r.call(n,n);ke(ie)&&(e.data=Cl(ie))}if(ua=!0,a)for(const ie in a){const K=a[ie],Le=ce(K)?K.bind(n,n):ce(K.get)?K.get.bind(n,n):ot,rt=!ce(K)&&ce(K.set)?K.set.bind(n):ot,Ye=x({get:Le,set:rt});Object.defineProperty(l,ie,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:ee=>Ye.value=ee})}if(s)for(const ie in s)Do(s[ie],l,n,ie);if(o){const ie=ce(o)?o.call(n):o;Reflect.ownKeys(ie).forEach(K=>{On(K,ie[K])})}u&&Ii(u,e,"c");function Y(ie,K){ae(K)?K.forEach(Le=>ie(Le.bind(n))):K&&ie(K.bind(n))}if(Y(bf,f),Y(we,p),Y(kf,h),Y($o,g),Y(mf,b),Y(yf,_),Y(Af,P),Y(Cf,L),Y(Ef,N),Y(Ga,C),Y(gn,A),Y(wf,J),ae(I))if(I.length){const ie=e.exposed||(e.exposed={});I.forEach(K=>{Object.defineProperty(ie,K,{get:()=>n[K],set:Le=>n[K]=Le})})}else e.exposed||(e.exposed={});O&&e.render===ot&&(e.render=O),q!=null&&(e.inheritAttrs=q),$&&(e.components=$),re&&(e.directives=re)}function Tf(e,t,n=ot){ae(e)&&(e=da(e));for(const l in e){const r=e[l];let a;ke(r)?"default"in r?a=Me(r.from||l,r.default,!0):a=Me(r.from||l):a=Me(r),Fe(a)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>a.value,set:i=>a.value=i}):t[l]=a}}function Ii(e,t,n){ct(ae(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function Do(e,t,n,l){const r=l.includes(".")?No(n,l):()=>n[l];if(Re(e)){const a=t[e];ce(a)&&ve(r,a)}else if(ce(e))ve(r,e.bind(n));else if(ke(e))if(ae(e))e.forEach(a=>Do(a,t,n,l));else{const a=ce(e.handler)?e.handler.bind(n):t[e.handler];ce(a)&&ve(r,a,e)}}function Ya(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:r,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t);let o;return s?o=s:!r.length&&!n&&!l?o=t:(o={},r.length&&r.forEach(c=>cr(o,c,i,!0)),cr(o,t,i)),ke(t)&&a.set(t,o),o}function cr(e,t,n,l=!1){const{mixins:r,extends:a}=t;a&&cr(e,a,n,!0),r&&r.forEach(i=>cr(e,i,n,!0));for(const i in t)if(!(l&&i==="expose")){const s=Sf[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Sf={data:Oi,props:Pi,emits:Pi,methods:Xn,computed:Xn,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:Xn,directives:Xn,watch:If,provide:Oi,inject:Nf};function Oi(e,t){return t?e?function(){return Pe(ce(e)?e.call(this,this):e,ce(t)?t.call(this,this):t)}:t:e}function Nf(e,t){return Xn(da(e),da(t))}function da(e){if(ae(e)){const t={};for(let n=0;n1)return n&&ce(t)?t.call(l&&l.proxy):t}}function Rf(e,t,n,l=!1){const r={},a={};rr(a,wr,1),e.propsDefaults=Object.create(null),Ho(e,t,r,a);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=l?r:go(r):e.type.props?e.props=r:e.props=a,e.attrs=a}function Ff(e,t,n,l){const{props:r,attrs:a,vnode:{patchFlag:i}}=e,s=de(r),[o]=e.propsOptions;let c=!1;if((l||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{o=!0;const[p,h]=Bo(f,t,!0);Pe(i,p),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!a&&!o)return ke(e)&&l.set(e,xn),xn;if(ae(a))for(let u=0;u-1,h[1]=b<0||g-1||he(h,"default"))&&s.push(f)}}}const c=[i,s];return ke(e)&&l.set(e,c),c}function Ri(e){return e[0]!=="$"&&!Sn(e)}function Fi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function $i(e,t){return Fi(e)===Fi(t)}function Mi(e,t){return ae(t)?t.findIndex(n=>$i(n,e)):ce(t)&&$i(t,e)?0:-1}const Vo=e=>e[0]==="_"||e==="$stable",Qa=e=>ae(e)?e.map(vt):[vt(e)],$f=(e,t,n)=>{if(t._n)return t;const l=nf((...r)=>Qa(t(...r)),n);return l._c=!1,l},Uo=(e,t,n)=>{const l=e._ctx;for(const r in e){if(Vo(r))continue;const a=e[r];if(ce(a))t[r]=$f(r,a,l);else if(a!=null){const i=Qa(a);t[r]=()=>i}}},zo=(e,t)=>{const n=Qa(t);e.slots.default=()=>n},Mf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),rr(t,"_",n)):Uo(t,e.slots={})}else e.slots={},t&&zo(e,t);rr(e.slots,wr,1)},Df=(e,t,n)=>{const{vnode:l,slots:r}=e;let a=!0,i=Ce;if(l.shapeFlag&32){const s=t._;s?n&&s===1?a=!1:(Pe(r,t),!n&&s===1&&delete r._):(a=!t.$stable,Uo(t,r)),i=t}else t&&(zo(e,t),i={default:1});if(a)for(const s in r)!Vo(s)&&i[s]==null&&delete r[s]};function ur(e,t,n,l,r=!1){if(ae(e)){e.forEach((p,h)=>ur(p,t&&(ae(t)?t[h]:t),n,l,r));return}if(tl(l)&&!r)return;const a=l.shapeFlag&4?Er(l.component)||l.component.proxy:l.el,i=r?null:a,{i:s,r:o}=e,c=t&&t.r,u=s.refs===Ce?s.refs={}:s.refs,f=s.setupState;if(c!=null&&c!==o&&(Re(c)?(u[c]=null,he(f,c)&&(f[c]=null)):Fe(c)&&(c.value=null)),ce(o))qt(o,s,12,[i,u]);else{const p=Re(o),h=Fe(o);if(p||h){const g=()=>{if(e.f){const b=p?he(f,o)?f[o]:u[o]:o.value;r?ae(b)&&Oa(b,a):ae(b)?b.includes(a)||b.push(a):p?(u[o]=[a],he(f,o)&&(f[o]=u[o])):(o.value=[a],e.k&&(u[e.k]=o.value))}else p?(u[o]=i,he(f,o)&&(f[o]=i)):h&&(o.value=i,e.k&&(u[e.k]=i))};i?(g.id=-1,Qe(g,n)):g()}}}let Pt=!1;const jf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hf=e=>e.namespaceURI.includes("MathML"),Wl=e=>{if(jf(e))return"svg";if(Hf(e))return"mathml"},Kl=e=>e.nodeType===8;function Bf(e){const{mt:t,p:n,o:{patchProp:l,createText:r,nextSibling:a,parentNode:i,remove:s,insert:o,createComment:c}}=e,u=(y,A)=>{if(!A.hasChildNodes()){n(null,y,A),sr(),A._vnode=y;return}Pt=!1,f(A.firstChild,y,null,null,null),sr(),A._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},f=(y,A,O,L,N,P=!1)=>{const J=Kl(y)&&y.data==="[",I=()=>b(y,A,O,L,N,J),{type:q,ref:$,shapeFlag:re,patchFlag:Ee}=A;let be=y.nodeType;A.el=y,Ee===-2&&(P=!1,A.dynamicChildren=null);let Y=null;switch(q){case Mn:be!==3?A.children===""?(o(A.el=r(""),i(y),y),Y=y):Y=I():(y.data!==A.children&&(Pt=!0,y.data=A.children),Y=a(y));break;case ut:C(y)?(Y=a(y),k(A.el=y.content.firstChild,y,O)):be!==8||J?Y=I():Y=a(y);break;case rl:if(J&&(y=a(y),be=y.nodeType),be===1||be===3){Y=y;const ie=!A.children.length;for(let K=0;K{P=P||!!A.dynamicChildren;const{type:J,props:I,patchFlag:q,shapeFlag:$,dirs:re,transition:Ee}=A,be=J==="input"||J==="option";if(be||q!==-1){re&&kt(A,null,O,"created");let Y=!1;if(C(y)){Y=qo(L,Ee)&&O&&O.vnode.props&&O.vnode.props.appear;const K=y.content.firstChild;Y&&Ee.beforeEnter(K),k(K,y,O),A.el=y=K}if($&16&&!(I&&(I.innerHTML||I.textContent))){let K=h(y.firstChild,A,y,O,L,N,P);for(;K;){Pt=!0;const Le=K;K=K.nextSibling,s(Le)}}else $&8&&y.textContent!==A.children&&(Pt=!0,y.textContent=A.children);if(I)if(be||!P||q&48)for(const K in I)(be&&(K.endsWith("value")||K==="indeterminate")||wl(K)&&!Sn(K)||K[0]===".")&&l(y,K,null,I[K],void 0,void 0,O);else I.onClick&&l(y,"onClick",null,I.onClick,void 0,void 0,O);let ie;(ie=I&&I.onVnodeBeforeMount)&&it(ie,O,A),re&&kt(A,null,O,"beforeMount"),((ie=I&&I.onVnodeMounted)||re||Y)&&To(()=>{ie&&it(ie,O,A),Y&&Ee.enter(y),re&&kt(A,null,O,"mounted")},L)}return y.nextSibling},h=(y,A,O,L,N,P,J)=>{J=J||!!A.dynamicChildren;const I=A.children,q=I.length;for(let $=0;${const{slotScopeIds:J}=A;J&&(N=N?N.concat(J):J);const I=i(y),q=h(a(y),A,I,O,L,N,P);return q&&Kl(q)&&q.data==="]"?a(A.anchor=q):(Pt=!0,o(A.anchor=c("]"),I,q),q)},b=(y,A,O,L,N,P)=>{if(Pt=!0,A.el=null,P){const q=_(y);for(;;){const $=a(y);if($&&$!==q)s($);else break}}const J=a(y),I=i(y);return s(y),n(null,A,I,J,O,L,Wl(I),N),J},_=(y,A="[",O="]")=>{let L=0;for(;y;)if(y=a(y),y&&Kl(y)&&(y.data===A&&L++,y.data===O)){if(L===0)return a(y);L--}return y},k=(y,A,O)=>{const L=A.parentNode;L&&L.replaceChild(y,A);let N=O;for(;N;)N.vnode.el===A&&(N.vnode.el=N.subTree.el=y),N=N.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Qe=To;function Vf(e){return Uf(e,Bf)}function Uf(e,t){const n=eo();n.__VUE__=!0;const{insert:l,remove:r,patchProp:a,createElement:i,createText:s,createComment:o,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:h=ot,insertStaticContent:g}=e,b=(v,m,E,S=null,T=null,D=null,V=void 0,M=null,B=!!m.dynamicChildren)=>{if(v===m)return;v&&!sn(v,m)&&(S=w(v),ee(v,T,D,!0),v=null),m.patchFlag===-2&&(B=!1,m.dynamicChildren=null);const{type:R,ref:W,shapeFlag:le}=m;switch(R){case Mn:_(v,m,E,S);break;case ut:k(v,m,E,S);break;case rl:v==null&&C(m,E,S,V);break;case ze:$(v,m,E,S,T,D,V,M,B);break;default:le&1?O(v,m,E,S,T,D,V,M,B):le&6?re(v,m,E,S,T,D,V,M,B):(le&64||le&128)&&R.process(v,m,E,S,T,D,V,M,B,Z)}W!=null&&T&&ur(W,v&&v.ref,D,m||v,!m)},_=(v,m,E,S)=>{if(v==null)l(m.el=s(m.children),E,S);else{const T=m.el=v.el;m.children!==v.children&&c(T,m.children)}},k=(v,m,E,S)=>{v==null?l(m.el=o(m.children||""),E,S):m.el=v.el},C=(v,m,E,S)=>{[v.el,v.anchor]=g(v.children,m,E,S,v.el,v.anchor)},y=({el:v,anchor:m},E,S)=>{let T;for(;v&&v!==m;)T=p(v),l(v,E,S),v=T;l(m,E,S)},A=({el:v,anchor:m})=>{let E;for(;v&&v!==m;)E=p(v),r(v),v=E;r(m)},O=(v,m,E,S,T,D,V,M,B)=>{m.type==="svg"?V="svg":m.type==="math"&&(V="mathml"),v==null?L(m,E,S,T,D,V,M,B):J(v,m,T,D,V,M,B)},L=(v,m,E,S,T,D,V,M)=>{let B,R;const{props:W,shapeFlag:le,transition:te,dirs:oe}=v;if(B=v.el=i(v.type,D,W&&W.is,W),le&8?u(B,v.children):le&16&&P(v.children,B,null,S,T,Mr(v,D),V,M),oe&&kt(v,null,S,"created"),N(B,v,v.scopeId,V,S),W){for(const me in W)me!=="value"&&!Sn(me)&&a(B,me,null,W[me],D,v.children,S,T,X);"value"in W&&a(B,"value",null,W.value,D),(R=W.onVnodeBeforeMount)&&it(R,S,v)}oe&&kt(v,null,S,"beforeMount");const ue=qo(T,te);ue&&te.beforeEnter(B),l(B,m,E),((R=W&&W.onVnodeMounted)||ue||oe)&&Qe(()=>{R&&it(R,S,v),ue&&te.enter(B),oe&&kt(v,null,S,"mounted")},T)},N=(v,m,E,S,T)=>{if(E&&h(v,E),S)for(let D=0;D{for(let R=B;R{const M=m.el=v.el;let{patchFlag:B,dynamicChildren:R,dirs:W}=m;B|=v.patchFlag&16;const le=v.props||Ce,te=m.props||Ce;let oe;if(E&&nn(E,!1),(oe=te.onVnodeBeforeUpdate)&&it(oe,E,m,v),W&&kt(m,v,E,"beforeUpdate"),E&&nn(E,!0),R?I(v.dynamicChildren,R,M,E,S,Mr(m,T),D):V||K(v,m,M,null,E,S,Mr(m,T),D,!1),B>0){if(B&16)q(M,m,le,te,E,S,T);else if(B&2&&le.class!==te.class&&a(M,"class",null,te.class,T),B&4&&a(M,"style",le.style,te.style,T),B&8){const ue=m.dynamicProps;for(let me=0;me{oe&&it(oe,E,m,v),W&&kt(m,v,E,"updated")},S)},I=(v,m,E,S,T,D,V)=>{for(let M=0;M{if(E!==S){if(E!==Ce)for(const M in E)!Sn(M)&&!(M in S)&&a(v,M,E[M],null,V,m.children,T,D,X);for(const M in S){if(Sn(M))continue;const B=S[M],R=E[M];B!==R&&M!=="value"&&a(v,M,R,B,V,m.children,T,D,X)}"value"in S&&a(v,"value",E.value,S.value,V)}},$=(v,m,E,S,T,D,V,M,B)=>{const R=m.el=v?v.el:s(""),W=m.anchor=v?v.anchor:s("");let{patchFlag:le,dynamicChildren:te,slotScopeIds:oe}=m;oe&&(M=M?M.concat(oe):oe),v==null?(l(R,E,S),l(W,E,S),P(m.children||[],E,W,T,D,V,M,B)):le>0&&le&64&&te&&v.dynamicChildren?(I(v.dynamicChildren,te,E,T,D,V,M),(m.key!=null||T&&m===T.subTree)&&Wo(v,m,!0)):K(v,m,E,W,T,D,V,M,B)},re=(v,m,E,S,T,D,V,M,B)=>{m.slotScopeIds=M,v==null?m.shapeFlag&512?T.ctx.activate(m,E,S,V,B):Ee(m,E,S,T,D,V,B):be(v,m,B)},Ee=(v,m,E,S,T,D,V)=>{const M=v.component=Xf(v,S,T);if(Sl(v)&&(M.ctx.renderer=Z),Zf(M),M.asyncDep){if(T&&T.registerDep(M,Y),!v.el){const B=M.subTree=Ie(ut);k(null,B,m,E)}}else Y(M,v,m,E,T,D,V)},be=(v,m,E)=>{const S=m.component=v.component;if(af(v,m,E))if(S.asyncDep&&!S.asyncResolved){ie(S,m,E);return}else S.next=m,Xd(S.update),S.effect.dirty=!0,S.update();else m.el=v.el,S.vnode=m},Y=(v,m,E,S,T,D,V)=>{const M=()=>{if(v.isMounted){let{next:W,bu:le,u:te,parent:oe,vnode:ue}=v;{const bn=Ko(v);if(bn){W&&(W.el=ue.el,ie(v,W,V)),bn.asyncDep.then(()=>{v.isUnmounted||M()});return}}let me=W,xe;nn(v,!1),W?(W.el=ue.el,ie(v,W,V)):W=ue,le&&tr(le),(xe=W.props&&W.props.onVnodeBeforeUpdate)&&it(xe,oe,W,ue),nn(v,!0);const je=Pr(v),pt=v.subTree;v.subTree=je,b(pt,je,f(pt.el),w(pt),v,T,D),W.el=je.el,me===null&&sf(v,je.el),te&&Qe(te,T),(xe=W.props&&W.props.onVnodeUpdated)&&Qe(()=>it(xe,oe,W,ue),T)}else{let W;const{el:le,props:te}=m,{bm:oe,m:ue,parent:me}=v,xe=tl(m);if(nn(v,!1),oe&&tr(oe),!xe&&(W=te&&te.onVnodeBeforeMount)&&it(W,me,m),nn(v,!0),le&&_e){const je=()=>{v.subTree=Pr(v),_e(le,v.subTree,v,T,null)};xe?m.type.__asyncLoader().then(()=>!v.isUnmounted&&je()):je()}else{const je=v.subTree=Pr(v);b(null,je,E,S,v,T,D),m.el=je.el}if(ue&&Qe(ue,T),!xe&&(W=te&&te.onVnodeMounted)){const je=m;Qe(()=>it(W,me,je),T)}(m.shapeFlag&256||me&&tl(me.vnode)&&me.vnode.shapeFlag&256)&&v.a&&Qe(v.a,T),v.isMounted=!0,m=E=S=null}},B=v.effect=new $a(M,ot,()=>yr(R),v.scope),R=v.update=()=>{B.dirty&&B.run()};R.id=v.uid,nn(v,!0),R()},ie=(v,m,E)=>{m.component=v;const S=v.vnode.props;v.vnode=m,v.next=null,Ff(v,m.props,S,E),Df(v,m.children,E),hn(),Li(v),vn()},K=(v,m,E,S,T,D,V,M,B=!1)=>{const R=v&&v.children,W=v?v.shapeFlag:0,le=m.children,{patchFlag:te,shapeFlag:oe}=m;if(te>0){if(te&128){rt(R,le,E,S,T,D,V,M,B);return}else if(te&256){Le(R,le,E,S,T,D,V,M,B);return}}oe&8?(W&16&&X(R,T,D),le!==R&&u(E,le)):W&16?oe&16?rt(R,le,E,S,T,D,V,M,B):X(R,T,D,!0):(W&8&&u(E,""),oe&16&&P(le,E,S,T,D,V,M,B))},Le=(v,m,E,S,T,D,V,M,B)=>{v=v||xn,m=m||xn;const R=v.length,W=m.length,le=Math.min(R,W);let te;for(te=0;teW?X(v,T,D,!0,!1,le):P(m,E,S,T,D,V,M,B,le)},rt=(v,m,E,S,T,D,V,M,B)=>{let R=0;const W=m.length;let le=v.length-1,te=W-1;for(;R<=le&&R<=te;){const oe=v[R],ue=m[R]=B?Ht(m[R]):vt(m[R]);if(sn(oe,ue))b(oe,ue,E,null,T,D,V,M,B);else break;R++}for(;R<=le&&R<=te;){const oe=v[le],ue=m[te]=B?Ht(m[te]):vt(m[te]);if(sn(oe,ue))b(oe,ue,E,null,T,D,V,M,B);else break;le--,te--}if(R>le){if(R<=te){const oe=te+1,ue=oete)for(;R<=le;)ee(v[R],T,D,!0),R++;else{const oe=R,ue=R,me=new Map;for(R=ue;R<=te;R++){const tt=m[R]=B?Ht(m[R]):vt(m[R]);tt.key!=null&&me.set(tt.key,R)}let xe,je=0;const pt=te-ue+1;let bn=!1,vi=0;const Gn=new Array(pt);for(R=0;R=pt){ee(tt,T,D,!0);continue}let bt;if(tt.key!=null)bt=me.get(tt.key);else for(xe=ue;xe<=te;xe++)if(Gn[xe-ue]===0&&sn(tt,m[xe])){bt=xe;break}bt===void 0?ee(tt,T,D,!0):(Gn[bt-ue]=R+1,bt>=vi?vi=bt:bn=!0,b(tt,m[bt],E,null,T,D,V,M,B),je++)}const gi=bn?zf(Gn):xn;for(xe=gi.length-1,R=pt-1;R>=0;R--){const tt=ue+R,bt=m[tt],mi=tt+1{const{el:D,type:V,transition:M,children:B,shapeFlag:R}=v;if(R&6){Ye(v.component.subTree,m,E,S);return}if(R&128){v.suspense.move(m,E,S);return}if(R&64){V.move(v,m,E,Z);return}if(V===ze){l(D,m,E);for(let le=0;leM.enter(D),T);else{const{leave:le,delayLeave:te,afterLeave:oe}=M,ue=()=>l(D,m,E),me=()=>{le(D,()=>{ue(),oe&&oe()})};te?te(D,ue,me):me()}else l(D,m,E)},ee=(v,m,E,S=!1,T=!1)=>{const{type:D,props:V,ref:M,children:B,dynamicChildren:R,shapeFlag:W,patchFlag:le,dirs:te}=v;if(M!=null&&ur(M,null,E,v,!0),W&256){m.ctx.deactivate(v);return}const oe=W&1&&te,ue=!tl(v);let me;if(ue&&(me=V&&V.onVnodeBeforeUnmount)&&it(me,m,v),W&6)ne(v.component,E,S);else{if(W&128){v.suspense.unmount(E,S);return}oe&&kt(v,null,m,"beforeUnmount"),W&64?v.type.remove(v,m,E,T,Z,S):R&&(D!==ze||le>0&&le&64)?X(R,m,E,!1,!0):(D===ze&&le&384||!T&&W&16)&&X(B,m,E),S&&z(v)}(ue&&(me=V&&V.onVnodeUnmounted)||oe)&&Qe(()=>{me&&it(me,m,v),oe&&kt(v,null,m,"unmounted")},E)},z=v=>{const{type:m,el:E,anchor:S,transition:T}=v;if(m===ze){G(E,S);return}if(m===rl){A(v);return}const D=()=>{r(E),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(v.shapeFlag&1&&T&&!T.persisted){const{leave:V,delayLeave:M}=T,B=()=>V(E,D);M?M(v.el,D,B):B()}else D()},G=(v,m)=>{let E;for(;v!==m;)E=p(v),r(v),v=E;r(m)},ne=(v,m,E)=>{const{bum:S,scope:T,update:D,subTree:V,um:M}=v;S&&tr(S),T.stop(),D&&(D.active=!1,ee(V,v,m,E)),M&&Qe(M,m),Qe(()=>{v.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},X=(v,m,E,S=!1,T=!1,D=0)=>{for(let V=D;Vv.shapeFlag&6?w(v.component.subTree):v.shapeFlag&128?v.suspense.next():p(v.anchor||v.el);let j=!1;const H=(v,m,E)=>{v==null?m._vnode&&ee(m._vnode,null,null,!0):b(m._vnode||null,v,m,null,null,null,E),j||(j=!0,Li(),sr(),j=!1),m._vnode=v},Z={p:b,um:ee,m:Ye,r:z,mt:Ee,mc:P,pc:K,pbc:I,n:w,o:e};let fe,_e;return t&&([fe,_e]=t(Z)),{render:H,hydrate:fe,createApp:Pf(H,fe)}}function Mr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function qo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wo(e,t,n=!1){const l=e.children,r=t.children;if(ae(l)&&ae(r))for(let a=0;a>1,e[n[s]]0&&(t[l]=n[a-1]),n[a]=l)}}for(a=n.length,i=n[a-1];a-- >0;)n[a]=i,i=t[i];return n}function Ko(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ko(t)}const qf=e=>e.__isTeleport,ze=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),rl=Symbol.for("v-stc"),al=[];let gt=null;function yt(e=!1){al.push(gt=e?null:[])}function Wf(){al.pop(),gt=al[al.length-1]||null}let hl=1;function Di(e){hl+=e}function Go(e){return e.dynamicChildren=hl>0?gt||xn:null,Wf(),hl>0&>&>.push(e),e}function Kt(e,t,n,l,r,a){return Go(se(e,t,n,l,r,a,!0))}function Ja(e,t,n,l,r){return Go(Ie(e,t,n,l,r,!0))}function pa(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const wr="__vInternal",Yo=({key:e})=>e??null,nr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Fe(e)||ce(e)?{i:We,r:e,k:t,f:!!n}:e:null);function se(e,t=null,n=null,l=0,r=null,a=e===ze?0:1,i=!1,s=!1){const o={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yo(t),ref:t&&nr(t),scopeId:br,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:l,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:We};return s?(Xa(o,n),a&128&&e.normalize(o)):n&&(o.shapeFlag|=Re(n)?8:16),hl>0&&!i&>&&(o.patchFlag>0||a&6)&&o.patchFlag!==32&>.push(o),o}const Ie=Kf;function Kf(e,t=null,n=null,l=0,r=null,a=!1){if((!e||e===of)&&(e=ut),pa(e)){const s=Gt(e,t,!0);return n&&Xa(s,n),hl>0&&!a&>&&(s.shapeFlag&6?gt[gt.indexOf(e)]=s:gt.push(s)),s.patchFlag|=-2,s}if(rp(e)&&(e=e.__vccOpts),t){t=Gf(t);let{class:s,style:o}=t;s&&!Re(s)&&(t.class=Fa(s)),ke(o)&&(mo(o)&&!ae(o)&&(o=Pe({},o)),t.style=Ra(o))}const i=Re(e)?1:uf(e)?128:qf(e)?64:ke(e)?4:ce(e)?2:0;return se(e,t,n,l,r,i,a,!0)}function Gf(e){return e?mo(e)||wr in e?Pe({},e):e:null}function Gt(e,t,n=!1){const{props:l,ref:r,patchFlag:a,children:i}=e,s=t?Yf(l||{},t):l;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Yo(s),ref:t&&t.ref?n&&r?ae(r)?r.concat(nr(t)):[r,nr(t)]:nr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Gt(e.ssContent),ssFallback:e.ssFallback&&Gt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function dr(e=" ",t=0){return Ie(Mn,null,e,t)}function i2(e,t){const n=Ie(rl,null,e);return n.staticCount=t,n}function fn(e="",t=!1){return t?(yt(),Ja(ut,null,e)):Ie(ut,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(ut):ae(e)?Ie(ze,null,e.slice()):typeof e=="object"?Ht(e):Ie(Mn,null,String(e))}function Ht(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Gt(e)}function Xa(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(l&65){const r=t.default;r&&(r._c&&(r._d=!1),Xa(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(wr in t)?t._ctx=We:r===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ce(t)?(t={default:t,_ctx:We},n=32):(t=String(t),l&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yf(...e){const t={};for(let n=0;nHe||We;let fr,ha;{const e=eo(),t=(n,l)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(l),a=>{r.length>1?r.forEach(i=>i(a)):r[0](a)}};fr=t("__VUE_INSTANCE_SETTERS__",n=>He=n),ha=t("__VUE_SSR_SETTERS__",n=>Ol=n)}const Il=e=>{const t=He;return fr(e),e.scope.on(),()=>{e.scope.off(),fr(t)}},ji=()=>{He&&He.scope.off(),fr(null)};function Qo(e){return e.vnode.shapeFlag&4}let Ol=!1;function Zf(e,t=!1){t&&ha(t);const{props:n,children:l}=e.vnode,r=Qo(e);Rf(e,n,r,t),Mf(e,l);const a=r?ep(e,t):void 0;return t&&ha(!1),a}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=yo(new Proxy(e.ctx,Lf));const{setup:l}=n;if(l){const r=e.setupContext=l.length>1?np(e):null,a=Il(e);hn();const i=qt(l,e,0,[e.props,r]);if(vn(),a(),Js(i)){if(i.then(ji,ji),t)return i.then(s=>{Hi(e,s,t)}).catch(s=>{Ll(s,e,0)});e.asyncDep=i}else Hi(e,i,t)}else Jo(e,t)}function Hi(e,t,n){ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=ko(t)),Jo(e,n)}let Bi;function Jo(e,t,n){const l=e.type;if(!e.render){if(!t&&Bi&&!l.render){const r=l.template||Ya(e).template;if(r){const{isCustomElement:a,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:o}=l,c=Pe(Pe({isCustomElement:a,delimiters:s},i),o);l.render=Bi(r,c)}}e.render=l.render||ot}{const r=Il(e);hn();try{xf(e)}finally{vn(),r()}}}function tp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ze(e,"get","$attrs"),t[n]}}))}function np(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return tp(e)},slots:e.slots,emit:e.emit,expose:t}}function Er(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ko(yo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in nl)return nl[n](e)},has(t,n){return n in t||n in nl}}))}function lp(e,t=!0){return ce(e)?e.displayName||e.name:e.name||t&&e.__name}function rp(e){return ce(e)&&"__vccOpts"in e}const x=(e,t)=>Ud(e,t,Ol);function d(e,t,n){const l=arguments.length;return l===2?ke(t)&&!ae(t)?pa(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(l>3?n=Array.prototype.slice.call(arguments,2):l===3&&pa(n)&&(n=[n]),Ie(e,t,n))}const ap="3.4.21";/** * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const ip="http://www.w3.org/2000/svg",sp="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Vi=Bt&&Bt.createElement("template"),op={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const r=t==="svg"?Bt.createElementNS(ip,e):t==="mathml"?Bt.createElementNS(sp,e):Bt.createElement(e,n?{is:n}:void 0);return e==="select"&&l&&l.multiple!=null&&r.setAttribute("multiple",l.multiple),r},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,a){const i=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{Vi.innerHTML=l==="svg"?`${e}`:l==="mathml"?`${e}`:e;const s=Vi.content;if(l==="svg"||l==="mathml"){const o=s.firstChild;for(;o.firstChild;)s.appendChild(o.firstChild);s.removeChild(o)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Dn=Symbol("_vtc"),Yt=(e,{slots:t})=>d(vf,Zo(e),t);Yt.displayName="Transition";const Xo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},cp=Yt.props=Pe({},Po,Xo),ln=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ui=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function Zo(e){const t={};for(const $ in e)$ in Xo||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:l,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:o=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=up(r),b=g&&g[0],_=g&&g[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:y,onLeave:A,onLeaveCancelled:O,onBeforeAppear:L=k,onAppear:N=C,onAppearCancelled:P=y}=t,J=($,re,Ee)=>{Mt($,re?u:s),Mt($,re?c:i),Ee&&Ee()},I=($,re)=>{$._isLeaving=!1,Mt($,f),Mt($,h),Mt($,p),re&&re()},q=$=>(re,Ee)=>{const be=$?N:C,Y=()=>J(re,$,Ee);ln(be,[re,Y]),zi(()=>{Mt(re,$?o:a),Lt(re,$?u:s),Ui(be)||qi(re,l,b,Y)})};return Pe(t,{onBeforeEnter($){ln(k,[$]),Lt($,a),Lt($,i)},onBeforeAppear($){ln(L,[$]),Lt($,o),Lt($,c)},onEnter:q(!1),onAppear:q(!0),onLeave($,re){$._isLeaving=!0;const Ee=()=>I($,re);Lt($,f),tc(),Lt($,p),zi(()=>{$._isLeaving&&(Mt($,f),Lt($,h),Ui(A)||qi($,l,_,Ee))}),ln(A,[$,Ee])},onEnterCancelled($){J($,!1),ln(y,[$])},onAppearCancelled($){J($,!0),ln(P,[$])},onLeaveCancelled($){I($),ln(O,[$])}})}function up(e){if(e==null)return null;if(ke(e))return[Dr(e.enter),Dr(e.leave)];{const t=Dr(e);return[t,t]}}function Dr(e){return pd(e)}function Lt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function zi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dp=0;function qi(e,t,n,l){const r=e._endId=++dp,a=()=>{r===e._endId&&l()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:o}=ec(e,t);if(!i)return l();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,p),a()},p=h=>{h.target===e&&++u>=o&&f()};setTimeout(()=>{u(n[g]||"").split(", "),r=l(`${Rt}Delay`),a=l(`${Rt}Duration`),i=Wi(r,a),s=l(`${Yn}Delay`),o=l(`${Yn}Duration`),c=Wi(s,o);let u=null,f=0,p=0;t===Rt?i>0&&(u=Rt,f=i,p=a.length):t===Yn?c>0&&(u=Yn,f=c,p=o.length):(f=Math.max(i,c),u=f>0?i>c?Rt:Yn:null,p=u?u===Rt?a.length:o.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(l(`${Rt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:h}}function Wi(e,t){for(;e.lengthGi(n)+Gi(e[l])))}function Gi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function fp(e,t,n){const l=e[Dn];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ki=Symbol("_vod"),pp=Symbol("_vsh"),hp=Symbol(""),vp=/(^|;)\s*display\s*:/;function gp(e,t,n){const l=e.style,r=Re(n);let a=!1;if(n&&!r){if(t)if(Re(t))for(const i of t.split(";")){const s=i.slice(0,i.indexOf(":")).trim();n[s]==null&&lr(l,s,"")}else for(const i in t)n[i]==null&&lr(l,i,"");for(const i in n)i==="display"&&(a=!0),lr(l,i,n[i])}else if(r){if(t!==n){const i=l[hp];i&&(n+=";"+i),l.cssText=n,a=vp.test(n)}}else t&&e.removeAttribute("style");Ki in e&&(e[Ki]=a?l.display:"",e[pp]&&(l.display="none"))}const Yi=/\s*!important$/;function lr(e,t,n){if(ae(n))n.forEach(l=>lr(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=mp(e,t);Yi.test(n)?e.setProperty(zn(l),n.replace(Yi,""),"important"):e[l]=n}}const Qi=["Webkit","Moz","ms"],jr={};function mp(e,t){const n=jr[t];if(n)return n;let l=ft(t);if(l!=="filter"&&l in e)return jr[t]=l;l=El(l);for(let r=0;rHr||(Ep.then(()=>Hr=0),Hr=Date.now());function Ap(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;ct(Lp(l,n.value),t,5,[l])};return n.value=e,n.attached=Cp(),n}function Lp(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>r=>!r._stopped&&l&&l(r))}else return t}const es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xp=(e,t,n,l,r,a,i,s,o)=>{const c=r==="svg";t==="class"?fp(e,l,c):t==="style"?gp(e,n,l):wl(t)?Ia(t)||kp(e,t,n,l,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tp(e,t,l,c))?_p(e,t,l,a,i,s,o):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),yp(e,t,l,c))};function Tp(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&es(t)&&ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return es(t)&&Re(n)?!1:t in e}const nc=new WeakMap,lc=new WeakMap,pr=Symbol("_moveCb"),ts=Symbol("_enterCb"),rc={name:"TransitionGroup",props:Pe({},cp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Nl(),l=Oo();let r,a;return $o(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Rp(r[0].el,n.vnode.el,i))return;r.forEach(Ip),r.forEach(Op);const s=r.filter(Pp);tc(),s.forEach(o=>{const c=o.el,u=c.style;Lt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[pr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",f),c[pr]=null,Mt(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=de(e),s=Zo(i);let o=i.tag||ze;r=a,a=t.default?Ga(t.default()):[];for(let c=0;cdelete e.mode;rc.props;const Np=rc;function Ip(e){const t=e.el;t[pr]&&t[pr](),t[ts]&&t[ts]()}function Op(e){lc.set(e,e.el.getBoundingClientRect())}function Pp(e){const t=nc.get(e),n=lc.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${l}px,${r}px)`,a.transitionDuration="0s",e}}function Rp(e,t,n){const l=e.cloneNode(),r=e[Dn];r&&r.forEach(s=>{s.split(/\s+/).forEach(o=>o&&l.classList.remove(o))}),n.split(/\s+/).forEach(s=>s&&l.classList.add(s)),l.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(l);const{hasTransform:i}=ec(l);return a.removeChild(l),i}const ns=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ae(t)?n=>tr(t,n):t};function Fp(e){e.target.composing=!0}function ls(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Br=Symbol("_assign"),ac={created(e,{modifiers:{lazy:t,trim:n,number:l}},r){e[Br]=ns(r);const a=l||r.props&&r.props.type==="number";wn(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=ra(s)),e[Br](s)}),n&&wn(e,"change",()=>{e.value=e.value.trim()}),t||(wn(e,"compositionstart",Fp),wn(e,"compositionend",ls),wn(e,"change",ls))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:l,number:r}},a){if(e[Br]=ns(a),e.composing)return;const i=r||e.type==="number"?ra(e.value):e.value,s=t??"";i!==s&&(document.activeElement===e&&e.type!=="range"&&(n||l&&e.value.trim()===s)||(e.value=s))}},$p=Pe({patchProp:xp},op);let Vr,rs=!1;function Mp(){return Vr=rs?Vr:Vf($p),rs=!0,Vr}const Dp=(...e)=>{const t=Mp().createApp(...e),{mount:n}=t;return t.mount=l=>{const r=Hp(l);if(r)return n(r,!0,jp(r))},t};function jp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Hp(e){return Re(e)?document.querySelector(e):e}var Bp=["link","meta","script","style","noscript","template"],Vp=["title","base"],Up=([e,t,n])=>Vp.includes(e)?e:Bp.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([l,r])=>typeof r=="boolean"?r?[l,""]:null:[l,r]).filter(l=>l!=null).sort(([l],[r])=>l.localeCompare(r)),n]):null,zp=e=>{const t=new Set,n=[];return e.forEach(l=>{const r=Up(l);r&&!t.has(r)&&(t.add(r),n.push(l))}),n},qp=e=>e[0]==="/"?e:`/${e}`,ic=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,mn=e=>/^(https?:)?\/\//.test(e),Wp=/.md((\?|#).*)?$/,jn=(e,t="/")=>!!(mn(e)||e.startsWith("/")&&!e.startsWith(t)&&!Wp.test(e)),sc=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",Gp=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let l=t.replace(/(^|\/)README.md$/i,"$1index.html");return l.endsWith(".md")?l=l.substring(0,l.length-3)+".html":l.endsWith(".html")||(l=l+".html"),l.endsWith("/index.html")&&(l=l.substring(0,l.length-10)),l+n.join("")},Za=e=>e[e.length-1]==="/"?e.slice(0,-1):e,oc=e=>e[0]==="/"?e.slice(1):e,Kp=(e,t)=>{const n=Object.keys(e).sort((l,r)=>{const a=r.split("/").length-l.split("/").length;return a!==0?a:r.length-l.length});for(const l of n)if(t.startsWith(l))return l;return"/"},Oe=e=>typeof e=="string";const Yp="modulepreload",Qp=function(e){return"/"+e},as={},F=function(t,n,l){let r=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=Qp(o),o in as)return;as[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!l)for(let h=a.length-1;h>=0;h--){const g=a[h];if(g.href===o&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Yp,c||(p.as="script",p.crossOrigin=""),p.href=o,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((h,g)=>{p.addEventListener("load",h),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},Jp=JSON.parse("{}"),Xp=Object.fromEntries([["/",{loader:()=>F(()=>import("./index.html-BuABcCLO.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>F(()=>import("./index.html-CNC16hLe.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>F(()=>import("./config.html-BzXYK2Ho.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>F(()=>import("./fandq.html-DvjHiWcM.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>F(()=>import("./install.html-CNSU3Y5q.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>F(()=>import("./index.html-Dp4Z-Qyz.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>F(()=>import("./dev_comm.html-DUbsFhna.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>F(()=>import("./dev_lyfunc.html-Dl2KnV6y.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>F(()=>import("./dev_lyplugin.html-BMREiGFA.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>F(()=>import("./dev_resource_pack.html-Bw83tP6G.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>F(()=>import("./index.html-Bx9vRIyA.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>F(()=>import("./index.html-Cq9Y7UTQ.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>F(()=>import("./plugin.html-CQiVEPXJ.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>F(()=>import("./resource.html-KZpSHE8r.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>F(()=>import("./index.html-Dag8AdTX.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>F(()=>import("./agreement.html-D2HjRdYs.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>F(()=>import("./basic_command.html-DF_b1e_S.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>F(()=>import("./extra_command.html-BByOXf1U.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/dev/api/",{loader:()=>F(()=>import("./index.html-CBIjm8lk.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/dev/api/config.html",{loader:()=>F(()=>import("./config.html-D2KlS3qT.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/dev/api/exception.html",{loader:()=>F(()=>import("./exception.html-XkUi7zDX.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/dev/api/log.html",{loader:()=>F(()=>import("./log.html-ChaFmD0C.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/dev/api/mkdoc.html",{loader:()=>F(()=>import("./mkdoc.html-D97i_2kZ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc",i:"laptop-code",O:1}}],["/dev/api/utils.html",{loader:()=>F(()=>import("./utils.html-CC1uBq2F.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/deploy/",{loader:()=>F(()=>import("./index.html-BUZ4bQPt.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>F(()=>import("./config.html-BOHMkdM1.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>F(()=>import("./fandq.html-zIUZzDyV.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>F(()=>import("./install.html-B8qqv2TR.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>F(()=>import("./index.html-D8TlmoJr.js"),__vite__mapDeps([])),meta:{t:"Contribute",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>F(()=>import("./dev_comm.html-D-xI4P2w.js"),__vite__mapDeps([])),meta:{t:"Communication",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>F(()=>import("./dev_lyfunc.html-D3XWCVWY.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Function",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>F(()=>import("./dev_lyplugin.html-hnn0lnZ0.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Plugin",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>F(()=>import("./dev_resource_pack.html-6plhb-8g.js"),__vite__mapDeps([])),meta:{t:"Resource Pack",i:"box",O:1}}],["/en/store/",{loader:()=>F(()=>import("./index.html-Cyz5iyY9.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>F(()=>import("./plugin.html-Dnmwrkym.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>F(()=>import("./resource.html-D9Tzc1dy.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>F(()=>import("./index.html-dx5NzQ5w.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>F(()=>import("./agreement.html-C8KanYPv.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>F(()=>import("./basic_command.html-CEucM4Pg.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>F(()=>import("./extra_command.html-B7kzUV5q.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/dev/api/bot/",{loader:()=>F(()=>import("./index.html-DkfxK4g6.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/dev/api/bot/lifespan.html",{loader:()=>F(()=>import("./lifespan.html-B83utQxg.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/dev/api/comm/",{loader:()=>F(()=>import("./index.html-CbUTp-1C.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/dev/api/comm/channel.html",{loader:()=>F(()=>import("./channel.html-tCQiMn71.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/dev/api/comm/event.html",{loader:()=>F(()=>import("./event.html-JydFrDuG.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/dev/api/comm/storage.html",{loader:()=>F(()=>import("./storage.html-DUwq2EYM.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/dev/api/core/",{loader:()=>F(()=>import("./index.html-CF1i9Rxy.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/dev/api/core/manager.html",{loader:()=>F(()=>import("./manager.html-DHo7L3O7.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/dev/api/dev/",{loader:()=>F(()=>import("./index.html-Cl77tEdp.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/dev/api/dev/observer.html",{loader:()=>F(()=>import("./observer.html-BQLAVfLj.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/dev/api/dev/plugin.html",{loader:()=>F(()=>import("./plugin.html-CwCk-kKv.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/dev/api/message/",{loader:()=>F(()=>import("./index.html-NBx4CAbe.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message",i:"laptop-code"}}],["/dev/api/message/event.html",{loader:()=>F(()=>import("./event.html-Q77pA76C.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event",i:"laptop-code",O:1}}],["/dev/api/message/matcher.html",{loader:()=>F(()=>import("./matcher.html-BbwXZeQG.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher",i:"laptop-code",O:1}}],["/dev/api/message/on.html",{loader:()=>F(()=>import("./on.html-D9aaBFCR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on",i:"laptop-code",O:1}}],["/dev/api/message/rule.html",{loader:()=>F(()=>import("./rule.html-ksHsK-dy.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule",i:"laptop-code",O:1}}],["/dev/api/message/session.html",{loader:()=>F(()=>import("./session.html-BQgzB68l.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session",i:"laptop-code",O:1}}],["/dev/api/plugin/",{loader:()=>F(()=>import("./index.html-z0ptraCT.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/dev/api/plugin/load.html",{loader:()=>F(()=>import("./load.html-DkYkZ2D0.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/dev/api/plugin/manager.html",{loader:()=>F(()=>import("./manager.html-CLOHlB8W.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/dev/api/plugin/model.html",{loader:()=>F(()=>import("./model.html-mG1yNru6.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/en/dev/api/",{loader:()=>F(()=>import("./index.html-CwUoHcW6.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/en/dev/api/config.html",{loader:()=>F(()=>import("./config.html-CwJze0QA.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/en/dev/api/exception.html",{loader:()=>F(()=>import("./exception.html-ClJ8F9fx.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/en/dev/api/log.html",{loader:()=>F(()=>import("./log.html-C5iOBg0l.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/en/dev/api/mkdoc.html",{loader:()=>F(()=>import("./mkdoc.html-CJGfdlS1.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc",i:"laptop-code",O:1}}],["/en/dev/api/utils.html",{loader:()=>F(()=>import("./utils.html-Bc62FQnv.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/dev/api/bot/",{loader:()=>F(()=>import("./index.html-BTwg4yiX.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/en/dev/api/bot/lifespan.html",{loader:()=>F(()=>import("./lifespan.html-71k_dJCR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/en/dev/api/comm/",{loader:()=>F(()=>import("./index.html-Dp15VJld.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/en/dev/api/comm/channel.html",{loader:()=>F(()=>import("./channel.html-CGsdwmN6.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/en/dev/api/comm/event.html",{loader:()=>F(()=>import("./event.html-BXn7YCPg.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/en/dev/api/comm/storage.html",{loader:()=>F(()=>import("./storage.html-CVHJw7IB.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/en/dev/api/core/",{loader:()=>F(()=>import("./index.html-VwTwLeZn.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/en/dev/api/core/manager.html",{loader:()=>F(()=>import("./manager.html-eWTfwa5M.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/en/dev/api/dev/",{loader:()=>F(()=>import("./index.html-fA-OQ47B.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/en/dev/api/dev/observer.html",{loader:()=>F(()=>import("./observer.html-Dmt-3WCR.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/en/dev/api/dev/plugin.html",{loader:()=>F(()=>import("./plugin.html-D0MVMBJ8.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/en/dev/api/message/",{loader:()=>F(()=>import("./index.html-T2Cq0k1Z.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message",i:"laptop-code"}}],["/en/dev/api/message/event.html",{loader:()=>F(()=>import("./event.html-bxn6cD_R.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event",i:"laptop-code",O:1}}],["/en/dev/api/message/matcher.html",{loader:()=>F(()=>import("./matcher.html-DDe-pclc.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher",i:"laptop-code",O:1}}],["/en/dev/api/message/on.html",{loader:()=>F(()=>import("./on.html-BFzCvrae.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on",i:"laptop-code",O:1}}],["/en/dev/api/message/rule.html",{loader:()=>F(()=>import("./rule.html-2Zh9pGrd.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule",i:"laptop-code",O:1}}],["/en/dev/api/message/session.html",{loader:()=>F(()=>import("./session.html-BRlqilAT.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session",i:"laptop-code",O:1}}],["/en/dev/api/plugin/",{loader:()=>F(()=>import("./index.html-BdibGUlK.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/en/dev/api/plugin/load.html",{loader:()=>F(()=>import("./load.html-DweObU5b.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/en/dev/api/plugin/manager.html",{loader:()=>F(()=>import("./manager.html-Cb5JEiB_.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/en/dev/api/plugin/model.html",{loader:()=>F(()=>import("./model.html-DERmi5kA.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/404.html",{loader:()=>F(()=>import("./404.html-C6dG-E3t.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! +**/const ip="http://www.w3.org/2000/svg",sp="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Vi=Bt&&Bt.createElement("template"),op={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const r=t==="svg"?Bt.createElementNS(ip,e):t==="mathml"?Bt.createElementNS(sp,e):Bt.createElement(e,n?{is:n}:void 0);return e==="select"&&l&&l.multiple!=null&&r.setAttribute("multiple",l.multiple),r},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,r,a){const i=n?n.previousSibling:t.lastChild;if(r&&(r===a||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===a||!(r=r.nextSibling)););else{Vi.innerHTML=l==="svg"?`${e}`:l==="mathml"?`${e}`:e;const s=Vi.content;if(l==="svg"||l==="mathml"){const o=s.firstChild;for(;o.firstChild;)s.appendChild(o.firstChild);s.removeChild(o)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Rt="transition",Yn="animation",Dn=Symbol("_vtc"),Yt=(e,{slots:t})=>d(vf,Zo(e),t);Yt.displayName="Transition";const Xo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},cp=Yt.props=Pe({},Po,Xo),ln=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ui=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function Zo(e){const t={};for(const $ in e)$ in Xo||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:l,duration:r,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:o=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=up(r),b=g&&g[0],_=g&&g[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:y,onLeave:A,onLeaveCancelled:O,onBeforeAppear:L=k,onAppear:N=C,onAppearCancelled:P=y}=t,J=($,re,Ee)=>{Mt($,re?u:s),Mt($,re?c:i),Ee&&Ee()},I=($,re)=>{$._isLeaving=!1,Mt($,f),Mt($,h),Mt($,p),re&&re()},q=$=>(re,Ee)=>{const be=$?N:C,Y=()=>J(re,$,Ee);ln(be,[re,Y]),zi(()=>{Mt(re,$?o:a),Lt(re,$?u:s),Ui(be)||qi(re,l,b,Y)})};return Pe(t,{onBeforeEnter($){ln(k,[$]),Lt($,a),Lt($,i)},onBeforeAppear($){ln(L,[$]),Lt($,o),Lt($,c)},onEnter:q(!1),onAppear:q(!0),onLeave($,re){$._isLeaving=!0;const Ee=()=>I($,re);Lt($,f),tc(),Lt($,p),zi(()=>{$._isLeaving&&(Mt($,f),Lt($,h),Ui(A)||qi($,l,_,Ee))}),ln(A,[$,Ee])},onEnterCancelled($){J($,!1),ln(y,[$])},onAppearCancelled($){J($,!0),ln(P,[$])},onLeaveCancelled($){I($),ln(O,[$])}})}function up(e){if(e==null)return null;if(ke(e))return[Dr(e.enter),Dr(e.leave)];{const t=Dr(e);return[t,t]}}function Dr(e){return pd(e)}function Lt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.remove(l));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function zi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dp=0;function qi(e,t,n,l){const r=e._endId=++dp,a=()=>{r===e._endId&&l()};if(n)return setTimeout(a,n);const{type:i,timeout:s,propCount:o}=ec(e,t);if(!i)return l();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,p),a()},p=h=>{h.target===e&&++u>=o&&f()};setTimeout(()=>{u(n[g]||"").split(", "),r=l(`${Rt}Delay`),a=l(`${Rt}Duration`),i=Wi(r,a),s=l(`${Yn}Delay`),o=l(`${Yn}Duration`),c=Wi(s,o);let u=null,f=0,p=0;t===Rt?i>0&&(u=Rt,f=i,p=a.length):t===Yn?c>0&&(u=Yn,f=c,p=o.length):(f=Math.max(i,c),u=f>0?i>c?Rt:Yn:null,p=u?u===Rt?a.length:o.length:0);const h=u===Rt&&/\b(transform|all)(,|$)/.test(l(`${Rt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:h}}function Wi(e,t){for(;e.lengthKi(n)+Ki(e[l])))}function Ki(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function tc(){return document.body.offsetHeight}function fp(e,t,n){const l=e[Dn];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gi=Symbol("_vod"),pp=Symbol("_vsh"),hp=Symbol(""),vp=/(^|;)\s*display\s*:/;function gp(e,t,n){const l=e.style,r=Re(n);let a=!1;if(n&&!r){if(t)if(Re(t))for(const i of t.split(";")){const s=i.slice(0,i.indexOf(":")).trim();n[s]==null&&lr(l,s,"")}else for(const i in t)n[i]==null&&lr(l,i,"");for(const i in n)i==="display"&&(a=!0),lr(l,i,n[i])}else if(r){if(t!==n){const i=l[hp];i&&(n+=";"+i),l.cssText=n,a=vp.test(n)}}else t&&e.removeAttribute("style");Gi in e&&(e[Gi]=a?l.display:"",e[pp]&&(l.display="none"))}const Yi=/\s*!important$/;function lr(e,t,n){if(ae(n))n.forEach(l=>lr(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=mp(e,t);Yi.test(n)?e.setProperty(zn(l),n.replace(Yi,""),"important"):e[l]=n}}const Qi=["Webkit","Moz","ms"],jr={};function mp(e,t){const n=jr[t];if(n)return n;let l=ft(t);if(l!=="filter"&&l in e)return jr[t]=l;l=El(l);for(let r=0;rHr||(Ep.then(()=>Hr=0),Hr=Date.now());function Ap(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;ct(Lp(l,n.value),t,5,[l])};return n.value=e,n.attached=Cp(),n}function Lp(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(l=>r=>!r._stopped&&l&&l(r))}else return t}const es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xp=(e,t,n,l,r,a,i,s,o)=>{const c=r==="svg";t==="class"?fp(e,l,c):t==="style"?gp(e,n,l):wl(t)?Ia(t)||kp(e,t,n,l,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tp(e,t,l,c))?_p(e,t,l,a,i,s,o):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),yp(e,t,l,c))};function Tp(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&es(t)&&ce(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return es(t)&&Re(n)?!1:t in e}const nc=new WeakMap,lc=new WeakMap,pr=Symbol("_moveCb"),ts=Symbol("_enterCb"),rc={name:"TransitionGroup",props:Pe({},cp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Nl(),l=Oo();let r,a;return $o(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Rp(r[0].el,n.vnode.el,i))return;r.forEach(Ip),r.forEach(Op);const s=r.filter(Pp);tc(),s.forEach(o=>{const c=o.el,u=c.style;Lt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[pr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",f),c[pr]=null,Mt(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=de(e),s=Zo(i);let o=i.tag||ze;r=a,a=t.default?Ka(t.default()):[];for(let c=0;cdelete e.mode;rc.props;const Np=rc;function Ip(e){const t=e.el;t[pr]&&t[pr](),t[ts]&&t[ts]()}function Op(e){lc.set(e,e.el.getBoundingClientRect())}function Pp(e){const t=nc.get(e),n=lc.get(e),l=t.left-n.left,r=t.top-n.top;if(l||r){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${l}px,${r}px)`,a.transitionDuration="0s",e}}function Rp(e,t,n){const l=e.cloneNode(),r=e[Dn];r&&r.forEach(s=>{s.split(/\s+/).forEach(o=>o&&l.classList.remove(o))}),n.split(/\s+/).forEach(s=>s&&l.classList.add(s)),l.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(l);const{hasTransform:i}=ec(l);return a.removeChild(l),i}const ns=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ae(t)?n=>tr(t,n):t};function Fp(e){e.target.composing=!0}function ls(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Br=Symbol("_assign"),ac={created(e,{modifiers:{lazy:t,trim:n,number:l}},r){e[Br]=ns(r);const a=l||r.props&&r.props.type==="number";wn(e,t?"change":"input",i=>{if(i.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=ra(s)),e[Br](s)}),n&&wn(e,"change",()=>{e.value=e.value.trim()}),t||(wn(e,"compositionstart",Fp),wn(e,"compositionend",ls),wn(e,"change",ls))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:l,number:r}},a){if(e[Br]=ns(a),e.composing)return;const i=r||e.type==="number"?ra(e.value):e.value,s=t??"";i!==s&&(document.activeElement===e&&e.type!=="range"&&(n||l&&e.value.trim()===s)||(e.value=s))}},$p=Pe({patchProp:xp},op);let Vr,rs=!1;function Mp(){return Vr=rs?Vr:Vf($p),rs=!0,Vr}const Dp=(...e)=>{const t=Mp().createApp(...e),{mount:n}=t;return t.mount=l=>{const r=Hp(l);if(r)return n(r,!0,jp(r))},t};function jp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Hp(e){return Re(e)?document.querySelector(e):e}var Bp=["link","meta","script","style","noscript","template"],Vp=["title","base"],Up=([e,t,n])=>Vp.includes(e)?e:Bp.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([l,r])=>typeof r=="boolean"?r?[l,""]:null:[l,r]).filter(l=>l!=null).sort(([l],[r])=>l.localeCompare(r)),n]):null,zp=e=>{const t=new Set,n=[];return e.forEach(l=>{const r=Up(l);r&&!t.has(r)&&(t.add(r),n.push(l))}),n},qp=e=>e[0]==="/"?e:`/${e}`,ic=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,mn=e=>/^(https?:)?\/\//.test(e),Wp=/.md((\?|#).*)?$/,jn=(e,t="/")=>!!(mn(e)||e.startsWith("/")&&!e.startsWith(t)&&!Wp.test(e)),sc=e=>/^[a-z][a-z0-9+.-]*:/.test(e),qn=e=>Object.prototype.toString.call(e)==="[object Object]",Kp=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let l=t.replace(/(^|\/)README.md$/i,"$1index.html");return l.endsWith(".md")?l=l.substring(0,l.length-3)+".html":l.endsWith(".html")||(l=l+".html"),l.endsWith("/index.html")&&(l=l.substring(0,l.length-10)),l+n.join("")},Za=e=>e[e.length-1]==="/"?e.slice(0,-1):e,oc=e=>e[0]==="/"?e.slice(1):e,Gp=(e,t)=>{const n=Object.keys(e).sort((l,r)=>{const a=r.split("/").length-l.split("/").length;return a!==0?a:r.length-l.length});for(const l of n)if(t.startsWith(l))return l;return"/"},Oe=e=>typeof e=="string";const Yp="modulepreload",Qp=function(e){return"/"+e},as={},F=function(t,n,l){let r=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=Qp(o),o in as)return;as[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!l)for(let h=a.length-1;h>=0;h--){const g=a[h];if(g.href===o&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Yp,c||(p.as="script",p.crossOrigin=""),p.href=o,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((h,g)=>{p.addEventListener("load",h),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},Jp=JSON.parse("{}"),Xp=Object.fromEntries([["/",{loader:()=>F(()=>import("./index.html-CXXO6xcH.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deploy/",{loader:()=>F(()=>import("./index.html-DrSFzvRf.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deploy/config.html",{loader:()=>F(()=>import("./config.html-jXXfcHdL.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deploy/fandq.html",{loader:()=>F(()=>import("./fandq.html-CZwFx6EP.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deploy/install.html",{loader:()=>F(()=>import("./install.html-Byj8VUg-.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/dev/",{loader:()=>F(()=>import("./index.html-ljg_PI1R.js"),__vite__mapDeps([])),meta:{t:"开发及贡献",i:"laptop-code"}}],["/dev/dev_comm.html",{loader:()=>F(()=>import("./dev_comm.html-DH1VjFpJ.js"),__vite__mapDeps([])),meta:{t:"进程通信",i:"exchange-alt",O:4}}],["/dev/dev_lyfunc.html",{loader:()=>F(()=>import("./dev_lyfunc.html-RUDtzk1B.js"),__vite__mapDeps([])),meta:{t:"轻雪函数",i:"code",O:2}}],["/dev/dev_lyplugin.html",{loader:()=>F(()=>import("./dev_lyplugin.html-Dzb4NNEu.js"),__vite__mapDeps([])),meta:{t:"轻雪插件开发",i:"laptop-code",O:3}}],["/dev/dev_resource_pack.html",{loader:()=>F(()=>import("./dev_resource_pack.html-CT4UraRi.js"),__vite__mapDeps([])),meta:{t:"资源包开发",i:"box",O:1}}],["/en/",{loader:()=>F(()=>import("./index.html-BG-OTJ01.js"),__vite__mapDeps([])),meta:{t:"Home",i:"home"}}],["/store/",{loader:()=>F(()=>import("./index.html-DayvyYmV.js"),__vite__mapDeps([])),meta:{t:"资源及插件商店",i:"store"}}],["/store/plugin.html",{loader:()=>F(()=>import("./plugin.html-DYl5C-yG.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>F(()=>import("./resource.html-w4v4-ls4.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>F(()=>import("./index.html-C-5_z4Ql.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>F(()=>import("./agreement.html-DTrW--oO.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>F(()=>import("./basic_command.html-CLFR4-SL.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>F(()=>import("./extra_command.html-ByptD_MK.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/dev/api/",{loader:()=>F(()=>import("./index.html-X4AQiuCY.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/dev/api/config.html",{loader:()=>F(()=>import("./config.html-x2DggEEz.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/dev/api/exception.html",{loader:()=>F(()=>import("./exception.html-BnPs2xtp.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/dev/api/log.html",{loader:()=>F(()=>import("./log.html-B6ne9LQi.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/dev/api/mkdoc.html",{loader:()=>F(()=>import("./mkdoc.html-DvuxL8et.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc",i:"laptop-code",O:1}}],["/dev/api/utils.html",{loader:()=>F(()=>import("./utils.html-DIGgwcLa.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/deploy/",{loader:()=>F(()=>import("./index.html-DSmJ2m9V.js"),__vite__mapDeps([])),meta:{t:"Deploy",i:"laptop-code"}}],["/en/deploy/config.html",{loader:()=>F(()=>import("./config.html-JHrVObO1.js"),__vite__mapDeps([])),meta:{t:"Configuration",i:"cog",O:2}}],["/en/deploy/fandq.html",{loader:()=>F(()=>import("./fandq.html-DwSlEl9h.js"),__vite__mapDeps([])),meta:{t:"FAQ",i:"question",O:3}}],["/en/deploy/install.html",{loader:()=>F(()=>import("./install.html-T5JrtwZR.js"),__vite__mapDeps([])),meta:{t:"Installation",i:"download",O:1}}],["/en/dev/",{loader:()=>F(()=>import("./index.html-CcKUYTsl.js"),__vite__mapDeps([])),meta:{t:"Contribute",i:"laptop-code"}}],["/en/dev/dev_comm.html",{loader:()=>F(()=>import("./dev_comm.html-Dffo7Ipz.js"),__vite__mapDeps([])),meta:{t:"Communication",i:"exchange-alt",O:4}}],["/en/dev/dev_lyfunc.html",{loader:()=>F(()=>import("./dev_lyfunc.html-C1z3XK3f.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Function",i:"code",O:2}}],["/en/dev/dev_lyplugin.html",{loader:()=>F(()=>import("./dev_lyplugin.html-CwQDqgqg.js"),__vite__mapDeps([])),meta:{t:"Liteyuki Plugin",i:"laptop-code",O:3}}],["/en/dev/dev_resource_pack.html",{loader:()=>F(()=>import("./dev_resource_pack.html-hzjN8h_W.js"),__vite__mapDeps([])),meta:{t:"Resource Pack",i:"box",O:1}}],["/en/store/",{loader:()=>F(()=>import("./index.html-CydeTHZa.js"),__vite__mapDeps([])),meta:{t:"Extensions Store",i:"store"}}],["/en/store/plugin.html",{loader:()=>F(()=>import("./plugin.html-OrnCCBoS.js"),__vite__mapDeps([])),meta:{t:"Plugin Store",i:"plug",O:2}}],["/en/store/resource.html",{loader:()=>F(()=>import("./resource.html-B-5sMHx4.js"),__vite__mapDeps([])),meta:{t:"Resource Store",i:"box",O:1}}],["/en/usage/",{loader:()=>F(()=>import("./index.html-jXobCw6I.js"),__vite__mapDeps([])),meta:{t:"Usage",i:"laptop-code"}}],["/en/usage/agreement.html",{loader:()=>F(()=>import("./agreement.html-DgwwyIXl.js"),__vite__mapDeps([])),meta:{t:"User Agreement",i:"user-secret",O:3}}],["/en/usage/basic_command.html",{loader:()=>F(()=>import("./basic_command.html-Djt1jsoL.js"),__vite__mapDeps([])),meta:{t:"Basic Commands",i:"comment",O:1}}],["/en/usage/extra_command.html",{loader:()=>F(()=>import("./extra_command.html-CqZWearh.js"),__vite__mapDeps([])),meta:{t:"Extra Commands",i:"comment",O:2}}],["/dev/api/bot/",{loader:()=>F(()=>import("./index.html-BNS6aWZs.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/dev/api/bot/lifespan.html",{loader:()=>F(()=>import("./lifespan.html-BThnlarw.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/dev/api/comm/",{loader:()=>F(()=>import("./index.html-D9A3PrLB.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/dev/api/comm/channel.html",{loader:()=>F(()=>import("./channel.html-CJlHQUyq.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/dev/api/comm/event.html",{loader:()=>F(()=>import("./event.html-CYw2tPLX.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/dev/api/comm/storage.html",{loader:()=>F(()=>import("./storage.html-C3Od2hbX.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/dev/api/core/",{loader:()=>F(()=>import("./index.html-Bom3tjBi.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/dev/api/core/manager.html",{loader:()=>F(()=>import("./manager.html-BV5ldr2L.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/dev/api/dev/",{loader:()=>F(()=>import("./index.html-LtkmrGu9.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/dev/api/dev/observer.html",{loader:()=>F(()=>import("./observer.html-C7rFMFl-.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/dev/api/dev/plugin.html",{loader:()=>F(()=>import("./plugin.html-BBrieOL3.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/dev/api/message/",{loader:()=>F(()=>import("./index.html-JDKOSGWq.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message",i:"laptop-code"}}],["/dev/api/message/event.html",{loader:()=>F(()=>import("./event.html-ChvlMQKp.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event",i:"laptop-code",O:1}}],["/dev/api/message/matcher.html",{loader:()=>F(()=>import("./matcher.html-BlyTwki1.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher",i:"laptop-code",O:1}}],["/dev/api/message/on.html",{loader:()=>F(()=>import("./on.html-BsRFg2Z3.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on",i:"laptop-code",O:1}}],["/dev/api/message/rule.html",{loader:()=>F(()=>import("./rule.html-zZdLdX_D.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule",i:"laptop-code",O:1}}],["/dev/api/message/session.html",{loader:()=>F(()=>import("./session.html-c_Rhlapx.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session",i:"laptop-code",O:1}}],["/dev/api/plugin/",{loader:()=>F(()=>import("./index.html-CmLQE17j.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/dev/api/plugin/load.html",{loader:()=>F(()=>import("./load.html-CgZzOXg3.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/dev/api/plugin/manager.html",{loader:()=>F(()=>import("./manager.html-BkVFg96L.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/dev/api/plugin/model.html",{loader:()=>F(()=>import("./model.html-Bs0mM2km.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/en/dev/api/",{loader:()=>F(()=>import("./index.html-D9fN6DeZ.js"),__vite__mapDeps([])),meta:{t:"liteyuki",i:"laptop-code"}}],["/en/dev/api/config.html",{loader:()=>F(()=>import("./config.html-Bvi6ON-5.js"),__vite__mapDeps([])),meta:{t:"liteyuki.config",i:"laptop-code",O:1}}],["/en/dev/api/exception.html",{loader:()=>F(()=>import("./exception.html-DraJIKfM.js"),__vite__mapDeps([])),meta:{t:"liteyuki.exception",i:"laptop-code",O:1}}],["/en/dev/api/log.html",{loader:()=>F(()=>import("./log.html-BWgq1I4q.js"),__vite__mapDeps([])),meta:{t:"liteyuki.log",i:"laptop-code",O:1}}],["/en/dev/api/mkdoc.html",{loader:()=>F(()=>import("./mkdoc.html-CRi0bBqT.js"),__vite__mapDeps([])),meta:{t:"liteyuki.mkdoc",i:"laptop-code",O:1}}],["/en/dev/api/utils.html",{loader:()=>F(()=>import("./utils.html-kScX1Uhd.js"),__vite__mapDeps([])),meta:{t:"liteyuki.utils",i:"laptop-code",O:1}}],["/en/dev/api/bot/",{loader:()=>F(()=>import("./index.html-DrrAeUuB.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot",i:"laptop-code"}}],["/en/dev/api/bot/lifespan.html",{loader:()=>F(()=>import("./lifespan.html-DV2d0LE_.js"),__vite__mapDeps([])),meta:{t:"liteyuki.bot.lifespan",i:"laptop-code",O:1}}],["/en/dev/api/comm/",{loader:()=>F(()=>import("./index.html-CldB2gan.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm",i:"laptop-code"}}],["/en/dev/api/comm/channel.html",{loader:()=>F(()=>import("./channel.html-D7FTqSpu.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.channel",i:"laptop-code",O:1}}],["/en/dev/api/comm/event.html",{loader:()=>F(()=>import("./event.html-DQw8buFO.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.event",i:"laptop-code",O:1}}],["/en/dev/api/comm/storage.html",{loader:()=>F(()=>import("./storage.html-BD-UMrDG.js"),__vite__mapDeps([])),meta:{t:"liteyuki.comm.storage",i:"laptop-code",O:1}}],["/en/dev/api/core/",{loader:()=>F(()=>import("./index.html-DjMqCNCc.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core",i:"laptop-code"}}],["/en/dev/api/core/manager.html",{loader:()=>F(()=>import("./manager.html-DgN4cRCp.js"),__vite__mapDeps([])),meta:{t:"liteyuki.core.manager",i:"laptop-code",O:1}}],["/en/dev/api/dev/",{loader:()=>F(()=>import("./index.html-BGLsk8LQ.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev",i:"laptop-code"}}],["/en/dev/api/dev/observer.html",{loader:()=>F(()=>import("./observer.html-Dj-N0tMw.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.observer",i:"laptop-code",O:1}}],["/en/dev/api/dev/plugin.html",{loader:()=>F(()=>import("./plugin.html-C8LvTzrt.js"),__vite__mapDeps([])),meta:{t:"liteyuki.dev.plugin",i:"laptop-code",O:1}}],["/en/dev/api/message/",{loader:()=>F(()=>import("./index.html-CdM-GhBc.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message",i:"laptop-code"}}],["/en/dev/api/message/event.html",{loader:()=>F(()=>import("./event.html-d8RFoE2J.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.event",i:"laptop-code",O:1}}],["/en/dev/api/message/matcher.html",{loader:()=>F(()=>import("./matcher.html-DiZmNAY7.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.matcher",i:"laptop-code",O:1}}],["/en/dev/api/message/on.html",{loader:()=>F(()=>import("./on.html-Ce5mjVnc.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.on",i:"laptop-code",O:1}}],["/en/dev/api/message/rule.html",{loader:()=>F(()=>import("./rule.html-ZuLAFHMl.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.rule",i:"laptop-code",O:1}}],["/en/dev/api/message/session.html",{loader:()=>F(()=>import("./session.html-DdxIkF5o.js"),__vite__mapDeps([])),meta:{t:"liteyuki.message.session",i:"laptop-code",O:1}}],["/en/dev/api/plugin/",{loader:()=>F(()=>import("./index.html-MivUrS-S.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin",i:"laptop-code"}}],["/en/dev/api/plugin/load.html",{loader:()=>F(()=>import("./load.html-BIgFYGDk.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.load",i:"laptop-code",O:1}}],["/en/dev/api/plugin/manager.html",{loader:()=>F(()=>import("./manager.html-DprLOdHx.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.manager",i:"laptop-code",O:1}}],["/en/dev/api/plugin/model.html",{loader:()=>F(()=>import("./model.html-C1PYojDX.js"),__vite__mapDeps([])),meta:{t:"liteyuki.plugin.model",i:"laptop-code",O:1}}],["/404.html",{loader:()=>F(()=>import("./404.html-CocDKFbA.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const En=typeof document<"u";function Zp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Ur(e,t){const n={};for(const l in t){const r=t[l];n[l]=_t(r)?r.map(e):e(r)}return n}const il=()=>{},_t=Array.isArray,cc=/#/g,eh=/&/g,th=/\//g,nh=/=/g,lh=/\?/g,uc=/\+/g,rh=/%5B/g,ah=/%5D/g,dc=/%5E/g,ih=/%60/g,fc=/%7B/g,sh=/%7C/g,pc=/%7D/g,oh=/%20/g;function ei(e){return encodeURI(""+e).replace(sh,"|").replace(rh,"[").replace(ah,"]")}function ch(e){return ei(e).replace(fc,"{").replace(pc,"}").replace(dc,"^")}function va(e){return ei(e).replace(uc,"%2B").replace(oh,"+").replace(cc,"%23").replace(eh,"%26").replace(ih,"`").replace(fc,"{").replace(pc,"}").replace(dc,"^")}function uh(e){return va(e).replace(nh,"%3D")}function dh(e){return ei(e).replace(cc,"%23").replace(lh,"%3F")}function fh(e){return e==null?"":dh(e).replace(th,"%2F")}function vl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ph=/\/$/,hh=e=>e.replace(ph,"");function zr(e,t,n="/"){let l,r={},a="",i="";const s=t.indexOf("#");let o=t.indexOf("?");return s=0&&(o=-1),o>-1&&(l=t.slice(0,o),a=t.slice(o+1,s>-1?s:t.length),r=e(a)),s>-1&&(l=l||t.slice(0,s),i=t.slice(s,t.length)),l=yh(l??t,n),{fullPath:l+(a&&"?")+a+i,path:l,query:r,hash:vl(i)}}function vh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function is(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function gh(e,t,n){const l=t.matched.length-1,r=n.matched.length-1;return l>-1&&l===r&&Hn(t.matched[l],n.matched[r])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mh(e[n],t[n]))return!1;return!0}function mh(e,t){return _t(e)?ss(e,t):_t(t)?ss(t,e):e===t}function ss(e,t){return _t(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function yh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),r=l[l.length-1];(r===".."||r===".")&&l.push("");let a=n.length-1,i,s;for(i=0;i1&&a--;else break;return n.slice(0,a).join("/")+"/"+l.slice(i).join("/")}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var gl;(function(e){e.pop="pop",e.push="push"})(gl||(gl={}));var sl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sl||(sl={}));function _h(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hh(e)}const bh=/^[^#]+#/;function kh(e,t){return e.replace(bh,"#")+t}function wh(e,t){const n=document.documentElement.getBoundingClientRect(),l=e.getBoundingClientRect();return{behavior:t.behavior,left:l.left-n.left-(t.left||0),top:l.top-n.top-(t.top||0)}}const Cr=()=>({left:window.scrollX,top:window.scrollY});function Eh(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wh(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function os(e,t){return(history.state?history.state.position-t:-1)+e}const ga=new Map;function Ch(e,t){ga.set(e,t)}function Ah(e){const t=ga.get(e);return ga.delete(e),t}let Lh=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:l,hash:r}=t,a=e.indexOf("#");if(a>-1){let s=r.includes(e.slice(a))?e.slice(a).length:1,o=r.slice(s);return o[0]!=="/"&&(o="/"+o),is(o,"")}return is(n,e)+l+r}function xh(e,t,n,l){let r=[],a=[],i=null;const s=({state:p})=>{const h=vc(e,location),g=n.value,b=t.value;let _=0;if(p){if(n.value=h,t.value=p,i&&i===g){i=null;return}_=b?p.position-b.position:0}else l(h);r.forEach(k=>{k(n.value,g,{delta:_,type:gl.pop,direction:_?_>0?sl.forward:sl.back:sl.unknown})})};function o(){i=n.value}function c(p){r.push(p);const h=()=>{const g=r.indexOf(p);g>-1&&r.splice(g,1)};return a.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(ge({},p.state,{scroll:Cr()}),"")}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:o,listen:c,destroy:f}}function cs(e,t,n,l=!1,r=!1){return{back:e,current:t,forward:n,replaced:l,position:window.history.length,scroll:r?Cr():null}}function Th(e){const{history:t,location:n}=window,l={value:vc(e,n)},r={value:t.state};r.value||a(l.value,{back:null,current:l.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(o,c,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+o:Lh()+e+o;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function i(o,c){const u=ge({},t.state,cs(r.value.back,o,r.value.forward,!0),c,{position:r.value.position});a(o,u,!0),l.value=o}function s(o,c){const u=ge({},r.value,t.state,{forward:o,scroll:Cr()});a(u.current,u,!0);const f=ge({},cs(l.value,o,null),{position:u.position+1},c);a(o,f,!1),l.value=o}return{location:l,state:r,push:s,replace:i}}function Sh(e){e=_h(e);const t=Th(e),n=xh(e,t.state,t.location,t.replace);function l(a,i=!0){i||n.pauseListeners(),history.go(a)}const r=ge({location:"",base:e,go:l,createHref:kh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Nh(e){return typeof e=="string"||e&&typeof e=="object"}function gc(e){return typeof e=="string"||typeof e=="symbol"}const mc=Symbol("");var us;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(us||(us={}));function Bn(e,t){return ge(new Error,{type:e,[mc]:!0},t)}function At(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const ds="[^/]+?",Ih={sensitive:!1,strict:!1,start:!0,end:!0},Oh=/[.+*?^${}()[\]/\\]/g;function Ph(e,t){const n=ge({},Ih,t),l=[];let r=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function yc(e,t){let n=0;const l=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Fh={type:0,value:""},$h=/[a-zA-Z0-9_]/;function Mh(e){if(!e)return[[]];if(e==="/")return[[Fh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,l=n;const r=[];let a;function i(){a&&r.push(a),a=[]}let s=0,o,c="",u="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(o==="*"||o==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:o==="*"||o==="+",optional:o==="*"||o==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=o}for(;s{i(y)}:il}function i(f){if(gc(f)){const p=l.get(f);p&&(l.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&l.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function s(){return n}function o(f){const p=Uh(f,n);n.splice(p,0,f),f.record.name&&!hs(f)&&l.set(f.record.name,f)}function c(f,p){let h,g={},b,_;if("name"in f&&f.name){if(h=l.get(f.name),!h)throw Bn(1,{location:f});_=h.record.name,g=ge(ps(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&ps(f.params,h.keys.map(y=>y.name))),b=h.stringify(g)}else if(f.path!=null)b=f.path,h=n.find(y=>y.re.test(b)),h&&(g=h.parse(b),_=h.record.name);else{if(h=p.name?l.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Bn(1,{location:f,currentLocation:p});_=h.record.name,g=ge({},p.params,f.params),b=h.stringify(g)}const k=[];let C=h;for(;C;)k.unshift(C.record),C=C.parent;return{name:_,path:b,params:g,matched:k,meta:Vh(k)}}e.forEach(f=>a(f));function u(){n.length=0,l.clear()}return{addRoute:a,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function ps(e,t){const n={};for(const l of t)l in e&&(n[l]=e[l]);return n}function Hh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Bh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const l in e.components)t[l]=typeof n=="object"?n[l]:n;return t}function hs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vh(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function vs(e,t){const n={};for(const l in e)n[l]=l in t?t[l]:e[l];return n}function Uh(e,t){let n=0,l=t.length;for(;n!==l;){const a=n+l>>1;yc(e,t[a])<0?l=a:n=a+1}const r=zh(e);return r&&(l=t.lastIndexOf(r,l-1)),l}function zh(e){let t=e;for(;t=t.parent;)if(_c(t)&&yc(e,t)===0)return t}function _c({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qh(e){const t={};if(e===""||e==="?")return t;const l=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&va(a)):[l&&va(l)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Wh(e){const t={};for(const n in e){const l=e[n];l!==void 0&&(t[n]=_t(l)?l.map(r=>r==null?null:""+r):l==null?l:""+l)}return t}const Gh=Symbol(""),ms=Symbol(""),Ar=Symbol(""),ti=Symbol(""),ma=Symbol("");function Qn(){let e=[];function t(l){return e.push(l),()=>{const r=e.indexOf(l);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,l,r,a=i=>i()){const i=l&&(l.enterCallbacks[r]=l.enterCallbacks[r]||[]);return()=>new Promise((s,o)=>{const c=p=>{p===!1?o(Bn(4,{from:n,to:t})):p instanceof Error?o(p):Nh(p)?o(Bn(2,{from:t,to:p})):(i&&l.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),s())},u=a(()=>e.call(l&&l.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(p=>o(p))})}function qr(e,t,n,l,r=a=>a()){const a=[];for(const i of e)for(const s in i.components){let o=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Kh(o)){const u=(o.__vccOpts||o)[t];u&&a.push(Vt(u,n,l,i,s,r))}else{let c=o();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const f=Zp(u)?u.default:u;i.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&Vt(h,n,l,i,s,r)()}))}}return a}function Kh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ys(e){const t=Me(Ar),n=Me(ti),l=x(()=>{const o=lt(e.to);return t.resolve(o)}),r=x(()=>{const{matched:o}=l.value,{length:c}=o,u=o[c-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(Hn.bind(null,u));if(p>-1)return p;const h=_s(o[c-2]);return c>1&&_s(u)===h&&f[f.length-1].path!==h?f.findIndex(Hn.bind(null,o[c-2])):p}),a=x(()=>r.value>-1&&Xh(n.params,l.value.params)),i=x(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,l.value.params));function s(o={}){return Jh(o)?t[lt(e.replace)?"replace":"push"](lt(e.to)).catch(il):Promise.resolve()}return{route:l,href:x(()=>l.value.href),isActive:a,isExactActive:i,navigate:s}}const Yh=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ys,setup(e,{slots:t}){const n=Cl(ys(e)),{options:l}=Me(Ar),r=x(()=>({[bs(e.activeClass,l.linkActiveClass,"router-link-active")]:n.isActive,[bs(e.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:d("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),Qh=Yh;function Jh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xh(e,t){for(const n in t){const l=t[n],r=e[n];if(typeof l=="string"){if(l!==r)return!1}else if(!_t(r)||r.length!==l.length||l.some((a,i)=>a!==r[i]))return!1}return!0}function _s(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bs=(e,t,n)=>e??t??n,Zh=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const l=Me(ma),r=x(()=>e.route||l.value),a=Me(ms,0),i=x(()=>{let c=lt(a);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=x(()=>r.value.matched[i.value]);On(ms,x(()=>i.value+1)),On(Gh,s),On(ma,r);const o=Q();return ve(()=>[o.value,s.value,e.name],([c,u,f],[p,h,g])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Hn(u,h)||!p)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=s.value,p=f&&f.components[u];if(!p)return ks(n.default,{Component:p,route:c});const h=f.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=d(p,ge({},g,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[u]=null)},ref:o}));return ks(n.default,{Component:_,route:c})||_}}});function ks(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ev=Zh;function tv(e){const t=jh(e.routes,e),n=e.parseQuery||qh,l=e.stringifyQuery||gs,r=e.history,a=Qn(),i=Qn(),s=Qn(),o=De(xt);let c=xt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ur.bind(null,w=>""+w),f=Ur.bind(null,fh),p=Ur.bind(null,vl);function h(w,j){let H,Z;return gc(w)?(H=t.getRecordMatcher(w),Z=j):Z=w,t.addRoute(Z,H)}function g(w){const j=t.getRecordMatcher(w);j&&t.removeRoute(j)}function b(){return t.getRoutes().map(w=>w.record)}function _(w){return!!t.getRecordMatcher(w)}function k(w,j){if(j=ge({},j||o.value),typeof w=="string"){const m=zr(n,w,j.path),E=t.resolve({path:m.path},j),S=r.createHref(m.fullPath);return ge(m,E,{params:p(E.params),hash:vl(m.hash),redirectedFrom:void 0,href:S})}let H;if(w.path!=null)H=ge({},w,{path:zr(n,w.path,j.path).path});else{const m=ge({},w.params);for(const E in m)m[E]==null&&delete m[E];H=ge({},w,{params:f(m)}),j.params=f(j.params)}const Z=t.resolve(H,j),fe=w.hash||"";Z.params=u(p(Z.params));const _e=vh(l,ge({},w,{hash:ch(fe),path:Z.path})),v=r.createHref(_e);return ge({fullPath:_e,hash:fe,query:l===gs?Wh(w.query):w.query||{}},Z,{redirectedFrom:void 0,href:v})}function C(w){return typeof w=="string"?zr(n,w,o.value.path):ge({},w)}function y(w,j){if(c!==w)return Bn(8,{from:j,to:w})}function A(w){return N(w)}function O(w){return A(ge(C(w),{replace:!0}))}function L(w){const j=w.matched[w.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let Z=typeof H=="function"?H(w):H;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=C(Z):{path:Z},Z.params={}),ge({query:w.query,hash:w.hash,params:Z.path!=null?{}:w.params},Z)}}function N(w,j){const H=c=k(w),Z=o.value,fe=w.state,_e=w.force,v=w.replace===!0,m=L(H);if(m)return N(ge(C(m),{state:typeof m=="object"?ge({},fe,m.state):fe,force:_e,replace:v}),j||H);const E=H;E.redirectedFrom=j;let S;return!_e&&gh(l,Z,H)&&(S=Bn(16,{to:E,from:Z}),Ye(Z,Z,!0,!1)),(S?Promise.resolve(S):I(E,Z)).catch(T=>At(T)?At(T,2)?T:rt(T):G(T,E,Z)).then(T=>{if(T){if(At(T,2))return N(ge({replace:v},C(T.to),{state:typeof T.to=="object"?ge({},fe,T.to.state):fe,force:_e}),j||E)}else T=$(E,Z,!0,v,fe);return q(E,Z,T),T})}function P(w,j){const H=y(w,j);return H?Promise.reject(H):Promise.resolve()}function J(w){const j=K.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(w):w()}function I(w,j){let H;const[Z,fe,_e]=nv(w,j);H=qr(Z.reverse(),"beforeRouteLeave",w,j);for(const m of Z)m.leaveGuards.forEach(E=>{H.push(Vt(E,w,j))});const v=P.bind(null,w,j);return H.push(v),X(H).then(()=>{H=[];for(const m of a.list())H.push(Vt(m,w,j));return H.push(v),X(H)}).then(()=>{H=qr(fe,"beforeRouteUpdate",w,j);for(const m of fe)m.updateGuards.forEach(E=>{H.push(Vt(E,w,j))});return H.push(v),X(H)}).then(()=>{H=[];for(const m of _e)if(m.beforeEnter)if(_t(m.beforeEnter))for(const E of m.beforeEnter)H.push(Vt(E,w,j));else H.push(Vt(m.beforeEnter,w,j));return H.push(v),X(H)}).then(()=>(w.matched.forEach(m=>m.enterCallbacks={}),H=qr(_e,"beforeRouteEnter",w,j,J),H.push(v),X(H))).then(()=>{H=[];for(const m of i.list())H.push(Vt(m,w,j));return H.push(v),X(H)}).catch(m=>At(m,8)?m:Promise.reject(m))}function q(w,j,H){s.list().forEach(Z=>J(()=>Z(w,j,H)))}function $(w,j,H,Z,fe){const _e=y(w,j);if(_e)return _e;const v=j===xt,m=En?history.state:{};H&&(Z||v?r.replace(w.fullPath,ge({scroll:v&&m&&m.scroll},fe)):r.push(w.fullPath,fe)),o.value=w,Ye(w,j,H,v),rt()}let re;function Ee(){re||(re=r.listen((w,j,H)=>{if(!ne.listening)return;const Z=k(w),fe=L(Z);if(fe){N(ge(fe,{replace:!0}),Z).catch(il);return}c=Z;const _e=o.value;En&&Ch(os(_e.fullPath,H.delta),Cr()),I(Z,_e).catch(v=>At(v,12)?v:At(v,2)?(N(v.to,Z).then(m=>{At(m,20)&&!H.delta&&H.type===gl.pop&&r.go(-1,!1)}).catch(il),Promise.reject()):(H.delta&&r.go(-H.delta,!1),G(v,Z,_e))).then(v=>{v=v||$(Z,_e,!1),v&&(H.delta&&!At(v,8)?r.go(-H.delta,!1):H.type===gl.pop&&At(v,20)&&r.go(-1,!1)),q(Z,_e,v)}).catch(il)}))}let be=Qn(),Y=Qn(),ie;function G(w,j,H){rt(w);const Z=Y.list();return Z.length?Z.forEach(fe=>fe(w,j,H)):console.error(w),Promise.reject(w)}function Le(){return ie&&o.value!==xt?Promise.resolve():new Promise((w,j)=>{be.add([w,j])})}function rt(w){return ie||(ie=!w,Ee(),be.list().forEach(([j,H])=>w?H(w):j()),be.reset()),w}function Ye(w,j,H,Z){const{scrollBehavior:fe}=e;if(!En||!fe)return Promise.resolve();const _e=!H&&Ah(os(w.fullPath,0))||(Z||!H)&&history.state&&history.state.scroll||null;return Qt().then(()=>fe(w,j,_e)).then(v=>v&&Eh(v)).catch(v=>G(v,w,j))}const ee=w=>r.go(w);let z;const K=new Set,ne={currentRoute:o,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:b,resolve:k,options:e,push:A,replace:O,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:Y.add,isReady:Le,install(w){const j=this;w.component("RouterLink",Qh),w.component("RouterView",ev),w.config.globalProperties.$router=j,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>lt(o)}),En&&!z&&o.value===xt&&(z=!0,A(r.location).catch(fe=>{}));const H={};for(const fe in xt)Object.defineProperty(H,fe,{get:()=>o.value[fe],enumerable:!0});w.provide(Ar,j),w.provide(ti,go(H)),w.provide(ma,o);const Z=w.unmount;K.add(w),w.unmount=function(){K.delete(w),K.size<1&&(c=xt,re&&re(),re=null,o.value=xt,z=!1,ie=!1),Z()}}};function X(w){return w.reduce((j,H)=>j.then(()=>J(H)),Promise.resolve())}return ne}function nv(e,t){const n=[],l=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;iHn(c,s))?l.push(s):n.push(s));const o=e.matched[i];o&&(t.matched.find(c=>Hn(c,o))||r.push(o))}return[n,l,r]}function yn(){return Me(Ar)}function Jt(e){return Me(ti)}var ni=Symbol(""),Ct=()=>{const e=Me(ni);if(!e)throw new Error("useClientData() is called without provider.");return e},lv=()=>Ct().pageComponent,Te=()=>Ct().pageData,Se=()=>Ct().pageFrontmatter,rv=()=>Ct().pageHead,li=()=>Ct().pageLang,av=()=>Ct().pageLayout,Xt=()=>Ct().routeLocale,bc=()=>Ct().routes,kc=()=>Ct().siteData,Lr=()=>Ct().siteLocaleData,iv=Symbol(""),ya=De(Jp),ml=De(Xp),wc=e=>{const t=Gp(e);if(ml.value[t])return t;const n=encodeURI(t);return ml.value[n]?n:ya.value[t]||ya.value[n]||t},xr=e=>{const t=wc(e),n=ml.value[t]??{...ml.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Tr=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return we(()=>{n.value=!0}),()=>{var l,r;return n.value?(r=(l=t.slots).default)==null?void 0:r.call(l):null}}}),Ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=lv(),n=x(()=>{if(!e.path)return t.value;const l=xr(e.path);return gf(()=>l.loader().then(({comp:r})=>r))});return()=>d(n.value)}}),et=(e={})=>e,Ge=e=>mn(e)?e:`/${oc(e)}`,sv=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Je=({active:e=!1,activeClass:t="route-link-active",to:n,...l},{slots:r})=>{var o;const a=yn(),i=wc(n),s=i.startsWith("#")||i.startsWith("?")?i:Ge(i);return d("a",{...l,class:["route-link",{[t]:e}],href:s,onClick:(c={})=>{sv(c)?a.push(n).catch():Promise.resolve()}},(o=r.default)==null?void 0:o.call(r))};Je.displayName="RouteLink";Je.props={active:Boolean,activeClass:String,to:String};var ov="Layout",cv="en-US",rn=Cl({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const l=Oe(t.description)?t.description:n.description,r=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:l}]];return zp(r)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||cv,resolvePageLayout:(e,t)=>{const n=Oe(e.frontmatter.layout)?e.frontmatter.layout:ov;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Kp(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const uv={},Pl=e=>{const t=Xt();return x(()=>e[t.value]??{})},dv=()=>{const e=bc();return x(()=>Object.keys(e.value))};var qe=Uint8Array,An=Uint16Array,fv=Int32Array,Cc=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ac=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),pv=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Lc=function(e,t){for(var n=new An(31),l=0;l<31;++l)n[l]=t+=1<>1|(Ae&21845)<<1;Ft=(Ft&52428)>>2|(Ft&13107)<<2,Ft=(Ft&61680)>>4|(Ft&3855)<<4,_a[Ae]=((Ft&65280)>>8|(Ft&255)<<8)>>1}var ol=function(e,t,n){for(var l=e.length,r=0,a=new An(t);r>o]=c}else for(s=new An(l),r=0;r>15-e[r]);return s},Rl=new qe(288);for(var Ae=0;Ae<144;++Ae)Rl[Ae]=8;for(var Ae=144;Ae<256;++Ae)Rl[Ae]=9;for(var Ae=256;Ae<280;++Ae)Rl[Ae]=7;for(var Ae=280;Ae<288;++Ae)Rl[Ae]=8;var Sc=new qe(32);for(var Ae=0;Ae<32;++Ae)Sc[Ae]=5;var mv=ol(Rl,9,1),yv=ol(Sc,5,1),Wr=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ht=function(e,t,n){var l=t/8|0;return(e[l]|e[l+1]<<8)>>(t&7)&n},Gr=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},_v=function(e){return(e+7)/8|0},ri=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new qe(e.subarray(t,n))},bv=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],st=function(e,t,n){var l=new Error(t||bv[e]);if(l.code=e,Error.captureStackTrace&&Error.captureStackTrace(l,st),!n)throw l;return l},kv=function(e,t,n,l){var r=e.length,a=l?l.length:0;if(!r||t.f&&!t.l)return n||new qe(0);var i=!n,s=i||t.i!=2,o=t.i;i&&(n=new qe(r*3));var c=function(fe){var _e=n.length;if(fe>_e){var v=new qe(Math.max(_e*2,fe));v.set(n),n=v}},u=t.f||0,f=t.p||0,p=t.b||0,h=t.l,g=t.d,b=t.m,_=t.n,k=r*8;do{if(!h){u=ht(e,f,1);var C=ht(e,f+1,3);if(f+=3,C)if(C==1)h=mv,g=yv,b=9,_=5;else if(C==2){var L=ht(e,f,31)+257,N=ht(e,f+10,15)+4,P=L+ht(e,f+5,31)+1;f+=14;for(var J=new qe(P),I=new qe(19),q=0;q>4;if(y<16)J[q++]=y;else{var Y=0,ie=0;for(y==16?(ie=3+ht(e,f,3),f+=2,Y=J[q-1]):y==17?(ie=3+ht(e,f,7),f+=3):y==18&&(ie=11+ht(e,f,127),f+=7);ie--;)J[q++]=Y}}var G=J.subarray(0,L),Le=J.subarray(L);b=Wr(G),_=Wr(Le),h=ol(G,b,1),g=ol(Le,_,1)}else st(1);else{var y=_v(f)+4,A=e[y-4]|e[y-3]<<8,O=y+A;if(O>r){o&&st(0);break}s&&c(p+A),n.set(e.subarray(y,O),p),t.b=p+=A,t.p=f=O*8,t.f=u;continue}if(f>k){o&&st(0);break}}s&&c(p+131072);for(var rt=(1<>4;if(f+=Y&15,f>k){o&&st(0);break}if(Y||st(2),z<256)n[p++]=z;else if(z==256){ee=f,h=null;break}else{var K=z-254;if(z>264){var q=z-257,ne=Cc[q];K=ht(e,f,(1<>4;X||st(3),f+=X&15;var Le=gv[w];if(w>3){var ne=Ac[w];Le+=Gr(e,f)&(1<k){o&&st(0);break}s&&c(p+131072);var j=p+K;if(p>4>7||(e[0]<<8|e[1])%31)&&st(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&st(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Cv(e,t){return kv(e.subarray(Ev(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ws=typeof TextEncoder<"u"&&new TextEncoder,ba=typeof TextDecoder<"u"&&new TextDecoder,Av=0;try{ba.decode(wv,{stream:!0}),Av=1}catch{}var Lv=function(e){for(var t="",n=0;;){var l=e[n++],r=(l>127)+(l>223)+(l>239);if(n+r>e.length)return{s:t,r:ri(e,n-1)};r?r==3?(l=((l&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|l>>10,56320|l&1023)):r&1?t+=String.fromCharCode((l&31)<<6|e[n++]&63):t+=String.fromCharCode((l&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(l)}};function xv(e,t){if(t){for(var n=new qe(e.length),l=0;l>1)),i=0,s=function(u){a[i++]=u},l=0;la.length){var o=new qe(i+8+(r-l<<1));o.set(a),a=o}var c=e.charCodeAt(l);c<128||t?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++l)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return ri(a,0,i)}function Tv(e,t){if(t){for(var n="",l=0;l{const t=atob(e);return Tv(Cv(xv(t,!0)))},dt=(e,t)=>{var l;const n=(l=(t==null?void 0:t._instance)||Nl())==null?void 0:l.appContext.components;return n?e in n||ft(e)in n||El(ft(e))in n:!1},Nc=e=>new Promise(t=>setTimeout(t,e)),Ic=e=>typeof e<"u",Kr=e=>typeof e=="number",wa=Array.isArray,Vn=(e,t)=>Oe(e)&&e.startsWith(t),Sv=(e,t)=>Oe(e)&&e.endsWith(t),Oc=Object.entries,Zt=Object.keys,Nv=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},ai=e=>Vn(e,"/");function ii(e,t){let n,l,r;const a=Q(!0),i=()=>{a.value=!0,r()};ve(e,i,{flush:"sync"});const s=typeof t=="function"?t:t.get,o=typeof t=="function"?void 0:t.set,c=za((u,f)=>(l=u,r=f,{get(){return a.value&&(n=s(),a.value=!1),l(),n},set(p){o==null||o(p)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function Wn(e){return lo()?(wd(e),!0):!1}function Be(e){return typeof e=="function"?e():lt(e)}const Fl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Iv=Object.prototype.toString,Ov=e=>Iv.call(e)==="[object Object]",pn=()=>{},Es=Pv();function Pv(){var e,t;return Fl&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function si(e,t){function n(...l){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(r).catch(a)})}return n}const Pc=e=>e();function Rv(e,t={}){let n,l,r=pn;const a=s=>{clearTimeout(s),r(),r=pn};return s=>{const o=Be(e),c=Be(t.maxWait);return n&&a(n),o<=0||c!==void 0&&c<=0?(l&&(a(l),l=null),Promise.resolve(s())):new Promise((u,f)=>{r=t.rejectOnCancel?f:u,c&&!l&&(l=setTimeout(()=>{n&&a(n),l=null,u(s())},c)),n=setTimeout(()=>{l&&a(l),l=null,u(s())},o)})}}function Fv(...e){let t=0,n,l=!0,r=pn,a,i,s,o,c;!Fe(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:o=!0,rejectOnCancel:c=!1}=e[0]:[i,s=!0,o=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=pn)};return p=>{const h=Be(i),g=Date.now()-t,b=()=>a=p();return u(),h<=0?(t=Date.now(),b()):(g>h&&(o||!l)?(t=Date.now(),b()):s&&(a=new Promise((_,k)=>{r=c?k:_,n=setTimeout(()=>{t=Date.now(),l=!0,_(b()),u()},Math.max(0,h-g))})),!o&&!n&&(n=setTimeout(()=>l=!0,h)),l=!1,a)}}function $v(e=Pc){const t=Q(!0);function n(){t.value=!1}function l(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:Al(t),pause:n,resume:l,eventFilter:r}}function Mv(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const l=t;t=void 0,l&&await l},n}function Rc(e){return e||Nl()}function Dv(...e){if(e.length!==1)return mr(...e);const t=e[0];return typeof t=="function"?Al(za(()=>({get:t,set:pn}))):Q(t)}function Fc(e,t=200,n={}){return si(Rv(t,n),e)}function jv(e,t=200,n=!1,l=!0,r=!1){return si(Fv(t,n,l,r),e)}function Hv(e,t,n={}){const{eventFilter:l=Pc,...r}=n;return ve(e,si(l,t),r)}function Bv(e,t,n={}){const{eventFilter:l,...r}=n,{eventFilter:a,pause:i,resume:s,isActive:o}=$v(l);return{stop:Hv(e,t,{...r,eventFilter:a}),pause:i,resume:s,isActive:o}}function Sr(e,t=!0,n){Rc()?we(e,n):t?e():Qt(e)}function Vv(e,t){Rc(t)&&gn(e,t)}function Uv(e,t,n={}){const{immediate:l=!0}=n,r=Q(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,i()}function o(...c){i(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},Be(t))}return l&&(r.value=!0,Fl&&o()),Wn(s),{isPending:Al(r),start:o,stop:s}}function yl(e=!1,t={}){const{truthyValue:n=!0,falsyValue:l=!1}=t,r=Fe(e),a=Q(e);function i(s){if(arguments.length)return a.value=s,a.value;{const o=Be(n);return a.value=a.value===o?Be(l):o,a.value}}return r?i:[a,i]}function Tt(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Nt=Fl?window:void 0,$c=Fl?window.document:void 0,Mc=Fl?window.navigator:void 0;function $e(...e){let t,n,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,r]=e,t=Nt):[t,n,l,r]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(u=>u()),a.length=0},s=(u,f,p,h)=>(u.addEventListener(f,p,h),()=>u.removeEventListener(f,p,h)),o=ve(()=>[Tt(t),Be(r)],([u,f])=>{if(i(),!u)return;const p=Ov(f)?{...f}:f;a.push(...n.flatMap(h=>l.map(g=>s(u,h,g,p))))},{immediate:!0,flush:"post"}),c=()=>{o(),i()};return Wn(c),c}function zv(){const e=Q(!1),t=Nl();return t&&we(()=>{e.value=!0},t),e}function $l(e){const t=zv();return x(()=>(t.value,!!e()))}function Dc(e,t={}){const{window:n=Nt}=t,l=$l(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=Q(!1),i=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},o=So(()=>{l.value&&(s(),r=n.matchMedia(Be(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),a.value=r.matches)});return Wn(()=>{o(),s(),r=void 0}),a}function Cs(e,t={}){const{controls:n=!1,navigator:l=Mc}=t,r=$l(()=>l&&"permissions"in l);let a;const i=typeof e=="string"?{name:e}:e,s=Q(),o=()=>{a&&(s.value=a.state)},c=Mv(async()=>{if(r.value){if(!a)try{a=await l.permissions.query(i),$e(a,"change",o),o()}catch{s.value="prompt"}return a}});return c(),n?{state:s,isSupported:r,query:c}:s}function qv(e={}){const{navigator:t=Mc,read:n=!1,source:l,copiedDuring:r=1500,legacy:a=!1}=e,i=$l(()=>t&&"clipboard"in t),s=Cs("clipboard-read"),o=Cs("clipboard-write"),c=x(()=>i.value||a),u=Q(""),f=Q(!1),p=Uv(()=>f.value=!1,r);function h(){i.value&&k(s.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=_()}c.value&&n&&$e(["copy","cut"],h);async function g(C=Be(l)){c.value&&C!=null&&(i.value&&k(o.value)?await t.clipboard.writeText(C):b(C),u.value=C,f.value=!0,p.start())}function b(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function _(){var C,y,A;return(A=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?A:""}function k(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:f,copy:g}}const Kl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yl="__vueuse_ssr_handlers__",Wv=Gv();function Gv(){return Yl in Kl||(Kl[Yl]=Kl[Yl]||{}),Kl[Yl]}function Kv(e,t){return Wv[e]||t}function Yv(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"}const Qv={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()}},As="vueuse-storage";function Gn(e,t,n,l={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:o=!0,mergeDefaults:c=!1,shallow:u,window:f=Nt,eventFilter:p,onError:h=I=>{console.error(I)},initOnMounted:g}=l,b=(u?De:Q)(typeof t=="function"?t():t);if(!n)try{n=Kv("getDefaultStorage",()=>{var I;return(I=Nt)==null?void 0:I.localStorage})()}catch(I){h(I)}if(!n)return b;const _=Be(t),k=Yv(_),C=(r=l.serializer)!=null?r:Qv[k],{pause:y,resume:A}=Bv(b,()=>L(b.value),{flush:a,deep:i,eventFilter:p});f&&s&&Sr(()=>{$e(f,"storage",P),$e(f,As,J),g&&P()}),g||P();function O(I,q){f&&f.dispatchEvent(new CustomEvent(As,{detail:{key:e,oldValue:I,newValue:q,storageArea:n}}))}function L(I){try{const q=n.getItem(e);if(I==null)O(q,null),n.removeItem(e);else{const $=C.write(I);q!==$&&(n.setItem(e,$),O(q,$))}}catch(q){h(q)}}function N(I){const q=I?I.newValue:n.getItem(e);if(q==null)return o&&_!=null&&n.setItem(e,C.write(_)),_;if(!I&&c){const $=C.read(q);return typeof c=="function"?c($,_):k==="object"&&!Array.isArray($)?{..._,...$}:$}else return typeof q!="string"?q:C.read(q)}function P(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){b.value=_;return}if(!(I&&I.key!==e)){y();try{(I==null?void 0:I.newValue)!==C.write(b.value)&&(b.value=N(I))}catch(q){h(q)}finally{I?Qt(A):A()}}}}function J(I){P(I.detail)}return b}function Jv(e){return Dc("(prefers-color-scheme: dark)",e)}function Xv(e,t,n={}){const{window:l=Nt,...r}=n;let a;const i=$l(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},o=x(()=>Array.isArray(e)?e.map(f=>Tt(f)):[Tt(e)]),c=ve(o,f=>{if(s(),i.value&&l){a=new ResizeObserver(t);for(const p of f)p&&a.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return Wn(u),{isSupported:i,stop:u}}function Zv(e,t={width:0,height:0},n={}){const{window:l=Nt,box:r="content-box"}=n,a=x(()=>{var f,p;return(p=(f=Tt(e))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),i=Q(t.width),s=Q(t.height),{stop:o}=Xv(e,([f])=>{const p=r==="border-box"?f.borderBoxSize:r==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(l&&a.value){const h=Tt(e);if(h){const g=l.getComputedStyle(h);i.value=Number.parseFloat(g.width),s.value=Number.parseFloat(g.height)}}else if(p){const h=Array.isArray(p)?p:[p];i.value=h.reduce((g,{inlineSize:b})=>g+b,0),s.value=h.reduce((g,{blockSize:b})=>g+b,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},n);Sr(()=>{const f=Tt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=ve(()=>Tt(e),f=>{i.value=f?t.width:0,s.value=f?t.height:0});function u(){o(),c()}return{width:i,height:s,stop:u}}const Ls=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function oi(e,t={}){const{document:n=$c,autoExit:l=!1}=t,r=x(()=>{var k;return(k=Tt(e))!=null?k:n==null?void 0:n.querySelector("html")}),a=Q(!1),i=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),s=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),o=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(k=>n&&k in n||r.value&&k in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(k=>n&&k in n),u=$l(()=>r.value&&n&&i.value!==void 0&&s.value!==void 0&&o.value!==void 0),f=()=>c?(n==null?void 0:n[c])===r.value:!1,p=()=>{if(o.value){if(n&&n[o.value]!=null)return n[o.value];{const k=r.value;if((k==null?void 0:k[o.value])!=null)return!!k[o.value]}}return!1};async function h(){if(!(!u.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const k=r.value;(k==null?void 0:k[s.value])!=null&&await k[s.value]()}a.value=!1}}async function g(){if(!u.value||a.value)return;p()&&await h();const k=r.value;i.value&&(k==null?void 0:k[i.value])!=null&&(await k[i.value](),a.value=!0)}async function b(){await(a.value?h():g())}const _=()=>{const k=p();(!k||k&&f())&&(a.value=k)};return $e(n,Ls,_,!1),$e(()=>Tt(r),Ls,_,!1),l&&Wn(h),{isSupported:u,isFullscreen:a,enter:g,exit:h,toggle:b}}function Yr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Qr(e,t=pn,n={}){const{immediate:l=!0,manual:r=!1,type:a="text/javascript",async:i=!0,crossOrigin:s,referrerPolicy:o,noModule:c,defer:u,document:f=$c,attrs:p={}}=n,h=Q(null);let g=null;const b=C=>new Promise((y,A)=>{const O=P=>(h.value=P,y(P),P);if(!f){y(!1);return}let L=!1,N=f.querySelector(`script[src="${Be(e)}"]`);N?N.hasAttribute("data-loaded")&&O(N):(N=f.createElement("script"),N.type=a,N.async=i,N.src=Be(e),u&&(N.defer=u),s&&(N.crossOrigin=s),c&&(N.noModule=c),o&&(N.referrerPolicy=o),Object.entries(p).forEach(([P,J])=>N==null?void 0:N.setAttribute(P,J)),L=!0),N.addEventListener("error",P=>A(P)),N.addEventListener("abort",P=>A(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),O(N)}),L&&(N=f.head.appendChild(N)),C||O(N)}),_=(C=!0)=>(g||(g=b(C)),g),k=()=>{if(!f)return;g=null,h.value&&(h.value=null);const C=f.querySelector(`script[src="${Be(e)}"]`);C&&f.head.removeChild(C)};return l&&!r&&Sr(_),r||Vv(k),{scriptTag:h,load:_,unload:k}}function jc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ql=new WeakMap;function Hc(e,t=!1){const n=Q(t);let l=null;ve(Dv(e),i=>{const s=Yr(Be(i));if(s){const o=s;Ql.get(o)||Ql.set(o,o.style.overflow),n.value&&(o.style.overflow="hidden")}},{immediate:!0});const r=()=>{const i=Yr(Be(e));!i||n.value||(Es&&(l=$e(i,"touchmove",s=>{eg(s)},{passive:!1})),i.style.overflow="hidden",n.value=!0)},a=()=>{var i;const s=Yr(Be(e));!s||!n.value||(Es&&(l==null||l()),s.style.overflow=(i=Ql.get(s))!=null?i:"",Ql.delete(s),n.value=!1)};return Wn(a),x({get(){return n.value},set(i){i?r():a()}})}function Bc(e,t,n={}){const{window:l=Nt}=n;return Gn(e,t,l==null?void 0:l.sessionStorage,n)}function tg(e={}){const{window:t=Nt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const l=Q(t.scrollX),r=Q(t.scrollY),a=x({get(){return l.value},set(s){scrollTo({left:s,behavior:n})}}),i=x({get(){return r.value},set(s){scrollTo({top:s,behavior:n})}});return $e(t,"scroll",()=>{l.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:i}}function ng(e={}){const{window:t=Nt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0}=e,i=Q(n),s=Q(l),o=()=>{t&&(a?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(o(),Sr(o),$e("resize",o,{passive:!0}),r){const c=Dc("(orientation: portrait)");ve(c,()=>o())}return{width:i,height:s}}var lg=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const l=["font-icon icon"],r=`fas fa-${e.icon}`;return l.push("fa-fw fa-sm"),l.push(e.icon.includes(" ")?e.icon:r),l}),n=x(()=>{const l={};return e.color&&(l.color=e.color),e.size&&(l["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Zt(l).length?l:null});return()=>e.icon?d("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vc=({type:e="info",text:t="",vertical:n,color:l},{slots:r})=>{var a;return d("span",{class:["vp-badge",e,{diy:l}],style:{verticalAlign:n??!1,backgroundColor:l??!1}},((a=r.default)==null?void 0:a.call(r))||t)};Vc.displayName="Badge";const Uc=({title:e,desc:t="",logo:n,background:l,color:r,link:a})=>{const i=[n?d("img",{class:"vp-card-logo",src:Ge(n),loading:"lazy","no-view":""}):null,d("div",{class:"vp-card-content"},[d("div",{class:"vp-card-title",innerHTML:e}),d("hr"),d("div",{class:"vp-card-desc",innerHTML:t})])],s={};return l&&(s.background=l),r&&(s.color=r),a?jn(a)?d("a",{class:"vp-card",href:a,target:"_blank",style:s},i):d(Je,{to:a,class:"vp-card",style:s},()=>i):d("div",{class:"vp-card",style:s},i)};Uc.displayName="VPCard";const rg=et({enhance:({app:e})=>{dt("FontIcon")||e.component("FontIcon",lg),dt("Badge")||e.component("Badge",Vc),dt("VPCard")||e.component("VPCard",Uc)},setup:()=>{Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),xs=async(e,t)=>{const{path:n,query:l}=e.currentRoute.value,{scrollBehavior:r}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:l,hash:t}),e.options.scrollBehavior=r},ag=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:l=5})=>{const r=yn();$e("scroll",Fc(()=>{var g,b;const i=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(i-0)f.some(k=>k.hash===_.hash));for(let _=0;_=(((g=k.parentElement)==null?void 0:g.offsetTop)??0)-l,A=!C||i<(((b=C.parentElement)==null?void 0:b.offsetTop)??0)-l;if(!(y&&A))continue;const L=decodeURIComponent(r.currentRoute.value.hash),N=decodeURIComponent(k.hash);if(L===N)return;if(u){for(let P=_+1;POe(e.title)?{title:e.title}:null;const qc=Symbol(""),dg=e=>{zc=e},fg=()=>Me(qc),pg=e=>{e.provide(qc,zc)};var hg={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const vg=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=fg(),n=Pl(hg),l=Te(),r=bc(),a=kc(),s=De(Oc(r.value).map(([c,{meta:u}])=>{const f=t(u);if(!f)return null;const p=c.split("/").length;return{level:Sv(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...f}}).filter(c=>qn(c)&&Oe(c.title))),o=x(()=>{const c=e.base?qp(ic(e.base)):l.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,f=[];return s.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const g=Zt(a.value.locales).filter(b=>b!=="/");if(h==="/404.html"||g.some(b=>Vn(h,b)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:g},{title:b,level:_,order:k})=>{const C=h-_;return C||(Kr(g)?Kr(k)?g>0?k>0?g-k:-1:k<0?g-k:1:g:Kr(k)?k:p.localeCompare(b))}).forEach(p=>{var b;const{base:h,level:g}=p;switch(g-u){case 1:{f.push(p);break}case 2:{const _=f.find(k=>k.path===h);_&&(_.children??(_.children=[])).push(p);break}default:{const _=f.find(k=>k.path===h.replace(/\/[^/]+\/$/,"/"));if(_){const k=(b=_.children)==null?void 0:b.find(C=>C.path===h);k&&(k.children??(k.children=[])).push(p)}}}}),f});return()=>{const c=o.value.some(u=>u.children);return d("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:d("h2",{class:"vp-catalog-main-title"},n.value.title),o.value.length?d(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},o.value.map(({children:u=[],title:f,path:p,content:h})=>{const g=d(Je,{class:"vp-catalog-title",to:p},()=>h?d(h):f);return d("li",{class:"vp-catalog"},c?[d("h3",{id:f,class:["vp-catalog-child-title",{"has-children":u.length}]},[d("a",{href:`#${f}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?d(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:b=[],content:_,path:k,title:C})=>d("li",{class:"vp-child-catalog"},[d("div",{class:["vp-catalog-sub-title",{"has-children":b.length}]},[d("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),d(Je,{class:"vp-catalog-title",to:k},()=>_?d(_):C)]),b.length?d(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},b.map(({content:y,path:A,title:O})=>e.index?d("li",{class:"vp-sub-catalog"},d(Je,{to:A},()=>y?d(y):O)):d(Je,{class:"vp-sub-catalog-link",to:A},()=>y?d(y):O))):null]))):null]:d("div",{class:"vp-catalog-child-title"},g))})):d("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),gg=et({enhance:({app:e})=>{pg(e),dt("Catalog",e)||e.component("Catalog",vg)}});var mg={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const yg=U({name:"BackToTop",setup(e){const t=Se(),n=Pl(mg),l=De(),{height:r}=Zv(l),{height:a}=ng(),{y:i}=tg(),s=x(()=>t.value.backToTop!==!1&&i.value>100),o=x(()=>i.value/(r.value-a.value)*100);return we(()=>{l.value=document.body}),()=>d(Yt,{name:"back-to-top"},()=>s.value?d("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[d("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":o.value},d("svg",d("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*o.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),d("div",{class:"back-to-top-icon"})]):null)}}),_g=et({rootComponents:[yg]}),bg=d("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"},[d("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"}),d("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"})]),Wc=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Xt(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>d("span",[bg,d("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var kg={};const wg=kg,Eg=et({enhance({app:e}){e.component("ExternalLinkIcon",d(Wc,{locales:wg}))}});/** + */const En=typeof document<"u";function Zp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Ur(e,t){const n={};for(const l in t){const r=t[l];n[l]=_t(r)?r.map(e):e(r)}return n}const il=()=>{},_t=Array.isArray,cc=/#/g,eh=/&/g,th=/\//g,nh=/=/g,lh=/\?/g,uc=/\+/g,rh=/%5B/g,ah=/%5D/g,dc=/%5E/g,ih=/%60/g,fc=/%7B/g,sh=/%7C/g,pc=/%7D/g,oh=/%20/g;function ei(e){return encodeURI(""+e).replace(sh,"|").replace(rh,"[").replace(ah,"]")}function ch(e){return ei(e).replace(fc,"{").replace(pc,"}").replace(dc,"^")}function va(e){return ei(e).replace(uc,"%2B").replace(oh,"+").replace(cc,"%23").replace(eh,"%26").replace(ih,"`").replace(fc,"{").replace(pc,"}").replace(dc,"^")}function uh(e){return va(e).replace(nh,"%3D")}function dh(e){return ei(e).replace(cc,"%23").replace(lh,"%3F")}function fh(e){return e==null?"":dh(e).replace(th,"%2F")}function vl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ph=/\/$/,hh=e=>e.replace(ph,"");function zr(e,t,n="/"){let l,r={},a="",i="";const s=t.indexOf("#");let o=t.indexOf("?");return s=0&&(o=-1),o>-1&&(l=t.slice(0,o),a=t.slice(o+1,s>-1?s:t.length),r=e(a)),s>-1&&(l=l||t.slice(0,s),i=t.slice(s,t.length)),l=yh(l??t,n),{fullPath:l+(a&&"?")+a+i,path:l,query:r,hash:vl(i)}}function vh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function is(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function gh(e,t,n){const l=t.matched.length-1,r=n.matched.length-1;return l>-1&&l===r&&Hn(t.matched[l],n.matched[r])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!mh(e[n],t[n]))return!1;return!0}function mh(e,t){return _t(e)?ss(e,t):_t(t)?ss(t,e):e===t}function ss(e,t){return _t(t)?e.length===t.length&&e.every((n,l)=>n===t[l]):e.length===1&&e[0]===t}function yh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),l=e.split("/"),r=l[l.length-1];(r===".."||r===".")&&l.push("");let a=n.length-1,i,s;for(i=0;i1&&a--;else break;return n.slice(0,a).join("/")+"/"+l.slice(i).join("/")}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var gl;(function(e){e.pop="pop",e.push="push"})(gl||(gl={}));var sl;(function(e){e.back="back",e.forward="forward",e.unknown=""})(sl||(sl={}));function _h(e){if(!e)if(En){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),hh(e)}const bh=/^[^#]+#/;function kh(e,t){return e.replace(bh,"#")+t}function wh(e,t){const n=document.documentElement.getBoundingClientRect(),l=e.getBoundingClientRect();return{behavior:t.behavior,left:l.left-n.left-(t.left||0),top:l.top-n.top-(t.top||0)}}const Cr=()=>({left:window.scrollX,top:window.scrollY});function Eh(e){let t;if("el"in e){const n=e.el,l=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?l?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wh(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function os(e,t){return(history.state?history.state.position-t:-1)+e}const ga=new Map;function Ch(e,t){ga.set(e,t)}function Ah(e){const t=ga.get(e);return ga.delete(e),t}let Lh=()=>location.protocol+"//"+location.host;function vc(e,t){const{pathname:n,search:l,hash:r}=t,a=e.indexOf("#");if(a>-1){let s=r.includes(e.slice(a))?e.slice(a).length:1,o=r.slice(s);return o[0]!=="/"&&(o="/"+o),is(o,"")}return is(n,e)+l+r}function xh(e,t,n,l){let r=[],a=[],i=null;const s=({state:p})=>{const h=vc(e,location),g=n.value,b=t.value;let _=0;if(p){if(n.value=h,t.value=p,i&&i===g){i=null;return}_=b?p.position-b.position:0}else l(h);r.forEach(k=>{k(n.value,g,{delta:_,type:gl.pop,direction:_?_>0?sl.forward:sl.back:sl.unknown})})};function o(){i=n.value}function c(p){r.push(p);const h=()=>{const g=r.indexOf(p);g>-1&&r.splice(g,1)};return a.push(h),h}function u(){const{history:p}=window;p.state&&p.replaceState(ge({},p.state,{scroll:Cr()}),"")}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:o,listen:c,destroy:f}}function cs(e,t,n,l=!1,r=!1){return{back:e,current:t,forward:n,replaced:l,position:window.history.length,scroll:r?Cr():null}}function Th(e){const{history:t,location:n}=window,l={value:vc(e,n)},r={value:t.state};r.value||a(l.value,{back:null,current:l.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(o,c,u){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+o:Lh()+e+o;try{t[u?"replaceState":"pushState"](c,"",p),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](p)}}function i(o,c){const u=ge({},t.state,cs(r.value.back,o,r.value.forward,!0),c,{position:r.value.position});a(o,u,!0),l.value=o}function s(o,c){const u=ge({},r.value,t.state,{forward:o,scroll:Cr()});a(u.current,u,!0);const f=ge({},cs(l.value,o,null),{position:u.position+1},c);a(o,f,!1),l.value=o}return{location:l,state:r,push:s,replace:i}}function Sh(e){e=_h(e);const t=Th(e),n=xh(e,t.state,t.location,t.replace);function l(a,i=!0){i||n.pauseListeners(),history.go(a)}const r=ge({location:"",base:e,go:l,createHref:kh.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Nh(e){return typeof e=="string"||e&&typeof e=="object"}function gc(e){return typeof e=="string"||typeof e=="symbol"}const mc=Symbol("");var us;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(us||(us={}));function Bn(e,t){return ge(new Error,{type:e,[mc]:!0},t)}function At(e,t){return e instanceof Error&&mc in e&&(t==null||!!(e.type&t))}const ds="[^/]+?",Ih={sensitive:!1,strict:!1,start:!0,end:!0},Oh=/[.+*?^${}()[\]/\\]/g;function Ph(e,t){const n=ge({},Ih,t),l=[];let r=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function yc(e,t){let n=0;const l=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Fh={type:0,value:""},$h=/[a-zA-Z0-9_]/;function Mh(e){if(!e)return[[]];if(e==="/")return[[Fh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,l=n;const r=[];let a;function i(){a&&r.push(a),a=[]}let s=0,o,c="",u="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(o==="*"||o==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:o==="*"||o==="+",optional:o==="*"||o==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=o}for(;s{i(y)}:il}function i(f){if(gc(f)){const p=l.get(f);p&&(l.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&l.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function s(){return n}function o(f){const p=Uh(f,n);n.splice(p,0,f),f.record.name&&!hs(f)&&l.set(f.record.name,f)}function c(f,p){let h,g={},b,_;if("name"in f&&f.name){if(h=l.get(f.name),!h)throw Bn(1,{location:f});_=h.record.name,g=ge(ps(p.params,h.keys.filter(y=>!y.optional).concat(h.parent?h.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&ps(f.params,h.keys.map(y=>y.name))),b=h.stringify(g)}else if(f.path!=null)b=f.path,h=n.find(y=>y.re.test(b)),h&&(g=h.parse(b),_=h.record.name);else{if(h=p.name?l.get(p.name):n.find(y=>y.re.test(p.path)),!h)throw Bn(1,{location:f,currentLocation:p});_=h.record.name,g=ge({},p.params,f.params),b=h.stringify(g)}const k=[];let C=h;for(;C;)k.unshift(C.record),C=C.parent;return{name:_,path:b,params:g,matched:k,meta:Vh(k)}}e.forEach(f=>a(f));function u(){n.length=0,l.clear()}return{addRoute:a,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function ps(e,t){const n={};for(const l of t)l in e&&(n[l]=e[l]);return n}function Hh(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Bh(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const l in e.components)t[l]=typeof n=="object"?n[l]:n;return t}function hs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Vh(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function vs(e,t){const n={};for(const l in e)n[l]=l in t?t[l]:e[l];return n}function Uh(e,t){let n=0,l=t.length;for(;n!==l;){const a=n+l>>1;yc(e,t[a])<0?l=a:n=a+1}const r=zh(e);return r&&(l=t.lastIndexOf(r,l-1)),l}function zh(e){let t=e;for(;t=t.parent;)if(_c(t)&&yc(e,t)===0)return t}function _c({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function qh(e){const t={};if(e===""||e==="?")return t;const l=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ra&&va(a)):[l&&va(l)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function Wh(e){const t={};for(const n in e){const l=e[n];l!==void 0&&(t[n]=_t(l)?l.map(r=>r==null?null:""+r):l==null?l:""+l)}return t}const Kh=Symbol(""),ms=Symbol(""),Ar=Symbol(""),ti=Symbol(""),ma=Symbol("");function Qn(){let e=[];function t(l){return e.push(l),()=>{const r=e.indexOf(l);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,l,r,a=i=>i()){const i=l&&(l.enterCallbacks[r]=l.enterCallbacks[r]||[]);return()=>new Promise((s,o)=>{const c=p=>{p===!1?o(Bn(4,{from:n,to:t})):p instanceof Error?o(p):Nh(p)?o(Bn(2,{from:t,to:p})):(i&&l.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),s())},u=a(()=>e.call(l&&l.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(p=>o(p))})}function qr(e,t,n,l,r=a=>a()){const a=[];for(const i of e)for(const s in i.components){let o=i.components[s];if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(Gh(o)){const u=(o.__vccOpts||o)[t];u&&a.push(Vt(u,n,l,i,s,r))}else{let c=o();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const f=Zp(u)?u.default:u;i.components[s]=f;const h=(f.__vccOpts||f)[t];return h&&Vt(h,n,l,i,s,r)()}))}}return a}function Gh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ys(e){const t=Me(Ar),n=Me(ti),l=x(()=>{const o=lt(e.to);return t.resolve(o)}),r=x(()=>{const{matched:o}=l.value,{length:c}=o,u=o[c-1],f=n.matched;if(!u||!f.length)return-1;const p=f.findIndex(Hn.bind(null,u));if(p>-1)return p;const h=_s(o[c-2]);return c>1&&_s(u)===h&&f[f.length-1].path!==h?f.findIndex(Hn.bind(null,o[c-2])):p}),a=x(()=>r.value>-1&&Xh(n.params,l.value.params)),i=x(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,l.value.params));function s(o={}){return Jh(o)?t[lt(e.replace)?"replace":"push"](lt(e.to)).catch(il):Promise.resolve()}return{route:l,href:x(()=>l.value.href),isActive:a,isExactActive:i,navigate:s}}const Yh=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ys,setup(e,{slots:t}){const n=Cl(ys(e)),{options:l}=Me(Ar),r=x(()=>({[bs(e.activeClass,l.linkActiveClass,"router-link-active")]:n.isActive,[bs(e.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:d("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),Qh=Yh;function Jh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Xh(e,t){for(const n in t){const l=t[n],r=e[n];if(typeof l=="string"){if(l!==r)return!1}else if(!_t(r)||r.length!==l.length||l.some((a,i)=>a!==r[i]))return!1}return!0}function _s(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bs=(e,t,n)=>e??t??n,Zh=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const l=Me(ma),r=x(()=>e.route||l.value),a=Me(ms,0),i=x(()=>{let c=lt(a);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),s=x(()=>r.value.matched[i.value]);On(ms,x(()=>i.value+1)),On(Kh,s),On(ma,r);const o=Q();return ve(()=>[o.value,s.value,e.name],([c,u,f],[p,h,g])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Hn(u,h)||!p)&&(u.enterCallbacks[f]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=s.value,p=f&&f.components[u];if(!p)return ks(n.default,{Component:p,route:c});const h=f.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=d(p,ge({},g,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(f.instances[u]=null)},ref:o}));return ks(n.default,{Component:_,route:c})||_}}});function ks(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ev=Zh;function tv(e){const t=jh(e.routes,e),n=e.parseQuery||qh,l=e.stringifyQuery||gs,r=e.history,a=Qn(),i=Qn(),s=Qn(),o=De(xt);let c=xt;En&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ur.bind(null,w=>""+w),f=Ur.bind(null,fh),p=Ur.bind(null,vl);function h(w,j){let H,Z;return gc(w)?(H=t.getRecordMatcher(w),Z=j):Z=w,t.addRoute(Z,H)}function g(w){const j=t.getRecordMatcher(w);j&&t.removeRoute(j)}function b(){return t.getRoutes().map(w=>w.record)}function _(w){return!!t.getRecordMatcher(w)}function k(w,j){if(j=ge({},j||o.value),typeof w=="string"){const m=zr(n,w,j.path),E=t.resolve({path:m.path},j),S=r.createHref(m.fullPath);return ge(m,E,{params:p(E.params),hash:vl(m.hash),redirectedFrom:void 0,href:S})}let H;if(w.path!=null)H=ge({},w,{path:zr(n,w.path,j.path).path});else{const m=ge({},w.params);for(const E in m)m[E]==null&&delete m[E];H=ge({},w,{params:f(m)}),j.params=f(j.params)}const Z=t.resolve(H,j),fe=w.hash||"";Z.params=u(p(Z.params));const _e=vh(l,ge({},w,{hash:ch(fe),path:Z.path})),v=r.createHref(_e);return ge({fullPath:_e,hash:fe,query:l===gs?Wh(w.query):w.query||{}},Z,{redirectedFrom:void 0,href:v})}function C(w){return typeof w=="string"?zr(n,w,o.value.path):ge({},w)}function y(w,j){if(c!==w)return Bn(8,{from:j,to:w})}function A(w){return N(w)}function O(w){return A(ge(C(w),{replace:!0}))}function L(w){const j=w.matched[w.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let Z=typeof H=="function"?H(w):H;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=C(Z):{path:Z},Z.params={}),ge({query:w.query,hash:w.hash,params:Z.path!=null?{}:w.params},Z)}}function N(w,j){const H=c=k(w),Z=o.value,fe=w.state,_e=w.force,v=w.replace===!0,m=L(H);if(m)return N(ge(C(m),{state:typeof m=="object"?ge({},fe,m.state):fe,force:_e,replace:v}),j||H);const E=H;E.redirectedFrom=j;let S;return!_e&&gh(l,Z,H)&&(S=Bn(16,{to:E,from:Z}),Ye(Z,Z,!0,!1)),(S?Promise.resolve(S):I(E,Z)).catch(T=>At(T)?At(T,2)?T:rt(T):K(T,E,Z)).then(T=>{if(T){if(At(T,2))return N(ge({replace:v},C(T.to),{state:typeof T.to=="object"?ge({},fe,T.to.state):fe,force:_e}),j||E)}else T=$(E,Z,!0,v,fe);return q(E,Z,T),T})}function P(w,j){const H=y(w,j);return H?Promise.reject(H):Promise.resolve()}function J(w){const j=G.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(w):w()}function I(w,j){let H;const[Z,fe,_e]=nv(w,j);H=qr(Z.reverse(),"beforeRouteLeave",w,j);for(const m of Z)m.leaveGuards.forEach(E=>{H.push(Vt(E,w,j))});const v=P.bind(null,w,j);return H.push(v),X(H).then(()=>{H=[];for(const m of a.list())H.push(Vt(m,w,j));return H.push(v),X(H)}).then(()=>{H=qr(fe,"beforeRouteUpdate",w,j);for(const m of fe)m.updateGuards.forEach(E=>{H.push(Vt(E,w,j))});return H.push(v),X(H)}).then(()=>{H=[];for(const m of _e)if(m.beforeEnter)if(_t(m.beforeEnter))for(const E of m.beforeEnter)H.push(Vt(E,w,j));else H.push(Vt(m.beforeEnter,w,j));return H.push(v),X(H)}).then(()=>(w.matched.forEach(m=>m.enterCallbacks={}),H=qr(_e,"beforeRouteEnter",w,j,J),H.push(v),X(H))).then(()=>{H=[];for(const m of i.list())H.push(Vt(m,w,j));return H.push(v),X(H)}).catch(m=>At(m,8)?m:Promise.reject(m))}function q(w,j,H){s.list().forEach(Z=>J(()=>Z(w,j,H)))}function $(w,j,H,Z,fe){const _e=y(w,j);if(_e)return _e;const v=j===xt,m=En?history.state:{};H&&(Z||v?r.replace(w.fullPath,ge({scroll:v&&m&&m.scroll},fe)):r.push(w.fullPath,fe)),o.value=w,Ye(w,j,H,v),rt()}let re;function Ee(){re||(re=r.listen((w,j,H)=>{if(!ne.listening)return;const Z=k(w),fe=L(Z);if(fe){N(ge(fe,{replace:!0}),Z).catch(il);return}c=Z;const _e=o.value;En&&Ch(os(_e.fullPath,H.delta),Cr()),I(Z,_e).catch(v=>At(v,12)?v:At(v,2)?(N(v.to,Z).then(m=>{At(m,20)&&!H.delta&&H.type===gl.pop&&r.go(-1,!1)}).catch(il),Promise.reject()):(H.delta&&r.go(-H.delta,!1),K(v,Z,_e))).then(v=>{v=v||$(Z,_e,!1),v&&(H.delta&&!At(v,8)?r.go(-H.delta,!1):H.type===gl.pop&&At(v,20)&&r.go(-1,!1)),q(Z,_e,v)}).catch(il)}))}let be=Qn(),Y=Qn(),ie;function K(w,j,H){rt(w);const Z=Y.list();return Z.length?Z.forEach(fe=>fe(w,j,H)):console.error(w),Promise.reject(w)}function Le(){return ie&&o.value!==xt?Promise.resolve():new Promise((w,j)=>{be.add([w,j])})}function rt(w){return ie||(ie=!w,Ee(),be.list().forEach(([j,H])=>w?H(w):j()),be.reset()),w}function Ye(w,j,H,Z){const{scrollBehavior:fe}=e;if(!En||!fe)return Promise.resolve();const _e=!H&&Ah(os(w.fullPath,0))||(Z||!H)&&history.state&&history.state.scroll||null;return Qt().then(()=>fe(w,j,_e)).then(v=>v&&Eh(v)).catch(v=>K(v,w,j))}const ee=w=>r.go(w);let z;const G=new Set,ne={currentRoute:o,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:_,getRoutes:b,resolve:k,options:e,push:A,replace:O,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,onError:Y.add,isReady:Le,install(w){const j=this;w.component("RouterLink",Qh),w.component("RouterView",ev),w.config.globalProperties.$router=j,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>lt(o)}),En&&!z&&o.value===xt&&(z=!0,A(r.location).catch(fe=>{}));const H={};for(const fe in xt)Object.defineProperty(H,fe,{get:()=>o.value[fe],enumerable:!0});w.provide(Ar,j),w.provide(ti,go(H)),w.provide(ma,o);const Z=w.unmount;G.add(w),w.unmount=function(){G.delete(w),G.size<1&&(c=xt,re&&re(),re=null,o.value=xt,z=!1,ie=!1),Z()}}};function X(w){return w.reduce((j,H)=>j.then(()=>J(H)),Promise.resolve())}return ne}function nv(e,t){const n=[],l=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;iHn(c,s))?l.push(s):n.push(s));const o=e.matched[i];o&&(t.matched.find(c=>Hn(c,o))||r.push(o))}return[n,l,r]}function yn(){return Me(Ar)}function Jt(e){return Me(ti)}var ni=Symbol(""),Ct=()=>{const e=Me(ni);if(!e)throw new Error("useClientData() is called without provider.");return e},lv=()=>Ct().pageComponent,Te=()=>Ct().pageData,Se=()=>Ct().pageFrontmatter,rv=()=>Ct().pageHead,li=()=>Ct().pageLang,av=()=>Ct().pageLayout,Xt=()=>Ct().routeLocale,bc=()=>Ct().routes,kc=()=>Ct().siteData,Lr=()=>Ct().siteLocaleData,iv=Symbol(""),ya=De(Jp),ml=De(Xp),wc=e=>{const t=Kp(e);if(ml.value[t])return t;const n=encodeURI(t);return ml.value[n]?n:ya.value[t]||ya.value[n]||t},xr=e=>{const t=wc(e),n=ml.value[t]??{...ml.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Tr=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return we(()=>{n.value=!0}),()=>{var l,r;return n.value?(r=(l=t.slots).default)==null?void 0:r.call(l):null}}}),Ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=lv(),n=x(()=>{if(!e.path)return t.value;const l=xr(e.path);return gf(()=>l.loader().then(({comp:r})=>r))});return()=>d(n.value)}}),et=(e={})=>e,Ke=e=>mn(e)?e:`/${oc(e)}`,sv=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},Je=({active:e=!1,activeClass:t="route-link-active",to:n,...l},{slots:r})=>{var o;const a=yn(),i=wc(n),s=i.startsWith("#")||i.startsWith("?")?i:Ke(i);return d("a",{...l,class:["route-link",{[t]:e}],href:s,onClick:(c={})=>{sv(c)?a.push(n).catch():Promise.resolve()}},(o=r.default)==null?void 0:o.call(r))};Je.displayName="RouteLink";Je.props={active:Boolean,activeClass:String,to:String};var ov="Layout",cv="en-US",rn=Cl({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const l=Oe(t.description)?t.description:n.description,r=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:l}]];return zp(r)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||cv,resolvePageLayout:(e,t)=>{const n=Oe(e.frontmatter.layout)?e.frontmatter.layout:ov;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Gp(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const uv={},Pl=e=>{const t=Xt();return x(()=>e[t.value]??{})},dv=()=>{const e=bc();return x(()=>Object.keys(e.value))};var qe=Uint8Array,An=Uint16Array,fv=Int32Array,Cc=new qe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ac=new qe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),pv=new qe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Lc=function(e,t){for(var n=new An(31),l=0;l<31;++l)n[l]=t+=1<>1|(Ae&21845)<<1;Ft=(Ft&52428)>>2|(Ft&13107)<<2,Ft=(Ft&61680)>>4|(Ft&3855)<<4,_a[Ae]=((Ft&65280)>>8|(Ft&255)<<8)>>1}var ol=function(e,t,n){for(var l=e.length,r=0,a=new An(t);r>o]=c}else for(s=new An(l),r=0;r>15-e[r]);return s},Rl=new qe(288);for(var Ae=0;Ae<144;++Ae)Rl[Ae]=8;for(var Ae=144;Ae<256;++Ae)Rl[Ae]=9;for(var Ae=256;Ae<280;++Ae)Rl[Ae]=7;for(var Ae=280;Ae<288;++Ae)Rl[Ae]=8;var Sc=new qe(32);for(var Ae=0;Ae<32;++Ae)Sc[Ae]=5;var mv=ol(Rl,9,1),yv=ol(Sc,5,1),Wr=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ht=function(e,t,n){var l=t/8|0;return(e[l]|e[l+1]<<8)>>(t&7)&n},Kr=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},_v=function(e){return(e+7)/8|0},ri=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new qe(e.subarray(t,n))},bv=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],st=function(e,t,n){var l=new Error(t||bv[e]);if(l.code=e,Error.captureStackTrace&&Error.captureStackTrace(l,st),!n)throw l;return l},kv=function(e,t,n,l){var r=e.length,a=l?l.length:0;if(!r||t.f&&!t.l)return n||new qe(0);var i=!n,s=i||t.i!=2,o=t.i;i&&(n=new qe(r*3));var c=function(fe){var _e=n.length;if(fe>_e){var v=new qe(Math.max(_e*2,fe));v.set(n),n=v}},u=t.f||0,f=t.p||0,p=t.b||0,h=t.l,g=t.d,b=t.m,_=t.n,k=r*8;do{if(!h){u=ht(e,f,1);var C=ht(e,f+1,3);if(f+=3,C)if(C==1)h=mv,g=yv,b=9,_=5;else if(C==2){var L=ht(e,f,31)+257,N=ht(e,f+10,15)+4,P=L+ht(e,f+5,31)+1;f+=14;for(var J=new qe(P),I=new qe(19),q=0;q>4;if(y<16)J[q++]=y;else{var Y=0,ie=0;for(y==16?(ie=3+ht(e,f,3),f+=2,Y=J[q-1]):y==17?(ie=3+ht(e,f,7),f+=3):y==18&&(ie=11+ht(e,f,127),f+=7);ie--;)J[q++]=Y}}var K=J.subarray(0,L),Le=J.subarray(L);b=Wr(K),_=Wr(Le),h=ol(K,b,1),g=ol(Le,_,1)}else st(1);else{var y=_v(f)+4,A=e[y-4]|e[y-3]<<8,O=y+A;if(O>r){o&&st(0);break}s&&c(p+A),n.set(e.subarray(y,O),p),t.b=p+=A,t.p=f=O*8,t.f=u;continue}if(f>k){o&&st(0);break}}s&&c(p+131072);for(var rt=(1<>4;if(f+=Y&15,f>k){o&&st(0);break}if(Y||st(2),z<256)n[p++]=z;else if(z==256){ee=f,h=null;break}else{var G=z-254;if(z>264){var q=z-257,ne=Cc[q];G=ht(e,f,(1<>4;X||st(3),f+=X&15;var Le=gv[w];if(w>3){var ne=Ac[w];Le+=Kr(e,f)&(1<k){o&&st(0);break}s&&c(p+131072);var j=p+G;if(p>4>7||(e[0]<<8|e[1])%31)&&st(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&st(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Cv(e,t){return kv(e.subarray(Ev(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ws=typeof TextEncoder<"u"&&new TextEncoder,ba=typeof TextDecoder<"u"&&new TextDecoder,Av=0;try{ba.decode(wv,{stream:!0}),Av=1}catch{}var Lv=function(e){for(var t="",n=0;;){var l=e[n++],r=(l>127)+(l>223)+(l>239);if(n+r>e.length)return{s:t,r:ri(e,n-1)};r?r==3?(l=((l&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|l>>10,56320|l&1023)):r&1?t+=String.fromCharCode((l&31)<<6|e[n++]&63):t+=String.fromCharCode((l&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(l)}};function xv(e,t){if(t){for(var n=new qe(e.length),l=0;l>1)),i=0,s=function(u){a[i++]=u},l=0;la.length){var o=new qe(i+8+(r-l<<1));o.set(a),a=o}var c=e.charCodeAt(l);c<128||t?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++l)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return ri(a,0,i)}function Tv(e,t){if(t){for(var n="",l=0;l{const t=atob(e);return Tv(Cv(xv(t,!0)))},dt=(e,t)=>{var l;const n=(l=(t==null?void 0:t._instance)||Nl())==null?void 0:l.appContext.components;return n?e in n||ft(e)in n||El(ft(e))in n:!1},Nc=e=>new Promise(t=>setTimeout(t,e)),Ic=e=>typeof e<"u",Gr=e=>typeof e=="number",wa=Array.isArray,Vn=(e,t)=>Oe(e)&&e.startsWith(t),Sv=(e,t)=>Oe(e)&&e.endsWith(t),Oc=Object.entries,Zt=Object.keys,Nv=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},ai=e=>Vn(e,"/");function ii(e,t){let n,l,r;const a=Q(!0),i=()=>{a.value=!0,r()};ve(e,i,{flush:"sync"});const s=typeof t=="function"?t:t.get,o=typeof t=="function"?void 0:t.set,c=za((u,f)=>(l=u,r=f,{get(){return a.value&&(n=s(),a.value=!1),l(),n},set(p){o==null||o(p)}}));return Object.isExtensible(c)&&(c.trigger=i),c}function Wn(e){return lo()?(wd(e),!0):!1}function Be(e){return typeof e=="function"?e():lt(e)}const Fl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Iv=Object.prototype.toString,Ov=e=>Iv.call(e)==="[object Object]",pn=()=>{},Es=Pv();function Pv(){var e,t;return Fl&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function si(e,t){function n(...l){return new Promise((r,a)=>{Promise.resolve(e(()=>t.apply(this,l),{fn:t,thisArg:this,args:l})).then(r).catch(a)})}return n}const Pc=e=>e();function Rv(e,t={}){let n,l,r=pn;const a=s=>{clearTimeout(s),r(),r=pn};return s=>{const o=Be(e),c=Be(t.maxWait);return n&&a(n),o<=0||c!==void 0&&c<=0?(l&&(a(l),l=null),Promise.resolve(s())):new Promise((u,f)=>{r=t.rejectOnCancel?f:u,c&&!l&&(l=setTimeout(()=>{n&&a(n),l=null,u(s())},c)),n=setTimeout(()=>{l&&a(l),l=null,u(s())},o)})}}function Fv(...e){let t=0,n,l=!0,r=pn,a,i,s,o,c;!Fe(e[0])&&typeof e[0]=="object"?{delay:i,trailing:s=!0,leading:o=!0,rejectOnCancel:c=!1}=e[0]:[i,s=!0,o=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,r(),r=pn)};return p=>{const h=Be(i),g=Date.now()-t,b=()=>a=p();return u(),h<=0?(t=Date.now(),b()):(g>h&&(o||!l)?(t=Date.now(),b()):s&&(a=new Promise((_,k)=>{r=c?k:_,n=setTimeout(()=>{t=Date.now(),l=!0,_(b()),u()},Math.max(0,h-g))})),!o&&!n&&(n=setTimeout(()=>l=!0,h)),l=!1,a)}}function $v(e=Pc){const t=Q(!0);function n(){t.value=!1}function l(){t.value=!0}const r=(...a)=>{t.value&&e(...a)};return{isActive:Al(t),pause:n,resume:l,eventFilter:r}}function Mv(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const l=t;t=void 0,l&&await l},n}function Rc(e){return e||Nl()}function Dv(...e){if(e.length!==1)return mr(...e);const t=e[0];return typeof t=="function"?Al(za(()=>({get:t,set:pn}))):Q(t)}function Fc(e,t=200,n={}){return si(Rv(t,n),e)}function jv(e,t=200,n=!1,l=!0,r=!1){return si(Fv(t,n,l,r),e)}function Hv(e,t,n={}){const{eventFilter:l=Pc,...r}=n;return ve(e,si(l,t),r)}function Bv(e,t,n={}){const{eventFilter:l,...r}=n,{eventFilter:a,pause:i,resume:s,isActive:o}=$v(l);return{stop:Hv(e,t,{...r,eventFilter:a}),pause:i,resume:s,isActive:o}}function Sr(e,t=!0,n){Rc()?we(e,n):t?e():Qt(e)}function Vv(e,t){Rc(t)&&gn(e,t)}function Uv(e,t,n={}){const{immediate:l=!0}=n,r=Q(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function s(){r.value=!1,i()}function o(...c){i(),r.value=!0,a=setTimeout(()=>{r.value=!1,a=null,e(...c)},Be(t))}return l&&(r.value=!0,Fl&&o()),Wn(s),{isPending:Al(r),start:o,stop:s}}function yl(e=!1,t={}){const{truthyValue:n=!0,falsyValue:l=!1}=t,r=Fe(e),a=Q(e);function i(s){if(arguments.length)return a.value=s,a.value;{const o=Be(n);return a.value=a.value===o?Be(l):o,a.value}}return r?i:[a,i]}function Tt(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Nt=Fl?window:void 0,$c=Fl?window.document:void 0,Mc=Fl?window.navigator:void 0;function $e(...e){let t,n,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,l,r]=e,t=Nt):[t,n,l,r]=e,!t)return pn;Array.isArray(n)||(n=[n]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(u=>u()),a.length=0},s=(u,f,p,h)=>(u.addEventListener(f,p,h),()=>u.removeEventListener(f,p,h)),o=ve(()=>[Tt(t),Be(r)],([u,f])=>{if(i(),!u)return;const p=Ov(f)?{...f}:f;a.push(...n.flatMap(h=>l.map(g=>s(u,h,g,p))))},{immediate:!0,flush:"post"}),c=()=>{o(),i()};return Wn(c),c}function zv(){const e=Q(!1),t=Nl();return t&&we(()=>{e.value=!0},t),e}function $l(e){const t=zv();return x(()=>(t.value,!!e()))}function Dc(e,t={}){const{window:n=Nt}=t,l=$l(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const a=Q(!1),i=c=>{a.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",i):r.removeListener(i))},o=So(()=>{l.value&&(s(),r=n.matchMedia(Be(e)),"addEventListener"in r?r.addEventListener("change",i):r.addListener(i),a.value=r.matches)});return Wn(()=>{o(),s(),r=void 0}),a}function Cs(e,t={}){const{controls:n=!1,navigator:l=Mc}=t,r=$l(()=>l&&"permissions"in l);let a;const i=typeof e=="string"?{name:e}:e,s=Q(),o=()=>{a&&(s.value=a.state)},c=Mv(async()=>{if(r.value){if(!a)try{a=await l.permissions.query(i),$e(a,"change",o),o()}catch{s.value="prompt"}return a}});return c(),n?{state:s,isSupported:r,query:c}:s}function qv(e={}){const{navigator:t=Mc,read:n=!1,source:l,copiedDuring:r=1500,legacy:a=!1}=e,i=$l(()=>t&&"clipboard"in t),s=Cs("clipboard-read"),o=Cs("clipboard-write"),c=x(()=>i.value||a),u=Q(""),f=Q(!1),p=Uv(()=>f.value=!1,r);function h(){i.value&&k(s.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=_()}c.value&&n&&$e(["copy","cut"],h);async function g(C=Be(l)){c.value&&C!=null&&(i.value&&k(o.value)?await t.clipboard.writeText(C):b(C),u.value=C,f.value=!0,p.start())}function b(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function _(){var C,y,A;return(A=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?A:""}function k(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:f,copy:g}}const Gl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Yl="__vueuse_ssr_handlers__",Wv=Kv();function Kv(){return Yl in Gl||(Gl[Yl]=Gl[Yl]||{}),Gl[Yl]}function Gv(e,t){return Wv[e]||t}function Yv(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"}const Qv={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()}},As="vueuse-storage";function Kn(e,t,n,l={}){var r;const{flush:a="pre",deep:i=!0,listenToStorageChanges:s=!0,writeDefaults:o=!0,mergeDefaults:c=!1,shallow:u,window:f=Nt,eventFilter:p,onError:h=I=>{console.error(I)},initOnMounted:g}=l,b=(u?De:Q)(typeof t=="function"?t():t);if(!n)try{n=Gv("getDefaultStorage",()=>{var I;return(I=Nt)==null?void 0:I.localStorage})()}catch(I){h(I)}if(!n)return b;const _=Be(t),k=Yv(_),C=(r=l.serializer)!=null?r:Qv[k],{pause:y,resume:A}=Bv(b,()=>L(b.value),{flush:a,deep:i,eventFilter:p});f&&s&&Sr(()=>{$e(f,"storage",P),$e(f,As,J),g&&P()}),g||P();function O(I,q){f&&f.dispatchEvent(new CustomEvent(As,{detail:{key:e,oldValue:I,newValue:q,storageArea:n}}))}function L(I){try{const q=n.getItem(e);if(I==null)O(q,null),n.removeItem(e);else{const $=C.write(I);q!==$&&(n.setItem(e,$),O(q,$))}}catch(q){h(q)}}function N(I){const q=I?I.newValue:n.getItem(e);if(q==null)return o&&_!=null&&n.setItem(e,C.write(_)),_;if(!I&&c){const $=C.read(q);return typeof c=="function"?c($,_):k==="object"&&!Array.isArray($)?{..._,...$}:$}else return typeof q!="string"?q:C.read(q)}function P(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){b.value=_;return}if(!(I&&I.key!==e)){y();try{(I==null?void 0:I.newValue)!==C.write(b.value)&&(b.value=N(I))}catch(q){h(q)}finally{I?Qt(A):A()}}}}function J(I){P(I.detail)}return b}function Jv(e){return Dc("(prefers-color-scheme: dark)",e)}function Xv(e,t,n={}){const{window:l=Nt,...r}=n;let a;const i=$l(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},o=x(()=>Array.isArray(e)?e.map(f=>Tt(f)):[Tt(e)]),c=ve(o,f=>{if(s(),i.value&&l){a=new ResizeObserver(t);for(const p of f)p&&a.observe(p,r)}},{immediate:!0,flush:"post"}),u=()=>{s(),c()};return Wn(u),{isSupported:i,stop:u}}function Zv(e,t={width:0,height:0},n={}){const{window:l=Nt,box:r="content-box"}=n,a=x(()=>{var f,p;return(p=(f=Tt(e))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),i=Q(t.width),s=Q(t.height),{stop:o}=Xv(e,([f])=>{const p=r==="border-box"?f.borderBoxSize:r==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(l&&a.value){const h=Tt(e);if(h){const g=l.getComputedStyle(h);i.value=Number.parseFloat(g.width),s.value=Number.parseFloat(g.height)}}else if(p){const h=Array.isArray(p)?p:[p];i.value=h.reduce((g,{inlineSize:b})=>g+b,0),s.value=h.reduce((g,{blockSize:b})=>g+b,0)}else i.value=f.contentRect.width,s.value=f.contentRect.height},n);Sr(()=>{const f=Tt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=ve(()=>Tt(e),f=>{i.value=f?t.width:0,s.value=f?t.height:0});function u(){o(),c()}return{width:i,height:s,stop:u}}const Ls=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function oi(e,t={}){const{document:n=$c,autoExit:l=!1}=t,r=x(()=>{var k;return(k=Tt(e))!=null?k:n==null?void 0:n.querySelector("html")}),a=Q(!1),i=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),s=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(k=>n&&k in n||r.value&&k in r.value)),o=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(k=>n&&k in n||r.value&&k in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(k=>n&&k in n),u=$l(()=>r.value&&n&&i.value!==void 0&&s.value!==void 0&&o.value!==void 0),f=()=>c?(n==null?void 0:n[c])===r.value:!1,p=()=>{if(o.value){if(n&&n[o.value]!=null)return n[o.value];{const k=r.value;if((k==null?void 0:k[o.value])!=null)return!!k[o.value]}}return!1};async function h(){if(!(!u.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const k=r.value;(k==null?void 0:k[s.value])!=null&&await k[s.value]()}a.value=!1}}async function g(){if(!u.value||a.value)return;p()&&await h();const k=r.value;i.value&&(k==null?void 0:k[i.value])!=null&&(await k[i.value](),a.value=!0)}async function b(){await(a.value?h():g())}const _=()=>{const k=p();(!k||k&&f())&&(a.value=k)};return $e(n,Ls,_,!1),$e(()=>Tt(r),Ls,_,!1),l&&Wn(h),{isSupported:u,isFullscreen:a,enter:g,exit:h,toggle:b}}function Yr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Qr(e,t=pn,n={}){const{immediate:l=!0,manual:r=!1,type:a="text/javascript",async:i=!0,crossOrigin:s,referrerPolicy:o,noModule:c,defer:u,document:f=$c,attrs:p={}}=n,h=Q(null);let g=null;const b=C=>new Promise((y,A)=>{const O=P=>(h.value=P,y(P),P);if(!f){y(!1);return}let L=!1,N=f.querySelector(`script[src="${Be(e)}"]`);N?N.hasAttribute("data-loaded")&&O(N):(N=f.createElement("script"),N.type=a,N.async=i,N.src=Be(e),u&&(N.defer=u),s&&(N.crossOrigin=s),c&&(N.noModule=c),o&&(N.referrerPolicy=o),Object.entries(p).forEach(([P,J])=>N==null?void 0:N.setAttribute(P,J)),L=!0),N.addEventListener("error",P=>A(P)),N.addEventListener("abort",P=>A(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),O(N)}),L&&(N=f.head.appendChild(N)),C||O(N)}),_=(C=!0)=>(g||(g=b(C)),g),k=()=>{if(!f)return;g=null,h.value&&(h.value=null);const C=f.querySelector(`script[src="${Be(e)}"]`);C&&f.head.removeChild(C)};return l&&!r&&Sr(_),r||Vv(k),{scriptTag:h,load:_,unload:k}}function jc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ql=new WeakMap;function Hc(e,t=!1){const n=Q(t);let l=null;ve(Dv(e),i=>{const s=Yr(Be(i));if(s){const o=s;Ql.get(o)||Ql.set(o,o.style.overflow),n.value&&(o.style.overflow="hidden")}},{immediate:!0});const r=()=>{const i=Yr(Be(e));!i||n.value||(Es&&(l=$e(i,"touchmove",s=>{eg(s)},{passive:!1})),i.style.overflow="hidden",n.value=!0)},a=()=>{var i;const s=Yr(Be(e));!s||!n.value||(Es&&(l==null||l()),s.style.overflow=(i=Ql.get(s))!=null?i:"",Ql.delete(s),n.value=!1)};return Wn(a),x({get(){return n.value},set(i){i?r():a()}})}function Bc(e,t,n={}){const{window:l=Nt}=n;return Kn(e,t,l==null?void 0:l.sessionStorage,n)}function tg(e={}){const{window:t=Nt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const l=Q(t.scrollX),r=Q(t.scrollY),a=x({get(){return l.value},set(s){scrollTo({left:s,behavior:n})}}),i=x({get(){return r.value},set(s){scrollTo({top:s,behavior:n})}});return $e(t,"scroll",()=>{l.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:i}}function ng(e={}){const{window:t=Nt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:l=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:a=!0}=e,i=Q(n),s=Q(l),o=()=>{t&&(a?(i.value=t.innerWidth,s.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(o(),Sr(o),$e("resize",o,{passive:!0}),r){const c=Dc("(orientation: portrait)");ve(c,()=>o())}return{width:i,height:s}}var lg=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const l=["font-icon icon"],r=`fas fa-${e.icon}`;return l.push("fa-fw fa-sm"),l.push(e.icon.includes(" ")?e.icon:r),l}),n=x(()=>{const l={};return e.color&&(l.color=e.color),e.size&&(l["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),Zt(l).length?l:null});return()=>e.icon?d("span",{key:e.icon,class:t.value,style:n.value}):null}});const Vc=({type:e="info",text:t="",vertical:n,color:l},{slots:r})=>{var a;return d("span",{class:["vp-badge",e,{diy:l}],style:{verticalAlign:n??!1,backgroundColor:l??!1}},((a=r.default)==null?void 0:a.call(r))||t)};Vc.displayName="Badge";const Uc=({title:e,desc:t="",logo:n,background:l,color:r,link:a})=>{const i=[n?d("img",{class:"vp-card-logo",src:Ke(n),loading:"lazy","no-view":""}):null,d("div",{class:"vp-card-content"},[d("div",{class:"vp-card-title",innerHTML:e}),d("hr"),d("div",{class:"vp-card-desc",innerHTML:t})])],s={};return l&&(s.background=l),r&&(s.color=r),a?jn(a)?d("a",{class:"vp-card",href:a,target:"_blank",style:s},i):d(Je,{to:a,class:"vp-card",style:s},()=>i):d("div",{class:"vp-card",style:s},i)};Uc.displayName="VPCard";const rg=et({enhance:({app:e})=>{dt("FontIcon")||e.component("FontIcon",lg),dt("Badge")||e.component("Badge",Vc),dt("VPCard")||e.component("VPCard",Uc)},setup:()=>{Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Qr("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),xs=async(e,t)=>{const{path:n,query:l}=e.currentRoute.value,{scrollBehavior:r}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:l,hash:t}),e.options.scrollBehavior=r},ag=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:l=5})=>{const r=yn();$e("scroll",Fc(()=>{var g,b;const i=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(i-0)f.some(k=>k.hash===_.hash));for(let _=0;_=(((g=k.parentElement)==null?void 0:g.offsetTop)??0)-l,A=!C||i<(((b=C.parentElement)==null?void 0:b.offsetTop)??0)-l;if(!(y&&A))continue;const L=decodeURIComponent(r.currentRoute.value.hash),N=decodeURIComponent(k.hash);if(L===N)return;if(u){for(let P=_+1;POe(e.title)?{title:e.title}:null;const qc=Symbol(""),dg=e=>{zc=e},fg=()=>Me(qc),pg=e=>{e.provide(qc,zc)};var hg={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const vg=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=fg(),n=Pl(hg),l=Te(),r=bc(),a=kc(),s=De(Oc(r.value).map(([c,{meta:u}])=>{const f=t(u);if(!f)return null;const p=c.split("/").length;return{level:Sv(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...f}}).filter(c=>qn(c)&&Oe(c.title))),o=x(()=>{const c=e.base?qp(ic(e.base)):l.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,f=[];return s.value.filter(({level:p,path:h})=>{if(!Vn(h,c)||h===c)return!1;if(c==="/"){const g=Zt(a.value.locales).filter(b=>b!=="/");if(h==="/404.html"||g.some(b=>Vn(h,b)))return!1}return p-u<=e.level}).sort(({title:p,level:h,order:g},{title:b,level:_,order:k})=>{const C=h-_;return C||(Gr(g)?Gr(k)?g>0?k>0?g-k:-1:k<0?g-k:1:g:Gr(k)?k:p.localeCompare(b))}).forEach(p=>{var b;const{base:h,level:g}=p;switch(g-u){case 1:{f.push(p);break}case 2:{const _=f.find(k=>k.path===h);_&&(_.children??(_.children=[])).push(p);break}default:{const _=f.find(k=>k.path===h.replace(/\/[^/]+\/$/,"/"));if(_){const k=(b=_.children)==null?void 0:b.find(C=>C.path===h);k&&(k.children??(k.children=[])).push(p)}}}}),f});return()=>{const c=o.value.some(u=>u.children);return d("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:d("h2",{class:"vp-catalog-main-title"},n.value.title),o.value.length?d(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},o.value.map(({children:u=[],title:f,path:p,content:h})=>{const g=d(Je,{class:"vp-catalog-title",to:p},()=>h?d(h):f);return d("li",{class:"vp-catalog"},c?[d("h3",{id:f,class:["vp-catalog-child-title",{"has-children":u.length}]},[d("a",{href:`#${f}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?d(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:b=[],content:_,path:k,title:C})=>d("li",{class:"vp-child-catalog"},[d("div",{class:["vp-catalog-sub-title",{"has-children":b.length}]},[d("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),d(Je,{class:"vp-catalog-title",to:k},()=>_?d(_):C)]),b.length?d(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},b.map(({content:y,path:A,title:O})=>e.index?d("li",{class:"vp-sub-catalog"},d(Je,{to:A},()=>y?d(y):O)):d(Je,{class:"vp-sub-catalog-link",to:A},()=>y?d(y):O))):null]))):null]:d("div",{class:"vp-catalog-child-title"},g))})):d("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),gg=et({enhance:({app:e})=>{pg(e),dt("Catalog",e)||e.component("Catalog",vg)}});var mg={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const yg=U({name:"BackToTop",setup(e){const t=Se(),n=Pl(mg),l=De(),{height:r}=Zv(l),{height:a}=ng(),{y:i}=tg(),s=x(()=>t.value.backToTop!==!1&&i.value>100),o=x(()=>i.value/(r.value-a.value)*100);return we(()=>{l.value=document.body}),()=>d(Yt,{name:"back-to-top"},()=>s.value?d("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[d("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":o.value},d("svg",d("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*o.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),d("div",{class:"back-to-top-icon"})]):null)}}),_g=et({rootComponents:[yg]}),bg=d("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"},[d("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"}),d("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"})]),Wc=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Xt(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>d("span",[bg,d("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var kg={};const wg=kg,Eg=et({enhance({app:e}){e.component("ExternalLinkIcon",d(Wc,{locales:wg}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const pe={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=pe.isStarted();e=Jr(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),l=n.querySelector(pe.settings.barSelector),r=pe.settings.speed,a=pe.settings.easing;return n.offsetWidth,Cg(i=>{Jl(l,{transform:"translate3d("+Ts(e)+"%,0,0)",transition:"all "+r+"ms "+a}),e===1?(Jl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Jl(n,{transition:"all "+r+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),i()},r)},r)):setTimeout(()=>i(),r)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Jr(Math.random()*t,.1,.95)),t=Jr(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ss(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),l=e?"-100":Ts(pe.status||0),r=document.querySelector(pe.settings.parent);return Jl(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r!==document.body&&Ss(r,"nprogress-custom-parent"),r==null||r.appendChild(t),t},remove:()=>{Ns(document.documentElement,"nprogress-busy"),Ns(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Ag(e)},isRendered:()=>!!document.getElementById("nprogress")},Jr=(e,t,n)=>en?n:e,Ts=e=>(-1+e)*100,Cg=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Jl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,o){return o.toUpperCase()})}function l(i){const s=document.body.style;if(i in s)return i;let o=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;o--;)if(u=e[o]+c,u in s)return u;return i}function r(i){return i=n(i),t[i]??(t[i]=l(i))}function a(i,s,o){s=r(s),i.style[s]=o}return function(i,s){for(const o in s){const c=s[o];c!==void 0&&Object.prototype.hasOwnProperty.call(s,o)&&a(i,o,c)}}}(),Gc=(e,t)=>(typeof e=="string"?e:ci(e)).indexOf(" "+t+" ")>=0,Ss=(e,t)=>{const n=ci(e),l=n+t;Gc(n,t)||(e.className=l.substring(1))},Ns=(e,t)=>{const n=ci(e);if(!Gc(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},ci=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Ag=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Lg=()=>{we(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},xg=et({setup(){Lg()}}),Tg=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$yeSQjEENCToxtMItjXzlaeFMQj3rGGIGf8t1exZundWWYxfPX6dKq"]}},"locales":{"/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":"在 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":"Deploy","link":"/en/deploy/","prefix":"deploy/"},{"text":"Usage","link":"/en/usage/","prefix":"usage/"},{"text":"Extensions","link":"/en/store/","prefix":"store/"},{"text":"Contribute","link":"/en/dev/","prefix":"dev/"}],"sidebar":{"/en/deploy/":"structure","/en/usage/":"structure","/en/store/":"structure","/en/dev/":"structure"},"author":{"name":"SnowyKami","url":"https://sfkm.me"}},"/":{"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":["/",{"text":"安装及部署","link":"/deploy/","prefix":"deploy/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/deploy/":"structure","/usage/":"structure","/store/":"structure","/dev/":"structure"},"author":{"name":"远野千束","url":"https://sfkm.me"}}},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/LiteyukiStudio/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true}`),Sg=Q(Tg),Kc=()=>Sg,Yc=Symbol(""),Ng=()=>{const e=Me(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Ig=(e,t)=>{const{locales:n,...l}=e;return{...l,...n==null?void 0:n[t]}},Og=et({enhance({app:e}){const t=Kc(),n=e._context.provides[ni],l=x(()=>Ig(t.value,n.routeLocale.value));e.provide(Yc,l),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return l.value}}})}});var Pg={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const Rg=Pg;let Fg=Rg;const Qc=Symbol(""),Jc=()=>Me(Qc),$g=Jc,Mg=e=>{e.provide(Qc,Fg)},Xc=()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[d("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},d("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},d("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},d("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xc.displayName="LoadingIcon";const Is=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],Dg=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=$g(),n=li(),l=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:r,repoId:a,category:i,categoryId:s}=t,o=Q(!1),c=x(()=>{if(Is.includes(n.value))return n.value;const f=n.value.split("-")[0];return Is.includes(f)?f:"en"}),u=x(()=>({repo:r,repoId:a,category:i,categoryId:s,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await F(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),o.value=!0}),()=>l?d("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},o.value?d("giscus-widget",u.value):d(Xc)):null}}),jg=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Jc(),n=Te(),l=Se(),r=t.comment!==!1,a=x(()=>l.value.comment||r&&l.value.comment!==!1);return()=>d(Dg,{id:"vp-comment",identifier:l.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),Hg=et({enhance:({app:e})=>{Mg(e),e.component("CommentService",jg)}}),Bg=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Vg=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Bg.test(navigator.userAgent),Ug=({delay:e=500,duration:t=2e3,locales:n,selector:l,showInMobile:r})=>{const{copy:a,copied:i}=qv({legacy:!0,copiedDuring:t}),s=Pl(n),o=Te(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='
',h.setAttribute("aria-label",s.value.copy),h.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Qt().then(()=>Nc(e)).then(()=>{l.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},f=(p,h,g)=>{let{innerText:b=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(b=b.replace(/^ *(\$|>) /gm,"")),a(b).then(()=>{g.classList.add("copied"),ve(i,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};we(()=>{const p=!Vg()||r;p&&u(),$e("click",h=>{const g=h.target;if(g.matches('div[class*="language-"] > button.copy')){const b=g.parentElement,_=g.nextElementSibling;_&&f(b,_,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const b=g.parentElement,_=b.parentElement,k=b.nextElementSibling;k&&f(_,k,b)}}),ve(()=>o.value.path,()=>{p&&u()})})};var zg={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},qg=['.theme-hope-content div[class*="language-"] pre'];const Wg=500,Gg=2e3,Kg=zg,Yg=qg,Qg=!1,Jg=et({setup:()=>{Ug({selector:Yg,locales:Kg,duration:Gg,delay:Wg,showInMobile:Qg})}}),Xl=Gn("VUEPRESS_CODE_TAB_STORE",{});var Xg=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),l=De([]),r=()=>{e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xl.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>Xl.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-code-tabs"},[d("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,r()},onKeydown:p=>s(p,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const Zc=({active:e=!1},{slots:t})=>{var n;return d("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zc.displayName="CodeGroupItem";const Zg=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),l=De([]),r=(s=n.value)=>{n.value=s{n.value=s>0?s-1:l.value.length-1,l.value[n.value].focus()},i=(s,o)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=o):s.key==="ArrowRight"?(s.preventDefault(),r(o)):s.key==="ArrowLeft"&&(s.preventDefault(),a(o))};return()=>{var o;const s=(((o=t.default)==null?void 0:o.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,u)=>{c.props.active=u===n.value}),d("div",{class:"code-group"},[d("div",{class:"code-group-nav"},s.map((c,u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["code-group-nav-tab",{active:f}],"aria-pressed":f,"aria-expanded":f,onClick:()=>{n.value=u},onKeydown:p=>i(p,u)},c.props.title)})),s]))}}}),Ne=({name:e="",color:t="currentColor"},{slots:n})=>{var l;return d("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(l=n.default)==null?void 0:l.call(n))};Ne.displayName="IconBase";const ui=({size:e=48,stroke:t=4,wrapper:n=!0,height:l=2*e})=>{const r=d("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[d("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),d("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[d("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),d("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?d("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${l}px`},r):r};ui.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>d(Ne,{name:"github"},()=>d("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"}));tu.displayName="GitHubIcon";const nu=()=>d(Ne,{name:"gitlab"},()=>d("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"}));nu.displayName="GitLabIcon";const lu=()=>d(Ne,{name:"gitee"},()=>d("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"}));lu.displayName="GiteeIcon";const ru=()=>d(Ne,{name:"bitbucket"},()=>d("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"}));ru.displayName="BitbucketIcon";const au=()=>d(Ne,{name:"source"},()=>d("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"}));au.displayName="SourceIcon";const iu=(e,t)=>{let n=1;for(let l=0;l>6;return n+=n<<3,n^=n>>11,n%t},su=/#.*$/u,em=e=>{const t=su.exec(e);return t?t[0]:""},Os=e=>decodeURI(e).replace(su,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),ou=(e,t)=>{if(!Ic(t))return!1;const n=Os(e.path),l=Os(t),r=em(t);return r?r===e.hash&&(!l||n===l):n===l},tm=e=>mn(e)?e:`https://github.com/${e}`,cu=e=>!mn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var nm=e=>Object.prototype.toString.call(e)==="[object Object]",_l=e=>typeof e=="string";const uu=Array.isArray,Ps=e=>nm(e)&&_l(e.name),Rs=(e,t=!1)=>e?uu(e)?e.map(n=>_l(n)?{name:n}:Ps(n)?n:null).filter(n=>n!==null):_l(e)?[{name:e}]:Ps(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],du=(e,t)=>{if(e){if(uu(e)&&e.every(_l))return e;if(_l(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},lm=e=>du(e,"category"),rm=e=>du(e,"tag"),am='',im='';var sm={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Xr=sm,Fs={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},om=(e,t,n)=>{const l=document.createElement(e);return qn(t)&&Zt(t).forEach(r=>{if(r.indexOf("data"))l[r]=t[r];else{const a=r.replace("data","");l.dataset[a]=t[r]}}),n&&n.forEach(r=>{l.appendChild(r)}),l},di=e=>({...Xr,...e,jsLib:Array.from(new Set([...Xr.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Xr.cssLib||[],...e.cssLib||[]]))}),Pn=(e,t)=>{if(Ic(e[t]))return e[t];const n=new Promise(l=>{var a;const r=document.createElement("script");r.src=t,(a=document.querySelector("body"))==null||a.appendChild(r),r.onload=()=>{l()}});return e[t]=n,n},cm=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=om("style",{innerHTML:t.css});e.appendChild(n)}},um=(e,t,n)=>{const l=n.getScript();if(l&&Array.from(t.childNodes).every(r=>r.nodeName!=="SCRIPT")){const r=document.createElement("script");r.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const pe={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=pe.isStarted();e=Jr(e,pe.settings.minimum,1),pe.status=e===1?null:e;const n=pe.render(!t),l=n.querySelector(pe.settings.barSelector),r=pe.settings.speed,a=pe.settings.easing;return n.offsetWidth,Cg(i=>{Jl(l,{transform:"translate3d("+Ts(e)+"%,0,0)",transition:"all "+r+"ms "+a}),e===1?(Jl(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Jl(n,{transition:"all "+r+"ms linear",opacity:"0"}),setTimeout(function(){pe.remove(),i()},r)},r)):setTimeout(()=>i(),r)}),pe},isStarted:()=>typeof pe.status=="number",start:()=>{pe.status||pe.set(0);const e=()=>{setTimeout(()=>{pe.status&&(pe.trickle(),e())},pe.settings.trickleSpeed)};return pe.settings.trickle&&e(),pe},done:e=>!e&&!pe.status?pe:pe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=pe.status;return t?(typeof e!="number"&&(e=(1-t)*Jr(Math.random()*t,.1,.95)),t=Jr(t+e,0,.994),pe.set(t)):pe.start()},trickle:()=>pe.inc(Math.random()*pe.settings.trickleRate),render:e=>{if(pe.isRendered())return document.getElementById("nprogress");Ss(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=pe.settings.template;const n=t.querySelector(pe.settings.barSelector),l=e?"-100":Ts(pe.status||0),r=document.querySelector(pe.settings.parent);return Jl(n,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r!==document.body&&Ss(r,"nprogress-custom-parent"),r==null||r.appendChild(t),t},remove:()=>{Ns(document.documentElement,"nprogress-busy"),Ns(document.querySelector(pe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&Ag(e)},isRendered:()=>!!document.getElementById("nprogress")},Jr=(e,t,n)=>en?n:e,Ts=e=>(-1+e)*100,Cg=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Jl=function(){const e=["Webkit","O","Moz","ms"],t={};function n(i){return i.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,o){return o.toUpperCase()})}function l(i){const s=document.body.style;if(i in s)return i;let o=e.length;const c=i.charAt(0).toUpperCase()+i.slice(1);let u;for(;o--;)if(u=e[o]+c,u in s)return u;return i}function r(i){return i=n(i),t[i]??(t[i]=l(i))}function a(i,s,o){s=r(s),i.style[s]=o}return function(i,s){for(const o in s){const c=s[o];c!==void 0&&Object.prototype.hasOwnProperty.call(s,o)&&a(i,o,c)}}}(),Kc=(e,t)=>(typeof e=="string"?e:ci(e)).indexOf(" "+t+" ")>=0,Ss=(e,t)=>{const n=ci(e),l=n+t;Kc(n,t)||(e.className=l.substring(1))},Ns=(e,t)=>{const n=ci(e);if(!Kc(e,t))return;const l=n.replace(" "+t+" "," ");e.className=l.substring(1,l.length-1)},ci=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),Ag=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Lg=()=>{we(()=>{const e=yn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||pe.start()}),e.afterEach(n=>{t.add(n.path),pe.done()})})},xg=et({setup(){Lg()}}),Tg=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$AdcHxjwTHsd13Redb6eL6e5KWRKevGSHviIDX1SJr0fAPQMDaZL.C"]}},"locales":{"/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":"在 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":"Deploy","link":"/en/deploy/","prefix":"deploy/"},{"text":"Usage","link":"/en/usage/","prefix":"usage/"},{"text":"Extensions","link":"/en/store/","prefix":"store/"},{"text":"Contribute","link":"/en/dev/","prefix":"dev/"}],"sidebar":{"/en/deploy/":"structure","/en/usage/":"structure","/en/store/":"structure","/en/dev/":"structure"},"author":{"name":"SnowyKami","url":"https://sfkm.me"}},"/":{"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":["/",{"text":"安装及部署","link":"/deploy/","prefix":"deploy/"},{"text":"使用及功能","link":"/usage/","prefix":"usage/"},{"text":"资源及插件","link":"/store/","prefix":"store/"},{"text":"开发及贡献","link":"/dev/","prefix":"dev/"}],"sidebar":{"/deploy/":"structure","/usage/":"structure","/store/":"structure","/dev/":"structure"},"author":{"name":"远野千束","url":"https://sfkm.me"}}},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.png","repo":"https://github.com/LiteyukiStudio/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true}`),Sg=Q(Tg),Gc=()=>Sg,Yc=Symbol(""),Ng=()=>{const e=Me(Yc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},Ig=(e,t)=>{const{locales:n,...l}=e;return{...l,...n==null?void 0:n[t]}},Og=et({enhance({app:e}){const t=Gc(),n=e._context.provides[ni],l=x(()=>Ig(t.value,n.routeLocale.value));e.provide(Yc,l),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return l.value}}})}});var Pg={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const Rg=Pg;let Fg=Rg;const Qc=Symbol(""),Jc=()=>Me(Qc),$g=Jc,Mg=e=>{e.provide(Qc,Fg)},Xc=()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[d("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},d("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},d("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),d("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},d("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Xc.displayName="LoadingIcon";const Is=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],Dg=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=$g(),n=li(),l=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:r,repoId:a,category:i,categoryId:s}=t,o=Q(!1),c=x(()=>{if(Is.includes(n.value))return n.value;const f=n.value.split("-")[0];return Is.includes(f)?f:"en"}),u=x(()=>({repo:r,repoId:a,category:i,categoryId:s,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await F(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),o.value=!0}),()=>l?d("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},o.value?d("giscus-widget",u.value):d(Xc)):null}}),jg=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Jc(),n=Te(),l=Se(),r=t.comment!==!1,a=x(()=>l.value.comment||r&&l.value.comment!==!1);return()=>d(Dg,{id:"vp-comment",identifier:l.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),Hg=et({enhance:({app:e})=>{Mg(e),e.component("CommentService",jg)}}),Bg=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,Vg=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&Bg.test(navigator.userAgent),Ug=({delay:e=500,duration:t=2e3,locales:n,selector:l,showInMobile:r})=>{const{copy:a,copied:i}=qv({legacy:!0,copiedDuring:t}),s=Pl(n),o=Te(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const h=document.createElement("button");h.type="button",h.classList.add("vp-copy-code-button"),h.innerHTML='
',h.setAttribute("aria-label",s.value.copy),h.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(h,p),p.setAttribute("copy-code-registered","")}},u=()=>{Qt().then(()=>Nc(e)).then(()=>{l.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},f=(p,h,g)=>{let{innerText:b=""}=h;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(b=b.replace(/^ *(\$|>) /gm,"")),a(b).then(()=>{g.classList.add("copied"),ve(i,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};we(()=>{const p=!Vg()||r;p&&u(),$e("click",h=>{const g=h.target;if(g.matches('div[class*="language-"] > button.copy')){const b=g.parentElement,_=g.nextElementSibling;_&&f(b,_,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const b=g.parentElement,_=b.parentElement,k=b.nextElementSibling;k&&f(_,k,b)}}),ve(()=>o.value.path,()=>{p&&u()})})};var zg={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},qg=['.theme-hope-content div[class*="language-"] pre'];const Wg=500,Kg=2e3,Gg=zg,Yg=qg,Qg=!1,Jg=et({setup:()=>{Ug({selector:Yg,locales:Gg,duration:Kg,delay:Wg,showInMobile:Qg})}}),Xl=Kn("VUEPRESS_CODE_TAB_STORE",{});var Xg=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),l=De([]),r=()=>{e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),e.tabId&&(Xl.value[e.tabId]=e.data[n.value].id)},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Xl.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>Xl.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-code-tabs"},[d("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,r()},onKeydown:p=>s(p,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const Zc=({active:e=!1},{slots:t})=>{var n;return d("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Zc.displayName="CodeGroupItem";const Zg=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),l=De([]),r=(s=n.value)=>{n.value=s{n.value=s>0?s-1:l.value.length-1,l.value[n.value].focus()},i=(s,o)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=o):s.key==="ArrowRight"?(s.preventDefault(),r(o)):s.key==="ArrowLeft"&&(s.preventDefault(),a(o))};return()=>{var o;const s=(((o=t.default)==null?void 0:o.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,u)=>{c.props.active=u===n.value}),d("div",{class:"code-group"},[d("div",{class:"code-group-nav"},s.map((c,u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["code-group-nav-tab",{active:f}],"aria-pressed":f,"aria-expanded":f,onClick:()=>{n.value=u},onKeydown:p=>i(p,u)},c.props.title)})),s]))}}}),Ne=({name:e="",color:t="currentColor"},{slots:n})=>{var l;return d("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(l=n.default)==null?void 0:l.call(n))};Ne.displayName="IconBase";const ui=({size:e=48,stroke:t=4,wrapper:n=!0,height:l=2*e})=>{const r=d("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[d("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),d("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[d("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),d("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?d("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${l}px`},r):r};ui.displayName="LoadingIcon";const eu=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},tu=()=>d(Ne,{name:"github"},()=>d("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"}));tu.displayName="GitHubIcon";const nu=()=>d(Ne,{name:"gitlab"},()=>d("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"}));nu.displayName="GitLabIcon";const lu=()=>d(Ne,{name:"gitee"},()=>d("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"}));lu.displayName="GiteeIcon";const ru=()=>d(Ne,{name:"bitbucket"},()=>d("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"}));ru.displayName="BitbucketIcon";const au=()=>d(Ne,{name:"source"},()=>d("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"}));au.displayName="SourceIcon";const iu=(e,t)=>{let n=1;for(let l=0;l>6;return n+=n<<3,n^=n>>11,n%t},su=/#.*$/u,em=e=>{const t=su.exec(e);return t?t[0]:""},Os=e=>decodeURI(e).replace(su,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),ou=(e,t)=>{if(!Ic(t))return!1;const n=Os(e.path),l=Os(t),r=em(t);return r?r===e.hash&&(!l||n===l):n===l},tm=e=>mn(e)?e:`https://github.com/${e}`,cu=e=>!mn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var nm=e=>Object.prototype.toString.call(e)==="[object Object]",_l=e=>typeof e=="string";const uu=Array.isArray,Ps=e=>nm(e)&&_l(e.name),Rs=(e,t=!1)=>e?uu(e)?e.map(n=>_l(n)?{name:n}:Ps(n)?n:null).filter(n=>n!==null):_l(e)?[{name:e}]:Ps(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],du=(e,t)=>{if(e){if(uu(e)&&e.every(_l))return e;if(_l(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},lm=e=>du(e,"category"),rm=e=>du(e,"tag"),am='',im='';var sm={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const Xr=sm,Fs={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},om=(e,t,n)=>{const l=document.createElement(e);return qn(t)&&Zt(t).forEach(r=>{if(r.indexOf("data"))l[r]=t[r];else{const a=r.replace("data","");l.dataset[a]=t[r]}}),n&&n.forEach(r=>{l.appendChild(r)}),l},di=e=>({...Xr,...e,jsLib:Array.from(new Set([...Xr.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Xr.cssLib||[],...e.cssLib||[]]))}),Pn=(e,t)=>{if(Ic(e[t]))return e[t];const n=new Promise(l=>{var a;const r=document.createElement("script");r.src=t,(a=document.querySelector("body"))==null||a.appendChild(r),r.onload=()=>{l()}});return e[t]=n,n},cm=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=om("style",{innerHTML:t.css});e.appendChild(n)}},um=(e,t,n)=>{const l=n.getScript();if(l&&Array.from(t.childNodes).every(r=>r.nodeName!=="SCRIPT")){const r=document.createElement("script");r.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${l}}`)),t.appendChild(r)}},dm=e=>{const t=Zt(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(l=>{const r=t.filter(a=>Fs[l].types.includes(a));if(r.length){const a=r[0];n[l]=[e[a].replace(/^\n|\n$/g,""),Fs[l].map[a]||a]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},fu=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),pu=e=>`
${fu(e)}
`,fm=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; @@ -37,9 +37,9 @@ ${e} __echarts_config__={width,height,option}; } return __echarts_config__; -`)(n):Promise.resolve({option:JSON.parse(e)});var Nm=U({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=Lm(),n=Q(!0),l=De();let r;return $e("resize",Fc(()=>r==null?void 0:r.resize(),100)),we(()=>{Promise.all([F(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(a=>setTimeout(a,800))]).then(async([a])=>{var o;await((o=t.setup)==null?void 0:o.call(t)),r=a.init(l.value);const{option:i,...s}=await Sm(ka(e.config),e.type,r);r.resize(s),r.setOption({...t.option,...i}),n.value=!1})}),gn(()=>{r==null||r.dispose()}),()=>[e.title?d("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,d("div",{class:"echarts-wrapper"},[d("div",{ref:l,class:"echarts-container",id:e.id}),n.value?d(ui,{class:"echarts-loading",height:360}):null])]}});const Im=()=>{$e("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Zr=Gn("VUEPRESS_TAB_STORE",{});var Om=U({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),l=De([]),r=()=>{e.tabId&&(Zr.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),r()},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Zr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>Zr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-tabs"},[d("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,r()},onKeydown:p=>s(p,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const Pm=et({enhance:({app:e})=>{e.component("CodeTabs",Xg),dt("CodeGroup",e)||e.component("CodeGroup",Zg),dt("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",Em),e.component("MdDemo",Cm),e.component("ECharts",Nm),xm(e),e.component("Tabs",Om)},setup:()=>{Im()}});let Rm={};const gu=Symbol(""),Fm=()=>Me(gu),$m=e=>{e.provide(gu,Rm)},Mm='
',Dm=e=>Oe(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),mu=e=>new Promise((t,n)=>{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(mu(e)),e.onerror=l=>n(l))}),jm=e=>{const{isSupported:t,toggle:n}=oi();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(l,r)=>{l.setAttribute("download",""),l.setAttribute("target","_blank"),l.setAttribute("rel","noopener"),r.on("change",()=>{l.setAttribute("href",r.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(l,r)=>{const a=[];let i=-1;for(let s=0;s{r.goTo(a.indexOf(c.target))},a.push(o),l.appendChild(o)}r.on("change",()=>{i>=0&&a[i].classList.remove("active"),a[r.currIndex].classList.add("active"),i=r.currIndex})}})})},Hm=(e,t,n=!0)=>F(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:l})=>{let r=null;const a=e.map(i=>({html:Mm,element:i,msrc:i.src}));return e.forEach((i,s)=>{const o=()=>{r==null||r.destroy(),r=new l({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:a,index:s,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),jm(r),r.addFilter("thumbEl",()=>i),r.addFilter("placeholderSrc",()=>i.src),r.init()};i.getAttribute("photo-swipe")||(i.style.cursor="zoom-in",i.addEventListener("click",()=>{o()}),i.addEventListener("keypress",({key:c})=>{c==="Enter"&&o()}),i.setAttribute("photo-swipe","")),mu(i).then(c=>{a.splice(s,1,c),r==null||r.refreshSlideContent(s)})}),n?$e("wheel",()=>{r==null||r.close()}):()=>{}}),Bm=({selector:e,locales:t,delay:n=500,scrollToClose:l=!0})=>{const r=Fm(),a=Pl(t),i=Te(),s=Se();let o=null;const c=()=>{const{photoSwipe:u}=s.value;u!==!1&&Qt().then(()=>Nc(n)).then(async()=>{const f=Oe(u)?u:e;o=await Hm(Dm(f),{...r,...a.value},l)})};we(()=>{c(),ve(()=>i.value.path,()=>{o==null||o(),c()})}),gn(()=>{o==null||o()})};var Vm={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const Um=".theme-hope-content :not(a) > img:not([no-view])",zm=Vm,qm=800,Wm=!0,Gm=et({enhance:({app:e})=>{$m(e)},setup:()=>{Bm({selector:Um,delay:qm,locales:zm,scrollToClose:Wm})}}),Km=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Ym=(e,t)=>t.some(n=>{if(Oe(n))return n===e.key;const{key:l,ctrl:r=!1,shift:a=!1,alt:i=!1}=n;return l===e.key&&r===e.ctrlKey&&a===e.shiftKey&&i===e.altKey}),Qm=/[^\x00-\x7F]/,Jm=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),$s=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Ms=(e,t)=>{const n=t.join(" "),l=Jm(e);if(Qm.test(e))return l.some(i=>n.toLowerCase().indexOf(i)>-1);const r=e.endsWith(" ");return new RegExp(l.map((i,s)=>l.length===s+1&&!r?`(?=.*\\b${$s(i)})`:`(?=.*\\b${$s(i)}\\b)`).join("")+".+","gi").test(n)},Xm=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=l=>{e.value&&Ym(l,t.value)&&!Km(l.target)&&(l.preventDefault(),e.value.focus())};we(()=>{document.addEventListener("keydown",n)}),Ka(()=>{document.removeEventListener("keydown",n)})},Zm=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deploy/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deploy/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deploy/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level:3,title:"常规部署",slug:"常规部署",link:"#常规部署",children:[]},{level:3,title:"使用Docker构建镜像部署",slug:"使用docker构建镜像部署",link:"#使用docker构建镜像部署",children:[]},{level:3,title:"使用TRSS Scripts部署",slug:"使用trss-scripts部署",link:"#使用trss-scripts部署",children:[]}]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deploy/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/dev/dev_comm.html",pathLocale:"/",extraFields:[]},{title:"轻雪函数",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/dev/dev_lyfunc.html",pathLocale:"/",extraFields:[]},{title:"轻雪插件开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/dev/dev_lyplugin.html",pathLocale:"/",extraFields:[]},{title:"资源包开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/dev/dev_resource_pack.html",pathLocale:"/",extraFields:[]},{title:"Home",headers:[],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"资源及插件商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"插件商店",headers:[],path:"/store/plugin.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/resource.html",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/usage/basic_command.html",pathLocale:"/",extraFields:[]},{title:"功能命令",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/dev/api/",pathLocale:"/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]},{level:3,title:"var new_config = copy.deepcopy(config)",slug:"var-new-config-copy-deepcopy-config",link:"#var-new-config-copy-deepcopy-config",children:[]},{level:3,title:"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))",slug:"var-config-yaml-safe-load-open-file-r-encoding-utf-8",link:"#var-config-yaml-safe-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = json.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-json-load-open-file-r-encoding-utf-8",link:"#var-config-json-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = toml.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-toml-load-open-file-r-encoding-utf-8",link:"#var-config-toml-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = {}",slug:"var-config",link:"#var-config",children:[]},{level:3,title:"var config = {}",slug:"var-config-1",link:"#var-config-1",children:[]},{level:3,title:"var config = load_configs_from_dirs('config', no_waring=no_waring)",slug:"var-config-load-configs-from-dirs-config-no-waring-no-waring",link:"#var-config-load-configs-from-dirs-config-no-waring-no-waring",children:[]}],path:"/dev/api/config.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/dev/api/exception.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]},{level:3,title:"var logger = loguru.logger",slug:"var-logger-loguru-logger",link:"#var-logger-loguru-logger",children:[]},{level:3,title:"var show_icon = config.get('log_icon', True)",slug:"var-show-icon-config-get-log-icon-true",link:"#var-show-icon-config-get-log-icon-true",children:[]}],path:"/dev/api/log.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"def get_relative_path(base_path: str, target_path: str) -> str",slug:"def-get-relative-path-base-path-str-target-path-str-str",link:"#def-get-relative-path-base-path-str-target-path-str-str",children:[]},{level:3,title:"def write_to_files(file_data: dict[str, str]) -> None",slug:"def-write-to-files-file-data-dict-str-str-none",link:"#def-write-to-files-file-data-dict-str-str-none",children:[]},{level:3,title:"def get_file_list(module_folder: str) -> None",slug:"def-get-file-list-module-folder-str-none",link:"#def-get-file-list-module-folder-str-none",children:[]},{level:3,title:"def get_module_info_normal(file_path: str, ignore_private: bool) -> ModuleInfo",slug:"def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",link:"#def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",children:[]},{level:3,title:"def generate_markdown(module_info: ModuleInfo, front_matter: Any) -> str",slug:"def-generate-markdown-module-info-moduleinfo-front-matter-any-str",link:"#def-generate-markdown-module-info-moduleinfo-front-matter-any-str",children:[]},{level:3,title:"def generate_docs(module_folder: str, output_dir: str, with_top: bool, ignored_paths: Any) -> None",slug:"def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",link:"#def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"attr FUNCTION: 'function'",slug:"attr-function-function",link:"#attr-function-function",children:[]},{level:3,title:"attr METHOD: 'method'",slug:"attr-method-method",link:"#attr-method-method",children:[]},{level:3,title:"attr STATIC_METHOD: 'staticmethod'",slug:"attr-static-method-staticmethod",link:"#attr-static-method-staticmethod",children:[]},{level:3,title:"attr CLASS_METHOD: 'classmethod'",slug:"attr-class-method-classmethod",link:"#attr-class-method-classmethod",children:[]},{level:3,title:"attr PROPERTY: 'property'",slug:"attr-property-property",link:"#attr-property-property",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]},{level:3,title:"var NO_TYPE_ANY = 'Any'",slug:"var-no-type-any-any",link:"#var-no-type-any-any",children:[]},{level:3,title:"var NO_TYPE_HINT = 'NoTypeHint'",slug:"var-no-type-hint-notypehint",link:"#var-no-type-hint-notypehint",children:[]},{level:3,title:"var FUNCTION = 'function'",slug:"var-function-function",link:"#var-function-function",children:[]},{level:3,title:"var METHOD = 'method'",slug:"var-method-method",link:"#var-method-method",children:[]},{level:3,title:"var STATIC_METHOD = 'staticmethod'",slug:"var-static-method-staticmethod",link:"#var-static-method-staticmethod",children:[]},{level:3,title:"var CLASS_METHOD = 'classmethod'",slug:"var-class-method-classmethod",link:"#var-class-method-classmethod",children:[]},{level:3,title:"var PROPERTY = 'property'",slug:"var-property-property",link:"#var-property-property",children:[]},{level:3,title:"var file_list = []",slug:"var-file-list",link:"#var-file-list",children:[]},{level:3,title:"var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')",slug:"var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",link:"#var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",children:[]},{level:3,title:"var module_docstring = ast.get_docstring(tree)",slug:"var-module-docstring-ast-get-docstring-tree",link:"#var-module-docstring-ast-get-docstring-tree",children:[]},{level:3,title:"var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')",slug:"var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",link:"#var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",children:[]},{level:3,title:"var content = ''",slug:"var-content",link:"#var-content",children:[]},{level:3,title:"var front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\\n---\\n\\n'",slug:"var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",link:"#var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",children:[]},{level:3,title:"var file_list = get_file_list(module_folder)",slug:"var-file-list-get-file-list-module-folder",link:"#var-file-list-get-file-list-module-folder",children:[]},{level:3,title:"var replace_data = {'__init__': 'README', '.py': '.md'}",slug:"var-replace-data-init-readme-py-md",link:"#var-replace-data-init-readme-py-md",children:[]},{level:3,title:"var file_content = file.read()",slug:"var-file-content-file-read",link:"#var-file-content-file-read",children:[]},{level:3,title:"var tree = ast.parse(file_content)",slug:"var-tree-ast-parse-file-content",link:"#var-tree-ast-parse-file-content",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",children:[]},{level:3,title:"var ignored_paths = []",slug:"var-ignored-paths",link:"#var-ignored-paths",children:[]},{level:3,title:"var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)",slug:"var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",link:"#var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",children:[]},{level:3,title:"var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path",slug:"var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",link:"#var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",children:[]},{level:3,title:"var abs_md_path = os.path.join(output_dir, rel_md_path)",slug:"var-abs-md-path-os-path-join-output-dir-rel-md-path",link:"#var-abs-md-path-os-path-join-output-dir-rel-md-path",children:[]},{level:3,title:"var module_info = get_module_info_normal(pyfile_path)",slug:"var-module-info-get-module-info-normal-pyfile-path",link:"#var-module-info-get-module-info-normal-pyfile-path",children:[]},{level:3,title:"var md_content = generate_markdown(module_info, front_matter)",slug:"var-md-content-generate-markdown-module-info-front-matter",link:"#var-md-content-generate-markdown-module-info-front-matter",children:[]},{level:3,title:`var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''`,slug:"var-inherit-f-join-cls-inherit-if-cls-inherit-else",link:"#var-inherit-f-join-cls-inherit-if-cls-inherit-else",children:[]},{level:3,title:"var rel_md_path = rel_md_path.replace(rk, rv)",slug:"var-rel-md-path-rel-md-path-replace-rk-rv",link:"#var-rel-md-path-rel-md-path-replace-rk-rv",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('_', '\\\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",children:[]},{level:3,title:"var function_docstring = ast.get_docstring(node)",slug:"var-function-docstring-ast-get-docstring-node",link:"#var-function-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))",slug:"var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",link:"#var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",children:[]},{level:3,title:"var class_docstring = ast.get_docstring(node)",slug:"var-class-docstring-ast-get-docstring-node",link:"#var-class-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])",slug:"var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",link:"#var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var first_arg = node.args.args[0]",slug:"var-first-arg-node-args-args-0",link:"#var-first-arg-node-args-args-0",children:[]},{level:3,title:"var method_docstring = ast.get_docstring(class_node)",slug:"var-method-docstring-ast-get-docstring-class-node",link:"#var-method-docstring-ast-get-docstring-class-node",children:[]},{level:3,title:"var def_type = DefType.METHOD",slug:"var-def-type-deftype-method",link:"#var-def-type-deftype-method",children:[]},{level:3,title:"var def_type = DefType.STATIC_METHOD",slug:"var-def-type-deftype-static-method",link:"#var-def-type-deftype-static-method",children:[]},{level:3,title:"var attr_type = NO_TYPE_HINT",slug:"var-attr-type-no-type-hint",link:"#var-attr-type-no-type-hint",children:[]},{level:3,title:"var def_type = DefType.CLASS_METHOD",slug:"var-def-type-deftype-class-method",link:"#var-def-type-deftype-class-method",children:[]},{level:3,title:"var attr_type = ast.unparse(node.value.annotation)",slug:"var-attr-type-ast-unparse-node-value-annotation",link:"#var-attr-type-ast-unparse-node-value-annotation",children:[]},{level:3,title:"var def_type = DefType.PROPERTY",slug:"var-def-type-deftype-property",link:"#var-def-type-deftype-property",children:[]}],path:"/dev/api/mkdoc.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]},{level:3,title:"var IS_MAIN_PROCESS = multiprocessing.current_process().name == 'MainProcess'",slug:"var-is-main-process-multiprocessing-current-process-name-mainprocess",link:"#var-is-main-process-multiprocessing-current-process-name-mainprocess",children:[]},{level:3,title:"var func_ = getattr(call, '__call__', None)",slug:"var-func-getattr-call-call-none",link:"#var-func-getattr-call-call-none",children:[]},{level:3,title:"var rel_path = path.resolve().relative_to(Path.cwd().resolve())",slug:"var-rel-path-path-resolve-relative-to-path-cwd-resolve",link:"#var-rel-path-path-resolve-relative-to-path-cwd-resolve",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/dev/api/utils.html",pathLocale:"/",extraFields:[]},{title:"Deploy",headers:[],path:"/en/deploy/",pathLocale:"/en/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/en/deploy/config.html",pathLocale:"/en/",extraFields:[]},{title:"FAQ",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/en/deploy/fandq.html",pathLocale:"/en/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[{level:3,title:"Conventional deployment",slug:"conventional-deployment",link:"#conventional-deployment",children:[]},{level:3,title:"Use docker",slug:"use-docker",link:"#use-docker",children:[]},{level:3,title:"Use TRSS Scripts",slug:"use-trss-scripts",link:"#use-trss-scripts",children:[]}]},{level:2,title:"Device requirements",slug:"device-requirements",link:"#device-requirements",children:[]}],path:"/en/deploy/install.html",pathLocale:"/en/",extraFields:[]},{title:"Contribute",headers:[],path:"/en/dev/",pathLocale:"/en/",extraFields:[]},{title:"Communication",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/en/dev/dev_comm.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Function",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Plugin",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Pack",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/en/dev/dev_resource_pack.html",pathLocale:"/en/",extraFields:[]},{title:"Extensions Store",headers:[],path:"/en/store/",pathLocale:"/en/",extraFields:[]},{title:"Plugin Store",headers:[],path:"/en/store/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Store",headers:[],path:"/en/store/resource.html",pathLocale:"/en/",extraFields:[]},{title:"Usage",headers:[],path:"/en/usage/",pathLocale:"/en/",extraFields:[]},{title:"User Agreement",headers:[],path:"/en/usage/agreement.html",pathLocale:"/en/",extraFields:[]},{title:"Basic Commands",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/en/usage/basic_command.html",pathLocale:"/en/",extraFields:[]},{title:"Extra Commands",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/en/usage/extra_command.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def run(self) -> None",slug:"def-run-self-none",link:"#def-run-self-none",children:[]},{level:3,title:"def keep_alive(self) -> None",slug:"def-keep-alive-self-none",link:"#def-keep-alive-self-none",children:[]},{level:3,title:"def restart(self, delay: int) -> None",slug:"def-restart-self-delay-int-none",link:"#def-restart-self-delay-int-none",children:[]},{level:3,title:"def restart_process(self, name: Optional[str]) -> None",slug:"def-restart-process-self-name-optional-str-none",link:"#def-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"def init(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def init_logger(self) -> None",slug:"def-init-logger-self-none",link:"#def-init-logger-self-none",children:[]},{level:3,title:"def stop(self) -> None",slug:"def-stop-self-none",link:"#def-stop-self-none",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-func-lifespan-func-none",link:"#def-on-before-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-func-lifespan-func-none",link:"#def-on-after-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-func-lifespan-func-none",link:"#def-on-after-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-func-lifespan-func-none",link:"#def-on-before-process-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-func-lifespan-func-none",link:"#def-on-after-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-func-lifespan-func-none",children:[]},{level:3,title:"var executable = sys.executable",slug:"var-executable-sys-executable",link:"#var-executable-sys-executable",children:[]},{level:3,title:"var args = sys.argv",slug:"var-args-sys-argv",link:"#var-args-sys-argv",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var cmd = 'start'",slug:"var-cmd-start",link:"#var-cmd-start",children:[]},{level:3,title:"var chan_active = get_channel(f'{process_name}-active')",slug:"var-chan-active-get-channel-f-process-name-active",link:"#var-chan-active-get-channel-f-process-name-active",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup",link:"#var-cmd-nohup",children:[]},{level:3,title:"var cmd = 'open'",slug:"var-cmd-open",link:"#var-cmd-open",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup-1",link:"#var-cmd-nohup-1",children:[]}],path:"/dev/api/bot/",pathLocale:"/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: Any) -> None",slug:"def-on-after-nonebot-init-self-func-any-none",link:"#def-on-after-nonebot-init-self-func-any-none",children:[]},{level:3,title:"def before_start(self) -> None",slug:"def-before-start-self-none",link:"#def-before-start-self-none",children:[]},{level:3,title:"def after_start(self) -> None",slug:"def-after-start-self-none",link:"#def-after-start-self-none",children:[]},{level:3,title:"def before_process_shutdown(self) -> None",slug:"def-before-process-shutdown-self-none",link:"#def-before-process-shutdown-self-none",children:[]},{level:3,title:"def after_shutdown(self) -> None",slug:"def-after-shutdown-self-none",link:"#def-after-shutdown-self-none",children:[]},{level:3,title:"def before_process_restart(self) -> None",slug:"def-before-process-restart-self-none",link:"#def-before-process-restart-self-none",children:[]},{level:3,title:"def after_restart(self) -> None",slug:"def-after-restart-self-none",link:"#def-after-restart-self-none",children:[]},{level:3,title:"var tasks = []",slug:"var-tasks",link:"#var-tasks",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/dev/api/bot/lifespan.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/dev/api/comm/",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def __init__(self, _id: str, type_check: Optional[bool]) -> None",slug:"def-init-self-id-str-type-check-optional-bool-none",link:"#def-init-self-id-str-type-check-optional-bool-none",children:[]},{level:3,title:"def send(self, data: T) -> None",slug:"def-send-self-data-t-none",link:"#def-send-self-data-t-none",children:[]},{level:3,title:"def receive(self) -> T",slug:"def-receive-self-t",link:"#def-receive-self-t",children:[]},{level:3,title:"def close(self) -> None",slug:"def-close-self-none",link:"#def-close-self-none",children:[]},{level:3,title:"def on_receive(self, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"var T = TypeVar('T')",slug:"var-t-typevar-t",link:"#var-t-typevar-t",children:[]},{level:3,title:"var channel_deliver_active_channel = Channel(_id='channel_deliver_active_channel')",slug:"var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",link:"#var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",children:[]},{level:3,title:"var channel_deliver_passive_channel = Channel(_id='channel_deliver_passive_channel')",slug:"var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",link:"#var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[Channel[Any]]('recv_chan')",slug:"var-recv-chan-channel-channel-any-recv-chan",link:"#var-recv-chan-channel-channel-any-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Channel[Any]]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-channel-any-recv-chan",link:"#var-recv-chan-channel-dict-str-channel-any-recv-chan",children:[]},{level:3,title:"var type_check = self._get_generic_type() is not None",slug:"var-type-check-self-get-generic-type-is-not-none",link:"#var-type-check-self-get-generic-type-is-not-none",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv",link:"#var-data-self-conn-recv-recv",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id",link:"#var-func-callback-funcs-func-id",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id-1",link:"#var-func-callback-funcs-func-id-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-1",link:"#var-data-self-conn-recv-recv-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-2",link:"#var-data-self-conn-recv-recv-2",children:[]}],path:"/dev/api/comm/channel.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, name: str, data: dict[str, Any]) -> None",slug:"def-init-self-name-str-data-dict-str-any-none",link:"#def-init-self-name-str-data-dict-str-any-none",children:[]}],path:"/dev/api/comm/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none",children:[]},{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_publish(data: tuple[str, Any]) -> None",slug:"def-on-publish-data-tuple-str-any-none",link:"#def-on-publish-data-tuple-str-any-none",children:[]},{level:3,title:"def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC",slug:"def-decorator-func-on-receive-func-on-receive-func",link:"#def-decorator-func-on-receive-func-on-receive-func",children:[]},{level:3,title:"async def wrapper(data: Any) -> None",slug:"async-def-wrapper-data-any-none",link:"#async-def-wrapper-data-any-none",children:[]},{level:3,title:"class Subscriber",slug:"class-subscriber",link:"#class-subscriber",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def receive(self) -> Any",slug:"def-receive-self-any",link:"#def-receive-self-any",children:[]},{level:3,title:"def unsubscribe(self) -> None",slug:"def-unsubscribe-self-none",link:"#def-unsubscribe-self-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def set(self, key: str, value: Any) -> None",slug:"def-set-self-key-str-value-any-none",link:"#def-set-self-key-str-value-any-none",children:[]},{level:3,title:"def get(self, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-key-str-default-optional-any-optional-any",link:"#def-get-self-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-key-str-ignore-key-error-bool-none",link:"#def-delete-self-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self) -> dict[str, Any]",slug:"def-get-all-self-dict-str-any",link:"#def-get-all-self-dict-str-any",children:[]},{level:3,title:"def publish(self, channel_: str, data: Any) -> None",slug:"def-publish-self-channel-str-data-any-none",link:"#def-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none-1",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none-1",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key",link:"#var-key-data-1-key",children:[]},{level:3,title:"var default = data[1]['default']",slug:"var-default-data-1-default",link:"#var-default-data-1-default",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-1",link:"#var-key-data-1-key-1",children:[]},{level:3,title:"var value = data[1]['value']",slug:"var-value-data-1-value",link:"#var-value-data-1-value",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-2",link:"#var-key-data-1-key-2",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan-1",link:"#var-recv-chan-data-1-recv-chan-1",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key",link:"#var-lock-get-lock-key",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-1",link:"#var-lock-get-lock-key-1",children:[]},{level:3,title:"var recv_chan = Channel[Optional[Any]]('recv_chan')",slug:"var-recv-chan-channel-optional-any-recv-chan",link:"#var-recv-chan-channel-optional-any-recv-chan",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-2",link:"#var-lock-get-lock-key-2",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Any]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-any-recv-chan",link:"#var-recv-chan-channel-dict-str-any-recv-chan",children:[]},{level:3,title:"var data = self.active_chan.receive()",slug:"var-data-self-active-chan-receive",link:"#var-data-self-active-chan-receive",children:[]},{level:3,title:"var data = self.publish_channel.receive()",slug:"var-data-self-publish-channel-receive",link:"#var-data-self-publish-channel-receive",children:[]}],path:"/dev/api/comm/storage.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/dev/api/core/",pathLocale:"/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None",slug:"def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",link:"#def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def __init__(self, lifespan: 'Lifespan') -> None",slug:"def-init-self-lifespan-lifespan-none",link:"#def-init-self-lifespan-lifespan-none",children:[]},{level:3,title:"def start(self, name: str) -> None",slug:"def-start-self-name-str-none",link:"#def-start-self-name-str-none",children:[]},{level:3,title:"def start_all(self) -> None",slug:"def-start-all-self-none",link:"#def-start-all-self-none",children:[]},{level:3,title:"def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self) -> None",slug:"def-join-all-self-none",link:"#def-join-all-self-none",children:[]},{level:3,title:"def terminate(self, name: str) -> None",slug:"def-terminate-self-name-str-none",link:"#def-terminate-self-name-str-none",children:[]},{level:3,title:"def terminate_all(self) -> None",slug:"def-terminate-all-self-none",link:"#def-terminate-all-self-none",children:[]},{level:3,title:"def is_process_alive(self, name: str) -> bool",slug:"def-is-process-alive-self-name-str-bool",link:"#def-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TIMEOUT = 10",slug:"var-timeout-10",link:"#var-timeout-10",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var channel_deliver = ChannelDeliver(active=chan_active, passive=chan_passive, channel_deliver_active=channel_deliver_active_channel, channel_deliver_passive=channel_deliver_passive_channel, publish=publish_channel)",slug:"var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",link:"#var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",children:[]},{level:3,title:"var process = self.processes[name]",slug:"var-process-self-processes-name",link:"#var-process-self-processes-name",children:[]},{level:3,title:"var process = Process(target=self.targets[name][0], args=self.targets[name][1], kwargs=self.targets[name][2], daemon=True)",slug:"var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",link:"#var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",children:[]},{level:3,title:"var data = chan_active.receive()",slug:"var-data-chan-active-receive",link:"#var-data-chan-active-receive",children:[]},{level:3,title:"var kwargs = {}",slug:"var-kwargs",link:"#var-kwargs",children:[]}],path:"/dev/api/core/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/dev/api/dev/",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self, event: Any) -> None",slug:"def-on-modified-self-event-any-none",link:"#def-on-modified-self-event-any-none",children:[]},{level:3,title:"def on_created(self, event: Any) -> None",slug:"def-on-created-self-event-any-none",link:"#def-on-created-self-event-any-none",children:[]},{level:3,title:"def on_deleted(self, event: Any) -> None",slug:"def-on-deleted-self-event-any-none",link:"#def-on-deleted-self-event-any-none",children:[]},{level:3,title:"def on_moved(self, event: Any) -> None",slug:"def-on-moved-self-event-any-none",link:"#def-on-moved-self-event-any-none",children:[]},{level:3,title:"def on_any_event(self, event: Any) -> None",slug:"def-on-any-event-self-event-any-none",link:"#def-on-any-event-self-event-any-none",children:[]},{level:3,title:"var liteyuki_bot = get_bot()",slug:"var-liteyuki-bot-get-bot",link:"#var-liteyuki-bot-get-bot",children:[]},{level:3,title:"var observer = Observer()",slug:"var-observer-observer",link:"#var-observer-observer",children:[]},{level:3,title:"var last_call_time = None",slug:"var-last-call-time-none",link:"#var-last-call-time-none",children:[]},{level:3,title:"var code_modified_handler = CodeModifiedHandler()",slug:"var-code-modified-handler-codemodifiedhandler",link:"#var-code-modified-handler-codemodifiedhandler",children:[]},{level:3,title:"var current_time = time.time()",slug:"var-current-time-time-time",link:"#var-current-time-time-time",children:[]},{level:3,title:"var last_call_time = current_time",slug:"var-last-call-time-current-time",link:"#var-last-call-time-current-time",children:[]}],path:"/dev/api/dev/observer.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]},{level:3,title:"var cfg = load_config_in_default()",slug:"var-cfg-load-config-in-default",link:"#var-cfg-load-config-in-default",children:[]},{level:3,title:"var plugins = cfg.get('liteyuki.plugins', [])",slug:"var-plugins-cfg-get-liteyuki-plugins",link:"#var-plugins-cfg-get-liteyuki-plugins",children:[]},{level:3,title:"var bot = LiteyukiBot(**cfg)",slug:"var-bot-liteyukibot-cfg",link:"#var-bot-liteyukibot-cfg",children:[]}],path:"/dev/api/dev/plugin.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/dev/api/message/",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None",slug:"def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none",link:"#def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none",children:[]},{level:3,title:"def reply(self, message: str | dict[str, Any]) -> None",slug:"def-reply-self-message-str-dict-str-any-none",link:"#def-reply-self-message-str-dict-str-any-none",children:[]},{level:3,title:"var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')",slug:"var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",link:"#var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",children:[]}],path:"/dev/api/message/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"def __init__(self, rule: Rule, priority: int, block: bool) -> None",slug:"def-init-self-rule-rule-priority-int-block-bool-none",link:"#def-init-self-rule-rule-priority-int-block-bool-none",children:[]},{level:3,title:"def handle(self, handler: EventHandler) -> EventHandler",slug:"def-handle-self-handler-eventhandler-eventhandler",link:"#def-handle-self-handler-eventhandler-eventhandler",children:[]}],path:"/dev/api/message/matcher.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"def on_message(rule: Rule, priority: int, block: bool) -> Matcher",slug:"def-on-message-rule-rule-priority-int-block-bool-matcher",link:"#def-on-message-rule-rule-priority-int-block-bool-matcher",children:[]},{level:3,title:"var current_priority = -1",slug:"var-current-priority-1",link:"#var-current-priority-1",children:[]},{level:3,title:"var matcher = Matcher(rule, priority, block)",slug:"var-matcher-matcher-rule-priority-block",link:"#var-matcher-matcher-rule-priority-block",children:[]},{level:3,title:"var current_priority = matcher.priority",slug:"var-current-priority-matcher-priority",link:"#var-current-priority-matcher-priority",children:[]}],path:"/dev/api/message/on.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"def __init__(self, handler: Optional[RuleHandler]) -> None",slug:"def-init-self-handler-optional-rulehandler-none",link:"#def-init-self-handler-optional-rulehandler-none",children:[]}],path:"/dev/api/message/rule.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/dev/api/message/session.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/dev/api/plugin/",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]},{level:3,title:"var module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path",slug:"var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",link:"#var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",children:[]},{level:3,title:"var plugins = set()",slug:"var-plugins-set",link:"#var-plugins-set",children:[]},{level:3,title:"var color = 'y'",slug:"var-color-y",link:"#var-color-y",children:[]},{level:3,title:"var module = import_module(module_path)",slug:"var-module-import-module-module-path",link:"#var-module-import-module-module-path",children:[]},{level:3,title:"var display_name = module.__name__.split('.')[-1]",slug:"var-display-name-module-name-split-1",link:"#var-display-name-module-name-split-1",children:[]},{level:3,title:`var display_name = format_display_name(f"{metadata.name}({module.__name__.split('.')[-1]})", metadata.type)`,slug:"var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",link:"#var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",children:[]},{level:3,title:"var path = Path(os.path.join(dir_path, f))",slug:"var-path-path-os-path-join-dir-path-f",link:"#var-path-path-os-path-join-dir-path-f",children:[]},{level:3,title:"var module_name = None",slug:"var-module-name-none",link:"#var-module-name-none",children:[]},{level:3,title:"var color = 'm'",slug:"var-color-m",link:"#var-color-m",children:[]},{level:3,title:"var color = 'g'",slug:"var-color-g",link:"#var-color-g",children:[]},{level:3,title:"var color = 'e'",slug:"var-color-e",link:"#var-color-e",children:[]},{level:3,title:"var color = 'c'",slug:"var-color-c",link:"#var-color-c",children:[]},{level:3,title:"var module_name = f'{path_to_module_name(Path(dir_path))}.{f[:-3]}'",slug:"var-module-name-f-path-to-module-name-path-dir-path-f-3",link:"#var-module-name-f-path-to-module-name-path-dir-path-f-3",children:[]},{level:3,title:"var module_name = path_to_module_name(path)",slug:"var-module-name-path-to-module-name-path",link:"#var-module-name-path-to-module-name-path",children:[]}],path:"/dev/api/plugin/load.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/dev/api/plugin/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"attr TEST: 'test'",slug:"attr-test-test",link:"#attr-test-test",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]},{level:3,title:"var APPLICATION = 'application'",slug:"var-application-application",link:"#var-application-application",children:[]},{level:3,title:"var SERVICE = 'service'",slug:"var-service-service",link:"#var-service-service",children:[]},{level:3,title:"var MODULE = 'module'",slug:"var-module-module",link:"#var-module-module",children:[]},{level:3,title:"var UNCLASSIFIED = 'unclassified'",slug:"var-unclassified-unclassified",link:"#var-unclassified-unclassified",children:[]},{level:3,title:"var TEST = 'test'",slug:"var-test-test",link:"#var-test-test",children:[]},{level:3,title:"var model_config = {'arbitrary_types_allowed': True}",slug:"var-model-config-arbitrary-types-allowed-true",link:"#var-model-config-arbitrary-types-allowed-true",children:[]}],path:"/dev/api/plugin/model.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/en/dev/api/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]},{level:3,title:"var new_config = copy.deepcopy(config)",slug:"var-new-config-copy-deepcopy-config",link:"#var-new-config-copy-deepcopy-config",children:[]},{level:3,title:"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))",slug:"var-config-yaml-safe-load-open-file-r-encoding-utf-8",link:"#var-config-yaml-safe-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = json.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-json-load-open-file-r-encoding-utf-8",link:"#var-config-json-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = toml.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-toml-load-open-file-r-encoding-utf-8",link:"#var-config-toml-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = {}",slug:"var-config",link:"#var-config",children:[]},{level:3,title:"var config = {}",slug:"var-config-1",link:"#var-config-1",children:[]},{level:3,title:"var config = load_configs_from_dirs('config', no_waring=no_waring)",slug:"var-config-load-configs-from-dirs-config-no-waring-no-waring",link:"#var-config-load-configs-from-dirs-config-no-waring-no-waring",children:[]}],path:"/en/dev/api/config.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/en/dev/api/exception.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]},{level:3,title:"var logger = loguru.logger",slug:"var-logger-loguru-logger",link:"#var-logger-loguru-logger",children:[]},{level:3,title:"var show_icon = config.get('log_icon', True)",slug:"var-show-icon-config-get-log-icon-true",link:"#var-show-icon-config-get-log-icon-true",children:[]}],path:"/en/dev/api/log.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"def get_relative_path(base_path: str, target_path: str) -> str",slug:"def-get-relative-path-base-path-str-target-path-str-str",link:"#def-get-relative-path-base-path-str-target-path-str-str",children:[]},{level:3,title:"def write_to_files(file_data: dict[str, str]) -> None",slug:"def-write-to-files-file-data-dict-str-str-none",link:"#def-write-to-files-file-data-dict-str-str-none",children:[]},{level:3,title:"def get_file_list(module_folder: str) -> None",slug:"def-get-file-list-module-folder-str-none",link:"#def-get-file-list-module-folder-str-none",children:[]},{level:3,title:"def get_module_info_normal(file_path: str, ignore_private: bool) -> ModuleInfo",slug:"def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",link:"#def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",children:[]},{level:3,title:"def generate_markdown(module_info: ModuleInfo, front_matter: Any) -> str",slug:"def-generate-markdown-module-info-moduleinfo-front-matter-any-str",link:"#def-generate-markdown-module-info-moduleinfo-front-matter-any-str",children:[]},{level:3,title:"def generate_docs(module_folder: str, output_dir: str, with_top: bool, ignored_paths: Any) -> None",slug:"def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",link:"#def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"attr FUNCTION: 'function'",slug:"attr-function-function",link:"#attr-function-function",children:[]},{level:3,title:"attr METHOD: 'method'",slug:"attr-method-method",link:"#attr-method-method",children:[]},{level:3,title:"attr STATIC_METHOD: 'staticmethod'",slug:"attr-static-method-staticmethod",link:"#attr-static-method-staticmethod",children:[]},{level:3,title:"attr CLASS_METHOD: 'classmethod'",slug:"attr-class-method-classmethod",link:"#attr-class-method-classmethod",children:[]},{level:3,title:"attr PROPERTY: 'property'",slug:"attr-property-property",link:"#attr-property-property",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]},{level:3,title:"var NO_TYPE_ANY = 'Any'",slug:"var-no-type-any-any",link:"#var-no-type-any-any",children:[]},{level:3,title:"var NO_TYPE_HINT = 'NoTypeHint'",slug:"var-no-type-hint-notypehint",link:"#var-no-type-hint-notypehint",children:[]},{level:3,title:"var FUNCTION = 'function'",slug:"var-function-function",link:"#var-function-function",children:[]},{level:3,title:"var METHOD = 'method'",slug:"var-method-method",link:"#var-method-method",children:[]},{level:3,title:"var STATIC_METHOD = 'staticmethod'",slug:"var-static-method-staticmethod",link:"#var-static-method-staticmethod",children:[]},{level:3,title:"var CLASS_METHOD = 'classmethod'",slug:"var-class-method-classmethod",link:"#var-class-method-classmethod",children:[]},{level:3,title:"var PROPERTY = 'property'",slug:"var-property-property",link:"#var-property-property",children:[]},{level:3,title:"var file_list = []",slug:"var-file-list",link:"#var-file-list",children:[]},{level:3,title:"var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')",slug:"var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",link:"#var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",children:[]},{level:3,title:"var module_docstring = ast.get_docstring(tree)",slug:"var-module-docstring-ast-get-docstring-tree",link:"#var-module-docstring-ast-get-docstring-tree",children:[]},{level:3,title:"var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')",slug:"var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",link:"#var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",children:[]},{level:3,title:"var content = ''",slug:"var-content",link:"#var-content",children:[]},{level:3,title:"var front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\\n---\\n\\n'",slug:"var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",link:"#var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",children:[]},{level:3,title:"var file_list = get_file_list(module_folder)",slug:"var-file-list-get-file-list-module-folder",link:"#var-file-list-get-file-list-module-folder",children:[]},{level:3,title:"var replace_data = {'__init__': 'README', '.py': '.md'}",slug:"var-replace-data-init-readme-py-md",link:"#var-replace-data-init-readme-py-md",children:[]},{level:3,title:"var file_content = file.read()",slug:"var-file-content-file-read",link:"#var-file-content-file-read",children:[]},{level:3,title:"var tree = ast.parse(file_content)",slug:"var-tree-ast-parse-file-content",link:"#var-tree-ast-parse-file-content",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",children:[]},{level:3,title:"var ignored_paths = []",slug:"var-ignored-paths",link:"#var-ignored-paths",children:[]},{level:3,title:"var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)",slug:"var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",link:"#var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",children:[]},{level:3,title:"var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path",slug:"var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",link:"#var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",children:[]},{level:3,title:"var abs_md_path = os.path.join(output_dir, rel_md_path)",slug:"var-abs-md-path-os-path-join-output-dir-rel-md-path",link:"#var-abs-md-path-os-path-join-output-dir-rel-md-path",children:[]},{level:3,title:"var module_info = get_module_info_normal(pyfile_path)",slug:"var-module-info-get-module-info-normal-pyfile-path",link:"#var-module-info-get-module-info-normal-pyfile-path",children:[]},{level:3,title:"var md_content = generate_markdown(module_info, front_matter)",slug:"var-md-content-generate-markdown-module-info-front-matter",link:"#var-md-content-generate-markdown-module-info-front-matter",children:[]},{level:3,title:`var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''`,slug:"var-inherit-f-join-cls-inherit-if-cls-inherit-else",link:"#var-inherit-f-join-cls-inherit-if-cls-inherit-else",children:[]},{level:3,title:"var rel_md_path = rel_md_path.replace(rk, rv)",slug:"var-rel-md-path-rel-md-path-replace-rk-rv",link:"#var-rel-md-path-rel-md-path-replace-rk-rv",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('_', '\\\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",children:[]},{level:3,title:"var function_docstring = ast.get_docstring(node)",slug:"var-function-docstring-ast-get-docstring-node",link:"#var-function-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))",slug:"var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",link:"#var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",children:[]},{level:3,title:"var class_docstring = ast.get_docstring(node)",slug:"var-class-docstring-ast-get-docstring-node",link:"#var-class-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])",slug:"var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",link:"#var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var first_arg = node.args.args[0]",slug:"var-first-arg-node-args-args-0",link:"#var-first-arg-node-args-args-0",children:[]},{level:3,title:"var method_docstring = ast.get_docstring(class_node)",slug:"var-method-docstring-ast-get-docstring-class-node",link:"#var-method-docstring-ast-get-docstring-class-node",children:[]},{level:3,title:"var def_type = DefType.METHOD",slug:"var-def-type-deftype-method",link:"#var-def-type-deftype-method",children:[]},{level:3,title:"var def_type = DefType.STATIC_METHOD",slug:"var-def-type-deftype-static-method",link:"#var-def-type-deftype-static-method",children:[]},{level:3,title:"var attr_type = NO_TYPE_HINT",slug:"var-attr-type-no-type-hint",link:"#var-attr-type-no-type-hint",children:[]},{level:3,title:"var def_type = DefType.CLASS_METHOD",slug:"var-def-type-deftype-class-method",link:"#var-def-type-deftype-class-method",children:[]},{level:3,title:"var attr_type = ast.unparse(node.value.annotation)",slug:"var-attr-type-ast-unparse-node-value-annotation",link:"#var-attr-type-ast-unparse-node-value-annotation",children:[]},{level:3,title:"var def_type = DefType.PROPERTY",slug:"var-def-type-deftype-property",link:"#var-def-type-deftype-property",children:[]}],path:"/en/dev/api/mkdoc.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]},{level:3,title:"var IS_MAIN_PROCESS = multiprocessing.current_process().name == 'MainProcess'",slug:"var-is-main-process-multiprocessing-current-process-name-mainprocess",link:"#var-is-main-process-multiprocessing-current-process-name-mainprocess",children:[]},{level:3,title:"var func_ = getattr(call, '__call__', None)",slug:"var-func-getattr-call-call-none",link:"#var-func-getattr-call-call-none",children:[]},{level:3,title:"var rel_path = path.resolve().relative_to(Path.cwd().resolve())",slug:"var-rel-path-path-resolve-relative-to-path-cwd-resolve",link:"#var-rel-path-path-resolve-relative-to-path-cwd-resolve",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/en/dev/api/utils.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def run(self) -> None",slug:"def-run-self-none",link:"#def-run-self-none",children:[]},{level:3,title:"def keep_alive(self) -> None",slug:"def-keep-alive-self-none",link:"#def-keep-alive-self-none",children:[]},{level:3,title:"def restart(self, delay: int) -> None",slug:"def-restart-self-delay-int-none",link:"#def-restart-self-delay-int-none",children:[]},{level:3,title:"def restart_process(self, name: Optional[str]) -> None",slug:"def-restart-process-self-name-optional-str-none",link:"#def-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"def init(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def init_logger(self) -> None",slug:"def-init-logger-self-none",link:"#def-init-logger-self-none",children:[]},{level:3,title:"def stop(self) -> None",slug:"def-stop-self-none",link:"#def-stop-self-none",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-func-lifespan-func-none",link:"#def-on-before-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-func-lifespan-func-none",link:"#def-on-after-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-func-lifespan-func-none",link:"#def-on-after-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-func-lifespan-func-none",link:"#def-on-before-process-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-func-lifespan-func-none",link:"#def-on-after-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-func-lifespan-func-none",children:[]},{level:3,title:"var executable = sys.executable",slug:"var-executable-sys-executable",link:"#var-executable-sys-executable",children:[]},{level:3,title:"var args = sys.argv",slug:"var-args-sys-argv",link:"#var-args-sys-argv",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var cmd = 'start'",slug:"var-cmd-start",link:"#var-cmd-start",children:[]},{level:3,title:"var chan_active = get_channel(f'{process_name}-active')",slug:"var-chan-active-get-channel-f-process-name-active",link:"#var-chan-active-get-channel-f-process-name-active",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup",link:"#var-cmd-nohup",children:[]},{level:3,title:"var cmd = 'open'",slug:"var-cmd-open",link:"#var-cmd-open",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup-1",link:"#var-cmd-nohup-1",children:[]}],path:"/en/dev/api/bot/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: Any) -> None",slug:"def-on-after-nonebot-init-self-func-any-none",link:"#def-on-after-nonebot-init-self-func-any-none",children:[]},{level:3,title:"def before_start(self) -> None",slug:"def-before-start-self-none",link:"#def-before-start-self-none",children:[]},{level:3,title:"def after_start(self) -> None",slug:"def-after-start-self-none",link:"#def-after-start-self-none",children:[]},{level:3,title:"def before_process_shutdown(self) -> None",slug:"def-before-process-shutdown-self-none",link:"#def-before-process-shutdown-self-none",children:[]},{level:3,title:"def after_shutdown(self) -> None",slug:"def-after-shutdown-self-none",link:"#def-after-shutdown-self-none",children:[]},{level:3,title:"def before_process_restart(self) -> None",slug:"def-before-process-restart-self-none",link:"#def-before-process-restart-self-none",children:[]},{level:3,title:"def after_restart(self) -> None",slug:"def-after-restart-self-none",link:"#def-after-restart-self-none",children:[]},{level:3,title:"var tasks = []",slug:"var-tasks",link:"#var-tasks",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/en/dev/api/bot/lifespan.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/en/dev/api/comm/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def __init__(self, _id: str, type_check: Optional[bool]) -> None",slug:"def-init-self-id-str-type-check-optional-bool-none",link:"#def-init-self-id-str-type-check-optional-bool-none",children:[]},{level:3,title:"def send(self, data: T) -> None",slug:"def-send-self-data-t-none",link:"#def-send-self-data-t-none",children:[]},{level:3,title:"def receive(self) -> T",slug:"def-receive-self-t",link:"#def-receive-self-t",children:[]},{level:3,title:"def close(self) -> None",slug:"def-close-self-none",link:"#def-close-self-none",children:[]},{level:3,title:"def on_receive(self, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"var T = TypeVar('T')",slug:"var-t-typevar-t",link:"#var-t-typevar-t",children:[]},{level:3,title:"var channel_deliver_active_channel = Channel(_id='channel_deliver_active_channel')",slug:"var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",link:"#var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",children:[]},{level:3,title:"var channel_deliver_passive_channel = Channel(_id='channel_deliver_passive_channel')",slug:"var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",link:"#var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[Channel[Any]]('recv_chan')",slug:"var-recv-chan-channel-channel-any-recv-chan",link:"#var-recv-chan-channel-channel-any-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Channel[Any]]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-channel-any-recv-chan",link:"#var-recv-chan-channel-dict-str-channel-any-recv-chan",children:[]},{level:3,title:"var type_check = self._get_generic_type() is not None",slug:"var-type-check-self-get-generic-type-is-not-none",link:"#var-type-check-self-get-generic-type-is-not-none",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv",link:"#var-data-self-conn-recv-recv",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id",link:"#var-func-callback-funcs-func-id",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id-1",link:"#var-func-callback-funcs-func-id-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-1",link:"#var-data-self-conn-recv-recv-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-2",link:"#var-data-self-conn-recv-recv-2",children:[]}],path:"/en/dev/api/comm/channel.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, name: str, data: dict[str, Any]) -> None",slug:"def-init-self-name-str-data-dict-str-any-none",link:"#def-init-self-name-str-data-dict-str-any-none",children:[]}],path:"/en/dev/api/comm/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none",children:[]},{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_publish(data: tuple[str, Any]) -> None",slug:"def-on-publish-data-tuple-str-any-none",link:"#def-on-publish-data-tuple-str-any-none",children:[]},{level:3,title:"def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC",slug:"def-decorator-func-on-receive-func-on-receive-func",link:"#def-decorator-func-on-receive-func-on-receive-func",children:[]},{level:3,title:"async def wrapper(data: Any) -> None",slug:"async-def-wrapper-data-any-none",link:"#async-def-wrapper-data-any-none",children:[]},{level:3,title:"class Subscriber",slug:"class-subscriber",link:"#class-subscriber",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def receive(self) -> Any",slug:"def-receive-self-any",link:"#def-receive-self-any",children:[]},{level:3,title:"def unsubscribe(self) -> None",slug:"def-unsubscribe-self-none",link:"#def-unsubscribe-self-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def set(self, key: str, value: Any) -> None",slug:"def-set-self-key-str-value-any-none",link:"#def-set-self-key-str-value-any-none",children:[]},{level:3,title:"def get(self, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-key-str-default-optional-any-optional-any",link:"#def-get-self-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-key-str-ignore-key-error-bool-none",link:"#def-delete-self-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self) -> dict[str, Any]",slug:"def-get-all-self-dict-str-any",link:"#def-get-all-self-dict-str-any",children:[]},{level:3,title:"def publish(self, channel_: str, data: Any) -> None",slug:"def-publish-self-channel-str-data-any-none",link:"#def-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none-1",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none-1",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key",link:"#var-key-data-1-key",children:[]},{level:3,title:"var default = data[1]['default']",slug:"var-default-data-1-default",link:"#var-default-data-1-default",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-1",link:"#var-key-data-1-key-1",children:[]},{level:3,title:"var value = data[1]['value']",slug:"var-value-data-1-value",link:"#var-value-data-1-value",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-2",link:"#var-key-data-1-key-2",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan-1",link:"#var-recv-chan-data-1-recv-chan-1",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key",link:"#var-lock-get-lock-key",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-1",link:"#var-lock-get-lock-key-1",children:[]},{level:3,title:"var recv_chan = Channel[Optional[Any]]('recv_chan')",slug:"var-recv-chan-channel-optional-any-recv-chan",link:"#var-recv-chan-channel-optional-any-recv-chan",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-2",link:"#var-lock-get-lock-key-2",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Any]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-any-recv-chan",link:"#var-recv-chan-channel-dict-str-any-recv-chan",children:[]},{level:3,title:"var data = self.active_chan.receive()",slug:"var-data-self-active-chan-receive",link:"#var-data-self-active-chan-receive",children:[]},{level:3,title:"var data = self.publish_channel.receive()",slug:"var-data-self-publish-channel-receive",link:"#var-data-self-publish-channel-receive",children:[]}],path:"/en/dev/api/comm/storage.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/en/dev/api/core/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None",slug:"def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",link:"#def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def __init__(self, lifespan: 'Lifespan') -> None",slug:"def-init-self-lifespan-lifespan-none",link:"#def-init-self-lifespan-lifespan-none",children:[]},{level:3,title:"def start(self, name: str) -> None",slug:"def-start-self-name-str-none",link:"#def-start-self-name-str-none",children:[]},{level:3,title:"def start_all(self) -> None",slug:"def-start-all-self-none",link:"#def-start-all-self-none",children:[]},{level:3,title:"def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self) -> None",slug:"def-join-all-self-none",link:"#def-join-all-self-none",children:[]},{level:3,title:"def terminate(self, name: str) -> None",slug:"def-terminate-self-name-str-none",link:"#def-terminate-self-name-str-none",children:[]},{level:3,title:"def terminate_all(self) -> None",slug:"def-terminate-all-self-none",link:"#def-terminate-all-self-none",children:[]},{level:3,title:"def is_process_alive(self, name: str) -> bool",slug:"def-is-process-alive-self-name-str-bool",link:"#def-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TIMEOUT = 10",slug:"var-timeout-10",link:"#var-timeout-10",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var channel_deliver = ChannelDeliver(active=chan_active, passive=chan_passive, channel_deliver_active=channel_deliver_active_channel, channel_deliver_passive=channel_deliver_passive_channel, publish=publish_channel)",slug:"var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",link:"#var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",children:[]},{level:3,title:"var process = self.processes[name]",slug:"var-process-self-processes-name",link:"#var-process-self-processes-name",children:[]},{level:3,title:"var process = Process(target=self.targets[name][0], args=self.targets[name][1], kwargs=self.targets[name][2], daemon=True)",slug:"var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",link:"#var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",children:[]},{level:3,title:"var data = chan_active.receive()",slug:"var-data-chan-active-receive",link:"#var-data-chan-active-receive",children:[]},{level:3,title:"var kwargs = {}",slug:"var-kwargs",link:"#var-kwargs",children:[]}],path:"/en/dev/api/core/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/en/dev/api/dev/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self, event: Any) -> None",slug:"def-on-modified-self-event-any-none",link:"#def-on-modified-self-event-any-none",children:[]},{level:3,title:"def on_created(self, event: Any) -> None",slug:"def-on-created-self-event-any-none",link:"#def-on-created-self-event-any-none",children:[]},{level:3,title:"def on_deleted(self, event: Any) -> None",slug:"def-on-deleted-self-event-any-none",link:"#def-on-deleted-self-event-any-none",children:[]},{level:3,title:"def on_moved(self, event: Any) -> None",slug:"def-on-moved-self-event-any-none",link:"#def-on-moved-self-event-any-none",children:[]},{level:3,title:"def on_any_event(self, event: Any) -> None",slug:"def-on-any-event-self-event-any-none",link:"#def-on-any-event-self-event-any-none",children:[]},{level:3,title:"var liteyuki_bot = get_bot()",slug:"var-liteyuki-bot-get-bot",link:"#var-liteyuki-bot-get-bot",children:[]},{level:3,title:"var observer = Observer()",slug:"var-observer-observer",link:"#var-observer-observer",children:[]},{level:3,title:"var last_call_time = None",slug:"var-last-call-time-none",link:"#var-last-call-time-none",children:[]},{level:3,title:"var code_modified_handler = CodeModifiedHandler()",slug:"var-code-modified-handler-codemodifiedhandler",link:"#var-code-modified-handler-codemodifiedhandler",children:[]},{level:3,title:"var current_time = time.time()",slug:"var-current-time-time-time",link:"#var-current-time-time-time",children:[]},{level:3,title:"var last_call_time = current_time",slug:"var-last-call-time-current-time",link:"#var-last-call-time-current-time",children:[]}],path:"/en/dev/api/dev/observer.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]},{level:3,title:"var cfg = load_config_in_default()",slug:"var-cfg-load-config-in-default",link:"#var-cfg-load-config-in-default",children:[]},{level:3,title:"var plugins = cfg.get('liteyuki.plugins', [])",slug:"var-plugins-cfg-get-liteyuki-plugins",link:"#var-plugins-cfg-get-liteyuki-plugins",children:[]},{level:3,title:"var bot = LiteyukiBot(**cfg)",slug:"var-bot-liteyukibot-cfg",link:"#var-bot-liteyukibot-cfg",children:[]}],path:"/en/dev/api/dev/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/en/dev/api/message/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None",slug:"def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none",link:"#def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none",children:[]},{level:3,title:"def reply(self, message: str | dict[str, Any]) -> None",slug:"def-reply-self-message-str-dict-str-any-none",link:"#def-reply-self-message-str-dict-str-any-none",children:[]},{level:3,title:"var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')",slug:"var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",link:"#var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",children:[]}],path:"/en/dev/api/message/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"def __init__(self, rule: Rule, priority: int, block: bool) -> None",slug:"def-init-self-rule-rule-priority-int-block-bool-none",link:"#def-init-self-rule-rule-priority-int-block-bool-none",children:[]},{level:3,title:"def handle(self, handler: EventHandler) -> EventHandler",slug:"def-handle-self-handler-eventhandler-eventhandler",link:"#def-handle-self-handler-eventhandler-eventhandler",children:[]}],path:"/en/dev/api/message/matcher.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"def on_message(rule: Rule, priority: int, block: bool) -> Matcher",slug:"def-on-message-rule-rule-priority-int-block-bool-matcher",link:"#def-on-message-rule-rule-priority-int-block-bool-matcher",children:[]},{level:3,title:"var current_priority = -1",slug:"var-current-priority-1",link:"#var-current-priority-1",children:[]},{level:3,title:"var matcher = Matcher(rule, priority, block)",slug:"var-matcher-matcher-rule-priority-block",link:"#var-matcher-matcher-rule-priority-block",children:[]},{level:3,title:"var current_priority = matcher.priority",slug:"var-current-priority-matcher-priority",link:"#var-current-priority-matcher-priority",children:[]}],path:"/en/dev/api/message/on.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"def __init__(self, handler: Optional[RuleHandler]) -> None",slug:"def-init-self-handler-optional-rulehandler-none",link:"#def-init-self-handler-optional-rulehandler-none",children:[]}],path:"/en/dev/api/message/rule.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/en/dev/api/message/session.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/en/dev/api/plugin/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]},{level:3,title:"var module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path",slug:"var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",link:"#var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",children:[]},{level:3,title:"var plugins = set()",slug:"var-plugins-set",link:"#var-plugins-set",children:[]},{level:3,title:"var color = 'y'",slug:"var-color-y",link:"#var-color-y",children:[]},{level:3,title:"var module = import_module(module_path)",slug:"var-module-import-module-module-path",link:"#var-module-import-module-module-path",children:[]},{level:3,title:"var display_name = module.__name__.split('.')[-1]",slug:"var-display-name-module-name-split-1",link:"#var-display-name-module-name-split-1",children:[]},{level:3,title:`var display_name = format_display_name(f"{metadata.name}({module.__name__.split('.')[-1]})", metadata.type)`,slug:"var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",link:"#var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",children:[]},{level:3,title:"var path = Path(os.path.join(dir_path, f))",slug:"var-path-path-os-path-join-dir-path-f",link:"#var-path-path-os-path-join-dir-path-f",children:[]},{level:3,title:"var module_name = None",slug:"var-module-name-none",link:"#var-module-name-none",children:[]},{level:3,title:"var color = 'm'",slug:"var-color-m",link:"#var-color-m",children:[]},{level:3,title:"var color = 'g'",slug:"var-color-g",link:"#var-color-g",children:[]},{level:3,title:"var color = 'e'",slug:"var-color-e",link:"#var-color-e",children:[]},{level:3,title:"var color = 'c'",slug:"var-color-c",link:"#var-color-c",children:[]},{level:3,title:"var module_name = f'{path_to_module_name(Path(dir_path))}.{f[:-3]}'",slug:"var-module-name-f-path-to-module-name-path-dir-path-f-3",link:"#var-module-name-f-path-to-module-name-path-dir-path-f-3",children:[]},{level:3,title:"var module_name = path_to_module_name(path)",slug:"var-module-name-path-to-module-name-path",link:"#var-module-name-path-to-module-name-path",children:[]}],path:"/en/dev/api/plugin/load.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/en/dev/api/plugin/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"attr TEST: 'test'",slug:"attr-test-test",link:"#attr-test-test",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]},{level:3,title:"var APPLICATION = 'application'",slug:"var-application-application",link:"#var-application-application",children:[]},{level:3,title:"var SERVICE = 'service'",slug:"var-service-service",link:"#var-service-service",children:[]},{level:3,title:"var MODULE = 'module'",slug:"var-module-module",link:"#var-module-module",children:[]},{level:3,title:"var UNCLASSIFIED = 'unclassified'",slug:"var-unclassified-unclassified",link:"#var-unclassified-unclassified",children:[]},{level:3,title:"var TEST = 'test'",slug:"var-test-test",link:"#var-test-test",children:[]},{level:3,title:"var model_config = {'arbitrary_types_allowed': True}",slug:"var-model-config-arbitrary-types-allowed-true",link:"#var-model-config-arbitrary-types-allowed-true",children:[]}],path:"/en/dev/api/plugin/model.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],e1=Q(Zm),t1=()=>e1,n1=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:l})=>{const r=x(()=>e.value.filter(a=>a.pathLocale===t.value));return x(()=>{const a=n.value.trim().toLowerCase();if(!a)return[];const i=[],s=(o,c)=>{Ms(a,[c.title])&&i.push({link:`${o.path}#${c.slug}`,title:o.title,header:c.title});for(const u of c.children){if(i.length>=l.value)return;s(o,u)}};for(const o of r.value){if(i.length>=l.value)break;if(Ms(a,[o.title,...o.extraFields])){i.push({link:o.path,title:o.title});continue}for(const c of o.headers){if(i.length>=l.value)break;s(o,c)}}return i})},l1=e=>{const t=Q(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},r1=U({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:l}=Gd(e),r=yn(),a=Xt(),i=t1(),s=Q(null),o=Q(!1),c=Q(""),u=x(()=>t.value[a.value]??{}),f=n1({searchIndex:i,routeLocale:a,query:c,maxSuggestions:l}),{focusIndex:p,focusNext:h,focusPrev:g}=l1(f);Xm({input:s,hotKeys:n});const b=x(()=>o.value&&!!f.value.length),_=()=>{b.value&&g()},k=()=>{b.value&&h()},C=y=>{if(!b.value)return;const A=f.value[y];A&&r.push(A.link).then(()=>{c.value="",p.value=0})};return()=>d("form",{class:"search-box",role:"search"},[d("input",{ref:s,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>o.value=!0,onBlur:()=>o.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{_();break}case"ArrowDown":{k();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),b.value&&d("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},f.value.map(({link:y,title:A,header:O},L)=>d("li",{class:["suggestion",{focus:p.value===L}],onMouseenter:()=>p.value=L,onMousedown:()=>C(L)},d("a",{href:y,onClick:N=>N.preventDefault()},[d("span",{class:"page-title"},A),O&&d("span",{class:"page-header"},`> ${O}`)]))))])}});var a1=["s","/"],i1={"/":{placeholder:"搜索"}};const s1=i1,o1=a1,c1=5,u1=et({enhance({app:e}){e.component("SearchBox",t=>d(r1,{locales:s1,hotKeys:o1,maxSuggestions:c1,...t}))}}),yu=()=>{const e=Te();return x(()=>e.value.readingTime??null)},d1=(e,t)=>{const{minutes:n,words:l}=e,{less1Minute:r,word:a,time:i}=t;return{time:n<1?r:i.replace("$time",Math.round(n).toString()),words:a.replace("$word",l.toString())}};var Ds={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const js={words:"",time:""},Ea=typeof Ds>"u"?null:Ds,f1=()=>Ea?Pl(Ea):x(()=>null),p1=()=>{if(typeof Ea>"u")return x(()=>js);const e=yu(),t=f1();return x(()=>e.value&&t.value?d1(e.value,t.value):js)},en=()=>Kc(),ye=()=>Ng(),Ml=()=>{const e=en();return x(()=>!!e.value.pure)},Hs=()=>null,h1="719px",v1="1440px",g1="false",_u={mobileBreakPoint:h1,pcBreakPoint:v1,enableThemeColor:g1},fi={"/en/deploy/":["install","config","fandq"],"/en/usage/":["basic_command","extra_command","agreement"],"/en/store/":["resource","plugin"],"/en/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"liteyuki",prefix:"api/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","mkdoc","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.message",prefix:"message/",collapsible:!0,icon:"laptop-code",children:["","event","matcher","on","rule","session"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}],"/deploy/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"liteyuki",prefix:"api/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","mkdoc","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.message",prefix:"message/",collapsible:!0,icon:"laptop-code",children:["","event","matcher","on","rule","session"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}]},bu=e=>{const{icon:t="",color:n,size:l}=e,r=n||l?{}:null;return n&&(r.color=n),l&&(r.height=Number.isNaN(Number(l))?l:`${l}px`),mn(t)?d("img",{class:"icon",src:t,alt:"","no-view":"",style:r}):ai(t)?d("img",{class:"icon",src:Ge(t),alt:"","aria-hidden":"","no-view":"",style:r}):d(mt("FontIcon"),e)};bu.displayName="HopeIcon";var Ke=bu;const m1="http://.",pi=()=>{const e=yn(),t=Jt();return n=>{if(n)if(ai(n))t.path!==n&&e.push(n);else if(sc(n))window&&window.open(n);else{const l=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${l}/${encodeURI(n)}`,m1).pathname)}}},ku=()=>{const e=ye(),t=Se();return x(()=>{const{author:n}=t.value;return n?Rs(n):n===!1?[]:Rs(e.value.author,!1)})},y1=()=>{const e=Se();return x(()=>lm(e.value.category).map(t=>({name:t,path:""})))},_1=()=>{const e=Se();return x(()=>rm(e.value.tag).map(t=>({name:t,path:""})))},b1=()=>{const e=Se(),t=Te();return x(()=>{const n=Nv(e.value.date);if(n)return n;const{createdTime:l}=t.value.git||{};return l?new Date(l):null})},k1=()=>{const e=ye(),t=Te(),n=Se(),l=ku(),r=y1(),a=_1(),i=b1(),s=yu(),o=p1(),c=x(()=>({author:l.value,category:r.value,date:i.value,localizedDate:t.value.localizedDate,tag:a.value,isOriginal:n.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:o.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:w1,pcBreakPoint:E1}=_u,Bs=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Nr=()=>{const e=Q(!1),t=Q(!1),n=()=>{e.value=window.innerWidth<=(Bs(w1)??719),t.value=window.innerWidth>=(Bs(E1)??1440)};return we(()=>{n(),$e("resize",n,!1),$e("orientationchange",n,!1)}),{isMobile:e,isPC:t}},wu=Symbol(""),Dl=()=>{const e=Me(wu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},C1=e=>{const t=en(),n=Jv(),l=x(()=>t.value.darkmode||"switch"),r=Gn("vuepress-theme-hope-scheme","auto"),a=x(()=>{const s=l.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?n.value:s==="toggle"?r.value==="dark":r.value==="dark"||r.value==="auto"&&n.value}),i=x(()=>{const s=l.value;return s==="switch"||s==="toggle"});e.provide(wu,{canToggle:i,config:l,isDarkmode:a,status:r}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>a.value}})},A1=()=>{const{config:e,isDarkmode:t,status:n}=Dl();So(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),we(()=>{ve(t,l=>document.documentElement.setAttribute("data-theme",l?"dark":"light"),{immediate:!0})})};var Et=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Et||{}),L1=(e=>(e.type="y",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))(L1||{}),x1=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(x1||{});const cn=(e="",t="")=>ai(t)?t:`${ic(e)}${t}`,Fn=(e,t=!1)=>{const{meta:n,path:l,notFound:r}=xr(e);return r?{text:l,link:l}:{text:!t&&n[Et.shortTitle]?n[Et.shortTitle]:n[Et.title]||l,link:l,...n[Et.icon]?{icon:n[Et.icon]}:{}}},Ca=({config:e,prefix:t=""})=>{const n=(l,r=t)=>{const a=Oe(l)?Fn(cn(r,l)):l.link?{...l,...jn(l.link)?{}:{link:Fn(cn(r,l.link)).link}}:l;if("children"in a){const i=cn(r,a.prefix),s=a.children==="structure"?fi[i]:a.children;return{type:"group",...a,prefix:i,children:s.map(o=>n(o,i))}}return{type:"page",...a}};return e.map(l=>n(l))},T1=({config:e,page:t,headerDepth:n})=>{const l=Zt(e).sort((r,a)=>a.length-r.length);for(const r of l)if(Vn(decodeURI(t.path),r)){const a=e[r];return a?Ca({config:a==="structure"?fi[r]:a,page:t,headerDepth:n,prefix:r}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},S1=({config:e,routeLocale:t,page:n,headerDepth:l})=>e==="structure"?Ca({config:fi[t],page:n,headerDepth:l,prefix:t}):wa(e)?Ca({config:e,page:n,headerDepth:l}):qn(e)?T1({config:e,page:n,headerDepth:l}):[],Eu=Symbol(""),N1=()=>{const e=Se(),t=ye(),n=Te(),l=Xt(),r=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),a=x(()=>e.value.headerDepth??t.value.headerDepth??2),i=ii(()=>[r.value,a.value,n.value.path,null],()=>S1({config:r.value,routeLocale:l.value,page:n.value,headerDepth:a.value}));On(Eu,i)},hi=()=>{const e=Me(Eu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var I1=U({name:"PageFooter",setup(){const e=en(),t=ye(),n=Se(),l=ku(),r=x(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),a=x(()=>{const{footer:c}=n.value;return c===!1?!1:Oe(c)?c:t.value.footer||""}),i=x(()=>l.value.map(({name:c})=>c).join(", ")),s=c=>`Copyright © ${new Date().getFullYear()} ${i.value} ${c?`${c} Licensed`:""}`,o=x(()=>{const{copyright:c,license:u=""}=n.value,{license:f}=e.value,{copyright:p}=t.value;return c??(u?s(u):Oe(p)?p:i.value||f?s(f):!1)});return()=>r.value?d("footer",{class:"vp-footer-wrapper"},[a.value?d("div",{class:"vp-footer",innerHTML:a.value}):null,o.value?d("div",{class:"vp-copyright",innerHTML:o.value}):null]):null}}),Xe=U({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:l}){const r=Jt(),a=kc(),i=mr(e,"config"),s=x(()=>mn(i.value.link)),o=x(()=>!s.value&&sc(i.value.link)),c=x(()=>i.value.target||(s.value?"_blank":void 0)),u=x(()=>c.value==="_blank"),f=x(()=>!s.value&&!o.value&&!u.value),p=x(()=>i.value.rel||(u.value?"noopener noreferrer":null)),h=x(()=>i.value.ariaLabel||i.value.text),g=x(()=>{if(e.exact)return!1;const _=Zt(a.value.locales);return _.length?_.every(k=>k!==i.value.link):i.value.link!=="/"}),b=x(()=>f.value?i.value.activeMatch?new RegExp(i.value.activeMatch,"u").test(r.path):g.value?Vn(r.path,i.value.link):r.path===i.value.link:!1);return()=>{const{before:_,after:k,default:C}=l,{text:y,icon:A,link:O}=i.value;return f.value?d(Je,{to:O,"aria-label":h.value,...t,class:["nav-link",{active:b.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[_?_():d(Ke,{icon:A}),y,k==null?void 0:k()]):d("a",{href:O,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[_?_():d(Ke,{icon:A}),y,e.noExternalLinkIcon?null:d(Wc),k==null?void 0:k()])}}}),Cu=U({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Te(),l=mr(e,"config"),r=x(()=>l.value.ariaLabel||l.value.text),a=Q(!1);ve(()=>n.value.path,()=>{a.value=!1});const i=s=>{s.detail===0&&(a.value=!a.value)};return()=>{var s;return d("div",{class:["dropdown-wrapper",{open:a.value}]},[d("button",{type:"button",class:"dropdown-title","aria-label":r.value,onClick:i},[((s=t.title)==null?void 0:s.call(t))||d("span",{class:"title"},[d(Ke,{icon:l.value.icon}),e.config.text]),d("span",{class:"arrow"}),d("ul",{class:"nav-dropdown"},l.value.children.map((o,c)=>{const u=c===l.value.children.length-1;return d("li",{class:"dropdown-item"},"children"in o?[d("h4",{class:"dropdown-subtitle"},o.link?d(Xe,{config:o,onFocusout:()=>{o.children.length===0&&u&&(a.value=!1)}}):d("span",o.text)),d("ul",{class:"dropdown-subitem-wrapper"},o.children.map((f,p)=>d("li",{class:"dropdown-subitem"},d(Xe,{config:f,onFocusout:()=>{p===o.children.length-1&&u&&(a.value=!1)}}))))]:d(Xe,{config:o,onFocusout:()=>{u&&(a.value=!1)}}))}))])])}}});const Au=()=>d(Ne,{name:"i18n"},()=>[d("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"})]);Au.displayName="I18nIcon";const Lu=(e,t="")=>Oe(e)?Fn(cn(t,e)):"children"in e?{...e,...e.link&&!jn(e.link)?Fn(cn(t,e.link)):{},children:e.children.map(n=>Lu(n,cn(t,e.prefix)))}:{...e,link:jn(e.link)?e.link:Fn(cn(t,e.link)).link},xu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Lu(n));return ii(()=>e.value.navbar,()=>t())},O1=()=>{const e=dv(),t=Jt(),n=Xt(),l=Lr(),r=en(),a=ye();return ii(()=>t.path,()=>{const i=Zt(l.value.locales),s=Oc(r.value.extraLocales??{});if(i.length<2&&!s.length)return null;const{path:o,fullPath:c}=t,{navbarLocales:u}=a.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...i.map(f=>{var k,C,y;const p=((k=l.value.locales)==null?void 0:k[f])??{},h=((C=r.value.locales)==null?void 0:C[f])??{},g=p.lang||"",b=((y=h.navbarLocales)==null?void 0:y.langName)??g;let _;if(g===l.value.lang)_=o;else{const A=o.replace(n.value,f);_=e.value.some(O=>O===A)?c.replace(o,A):h.home??f}return{text:b,link:_}}),...s.map(([f,p])=>({text:f,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},P1=()=>{const e=ye(),t=x(()=>e.value.repo||null),n=x(()=>t.value?tm(t.value):null),l=x(()=>t.value?cu(t.value):null),r=x(()=>n.value?e.value.repoLabel??(l.value===null?"Source":l.value):null);return x(()=>!n.value||!r.value||e.value.repoDisplay===!1?null:{type:l.value||"Source",label:r.value,link:n.value})};var R1=U({name:"LanguageDropdown",setup(){const e=O1();return()=>e.value?d("div",{class:"nav-item"},d(Cu,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return d(Au,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),F1=U({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Te(),n=mr(e,"config"),l=x(()=>n.value.ariaLabel||n.value.text),r=Q(!1);ve(()=>t.value.path,()=>{r.value=!1});const a=(i,s)=>s[s.length-1]===i;return()=>[d("button",{type:"button",class:["nav-screen-dropdown-title",{active:r.value}],"aria-label":l.value,onClick:()=>{r.value=!r.value}},[d("span",{class:"title"},[d(Ke,{icon:n.value.icon}),e.config.text]),d("span",{class:["arrow",r.value?"down":"end"]})]),d("ul",{class:["nav-screen-dropdown",{hide:!r.value}]},n.value.children.map(i=>d("li",{class:"dropdown-item"},"children"in i?[d("h4",{class:"dropdown-subtitle"},i.link?d(Xe,{config:i,onFocusout:()=>{a(i,n.value.children)&&i.children.length===0&&(r.value=!1)}}):d("span",i.text)),d("ul",{class:"dropdown-subitem-wrapper"},i.children.map(s=>d("li",{class:"dropdown-subitem"},d(Xe,{config:s,onFocusout:()=>{a(s,i.children)&&a(i,n.value.children)&&(r.value=!1)}}))))]:d(Xe,{config:i,onFocusout:()=>{a(i,n.value.children)&&(r.value=!1)}}))))]}}),$1=U({name:"NavScreenLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"nav-screen-links"},e.value.map(t=>d("div",{class:"navbar-links-item"},"children"in t?d(F1,{config:t}):d(Xe,{config:t})))):null}});const Tu=()=>d(Ne,{name:"dark"},()=>d("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"}));Tu.displayName="DarkIcon";const Su=()=>d(Ne,{name:"light"},()=>d("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"}));Su.displayName="LightIcon";const Nu=()=>d(Ne,{name:"auto"},()=>d("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"}));Nu.displayName="AutoIcon";const Iu=()=>d(Ne,{name:"enter-fullscreen"},()=>d("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"}));Iu.displayName="EnterFullScreenIcon";const Ou=()=>d(Ne,{name:"cancel-fullscreen"},()=>d("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"}));Ou.displayName="CancelFullScreenIcon";const Pu=()=>d(Ne,{name:"outlook"},()=>[d("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"})]);Pu.displayName="OutlookIcon";var Ru=U({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Dl(),l=Ml(),r=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},a=async i=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!l.value)||!i){r();return}const s=i.clientX,o=i.clientY,c=Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o)),u=t.value;await document.startViewTransition(async()=>{r(),await Qt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${s}px ${o}px)`,`circle(0px at ${s}px ${o}px)`]:[`circle(0px at ${s}px ${o}px)`,`circle(${c}px at ${s}px ${o}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>d("button",{type:"button",id:"appearance-switch",onClick:a},[d(Nu,{style:{display:n.value==="auto"?"block":"none"}}),d(Tu,{style:{display:n.value==="dark"?"block":"none"}}),d(Su,{style:{display:n.value==="light"?"block":"none"}})])}}),M1=U({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Dl(),n=x(()=>e.value.outlookLocales.darkmode);return()=>t.value?d("div",{class:"appearance-wrapper"},[d("label",{class:"appearance-title",for:"appearance-switch"},n.value),d(Ru)]):null}});const ea=_u.enableThemeColor==="true";var Fu=U({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:l}=oi(),r=x(()=>e.value.outlookLocales.fullscreen);return()=>t?d("div",{class:"full-screen-wrapper"},[d("label",{class:"full-screen-title",for:"full-screen-switch"},r.value),d("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>l()},n.value?d(Ou):d(Iu))]):null}}),$u=U({name:"OutlookSettings",setup(){const e=en(),t=Ml(),n=x(()=>!t.value&&e.value.fullscreen);return()=>d(Tr,()=>[null,d(M1),n.value?d(Fu):null])}}),D1=U({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const l=Te(),{isMobile:r}=Nr(),a=De(),i=Hc(a);return we(()=>{a.value=document.body,ve(r,s=>{!s&&e.show&&(i.value=!1,t("close"))}),ve(()=>l.value.path,()=>{i.value=!1,t("close")})}),gn(()=>{i.value=!1}),()=>d(Yt,{name:"fade",onEnter:()=>{i.value=!0},onAfterLeave:()=>{i.value=!1}},()=>{var s,o;return e.show?d("div",{id:"nav-screen"},d("div",{class:"vp-nav-screen-container"},[(s=n.before)==null?void 0:s.call(n),d($1),d("div",{class:"vp-outlook-wrapper"},d($u)),(o=n.after)==null?void 0:o.call(n)])):null})}}),j1=U({name:"NavbarBrand",setup(){const e=Xt(),t=Lr(),n=ye(),l=x(()=>n.value.home||e.value),r=x(()=>t.value.title),a=x(()=>n.value.navTitle??r.value),i=x(()=>n.value.logo?Ge(n.value.logo):null),s=x(()=>n.value.logoDark?Ge(n.value.logoDark):null);return()=>d(Je,{to:l.value,class:"vp-brand"},()=>[i.value?d("img",{class:["vp-nav-logo",{light:!!s.value}],src:i.value,alt:""}):null,s.value?d("img",{class:["vp-nav-logo dark"],src:s.value,alt:""}):null,a.value?d("span",{class:["vp-site-name",{"hide-in-pad":i.value&&n.value.hideSiteNameOnMobile!==!1}]},a.value):null])}}),H1=U({name:"NavbarLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"vp-nav-links"},e.value.map(t=>d("div",{class:"nav-item hide-in-mobile"},"children"in t?d(Cu,{config:t}):d(Xe,{config:t})))):null}}),B1=U({name:"RepoLink",components:{BitbucketIcon:ru,GiteeIcon:lu,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:au},setup(){const e=P1();return()=>e.value?d("div",{class:"nav-item vp-repo"},d("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},d(mt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Mu=({active:e=!1},{emit:t})=>d("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},d("span",[d("span",{class:"vp-top"}),d("span",{class:"vp-middle"}),d("span",{class:"vp-bottom"})]));Mu.displayName="ToggleNavbarButton";var V1=Mu;const Aa=(e,{emit:t})=>d("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},d("span",{class:"icon"}));Aa.displayName="ToggleSidebarButton",Aa.emits=["toggle"];var U1=Aa,z1=U({name:"OutlookButton",setup(){const{isSupported:e}=oi(),t=en(),n=Ml(),l=Te(),{canToggle:r}=Dl(),a=Q(!1),i=x(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>l.value.path,()=>{a.value=!1}),()=>r.value||i.value||ea?d("div",{class:"nav-item hide-in-mobile"},r.value&&!i.value&&!ea?d(Ru):i.value&&!r.value&&!ea?d(Fu):d("button",{type:"button",class:["outlook-button",{open:a.value}],tabindex:"-1","aria-hidden":!0},[d(Pu),d("div",{class:"outlook-dropdown"},d($u))])):null}}),q1=U({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const l=ye(),{isMobile:r}=Nr(),a=Q(!1),i=x(()=>{const{navbarAutoHide:u="mobile"}=l.value;return u!=="none"&&(u==="always"||r.value)}),s=x(()=>l.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),o={Brand:j1,Language:R1,Links:H1,Repo:B1,Outlook:z1,Search:dt("Docsearch")?mt("Docsearch"):dt("SearchBox")?mt("SearchBox"):Hs},c=u=>o[u]??(dt(u)?mt(u):Hs);return()=>{var u,f,p,h,g,b;return[d("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":i.value,"hide-icon":l.value.navbarIcon===!1}]},[d("div",{class:"vp-navbar-start"},[d(U1,{onToggle:()=>{a.value&&(a.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(s.value.start||[]).map(_=>d(c(_))),(f=n.startAfter)==null?void 0:f.call(n)]),d("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(s.value.center||[]).map(_=>d(c(_))),(h=n.centerAfter)==null?void 0:h.call(n)]),d("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(s.value.end||[]).map(_=>d(c(_))),(b=n.endAfter)==null?void 0:b.call(n),d(V1,{active:a.value,onToggle:()=>{a.value=!a.value}})])]),d(D1,{show:a.value,onClose:()=>{a.value=!1}},{before:()=>{var _;return(_=n.screenTop)==null?void 0:_.call(n)},after:()=>{var _;return(_=n.screenBottom)==null?void 0:_.call(n)}})]}}});const bl=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):ou(e,t.link)?!0:"children"in t&&!n?t.children.some(l=>bl(e,l)):!1,Du=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Du(e,n):n.type==="page"&&bl(e,n,!0))||"prefix"in t&&ou(e,t.prefix):!1;var W1=U({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>Oe(e.config.link)?d(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:bl(t,e.config,!0)}],exact:!0,config:e.config}):d("p",e,[d(Ke,{icon:e.config.icon}),e.config.text])}}),G1=U({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),l=x(()=>bl(n,e.config)),r=x(()=>bl(n,e.config,!0));return()=>{const{collapsible:a,children:i=[],icon:s,prefix:o,link:c,text:u}=e.config;return d("section",{class:"vp-sidebar-group"},[d(a?"button":"p",{class:["vp-sidebar-header",{clickable:a||c,exact:r.value,active:l.value}],...a?{type:"button",onClick:()=>t("toggle"),onKeydown:f=>{f.key==="Enter"&&t("toggle")}}:{}},[d(Ke,{icon:s}),c?d(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):d("span",{class:"vp-sidebar-title"},u),a?d("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!a?d(ju,{key:o,config:i}):null])}}}),ju=U({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=Q(-1),l=r=>{n.value=r===n.value?-1:r};return ve(()=>t.path,()=>{const r=e.config.findIndex(a=>Du(t,a));n.value=r},{immediate:!0,flush:"post"}),()=>d("ul",{class:"vp-sidebar-links"},e.config.map((r,a)=>d("li",r.type==="group"?d(G1,{config:r,open:a===n.value,onToggle:()=>l(a)}):d(W1,{config:r}))))}}),K1=U({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),l=ye(),r=hi(),a=De();return we(()=>{ve(()=>n.hash,i=>{const s=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${i}"]`);if(!s)return;const{top:o,height:c}=a.value.getBoundingClientRect(),{top:u,height:f}=s.getBoundingClientRect();uo+c&&s.scrollIntoView(!1)},{immediate:!0})}),()=>{var i,s,o;return d("aside",{ref:a,id:"sidebar",class:["vp-sidebar",{"hide-icon":l.value.sidebarIcon===!1}],key:"sidebar"},[(i=t.top)==null?void 0:i.call(t),((s=t.default)==null?void 0:s.call(t))||d(ju,{config:r.value}),(o=t.bottom)==null?void 0:o.call(t)])}}}),Hu=U({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=yn(),l=Te(),r=Se(),a=ye(),{isMobile:i,isPC:s}=Nr(),[o,c]=yl(!1),[u,f]=yl(!1),p=hi(),h=Q(!1),g=x(()=>e.noNavbar||r.value.navbar===!1||a.value.navbar===!1?!1:!!(l.value.title||a.value.logo||a.value.repo||a.value.navbar)),b=x(()=>e.noSidebar?!1:r.value.sidebar!==!1&&p.value.length!==0&&!r.value.home),_=x(()=>e.noToc||r.value.home?!1:r.value.toc||a.value.toc!==!1&&r.value.toc!==!1),k={x:0,y:0},C=L=>{k.x=L.changedTouches[0].clientX,k.y=L.changedTouches[0].clientY},y=L=>{const N=L.changedTouches[0].clientX-k.x,P=L.changedTouches[0].clientY-k.y;Math.abs(N)>Math.abs(P)*1.5&&Math.abs(N)>40&&(N>0&&k.x<=80?c(!0):c(!1))},A=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let O=0;return $e("scroll",jv(()=>{const L=A();L<=58||L{L||c(!1)}),we(()=>{const L=Hc(document.body);ve(o,P=>{L.value=P});const N=n.afterEach(()=>{c(!1)});gn(()=>{L.value=!1,N()})}),()=>d(dt("GlobalEncrypt")?mt("GlobalEncrypt"):eu,()=>d("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!b.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":_.value,"hide-navbar":h.value,"sidebar-collapsed":!i.value&&!s.value&&u.value,"sidebar-open":i.value&&o.value},e.containerClass,r.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[g.value?d(q1,{onToggleSidebar:()=>c()},{startBefore:()=>{var L;return(L=t.navbarStartBefore)==null?void 0:L.call(t)},startAfter:()=>{var L;return(L=t.navbarStartAfter)==null?void 0:L.call(t)},centerBefore:()=>{var L;return(L=t.navbarCenterBefore)==null?void 0:L.call(t)},centerAfter:()=>{var L;return(L=t.navbarCenterAfter)==null?void 0:L.call(t)},endBefore:()=>{var L;return(L=t.navbarEndBefore)==null?void 0:L.call(t)},endAfter:()=>{var L;return(L=t.navbarEndAfter)==null?void 0:L.call(t)},screenTop:()=>{var L;return(L=t.navScreenTop)==null?void 0:L.call(t)},screenBottom:()=>{var L;return(L=t.navScreenBottom)==null?void 0:L.call(t)}}):null,d(Yt,{name:"fade"},()=>o.value?d("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),d(Yt,{name:"fade"},()=>i.value?null:d("div",{class:"toggle-sidebar-wrapper",onClick:()=>f()},d("span",{class:["arrow",u.value?"end":"start"]}))),d(K1,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var L;return(L=t.sidebarTop)==null?void 0:L.call(t)},bottom:()=>{var L;return(L=t.sidebarBottom)==null?void 0:L.call(t)}}),t.default(),d(I1)]))}}),Ln=U({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=r=>{r.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,r.style.transform="translateY(-20px)",r.style.opacity="0"},l=r=>{r.style.transform="translateY(0)",r.style.opacity="1"};return()=>d(e.type==="single"?Yt:Np,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:l,onEnter:n,onAfterEnter:l,onBeforeLeave:n},()=>t.default())}});const La=({custom:e})=>d(Ec,{class:["theme-hope-content",{custom:e}]});La.displayName="MarkdownContent",La.props={custom:Boolean};var Bu=La;const Vu=()=>d(Ne,{name:"author"},()=>d("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"}));Vu.displayName="AuthorIcon";const Uu=()=>d(Ne,{name:"calendar"},()=>d("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"}));Uu.displayName="CalendarIcon";const zu=()=>d(Ne,{name:"category"},()=>d("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"}));zu.displayName="CategoryIcon";const qu=()=>d(Ne,{name:"print"},()=>d("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"}));qu.displayName="PrintIcon";const Wu=()=>d(Ne,{name:"tag"},()=>d("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"}));Wu.displayName="TagIcon";const Gu=()=>d(Ne,{name:"timer"},()=>d("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"}));Gu.displayName="TimerIcon";const Ku=()=>d(Ne,{name:"word"},()=>[d("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"}),d("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"})]);Ku.displayName="WordIcon";const tn=()=>{const e=ye();return x(()=>e.value.metaLocales)};var Y1=U({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?d("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Vu),d("span",e.author.map(n=>n.url?d("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):d("span",{class:"page-author-item"},n.name))),d("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Q1=U({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.category.length?d("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(zu),e.category.map(({name:l,path:r})=>d("span",{class:["page-category-item",{[`category${iu(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),d("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),J1=U({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=li(),n=tn();return()=>e.date?d("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Uu),d("span",d(Tr,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),d("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),X1=U({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?d("span",{class:"page-original-info"},t.value.origin):null}}),Z1=U({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=x(()=>{if(!e.readingTime)return null;const{minutes:l}=e.readingTime;return l<1?"PT1M":`PT${Math.round(l)}M`});return()=>{var l,r;return(l=e.readingTimeLocale)!=null&&l.time?d("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Gu),d("span",(r=e.readingTimeLocale)==null?void 0:r.time),d("meta",{property:"timeRequired",content:n.value})]):null}}}),e3=U({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.tag.length?d("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Wu),e.tag.map(({name:l,path:r})=>d("span",{class:["page-tag-item",{[`tag${iu(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),d("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),t3=U({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn();return()=>{var n,l,r;return(n=e.readingTimeLocale)!=null&&n.words?d("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Ku),d("span",(l=e.readingTimeLocale)==null?void 0:l.words),d("meta",{property:"wordCount",content:(r=e.readingTime)==null?void 0:r.words})]):null}}}),n3=U({name:"PageInfo",components:{AuthorInfo:Y1,CategoryInfo:Q1,DateInfo:J1,OriginalInfo:X1,PageViewInfo:()=>null,ReadingTimeInfo:Z1,TagInfo:e3,WordInfo:t3},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ml();return()=>e.items?d("div",{class:"page-info"},e.items.map(n=>d(mt(`${n}Info`),{...e.info,pure:t.value}))):null}}),l3=U({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:d("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},d(qu))}}),r3=U({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),l=Te(),r=tn(),[a,i]=yl(),s=De(),o=Q("-1.7rem"),c=f=>{var p;(p=s.value)==null||p.scrollTo({top:f,behavior:"smooth"})},u=()=>{if(s.value){const f=document.querySelector(".vp-toc-item.active");f?o.value=`${f.getBoundingClientRect().top-s.value.getBoundingClientRect().top+s.value.scrollTop}px`:o.value="-1.7rem"}else o.value="-1.7rem"};return we(()=>{ve(()=>n.hash,f=>{if(s.value){const p=document.querySelector(`#toc a.toc-link[href$="${f}"]`);if(!p)return;const{top:h,height:g}=s.value.getBoundingClientRect(),{top:b,height:_}=p.getBoundingClientRect();bh+g&&c(s.value.scrollTop+b+_-h-g)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var g,b;const f=({title:_,level:k,slug:C})=>d(Je,{to:`#${C}`,class:["vp-toc-link",`level${k}`],onClick:()=>{i()}},()=>_),p=(_,k)=>_.length&&k>0?d("ul",{class:"vp-toc-list"},_.map(C=>{const y=p(C.children,k-1);return[d("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},f(C)),y?d("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):l.value.headers?p(l.value.headers,e.headerDepth):null;return h?d("div",{class:"vp-toc-placeholder"},[d("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),d("div",{class:"vp-toc-header",onClick:()=>{i()}},[r.value.toc,d(l3),d("div",{class:["arrow",a.value?"down":"end"]})]),d("div",{class:["vp-toc-wrapper",a.value?"open":""],ref:s},[h,d("div",{class:"vp-toc-marker",style:{top:o.value}})]),(b=t.after)==null?void 0:b.call(t)])]):null}}}),Yu=U({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Te(),n=ye(),l=De(),r=({target:a})=>{const i=document.querySelector(a.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 we(()=>{ve(()=>t.value.path,()=>l.value.focus())}),()=>[d("span",{ref:l,tabindex:"-1"}),d("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:r},n.value.routeLocales.skipToContent)]}});let ta=null,Jn=null;const a3={wait:()=>ta,pending:()=>{ta=new Promise(e=>{Jn=e})},resolve:()=>{Jn==null||Jn(),ta=null,Jn=null}},Qu=()=>a3;var Ju=U({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:l}=Qu();return()=>d(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:l},()=>{var r;return(r=t.default)==null?void 0:r.call(t)})}});const i3=(e,t)=>{const n=e.replace(t,"/").split("/"),l=[];let r=Za(t);return n.forEach((a,i)=>{i!==n.length-1?(r+=`${a}/`,l.push({link:r,name:a||"Home"})):a!==""&&(r+=a,l.push({link:r,name:a}))}),l},Xu=(e,{slots:t})=>{var f,p;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:a,description:i,image:s,imageDark:o,header:c,features:u=[]}=e;return d("div",{class:"vp-feature-wrapper"},[n?d("div",{class:["vp-feature-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?d("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${l})`},r]}):null,d("div",{class:"vp-feature",style:a?{color:a}:{}},[((f=t.image)==null?void 0:f.call(t,e))||[s?d("img",{class:["vp-feature-image",{light:o}],src:Ge(s),alt:""}):null,o?d("img",{class:"vp-feature-image dark",src:Ge(o),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?d("h2",{class:"vp-feature-header"},c):null,i?d("p",{class:"vp-feature-description",innerHTML:i}):null],u.length?d("div",{class:"vp-features"},u.map(({icon:h,title:g,details:b,link:_})=>{const k=[d("h3",{class:"vp-feature-title"},[d(Ke,{icon:h}),d("span",{innerHTML:g})]),d("p",{class:"vp-feature-details",innerHTML:b})];return _?jn(_)?d("a",{class:"vp-feature-item link",href:_,"aria-label":g,target:"_blank"},k):d(Je,{class:"vp-feature-item link",to:_,"aria-label":g},()=>k):d("div",{class:"vp-feature-item"},k)})):null])])};Xu.displayName="FeaturePanel";var Vs=Xu,s3=U({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Se(),l=Lr(),r=x(()=>n.value.heroFullScreen??!1),a=x(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??l.value.title??"Hello",tagline:u??l.value.description??"",isFullScreen:r.value}}),i=x(()=>{const{heroText:c,heroImage:u,heroImageDark:f,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ge(u):null,imageDark:f?Ge(f):null,style:h,alt:p||c||"",isFullScreen:r.value}}),s=x(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:f}=n.value;return{image:Oe(c)?Ge(c):null,imageDark:Oe(u)?Ge(u):null,bgStyle:f,isFullScreen:r.value}}),o=x(()=>n.value.actions??[]);return()=>{var c,u,f;return d("header",{class:["vp-hero-info-wrapper",{fullscreen:r.value}]},[((c=t.heroBg)==null?void 0:c.call(t,s.value))||[s.value.image?d("div",{class:["vp-hero-mask",{light:s.value.imageDark}],style:[{"background-image":`url(${s.value.image})`},s.value.bgStyle]}):null,s.value.imageDark?d("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${s.value.imageDark})`},s.value.bgStyle]}):null],d("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,i.value))||d(Ln,{appear:!0,type:"group"},()=>[i.value.image?d("img",{key:"light",class:["vp-hero-image",{light:i.value.imageDark}],style:i.value.style,src:i.value.image,alt:i.value.alt}):null,i.value.imageDark?d("img",{key:"dark",class:"vp-hero-image dark",style:i.value.style,src:i.value.imageDark,alt:i.value.alt}):null]),((f=t.heroInfo)==null?void 0:f.call(t,a.value))??d("div",{class:"vp-hero-infos"},[a.value.text?d(Ln,{appear:!0,delay:.04},()=>d("h1",{id:"main-title"},a.value.text)):null,a.value.tagline?d(Ln,{appear:!0,delay:.08},()=>d("p",{id:"main-description",innerHTML:a.value.tagline})):null,o.value.length?d(Ln,{appear:!0,delay:.12},()=>d("p",{class:"vp-hero-actions"},o.value.map(p=>d(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>d(Ke,{icon:p.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var p,h,g;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:a,description:i,image:s,imageDark:o,header:c,highlights:u=[],type:f="un-order"}=e;return d("div",{class:"vp-highlight-wrapper",style:a?{color:a}:{}},[n?d("div",{class:["vp-highlight-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?d("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${l})`},r]}):null,d("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[s?d("img",{class:["vp-highlight-image",{light:o}],src:Ge(s),alt:""}):null,o?d("img",{class:"vp-highlight-image dark",src:Ge(o),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[d("div",{class:"vp-highlight-info-wrapper"},d("div",{class:"vp-highlight-info"},[c?d("h2",{class:"vp-highlight-header",innerHTML:c}):null,i?d("p",{class:"vp-highlight-description",innerHTML:i}):null,((g=t.highlights)==null?void 0:g.call(t,u))||d(f==="order"?"ol":f==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:b,title:_,details:k,link:C})=>{const y=[d(f==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[b?d(Ke,{class:"vp-highlight-icon",icon:b}):null,d("span",{innerHTML:_})]),k?d(f==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:k}):null];return d(f==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?jn(C)?d("a",{class:"vp-highlight-item link",href:C,"aria-label":_,target:"_blank"},y):d(Je,{class:"vp-highlight-item link",to:C,"aria-label":_},()=>y):d("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var o3=Zu,c3=U({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ml(),l=Se(),r=x(()=>{const{features:i}=l.value;return wa(i)?i:null}),a=x(()=>{const{highlights:i}=l.value;return wa(i)?i:null});return()=>{var i,s,o,c;return d("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":l.value.heroText===null?"":"main-title"},[(i=t.top)==null?void 0:i.call(t),d(s3),((s=a.value)==null?void 0:s.map(u=>"features"in u?d(Vs,u):d(o3,u)))||(r.value?d(Ln,{appear:!0,delay:.24},()=>d(Vs,{features:r.value})):null),(o=t.center)==null?void 0:o.call(t),d(Ln,{appear:!0,delay:.32},()=>d(Bu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),u3=U({name:"BreadCrumb",setup(){const e=Te(),t=Xt(),n=Se(),l=ye(),r=De([]),a=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&l.value.breadcrumb!==!1)&&r.value.length>1),i=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&l.value.breadcrumbIcon!==!1),s=()=>{const o=i3(e.value.path,t.value).map(({link:c,name:u})=>{const{path:f,meta:p,notFound:h}=xr(c);return h||p[Et.breadcrumbExclude]?null:{title:p[Et.shortTitle]||p[Et.title]||u,icon:p[Et.icon],path:f}}).filter(c=>c!==null);o.length>1&&(r.value=o)};return we(()=>{ve(()=>e.value.path,s,{immediate:!0})}),()=>d("nav",{class:["vp-breadcrumb",{disable:!a.value}]},a.value?d("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},r.value.map((o,c)=>d("li",{class:{"is-active":r.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[d(Je,{to:o.path,property:"item",typeof:"WebPage"},()=>[i.value?d(Ke,{icon:o.icon}):null,d("span",{property:"name"},o.title||"Unknown")]),d("meta",{property:"position",content:c+1})]))):[])}});const Us=e=>e===!1||qn(e)?e:Oe(e)?Fn(e,!0):null,xa=(e,t,n)=>{const l=e.findIndex(r=>r.link===t);if(l!==-1){const r=e[l+n];return r!=null&&r.link?r:null}for(const r of e)if("children"in r){const a=xa(r.children,t,n);if(a)return a}return null};var d3=U({name:"PageNav",setup(){const e=ye(),t=Se(),n=hi(),l=Te(),r=pi(),a=x(()=>{const s=Us(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:xa(n.value,l.value.path,-1))}),i=x(()=>{const s=Us(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:xa(n.value,l.value.path,1))});return $e("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?i.value&&(r(i.value.link),s.preventDefault()):s.key==="ArrowLeft"&&a.value&&(r(a.value.link),s.preventDefault()))}),()=>a.value||i.value?d("nav",{class:"vp-page-nav"},[a.value?d(Xe,{class:"prev",config:a.value},()=>{var s,o;return[d("div",{class:"hint"},[d("span",{class:"arrow start"}),e.value.metaLocales.prev]),d("div",{class:"link"},[d(Ke,{icon:(s=a.value)==null?void 0:s.icon}),(o=a.value)==null?void 0:o.text])]}):null,i.value?d(Xe,{class:"next",config:i.value},()=>{var s,o;return[d("div",{class:"hint"},[e.value.metaLocales.next,d("span",{class:"arrow end"})]),d("div",{class:"link"},[(s=i.value)==null?void 0:s.text,d(Ke,{icon:(o=i.value)==null?void 0:o.icon})])]}):null]):null}});const f3={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"},p3=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:l,editLinkPattern:r})=>{if(!l)return null;const a=cu(e);let i;return r?i=r:a!==null&&(i=f3[a]),i?i.replace(/:repo/u,mn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,oc(`${Za(n)}/${l}`)):null},h3=()=>{const e=ye(),t=Te(),n=Se();return x(()=>{const{repo:l,docsRepo:r=l,docsBranch:a="main",docsDir:i="",editLink:s,editLinkPattern:o=""}=e.value;if(!(n.value.editLink??s??!0)||!r)return null;const c=p3({docsRepo:r,docsBranch:a,docsDir:i,editLinkPattern:o,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},v3=()=>{const e=Lr(),t=ye(),n=Te(),l=Se();return x(()=>{var r,a;return!(l.value.lastUpdated??t.value.lastUpdated??!0)||!((r=n.value.git)!=null&&r.updatedTime)?null:new Date((a=n.value.git)==null?void 0:a.updatedTime).toLocaleString(e.value.lang)})},g3=()=>{const e=ye(),t=Te(),n=Se();return x(()=>{var l;return n.value.contributors??e.value.contributors??!0?((l=t.value.git)==null?void 0:l.contributors)??null:null})};var m3=U({name:"PageTitle",setup(){const e=Te(),t=Se(),n=ye(),{info:l,items:r}=k1();return()=>d("div",{class:"vp-page-title"},[d("h1",[n.value.titleIcon===!1?null:d(Ke,{icon:t.value.icon}),e.value.title]),d(n3,{info:l.value,...r.value===null?{}:{items:r.value}}),d("hr")])}});const ed=()=>d(Ne,{name:"edit"},()=>[d("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"}),d("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"})]);ed.displayName="EditIcon";var y3=U({name:"PageMeta",setup(){const e=ye(),t=h3(),n=v3(),l=g3();return()=>{const{metaLocales:r}=e.value;return d("footer",{class:"page-meta"},[t.value?d("div",{class:"meta-item edit-link"},d(Xe,{class:"label",config:t.value},{before:()=>d(ed)})):null,d("div",{class:"meta-item git-info"},[n.value?d("div",{class:"update-time"},[d("span",{class:"label"},`${r.lastUpdated}: `),d(Tr,()=>d("span",{class:"info"},n.value))]):null,l.value&&l.value.length?d("div",{class:"contributors"},[d("span",{class:"label"},`${r.contributors}: `),l.value.map(({email:a,name:i},s)=>[d("span",{class:"contributor",title:`email: ${a}`},i),s!==l.value.length-1?",":""])]):null])])}}}),_3=U({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Se(),{isDarkmode:l}=Dl(),r=ye(),a=x(()=>n.value.toc||n.value.toc!==!1&&r.value.toc!==!1);return()=>d("main",{id:"main-content",class:"vp-page"},d(dt("LocalEncrypt")?mt("LocalEncrypt"):eu,()=>{var i,s,o,c;return[(i=t.top)==null?void 0:i.call(t),n.value.cover?d("div",{class:"page-cover"},d("img",{src:Ge(n.value.cover),alt:"","no-view":""})):null,d(u3),d(m3),a.value?d(r3,{headerDepth:n.value.headerDepth??r.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(s=t.contentBefore)==null?void 0:s.call(t),d(Bu),(o=t.contentAfter)==null?void 0:o.call(t),d(y3),d(d3),dt("CommentService")?d(mt("CommentService"),{darkmode:l.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),b3=U({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Te(),l=Se(),{isMobile:r}=Nr(),a=x(()=>"none");return()=>[d(Yu),d(Hu,{},{default:()=>{var i;return((i=t.default)==null?void 0:i.call(t))||(l.value.home?d(c3):d(Ju,()=>d(_3,{key:n.value.path},{top:()=>{var s;return(s=t.top)==null?void 0:s.call(t)},bottom:()=>{var s;return(s=t.bottom)==null?void 0:s.call(t)},contentBefore:()=>{var s;return(s=t.contentBefore)==null?void 0:s.call(t)},contentAfter:()=>{var s;return(s=t.contentAfter)==null?void 0:s.call(t)},tocBefore:()=>{var s;return(s=t.tocBefore)==null?void 0:s.call(t)},tocAfter:()=>{var s;return(s=t.tocAfter)==null?void 0:s.call(t)}})))},...a.value==="none"?{}:{navScreenBottom:()=>d(mt("BloggerInfo"))},...!r.value&&a.value==="always"?{sidebar:()=>d(mt("BloggerInfo"))}:{}})]}}),k3=U({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>d("div",{class:"not-found-hint"},[d("p",{class:"error-code"},"404"),d("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),d("p",{class:"error-hint"},t())])}}),w3=U({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=yn(),l=Xt(),r=ye();return()=>[d(Yu),d(Hu,{noSidebar:!0},()=>{var a;return d("main",{id:"main-content",class:"vp-page not-found"},((a=t.default)==null?void 0:a.call(t))||[d(k3),d("div",{class:"actions"},[d("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},r.value.routeLocales.back),d("button",{type:"button",class:"action-button",onClick:()=>{n.push(r.value.home??l.value)}},r.value.routeLocales.home)])])})]}});const td=()=>d(Ne,{name:"lock"},()=>d("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));td.displayName="LockIcon";var E3={};const kn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),na=Array.from({length:64},(e,t)=>t),Zl=e=>Array(e).fill(-1),$t=[...Zl(46),0,1,...na.slice(54,64),...Zl(7),...na.slice(2,28),...Zl(6),...na.slice(28,54),...Zl(5)],zs=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],qs=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],nd=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Ta=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,l,r;const a=[];for(;n>2&63]),l=(l&3)<<4,n>=t){a.push(kn[l&63]);break}if(r=e[n++]&255,l|=r>>4&15,a.push(kn[l&63]),l=(r&15)<<2,n>=t){a.push(kn[l&63]);break}r=e[n++]&255,l|=r>>6&3,a.push(kn[l&63]),a.push(kn[r&63])}return a.join("")},C3=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let l=0,r=0,a,i,s,o,c,u;const f=[];for(;l>>0,c|=(i&48)>>4,f.push(String.fromCharCode(c)),++r>=t||l>=n)||(u=e.charCodeAt(l++),s=u<$t.length?$t[u]:-1,s==-1)||(c=(i&15)<<4>>>0,c|=(s&60)>>2,f.push(String.fromCharCode(c)),++r>=t||l>=n)));)u=e.charCodeAt(l++),o=u<$t.length?$t[u]:-1,c=(s&3)<<6>>>0,c|=o,f.push(String.fromCharCode(c)),++r;return f.map(p=>p.charCodeAt(0))},A3=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},L3=(e,t)=>{let n,l=null;for(;(n=l!==null?l:e())!==null;){if(n>=55296&&n<=57343&&(l=e())!==null&&l>=56320&&l<=57343){t((n-55296)*1024+l-56320+65536),l=null;continue}t(n)}l!==null&&t(l)},x3=(e,t)=>{L3(e,function(n){A3(n,t)})},T3=typeof process=="object"&&E3.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,S3=e=>{const t=[];let n=0;return x3(()=>n>=e.length?null:e.charCodeAt(n++),l=>{t.push(l)}),t},kl=(e,t,n,l)=>{let r,a=e[t],i=e[t+1];return a^=n[0],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[1],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[2],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[3],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[4],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[5],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[6],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[7],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[8],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[9],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[10],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[11],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[12],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[13],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[14],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[15],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[16],e[t]=i^n[17],e[t+1]=a,e},Cn=(e,t)=>{let n=0;for(let l=0;l<4;++l)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Ws=(e,t,n)=>{const l=t.length,r=n.length;let a=0,i=[0,0],s;for(let o=0;o{const r=n.length,a=l.length;let i=0,s=[0,0],o;for(let c=0;c{const a=nd.slice(),i=a.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(l===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(l===!1)return Promise.reject(p);throw p}n=1<>>0;let s,o,c=0,u;Int32Array?(s=new Int32Array(zs),o=new Int32Array(qs)):(s=zs.slice(),o=qs.slice()),N3(t,e,s,o);const f=()=>{if(r&&r(c/n),c100)););}else{for(c=0;c<64;c++)for(u=0;u>1;u++)kl(a,u<<1,s,o);const p=[];for(c=0;c>24&255)>>>0),p.push((a[c]>>16&255)>>>0),p.push((a[c]>>8&255)>>>0),p.push((a[c]&255)>>>0);return l===!1?Promise.resolve(p):p}if(l===!1)return new Promise(p=>T3(()=>{f().then(p)}))};if(l===!1)return f();{let p;for(;;)if(typeof(p=f())<"u")return p||[]}},I3=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},O3=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Ta(I3(16),16)),t.join("")};function P3(e,t,n,l){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let r,a;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")r="\0",a=3;else{if(r=t.charAt(2),r!=="a"&&r!=="b"&&r!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}a=4}if(t.charAt(a+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const i=parseInt(t.substring(a,a+1),10)*10,s=parseInt(t.substring(a+1,a+2),10),o=i+s,c=t.substring(a+3,a+25);e+=r>="a"?"\0":"";const u=S3(e),f=C3(c,16),p=h=>{const g=[];return g.push("$2"),r>="a"&&g.push(r),g.push("$"),o<10&&g.push("0"),g.push(o.toString()),g.push("$"),g.push(Ta(f,f.length)),g.push(Ta(h,nd.length*4-1)),g.join("")};return n===!1?Gs(u,f,o,!1,l).then(h=>p(h)):p(Gs(u,f,o,!0,l))}const R3=(e,t=10)=>{if(typeof t=="number"&&(t=O3(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return P3(e,t,!0)},Sa=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:R3(e,t.substring(0,t.length-31))===t};var ld=U({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Se(),l=ye(),r=Q(""),a=Q(!1),i=Q(!1),s=x(()=>l.value.encryptLocales);let o=null;const c=()=>{o&&clearTimeout(o),a.value=!1,t("verify",r.value,i.value),Qt().then(()=>{a.value=!0,o=setTimeout(()=>{a.value=!1},1e3)})};return()=>d("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},d("div",{class:"vp-decrypt-modal"},[d("div",{class:["vp-decrypt-hint",{tried:a.value}]},a.value?s.value.errorHint:d(td,{"aria-label":s.value.iconLabel})),d("div",{class:"vp-decrypt-input"},[d("input",{type:"password",value:r.value,placeholder:s.value.placeholder,onInput:({target:u})=>{r.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),d("div",{class:"vp-remember-password"},[d("input",{type:"checkbox",value:i.value,onChange:()=>i.value=!i.value}),s.value.remember]),d("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const rd=()=>{const e=en();return x(()=>e.value.encrypt||{})},Ks="VUEPRESS_HOPE_GLOBAL_TOKEN",F3=()=>{const e=rd(),t=Gn(Ks,""),n=Bc(Ks,""),l=x(()=>{const{global:a=!1,admin:i=[]}=e.value;return a&&i.length>0}),r=x(()=>{if(l.value){if(t.value)return e.value.admin.some(a=>Sa(t.value,a));if(n.value)return e.value.admin.some(a=>Sa(n.value,a))}return!1});return{isEncrypted:l,isDecrypted:r,validate:(a,i=!1)=>{(i?t:n).value=a}}},la=(e="",t)=>!!e&&Sa(e,t),Ys="VUEPRESS_HOPE_PATH_TOKEN",$3=()=>{const e=Te(),t=rd(),n=Gn(Ys,{}),l=Bc(Ys,{}),r=i=>qn(t.value.config)?Zt(t.value.config).filter(s=>Vn(decodeURI(i),s)).sort((s,o)=>o.length-s.length):[],a=i=>{const s=r(i);if(s.length>0){const{config:o={}}=t.value;return{isEncrypted:!0,isDecrypted:s.some(c=>n.value[c]&&o[c].some(u=>la(n.value[c],u))||l.value[c]&&o[c].some(u=>la(l.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:x(()=>a(e.value.path)),getStatus:a,validate:(i,s=!1)=>{const{config:o={}}=t.value,c=r(e.value.path);for(const u of c)if(o[u].filter(f=>la(i,f))){(s?n:l).value[u]=i;break}}}};var M3=U({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:l,validate:r}=F3(),a=Q(!1);return we(()=>{a.value=!0}),()=>d(Ju,()=>l.value?a.value?n.value?t.default():d(ld,{full:!0,onVerify:r}):null:t.default())}}),D3=U({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:l}=$3(),r=Q(!1);return we(()=>{r.value=!0}),()=>{const{isEncrypted:a,isDecrypted:i}=n.value;return a?r.value?i?t.default():d(ld,{full:!0,onVerify:l}):null:t.default()}}});dg(e=>{const t=e.t,n=e.I!==!1,l=e.i;return n?{title:t,content:l?()=>[d(Ke,{icon:l}),t]:null,order:e.O,index:e.I}:null});const j3=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...l)=>(await Qu().wait(),n(...l)),C1(e),e.component("HopeIcon",Ke),e.component("GlobalEncrypt",M3),e.component("LocalEncrypt",D3)},setup:()=>{A1(),N1()},layouts:{Layout:b3,NotFound:w3}}),H3=e=>(xl("data-v-3b58f839"),e=e(),Tl(),e),B3={class:"item-card"},V3={class:"item-name"},U3={class:"item-description"},z3={class:"item-bar"},q3=["href"],W3=H3(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),G3=[W3],K3=["href"],Y3=["src"],Q3={class:"author-name"},J3=U({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,l)=>(yt(),Gt("div",B3,[se("div",V3,Ut(t.item.name),1),se("div",U3,Ut(t.item.description),1),se("div",z3,[fn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.link,class:""},G3,8,q3),se("div",null,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,Y3),se("div",Q3,Ut(t.item.author),1)],8,K3)])])]))}}),_n=(e,t)=>{const n=e.__vccOpts||e;for(const[l,r]of t)n[l]=r;return n},X3=_n(J3,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Z3=e=>(xl("data-v-002d38b2"),e=e(),Tl(),e),e0={class:"market"},t0=Z3(()=>se("h1",null,"主题/资源商店",-1)),n0={class:"search-box-div"},l0={class:"items"},r0=U({__name:"ResStore",setup(e){let t=x(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.description.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())).reverse():n.value.reverse()),n=Q([]),l=Q("");return fetch("/assets/resources.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),(r,a)=>(yt(),Gt("div",e0,[t0,se("div",n0,[Io(se("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":a[0]||(a[0]=i=>Fe(l)?l.value=i:l=i)},null,512),[[ac,lt(l)]])]),se("div",l0,[fn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(ze,null,Mo(lt(t),i=>(yt(),Ja(X3,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),a0=_n(r0,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var i0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function s0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ad={exports:{}};/*! +`)(n):Promise.resolve({option:JSON.parse(e)});var Nm=U({name:"ECharts",props:{config:{type:String,required:!0},id:{type:String,required:!0},title:{type:String,default:""},type:{type:String,default:"json"}},setup(e){const t=Lm(),n=Q(!0),l=De();let r;return $e("resize",Fc(()=>r==null?void 0:r.resize(),100)),we(()=>{Promise.all([F(()=>import("./index-Cw_AvLww.js"),__vite__mapDeps([])),new Promise(a=>setTimeout(a,800))]).then(async([a])=>{var o;await((o=t.setup)==null?void 0:o.call(t)),r=a.init(l.value);const{option:i,...s}=await Sm(ka(e.config),e.type,r);r.resize(s),r.setOption({...t.option,...i}),n.value=!1})}),gn(()=>{r==null||r.dispose()}),()=>[e.title?d("div",{class:"echarts-title"},decodeURIComponent(e.title)):null,d("div",{class:"echarts-wrapper"},[d("div",{ref:l,class:"echarts-container",id:e.id}),n.value?d(ui,{class:"echarts-loading",height:360}):null])]}});const Im=()=>{$e("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},Zr=Kn("VUEPRESS_TAB_STORE",{});var Om=U({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),l=De([]),r=()=>{e.tabId&&(Zr.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:l.value.length-1,l.value[n.value].focus()},s=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),r()},o=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Zr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return we(()=>{n.value=o(),ve(()=>Zr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?d("div",{class:"vp-tabs"},[d("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const f=u===n.value;return d("button",{type:"button",ref:p=>{p&&(l.value[u]=p)},class:["vp-tab-nav",{active:f}],role:"tab","aria-controls":`tab-${e.id}-${u}`,"aria-selected":f,onClick:()=>{n.value=u,r()},onKeydown:p=>s(p,u)},t[`title${u}`]({value:c,isActive:f}))})),e.data.map(({id:c},u)=>{const f=u===n.value;return d("div",{class:["vp-tab",{active:f}],id:`tab-${e.id}-${u}`,role:"tabpanel","aria-expanded":f},[d("div",{class:"vp-tab-title"},t[`title${u}`]({value:c,isActive:f})),t[`tab${u}`]({value:c,isActive:f})])})]):null}});const Pm=et({enhance:({app:e})=>{e.component("CodeTabs",Xg),dt("CodeGroup",e)||e.component("CodeGroup",Zg),dt("CodeGroupItem",e)||e.component("CodeGroupItem",Zc),e.component("CodeDemo",Em),e.component("MdDemo",Cm),e.component("ECharts",Nm),xm(e),e.component("Tabs",Om)},setup:()=>{Im()}});let Rm={};const gu=Symbol(""),Fm=()=>Me(gu),$m=e=>{e.provide(gu,Rm)},Mm='
',Dm=e=>Oe(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),mu=e=>new Promise((t,n)=>{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(mu(e)),e.onerror=l=>n(l))}),jm=e=>{const{isSupported:t,toggle:n}=oi();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(l,r)=>{l.setAttribute("download",""),l.setAttribute("target","_blank"),l.setAttribute("rel","noopener"),r.on("change",()=>{l.setAttribute("href",r.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(l,r)=>{const a=[];let i=-1;for(let s=0;s{r.goTo(a.indexOf(c.target))},a.push(o),l.appendChild(o)}r.on("change",()=>{i>=0&&a[i].classList.remove("active"),a[r.currIndex].classList.add("active"),i=r.currIndex})}})})},Hm=(e,t,n=!0)=>F(()=>import("./photoswipe.esm-SzV8tJDW.js"),__vite__mapDeps([])).then(({default:l})=>{let r=null;const a=e.map(i=>({html:Mm,element:i,msrc:i.src}));return e.forEach((i,s)=>{const o=()=>{r==null||r.destroy(),r=new l({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:a,index:s,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),jm(r),r.addFilter("thumbEl",()=>i),r.addFilter("placeholderSrc",()=>i.src),r.init()};i.getAttribute("photo-swipe")||(i.style.cursor="zoom-in",i.addEventListener("click",()=>{o()}),i.addEventListener("keypress",({key:c})=>{c==="Enter"&&o()}),i.setAttribute("photo-swipe","")),mu(i).then(c=>{a.splice(s,1,c),r==null||r.refreshSlideContent(s)})}),n?$e("wheel",()=>{r==null||r.close()}):()=>{}}),Bm=({selector:e,locales:t,delay:n=500,scrollToClose:l=!0})=>{const r=Fm(),a=Pl(t),i=Te(),s=Se();let o=null;const c=()=>{const{photoSwipe:u}=s.value;u!==!1&&Qt().then(()=>Nc(n)).then(async()=>{const f=Oe(u)?u:e;o=await Hm(Dm(f),{...r,...a.value},l)})};we(()=>{c(),ve(()=>i.value.path,()=>{o==null||o(),c()})}),gn(()=>{o==null||o()})};var Vm={"/en/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"},"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const Um=".theme-hope-content :not(a) > img:not([no-view])",zm=Vm,qm=800,Wm=!0,Km=et({enhance:({app:e})=>{$m(e)},setup:()=>{Bm({selector:Um,delay:qm,locales:zm,scrollToClose:Wm})}}),Gm=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,Ym=(e,t)=>t.some(n=>{if(Oe(n))return n===e.key;const{key:l,ctrl:r=!1,shift:a=!1,alt:i=!1}=n;return l===e.key&&r===e.ctrlKey&&a===e.shiftKey&&i===e.altKey}),Qm=/[^\x00-\x7F]/,Jm=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),$s=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),Ms=(e,t)=>{const n=t.join(" "),l=Jm(e);if(Qm.test(e))return l.some(i=>n.toLowerCase().indexOf(i)>-1);const r=e.endsWith(" ");return new RegExp(l.map((i,s)=>l.length===s+1&&!r?`(?=.*\\b${$s(i)})`:`(?=.*\\b${$s(i)}\\b)`).join("")+".+","gi").test(n)},Xm=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=l=>{e.value&&Ym(l,t.value)&&!Gm(l.target)&&(l.preventDefault(),e.value.focus())};we(()=>{document.addEventListener("keydown",n)}),Ga(()=>{document.removeEventListener("keydown",n)})},Zm=[{title:"首页",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"项目部署",headers:[],path:"/deploy/",pathLocale:"/",extraFields:[]},{title:"配置",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/deploy/config.html",pathLocale:"/",extraFields:[]},{title:"答疑",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/deploy/fandq.html",pathLocale:"/",extraFields:[]},{title:"安装",headers:[{level:2,title:"开始安装",slug:"开始安装",link:"#开始安装",children:[{level:3,title:"常规部署",slug:"常规部署",link:"#常规部署",children:[]},{level:3,title:"使用Docker构建镜像部署",slug:"使用docker构建镜像部署",link:"#使用docker构建镜像部署",children:[]},{level:3,title:"使用TRSS Scripts部署",slug:"使用trss-scripts部署",link:"#使用trss-scripts部署",children:[]}]},{level:2,title:"设备要求",slug:"设备要求",link:"#设备要求",children:[]}],path:"/deploy/install.html",pathLocale:"/",extraFields:[]},{title:"开发及贡献",headers:[],path:"/dev/",pathLocale:"/",extraFields:[]},{title:"进程通信",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/dev/dev_comm.html",pathLocale:"/",extraFields:[]},{title:"轻雪函数",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/dev/dev_lyfunc.html",pathLocale:"/",extraFields:[]},{title:"轻雪插件开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/dev/dev_lyplugin.html",pathLocale:"/",extraFields:[]},{title:"资源包开发",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/dev/dev_resource_pack.html",pathLocale:"/",extraFields:[]},{title:"Home",headers:[],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"资源及插件商店",headers:[],path:"/store/",pathLocale:"/",extraFields:[]},{title:"插件商店",headers:[],path:"/store/plugin.html",pathLocale:"/",extraFields:[]},{title:"资源商店",headers:[],path:"/store/resource.html",pathLocale:"/",extraFields:[]},{title:"使用手册",headers:[],path:"/usage/",pathLocale:"/",extraFields:[]},{title:"用户协议",headers:[],path:"/usage/agreement.html",pathLocale:"/",extraFields:[]},{title:"基础命令",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/usage/basic_command.html",pathLocale:"/",extraFields:[]},{title:"功能命令",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/usage/extra_command.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/dev/api/",pathLocale:"/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]},{level:3,title:"var new_config = copy.deepcopy(config)",slug:"var-new-config-copy-deepcopy-config",link:"#var-new-config-copy-deepcopy-config",children:[]},{level:3,title:"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))",slug:"var-config-yaml-safe-load-open-file-r-encoding-utf-8",link:"#var-config-yaml-safe-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = json.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-json-load-open-file-r-encoding-utf-8",link:"#var-config-json-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = toml.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-toml-load-open-file-r-encoding-utf-8",link:"#var-config-toml-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = {}",slug:"var-config",link:"#var-config",children:[]},{level:3,title:"var config = {}",slug:"var-config-1",link:"#var-config-1",children:[]},{level:3,title:"var config = load_configs_from_dirs('config', no_waring=no_waring)",slug:"var-config-load-configs-from-dirs-config-no-waring-no-waring",link:"#var-config-load-configs-from-dirs-config-no-waring-no-waring",children:[]}],path:"/dev/api/config.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/dev/api/exception.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]},{level:3,title:"var logger = loguru.logger",slug:"var-logger-loguru-logger",link:"#var-logger-loguru-logger",children:[]},{level:3,title:"var show_icon = config.get('log_icon', True)",slug:"var-show-icon-config-get-log-icon-true",link:"#var-show-icon-config-get-log-icon-true",children:[]}],path:"/dev/api/log.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"def get_relative_path(base_path: str, target_path: str) -> str",slug:"def-get-relative-path-base-path-str-target-path-str-str",link:"#def-get-relative-path-base-path-str-target-path-str-str",children:[]},{level:3,title:"def write_to_files(file_data: dict[str, str]) -> None",slug:"def-write-to-files-file-data-dict-str-str-none",link:"#def-write-to-files-file-data-dict-str-str-none",children:[]},{level:3,title:"def get_file_list(module_folder: str) -> None",slug:"def-get-file-list-module-folder-str-none",link:"#def-get-file-list-module-folder-str-none",children:[]},{level:3,title:"def get_module_info_normal(file_path: str, ignore_private: bool) -> ModuleInfo",slug:"def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",link:"#def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",children:[]},{level:3,title:"def generate_markdown(module_info: ModuleInfo, front_matter: Any) -> str",slug:"def-generate-markdown-module-info-moduleinfo-front-matter-any-str",link:"#def-generate-markdown-module-info-moduleinfo-front-matter-any-str",children:[]},{level:3,title:"def generate_docs(module_folder: str, output_dir: str, with_top: bool, ignored_paths: Any) -> None",slug:"def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",link:"#def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"attr FUNCTION: 'function'",slug:"attr-function-function",link:"#attr-function-function",children:[]},{level:3,title:"attr METHOD: 'method'",slug:"attr-method-method",link:"#attr-method-method",children:[]},{level:3,title:"attr STATIC_METHOD: 'staticmethod'",slug:"attr-static-method-staticmethod",link:"#attr-static-method-staticmethod",children:[]},{level:3,title:"attr CLASS_METHOD: 'classmethod'",slug:"attr-class-method-classmethod",link:"#attr-class-method-classmethod",children:[]},{level:3,title:"attr PROPERTY: 'property'",slug:"attr-property-property",link:"#attr-property-property",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]},{level:3,title:"var NO_TYPE_ANY = 'Any'",slug:"var-no-type-any-any",link:"#var-no-type-any-any",children:[]},{level:3,title:"var NO_TYPE_HINT = 'NoTypeHint'",slug:"var-no-type-hint-notypehint",link:"#var-no-type-hint-notypehint",children:[]},{level:3,title:"var FUNCTION = 'function'",slug:"var-function-function",link:"#var-function-function",children:[]},{level:3,title:"var METHOD = 'method'",slug:"var-method-method",link:"#var-method-method",children:[]},{level:3,title:"var STATIC_METHOD = 'staticmethod'",slug:"var-static-method-staticmethod",link:"#var-static-method-staticmethod",children:[]},{level:3,title:"var CLASS_METHOD = 'classmethod'",slug:"var-class-method-classmethod",link:"#var-class-method-classmethod",children:[]},{level:3,title:"var PROPERTY = 'property'",slug:"var-property-property",link:"#var-property-property",children:[]},{level:3,title:"var file_list = []",slug:"var-file-list",link:"#var-file-list",children:[]},{level:3,title:"var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')",slug:"var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",link:"#var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",children:[]},{level:3,title:"var module_docstring = ast.get_docstring(tree)",slug:"var-module-docstring-ast-get-docstring-tree",link:"#var-module-docstring-ast-get-docstring-tree",children:[]},{level:3,title:"var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')",slug:"var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",link:"#var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",children:[]},{level:3,title:"var content = ''",slug:"var-content",link:"#var-content",children:[]},{level:3,title:"var front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\\n---\\n\\n'",slug:"var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",link:"#var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",children:[]},{level:3,title:"var file_list = get_file_list(module_folder)",slug:"var-file-list-get-file-list-module-folder",link:"#var-file-list-get-file-list-module-folder",children:[]},{level:3,title:"var replace_data = {'__init__': 'README', '.py': '.md'}",slug:"var-replace-data-init-readme-py-md",link:"#var-replace-data-init-readme-py-md",children:[]},{level:3,title:"var file_content = file.read()",slug:"var-file-content-file-read",link:"#var-file-content-file-read",children:[]},{level:3,title:"var tree = ast.parse(file_content)",slug:"var-tree-ast-parse-file-content",link:"#var-tree-ast-parse-file-content",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",children:[]},{level:3,title:"var ignored_paths = []",slug:"var-ignored-paths",link:"#var-ignored-paths",children:[]},{level:3,title:"var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)",slug:"var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",link:"#var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",children:[]},{level:3,title:"var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path",slug:"var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",link:"#var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",children:[]},{level:3,title:"var abs_md_path = os.path.join(output_dir, rel_md_path)",slug:"var-abs-md-path-os-path-join-output-dir-rel-md-path",link:"#var-abs-md-path-os-path-join-output-dir-rel-md-path",children:[]},{level:3,title:"var module_info = get_module_info_normal(pyfile_path)",slug:"var-module-info-get-module-info-normal-pyfile-path",link:"#var-module-info-get-module-info-normal-pyfile-path",children:[]},{level:3,title:"var md_content = generate_markdown(module_info, front_matter)",slug:"var-md-content-generate-markdown-module-info-front-matter",link:"#var-md-content-generate-markdown-module-info-front-matter",children:[]},{level:3,title:`var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''`,slug:"var-inherit-f-join-cls-inherit-if-cls-inherit-else",link:"#var-inherit-f-join-cls-inherit-if-cls-inherit-else",children:[]},{level:3,title:"var rel_md_path = rel_md_path.replace(rk, rv)",slug:"var-rel-md-path-rel-md-path-replace-rk-rv",link:"#var-rel-md-path-rel-md-path-replace-rk-rv",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('_', '\\\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",children:[]},{level:3,title:"var function_docstring = ast.get_docstring(node)",slug:"var-function-docstring-ast-get-docstring-node",link:"#var-function-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))",slug:"var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",link:"#var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",children:[]},{level:3,title:"var class_docstring = ast.get_docstring(node)",slug:"var-class-docstring-ast-get-docstring-node",link:"#var-class-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])",slug:"var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",link:"#var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var first_arg = node.args.args[0]",slug:"var-first-arg-node-args-args-0",link:"#var-first-arg-node-args-args-0",children:[]},{level:3,title:"var method_docstring = ast.get_docstring(class_node)",slug:"var-method-docstring-ast-get-docstring-class-node",link:"#var-method-docstring-ast-get-docstring-class-node",children:[]},{level:3,title:"var def_type = DefType.METHOD",slug:"var-def-type-deftype-method",link:"#var-def-type-deftype-method",children:[]},{level:3,title:"var def_type = DefType.STATIC_METHOD",slug:"var-def-type-deftype-static-method",link:"#var-def-type-deftype-static-method",children:[]},{level:3,title:"var attr_type = NO_TYPE_HINT",slug:"var-attr-type-no-type-hint",link:"#var-attr-type-no-type-hint",children:[]},{level:3,title:"var def_type = DefType.CLASS_METHOD",slug:"var-def-type-deftype-class-method",link:"#var-def-type-deftype-class-method",children:[]},{level:3,title:"var attr_type = ast.unparse(node.value.annotation)",slug:"var-attr-type-ast-unparse-node-value-annotation",link:"#var-attr-type-ast-unparse-node-value-annotation",children:[]},{level:3,title:"var def_type = DefType.PROPERTY",slug:"var-def-type-deftype-property",link:"#var-def-type-deftype-property",children:[]}],path:"/dev/api/mkdoc.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]},{level:3,title:"var IS_MAIN_PROCESS = multiprocessing.current_process().name == 'MainProcess'",slug:"var-is-main-process-multiprocessing-current-process-name-mainprocess",link:"#var-is-main-process-multiprocessing-current-process-name-mainprocess",children:[]},{level:3,title:"var func_ = getattr(call, '__call__', None)",slug:"var-func-getattr-call-call-none",link:"#var-func-getattr-call-call-none",children:[]},{level:3,title:"var rel_path = path.resolve().relative_to(Path.cwd().resolve())",slug:"var-rel-path-path-resolve-relative-to-path-cwd-resolve",link:"#var-rel-path-path-resolve-relative-to-path-cwd-resolve",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/dev/api/utils.html",pathLocale:"/",extraFields:[]},{title:"Deploy",headers:[],path:"/en/deploy/",pathLocale:"/en/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"基础配置项",slug:"基础配置项",link:"#基础配置项",children:[]},{level:2,title:"其他配置",slug:"其他配置",link:"#其他配置",children:[]},{level:2,title:"与NoneBot对接的OneBot实现端配置",slug:"与nonebot对接的onebot实现端配置",link:"#与nonebot对接的onebot实现端配置",children:[]},{level:2,title:"其他",slug:"其他",link:"#其他",children:[]}],path:"/en/deploy/config.html",pathLocale:"/en/",extraFields:[]},{title:"FAQ",headers:[{level:2,title:"常见问题",slug:"常见问题",link:"#常见问题",children:[]},{level:2,title:"推荐方案(QQ)",slug:"推荐方案-qq",link:"#推荐方案-qq",children:[]},{level:2,title:"推荐方案(Minecraft)",slug:"推荐方案-minecraft",link:"#推荐方案-minecraft",children:[]},{level:2,title:"鸣谢",slug:"鸣谢",link:"#鸣谢",children:[]}],path:"/en/deploy/fandq.html",pathLocale:"/en/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"Installation",slug:"installation",link:"#installation",children:[{level:3,title:"Conventional deployment",slug:"conventional-deployment",link:"#conventional-deployment",children:[]},{level:3,title:"Use docker",slug:"use-docker",link:"#use-docker",children:[]},{level:3,title:"Use TRSS Scripts",slug:"use-trss-scripts",link:"#use-trss-scripts",children:[]}]},{level:2,title:"Device requirements",slug:"device-requirements",link:"#device-requirements",children:[]}],path:"/en/deploy/install.html",pathLocale:"/en/",extraFields:[]},{title:"Contribute",headers:[],path:"/en/dev/",pathLocale:"/en/",extraFields:[]},{title:"Communication",headers:[{level:2,title:"通道通信",slug:"通道通信",link:"#通道通信",children:[{level:3,title:"简介",slug:"简介",link:"#简介",children:[]},{level:3,title:"示例",slug:"示例",link:"#示例",children:[]}]},{level:2,title:"共享内存通信",slug:"共享内存通信",link:"#共享内存通信",children:[{level:3,title:"简介",slug:"简介-1",link:"#简介-1",children:[]},{level:3,title:"示例",slug:"示例-1",link:"#示例-1",children:[]}]}],path:"/en/dev/dev_comm.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Function",headers:[{level:2,title:"轻雪函数",slug:"轻雪函数",link:"#轻雪函数",children:[{level:3,title:"函数文件",slug:"函数文件",link:"#函数文件",children:[]},{level:3,title:"命令文档",slug:"命令文档",link:"#命令文档",children:[]},{level:3,title:"API",slug:"api",link:"#api",children:[]},{level:3,title:"结束关键字",slug:"结束关键字",link:"#结束关键字",children:[]}]}],path:"/en/dev/dev_lyfunc.html",pathLocale:"/en/",extraFields:[]},{title:"Liteyuki Plugin",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"开始",slug:"开始",link:"#开始",children:[{level:3,title:"创建插件",slug:"创建插件",link:"#创建插件",children:[]},{level:3,title:"编写逻辑部分",slug:"编写逻辑部分",link:"#编写逻辑部分",children:[]},{level:3,title:"加载插件",slug:"加载插件",link:"#加载插件",children:[]}]}],path:"/en/dev/dev_lyplugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Pack",headers:[{level:2,title:"简介",slug:"简介",link:"#简介",children:[]},{level:2,title:"加载资源包",slug:"加载资源包",link:"#加载资源包",children:[]}],path:"/en/dev/dev_resource_pack.html",pathLocale:"/en/",extraFields:[]},{title:"Extensions Store",headers:[],path:"/en/store/",pathLocale:"/en/",extraFields:[]},{title:"Plugin Store",headers:[],path:"/en/store/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"Resource Store",headers:[],path:"/en/store/resource.html",pathLocale:"/en/",extraFields:[]},{title:"Usage",headers:[],path:"/en/usage/",pathLocale:"/en/",extraFields:[]},{title:"User Agreement",headers:[],path:"/en/usage/agreement.html",pathLocale:"/en/",extraFields:[]},{title:"Basic Commands",headers:[{level:2,title:"轻雪命令liteyuki_command",slug:"轻雪命令liteyuki-command",link:"#轻雪命令liteyuki-command",children:[{level:3,title:"命令别名",slug:"命令别名",link:"#命令别名",children:[]}]},{level:2,title:"插件/包管理器 liteyuki_pacman",slug:"插件-包管理器-liteyuki-pacman",link:"#插件-包管理器-liteyuki-pacman",children:[{level:3,title:"命令别名",slug:"命令别名-1",link:"#命令别名-1",children:[]}]},{level:2,title:"用户管理liteyuki_user",slug:"用户管理liteyuki-user",link:"#用户管理liteyuki-user",children:[]}],path:"/en/usage/basic_command.html",pathLocale:"/en/",extraFields:[]},{title:"Extra Commands",headers:[{level:2,title:"功能插件命令",slug:"功能插件命令",link:"#功能插件命令",children:[{level:3,title:"轻雪天气liteyuki_weather",slug:"轻雪天气liteyuki-weather",link:"#轻雪天气liteyuki-weather",children:[]},{level:3,title:"统计信息liteyuki_statistics",slug:"统计信息liteyuki-statistics",link:"#统计信息liteyuki-statistics",children:[]}]}],path:"/en/usage/extra_command.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def run(self) -> None",slug:"def-run-self-none",link:"#def-run-self-none",children:[]},{level:3,title:"def keep_alive(self) -> None",slug:"def-keep-alive-self-none",link:"#def-keep-alive-self-none",children:[]},{level:3,title:"def restart(self, delay: int) -> None",slug:"def-restart-self-delay-int-none",link:"#def-restart-self-delay-int-none",children:[]},{level:3,title:"def restart_process(self, name: Optional[str]) -> None",slug:"def-restart-process-self-name-optional-str-none",link:"#def-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"def init(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def init_logger(self) -> None",slug:"def-init-logger-self-none",link:"#def-init-logger-self-none",children:[]},{level:3,title:"def stop(self) -> None",slug:"def-stop-self-none",link:"#def-stop-self-none",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-func-lifespan-func-none",link:"#def-on-before-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-func-lifespan-func-none",link:"#def-on-after-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-func-lifespan-func-none",link:"#def-on-after-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-func-lifespan-func-none",link:"#def-on-before-process-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-func-lifespan-func-none",link:"#def-on-after-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-func-lifespan-func-none",children:[]},{level:3,title:"var executable = sys.executable",slug:"var-executable-sys-executable",link:"#var-executable-sys-executable",children:[]},{level:3,title:"var args = sys.argv",slug:"var-args-sys-argv",link:"#var-args-sys-argv",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var cmd = 'start'",slug:"var-cmd-start",link:"#var-cmd-start",children:[]},{level:3,title:"var chan_active = get_channel(f'{process_name}-active')",slug:"var-chan-active-get-channel-f-process-name-active",link:"#var-chan-active-get-channel-f-process-name-active",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup",link:"#var-cmd-nohup",children:[]},{level:3,title:"var cmd = 'open'",slug:"var-cmd-open",link:"#var-cmd-open",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup-1",link:"#var-cmd-nohup-1",children:[]}],path:"/dev/api/bot/",pathLocale:"/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: Any) -> None",slug:"def-on-after-nonebot-init-self-func-any-none",link:"#def-on-after-nonebot-init-self-func-any-none",children:[]},{level:3,title:"def before_start(self) -> None",slug:"def-before-start-self-none",link:"#def-before-start-self-none",children:[]},{level:3,title:"def after_start(self) -> None",slug:"def-after-start-self-none",link:"#def-after-start-self-none",children:[]},{level:3,title:"def before_process_shutdown(self) -> None",slug:"def-before-process-shutdown-self-none",link:"#def-before-process-shutdown-self-none",children:[]},{level:3,title:"def after_shutdown(self) -> None",slug:"def-after-shutdown-self-none",link:"#def-after-shutdown-self-none",children:[]},{level:3,title:"def before_process_restart(self) -> None",slug:"def-before-process-restart-self-none",link:"#def-before-process-restart-self-none",children:[]},{level:3,title:"def after_restart(self) -> None",slug:"def-after-restart-self-none",link:"#def-after-restart-self-none",children:[]},{level:3,title:"var tasks = []",slug:"var-tasks",link:"#var-tasks",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/dev/api/bot/lifespan.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/dev/api/comm/",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def __init__(self, _id: str, type_check: Optional[bool]) -> None",slug:"def-init-self-id-str-type-check-optional-bool-none",link:"#def-init-self-id-str-type-check-optional-bool-none",children:[]},{level:3,title:"def send(self, data: T) -> None",slug:"def-send-self-data-t-none",link:"#def-send-self-data-t-none",children:[]},{level:3,title:"def receive(self) -> T",slug:"def-receive-self-t",link:"#def-receive-self-t",children:[]},{level:3,title:"def close(self) -> None",slug:"def-close-self-none",link:"#def-close-self-none",children:[]},{level:3,title:"def on_receive(self, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"var T = TypeVar('T')",slug:"var-t-typevar-t",link:"#var-t-typevar-t",children:[]},{level:3,title:"var channel_deliver_active_channel = Channel(_id='channel_deliver_active_channel')",slug:"var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",link:"#var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",children:[]},{level:3,title:"var channel_deliver_passive_channel = Channel(_id='channel_deliver_passive_channel')",slug:"var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",link:"#var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[Channel[Any]]('recv_chan')",slug:"var-recv-chan-channel-channel-any-recv-chan",link:"#var-recv-chan-channel-channel-any-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Channel[Any]]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-channel-any-recv-chan",link:"#var-recv-chan-channel-dict-str-channel-any-recv-chan",children:[]},{level:3,title:"var type_check = self._get_generic_type() is not None",slug:"var-type-check-self-get-generic-type-is-not-none",link:"#var-type-check-self-get-generic-type-is-not-none",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv",link:"#var-data-self-conn-recv-recv",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id",link:"#var-func-callback-funcs-func-id",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id-1",link:"#var-func-callback-funcs-func-id-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-1",link:"#var-data-self-conn-recv-recv-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-2",link:"#var-data-self-conn-recv-recv-2",children:[]}],path:"/dev/api/comm/channel.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, name: str, data: dict[str, Any]) -> None",slug:"def-init-self-name-str-data-dict-str-any-none",link:"#def-init-self-name-str-data-dict-str-any-none",children:[]}],path:"/dev/api/comm/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none",children:[]},{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_publish(data: tuple[str, Any]) -> None",slug:"def-on-publish-data-tuple-str-any-none",link:"#def-on-publish-data-tuple-str-any-none",children:[]},{level:3,title:"def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC",slug:"def-decorator-func-on-receive-func-on-receive-func",link:"#def-decorator-func-on-receive-func-on-receive-func",children:[]},{level:3,title:"async def wrapper(data: Any) -> None",slug:"async-def-wrapper-data-any-none",link:"#async-def-wrapper-data-any-none",children:[]},{level:3,title:"class Subscriber",slug:"class-subscriber",link:"#class-subscriber",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def receive(self) -> Any",slug:"def-receive-self-any",link:"#def-receive-self-any",children:[]},{level:3,title:"def unsubscribe(self) -> None",slug:"def-unsubscribe-self-none",link:"#def-unsubscribe-self-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def set(self, key: str, value: Any) -> None",slug:"def-set-self-key-str-value-any-none",link:"#def-set-self-key-str-value-any-none",children:[]},{level:3,title:"def get(self, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-key-str-default-optional-any-optional-any",link:"#def-get-self-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-key-str-ignore-key-error-bool-none",link:"#def-delete-self-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self) -> dict[str, Any]",slug:"def-get-all-self-dict-str-any",link:"#def-get-all-self-dict-str-any",children:[]},{level:3,title:"def publish(self, channel_: str, data: Any) -> None",slug:"def-publish-self-channel-str-data-any-none",link:"#def-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none-1",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none-1",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key",link:"#var-key-data-1-key",children:[]},{level:3,title:"var default = data[1]['default']",slug:"var-default-data-1-default",link:"#var-default-data-1-default",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-1",link:"#var-key-data-1-key-1",children:[]},{level:3,title:"var value = data[1]['value']",slug:"var-value-data-1-value",link:"#var-value-data-1-value",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-2",link:"#var-key-data-1-key-2",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan-1",link:"#var-recv-chan-data-1-recv-chan-1",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key",link:"#var-lock-get-lock-key",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-1",link:"#var-lock-get-lock-key-1",children:[]},{level:3,title:"var recv_chan = Channel[Optional[Any]]('recv_chan')",slug:"var-recv-chan-channel-optional-any-recv-chan",link:"#var-recv-chan-channel-optional-any-recv-chan",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-2",link:"#var-lock-get-lock-key-2",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Any]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-any-recv-chan",link:"#var-recv-chan-channel-dict-str-any-recv-chan",children:[]},{level:3,title:"var data = self.active_chan.receive()",slug:"var-data-self-active-chan-receive",link:"#var-data-self-active-chan-receive",children:[]},{level:3,title:"var data = self.publish_channel.receive()",slug:"var-data-self-publish-channel-receive",link:"#var-data-self-publish-channel-receive",children:[]}],path:"/dev/api/comm/storage.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/dev/api/core/",pathLocale:"/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None",slug:"def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",link:"#def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def __init__(self, lifespan: 'Lifespan') -> None",slug:"def-init-self-lifespan-lifespan-none",link:"#def-init-self-lifespan-lifespan-none",children:[]},{level:3,title:"def start(self, name: str) -> None",slug:"def-start-self-name-str-none",link:"#def-start-self-name-str-none",children:[]},{level:3,title:"def start_all(self) -> None",slug:"def-start-all-self-none",link:"#def-start-all-self-none",children:[]},{level:3,title:"def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self) -> None",slug:"def-join-all-self-none",link:"#def-join-all-self-none",children:[]},{level:3,title:"def terminate(self, name: str) -> None",slug:"def-terminate-self-name-str-none",link:"#def-terminate-self-name-str-none",children:[]},{level:3,title:"def terminate_all(self) -> None",slug:"def-terminate-all-self-none",link:"#def-terminate-all-self-none",children:[]},{level:3,title:"def is_process_alive(self, name: str) -> bool",slug:"def-is-process-alive-self-name-str-bool",link:"#def-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TIMEOUT = 10",slug:"var-timeout-10",link:"#var-timeout-10",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var channel_deliver = ChannelDeliver(active=chan_active, passive=chan_passive, channel_deliver_active=channel_deliver_active_channel, channel_deliver_passive=channel_deliver_passive_channel, publish=publish_channel)",slug:"var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",link:"#var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",children:[]},{level:3,title:"var process = self.processes[name]",slug:"var-process-self-processes-name",link:"#var-process-self-processes-name",children:[]},{level:3,title:"var process = Process(target=self.targets[name][0], args=self.targets[name][1], kwargs=self.targets[name][2], daemon=True)",slug:"var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",link:"#var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",children:[]},{level:3,title:"var data = chan_active.receive()",slug:"var-data-chan-active-receive",link:"#var-data-chan-active-receive",children:[]},{level:3,title:"var kwargs = {}",slug:"var-kwargs",link:"#var-kwargs",children:[]}],path:"/dev/api/core/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/dev/api/dev/",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self, event: Any) -> None",slug:"def-on-modified-self-event-any-none",link:"#def-on-modified-self-event-any-none",children:[]},{level:3,title:"def on_created(self, event: Any) -> None",slug:"def-on-created-self-event-any-none",link:"#def-on-created-self-event-any-none",children:[]},{level:3,title:"def on_deleted(self, event: Any) -> None",slug:"def-on-deleted-self-event-any-none",link:"#def-on-deleted-self-event-any-none",children:[]},{level:3,title:"def on_moved(self, event: Any) -> None",slug:"def-on-moved-self-event-any-none",link:"#def-on-moved-self-event-any-none",children:[]},{level:3,title:"def on_any_event(self, event: Any) -> None",slug:"def-on-any-event-self-event-any-none",link:"#def-on-any-event-self-event-any-none",children:[]},{level:3,title:"var liteyuki_bot = get_bot()",slug:"var-liteyuki-bot-get-bot",link:"#var-liteyuki-bot-get-bot",children:[]},{level:3,title:"var observer = Observer()",slug:"var-observer-observer",link:"#var-observer-observer",children:[]},{level:3,title:"var last_call_time = None",slug:"var-last-call-time-none",link:"#var-last-call-time-none",children:[]},{level:3,title:"var code_modified_handler = CodeModifiedHandler()",slug:"var-code-modified-handler-codemodifiedhandler",link:"#var-code-modified-handler-codemodifiedhandler",children:[]},{level:3,title:"var current_time = time.time()",slug:"var-current-time-time-time",link:"#var-current-time-time-time",children:[]},{level:3,title:"var last_call_time = current_time",slug:"var-last-call-time-current-time",link:"#var-last-call-time-current-time",children:[]}],path:"/dev/api/dev/observer.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]},{level:3,title:"var cfg = load_config_in_default()",slug:"var-cfg-load-config-in-default",link:"#var-cfg-load-config-in-default",children:[]},{level:3,title:"var plugins = cfg.get('liteyuki.plugins', [])",slug:"var-plugins-cfg-get-liteyuki-plugins",link:"#var-plugins-cfg-get-liteyuki-plugins",children:[]},{level:3,title:"var bot = LiteyukiBot(**cfg)",slug:"var-bot-liteyukibot-cfg",link:"#var-bot-liteyukibot-cfg",children:[]}],path:"/dev/api/dev/plugin.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/dev/api/message/",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class MessageEvent",slug:"class-messageevent",link:"#class-messageevent",children:[]},{level:3,title:"def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None",slug:"def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none",link:"#def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none",children:[]},{level:3,title:"def reply(self, message: str | dict[str, Any]) -> None",slug:"def-reply-self-message-str-dict-str-any-none",link:"#def-reply-self-message-str-dict-str-any-none",children:[]},{level:3,title:"var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')",slug:"var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",link:"#var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",children:[]},{level:3,title:"var data = {}",slug:"var-data",link:"#var-data",children:[]}],path:"/dev/api/message/event.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"def __init__(self, rule: Rule, priority: int, block: bool) -> None",slug:"def-init-self-rule-rule-priority-int-block-bool-none",link:"#def-init-self-rule-rule-priority-int-block-bool-none",children:[]},{level:3,title:"def handle(self, handler: EventHandler) -> EventHandler",slug:"def-handle-self-handler-eventhandler-eventhandler",link:"#def-handle-self-handler-eventhandler-eventhandler",children:[]}],path:"/dev/api/message/matcher.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"def on_message(rule: Rule, priority: int, block: bool) -> Matcher",slug:"def-on-message-rule-rule-priority-int-block-bool-matcher",link:"#def-on-message-rule-rule-priority-int-block-bool-matcher",children:[]},{level:3,title:"var current_priority = -1",slug:"var-current-priority-1",link:"#var-current-priority-1",children:[]},{level:3,title:"var matcher = Matcher(rule, priority, block)",slug:"var-matcher-matcher-rule-priority-block",link:"#var-matcher-matcher-rule-priority-block",children:[]},{level:3,title:"var current_priority = matcher.priority",slug:"var-current-priority-matcher-priority",link:"#var-current-priority-matcher-priority",children:[]}],path:"/dev/api/message/on.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"def __init__(self, handler: Optional[RuleHandler]) -> None",slug:"def-init-self-handler-optional-rulehandler-none",link:"#def-init-self-handler-optional-rulehandler-none",children:[]}],path:"/dev/api/message/rule.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/dev/api/message/session.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/dev/api/plugin/",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]},{level:3,title:"var module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path",slug:"var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",link:"#var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",children:[]},{level:3,title:"var plugins = set()",slug:"var-plugins-set",link:"#var-plugins-set",children:[]},{level:3,title:"var color = 'y'",slug:"var-color-y",link:"#var-color-y",children:[]},{level:3,title:"var module = import_module(module_path)",slug:"var-module-import-module-module-path",link:"#var-module-import-module-module-path",children:[]},{level:3,title:"var display_name = module.__name__.split('.')[-1]",slug:"var-display-name-module-name-split-1",link:"#var-display-name-module-name-split-1",children:[]},{level:3,title:`var display_name = format_display_name(f"{metadata.name}({module.__name__.split('.')[-1]})", metadata.type)`,slug:"var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",link:"#var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",children:[]},{level:3,title:"var path = Path(os.path.join(dir_path, f))",slug:"var-path-path-os-path-join-dir-path-f",link:"#var-path-path-os-path-join-dir-path-f",children:[]},{level:3,title:"var module_name = None",slug:"var-module-name-none",link:"#var-module-name-none",children:[]},{level:3,title:"var color = 'm'",slug:"var-color-m",link:"#var-color-m",children:[]},{level:3,title:"var color = 'g'",slug:"var-color-g",link:"#var-color-g",children:[]},{level:3,title:"var color = 'e'",slug:"var-color-e",link:"#var-color-e",children:[]},{level:3,title:"var color = 'c'",slug:"var-color-c",link:"#var-color-c",children:[]},{level:3,title:"var module_name = f'{path_to_module_name(Path(dir_path))}.{f[:-3]}'",slug:"var-module-name-f-path-to-module-name-path-dir-path-f-3",link:"#var-module-name-f-path-to-module-name-path-dir-path-f-3",children:[]},{level:3,title:"var module_name = path_to_module_name(path)",slug:"var-module-name-path-to-module-name-path",link:"#var-module-name-path-to-module-name-path",children:[]}],path:"/dev/api/plugin/load.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/dev/api/plugin/manager.html",pathLocale:"/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"attr TEST: 'test'",slug:"attr-test-test",link:"#attr-test-test",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]},{level:3,title:"var APPLICATION = 'application'",slug:"var-application-application",link:"#var-application-application",children:[]},{level:3,title:"var SERVICE = 'service'",slug:"var-service-service",link:"#var-service-service",children:[]},{level:3,title:"var MODULE = 'module'",slug:"var-module-module",link:"#var-module-module",children:[]},{level:3,title:"var UNCLASSIFIED = 'unclassified'",slug:"var-unclassified-unclassified",link:"#var-unclassified-unclassified",children:[]},{level:3,title:"var TEST = 'test'",slug:"var-test-test",link:"#var-test-test",children:[]},{level:3,title:"var model_config = {'arbitrary_types_allowed': True}",slug:"var-model-config-arbitrary-types-allowed-true",link:"#var-model-config-arbitrary-types-allowed-true",children:[]}],path:"/dev/api/plugin/model.html",pathLocale:"/",extraFields:[]},{title:"liteyuki",headers:[],path:"/en/dev/api/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.config",headers:[{level:3,title:"def flat_config(config: dict[str, Any]) -> dict[str, Any]",slug:"def-flat-config-config-dict-str-any-dict-str-any",link:"#def-flat-config-config-dict-str-any-dict-str-any",children:[]},{level:3,title:"def load_from_yaml(file: str) -> dict[str, Any]",slug:"def-load-from-yaml-file-str-dict-str-any",link:"#def-load-from-yaml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_json(file: str) -> dict[str, Any]",slug:"def-load-from-json-file-str-dict-str-any",link:"#def-load-from-json-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_toml(file: str) -> dict[str, Any]",slug:"def-load-from-toml-file-str-dict-str-any",link:"#def-load-from-toml-file-str-dict-str-any",children:[]},{level:3,title:"def load_from_files() -> dict[str, Any]",slug:"def-load-from-files-dict-str-any",link:"#def-load-from-files-dict-str-any",children:[]},{level:3,title:"def load_configs_from_dirs() -> dict[str, Any]",slug:"def-load-configs-from-dirs-dict-str-any",link:"#def-load-configs-from-dirs-dict-str-any",children:[]},{level:3,title:"def load_config_in_default(no_waring: bool) -> dict[str, Any]",slug:"def-load-config-in-default-no-waring-bool-dict-str-any",link:"#def-load-config-in-default-no-waring-bool-dict-str-any",children:[]},{level:3,title:"class SatoriNodeConfig(BaseModel)",slug:"class-satorinodeconfig-basemodel",link:"#class-satorinodeconfig-basemodel",children:[]},{level:3,title:"class SatoriConfig(BaseModel)",slug:"class-satoriconfig-basemodel",link:"#class-satoriconfig-basemodel",children:[]},{level:3,title:"class BasicConfig(BaseModel)",slug:"class-basicconfig-basemodel",link:"#class-basicconfig-basemodel",children:[]},{level:3,title:"var new_config = copy.deepcopy(config)",slug:"var-new-config-copy-deepcopy-config",link:"#var-new-config-copy-deepcopy-config",children:[]},{level:3,title:"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))",slug:"var-config-yaml-safe-load-open-file-r-encoding-utf-8",link:"#var-config-yaml-safe-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = json.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-json-load-open-file-r-encoding-utf-8",link:"#var-config-json-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = toml.load(open(file, 'r', encoding='utf-8'))",slug:"var-config-toml-load-open-file-r-encoding-utf-8",link:"#var-config-toml-load-open-file-r-encoding-utf-8",children:[]},{level:3,title:"var config = {}",slug:"var-config",link:"#var-config",children:[]},{level:3,title:"var config = {}",slug:"var-config-1",link:"#var-config-1",children:[]},{level:3,title:"var config = load_configs_from_dirs('config', no_waring=no_waring)",slug:"var-config-load-configs-from-dirs-config-no-waring-no-waring",link:"#var-config-load-configs-from-dirs-config-no-waring-no-waring",children:[]}],path:"/en/dev/api/config.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.exception",headers:[{level:3,title:"class LiteyukiException(BaseException)",slug:"class-liteyukiexception-baseexception",link:"#class-liteyukiexception-baseexception",children:[]}],path:"/en/dev/api/exception.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.log",headers:[{level:3,title:"def get_format(level: str) -> str",slug:"def-get-format-level-str-str",link:"#def-get-format-level-str-str",children:[]},{level:3,title:"def init_log(config: dict) -> None",slug:"def-init-log-config-dict-none",link:"#def-init-log-config-dict-none",children:[]},{level:3,title:"var logger = loguru.logger",slug:"var-logger-loguru-logger",link:"#var-logger-loguru-logger",children:[]},{level:3,title:"var show_icon = config.get('log_icon', True)",slug:"var-show-icon-config-get-log-icon-true",link:"#var-show-icon-config-get-log-icon-true",children:[]}],path:"/en/dev/api/log.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.mkdoc",headers:[{level:3,title:"def get_relative_path(base_path: str, target_path: str) -> str",slug:"def-get-relative-path-base-path-str-target-path-str-str",link:"#def-get-relative-path-base-path-str-target-path-str-str",children:[]},{level:3,title:"def write_to_files(file_data: dict[str, str]) -> None",slug:"def-write-to-files-file-data-dict-str-str-none",link:"#def-write-to-files-file-data-dict-str-str-none",children:[]},{level:3,title:"def get_file_list(module_folder: str) -> None",slug:"def-get-file-list-module-folder-str-none",link:"#def-get-file-list-module-folder-str-none",children:[]},{level:3,title:"def get_module_info_normal(file_path: str, ignore_private: bool) -> ModuleInfo",slug:"def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",link:"#def-get-module-info-normal-file-path-str-ignore-private-bool-moduleinfo",children:[]},{level:3,title:"def generate_markdown(module_info: ModuleInfo, front_matter: Any) -> str",slug:"def-generate-markdown-module-info-moduleinfo-front-matter-any-str",link:"#def-generate-markdown-module-info-moduleinfo-front-matter-any-str",children:[]},{level:3,title:"def generate_docs(module_folder: str, output_dir: str, with_top: bool, ignored_paths: Any) -> None",slug:"def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",link:"#def-generate-docs-module-folder-str-output-dir-str-with-top-bool-ignored-paths-any-none",children:[]},{level:3,title:"class DefType(Enum)",slug:"class-deftype-enum",link:"#class-deftype-enum",children:[]},{level:3,title:"attr FUNCTION: 'function'",slug:"attr-function-function",link:"#attr-function-function",children:[]},{level:3,title:"attr METHOD: 'method'",slug:"attr-method-method",link:"#attr-method-method",children:[]},{level:3,title:"attr STATIC_METHOD: 'staticmethod'",slug:"attr-static-method-staticmethod",link:"#attr-static-method-staticmethod",children:[]},{level:3,title:"attr CLASS_METHOD: 'classmethod'",slug:"attr-class-method-classmethod",link:"#attr-class-method-classmethod",children:[]},{level:3,title:"attr PROPERTY: 'property'",slug:"attr-property-property",link:"#attr-property-property",children:[]},{level:3,title:"class FunctionInfo(BaseModel)",slug:"class-functioninfo-basemodel",link:"#class-functioninfo-basemodel",children:[]},{level:3,title:"class AttributeInfo(BaseModel)",slug:"class-attributeinfo-basemodel",link:"#class-attributeinfo-basemodel",children:[]},{level:3,title:"class ClassInfo(BaseModel)",slug:"class-classinfo-basemodel",link:"#class-classinfo-basemodel",children:[]},{level:3,title:"class ModuleInfo(BaseModel)",slug:"class-moduleinfo-basemodel",link:"#class-moduleinfo-basemodel",children:[]},{level:3,title:"var NO_TYPE_ANY = 'Any'",slug:"var-no-type-any-any",link:"#var-no-type-any-any",children:[]},{level:3,title:"var NO_TYPE_HINT = 'NoTypeHint'",slug:"var-no-type-hint-notypehint",link:"#var-no-type-hint-notypehint",children:[]},{level:3,title:"var FUNCTION = 'function'",slug:"var-function-function",link:"#var-function-function",children:[]},{level:3,title:"var METHOD = 'method'",slug:"var-method-method",link:"#var-method-method",children:[]},{level:3,title:"var STATIC_METHOD = 'staticmethod'",slug:"var-static-method-staticmethod",link:"#var-static-method-staticmethod",children:[]},{level:3,title:"var CLASS_METHOD = 'classmethod'",slug:"var-class-method-classmethod",link:"#var-class-method-classmethod",children:[]},{level:3,title:"var PROPERTY = 'property'",slug:"var-property-property",link:"#var-property-property",children:[]},{level:3,title:"var file_list = []",slug:"var-file-list",link:"#var-file-list",children:[]},{level:3,title:"var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')",slug:"var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",link:"#var-dot-sep-module-path-file-path-replace-os-sep-replace-py-replace-pyi",children:[]},{level:3,title:"var module_docstring = ast.get_docstring(tree)",slug:"var-module-docstring-ast-get-docstring-tree",link:"#var-module-docstring-ast-get-docstring-tree",children:[]},{level:3,title:"var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')",slug:"var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",link:"#var-module-info-moduleinfo-module-path-dot-sep-module-path-functions-classes-attributes-docstring-module-docstring-if-module-docstring-else",children:[]},{level:3,title:"var content = ''",slug:"var-content",link:"#var-content",children:[]},{level:3,title:"var front_matter = '---\\n' + '\\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\\n---\\n\\n'",slug:"var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",link:"#var-front-matter-n-n-join-f-k-v-for-k-v-in-front-matter-items-n-n-n",children:[]},{level:3,title:"var file_list = get_file_list(module_folder)",slug:"var-file-list-get-file-list-module-folder",link:"#var-file-list-get-file-list-module-folder",children:[]},{level:3,title:"var replace_data = {'__init__': 'README', '.py': '.md'}",slug:"var-replace-data-init-readme-py-md",link:"#var-replace-data-init-readme-py-md",children:[]},{level:3,title:"var file_content = file.read()",slug:"var-file-content-file-read",link:"#var-file-content-file-read",children:[]},{level:3,title:"var tree = ast.parse(file_content)",slug:"var-tree-ast-parse-file-content",link:"#var-tree-ast-parse-file-content",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-func-args",children:[]},{level:3,title:"var ignored_paths = []",slug:"var-ignored-paths",link:"#var-ignored-paths",children:[]},{level:3,title:"var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)",slug:"var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",link:"#var-no-module-name-pyfile-path-get-relative-path-module-folder-pyfile-path",children:[]},{level:3,title:"var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path",slug:"var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",link:"#var-rel-md-path-pyfile-path-if-with-top-else-no-module-name-pyfile-path",children:[]},{level:3,title:"var abs_md_path = os.path.join(output_dir, rel_md_path)",slug:"var-abs-md-path-os-path-join-output-dir-rel-md-path",link:"#var-abs-md-path-os-path-join-output-dir-rel-md-path",children:[]},{level:3,title:"var module_info = get_module_info_normal(pyfile_path)",slug:"var-module-info-get-module-info-normal-pyfile-path",link:"#var-module-info-get-module-info-normal-pyfile-path",children:[]},{level:3,title:"var md_content = generate_markdown(module_info, front_matter)",slug:"var-md-content-generate-markdown-module-info-front-matter",link:"#var-md-content-generate-markdown-module-info-front-matter",children:[]},{level:3,title:`var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''`,slug:"var-inherit-f-join-cls-inherit-if-cls-inherit-else",link:"#var-inherit-f-join-cls-inherit-if-cls-inherit-else",children:[]},{level:3,title:"var rel_md_path = rel_md_path.replace(rk, rv)",slug:"var-rel-md-path-rel-md-path-replace-rk-rv",link:"#var-rel-md-path-rel-md-path-replace-rk-rv",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-init-replace-n-index-true-icon-laptop-code-category-api",children:[]},{level:3,title:"var front_matter = {'title': module_info.module_path.replace('_', '\\\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}",slug:"var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",link:"#var-front-matter-title-module-info-module-path-replace-n-order-1-icon-laptop-code-category-api",children:[]},{level:3,title:"var function_docstring = ast.get_docstring(node)",slug:"var-function-docstring-ast-get-docstring-node",link:"#var-function-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))",slug:"var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",link:"#var-func-info-functioninfo-name-node-name-args-arg-arg-ast-unparse-arg-annotation-if-arg-annotation-else-no-type-any-for-arg-in-node-args-args-return-type-ast-unparse-node-returns-if-node-returns-else-none-docstring-function-docstring-if-function-docstring-else-type-deftype-function-is-async-isinstance-node-ast-asyncfunctiondef",children:[]},{level:3,title:"var class_docstring = ast.get_docstring(node)",slug:"var-class-docstring-ast-get-docstring-node",link:"#var-class-docstring-ast-get-docstring-node",children:[]},{level:3,title:"var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])",slug:"var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",link:"#var-class-info-classinfo-name-node-name-docstring-class-docstring-if-class-docstring-else-methods-attributes-inherit-ast-unparse-base-for-base-in-node-bases",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]",slug:"var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",link:"#var-args-with-type-f-arg-0-arg-1-if-arg-1-and-arg-0-self-else-arg-0-for-arg-in-method-args",children:[]},{level:3,title:"var first_arg = node.args.args[0]",slug:"var-first-arg-node-args-args-0",link:"#var-first-arg-node-args-args-0",children:[]},{level:3,title:"var method_docstring = ast.get_docstring(class_node)",slug:"var-method-docstring-ast-get-docstring-class-node",link:"#var-method-docstring-ast-get-docstring-class-node",children:[]},{level:3,title:"var def_type = DefType.METHOD",slug:"var-def-type-deftype-method",link:"#var-def-type-deftype-method",children:[]},{level:3,title:"var def_type = DefType.STATIC_METHOD",slug:"var-def-type-deftype-static-method",link:"#var-def-type-deftype-static-method",children:[]},{level:3,title:"var attr_type = NO_TYPE_HINT",slug:"var-attr-type-no-type-hint",link:"#var-attr-type-no-type-hint",children:[]},{level:3,title:"var def_type = DefType.CLASS_METHOD",slug:"var-def-type-deftype-class-method",link:"#var-def-type-deftype-class-method",children:[]},{level:3,title:"var attr_type = ast.unparse(node.value.annotation)",slug:"var-attr-type-ast-unparse-node-value-annotation",link:"#var-attr-type-ast-unparse-node-value-annotation",children:[]},{level:3,title:"var def_type = DefType.PROPERTY",slug:"var-def-type-deftype-property",link:"#var-def-type-deftype-property",children:[]}],path:"/en/dev/api/mkdoc.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.utils",headers:[{level:3,title:"def is_coroutine_callable(call: Callable[..., Any]) -> bool",slug:"def-is-coroutine-callable-call-callable-any-bool",link:"#def-is-coroutine-callable-call-callable-any-bool",children:[]},{level:3,title:"def run_coroutine() -> None",slug:"def-run-coroutine-none",link:"#def-run-coroutine-none",children:[]},{level:3,title:"def path_to_module_name(path: Path) -> str",slug:"def-path-to-module-name-path-path-str",link:"#def-path-to-module-name-path-path-str",children:[]},{level:3,title:"def async_wrapper(func: Callable[..., Any]) -> Callable[..., Coroutine]",slug:"def-async-wrapper-func-callable-any-callable-coroutine",link:"#def-async-wrapper-func-callable-any-callable-coroutine",children:[]},{level:3,title:"async def wrapper() -> None",slug:"async-def-wrapper-none",link:"#async-def-wrapper-none",children:[]},{level:3,title:"var IS_MAIN_PROCESS = multiprocessing.current_process().name == 'MainProcess'",slug:"var-is-main-process-multiprocessing-current-process-name-mainprocess",link:"#var-is-main-process-multiprocessing-current-process-name-mainprocess",children:[]},{level:3,title:"var func_ = getattr(call, '__call__', None)",slug:"var-func-getattr-call-call-none",link:"#var-func-getattr-call-call-none",children:[]},{level:3,title:"var rel_path = path.resolve().relative_to(Path.cwd().resolve())",slug:"var-rel-path-path-resolve-relative-to-path-cwd-resolve",link:"#var-rel-path-path-resolve-relative-to-path-cwd-resolve",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/en/dev/api/utils.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot",headers:[{level:3,title:"def get_bot() -> LiteyukiBot",slug:"def-get-bot-liteyukibot",link:"#def-get-bot-liteyukibot",children:[]},{level:3,title:"def get_config(key: str, default: Any) -> Any",slug:"def-get-config-key-str-default-any-any",link:"#def-get-config-key-str-default-any-any",children:[]},{level:3,title:"def get_config_with_compat(key: str, compat_keys: tuple[str], default: Any) -> Any",slug:"def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",link:"#def-get-config-with-compat-key-str-compat-keys-tuple-str-default-any-any",children:[]},{level:3,title:"def print_logo() -> None",slug:"def-print-logo-none",link:"#def-print-logo-none",children:[]},{level:3,title:"class LiteyukiBot",slug:"class-liteyukibot",link:"#class-liteyukibot",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def run(self) -> None",slug:"def-run-self-none",link:"#def-run-self-none",children:[]},{level:3,title:"def keep_alive(self) -> None",slug:"def-keep-alive-self-none",link:"#def-keep-alive-self-none",children:[]},{level:3,title:"def restart(self, delay: int) -> None",slug:"def-restart-self-delay-int-none",link:"#def-restart-self-delay-int-none",children:[]},{level:3,title:"def restart_process(self, name: Optional[str]) -> None",slug:"def-restart-process-self-name-optional-str-none",link:"#def-restart-process-self-name-optional-str-none",children:[]},{level:3,title:"def init(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def init_logger(self) -> None",slug:"def-init-logger-self-none",link:"#def-init-logger-self-none",children:[]},{level:3,title:"def stop(self) -> None",slug:"def-stop-self-none",link:"#def-stop-self-none",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-start-self-func-lifespan-func-none",link:"#def-on-before-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-start-self-func-lifespan-func-none",link:"#def-on-after-start-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-shutdown-self-func-lifespan-func-none",link:"#def-on-after-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-shutdown-self-func-lifespan-func-none",link:"#def-on-before-process-shutdown-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-before-process-restart-self-func-lifespan-func-none",link:"#def-on-before-process-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-restart-self-func-lifespan-func-none",link:"#def-on-after-restart-self-func-lifespan-func-none",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: LIFESPAN_FUNC) -> None",slug:"def-on-after-nonebot-init-self-func-lifespan-func-none",link:"#def-on-after-nonebot-init-self-func-lifespan-func-none",children:[]},{level:3,title:"var executable = sys.executable",slug:"var-executable-sys-executable",link:"#var-executable-sys-executable",children:[]},{level:3,title:"var args = sys.argv",slug:"var-args-sys-argv",link:"#var-args-sys-argv",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var cmd = 'start'",slug:"var-cmd-start",link:"#var-cmd-start",children:[]},{level:3,title:"var chan_active = get_channel(f'{process_name}-active')",slug:"var-chan-active-get-channel-f-process-name-active",link:"#var-chan-active-get-channel-f-process-name-active",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup",link:"#var-cmd-nohup",children:[]},{level:3,title:"var cmd = 'open'",slug:"var-cmd-open",link:"#var-cmd-open",children:[]},{level:3,title:"var cmd = 'nohup'",slug:"var-cmd-nohup-1",link:"#var-cmd-nohup-1",children:[]}],path:"/en/dev/api/bot/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.bot.lifespan",headers:[{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none",children:[]},{level:3,title:"class Lifespan",slug:"class-lifespan",link:"#class-lifespan",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None",slug:"def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",link:"#def-run-funcs-funcs-list-lifespan-func-process-lifespan-func-none-1",children:[]},{level:3,title:"def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-start-self-func-lifespan-func-lifespan-func",link:"#def-on-before-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-start-self-func-lifespan-func-lifespan-func",link:"#def-on-after-start-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_shutdown(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-shutdown-self-func-lifespan-func-lifespan-func",link:"#def-on-after-shutdown-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_before_process_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-before-process-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-before-process-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_restart(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC",slug:"def-on-after-restart-self-func-lifespan-func-lifespan-func",link:"#def-on-after-restart-self-func-lifespan-func-lifespan-func",children:[]},{level:3,title:"def on_after_nonebot_init(self, func: Any) -> None",slug:"def-on-after-nonebot-init-self-func-any-none",link:"#def-on-after-nonebot-init-self-func-any-none",children:[]},{level:3,title:"def before_start(self) -> None",slug:"def-before-start-self-none",link:"#def-before-start-self-none",children:[]},{level:3,title:"def after_start(self) -> None",slug:"def-after-start-self-none",link:"#def-after-start-self-none",children:[]},{level:3,title:"def before_process_shutdown(self) -> None",slug:"def-before-process-shutdown-self-none",link:"#def-before-process-shutdown-self-none",children:[]},{level:3,title:"def after_shutdown(self) -> None",slug:"def-after-shutdown-self-none",link:"#def-after-shutdown-self-none",children:[]},{level:3,title:"def before_process_restart(self) -> None",slug:"def-before-process-restart-self-none",link:"#def-before-process-restart-self-none",children:[]},{level:3,title:"def after_restart(self) -> None",slug:"def-after-restart-self-none",link:"#def-after-restart-self-none",children:[]},{level:3,title:"var tasks = []",slug:"var-tasks",link:"#var-tasks",children:[]},{level:3,title:"var loop = asyncio.get_event_loop()",slug:"var-loop-asyncio-get-event-loop",link:"#var-loop-asyncio-get-event-loop",children:[]},{level:3,title:"var loop = asyncio.new_event_loop()",slug:"var-loop-asyncio-new-event-loop",link:"#var-loop-asyncio-new-event-loop",children:[]}],path:"/en/dev/api/bot/lifespan.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm",headers:[],path:"/en/dev/api/comm/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.channel",headers:[{level:3,title:"def set_channel(name: str, channel: Channel) -> None",slug:"def-set-channel-name-str-channel-channel-none",link:"#def-set-channel-name-str-channel-channel-none",children:[]},{level:3,title:"def set_channels(channels: dict[str, Channel]) -> None",slug:"def-set-channels-channels-dict-str-channel-none",link:"#def-set-channels-channels-dict-str-channel-none",children:[]},{level:3,title:"def get_channel(name: str) -> Channel",slug:"def-get-channel-name-str-channel",link:"#def-get-channel-name-str-channel",children:[]},{level:3,title:"def get_channels() -> dict[str, Channel]",slug:"def-get-channels-dict-str-channel",link:"#def-get-channels-dict-str-channel",children:[]},{level:3,title:"def on_set_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-channel-data-tuple-str-dict-str-any-none",link:"#def-on-set-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channel(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channel-data-tuple-str-dict-str-any-none",link:"#def-on-get-channel-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_channels(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-channels-data-tuple-str-dict-str-any-none",link:"#def-on-get-channels-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def decorator(func: Callable[[T], Any]) -> Callable[[T], Any]",slug:"def-decorator-func-callable-t-any-callable-t-any",link:"#def-decorator-func-callable-t-any-callable-t-any",children:[]},{level:3,title:"async def wrapper(data: T) -> Any",slug:"async-def-wrapper-data-t-any",link:"#async-def-wrapper-data-t-any",children:[]},{level:3,title:"class Channel(Generic[T])",slug:"class-channel-generic-t",link:"#class-channel-generic-t",children:[]},{level:3,title:"def __init__(self, _id: str, type_check: Optional[bool]) -> None",slug:"def-init-self-id-str-type-check-optional-bool-none",link:"#def-init-self-id-str-type-check-optional-bool-none",children:[]},{level:3,title:"def send(self, data: T) -> None",slug:"def-send-self-data-t-none",link:"#def-send-self-data-t-none",children:[]},{level:3,title:"def receive(self) -> T",slug:"def-receive-self-t",link:"#def-receive-self-t",children:[]},{level:3,title:"def close(self) -> None",slug:"def-close-self-none",link:"#def-close-self-none",children:[]},{level:3,title:"def on_receive(self, filter_func: Optional[FILTER_FUNC]) -> Callable[[Callable[[T], Any]], Callable[[T], Any]]",slug:"def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",link:"#def-on-receive-self-filter-func-optional-filter-func-callable-callable-t-any-callable-t-any",children:[]},{level:3,title:"var T = TypeVar('T')",slug:"var-t-typevar-t",link:"#var-t-typevar-t",children:[]},{level:3,title:"var channel_deliver_active_channel = Channel(_id='channel_deliver_active_channel')",slug:"var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",link:"#var-channel-deliver-active-channel-channel-id-channel-deliver-active-channel",children:[]},{level:3,title:"var channel_deliver_passive_channel = Channel(_id='channel_deliver_passive_channel')",slug:"var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",link:"#var-channel-deliver-passive-channel-channel-id-channel-deliver-passive-channel",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[Channel[Any]]('recv_chan')",slug:"var-recv-chan-channel-channel-any-recv-chan",link:"#var-recv-chan-channel-channel-any-recv-chan",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Channel[Any]]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-channel-any-recv-chan",link:"#var-recv-chan-channel-dict-str-channel-any-recv-chan",children:[]},{level:3,title:"var type_check = self._get_generic_type() is not None",slug:"var-type-check-self-get-generic-type-is-not-none",link:"#var-type-check-self-get-generic-type-is-not-none",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv",link:"#var-data-self-conn-recv-recv",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id",link:"#var-func-callback-funcs-func-id",children:[]},{level:3,title:"var func = _callback_funcs[func_id]",slug:"var-func-callback-funcs-func-id-1",link:"#var-func-callback-funcs-func-id-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-1",link:"#var-data-self-conn-recv-recv-1",children:[]},{level:3,title:"var data = self.conn_recv.recv()",slug:"var-data-self-conn-recv-recv-2",link:"#var-data-self-conn-recv-recv-2",children:[]}],path:"/en/dev/api/comm/channel.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.event",headers:[{level:3,title:"class Event",slug:"class-event",link:"#class-event",children:[]},{level:3,title:"def __init__(self, name: str, data: dict[str, Any]) -> None",slug:"def-init-self-name-str-data-dict-str-any-none",link:"#def-init-self-name-str-data-dict-str-any-none",children:[]}],path:"/en/dev/api/comm/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.comm.storage",headers:[{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none",children:[]},{level:3,title:"def on_get(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-data-tuple-str-dict-str-any-none",link:"#def-on-get-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_set(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-set-data-tuple-str-dict-str-any-none",link:"#def-on-set-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_delete(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-delete-data-tuple-str-dict-str-any-none",link:"#def-on-delete-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_get_all(data: tuple[str, dict[str, Any]]) -> None",slug:"def-on-get-all-data-tuple-str-dict-str-any-none",link:"#def-on-get-all-data-tuple-str-dict-str-any-none",children:[]},{level:3,title:"def on_publish(data: tuple[str, Any]) -> None",slug:"def-on-publish-data-tuple-str-any-none",link:"#def-on-publish-data-tuple-str-any-none",children:[]},{level:3,title:"def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC",slug:"def-decorator-func-on-receive-func-on-receive-func",link:"#def-decorator-func-on-receive-func-on-receive-func",children:[]},{level:3,title:"async def wrapper(data: Any) -> None",slug:"async-def-wrapper-data-any-none",link:"#async-def-wrapper-data-any-none",children:[]},{level:3,title:"class Subscriber",slug:"class-subscriber",link:"#class-subscriber",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none",link:"#def-init-self-none",children:[]},{level:3,title:"def receive(self) -> Any",slug:"def-receive-self-any",link:"#def-receive-self-any",children:[]},{level:3,title:"def unsubscribe(self) -> None",slug:"def-unsubscribe-self-none",link:"#def-unsubscribe-self-none",children:[]},{level:3,title:"class KeyValueStore",slug:"class-keyvaluestore",link:"#class-keyvaluestore",children:[]},{level:3,title:"def __init__(self) -> None",slug:"def-init-self-none-1",link:"#def-init-self-none-1",children:[]},{level:3,title:"def set(self, key: str, value: Any) -> None",slug:"def-set-self-key-str-value-any-none",link:"#def-set-self-key-str-value-any-none",children:[]},{level:3,title:"def get(self, key: str, default: Optional[Any]) -> Optional[Any]",slug:"def-get-self-key-str-default-optional-any-optional-any",link:"#def-get-self-key-str-default-optional-any-optional-any",children:[]},{level:3,title:"def delete(self, key: str, ignore_key_error: bool) -> None",slug:"def-delete-self-key-str-ignore-key-error-bool-none",link:"#def-delete-self-key-str-ignore-key-error-bool-none",children:[]},{level:3,title:"def get_all(self) -> dict[str, Any]",slug:"def-get-all-self-dict-str-any",link:"#def-get-all-self-dict-str-any",children:[]},{level:3,title:"def publish(self, channel_: str, data: Any) -> None",slug:"def-publish-self-channel-str-data-any-none",link:"#def-publish-self-channel-str-data-any-none",children:[]},{level:3,title:"def on_subscriber_receive(self, channel_: str) -> Callable[[ON_RECEIVE_FUNC], ON_RECEIVE_FUNC]",slug:"def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",link:"#def-on-subscriber-receive-self-channel-str-callable-on-receive-func-on-receive-func",children:[]},{level:3,title:"@staticmethod",slug:"staticmethod",link:"#staticmethod",children:[]},{level:3,title:"def run_subscriber_receive_funcs(channel_: str, data: Any) -> None",slug:"def-run-subscriber-receive-funcs-channel-str-data-any-none-1",link:"#def-run-subscriber-receive-funcs-channel-str-data-any-none-1",children:[]},{level:3,title:"class GlobalKeyValueStore",slug:"class-globalkeyvaluestore",link:"#class-globalkeyvaluestore",children:[]},{level:3,title:"@classmethod",slug:"classmethod",link:"#classmethod",children:[]},{level:3,title:"def get_instance(cls: Any) -> None",slug:"def-get-instance-cls-any-none",link:"#def-get-instance-cls-any-none",children:[]},{level:3,title:"attr _instance: None",slug:"attr-instance-none",link:"#attr-instance-none",children:[]},{level:3,title:"attr _lock: threading.Lock()",slug:"attr-lock-threading-lock",link:"#attr-lock-threading-lock",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key",link:"#var-key-data-1-key",children:[]},{level:3,title:"var default = data[1]['default']",slug:"var-default-data-1-default",link:"#var-default-data-1-default",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan",link:"#var-recv-chan-data-1-recv-chan",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-1",link:"#var-key-data-1-key-1",children:[]},{level:3,title:"var value = data[1]['value']",slug:"var-value-data-1-value",link:"#var-value-data-1-value",children:[]},{level:3,title:"var key = data[1]['key']",slug:"var-key-data-1-key-2",link:"#var-key-data-1-key-2",children:[]},{level:3,title:"var recv_chan = data[1]['recv_chan']",slug:"var-recv-chan-data-1-recv-chan-1",link:"#var-recv-chan-data-1-recv-chan-1",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key",link:"#var-lock-get-lock-key",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-1",link:"#var-lock-get-lock-key-1",children:[]},{level:3,title:"var recv_chan = Channel[Optional[Any]]('recv_chan')",slug:"var-recv-chan-channel-optional-any-recv-chan",link:"#var-recv-chan-channel-optional-any-recv-chan",children:[]},{level:3,title:"var lock = _get_lock(key)",slug:"var-lock-get-lock-key-2",link:"#var-lock-get-lock-key-2",children:[]},{level:3,title:"var recv_chan = Channel[dict[str, Any]]('recv_chan')",slug:"var-recv-chan-channel-dict-str-any-recv-chan",link:"#var-recv-chan-channel-dict-str-any-recv-chan",children:[]},{level:3,title:"var data = self.active_chan.receive()",slug:"var-data-self-active-chan-receive",link:"#var-data-self-active-chan-receive",children:[]},{level:3,title:"var data = self.publish_channel.receive()",slug:"var-data-self-publish-channel-receive",link:"#var-data-self-publish-channel-receive",children:[]}],path:"/en/dev/api/comm/storage.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core",headers:[],path:"/en/dev/api/core/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.core.manager",headers:[{level:3,title:"class ChannelDeliver",slug:"class-channeldeliver",link:"#class-channeldeliver",children:[]},{level:3,title:"def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None",slug:"def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",link:"#def-init-self-active-channel-any-passive-channel-any-channel-deliver-active-channel-channel-any-channel-deliver-passive-channel-tuple-str-dict-publish-channel-tuple-str-any-none",children:[]},{level:3,title:"class ProcessManager",slug:"class-processmanager",link:"#class-processmanager",children:[]},{level:3,title:"def __init__(self, lifespan: 'Lifespan') -> None",slug:"def-init-self-lifespan-lifespan-none",link:"#def-init-self-lifespan-lifespan-none",children:[]},{level:3,title:"def start(self, name: str) -> None",slug:"def-start-self-name-str-none",link:"#def-start-self-name-str-none",children:[]},{level:3,title:"def start_all(self) -> None",slug:"def-start-all-self-none",link:"#def-start-all-self-none",children:[]},{level:3,title:"def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None",slug:"def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",link:"#def-add-target-self-name-str-target-target-func-args-tuple-kwargs-any-none",children:[]},{level:3,title:"def join_all(self) -> None",slug:"def-join-all-self-none",link:"#def-join-all-self-none",children:[]},{level:3,title:"def terminate(self, name: str) -> None",slug:"def-terminate-self-name-str-none",link:"#def-terminate-self-name-str-none",children:[]},{level:3,title:"def terminate_all(self) -> None",slug:"def-terminate-all-self-none",link:"#def-terminate-all-self-none",children:[]},{level:3,title:"def is_process_alive(self, name: str) -> bool",slug:"def-is-process-alive-self-name-str-bool",link:"#def-is-process-alive-self-name-str-bool",children:[]},{level:3,title:"var TIMEOUT = 10",slug:"var-timeout-10",link:"#var-timeout-10",children:[]},{level:3,title:"var chan_active = get_channel(f'{name}-active')",slug:"var-chan-active-get-channel-f-name-active",link:"#var-chan-active-get-channel-f-name-active",children:[]},{level:3,title:"var channel_deliver = ChannelDeliver(active=chan_active, passive=chan_passive, channel_deliver_active=channel_deliver_active_channel, channel_deliver_passive=channel_deliver_passive_channel, publish=publish_channel)",slug:"var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",link:"#var-channel-deliver-channeldeliver-active-chan-active-passive-chan-passive-channel-deliver-active-channel-deliver-active-channel-channel-deliver-passive-channel-deliver-passive-channel-publish-publish-channel",children:[]},{level:3,title:"var process = self.processes[name]",slug:"var-process-self-processes-name",link:"#var-process-self-processes-name",children:[]},{level:3,title:"var process = Process(target=self.targets[name][0], args=self.targets[name][1], kwargs=self.targets[name][2], daemon=True)",slug:"var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",link:"#var-process-process-target-self-targets-name-0-args-self-targets-name-1-kwargs-self-targets-name-2-daemon-true",children:[]},{level:3,title:"var data = chan_active.receive()",slug:"var-data-chan-active-receive",link:"#var-data-chan-active-receive",children:[]},{level:3,title:"var kwargs = {}",slug:"var-kwargs",link:"#var-kwargs",children:[]}],path:"/en/dev/api/core/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev",headers:[],path:"/en/dev/api/dev/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.observer",headers:[{level:3,title:"def debounce(wait: Any) -> None",slug:"def-debounce-wait-any-none",link:"#def-debounce-wait-any-none",children:[]},{level:3,title:"def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]",slug:"def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",link:"#def-on-file-system-event-directories-tuple-str-recursive-bool-event-filter-filter-func-callable-callback-func-callback-func",children:[]},{level:3,title:"def decorator(func: Any) -> None",slug:"def-decorator-func-any-none",link:"#def-decorator-func-any-none",children:[]},{level:3,title:"def decorator(func: CALLBACK_FUNC) -> CALLBACK_FUNC",slug:"def-decorator-func-callback-func-callback-func",link:"#def-decorator-func-callback-func-callback-func",children:[]},{level:3,title:"def wrapper() -> None",slug:"def-wrapper-none",link:"#def-wrapper-none",children:[]},{level:3,title:"def wrapper(event: FileSystemEvent) -> None",slug:"def-wrapper-event-filesystemevent-none",link:"#def-wrapper-event-filesystemevent-none",children:[]},{level:3,title:"class CodeModifiedHandler(FileSystemEventHandler)",slug:"class-codemodifiedhandler-filesystemeventhandler",link:"#class-codemodifiedhandler-filesystemeventhandler",children:[]},{level:3,title:"def on_modified(self, event: Any) -> None",slug:"def-on-modified-self-event-any-none",link:"#def-on-modified-self-event-any-none",children:[]},{level:3,title:"def on_created(self, event: Any) -> None",slug:"def-on-created-self-event-any-none",link:"#def-on-created-self-event-any-none",children:[]},{level:3,title:"def on_deleted(self, event: Any) -> None",slug:"def-on-deleted-self-event-any-none",link:"#def-on-deleted-self-event-any-none",children:[]},{level:3,title:"def on_moved(self, event: Any) -> None",slug:"def-on-moved-self-event-any-none",link:"#def-on-moved-self-event-any-none",children:[]},{level:3,title:"def on_any_event(self, event: Any) -> None",slug:"def-on-any-event-self-event-any-none",link:"#def-on-any-event-self-event-any-none",children:[]},{level:3,title:"var liteyuki_bot = get_bot()",slug:"var-liteyuki-bot-get-bot",link:"#var-liteyuki-bot-get-bot",children:[]},{level:3,title:"var observer = Observer()",slug:"var-observer-observer",link:"#var-observer-observer",children:[]},{level:3,title:"var last_call_time = None",slug:"var-last-call-time-none",link:"#var-last-call-time-none",children:[]},{level:3,title:"var code_modified_handler = CodeModifiedHandler()",slug:"var-code-modified-handler-codemodifiedhandler",link:"#var-code-modified-handler-codemodifiedhandler",children:[]},{level:3,title:"var current_time = time.time()",slug:"var-current-time-time-time",link:"#var-current-time-time-time",children:[]},{level:3,title:"var last_call_time = current_time",slug:"var-last-call-time-current-time",link:"#var-last-call-time-current-time",children:[]}],path:"/en/dev/api/dev/observer.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.dev.plugin",headers:[{level:3,title:"def run_plugins() -> None",slug:"def-run-plugins-none",link:"#def-run-plugins-none",children:[]},{level:3,title:"var cfg = load_config_in_default()",slug:"var-cfg-load-config-in-default",link:"#var-cfg-load-config-in-default",children:[]},{level:3,title:"var plugins = cfg.get('liteyuki.plugins', [])",slug:"var-plugins-cfg-get-liteyuki-plugins",link:"#var-plugins-cfg-get-liteyuki-plugins",children:[]},{level:3,title:"var bot = LiteyukiBot(**cfg)",slug:"var-bot-liteyukibot-cfg",link:"#var-bot-liteyukibot-cfg",children:[]}],path:"/en/dev/api/dev/plugin.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message",headers:[],path:"/en/dev/api/message/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.event",headers:[{level:3,title:"class MessageEvent",slug:"class-messageevent",link:"#class-messageevent",children:[]},{level:3,title:"def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None",slug:"def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none",link:"#def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none",children:[]},{level:3,title:"def reply(self, message: str | dict[str, Any]) -> None",slug:"def-reply-self-message-str-dict-str-any-none",link:"#def-reply-self-message-str-dict-str-any-none",children:[]},{level:3,title:"var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')",slug:"var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",link:"#var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel",children:[]},{level:3,title:"var data = {}",slug:"var-data",link:"#var-data",children:[]}],path:"/en/dev/api/message/event.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.matcher",headers:[{level:3,title:"class Matcher",slug:"class-matcher",link:"#class-matcher",children:[]},{level:3,title:"def __init__(self, rule: Rule, priority: int, block: bool) -> None",slug:"def-init-self-rule-rule-priority-int-block-bool-none",link:"#def-init-self-rule-rule-priority-int-block-bool-none",children:[]},{level:3,title:"def handle(self, handler: EventHandler) -> EventHandler",slug:"def-handle-self-handler-eventhandler-eventhandler",link:"#def-handle-self-handler-eventhandler-eventhandler",children:[]}],path:"/en/dev/api/message/matcher.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.on",headers:[{level:3,title:"def on_message(rule: Rule, priority: int, block: bool) -> Matcher",slug:"def-on-message-rule-rule-priority-int-block-bool-matcher",link:"#def-on-message-rule-rule-priority-int-block-bool-matcher",children:[]},{level:3,title:"var current_priority = -1",slug:"var-current-priority-1",link:"#var-current-priority-1",children:[]},{level:3,title:"var matcher = Matcher(rule, priority, block)",slug:"var-matcher-matcher-rule-priority-block",link:"#var-matcher-matcher-rule-priority-block",children:[]},{level:3,title:"var current_priority = matcher.priority",slug:"var-current-priority-matcher-priority",link:"#var-current-priority-matcher-priority",children:[]}],path:"/en/dev/api/message/on.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.rule",headers:[{level:3,title:"class Rule",slug:"class-rule",link:"#class-rule",children:[]},{level:3,title:"def __init__(self, handler: Optional[RuleHandler]) -> None",slug:"def-init-self-handler-optional-rulehandler-none",link:"#def-init-self-handler-optional-rulehandler-none",children:[]}],path:"/en/dev/api/message/rule.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.message.session",headers:[],path:"/en/dev/api/message/session.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin",headers:[{level:3,title:"def get_loaded_plugins() -> dict[str, Plugin]",slug:"def-get-loaded-plugins-dict-str-plugin",link:"#def-get-loaded-plugins-dict-str-plugin",children:[]}],path:"/en/dev/api/plugin/",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.load",headers:[{level:3,title:"def load_plugin(module_path: str | Path) -> Optional[Plugin]",slug:"def-load-plugin-module-path-str-path-optional-plugin",link:"#def-load-plugin-module-path-str-path-optional-plugin",children:[]},{level:3,title:"def load_plugins() -> set[Plugin]",slug:"def-load-plugins-set-plugin",link:"#def-load-plugins-set-plugin",children:[]},{level:3,title:"def format_display_name(display_name: str, plugin_type: PluginType) -> str",slug:"def-format-display-name-display-name-str-plugin-type-plugintype-str",link:"#def-format-display-name-display-name-str-plugin-type-plugintype-str",children:[]},{level:3,title:"var module_path = path_to_module_name(Path(module_path)) if isinstance(module_path, Path) else module_path",slug:"var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",link:"#var-module-path-path-to-module-name-path-module-path-if-isinstance-module-path-path-else-module-path",children:[]},{level:3,title:"var plugins = set()",slug:"var-plugins-set",link:"#var-plugins-set",children:[]},{level:3,title:"var color = 'y'",slug:"var-color-y",link:"#var-color-y",children:[]},{level:3,title:"var module = import_module(module_path)",slug:"var-module-import-module-module-path",link:"#var-module-import-module-module-path",children:[]},{level:3,title:"var display_name = module.__name__.split('.')[-1]",slug:"var-display-name-module-name-split-1",link:"#var-display-name-module-name-split-1",children:[]},{level:3,title:`var display_name = format_display_name(f"{metadata.name}({module.__name__.split('.')[-1]})", metadata.type)`,slug:"var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",link:"#var-display-name-format-display-name-f-metadata-name-module-name-split-1-metadata-type",children:[]},{level:3,title:"var path = Path(os.path.join(dir_path, f))",slug:"var-path-path-os-path-join-dir-path-f",link:"#var-path-path-os-path-join-dir-path-f",children:[]},{level:3,title:"var module_name = None",slug:"var-module-name-none",link:"#var-module-name-none",children:[]},{level:3,title:"var color = 'm'",slug:"var-color-m",link:"#var-color-m",children:[]},{level:3,title:"var color = 'g'",slug:"var-color-g",link:"#var-color-g",children:[]},{level:3,title:"var color = 'e'",slug:"var-color-e",link:"#var-color-e",children:[]},{level:3,title:"var color = 'c'",slug:"var-color-c",link:"#var-color-c",children:[]},{level:3,title:"var module_name = f'{path_to_module_name(Path(dir_path))}.{f[:-3]}'",slug:"var-module-name-f-path-to-module-name-path-dir-path-f-3",link:"#var-module-name-f-path-to-module-name-path-dir-path-f-3",children:[]},{level:3,title:"var module_name = path_to_module_name(path)",slug:"var-module-name-path-to-module-name-path",link:"#var-module-name-path-to-module-name-path",children:[]}],path:"/en/dev/api/plugin/load.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.manager",headers:[],path:"/en/dev/api/plugin/manager.html",pathLocale:"/en/",extraFields:[]},{title:"liteyuki.plugin.model",headers:[{level:3,title:"class PluginType(Enum)",slug:"class-plugintype-enum",link:"#class-plugintype-enum",children:[]},{level:3,title:"attr APPLICATION: 'application'",slug:"attr-application-application",link:"#attr-application-application",children:[]},{level:3,title:"attr SERVICE: 'service'",slug:"attr-service-service",link:"#attr-service-service",children:[]},{level:3,title:"attr MODULE: 'module'",slug:"attr-module-module",link:"#attr-module-module",children:[]},{level:3,title:"attr UNCLASSIFIED: 'unclassified'",slug:"attr-unclassified-unclassified",link:"#attr-unclassified-unclassified",children:[]},{level:3,title:"attr TEST: 'test'",slug:"attr-test-test",link:"#attr-test-test",children:[]},{level:3,title:"class PluginMetadata(BaseModel)",slug:"class-pluginmetadata-basemodel",link:"#class-pluginmetadata-basemodel",children:[]},{level:3,title:"class Plugin(BaseModel)",slug:"class-plugin-basemodel",link:"#class-plugin-basemodel",children:[]},{level:3,title:"attr model_config: {'arbitrary_types_allowed': True}",slug:"attr-model-config-arbitrary-types-allowed-true",link:"#attr-model-config-arbitrary-types-allowed-true",children:[]},{level:3,title:"var APPLICATION = 'application'",slug:"var-application-application",link:"#var-application-application",children:[]},{level:3,title:"var SERVICE = 'service'",slug:"var-service-service",link:"#var-service-service",children:[]},{level:3,title:"var MODULE = 'module'",slug:"var-module-module",link:"#var-module-module",children:[]},{level:3,title:"var UNCLASSIFIED = 'unclassified'",slug:"var-unclassified-unclassified",link:"#var-unclassified-unclassified",children:[]},{level:3,title:"var TEST = 'test'",slug:"var-test-test",link:"#var-test-test",children:[]},{level:3,title:"var model_config = {'arbitrary_types_allowed': True}",slug:"var-model-config-arbitrary-types-allowed-true",link:"#var-model-config-arbitrary-types-allowed-true",children:[]}],path:"/en/dev/api/plugin/model.html",pathLocale:"/en/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],e1=Q(Zm),t1=()=>e1,n1=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:l})=>{const r=x(()=>e.value.filter(a=>a.pathLocale===t.value));return x(()=>{const a=n.value.trim().toLowerCase();if(!a)return[];const i=[],s=(o,c)=>{Ms(a,[c.title])&&i.push({link:`${o.path}#${c.slug}`,title:o.title,header:c.title});for(const u of c.children){if(i.length>=l.value)return;s(o,u)}};for(const o of r.value){if(i.length>=l.value)break;if(Ms(a,[o.title,...o.extraFields])){i.push({link:o.path,title:o.title});continue}for(const c of o.headers){if(i.length>=l.value)break;s(o,c)}}return i})},l1=e=>{const t=Q(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},r1=U({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:l}=Kd(e),r=yn(),a=Xt(),i=t1(),s=Q(null),o=Q(!1),c=Q(""),u=x(()=>t.value[a.value]??{}),f=n1({searchIndex:i,routeLocale:a,query:c,maxSuggestions:l}),{focusIndex:p,focusNext:h,focusPrev:g}=l1(f);Xm({input:s,hotKeys:n});const b=x(()=>o.value&&!!f.value.length),_=()=>{b.value&&g()},k=()=>{b.value&&h()},C=y=>{if(!b.value)return;const A=f.value[y];A&&r.push(A.link).then(()=>{c.value="",p.value=0})};return()=>d("form",{class:"search-box",role:"search"},[d("input",{ref:s,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>o.value=!0,onBlur:()=>o.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{_();break}case"ArrowDown":{k();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),b.value&&d("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},f.value.map(({link:y,title:A,header:O},L)=>d("li",{class:["suggestion",{focus:p.value===L}],onMouseenter:()=>p.value=L,onMousedown:()=>C(L)},d("a",{href:y,onClick:N=>N.preventDefault()},[d("span",{class:"page-title"},A),O&&d("span",{class:"page-header"},`> ${O}`)]))))])}});var a1=["s","/"],i1={"/":{placeholder:"搜索"}};const s1=i1,o1=a1,c1=5,u1=et({enhance({app:e}){e.component("SearchBox",t=>d(r1,{locales:s1,hotKeys:o1,maxSuggestions:c1,...t}))}}),yu=()=>{const e=Te();return x(()=>e.value.readingTime??null)},d1=(e,t)=>{const{minutes:n,words:l}=e,{less1Minute:r,word:a,time:i}=t;return{time:n<1?r:i.replace("$time",Math.round(n).toString()),words:a.replace("$word",l.toString())}};var Ds={"/en/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"},"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const js={words:"",time:""},Ea=typeof Ds>"u"?null:Ds,f1=()=>Ea?Pl(Ea):x(()=>null),p1=()=>{if(typeof Ea>"u")return x(()=>js);const e=yu(),t=f1();return x(()=>e.value&&t.value?d1(e.value,t.value):js)},en=()=>Gc(),ye=()=>Ng(),Ml=()=>{const e=en();return x(()=>!!e.value.pure)},Hs=()=>null,h1="719px",v1="1440px",g1="false",_u={mobileBreakPoint:h1,pcBreakPoint:v1,enableThemeColor:g1},fi={"/en/deploy/":["install","config","fandq"],"/en/usage/":["basic_command","extra_command","agreement"],"/en/store/":["resource","plugin"],"/en/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"liteyuki",prefix:"api/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","mkdoc","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.message",prefix:"message/",collapsible:!0,icon:"laptop-code",children:["","event","matcher","on","rule","session"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}],"/deploy/":["install","config","fandq"],"/usage/":["basic_command","extra_command","agreement"],"/store/":["resource","plugin"],"/dev/":["dev_resource_pack","dev_lyfunc","dev_lyplugin","dev_comm",{text:"liteyuki",prefix:"api/",collapsible:!0,icon:"laptop-code",children:["","config","exception","log","mkdoc","utils",{text:"liteyuki.bot",prefix:"bot/",collapsible:!0,icon:"laptop-code",children:["","lifespan"]},{text:"liteyuki.comm",prefix:"comm/",collapsible:!0,icon:"laptop-code",children:["","channel","event","storage"]},{text:"liteyuki.core",prefix:"core/",collapsible:!0,icon:"laptop-code",children:["","manager"]},{text:"liteyuki.dev",prefix:"dev/",collapsible:!0,icon:"laptop-code",children:["","observer","plugin"]},{text:"liteyuki.message",prefix:"message/",collapsible:!0,icon:"laptop-code",children:["","event","matcher","on","rule","session"]},{text:"liteyuki.plugin",prefix:"plugin/",collapsible:!0,icon:"laptop-code",children:["","load","manager","model"]}]}]},bu=e=>{const{icon:t="",color:n,size:l}=e,r=n||l?{}:null;return n&&(r.color=n),l&&(r.height=Number.isNaN(Number(l))?l:`${l}px`),mn(t)?d("img",{class:"icon",src:t,alt:"","no-view":"",style:r}):ai(t)?d("img",{class:"icon",src:Ke(t),alt:"","aria-hidden":"","no-view":"",style:r}):d(mt("FontIcon"),e)};bu.displayName="HopeIcon";var Ge=bu;const m1="http://.",pi=()=>{const e=yn(),t=Jt();return n=>{if(n)if(ai(n))t.path!==n&&e.push(n);else if(sc(n))window&&window.open(n);else{const l=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${l}/${encodeURI(n)}`,m1).pathname)}}},ku=()=>{const e=ye(),t=Se();return x(()=>{const{author:n}=t.value;return n?Rs(n):n===!1?[]:Rs(e.value.author,!1)})},y1=()=>{const e=Se();return x(()=>lm(e.value.category).map(t=>({name:t,path:""})))},_1=()=>{const e=Se();return x(()=>rm(e.value.tag).map(t=>({name:t,path:""})))},b1=()=>{const e=Se(),t=Te();return x(()=>{const n=Nv(e.value.date);if(n)return n;const{createdTime:l}=t.value.git||{};return l?new Date(l):null})},k1=()=>{const e=ye(),t=Te(),n=Se(),l=ku(),r=y1(),a=_1(),i=b1(),s=yu(),o=p1(),c=x(()=>({author:l.value,category:r.value,date:i.value,localizedDate:t.value.localizedDate,tag:a.value,isOriginal:n.value.isOriginal||!1,readingTime:s.value,readingTimeLocale:o.value,pageview:"pageview"in n.value?n.value.pageview:!0})),u=x(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:u}},{mobileBreakPoint:w1,pcBreakPoint:E1}=_u,Bs=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,Nr=()=>{const e=Q(!1),t=Q(!1),n=()=>{e.value=window.innerWidth<=(Bs(w1)??719),t.value=window.innerWidth>=(Bs(E1)??1440)};return we(()=>{n(),$e("resize",n,!1),$e("orientationchange",n,!1)}),{isMobile:e,isPC:t}},wu=Symbol(""),Dl=()=>{const e=Me(wu);if(!e)throw new Error("useDarkmode() is called without provider.");return e},C1=e=>{const t=en(),n=Jv(),l=x(()=>t.value.darkmode||"switch"),r=Kn("vuepress-theme-hope-scheme","auto"),a=x(()=>{const s=l.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?n.value:s==="toggle"?r.value==="dark":r.value==="dark"||r.value==="auto"&&n.value}),i=x(()=>{const s=l.value;return s==="switch"||s==="toggle"});e.provide(wu,{canToggle:i,config:l,isDarkmode:a,status:r}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>a.value}})},A1=()=>{const{config:e,isDarkmode:t,status:n}=Dl();So(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),we(()=>{ve(t,l=>document.documentElement.setAttribute("data-theme",l?"dark":"light"),{immediate:!0})})};var Et=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(Et||{}),L1=(e=>(e.type="y",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))(L1||{}),x1=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(x1||{});const cn=(e="",t="")=>ai(t)?t:`${ic(e)}${t}`,Fn=(e,t=!1)=>{const{meta:n,path:l,notFound:r}=xr(e);return r?{text:l,link:l}:{text:!t&&n[Et.shortTitle]?n[Et.shortTitle]:n[Et.title]||l,link:l,...n[Et.icon]?{icon:n[Et.icon]}:{}}},Ca=({config:e,prefix:t=""})=>{const n=(l,r=t)=>{const a=Oe(l)?Fn(cn(r,l)):l.link?{...l,...jn(l.link)?{}:{link:Fn(cn(r,l.link)).link}}:l;if("children"in a){const i=cn(r,a.prefix),s=a.children==="structure"?fi[i]:a.children;return{type:"group",...a,prefix:i,children:s.map(o=>n(o,i))}}return{type:"page",...a}};return e.map(l=>n(l))},T1=({config:e,page:t,headerDepth:n})=>{const l=Zt(e).sort((r,a)=>a.length-r.length);for(const r of l)if(Vn(decodeURI(t.path),r)){const a=e[r];return a?Ca({config:a==="structure"?fi[r]:a,page:t,headerDepth:n,prefix:r}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},S1=({config:e,routeLocale:t,page:n,headerDepth:l})=>e==="structure"?Ca({config:fi[t],page:n,headerDepth:l,prefix:t}):wa(e)?Ca({config:e,page:n,headerDepth:l}):qn(e)?T1({config:e,page:n,headerDepth:l}):[],Eu=Symbol(""),N1=()=>{const e=Se(),t=ye(),n=Te(),l=Xt(),r=x(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),a=x(()=>e.value.headerDepth??t.value.headerDepth??2),i=ii(()=>[r.value,a.value,n.value.path,null],()=>S1({config:r.value,routeLocale:l.value,page:n.value,headerDepth:a.value}));On(Eu,i)},hi=()=>{const e=Me(Eu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var I1=U({name:"PageFooter",setup(){const e=en(),t=ye(),n=Se(),l=ku(),r=x(()=>{const{copyright:c,footer:u}=n.value;return u!==!1&&!!(c||u||t.value.displayFooter)}),a=x(()=>{const{footer:c}=n.value;return c===!1?!1:Oe(c)?c:t.value.footer||""}),i=x(()=>l.value.map(({name:c})=>c).join(", ")),s=c=>`Copyright © ${new Date().getFullYear()} ${i.value} ${c?`${c} Licensed`:""}`,o=x(()=>{const{copyright:c,license:u=""}=n.value,{license:f}=e.value,{copyright:p}=t.value;return c??(u?s(u):Oe(p)?p:i.value||f?s(f):!1)});return()=>r.value?d("footer",{class:"vp-footer-wrapper"},[a.value?d("div",{class:"vp-footer",innerHTML:a.value}):null,o.value?d("div",{class:"vp-copyright",innerHTML:o.value}):null]):null}}),Xe=U({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:l}){const r=Jt(),a=kc(),i=mr(e,"config"),s=x(()=>mn(i.value.link)),o=x(()=>!s.value&&sc(i.value.link)),c=x(()=>i.value.target||(s.value?"_blank":void 0)),u=x(()=>c.value==="_blank"),f=x(()=>!s.value&&!o.value&&!u.value),p=x(()=>i.value.rel||(u.value?"noopener noreferrer":null)),h=x(()=>i.value.ariaLabel||i.value.text),g=x(()=>{if(e.exact)return!1;const _=Zt(a.value.locales);return _.length?_.every(k=>k!==i.value.link):i.value.link!=="/"}),b=x(()=>f.value?i.value.activeMatch?new RegExp(i.value.activeMatch,"u").test(r.path):g.value?Vn(r.path,i.value.link):r.path===i.value.link:!1);return()=>{const{before:_,after:k,default:C}=l,{text:y,icon:A,link:O}=i.value;return f.value?d(Je,{to:O,"aria-label":h.value,...t,class:["nav-link",{active:b.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[_?_():d(Ge,{icon:A}),y,k==null?void 0:k()]):d("a",{href:O,rel:p.value,target:c.value,"aria-label":h.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[_?_():d(Ge,{icon:A}),y,e.noExternalLinkIcon?null:d(Wc),k==null?void 0:k()])}}}),Cu=U({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=Te(),l=mr(e,"config"),r=x(()=>l.value.ariaLabel||l.value.text),a=Q(!1);ve(()=>n.value.path,()=>{a.value=!1});const i=s=>{s.detail===0&&(a.value=!a.value)};return()=>{var s;return d("div",{class:["dropdown-wrapper",{open:a.value}]},[d("button",{type:"button",class:"dropdown-title","aria-label":r.value,onClick:i},[((s=t.title)==null?void 0:s.call(t))||d("span",{class:"title"},[d(Ge,{icon:l.value.icon}),e.config.text]),d("span",{class:"arrow"}),d("ul",{class:"nav-dropdown"},l.value.children.map((o,c)=>{const u=c===l.value.children.length-1;return d("li",{class:"dropdown-item"},"children"in o?[d("h4",{class:"dropdown-subtitle"},o.link?d(Xe,{config:o,onFocusout:()=>{o.children.length===0&&u&&(a.value=!1)}}):d("span",o.text)),d("ul",{class:"dropdown-subitem-wrapper"},o.children.map((f,p)=>d("li",{class:"dropdown-subitem"},d(Xe,{config:f,onFocusout:()=>{p===o.children.length-1&&u&&(a.value=!1)}}))))]:d(Xe,{config:o,onFocusout:()=>{u&&(a.value=!1)}}))}))])])}}});const Au=()=>d(Ne,{name:"i18n"},()=>[d("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"})]);Au.displayName="I18nIcon";const Lu=(e,t="")=>Oe(e)?Fn(cn(t,e)):"children"in e?{...e,...e.link&&!jn(e.link)?Fn(cn(t,e.link)):{},children:e.children.map(n=>Lu(n,cn(t,e.prefix)))}:{...e,link:jn(e.link)?e.link:Fn(cn(t,e.link)).link},xu=()=>{const e=ye(),t=()=>(e.value.navbar||[]).map(n=>Lu(n));return ii(()=>e.value.navbar,()=>t())},O1=()=>{const e=dv(),t=Jt(),n=Xt(),l=Lr(),r=en(),a=ye();return ii(()=>t.path,()=>{const i=Zt(l.value.locales),s=Oc(r.value.extraLocales??{});if(i.length<2&&!s.length)return null;const{path:o,fullPath:c}=t,{navbarLocales:u}=a.value;return{text:"",ariaLabel:u==null?void 0:u.selectLangAriaLabel,children:[...i.map(f=>{var k,C,y;const p=((k=l.value.locales)==null?void 0:k[f])??{},h=((C=r.value.locales)==null?void 0:C[f])??{},g=p.lang||"",b=((y=h.navbarLocales)==null?void 0:y.langName)??g;let _;if(g===l.value.lang)_=o;else{const A=o.replace(n.value,f);_=e.value.some(O=>O===A)?c.replace(o,A):h.home??f}return{text:b,link:_}}),...s.map(([f,p])=>({text:f,link:p.replace(":route",t.path.replace(n.value,""))}))]}})},P1=()=>{const e=ye(),t=x(()=>e.value.repo||null),n=x(()=>t.value?tm(t.value):null),l=x(()=>t.value?cu(t.value):null),r=x(()=>n.value?e.value.repoLabel??(l.value===null?"Source":l.value):null);return x(()=>!n.value||!r.value||e.value.repoDisplay===!1?null:{type:l.value||"Source",label:r.value,link:n.value})};var R1=U({name:"LanguageDropdown",setup(){const e=O1();return()=>e.value?d("div",{class:"nav-item"},d(Cu,{class:"i18n-dropdown",config:e.value},{title:()=>{var t;return d(Au,{"aria-label":(t=e.value)==null?void 0:t.ariaLabel,style:{width:"1rem",height:"1rem",verticalAlign:"middle"}})}})):null}}),F1=U({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=Te(),n=mr(e,"config"),l=x(()=>n.value.ariaLabel||n.value.text),r=Q(!1);ve(()=>t.value.path,()=>{r.value=!1});const a=(i,s)=>s[s.length-1]===i;return()=>[d("button",{type:"button",class:["nav-screen-dropdown-title",{active:r.value}],"aria-label":l.value,onClick:()=>{r.value=!r.value}},[d("span",{class:"title"},[d(Ge,{icon:n.value.icon}),e.config.text]),d("span",{class:["arrow",r.value?"down":"end"]})]),d("ul",{class:["nav-screen-dropdown",{hide:!r.value}]},n.value.children.map(i=>d("li",{class:"dropdown-item"},"children"in i?[d("h4",{class:"dropdown-subtitle"},i.link?d(Xe,{config:i,onFocusout:()=>{a(i,n.value.children)&&i.children.length===0&&(r.value=!1)}}):d("span",i.text)),d("ul",{class:"dropdown-subitem-wrapper"},i.children.map(s=>d("li",{class:"dropdown-subitem"},d(Xe,{config:s,onFocusout:()=>{a(s,i.children)&&a(i,n.value.children)&&(r.value=!1)}}))))]:d(Xe,{config:i,onFocusout:()=>{a(i,n.value.children)&&(r.value=!1)}}))))]}}),$1=U({name:"NavScreenLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"nav-screen-links"},e.value.map(t=>d("div",{class:"navbar-links-item"},"children"in t?d(F1,{config:t}):d(Xe,{config:t})))):null}});const Tu=()=>d(Ne,{name:"dark"},()=>d("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"}));Tu.displayName="DarkIcon";const Su=()=>d(Ne,{name:"light"},()=>d("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"}));Su.displayName="LightIcon";const Nu=()=>d(Ne,{name:"auto"},()=>d("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"}));Nu.displayName="AutoIcon";const Iu=()=>d(Ne,{name:"enter-fullscreen"},()=>d("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"}));Iu.displayName="EnterFullScreenIcon";const Ou=()=>d(Ne,{name:"cancel-fullscreen"},()=>d("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"}));Ou.displayName="CancelFullScreenIcon";const Pu=()=>d(Ne,{name:"outlook"},()=>[d("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"})]);Pu.displayName="OutlookIcon";var Ru=U({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=Dl(),l=Ml(),r=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},a=async i=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!l.value)||!i){r();return}const s=i.clientX,o=i.clientY,c=Math.hypot(Math.max(s,innerWidth-s),Math.max(o,innerHeight-o)),u=t.value;await document.startViewTransition(async()=>{r(),await Qt()}).ready,t.value!==u&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${s}px ${o}px)`,`circle(0px at ${s}px ${o}px)`]:[`circle(0px at ${s}px ${o}px)`,`circle(${c}px at ${s}px ${o}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>d("button",{type:"button",id:"appearance-switch",onClick:a},[d(Nu,{style:{display:n.value==="auto"?"block":"none"}}),d(Tu,{style:{display:n.value==="dark"?"block":"none"}}),d(Su,{style:{display:n.value==="light"?"block":"none"}})])}}),M1=U({name:"AppearanceMode",setup(){const e=ye(),{canToggle:t}=Dl(),n=x(()=>e.value.outlookLocales.darkmode);return()=>t.value?d("div",{class:"appearance-wrapper"},[d("label",{class:"appearance-title",for:"appearance-switch"},n.value),d(Ru)]):null}});const ea=_u.enableThemeColor==="true";var Fu=U({name:"ToggleFullScreenButton",setup(){const e=ye(),{isSupported:t,isFullscreen:n,toggle:l}=oi(),r=x(()=>e.value.outlookLocales.fullscreen);return()=>t?d("div",{class:"full-screen-wrapper"},[d("label",{class:"full-screen-title",for:"full-screen-switch"},r.value),d("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>l()},n.value?d(Ou):d(Iu))]):null}}),$u=U({name:"OutlookSettings",setup(){const e=en(),t=Ml(),n=x(()=>!t.value&&e.value.fullscreen);return()=>d(Tr,()=>[null,d(M1),n.value?d(Fu):null])}}),D1=U({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const l=Te(),{isMobile:r}=Nr(),a=De(),i=Hc(a);return we(()=>{a.value=document.body,ve(r,s=>{!s&&e.show&&(i.value=!1,t("close"))}),ve(()=>l.value.path,()=>{i.value=!1,t("close")})}),gn(()=>{i.value=!1}),()=>d(Yt,{name:"fade",onEnter:()=>{i.value=!0},onAfterLeave:()=>{i.value=!1}},()=>{var s,o;return e.show?d("div",{id:"nav-screen"},d("div",{class:"vp-nav-screen-container"},[(s=n.before)==null?void 0:s.call(n),d($1),d("div",{class:"vp-outlook-wrapper"},d($u)),(o=n.after)==null?void 0:o.call(n)])):null})}}),j1=U({name:"NavbarBrand",setup(){const e=Xt(),t=Lr(),n=ye(),l=x(()=>n.value.home||e.value),r=x(()=>t.value.title),a=x(()=>n.value.navTitle??r.value),i=x(()=>n.value.logo?Ke(n.value.logo):null),s=x(()=>n.value.logoDark?Ke(n.value.logoDark):null);return()=>d(Je,{to:l.value,class:"vp-brand"},()=>[i.value?d("img",{class:["vp-nav-logo",{light:!!s.value}],src:i.value,alt:""}):null,s.value?d("img",{class:["vp-nav-logo dark"],src:s.value,alt:""}):null,a.value?d("span",{class:["vp-site-name",{"hide-in-pad":i.value&&n.value.hideSiteNameOnMobile!==!1}]},a.value):null])}}),H1=U({name:"NavbarLinks",setup(){const e=xu();return()=>e.value.length?d("nav",{class:"vp-nav-links"},e.value.map(t=>d("div",{class:"nav-item hide-in-mobile"},"children"in t?d(Cu,{config:t}):d(Xe,{config:t})))):null}}),B1=U({name:"RepoLink",components:{BitbucketIcon:ru,GiteeIcon:lu,GitHubIcon:tu,GitLabIcon:nu,SourceIcon:au},setup(){const e=P1();return()=>e.value?d("div",{class:"nav-item vp-repo"},d("a",{class:"vp-repo-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},d(mt(`${e.value.type}Icon`),{style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Mu=({active:e=!1},{emit:t})=>d("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},d("span",[d("span",{class:"vp-top"}),d("span",{class:"vp-middle"}),d("span",{class:"vp-bottom"})]));Mu.displayName="ToggleNavbarButton";var V1=Mu;const Aa=(e,{emit:t})=>d("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},d("span",{class:"icon"}));Aa.displayName="ToggleSidebarButton",Aa.emits=["toggle"];var U1=Aa,z1=U({name:"OutlookButton",setup(){const{isSupported:e}=oi(),t=en(),n=Ml(),l=Te(),{canToggle:r}=Dl(),a=Q(!1),i=x(()=>!n.value&&t.value.fullscreen&&e);return ve(()=>l.value.path,()=>{a.value=!1}),()=>r.value||i.value||ea?d("div",{class:"nav-item hide-in-mobile"},r.value&&!i.value&&!ea?d(Ru):i.value&&!r.value&&!ea?d(Fu):d("button",{type:"button",class:["outlook-button",{open:a.value}],tabindex:"-1","aria-hidden":!0},[d(Pu),d("div",{class:"outlook-dropdown"},d($u))])):null}}),q1=U({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const l=ye(),{isMobile:r}=Nr(),a=Q(!1),i=x(()=>{const{navbarAutoHide:u="mobile"}=l.value;return u!=="none"&&(u==="always"||r.value)}),s=x(()=>l.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),o={Brand:j1,Language:R1,Links:H1,Repo:B1,Outlook:z1,Search:dt("Docsearch")?mt("Docsearch"):dt("SearchBox")?mt("SearchBox"):Hs},c=u=>o[u]??(dt(u)?mt(u):Hs);return()=>{var u,f,p,h,g,b;return[d("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":i.value,"hide-icon":l.value.navbarIcon===!1}]},[d("div",{class:"vp-navbar-start"},[d(U1,{onToggle:()=>{a.value&&(a.value=!1),t("toggleSidebar")}}),(u=n.startBefore)==null?void 0:u.call(n),(s.value.start||[]).map(_=>d(c(_))),(f=n.startAfter)==null?void 0:f.call(n)]),d("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(s.value.center||[]).map(_=>d(c(_))),(h=n.centerAfter)==null?void 0:h.call(n)]),d("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(s.value.end||[]).map(_=>d(c(_))),(b=n.endAfter)==null?void 0:b.call(n),d(V1,{active:a.value,onToggle:()=>{a.value=!a.value}})])]),d(D1,{show:a.value,onClose:()=>{a.value=!1}},{before:()=>{var _;return(_=n.screenTop)==null?void 0:_.call(n)},after:()=>{var _;return(_=n.screenBottom)==null?void 0:_.call(n)}})]}}});const bl=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):ou(e,t.link)?!0:"children"in t&&!n?t.children.some(l=>bl(e,l)):!1,Du=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?Du(e,n):n.type==="page"&&bl(e,n,!0))||"prefix"in t&&ou(e,t.prefix):!1;var W1=U({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Jt();return()=>Oe(e.config.link)?d(Xe,{class:["vp-sidebar-link","vp-sidebar-page",{active:bl(t,e.config,!0)}],exact:!0,config:e.config}):d("p",e,[d(Ge,{icon:e.config.icon}),e.config.text])}}),K1=U({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Jt(),l=x(()=>bl(n,e.config)),r=x(()=>bl(n,e.config,!0));return()=>{const{collapsible:a,children:i=[],icon:s,prefix:o,link:c,text:u}=e.config;return d("section",{class:"vp-sidebar-group"},[d(a?"button":"p",{class:["vp-sidebar-header",{clickable:a||c,exact:r.value,active:l.value}],...a?{type:"button",onClick:()=>t("toggle"),onKeydown:f=>{f.key==="Enter"&&t("toggle")}}:{}},[d(Ge,{icon:s}),c?d(Xe,{class:"vp-sidebar-title",config:{text:u,link:c},noExternalLinkIcon:!0}):d("span",{class:"vp-sidebar-title"},u),a?d("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!a?d(ju,{key:o,config:i}):null])}}}),ju=U({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Jt(),n=Q(-1),l=r=>{n.value=r===n.value?-1:r};return ve(()=>t.path,()=>{const r=e.config.findIndex(a=>Du(t,a));n.value=r},{immediate:!0,flush:"post"}),()=>d("ul",{class:"vp-sidebar-links"},e.config.map((r,a)=>d("li",r.type==="group"?d(K1,{config:r,open:a===n.value,onToggle:()=>l(a)}):d(W1,{config:r}))))}}),G1=U({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Jt(),l=ye(),r=hi(),a=De();return we(()=>{ve(()=>n.hash,i=>{const s=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${i}"]`);if(!s)return;const{top:o,height:c}=a.value.getBoundingClientRect(),{top:u,height:f}=s.getBoundingClientRect();uo+c&&s.scrollIntoView(!1)},{immediate:!0})}),()=>{var i,s,o;return d("aside",{ref:a,id:"sidebar",class:["vp-sidebar",{"hide-icon":l.value.sidebarIcon===!1}],key:"sidebar"},[(i=t.top)==null?void 0:i.call(t),((s=t.default)==null?void 0:s.call(t))||d(ju,{config:r.value}),(o=t.bottom)==null?void 0:o.call(t)])}}}),Hu=U({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=yn(),l=Te(),r=Se(),a=ye(),{isMobile:i,isPC:s}=Nr(),[o,c]=yl(!1),[u,f]=yl(!1),p=hi(),h=Q(!1),g=x(()=>e.noNavbar||r.value.navbar===!1||a.value.navbar===!1?!1:!!(l.value.title||a.value.logo||a.value.repo||a.value.navbar)),b=x(()=>e.noSidebar?!1:r.value.sidebar!==!1&&p.value.length!==0&&!r.value.home),_=x(()=>e.noToc||r.value.home?!1:r.value.toc||a.value.toc!==!1&&r.value.toc!==!1),k={x:0,y:0},C=L=>{k.x=L.changedTouches[0].clientX,k.y=L.changedTouches[0].clientY},y=L=>{const N=L.changedTouches[0].clientX-k.x,P=L.changedTouches[0].clientY-k.y;Math.abs(N)>Math.abs(P)*1.5&&Math.abs(N)>40&&(N>0&&k.x<=80?c(!0):c(!1))},A=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let O=0;return $e("scroll",jv(()=>{const L=A();L<=58||L{L||c(!1)}),we(()=>{const L=Hc(document.body);ve(o,P=>{L.value=P});const N=n.afterEach(()=>{c(!1)});gn(()=>{L.value=!1,N()})}),()=>d(dt("GlobalEncrypt")?mt("GlobalEncrypt"):eu,()=>d("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!b.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":_.value,"hide-navbar":h.value,"sidebar-collapsed":!i.value&&!s.value&&u.value,"sidebar-open":i.value&&o.value},e.containerClass,r.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[g.value?d(q1,{onToggleSidebar:()=>c()},{startBefore:()=>{var L;return(L=t.navbarStartBefore)==null?void 0:L.call(t)},startAfter:()=>{var L;return(L=t.navbarStartAfter)==null?void 0:L.call(t)},centerBefore:()=>{var L;return(L=t.navbarCenterBefore)==null?void 0:L.call(t)},centerAfter:()=>{var L;return(L=t.navbarCenterAfter)==null?void 0:L.call(t)},endBefore:()=>{var L;return(L=t.navbarEndBefore)==null?void 0:L.call(t)},endAfter:()=>{var L;return(L=t.navbarEndAfter)==null?void 0:L.call(t)},screenTop:()=>{var L;return(L=t.navScreenTop)==null?void 0:L.call(t)},screenBottom:()=>{var L;return(L=t.navScreenBottom)==null?void 0:L.call(t)}}):null,d(Yt,{name:"fade"},()=>o.value?d("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),d(Yt,{name:"fade"},()=>i.value?null:d("div",{class:"toggle-sidebar-wrapper",onClick:()=>f()},d("span",{class:["arrow",u.value?"end":"start"]}))),d(G1,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var L;return(L=t.sidebarTop)==null?void 0:L.call(t)},bottom:()=>{var L;return(L=t.sidebarBottom)==null?void 0:L.call(t)}}),t.default(),d(I1)]))}}),Ln=U({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=r=>{r.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,r.style.transform="translateY(-20px)",r.style.opacity="0"},l=r=>{r.style.transform="translateY(0)",r.style.opacity="1"};return()=>d(e.type==="single"?Yt:Np,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:l,onEnter:n,onAfterEnter:l,onBeforeLeave:n},()=>t.default())}});const La=({custom:e})=>d(Ec,{class:["theme-hope-content",{custom:e}]});La.displayName="MarkdownContent",La.props={custom:Boolean};var Bu=La;const Vu=()=>d(Ne,{name:"author"},()=>d("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"}));Vu.displayName="AuthorIcon";const Uu=()=>d(Ne,{name:"calendar"},()=>d("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"}));Uu.displayName="CalendarIcon";const zu=()=>d(Ne,{name:"category"},()=>d("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"}));zu.displayName="CategoryIcon";const qu=()=>d(Ne,{name:"print"},()=>d("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"}));qu.displayName="PrintIcon";const Wu=()=>d(Ne,{name:"tag"},()=>d("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"}));Wu.displayName="TagIcon";const Ku=()=>d(Ne,{name:"timer"},()=>d("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"}));Ku.displayName="TimerIcon";const Gu=()=>d(Ne,{name:"word"},()=>[d("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"}),d("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"})]);Gu.displayName="WordIcon";const tn=()=>{const e=ye();return x(()=>e.value.metaLocales)};var Y1=U({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn();return()=>e.author.length?d("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Vu),d("span",e.author.map(n=>n.url?d("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):d("span",{class:"page-author-item"},n.name))),d("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Q1=U({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.category.length?d("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(zu),e.category.map(({name:l,path:r})=>d("span",{class:["page-category-item",{[`category${iu(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),d("meta",{property:"articleSection",content:e.category.map(({name:l})=>l).join(",")})]):null}}),J1=U({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=li(),n=tn();return()=>e.date?d("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Uu),d("span",d(Tr,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),d("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),X1=U({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=tn();return()=>e.isOriginal?d("span",{class:"page-original-info"},t.value.origin):null}}),Z1=U({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn(),n=x(()=>{if(!e.readingTime)return null;const{minutes:l}=e.readingTime;return l<1?"PT1M":`PT${Math.round(l)}M`});return()=>{var l,r;return(l=e.readingTimeLocale)!=null&&l.time?d("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Ku),d("span",(r=e.readingTimeLocale)==null?void 0:r.time),d("meta",{property:"timeRequired",content:n.value})]):null}}}),e3=U({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=tn(),n=pi();return()=>e.tag.length?d("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Wu),e.tag.map(({name:l,path:r})=>d("span",{class:["page-tag-item",{[`tag${iu(l,9)}`]:!e.pure,clickable:r}],role:r?"navigation":"",onClick:()=>{r&&n(r)}},l)),d("meta",{property:"keywords",content:e.tag.map(({name:l})=>l).join(",")})]):null}}),t3=U({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=tn();return()=>{var n,l,r;return(n=e.readingTimeLocale)!=null&&n.words?d("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[d(Gu),d("span",(l=e.readingTimeLocale)==null?void 0:l.words),d("meta",{property:"wordCount",content:(r=e.readingTime)==null?void 0:r.words})]):null}}}),n3=U({name:"PageInfo",components:{AuthorInfo:Y1,CategoryInfo:Q1,DateInfo:J1,OriginalInfo:X1,PageViewInfo:()=>null,ReadingTimeInfo:Z1,TagInfo:e3,WordInfo:t3},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=Ml();return()=>e.items?d("div",{class:"page-info"},e.items.map(n=>d(mt(`${n}Info`),{...e.info,pure:t.value}))):null}}),l3=U({name:"PrintButton",setup(){const e=en(),t=ye();return()=>e.value.print===!1?null:d("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},d(qu))}}),r3=U({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=Jt(),l=Te(),r=tn(),[a,i]=yl(),s=De(),o=Q("-1.7rem"),c=f=>{var p;(p=s.value)==null||p.scrollTo({top:f,behavior:"smooth"})},u=()=>{if(s.value){const f=document.querySelector(".vp-toc-item.active");f?o.value=`${f.getBoundingClientRect().top-s.value.getBoundingClientRect().top+s.value.scrollTop}px`:o.value="-1.7rem"}else o.value="-1.7rem"};return we(()=>{ve(()=>n.hash,f=>{if(s.value){const p=document.querySelector(`#toc a.toc-link[href$="${f}"]`);if(!p)return;const{top:h,height:g}=s.value.getBoundingClientRect(),{top:b,height:_}=p.getBoundingClientRect();bh+g&&c(s.value.scrollTop+b+_-h-g)}}),ve(()=>n.fullPath,u,{flush:"post",immediate:!0})}),()=>{var g,b;const f=({title:_,level:k,slug:C})=>d(Je,{to:`#${C}`,class:["vp-toc-link",`level${k}`],onClick:()=>{i()}},()=>_),p=(_,k)=>_.length&&k>0?d("ul",{class:"vp-toc-list"},_.map(C=>{const y=p(C.children,k-1);return[d("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},f(C)),y?d("li",y):null]})):null,h=e.items.length?p(e.items,e.headerDepth):l.value.headers?p(l.value.headers,e.headerDepth):null;return h?d("div",{class:"vp-toc-placeholder"},[d("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),d("div",{class:"vp-toc-header",onClick:()=>{i()}},[r.value.toc,d(l3),d("div",{class:["arrow",a.value?"down":"end"]})]),d("div",{class:["vp-toc-wrapper",a.value?"open":""],ref:s},[h,d("div",{class:"vp-toc-marker",style:{top:o.value}})]),(b=t.after)==null?void 0:b.call(t)])]):null}}}),Yu=U({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=Te(),n=ye(),l=De(),r=({target:a})=>{const i=document.querySelector(a.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 we(()=>{ve(()=>t.value.path,()=>l.value.focus())}),()=>[d("span",{ref:l,tabindex:"-1"}),d("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:r},n.value.routeLocales.skipToContent)]}});let ta=null,Jn=null;const a3={wait:()=>ta,pending:()=>{ta=new Promise(e=>{Jn=e})},resolve:()=>{Jn==null||Jn(),ta=null,Jn=null}},Qu=()=>a3;var Ju=U({name:"FadeSlideY",slots:Object,setup(e,{slots:t}){const{resolve:n,pending:l}=Qu();return()=>d(Yt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:n,onBeforeLeave:l},()=>{var r;return(r=t.default)==null?void 0:r.call(t)})}});const i3=(e,t)=>{const n=e.replace(t,"/").split("/"),l=[];let r=Za(t);return n.forEach((a,i)=>{i!==n.length-1?(r+=`${a}/`,l.push({link:r,name:a||"Home"})):a!==""&&(r+=a,l.push({link:r,name:a}))}),l},Xu=(e,{slots:t})=>{var f,p;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:a,description:i,image:s,imageDark:o,header:c,features:u=[]}=e;return d("div",{class:"vp-feature-wrapper"},[n?d("div",{class:["vp-feature-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?d("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${l})`},r]}):null,d("div",{class:"vp-feature",style:a?{color:a}:{}},[((f=t.image)==null?void 0:f.call(t,e))||[s?d("img",{class:["vp-feature-image",{light:o}],src:Ke(s),alt:""}):null,o?d("img",{class:"vp-feature-image dark",src:Ke(o),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?d("h2",{class:"vp-feature-header"},c):null,i?d("p",{class:"vp-feature-description",innerHTML:i}):null],u.length?d("div",{class:"vp-features"},u.map(({icon:h,title:g,details:b,link:_})=>{const k=[d("h3",{class:"vp-feature-title"},[d(Ge,{icon:h}),d("span",{innerHTML:g})]),d("p",{class:"vp-feature-details",innerHTML:b})];return _?jn(_)?d("a",{class:"vp-feature-item link",href:_,"aria-label":g,target:"_blank"},k):d(Je,{class:"vp-feature-item link",to:_,"aria-label":g},()=>k):d("div",{class:"vp-feature-item"},k)})):null])])};Xu.displayName="FeaturePanel";var Vs=Xu,s3=U({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=Se(),l=Lr(),r=x(()=>n.value.heroFullScreen??!1),a=x(()=>{const{heroText:c,tagline:u}=n.value;return{text:c??l.value.title??"Hello",tagline:u??l.value.description??"",isFullScreen:r.value}}),i=x(()=>{const{heroText:c,heroImage:u,heroImageDark:f,heroAlt:p,heroImageStyle:h}=n.value;return{image:u?Ke(u):null,imageDark:f?Ke(f):null,style:h,alt:p||c||"",isFullScreen:r.value}}),s=x(()=>{const{bgImage:c,bgImageDark:u,bgImageStyle:f}=n.value;return{image:Oe(c)?Ke(c):null,imageDark:Oe(u)?Ke(u):null,bgStyle:f,isFullScreen:r.value}}),o=x(()=>n.value.actions??[]);return()=>{var c,u,f;return d("header",{class:["vp-hero-info-wrapper",{fullscreen:r.value}]},[((c=t.heroBg)==null?void 0:c.call(t,s.value))||[s.value.image?d("div",{class:["vp-hero-mask",{light:s.value.imageDark}],style:[{"background-image":`url(${s.value.image})`},s.value.bgStyle]}):null,s.value.imageDark?d("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${s.value.imageDark})`},s.value.bgStyle]}):null],d("div",{class:"vp-hero-info"},[((u=t.heroImage)==null?void 0:u.call(t,i.value))||d(Ln,{appear:!0,type:"group"},()=>[i.value.image?d("img",{key:"light",class:["vp-hero-image",{light:i.value.imageDark}],style:i.value.style,src:i.value.image,alt:i.value.alt}):null,i.value.imageDark?d("img",{key:"dark",class:"vp-hero-image dark",style:i.value.style,src:i.value.imageDark,alt:i.value.alt}):null]),((f=t.heroInfo)==null?void 0:f.call(t,a.value))??d("div",{class:"vp-hero-infos"},[a.value.text?d(Ln,{appear:!0,delay:.04},()=>d("h1",{id:"main-title"},a.value.text)):null,a.value.tagline?d(Ln,{appear:!0,delay:.08},()=>d("p",{id:"main-description",innerHTML:a.value.tagline})):null,o.value.length?d(Ln,{appear:!0,delay:.12},()=>d("p",{class:"vp-hero-actions"},o.value.map(p=>d(Xe,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>d(Ge,{icon:p.icon})}:{})))):null])])])}}});const Zu=(e,{slots:t})=>{var p,h,g;const{bgImage:n,bgImageDark:l,bgImageStyle:r,color:a,description:i,image:s,imageDark:o,header:c,highlights:u=[],type:f="un-order"}=e;return d("div",{class:"vp-highlight-wrapper",style:a?{color:a}:{}},[n?d("div",{class:["vp-highlight-bg",{light:l}],style:[{"background-image":`url(${n})`},r]}):null,l?d("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${l})`},r]}):null,d("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[s?d("img",{class:["vp-highlight-image",{light:o}],src:Ke(s),alt:""}):null,o?d("img",{class:"vp-highlight-image dark",src:Ke(o),alt:""}):null],((h=t.info)==null?void 0:h.call(t,e))||[d("div",{class:"vp-highlight-info-wrapper"},d("div",{class:"vp-highlight-info"},[c?d("h2",{class:"vp-highlight-header",innerHTML:c}):null,i?d("p",{class:"vp-highlight-description",innerHTML:i}):null,((g=t.highlights)==null?void 0:g.call(t,u))||d(f==="order"?"ol":f==="no-order"?"dl":"ul",{class:"vp-highlights"},u.map(({icon:b,title:_,details:k,link:C})=>{const y=[d(f==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[b?d(Ge,{class:"vp-highlight-icon",icon:b}):null,d("span",{innerHTML:_})]),k?d(f==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:k}):null];return d(f==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?jn(C)?d("a",{class:"vp-highlight-item link",href:C,"aria-label":_,target:"_blank"},y):d(Je,{class:"vp-highlight-item link",to:C,"aria-label":_},()=>y):d("div",{class:"vp-highlight-item"},y))}))]))]])])};Zu.displayName="HighlightPanel";var o3=Zu,c3=U({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=Ml(),l=Se(),r=x(()=>{const{features:i}=l.value;return wa(i)?i:null}),a=x(()=>{const{highlights:i}=l.value;return wa(i)?i:null});return()=>{var i,s,o,c;return d("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":l.value.heroText===null?"":"main-title"},[(i=t.top)==null?void 0:i.call(t),d(s3),((s=a.value)==null?void 0:s.map(u=>"features"in u?d(Vs,u):d(o3,u)))||(r.value?d(Ln,{appear:!0,delay:.24},()=>d(Vs,{features:r.value})):null),(o=t.center)==null?void 0:o.call(t),d(Ln,{appear:!0,delay:.32},()=>d(Bu)),(c=t.bottom)==null?void 0:c.call(t)])}}}),u3=U({name:"BreadCrumb",setup(){const e=Te(),t=Xt(),n=Se(),l=ye(),r=De([]),a=x(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&l.value.breadcrumb!==!1)&&r.value.length>1),i=x(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&l.value.breadcrumbIcon!==!1),s=()=>{const o=i3(e.value.path,t.value).map(({link:c,name:u})=>{const{path:f,meta:p,notFound:h}=xr(c);return h||p[Et.breadcrumbExclude]?null:{title:p[Et.shortTitle]||p[Et.title]||u,icon:p[Et.icon],path:f}}).filter(c=>c!==null);o.length>1&&(r.value=o)};return we(()=>{ve(()=>e.value.path,s,{immediate:!0})}),()=>d("nav",{class:["vp-breadcrumb",{disable:!a.value}]},a.value?d("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},r.value.map((o,c)=>d("li",{class:{"is-active":r.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[d(Je,{to:o.path,property:"item",typeof:"WebPage"},()=>[i.value?d(Ge,{icon:o.icon}):null,d("span",{property:"name"},o.title||"Unknown")]),d("meta",{property:"position",content:c+1})]))):[])}});const Us=e=>e===!1||qn(e)?e:Oe(e)?Fn(e,!0):null,xa=(e,t,n)=>{const l=e.findIndex(r=>r.link===t);if(l!==-1){const r=e[l+n];return r!=null&&r.link?r:null}for(const r of e)if("children"in r){const a=xa(r.children,t,n);if(a)return a}return null};var d3=U({name:"PageNav",setup(){const e=ye(),t=Se(),n=hi(),l=Te(),r=pi(),a=x(()=>{const s=Us(t.value.prev);return s===!1?null:s||(e.value.prevLink===!1?null:xa(n.value,l.value.path,-1))}),i=x(()=>{const s=Us(t.value.next);return s===!1?null:s||(e.value.nextLink===!1?null:xa(n.value,l.value.path,1))});return $e("keydown",s=>{s.altKey&&(s.key==="ArrowRight"?i.value&&(r(i.value.link),s.preventDefault()):s.key==="ArrowLeft"&&a.value&&(r(a.value.link),s.preventDefault()))}),()=>a.value||i.value?d("nav",{class:"vp-page-nav"},[a.value?d(Xe,{class:"prev",config:a.value},()=>{var s,o;return[d("div",{class:"hint"},[d("span",{class:"arrow start"}),e.value.metaLocales.prev]),d("div",{class:"link"},[d(Ge,{icon:(s=a.value)==null?void 0:s.icon}),(o=a.value)==null?void 0:o.text])]}):null,i.value?d(Xe,{class:"next",config:i.value},()=>{var s,o;return[d("div",{class:"hint"},[e.value.metaLocales.next,d("span",{class:"arrow end"})]),d("div",{class:"link"},[(s=i.value)==null?void 0:s.text,d(Ge,{icon:(o=i.value)==null?void 0:o.icon})])]}):null]):null}});const f3={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"},p3=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:l,editLinkPattern:r})=>{if(!l)return null;const a=cu(e);let i;return r?i=r:a!==null&&(i=f3[a]),i?i.replace(/:repo/u,mn(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,oc(`${Za(n)}/${l}`)):null},h3=()=>{const e=ye(),t=Te(),n=Se();return x(()=>{const{repo:l,docsRepo:r=l,docsBranch:a="main",docsDir:i="",editLink:s,editLinkPattern:o=""}=e.value;if(!(n.value.editLink??s??!0)||!r)return null;const c=p3({docsRepo:r,docsBranch:a,docsDir:i,editLinkPattern:o,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},v3=()=>{const e=Lr(),t=ye(),n=Te(),l=Se();return x(()=>{var r,a;return!(l.value.lastUpdated??t.value.lastUpdated??!0)||!((r=n.value.git)!=null&&r.updatedTime)?null:new Date((a=n.value.git)==null?void 0:a.updatedTime).toLocaleString(e.value.lang)})},g3=()=>{const e=ye(),t=Te(),n=Se();return x(()=>{var l;return n.value.contributors??e.value.contributors??!0?((l=t.value.git)==null?void 0:l.contributors)??null:null})};var m3=U({name:"PageTitle",setup(){const e=Te(),t=Se(),n=ye(),{info:l,items:r}=k1();return()=>d("div",{class:"vp-page-title"},[d("h1",[n.value.titleIcon===!1?null:d(Ge,{icon:t.value.icon}),e.value.title]),d(n3,{info:l.value,...r.value===null?{}:{items:r.value}}),d("hr")])}});const ed=()=>d(Ne,{name:"edit"},()=>[d("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"}),d("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"})]);ed.displayName="EditIcon";var y3=U({name:"PageMeta",setup(){const e=ye(),t=h3(),n=v3(),l=g3();return()=>{const{metaLocales:r}=e.value;return d("footer",{class:"page-meta"},[t.value?d("div",{class:"meta-item edit-link"},d(Xe,{class:"label",config:t.value},{before:()=>d(ed)})):null,d("div",{class:"meta-item git-info"},[n.value?d("div",{class:"update-time"},[d("span",{class:"label"},`${r.lastUpdated}: `),d(Tr,()=>d("span",{class:"info"},n.value))]):null,l.value&&l.value.length?d("div",{class:"contributors"},[d("span",{class:"label"},`${r.contributors}: `),l.value.map(({email:a,name:i},s)=>[d("span",{class:"contributor",title:`email: ${a}`},i),s!==l.value.length-1?",":""])]):null])])}}}),_3=U({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=Se(),{isDarkmode:l}=Dl(),r=ye(),a=x(()=>n.value.toc||n.value.toc!==!1&&r.value.toc!==!1);return()=>d("main",{id:"main-content",class:"vp-page"},d(dt("LocalEncrypt")?mt("LocalEncrypt"):eu,()=>{var i,s,o,c;return[(i=t.top)==null?void 0:i.call(t),n.value.cover?d("div",{class:"page-cover"},d("img",{src:Ke(n.value.cover),alt:"","no-view":""})):null,d(u3),d(m3),a.value?d(r3,{headerDepth:n.value.headerDepth??r.value.headerDepth??2},{before:()=>{var u;return(u=t.tocBefore)==null?void 0:u.call(t)},after:()=>{var u;return(u=t.tocAfter)==null?void 0:u.call(t)}}):null,(s=t.contentBefore)==null?void 0:s.call(t),d(Bu),(o=t.contentAfter)==null?void 0:o.call(t),d(y3),d(d3),dt("CommentService")?d(mt("CommentService"),{darkmode:l.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),b3=U({name:"Layout",slots:Object,setup(e,{slots:t}){ye();const n=Te(),l=Se(),{isMobile:r}=Nr(),a=x(()=>"none");return()=>[d(Yu),d(Hu,{},{default:()=>{var i;return((i=t.default)==null?void 0:i.call(t))||(l.value.home?d(c3):d(Ju,()=>d(_3,{key:n.value.path},{top:()=>{var s;return(s=t.top)==null?void 0:s.call(t)},bottom:()=>{var s;return(s=t.bottom)==null?void 0:s.call(t)},contentBefore:()=>{var s;return(s=t.contentBefore)==null?void 0:s.call(t)},contentAfter:()=>{var s;return(s=t.contentAfter)==null?void 0:s.call(t)},tocBefore:()=>{var s;return(s=t.tocBefore)==null?void 0:s.call(t)},tocAfter:()=>{var s;return(s=t.tocAfter)==null?void 0:s.call(t)}})))},...a.value==="none"?{}:{navScreenBottom:()=>d(mt("BloggerInfo"))},...!r.value&&a.value==="always"?{sidebar:()=>d(mt("BloggerInfo"))}:{}})]}}),k3=U({name:"NotFoundHint",setup(){const e=ye(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>d("div",{class:"not-found-hint"},[d("p",{class:"error-code"},"404"),d("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),d("p",{class:"error-hint"},t())])}}),w3=U({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=yn(),l=Xt(),r=ye();return()=>[d(Yu),d(Hu,{noSidebar:!0},()=>{var a;return d("main",{id:"main-content",class:"vp-page not-found"},((a=t.default)==null?void 0:a.call(t))||[d(k3),d("div",{class:"actions"},[d("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},r.value.routeLocales.back),d("button",{type:"button",class:"action-button",onClick:()=>{n.push(r.value.home??l.value)}},r.value.routeLocales.home)])])})]}});const td=()=>d(Ne,{name:"lock"},()=>d("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));td.displayName="LockIcon";var E3={};const kn="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),na=Array.from({length:64},(e,t)=>t),Zl=e=>Array(e).fill(-1),$t=[...Zl(46),0,1,...na.slice(54,64),...Zl(7),...na.slice(2,28),...Zl(6),...na.slice(28,54),...Zl(5)],zs=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],qs=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],nd=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Ta=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,l,r;const a=[];for(;n>2&63]),l=(l&3)<<4,n>=t){a.push(kn[l&63]);break}if(r=e[n++]&255,l|=r>>4&15,a.push(kn[l&63]),l=(r&15)<<2,n>=t){a.push(kn[l&63]);break}r=e[n++]&255,l|=r>>6&3,a.push(kn[l&63]),a.push(kn[r&63])}return a.join("")},C3=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let l=0,r=0,a,i,s,o,c,u;const f=[];for(;l>>0,c|=(i&48)>>4,f.push(String.fromCharCode(c)),++r>=t||l>=n)||(u=e.charCodeAt(l++),s=u<$t.length?$t[u]:-1,s==-1)||(c=(i&15)<<4>>>0,c|=(s&60)>>2,f.push(String.fromCharCode(c)),++r>=t||l>=n)));)u=e.charCodeAt(l++),o=u<$t.length?$t[u]:-1,c=(s&3)<<6>>>0,c|=o,f.push(String.fromCharCode(c)),++r;return f.map(p=>p.charCodeAt(0))},A3=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},L3=(e,t)=>{let n,l=null;for(;(n=l!==null?l:e())!==null;){if(n>=55296&&n<=57343&&(l=e())!==null&&l>=56320&&l<=57343){t((n-55296)*1024+l-56320+65536),l=null;continue}t(n)}l!==null&&t(l)},x3=(e,t)=>{L3(e,function(n){A3(n,t)})},T3=typeof process=="object"&&E3.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,S3=e=>{const t=[];let n=0;return x3(()=>n>=e.length?null:e.charCodeAt(n++),l=>{t.push(l)}),t},kl=(e,t,n,l)=>{let r,a=e[t],i=e[t+1];return a^=n[0],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[1],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[2],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[3],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[4],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[5],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[6],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[7],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[8],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[9],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[10],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[11],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[12],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[13],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[14],r=l[a>>>24],r+=l[256|a>>16&255],r^=l[512|a>>8&255],r+=l[768|a&255],i^=r^n[15],r=l[i>>>24],r+=l[256|i>>16&255],r^=l[512|i>>8&255],r+=l[768|i&255],a^=r^n[16],e[t]=i^n[17],e[t+1]=a,e},Cn=(e,t)=>{let n=0;for(let l=0;l<4;++l)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},Ws=(e,t,n)=>{const l=t.length,r=n.length;let a=0,i=[0,0],s;for(let o=0;o{const r=n.length,a=l.length;let i=0,s=[0,0],o;for(let c=0;c{const a=nd.slice(),i=a.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(l===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(l===!1)return Promise.reject(p);throw p}n=1<>>0;let s,o,c=0,u;Int32Array?(s=new Int32Array(zs),o=new Int32Array(qs)):(s=zs.slice(),o=qs.slice()),N3(t,e,s,o);const f=()=>{if(r&&r(c/n),c100)););}else{for(c=0;c<64;c++)for(u=0;u>1;u++)kl(a,u<<1,s,o);const p=[];for(c=0;c>24&255)>>>0),p.push((a[c]>>16&255)>>>0),p.push((a[c]>>8&255)>>>0),p.push((a[c]&255)>>>0);return l===!1?Promise.resolve(p):p}if(l===!1)return new Promise(p=>T3(()=>{f().then(p)}))};if(l===!1)return f();{let p;for(;;)if(typeof(p=f())<"u")return p||[]}},I3=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},O3=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Ta(I3(16),16)),t.join("")};function P3(e,t,n,l){if(typeof e!="string"||typeof t!="string"){const h=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(h);throw h}let r,a;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const h=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(h);throw h}if(t.charAt(2)==="$")r="\0",a=3;else{if(r=t.charAt(2),r!=="a"&&r!=="b"&&r!=="y"||t.charAt(3)!=="$"){const h=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(h);throw h}a=4}if(t.charAt(a+2)>"$"){const h=new Error("Missing salt rounds");if(n===!1)return Promise.reject(h);throw h}const i=parseInt(t.substring(a,a+1),10)*10,s=parseInt(t.substring(a+1,a+2),10),o=i+s,c=t.substring(a+3,a+25);e+=r>="a"?"\0":"";const u=S3(e),f=C3(c,16),p=h=>{const g=[];return g.push("$2"),r>="a"&&g.push(r),g.push("$"),o<10&&g.push("0"),g.push(o.toString()),g.push("$"),g.push(Ta(f,f.length)),g.push(Ta(h,nd.length*4-1)),g.join("")};return n===!1?Ks(u,f,o,!1,l).then(h=>p(h)):p(Ks(u,f,o,!0,l))}const R3=(e,t=10)=>{if(typeof t=="number"&&(t=O3(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return P3(e,t,!0)},Sa=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:R3(e,t.substring(0,t.length-31))===t};var ld=U({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=Se(),l=ye(),r=Q(""),a=Q(!1),i=Q(!1),s=x(()=>l.value.encryptLocales);let o=null;const c=()=>{o&&clearTimeout(o),a.value=!1,t("verify",r.value,i.value),Qt().then(()=>{a.value=!0,o=setTimeout(()=>{a.value=!1},1e3)})};return()=>d("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},d("div",{class:"vp-decrypt-modal"},[d("div",{class:["vp-decrypt-hint",{tried:a.value}]},a.value?s.value.errorHint:d(td,{"aria-label":s.value.iconLabel})),d("div",{class:"vp-decrypt-input"},[d("input",{type:"password",value:r.value,placeholder:s.value.placeholder,onInput:({target:u})=>{r.value=u.value},onKeydown:({key:u})=>{u==="Enter"&&c()}})]),d("div",{class:"vp-remember-password"},[d("input",{type:"checkbox",value:i.value,onChange:()=>i.value=!i.value}),s.value.remember]),d("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const rd=()=>{const e=en();return x(()=>e.value.encrypt||{})},Gs="VUEPRESS_HOPE_GLOBAL_TOKEN",F3=()=>{const e=rd(),t=Kn(Gs,""),n=Bc(Gs,""),l=x(()=>{const{global:a=!1,admin:i=[]}=e.value;return a&&i.length>0}),r=x(()=>{if(l.value){if(t.value)return e.value.admin.some(a=>Sa(t.value,a));if(n.value)return e.value.admin.some(a=>Sa(n.value,a))}return!1});return{isEncrypted:l,isDecrypted:r,validate:(a,i=!1)=>{(i?t:n).value=a}}},la=(e="",t)=>!!e&&Sa(e,t),Ys="VUEPRESS_HOPE_PATH_TOKEN",$3=()=>{const e=Te(),t=rd(),n=Kn(Ys,{}),l=Bc(Ys,{}),r=i=>qn(t.value.config)?Zt(t.value.config).filter(s=>Vn(decodeURI(i),s)).sort((s,o)=>o.length-s.length):[],a=i=>{const s=r(i);if(s.length>0){const{config:o={}}=t.value;return{isEncrypted:!0,isDecrypted:s.some(c=>n.value[c]&&o[c].some(u=>la(n.value[c],u))||l.value[c]&&o[c].some(u=>la(l.value[c],u)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:x(()=>a(e.value.path)),getStatus:a,validate:(i,s=!1)=>{const{config:o={}}=t.value,c=r(e.value.path);for(const u of c)if(o[u].filter(f=>la(i,f))){(s?n:l).value[u]=i;break}}}};var M3=U({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:l,validate:r}=F3(),a=Q(!1);return we(()=>{a.value=!0}),()=>d(Ju,()=>l.value?a.value?n.value?t.default():d(ld,{full:!0,onVerify:r}):null:t.default())}}),D3=U({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:l}=$3(),r=Q(!1);return we(()=>{r.value=!0}),()=>{const{isEncrypted:a,isDecrypted:i}=n.value;return a?r.value?i?t.default():d(ld,{full:!0,onVerify:l}):null:t.default()}}});dg(e=>{const t=e.t,n=e.I!==!1,l=e.i;return n?{title:t,content:l?()=>[d(Ge,{icon:l}),t]:null,order:e.O,index:e.I}:null});const j3=et({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...l)=>(await Qu().wait(),n(...l)),C1(e),e.component("HopeIcon",Ge),e.component("GlobalEncrypt",M3),e.component("LocalEncrypt",D3)},setup:()=>{A1(),N1()},layouts:{Layout:b3,NotFound:w3}}),H3=e=>(xl("data-v-3b58f839"),e=e(),Tl(),e),B3={class:"item-card"},V3={class:"item-name"},U3={class:"item-description"},z3={class:"item-bar"},q3=["href"],W3=H3(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),K3=[W3],G3=["href"],Y3=["src"],Q3={class:"author-name"},J3=U({__name:"ResItemCard",props:{item:Object},setup(e){const t=e;return(n,l)=>(yt(),Kt("div",B3,[se("div",V3,Ut(t.item.name),1),se("div",U3,Ut(t.item.description),1),se("div",z3,[fn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.link,class:""},K3,8,q3),se("div",null,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,Y3),se("div",Q3,Ut(t.item.author),1)],8,G3)])])]))}}),_n=(e,t)=>{const n=e.__vccOpts||e;for(const[l,r]of t)n[l]=r;return n},X3=_n(J3,[["__scopeId","data-v-3b58f839"],["__file","ResItemCard.vue"]]),Z3=e=>(xl("data-v-002d38b2"),e=e(),Tl(),e),e0={class:"market"},t0=Z3(()=>se("h1",null,"主题/资源商店",-1)),n0={class:"search-box-div"},l0={class:"items"},r0=U({__name:"ResStore",setup(e){let t=x(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.description.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())).reverse():n.value.reverse()),n=Q([]),l=Q("");return fetch("/assets/resources.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),(r,a)=>(yt(),Kt("div",e0,[t0,se("div",n0,[Io(se("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":a[0]||(a[0]=i=>Fe(l)?l.value=i:l=i)},null,512),[[ac,lt(l)]])]),se("div",l0,[fn(" 使用filteredItems来布局商品 "),(yt(!0),Kt(ze,null,Mo(lt(t),i=>(yt(),Ja(X3,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),a0=_n(r0,[["__scopeId","data-v-002d38b2"],["__file","ResStore.vue"]]);var i0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function s0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ad={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha - */(function(e,t){(function(l,r){e.exports=r()})(i0,function(){return function(){var n={686:function(a,i,s){s.d(i,{default:function(){return Ye}});var o=s(279),c=s.n(o),u=s(370),f=s.n(u),p=s(817),h=s.n(p);function g(ee){try{return document.execCommand(ee)}catch{return!1}}var b=function(z){var K=h()(z);return g("cut"),K},_=b;function k(ee){var z=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[z?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(ne,"px"),K.setAttribute("readonly",""),K.value=ee,K}var C=function(z,K){var ne=k(z);K.container.appendChild(ne);var X=h()(ne);return g("copy"),ne.remove(),X},y=function(z){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof z=="string"?ne=C(z,K):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?ne=C(z.value,K):(ne=h()(z),g("copy")),ne},A=y;function O(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(K){return typeof K}:O=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},O(ee)}var L=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=z.action,ne=K===void 0?"copy":K,X=z.container,w=z.target,j=z.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(w!==void 0)if(w&&O(w)==="object"&&w.nodeType===1){if(ne==="copy"&&w.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(w.hasAttribute("readonly")||w.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(j)return A(j,{container:X});if(w)return ne==="cut"?_(w):A(w,{container:X})},N=L;function P(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(K){return typeof K}:P=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},P(ee)}function J(ee,z){if(!(ee instanceof z))throw new TypeError("Cannot call a class as a function")}function I(ee,z){for(var K=0;K"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function G(ee){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},G(ee)}function Le(ee,z){var K="data-clipboard-".concat(ee);if(z.hasAttribute(K))return z.getAttribute(K)}var rt=function(ee){$(K,ee);var z=Ee(K);function K(ne,X){var w;return J(this,K),w=z.call(this),w.resolveOptions(X),w.listenClick(ne),w}return q(K,[{key:"resolveOptions",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof X.action=="function"?X.action:this.defaultAction,this.target=typeof X.target=="function"?X.target:this.defaultTarget,this.text=typeof X.text=="function"?X.text:this.defaultText,this.container=P(X.container)==="object"?X.container:document.body}},{key:"listenClick",value:function(X){var w=this;this.listener=f()(X,"click",function(j){return w.onClick(j)})}},{key:"onClick",value:function(X){var w=X.delegateTarget||X.currentTarget,j=this.action(w)||"copy",H=N({action:j,container:this.container,target:this.target(w),text:this.text(w)});this.emit(H?"success":"error",{action:j,text:H,trigger:w,clearSelection:function(){w&&w.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(X){return Le("action",X)}},{key:"defaultTarget",value:function(X){var w=Le("target",X);if(w)return document.querySelector(w)}},{key:"defaultText",value:function(X){return Le("text",X)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(X){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(X,w)}},{key:"cut",value:function(X){return _(X)}},{key:"isSupported",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],w=typeof X=="string"?[X]:X,j=!!document.queryCommandSupported;return w.forEach(function(H){j=j&&!!document.queryCommandSupported(H)}),j}}]),K}(c()),Ye=rt},828:function(a){var i=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function o(c,u){for(;c&&c.nodeType!==i;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}a.exports=o},438:function(a,i,s){var o=s(828);function c(p,h,g,b,_){var k=f.apply(this,arguments);return p.addEventListener(g,k,_),{destroy:function(){p.removeEventListener(g,k,_)}}}function u(p,h,g,b,_){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof g=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(k){return c(k,h,g,b,_)}))}function f(p,h,g,b){return function(_){_.delegateTarget=o(_.target,h),_.delegateTarget&&b.call(p,_)}}a.exports=u},879:function(a,i){i.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},i.nodeList=function(s){var o=Object.prototype.toString.call(s);return s!==void 0&&(o==="[object NodeList]"||o==="[object HTMLCollection]")&&"length"in s&&(s.length===0||i.node(s[0]))},i.string=function(s){return typeof s=="string"||s instanceof String},i.fn=function(s){var o=Object.prototype.toString.call(s);return o==="[object Function]"}},370:function(a,i,s){var o=s(879),c=s(438);function u(g,b,_){if(!g&&!b&&!_)throw new Error("Missing required arguments");if(!o.string(b))throw new TypeError("Second argument must be a String");if(!o.fn(_))throw new TypeError("Third argument must be a Function");if(o.node(g))return f(g,b,_);if(o.nodeList(g))return p(g,b,_);if(o.string(g))return h(g,b,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(g,b,_){return g.addEventListener(b,_),{destroy:function(){g.removeEventListener(b,_)}}}function p(g,b,_){return Array.prototype.forEach.call(g,function(k){k.addEventListener(b,_)}),{destroy:function(){Array.prototype.forEach.call(g,function(k){k.removeEventListener(b,_)})}}}function h(g,b,_){return c(document.body,g,b,_)}a.exports=u},817:function(a){function i(s){var o;if(s.nodeName==="SELECT")s.focus(),o=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),o=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),o=u.toString()}return o}a.exports=i},279:function(a){function i(){}i.prototype={on:function(s,o,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:o,ctx:c}),this},once:function(s,o,c){var u=this;function f(){u.off(s,f),o.apply(c,arguments)}return f._=o,this.on(s,f,c)},emit:function(s){var o=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=c.length;for(u;u(xl("data-v-fb9f7c66"),e=e(),Tl(),e),d0={class:"item-card"},f0={class:"item-name"},p0={class:"item-description"},h0={class:"item-bar"},v0=["href"],g0=u0(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),m0=[g0],y0={class:"btn"},_0=["href"],b0=["src"],k0={class:"author-name"},w0=U({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const l=new c0(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});l.on("success",()=>{}),l.on("error",()=>{})};return(l,r)=>(yt(),Gt("div",d0,[se("div",f0,Ut(t.item.name),1),se("div",p0,Ut(t.item.desc),1),se("div",h0,[fn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.homepage,class:"btn"},m0,8,v0),fn(' 点击后把安装命令写入剪贴板'),se("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),se("div",y0,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,b0),se("div",k0,Ut(t.item.author),1)],8,_0)]),fn(" 复制键,复制安装命令,npm install props.item.module_name")])]))}}),E0=_n(w0,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),id=e=>(xl("data-v-43257c18"),e=e(),Tl(),e),C0={class:"market"},A0=id(()=>se("h1",null,"插件商店",-1)),L0=id(()=>se("p",null,[dr("内容来自"),se("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),dr("和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店")],-1)),x0={class:"search-box-div"},T0={class:"items"},S0=U({__name:"PluginStore",setup(e){let t=x(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.desc.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())||r.module_name.toLowerCase().includes(l.value.toLowerCase())):n.value),n=Q([]),l=Q("");return fetch("/assets/plugins.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),fetch("https://registry.nonebot.dev/plugins.json").then(r=>r.json()).then(r=>{n.value=n.value.concat(r)}),(r,a)=>(yt(),Gt("div",C0,[A0,L0,fn(" 搜索框"),se("div",x0,[Io(se("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":a[0]||(a[0]=i=>Fe(l)?l.value=i:l=i)},null,512),[[ac,lt(l)]])]),se("div",T0,[fn(" 使用filteredItems来布局商品 "),(yt(!0),Gt(ze,null,Mo(lt(t),i=>(yt(),Ja(E0,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),N0=_n(S0,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),I0={class:"info-box"},O0=se("h1",null,"Dashboard",-1),P0={class:"info"},R0={class:"info-item"},F0=se("h2",null,"Total",-1),$0={class:"info-item"},M0=se("h2",null,"Online",-1),D0=U({__name:"Dash",setup(e){let t=Q(0),n=Q(0);return fetch("https://api.liteyuki.icu/count").then(l=>l.json()).then(l=>{t.value=l.register}).catch(l=>console.error(l)),fetch("https://api.liteyuki.icu/online").then(l=>l.json()).then(l=>{n.value=l.online}).catch(l=>console.error(l)),(l,r)=>(yt(),Gt("div",I0,[O0,se("div",P0,[se("div",R0,[F0,se("p",null,Ut(lt(t)),1)]),se("div",$0,[M0,se("p",null,Ut(lt(n)),1)])])]))}}),j0=_n(D0,[["__file","Dash.vue"]]),H0={};function B0(e,t){return null}const V0=_n(H0,[["render",B0],["__file","Home.vue"]]),U0={},sd=e=>(xl("data-v-ab5c02e3"),e=e(),Tl(),e),z0=sd(()=>se("div",{style:{"text-align":"center"}},[se("h2",null,"地理分布"),se("p",null,"数据来源于Liteyuki API")],-1)),q0=sd(()=>se("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),W0=[z0,q0];function G0(e,t){return yt(),Gt("div",null,W0)}const K0=_n(U0,[["render",G0],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),Y0=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",V0),e.component("dashComp",j0),e.component("resourceStoreComp",a0),e.component("pluginStoreComp",N0),e.component("geoComp",K0)}}),er=[uv,rg,ug,gg,_g,Eg,xg,Og,Hg,Jg,Pm,Gm,u1,j3,Y0],Q0=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"/js/style.js","type":"module"}],["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{"/":{"lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/zh/get_data.js","type":"module"}]]},"/en/":{"lang":"en-US","title":"LiteyukiBot","description":"LiteyukiBot | An OneBot Standard ChatBot ","head":[["script",{"src":"/js/en/get_data.js","type":"module"}]]}}}');var Zn=De(Q0),J0=Sh,X0=()=>{const e=tv({history:J0(Za("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,l)=>l||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===xt){const l=xr(t.path);if(l.path!==t.path)return l.path;const r=await l.loader();t.meta={...l.meta,_pageChunk:r}}else t.path===n.path&&(t.meta=n.meta)}),e},Z0=e=>{e.component("ClientOnly",Tr),e.component("Content",Ec),e.component("RouteLink",Je)},e2=(e,t,n)=>{const l=x(()=>t.currentRoute.value.path),r=za((_,k)=>({get(){return _(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,k()}})),a=x(()=>rn.resolveLayouts(n)),i=x(()=>rn.resolveRouteLocale(Zn.value.locales,l.value)),s=x(()=>rn.resolveSiteLocaleData(Zn.value,i.value)),o=x(()=>r.value.comp),c=x(()=>r.value.data),u=x(()=>c.value.frontmatter),f=x(()=>rn.resolvePageHeadTitle(c.value,s.value)),p=x(()=>rn.resolvePageHead(f.value,u.value,s.value)),h=x(()=>rn.resolvePageLang(c.value,s.value)),g=x(()=>rn.resolvePageLayout(c.value,a.value)),b={layouts:a,pageData:c,pageComponent:o,pageFrontmatter:u,pageHead:p,pageHeadTitle:f,pageLang:h,pageLayout:g,redirects:ya,routeLocale:i,routePath:l,routes:ml,siteData:Zn,siteLocaleData:s};return e.provide(ni,b),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>f.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>s.value},$withBase:{get:()=>Ge}}),b},t2=()=>{const e=rv(),t=li();let n=[];const l=()=>{e.value.forEach(i=>{const s=n2(i);s&&n.push(s)})},r=()=>{const i=[];return e.value.forEach(s=>{const o=l2(s);o&&i.push(o)}),i},a=()=>{document.documentElement.lang=t.value;const i=r();n.forEach((s,o)=>{const c=i.findIndex(u=>s.isEqualNode(u));c===-1?(s.remove(),delete n[o]):i.splice(c,1)}),i.forEach(s=>document.head.appendChild(s)),n=[...n.filter(s=>!!s),...i]};On(iv,a),we(()=>{l(),ve(e,a,{immediate:!1})})},n2=([e,t,n=""])=>{const l=Object.entries(t).map(([s,o])=>Oe(o)?`[${s}=${JSON.stringify(o)}]`:o===!0?`[${s}]`:"").join(""),r=`head > ${e}${l}`;return Array.from(document.querySelectorAll(r)).find(s=>s.innerText===n)||null},l2=([e,t,n])=>{if(!Oe(e))return null;const l=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([r,a])=>{Oe(a)?l.setAttribute(r,a):a===!0&&l.setAttribute(r,"")}),Oe(n)&&l.appendChild(document.createTextNode(n)),l},r2=Dp,a2=async()=>{var n;const e=r2({name:"Vuepress",setup(){var a;t2();for(const i of er)(a=i.setup)==null||a.call(i);const l=er.flatMap(({rootComponents:i=[]})=>i.map(s=>d(s))),r=av();return()=>[d(r.value),l]}}),t=X0();Z0(e),e2(e,t,er);for(const l of er)await((n=l.enhance)==null?void 0:n.call(l,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};a2().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{_n as _,Ie as a,se as b,Gt as c,a2 as createVueApp,dr as d,i2 as e,yt as o,mt as r,nf as w}; + */(function(e,t){(function(l,r){e.exports=r()})(i0,function(){return function(){var n={686:function(a,i,s){s.d(i,{default:function(){return Ye}});var o=s(279),c=s.n(o),u=s(370),f=s.n(u),p=s(817),h=s.n(p);function g(ee){try{return document.execCommand(ee)}catch{return!1}}var b=function(z){var G=h()(z);return g("cut"),G},_=b;function k(ee){var z=document.documentElement.getAttribute("dir")==="rtl",G=document.createElement("textarea");G.style.fontSize="12pt",G.style.border="0",G.style.padding="0",G.style.margin="0",G.style.position="absolute",G.style[z?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return G.style.top="".concat(ne,"px"),G.setAttribute("readonly",""),G.value=ee,G}var C=function(z,G){var ne=k(z);G.container.appendChild(ne);var X=h()(ne);return g("copy"),ne.remove(),X},y=function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof z=="string"?ne=C(z,G):z instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(z==null?void 0:z.type)?ne=C(z.value,G):(ne=h()(z),g("copy")),ne},A=y;function O(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(G){return typeof G}:O=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},O(ee)}var L=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=z.action,ne=G===void 0?"copy":G,X=z.container,w=z.target,j=z.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(w!==void 0)if(w&&O(w)==="object"&&w.nodeType===1){if(ne==="copy"&&w.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(w.hasAttribute("readonly")||w.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(j)return A(j,{container:X});if(w)return ne==="cut"?_(w):A(w,{container:X})},N=L;function P(ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(G){return typeof G}:P=function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},P(ee)}function J(ee,z){if(!(ee instanceof z))throw new TypeError("Cannot call a class as a function")}function I(ee,z){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function K(ee){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(G){return G.__proto__||Object.getPrototypeOf(G)},K(ee)}function Le(ee,z){var G="data-clipboard-".concat(ee);if(z.hasAttribute(G))return z.getAttribute(G)}var rt=function(ee){$(G,ee);var z=Ee(G);function G(ne,X){var w;return J(this,G),w=z.call(this),w.resolveOptions(X),w.listenClick(ne),w}return q(G,[{key:"resolveOptions",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof X.action=="function"?X.action:this.defaultAction,this.target=typeof X.target=="function"?X.target:this.defaultTarget,this.text=typeof X.text=="function"?X.text:this.defaultText,this.container=P(X.container)==="object"?X.container:document.body}},{key:"listenClick",value:function(X){var w=this;this.listener=f()(X,"click",function(j){return w.onClick(j)})}},{key:"onClick",value:function(X){var w=X.delegateTarget||X.currentTarget,j=this.action(w)||"copy",H=N({action:j,container:this.container,target:this.target(w),text:this.text(w)});this.emit(H?"success":"error",{action:j,text:H,trigger:w,clearSelection:function(){w&&w.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(X){return Le("action",X)}},{key:"defaultTarget",value:function(X){var w=Le("target",X);if(w)return document.querySelector(w)}},{key:"defaultText",value:function(X){return Le("text",X)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(X){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return A(X,w)}},{key:"cut",value:function(X){return _(X)}},{key:"isSupported",value:function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],w=typeof X=="string"?[X]:X,j=!!document.queryCommandSupported;return w.forEach(function(H){j=j&&!!document.queryCommandSupported(H)}),j}}]),G}(c()),Ye=rt},828:function(a){var i=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function o(c,u){for(;c&&c.nodeType!==i;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}a.exports=o},438:function(a,i,s){var o=s(828);function c(p,h,g,b,_){var k=f.apply(this,arguments);return p.addEventListener(g,k,_),{destroy:function(){p.removeEventListener(g,k,_)}}}function u(p,h,g,b,_){return typeof p.addEventListener=="function"?c.apply(null,arguments):typeof g=="function"?c.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(k){return c(k,h,g,b,_)}))}function f(p,h,g,b){return function(_){_.delegateTarget=o(_.target,h),_.delegateTarget&&b.call(p,_)}}a.exports=u},879:function(a,i){i.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},i.nodeList=function(s){var o=Object.prototype.toString.call(s);return s!==void 0&&(o==="[object NodeList]"||o==="[object HTMLCollection]")&&"length"in s&&(s.length===0||i.node(s[0]))},i.string=function(s){return typeof s=="string"||s instanceof String},i.fn=function(s){var o=Object.prototype.toString.call(s);return o==="[object Function]"}},370:function(a,i,s){var o=s(879),c=s(438);function u(g,b,_){if(!g&&!b&&!_)throw new Error("Missing required arguments");if(!o.string(b))throw new TypeError("Second argument must be a String");if(!o.fn(_))throw new TypeError("Third argument must be a Function");if(o.node(g))return f(g,b,_);if(o.nodeList(g))return p(g,b,_);if(o.string(g))return h(g,b,_);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function f(g,b,_){return g.addEventListener(b,_),{destroy:function(){g.removeEventListener(b,_)}}}function p(g,b,_){return Array.prototype.forEach.call(g,function(k){k.addEventListener(b,_)}),{destroy:function(){Array.prototype.forEach.call(g,function(k){k.removeEventListener(b,_)})}}}function h(g,b,_){return c(document.body,g,b,_)}a.exports=u},817:function(a){function i(s){var o;if(s.nodeName==="SELECT")s.focus(),o=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),o=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),f=document.createRange();f.selectNodeContents(s),u.removeAllRanges(),u.addRange(f),o=u.toString()}return o}a.exports=i},279:function(a){function i(){}i.prototype={on:function(s,o,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:o,ctx:c}),this},once:function(s,o,c){var u=this;function f(){u.off(s,f),o.apply(c,arguments)}return f._=o,this.on(s,f,c)},emit:function(s){var o=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,f=c.length;for(u;u(xl("data-v-fb9f7c66"),e=e(),Tl(),e),d0={class:"item-card"},f0={class:"item-name"},p0={class:"item-description"},h0={class:"item-bar"},v0=["href"],g0=u0(()=>se("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[se("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),m0=[g0],y0={class:"btn"},_0=["href"],b0=["src"],k0={class:"author-name"},w0=U({__name:"PluginItemCard",props:{item:Object},setup(e){const t=e,n=()=>{const l=new c0(".copy-btn",{text:()=>`npm install ${t.item.module_name}`});l.on("success",()=>{}),l.on("error",()=>{})};return(l,r)=>(yt(),Kt("div",d0,[se("div",f0,Ut(t.item.name),1),se("div",p0,Ut(t.item.desc),1),se("div",h0,[fn(' 三个可点击svg,一个github,一个下载,一个可点击"https://github.com/{{ username }}.png?size=80"个人头像配上id'),se("a",{href:t.item.homepage,class:"btn"},m0,8,v0),fn(' 点击后把安装命令写入剪贴板'),se("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),se("div",y0,[se("a",{class:"author-info",href:`https://github.com/${t.item.author}`},[se("img",{class:"icon avatar",src:`https://github.com/${t.item.author}.png?size=80`,alt:""},null,8,b0),se("div",k0,Ut(t.item.author),1)],8,_0)]),fn(" 复制键,复制安装命令,npm install props.item.module_name")])]))}}),E0=_n(w0,[["__scopeId","data-v-fb9f7c66"],["__file","PluginItemCard.vue"]]),id=e=>(xl("data-v-43257c18"),e=e(),Tl(),e),C0={class:"market"},A0=id(()=>se("h1",null,"插件商店",-1)),L0=id(()=>se("p",null,[dr("内容来自"),se("a",{href:"https://nonebot.dev/store/plugins"},"NoneBot插件商店"),dr("和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店")],-1)),x0={class:"search-box-div"},T0={class:"items"},S0=U({__name:"PluginStore",setup(e){let t=x(()=>l.value?n.value.filter(r=>r.name.toLowerCase().includes(l.value.toLowerCase())||r.desc.toLowerCase().includes(l.value.toLowerCase())||r.author.toLowerCase().includes(l.value.toLowerCase())||r.module_name.toLowerCase().includes(l.value.toLowerCase())):n.value),n=Q([]),l=Q("");return fetch("/assets/plugins.json").then(r=>r.json()).then(r=>{n.value=r}).catch(r=>console.error(r)),fetch("https://registry.nonebot.dev/plugins.json").then(r=>r.json()).then(r=>{n.value=n.value.concat(r)}),(r,a)=>(yt(),Kt("div",C0,[A0,L0,fn(" 搜索框"),se("div",x0,[Io(se("input",{class:"item-search-box",type:"text",placeholder:"搜索插件","onUpdate:modelValue":a[0]||(a[0]=i=>Fe(l)?l.value=i:l=i)},null,512),[[ac,lt(l)]])]),se("div",T0,[fn(" 使用filteredItems来布局商品 "),(yt(!0),Kt(ze,null,Mo(lt(t),i=>(yt(),Ja(E0,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),N0=_n(S0,[["__scopeId","data-v-43257c18"],["__file","PluginStore.vue"]]),I0={class:"info-box"},O0=se("h1",null,"Dashboard",-1),P0={class:"info"},R0={class:"info-item"},F0=se("h2",null,"Total",-1),$0={class:"info-item"},M0=se("h2",null,"Online",-1),D0=U({__name:"Dash",setup(e){let t=Q(0),n=Q(0);return fetch("https://api.liteyuki.icu/count").then(l=>l.json()).then(l=>{t.value=l.register}).catch(l=>console.error(l)),fetch("https://api.liteyuki.icu/online").then(l=>l.json()).then(l=>{n.value=l.online}).catch(l=>console.error(l)),(l,r)=>(yt(),Kt("div",I0,[O0,se("div",P0,[se("div",R0,[F0,se("p",null,Ut(lt(t)),1)]),se("div",$0,[M0,se("p",null,Ut(lt(n)),1)])])]))}}),j0=_n(D0,[["__file","Dash.vue"]]),H0={};function B0(e,t){return null}const V0=_n(H0,[["render",B0],["__file","Home.vue"]]),U0={},sd=e=>(xl("data-v-ab5c02e3"),e=e(),Tl(),e),z0=sd(()=>se("div",{style:{"text-align":"center"}},[se("h2",null,"地理分布"),se("p",null,"数据来源于Liteyuki API")],-1)),q0=sd(()=>se("div",{id:"main-chart",style:{width:"100%",height:"600px"}},null,-1)),W0=[z0,q0];function K0(e,t){return yt(),Kt("div",null,W0)}const G0=_n(U0,[["render",K0],["__scopeId","data-v-ab5c02e3"],["__file","Geo.vue"]]),Y0=et({enhance:({app:e,router:t,siteData:n})=>{e.component("homeComp",V0),e.component("dashComp",j0),e.component("resourceStoreComp",a0),e.component("pluginStoreComp",N0),e.component("geoComp",G0)}}),er=[uv,rg,ug,gg,_g,Eg,xg,Og,Hg,Jg,Pm,Km,u1,j3,Y0],Q0=JSON.parse('{"base":"/","lang":"en-US","title":"","description":"","head":[["script",{"src":"/js/style.js","type":"module"}],["link",{"rel":"icon","href":"https://cdn.liteyuki.icu/favicon.ico"}],["link",{"rel":"stylesheet","href":"https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css"}],["meta",{"name":"viewport","content":"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"}]],"locales":{"/":{"lang":"zh-CN","title":"LiteyukiBot 轻雪机器人","description":"LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人","head":[["script",{"src":"/js/zh/get_data.js","type":"module"}]]},"/en/":{"lang":"en-US","title":"LiteyukiBot","description":"LiteyukiBot | An OneBot Standard ChatBot ","head":[["script",{"src":"/js/en/get_data.js","type":"module"}]]}}}');var Zn=De(Q0),J0=Sh,X0=()=>{const e=tv({history:J0(Za("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,l)=>l||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===xt){const l=xr(t.path);if(l.path!==t.path)return l.path;const r=await l.loader();t.meta={...l.meta,_pageChunk:r}}else t.path===n.path&&(t.meta=n.meta)}),e},Z0=e=>{e.component("ClientOnly",Tr),e.component("Content",Ec),e.component("RouteLink",Je)},e2=(e,t,n)=>{const l=x(()=>t.currentRoute.value.path),r=za((_,k)=>({get(){return _(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,k()}})),a=x(()=>rn.resolveLayouts(n)),i=x(()=>rn.resolveRouteLocale(Zn.value.locales,l.value)),s=x(()=>rn.resolveSiteLocaleData(Zn.value,i.value)),o=x(()=>r.value.comp),c=x(()=>r.value.data),u=x(()=>c.value.frontmatter),f=x(()=>rn.resolvePageHeadTitle(c.value,s.value)),p=x(()=>rn.resolvePageHead(f.value,u.value,s.value)),h=x(()=>rn.resolvePageLang(c.value,s.value)),g=x(()=>rn.resolvePageLayout(c.value,a.value)),b={layouts:a,pageData:c,pageComponent:o,pageFrontmatter:u,pageHead:p,pageHeadTitle:f,pageLang:h,pageLayout:g,redirects:ya,routeLocale:i,routePath:l,routes:ml,siteData:Zn,siteLocaleData:s};return e.provide(ni,b),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>u.value},$head:{get:()=>p.value},$headTitle:{get:()=>f.value},$lang:{get:()=>h.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Zn.value},$siteLocale:{get:()=>s.value},$withBase:{get:()=>Ke}}),b},t2=()=>{const e=rv(),t=li();let n=[];const l=()=>{e.value.forEach(i=>{const s=n2(i);s&&n.push(s)})},r=()=>{const i=[];return e.value.forEach(s=>{const o=l2(s);o&&i.push(o)}),i},a=()=>{document.documentElement.lang=t.value;const i=r();n.forEach((s,o)=>{const c=i.findIndex(u=>s.isEqualNode(u));c===-1?(s.remove(),delete n[o]):i.splice(c,1)}),i.forEach(s=>document.head.appendChild(s)),n=[...n.filter(s=>!!s),...i]};On(iv,a),we(()=>{l(),ve(e,a,{immediate:!1})})},n2=([e,t,n=""])=>{const l=Object.entries(t).map(([s,o])=>Oe(o)?`[${s}=${JSON.stringify(o)}]`:o===!0?`[${s}]`:"").join(""),r=`head > ${e}${l}`;return Array.from(document.querySelectorAll(r)).find(s=>s.innerText===n)||null},l2=([e,t,n])=>{if(!Oe(e))return null;const l=document.createElement(e);return qn(t)&&Object.entries(t).forEach(([r,a])=>{Oe(a)?l.setAttribute(r,a):a===!0&&l.setAttribute(r,"")}),Oe(n)&&l.appendChild(document.createTextNode(n)),l},r2=Dp,a2=async()=>{var n;const e=r2({name:"Vuepress",setup(){var a;t2();for(const i of er)(a=i.setup)==null||a.call(i);const l=er.flatMap(({rootComponents:i=[]})=>i.map(s=>d(s))),r=av();return()=>[d(r.value),l]}}),t=X0();Z0(e),e2(e,t,er);for(const l of er)await((n=l.enhance)==null?void 0:n.call(l,{app:e,router:t,siteData:Zn}));return e.use(t),{app:e,router:t}};a2().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{_n as _,Ie as a,se as b,Kt as c,a2 as createVueApp,dr as d,i2 as e,yt as o,mt as r,nf as w}; diff --git a/assets/basic_command.html-DF_b1e_S.js b/assets/basic_command.html-CLFR4-SL.js similarity index 99% rename from assets/basic_command.html-DF_b1e_S.js rename to assets/basic_command.html-CLFR4-SL.js index f61894a6..16674859 100644 --- a/assets/basic_command.html-DF_b1e_S.js +++ b/assets/basic_command.html-CLFR4-SL.js @@ -1 +1 @@ -import{_ as t,o as e,c as d,e as l}from"./app-vZ92a7EE.js";const n={},a=l('

基础插件


提示

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

注意

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(n,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩..."}],["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":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-06-16T15:33:58.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1711598703000,"updatedTime":1718552038000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":20},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":4},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":3.18,"words":953},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{g as comp,y as data}; +import{_ as t,o as e,c as d,e as l}from"./app-Bs1PeMf0.js";const n={},a=l('

基础插件


提示

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

注意

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(n,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件 提示 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 注意 受限于NoneBot2钩..."}],["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":"2024-06-16T15:33:58.000Z"}],["meta",{"property":"article:modified_time","content":"2024-06-16T15:33:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-06-16T15:33:58.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1711598703000,"updatedTime":1718552038000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":20},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":4},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1}]},"readingTime":{"minutes":3.18,"words":953},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{g as comp,y as data}; diff --git a/assets/basic_command.html-CEucM4Pg.js b/assets/basic_command.html-Djt1jsoL.js similarity index 99% rename from assets/basic_command.html-CEucM4Pg.js rename to assets/basic_command.html-Djt1jsoL.js index 4372a76d..35de005a 100644 --- a/assets/basic_command.html-CEucM4Pg.js +++ b/assets/basic_command.html-Djt1jsoL.js @@ -1 +1 @@ -import{_ as t,o as e,c as d,e as n}from"./app-vZ92a7EE.js";const l={},a=n('

基础插件


Tips

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

Warning

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(l,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/en/usage/basic_command.html","title":"Basic Commands","lang":"en-US","frontmatter":{"title":"Basic Commands","icon":"comment","order":1,"category":"usage","description":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Basic Commands"}],["meta",{"property":"og:description","content":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Basic Commands\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":3.16,"words":948},"filePathRelative":"en/usage/basic_command.md","localizedDate":"August 16, 2024","autoDesc":true}');export{g as comp,y as data}; +import{_ as t,o as e,c as d,e as n}from"./app-Bs1PeMf0.js";const l={},a=n('

基础插件


Tips

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

轻雪命令liteyuki_command

命令说明权限举例可用参数
reload-liteyuki重载轻雪超级用户
update-liteyuki更新轻雪超级用户
liteecho查看当前bot 版本超级用户
status查看统计信息和状态超级用户
config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
/api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
/function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
liteyuki-docs查看轻雪文档所有人

命令别名

命令别名
status状态
reload-liteyuki重启轻雪
update-liteyuki更新轻雪
reload-resources重载资源
config配置, set 设置 / get 查询
switch-image-mode切换图片模式
liteyuki-docs轻雪文档
group群聊, enable 启用 / disable 停用

插件/包管理器 liteyuki_pacman

  • 插件管理
命令说明权限
npm update更新插件商店索引超级用户
npm install <plugin_name>安装插件超级用户
npm uninstall <plugin_name>卸载插件超级用户
npm search <keywords...>通过关键词搜索插件超级用户
npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
help <plugin_name>查看插件帮助所有人
  • 资源包管理
命令说明权限
rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
rpm load <pack_name>加载资源包超级用户
rpm unload <pack_name>卸载资源包超级用户
rpm change <pack_name>修改优先级超级用户
rpm reload重载所有资源包超级用户

命令别名

命令别名
npm插件管理
update更新
install安装
uninstall卸载
search搜索
enable启用
disable停用
enable-global全局启用
disable-global全局停用
rpm资源包
load加载
unload卸载
change更改
reload重载
list列表
help帮助

Warning

受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


用户管理liteyuki_user

命令说明权限
profile查看用户信息菜单所有人
profile set <key> [value]设置用户信息或打开属性设置菜单所有人
profile get <key>获取用户信息所有人

###命令别名

命令别名
profile个人信息
set设置
get查询
',22),r=[a];function c(i,o){return e(),d("div",null,r)}const g=t(l,[["render",c],["__file","basic_command.html.vue"]]),y=JSON.parse('{"path":"/en/usage/basic_command.html","title":"Basic Commands","lang":"en-US","frontmatter":{"title":"Basic Commands","icon":"comment","order":1,"category":"usage","description":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Basic Commands"}],["meta",{"property":"og:description","content":"基础插件 Tips 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。 轻雪命令liteyuki_command 命令别名 插件/包管理器 liteyuki_pacman 插件管理 资源包管理 命令别名 Warning 受限于No..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Basic Commands\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"轻雪命令liteyuki_command","slug":"轻雪命令liteyuki-command","link":"#轻雪命令liteyuki-command","children":[{"level":3,"title":"命令别名","slug":"命令别名","link":"#命令别名","children":[]}]},{"level":2,"title":"插件/包管理器 liteyuki_pacman","slug":"插件-包管理器-liteyuki-pacman","link":"#插件-包管理器-liteyuki-pacman","children":[{"level":3,"title":"命令别名","slug":"命令别名-1","link":"#命令别名-1","children":[]}]},{"level":2,"title":"用户管理liteyuki_user","slug":"用户管理liteyuki-user","link":"#用户管理liteyuki-user","children":[]}],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":3.16,"words":948},"filePathRelative":"en/usage/basic_command.md","localizedDate":"August 16, 2024","autoDesc":true}');export{g as comp,y as data}; diff --git a/assets/channel.html-tCQiMn71.js b/assets/channel.html-CJlHQUyq.js similarity index 99% rename from assets/channel.html-tCQiMn71.js rename to assets/channel.html-CJlHQUyq.js index 72bda049..3a515495 100644 --- a/assets/channel.html-tCQiMn71.js +++ b/assets/channel.html-CJlHQUyq.js @@ -1,4 +1,4 @@ -import{_ as e,o as n,c as a,e as c}from"./app-vZ92a7EE.js";const l={},t=c(`

def set_channel(name: str, channel: Channel) -> None

设置通道实例

Args:

name: 通道名称
+import{_ as e,o as n,c as a,e as c}from"./app-Bs1PeMf0.js";const l={},t=c(`

def set_channel(name: str, channel: Channel) -> None

设置通道实例

Args:

name: 通道名称
 
 channel: 通道实例
 

def set_channels(channels: dict[str, Channel]) -> None

设置通道实例

Args:

channels: 通道名称
diff --git a/assets/channel.html-CGsdwmN6.js b/assets/channel.html-D7FTqSpu.js
similarity index 99%
rename from assets/channel.html-CGsdwmN6.js
rename to assets/channel.html-D7FTqSpu.js
index 1180165d..f87b9e12 100644
--- a/assets/channel.html-CGsdwmN6.js
+++ b/assets/channel.html-D7FTqSpu.js
@@ -1,4 +1,4 @@
-import{_ as e,o as n,c as a,e as c}from"./app-vZ92a7EE.js";const l={},t=c(`

def set_channel(name: str, channel: Channel) -> None

设置通道实例

Args:

name: 通道名称
+import{_ as e,o as n,c as a,e as c}from"./app-Bs1PeMf0.js";const l={},t=c(`

def set_channel(name: str, channel: Channel) -> None

设置通道实例

Args:

name: 通道名称
 
 channel: 通道实例
 

def set_channels(channels: dict[str, Channel]) -> None

设置通道实例

Args:

channels: 通道名称
diff --git a/assets/config.html-CwJze0QA.js b/assets/config.html-Bvi6ON-5.js
similarity index 98%
rename from assets/config.html-CwJze0QA.js
rename to assets/config.html-Bvi6ON-5.js
index 3151c84e..093ab1ea 100644
--- a/assets/config.html-CwJze0QA.js
+++ b/assets/config.html-Bvi6ON-5.js
@@ -1,3 +1,3 @@
-import{_ as o,o as n,c as a,b as e,d as i,e as t}from"./app-vZ92a7EE.js";const r={},d=e("h3",{id:"def-flat-config-config-dict-str-any-dict-str-any",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-flat-config-config-dict-str-any-dict-str-any"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"flat_config(config: dict[str, Any]) -> dict[str, Any]")])])],-1),l=e("p",null,"扁平化配置文件",-1),c=e("p",{"a.b.c:1":""},"{a:{b:{c:1}}} ->",-1),s=t(`

Args:

config: 配置项目
+import{_ as o,o as n,c as a,b as e,d as i,e as t}from"./app-Bs1PeMf0.js";const r={},d=e("h3",{id:"def-flat-config-config-dict-str-any-dict-str-any",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-flat-config-config-dict-str-any-dict-str-any"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"flat_config(config: dict[str, Any]) -> dict[str, Any]")])])],-1),l=e("p",null,"扁平化配置文件",-1),c=e("p",{"a.b.c:1":""},"{a:{b:{c:1}}} ->",-1),s=t(`

Args:

config: 配置项目
 

Returns:

扁平化后的配置文件,但也包含原有的键值对
 

def load_from_yaml(file: str) -> dict[str, Any]

Load config from yaml file

def load_from_json(file: str) -> dict[str, Any]

Load config from json file

def load_from_toml(file: str) -> dict[str, Any]

Load config from toml file

def load_from_files() -> dict[str, Any]

从指定文件加载配置项,会自动识别文件格式

默认执行扁平化选项

def load_configs_from_dirs() -> dict[str, Any]

从目录下加载配置文件,不递归

按照读取文件的优先级反向覆盖

默认执行扁平化选项

def load_config_in_default(no_waring: bool) -> dict[str, Any]

从一个标准的轻雪项目加载配置文件

项目目录下的config.*和config目录下的所有配置文件

项目目录下的配置文件优先

class SatoriNodeConfig(BaseModel)

class SatoriConfig(BaseModel)

class BasicConfig(BaseModel)

var new_config = copy.deepcopy(config)

var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))

var config = json.load(open(file, 'r', encoding='utf-8'))

var config = toml.load(open(file, 'r', encoding='utf-8'))

var config = {}

var config = {}

var config = load_configs_from_dirs('config', no_waring=no_waring)

`,31),f=[d,l,c,s];function g(m,p){return n(),a("div",null,f)}const y=o(r,[["render",g],["__file","config.html.vue"]]),_=JSON.parse(`{"path":"/en/dev/api/config.html","title":"liteyuki.config","lang":"en-US","frontmatter":{"title":"liteyuki.config","order":1,"icon":"laptop-code","category":"API","description":"def flat_config(config: dict[str, Any]) -> dict[str, Any] 扁平化配置文件 {a:{b:{c:1}}} -> Args: Returns: def load_from_yaml(file: str) -> dict[str, Any] Load config from yaml file def ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/config.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/config.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.config"}],["meta",{"property":"og:description","content":"def flat_config(config: dict[str, Any]) -> dict[str, Any] 扁平化配置文件 {a:{b:{c:1}}} -> Args: Returns: def load_from_yaml(file: str) -> dict[str, Any] Load config from yaml file def ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.config\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def flat_config(config: dict[str, Any]) -> dict[str, Any]","slug":"def-flat-config-config-dict-str-any-dict-str-any","link":"#def-flat-config-config-dict-str-any-dict-str-any","children":[]},{"level":3,"title":"def load_from_yaml(file: str) -> dict[str, Any]","slug":"def-load-from-yaml-file-str-dict-str-any","link":"#def-load-from-yaml-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_json(file: str) -> dict[str, Any]","slug":"def-load-from-json-file-str-dict-str-any","link":"#def-load-from-json-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_toml(file: str) -> dict[str, Any]","slug":"def-load-from-toml-file-str-dict-str-any","link":"#def-load-from-toml-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_files() -> dict[str, Any]","slug":"def-load-from-files-dict-str-any","link":"#def-load-from-files-dict-str-any","children":[]},{"level":3,"title":"def load_configs_from_dirs() -> dict[str, Any]","slug":"def-load-configs-from-dirs-dict-str-any","link":"#def-load-configs-from-dirs-dict-str-any","children":[]},{"level":3,"title":"def load_config_in_default(no_waring: bool) -> dict[str, Any]","slug":"def-load-config-in-default-no-waring-bool-dict-str-any","link":"#def-load-config-in-default-no-waring-bool-dict-str-any","children":[]},{"level":3,"title":"class SatoriNodeConfig(BaseModel)","slug":"class-satorinodeconfig-basemodel","link":"#class-satorinodeconfig-basemodel","children":[]},{"level":3,"title":"class SatoriConfig(BaseModel)","slug":"class-satoriconfig-basemodel","link":"#class-satoriconfig-basemodel","children":[]},{"level":3,"title":"class BasicConfig(BaseModel)","slug":"class-basicconfig-basemodel","link":"#class-basicconfig-basemodel","children":[]},{"level":3,"title":"var new_config = copy.deepcopy(config)","slug":"var-new-config-copy-deepcopy-config","link":"#var-new-config-copy-deepcopy-config","children":[]},{"level":3,"title":"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))","slug":"var-config-yaml-safe-load-open-file-r-encoding-utf-8","link":"#var-config-yaml-safe-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = json.load(open(file, 'r', encoding='utf-8'))","slug":"var-config-json-load-open-file-r-encoding-utf-8","link":"#var-config-json-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = toml.load(open(file, 'r', encoding='utf-8'))","slug":"var-config-toml-load-open-file-r-encoding-utf-8","link":"#var-config-toml-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = {}","slug":"var-config","link":"#var-config","children":[]},{"level":3,"title":"var config = {}","slug":"var-config-1","link":"#var-config-1","children":[]},{"level":3,"title":"var config = load_configs_from_dirs('config', no_waring=no_waring)","slug":"var-config-load-configs-from-dirs-config-no-waring-no-waring","link":"#var-config-load-configs-from-dirs-config-no-waring-no-waring","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.9,"words":271},"filePathRelative":"en/dev/api/config.md","autoDesc":true}`);export{y as comp,_ as data}; diff --git a/assets/config.html-BOHMkdM1.js b/assets/config.html-JHrVObO1.js similarity index 99% rename from assets/config.html-BOHMkdM1.js rename to assets/config.html-JHrVObO1.js index 964eb57a..80234653 100644 --- a/assets/config.html-BOHMkdM1.js +++ b/assets/config.html-JHrVObO1.js @@ -1,4 +1,4 @@ -import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-vZ92a7EE.js";const i={},u=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
+import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-Bs1PeMf0.js";const i={},u=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
   # Nonebot机器人的配置,以前的最外层配置项仍可为Nonebot服务,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/config.html-BzXYK2Ho.js b/assets/config.html-jXXfcHdL.js
similarity index 99%
rename from assets/config.html-BzXYK2Ho.js
rename to assets/config.html-jXXfcHdL.js
index ffa74fac..5647a412 100644
--- a/assets/config.html-BzXYK2Ho.js
+++ b/assets/config.html-jXXfcHdL.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-vZ92a7EE.js";const i={},r=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
+import{_ as e,r as t,o,c,b as n,d as s,a as l,e as p}from"./app-Bs1PeMf0.js";const i={},r=p(`

轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

基础配置项

nonebot:
   # Nonebot机器人的配置,以前的最外层配置项仍可为Nonebot服务,但是部分内容会被覆盖,请尽快迁移
   command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
   host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
diff --git a/assets/config.html-D2KlS3qT.js b/assets/config.html-x2DggEEz.js
similarity index 98%
rename from assets/config.html-D2KlS3qT.js
rename to assets/config.html-x2DggEEz.js
index 676861ae..a93a18a2 100644
--- a/assets/config.html-D2KlS3qT.js
+++ b/assets/config.html-x2DggEEz.js
@@ -1,3 +1,3 @@
-import{_ as o,o as n,c as a,b as e,d as i,e as t}from"./app-vZ92a7EE.js";const r={},d=e("h3",{id:"def-flat-config-config-dict-str-any-dict-str-any",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-flat-config-config-dict-str-any-dict-str-any"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"flat_config(config: dict[str, Any]) -> dict[str, Any]")])])],-1),c=e("p",null,"扁平化配置文件",-1),l=e("p",{"a.b.c:1":""},"{a:{b:{c:1}}} ->",-1),s=t(`

Args:

config: 配置项目
+import{_ as o,o as n,c as a,b as e,d as i,e as t}from"./app-Bs1PeMf0.js";const r={},d=e("h3",{id:"def-flat-config-config-dict-str-any-dict-str-any",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-flat-config-config-dict-str-any-dict-str-any"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"flat_config(config: dict[str, Any]) -> dict[str, Any]")])])],-1),c=e("p",null,"扁平化配置文件",-1),l=e("p",{"a.b.c:1":""},"{a:{b:{c:1}}} ->",-1),s=t(`

Args:

config: 配置项目
 

Returns:

扁平化后的配置文件,但也包含原有的键值对
 

def load_from_yaml(file: str) -> dict[str, Any]

Load config from yaml file

def load_from_json(file: str) -> dict[str, Any]

Load config from json file

def load_from_toml(file: str) -> dict[str, Any]

Load config from toml file

def load_from_files() -> dict[str, Any]

从指定文件加载配置项,会自动识别文件格式

默认执行扁平化选项

def load_configs_from_dirs() -> dict[str, Any]

从目录下加载配置文件,不递归

按照读取文件的优先级反向覆盖

默认执行扁平化选项

def load_config_in_default(no_waring: bool) -> dict[str, Any]

从一个标准的轻雪项目加载配置文件

项目目录下的config.*和config目录下的所有配置文件

项目目录下的配置文件优先

class SatoriNodeConfig(BaseModel)

class SatoriConfig(BaseModel)

class BasicConfig(BaseModel)

var new_config = copy.deepcopy(config)

var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))

var config = json.load(open(file, 'r', encoding='utf-8'))

var config = toml.load(open(file, 'r', encoding='utf-8'))

var config = {}

var config = {}

var config = load_configs_from_dirs('config', no_waring=no_waring)

`,31),f=[d,c,l,s];function g(m,p){return n(),a("div",null,f)}const y=o(r,[["render",g],["__file","config.html.vue"]]),_=JSON.parse(`{"path":"/dev/api/config.html","title":"liteyuki.config","lang":"zh-CN","frontmatter":{"title":"liteyuki.config","order":1,"icon":"laptop-code","category":"API","description":"def flat_config(config: dict[str, Any]) -> dict[str, Any] 扁平化配置文件 {a:{b:{c:1}}} -> Args: Returns: def load_from_yaml(file: str) -> dict[str, Any] Load config from yaml file def ...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/config.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/config.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.config"}],["meta",{"property":"og:description","content":"def flat_config(config: dict[str, Any]) -> dict[str, Any] 扁平化配置文件 {a:{b:{c:1}}} -> Args: Returns: def load_from_yaml(file: str) -> dict[str, Any] Load config from yaml file def ..."}],["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":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.config\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def flat_config(config: dict[str, Any]) -> dict[str, Any]","slug":"def-flat-config-config-dict-str-any-dict-str-any","link":"#def-flat-config-config-dict-str-any-dict-str-any","children":[]},{"level":3,"title":"def load_from_yaml(file: str) -> dict[str, Any]","slug":"def-load-from-yaml-file-str-dict-str-any","link":"#def-load-from-yaml-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_json(file: str) -> dict[str, Any]","slug":"def-load-from-json-file-str-dict-str-any","link":"#def-load-from-json-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_toml(file: str) -> dict[str, Any]","slug":"def-load-from-toml-file-str-dict-str-any","link":"#def-load-from-toml-file-str-dict-str-any","children":[]},{"level":3,"title":"def load_from_files() -> dict[str, Any]","slug":"def-load-from-files-dict-str-any","link":"#def-load-from-files-dict-str-any","children":[]},{"level":3,"title":"def load_configs_from_dirs() -> dict[str, Any]","slug":"def-load-configs-from-dirs-dict-str-any","link":"#def-load-configs-from-dirs-dict-str-any","children":[]},{"level":3,"title":"def load_config_in_default(no_waring: bool) -> dict[str, Any]","slug":"def-load-config-in-default-no-waring-bool-dict-str-any","link":"#def-load-config-in-default-no-waring-bool-dict-str-any","children":[]},{"level":3,"title":"class SatoriNodeConfig(BaseModel)","slug":"class-satorinodeconfig-basemodel","link":"#class-satorinodeconfig-basemodel","children":[]},{"level":3,"title":"class SatoriConfig(BaseModel)","slug":"class-satoriconfig-basemodel","link":"#class-satoriconfig-basemodel","children":[]},{"level":3,"title":"class BasicConfig(BaseModel)","slug":"class-basicconfig-basemodel","link":"#class-basicconfig-basemodel","children":[]},{"level":3,"title":"var new_config = copy.deepcopy(config)","slug":"var-new-config-copy-deepcopy-config","link":"#var-new-config-copy-deepcopy-config","children":[]},{"level":3,"title":"var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))","slug":"var-config-yaml-safe-load-open-file-r-encoding-utf-8","link":"#var-config-yaml-safe-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = json.load(open(file, 'r', encoding='utf-8'))","slug":"var-config-json-load-open-file-r-encoding-utf-8","link":"#var-config-json-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = toml.load(open(file, 'r', encoding='utf-8'))","slug":"var-config-toml-load-open-file-r-encoding-utf-8","link":"#var-config-toml-load-open-file-r-encoding-utf-8","children":[]},{"level":3,"title":"var config = {}","slug":"var-config","link":"#var-config","children":[]},{"level":3,"title":"var config = {}","slug":"var-config-1","link":"#var-config-1","children":[]},{"level":3,"title":"var config = load_configs_from_dirs('config', no_waring=no_waring)","slug":"var-config-load-configs-from-dirs-config-no-waring-no-waring","link":"#var-config-load-configs-from-dirs-config-no-waring-no-waring","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.9,"words":271},"filePathRelative":"dev/api/config.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{y as comp,_ as data}; diff --git a/assets/dev_comm.html-DUbsFhna.js b/assets/dev_comm.html-DH1VjFpJ.js similarity index 99% rename from assets/dev_comm.html-DUbsFhna.js rename to assets/dev_comm.html-DH1VjFpJ.js index c5816360..8634b0c9 100644 --- a/assets/dev_comm.html-DUbsFhna.js +++ b/assets/dev_comm.html-DH1VjFpJ.js @@ -1,4 +1,4 @@ -import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-vZ92a7EE.js";const l={},u=i(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
+import{_ as e,r as t,o,c as p,b as n,d as s,a as c,e as i}from"./app-Bs1PeMf0.js";const l={},u=i(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_comm.html-D-xI4P2w.js b/assets/dev_comm.html-Dffo7Ipz.js
similarity index 99%
rename from assets/dev_comm.html-D-xI4P2w.js
rename to assets/dev_comm.html-Dffo7Ipz.js
index f555752c..f9ad11da 100644
--- a/assets/dev_comm.html-D-xI4P2w.js
+++ b/assets/dev_comm.html-Dffo7Ipz.js
@@ -1,4 +1,4 @@
-import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-vZ92a7EE.js";const l={},u=c(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
+import{_ as e,r as t,o,c as p,b as n,d as s,a as i,e as c}from"./app-Bs1PeMf0.js";const l={},u=c(`

通道通信

简介

轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

示例

通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

  • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
  • 主进程中通过get_channel函数获取通道对象
  • 子进程中导入单例active_channelpassive_channel即可

在轻雪插件中(主进程中)

import asyncio
 
 from liteyuki.comm import get_channel, Channel
 from liteyuki import get_bot
diff --git a/assets/dev_lyfunc.html-D3XWCVWY.js b/assets/dev_lyfunc.html-C1z3XK3f.js
similarity index 99%
rename from assets/dev_lyfunc.html-D3XWCVWY.js
rename to assets/dev_lyfunc.html-C1z3XK3f.js
index 4056ca97..be2ed202 100644
--- a/assets/dev_lyfunc.html-D3XWCVWY.js
+++ b/assets/dev_lyfunc.html-C1z3XK3f.js
@@ -1,4 +1,4 @@
-import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-vZ92a7EE.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
+import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-Bs1PeMf0.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_lyfunc.html-Dl2KnV6y.js b/assets/dev_lyfunc.html-RUDtzk1B.js
similarity index 99%
rename from assets/dev_lyfunc.html-Dl2KnV6y.js
rename to assets/dev_lyfunc.html-RUDtzk1B.js
index d4b28096..b6e4eca3 100644
--- a/assets/dev_lyfunc.html-Dl2KnV6y.js
+++ b/assets/dev_lyfunc.html-RUDtzk1B.js
@@ -1,4 +1,4 @@
-import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-vZ92a7EE.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
+import{_ as t,r as o,o as i,c as l,b as n,d as e,a as s,e as c}from"./app-Bs1PeMf0.js";const p={},r=c(`

轻雪函数

轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

函数文件

函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

# 在发信器输出"hello world"
 cmd echo hello world
 
 # 如果你想同时输出多行内容可以尝试换行符(Python格式)
diff --git a/assets/dev_lyplugin.html-hnn0lnZ0.js b/assets/dev_lyplugin.html-CwQDqgqg.js
similarity index 99%
rename from assets/dev_lyplugin.html-hnn0lnZ0.js
rename to assets/dev_lyplugin.html-CwQDqgqg.js
index d9a8efd3..490eed2c 100644
--- a/assets/dev_lyplugin.html-hnn0lnZ0.js
+++ b/assets/dev_lyplugin.html-CwQDqgqg.js
@@ -1,4 +1,4 @@
-import{_ as n,o as s,c as a,e}from"./app-vZ92a7EE.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
+import{_ as n,o as s,c as a,e}from"./app-Bs1PeMf0.js";const t={},o=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

from liteyuki.plugin import PluginMetadata
 
 # 定义插件元数据,推荐填写
 __plugin_meta__ = PluginMetadata(
diff --git a/assets/dev_lyplugin.html-BMREiGFA.js b/assets/dev_lyplugin.html-Dzb4NNEu.js
similarity index 99%
rename from assets/dev_lyplugin.html-BMREiGFA.js
rename to assets/dev_lyplugin.html-Dzb4NNEu.js
index a3a03885..9cb4e8ae 100644
--- a/assets/dev_lyplugin.html-BMREiGFA.js
+++ b/assets/dev_lyplugin.html-Dzb4NNEu.js
@@ -1,4 +1,4 @@
-import{_ as n,o as s,c as a,e}from"./app-vZ92a7EE.js";const t={},p=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

from liteyuki.plugin import PluginMetadata, PluginType
+import{_ as n,o as s,c as a,e}from"./app-Bs1PeMf0.js";const t={},p=e(`

简介

轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

开始

创建插件

一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

__init__.py

from liteyuki.plugin import PluginMetadata, PluginType
 from .watch_dog import *    # 导入逻辑部分
 
 # 定义插件元数据
diff --git a/assets/dev_resource_pack.html-Bw83tP6G.js b/assets/dev_resource_pack.html-CT4UraRi.js
similarity index 99%
rename from assets/dev_resource_pack.html-Bw83tP6G.js
rename to assets/dev_resource_pack.html-CT4UraRi.js
index 742282a3..22a732e7 100644
--- a/assets/dev_resource_pack.html-Bw83tP6G.js
+++ b/assets/dev_resource_pack.html-CT4UraRi.js
@@ -1,4 +1,4 @@
-import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-vZ92a7EE.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
+import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-Bs1PeMf0.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/dev_resource_pack.html-6plhb-8g.js b/assets/dev_resource_pack.html-hzjN8h_W.js
similarity index 99%
rename from assets/dev_resource_pack.html-6plhb-8g.js
rename to assets/dev_resource_pack.html-hzjN8h_W.js
index 79618c41..3523c93f 100644
--- a/assets/dev_resource_pack.html-6plhb-8g.js
+++ b/assets/dev_resource_pack.html-hzjN8h_W.js
@@ -1,4 +1,4 @@
-import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-vZ92a7EE.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
+import{_ as a,r as s,o as l,c as o,b as e,a as c,w as i,d as t,e as d}from"./app-Bs1PeMf0.js";const r={},p=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),u=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),k=d(`

请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


加载资源包

  • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
 resources
 └─resource_pack_1
     ├─metadata.yml
diff --git a/assets/event.html-JydFrDuG.js b/assets/event.html-CYw2tPLX.js
similarity index 97%
rename from assets/event.html-JydFrDuG.js
rename to assets/event.html-CYw2tPLX.js
index 0970050c..550d7ffb 100644
--- a/assets/event.html-JydFrDuG.js
+++ b/assets/event.html-CYw2tPLX.js
@@ -1 +1 @@
-import{_ as e,o as t,c as n,e as a}from"./app-vZ92a7EE.js";const o={},i=a('

class Event

事件类

def __init__(self, name: str, data: dict[str, Any]) -> None

',4),s=[i];function r(c,l){return t(),n("div",null,s)}const m=e(o,[["render",r],["__file","event.html.vue"]]),p=JSON.parse('{"path":"/dev/api/comm/event.html","title":"liteyuki.comm.event","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None"}],["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":"2024-08-19T02:04:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:04:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:04:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, name: str, data: dict[str, Any]) -> None","slug":"def-init-self-name-str-data-dict-str-any-none","link":"#def-init-self-name-str-data-dict-str-any-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724033064000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.09,"words":26},"filePathRelative":"dev/api/comm/event.md","localizedDate":"2024年8月19日","autoDesc":true}');export{m as comp,p as data}; +import{_ as e,o as t,c as n,e as a}from"./app-Bs1PeMf0.js";const o={},i=a('

class Event

事件类

def __init__(self, name: str, data: dict[str, Any]) -> None

',4),s=[i];function r(c,l){return t(),n("div",null,s)}const m=e(o,[["render",r],["__file","event.html.vue"]]),p=JSON.parse('{"path":"/dev/api/comm/event.html","title":"liteyuki.comm.event","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None"}],["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":"2024-08-19T02:04:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:04:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:04:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, name: str, data: dict[str, Any]) -> None","slug":"def-init-self-name-str-data-dict-str-any-none","link":"#def-init-self-name-str-data-dict-str-any-none","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724033064000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.09,"words":26},"filePathRelative":"dev/api/comm/event.md","localizedDate":"2024年8月19日","autoDesc":true}');export{m as comp,p as data}; diff --git a/assets/event.html-ChvlMQKp.js b/assets/event.html-ChvlMQKp.js new file mode 100644 index 00000000..6ecc5dad --- /dev/null +++ b/assets/event.html-ChvlMQKp.js @@ -0,0 +1,21 @@ +import{_ as e,o as s,c as t,e as a}from"./app-Bs1PeMf0.js";const n={},i=a(`

class MessageEvent

def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None

 轻雪抽象消息事件

Args:

bot_id: 机器人ID
+
+message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
+
+raw_message: 原始消息(通常为纯文本的格式)
+
+message_type: 消息类型(private, group, other)
+
+
+
+session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
+
+session_type: 会话类型(private, group)
+
+receive_channel: 接收频道(用于回复消息)
+
+
+
+data: 附加数据
+

def reply(self, message: str | dict[str, Any]) -> None

 回复消息

Args:

message:
+

Returns:

var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

var data = {}

`,12),r=[i];function o(l,d){return s(),t("div",null,r)}const c=e(n,[["render",o],["__file","event.html.vue"]]),g=JSON.parse(`{"path":"/dev/api/message/event.html","title":"liteyuki.message.event","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.event","order":1,"icon":"laptop-code","category":"API","description":"class MessageEvent def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel:...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.event"}],["meta",{"property":"og:description","content":"class MessageEvent def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class MessageEvent","slug":"class-messageevent","link":"#class-messageevent","children":[]},{"level":3,"title":"def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None","slug":"def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none","link":"#def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none","children":[]},{"level":3,"title":"def reply(self, message: str | dict[str, Any]) -> None","slug":"def-reply-self-message-str-dict-str-any-none","link":"#def-reply-self-message-str-dict-str-any-none","children":[]},{"level":3,"title":"var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')","slug":"var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","link":"#var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","children":[]},{"level":3,"title":"var data = {}","slug":"var-data","link":"#var-data","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.57,"words":171},"filePathRelative":"dev/api/message/event.md","autoDesc":true}`);export{c as comp,g as data}; diff --git a/assets/event.html-BXn7YCPg.js b/assets/event.html-DQw8buFO.js similarity index 97% rename from assets/event.html-BXn7YCPg.js rename to assets/event.html-DQw8buFO.js index cdca7b7f..32e1aa24 100644 --- a/assets/event.html-BXn7YCPg.js +++ b/assets/event.html-DQw8buFO.js @@ -1 +1 @@ -import{_ as e,o as t,c as n,e as a}from"./app-vZ92a7EE.js";const o={},s=a('

class Event

事件类

def __init__(self, name: str, data: dict[str, Any]) -> None

',4),i=[s];function r(c,l){return t(),n("div",null,i)}const m=e(o,[["render",r],["__file","event.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/comm/event.html","title":"liteyuki.comm.event","lang":"en-US","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, name: str, data: dict[str, Any]) -> None","slug":"def-init-self-name-str-data-dict-str-any-none","link":"#def-init-self-name-str-data-dict-str-any-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.09,"words":26},"filePathRelative":"en/dev/api/comm/event.md","autoDesc":true}');export{m as comp,p as data}; +import{_ as e,o as t,c as n,e as a}from"./app-Bs1PeMf0.js";const o={},s=a('

class Event

事件类

def __init__(self, name: str, data: dict[str, Any]) -> None

',4),i=[s];function r(c,l){return t(),n("div",null,i)}const m=e(o,[["render",r],["__file","event.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/comm/event.html","title":"liteyuki.comm.event","lang":"en-US","frontmatter":{"title":"liteyuki.comm.event","order":1,"icon":"laptop-code","category":"API","description":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm.event"}],["meta",{"property":"og:description","content":"class Event 事件类 def __init__(self, name: str, data: dict[str, Any]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, name: str, data: dict[str, Any]) -> None","slug":"def-init-self-name-str-data-dict-str-any-none","link":"#def-init-self-name-str-data-dict-str-any-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.09,"words":26},"filePathRelative":"en/dev/api/comm/event.md","autoDesc":true}');export{m as comp,p as data}; diff --git a/assets/event.html-Q77pA76C.js b/assets/event.html-Q77pA76C.js deleted file mode 100644 index 628bbc16..00000000 --- a/assets/event.html-Q77pA76C.js +++ /dev/null @@ -1,13 +0,0 @@ -import{_ as e,o as s,c as t,e as n}from"./app-vZ92a7EE.js";const i={},o=n(`

class Event

def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None

 事件

Args:

type: 类型
-
-data: 数据
-
-bot_id: 机器人ID
-
-session_id: 会话ID
-
-session_type: 会话类型
-
-receive_channel: 接收频道
-

def reply(self, message: str | dict[str, Any]) -> None

 回复消息

Args:

message:
-

Returns:

var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

`,11),a=[o];function r(d,l){return s(),t("div",null,a)}const p=e(i,[["render",r],["__file","event.html.vue"]]),y=JSON.parse(`{"path":"/dev/api/message/event.html","title":"liteyuki.message.event","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.event","order":1,"icon":"laptop-code","category":"API","description":"class Event def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None 事件 Args: def reply(self, message: ...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.event"}],["meta",{"property":"og:description","content":"class Event def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None 事件 Args: def reply(self, message: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None","slug":"def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none","link":"#def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none","children":[]},{"level":3,"title":"def reply(self, message: str | dict[str, Any]) -> None","slug":"def-reply-self-message-str-dict-str-any-none","link":"#def-reply-self-message-str-dict-str-any-none","children":[]},{"level":3,"title":"var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')","slug":"var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","link":"#var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.31,"words":93},"filePathRelative":"dev/api/message/event.md","autoDesc":true}`);export{p as comp,y as data}; diff --git a/assets/event.html-bxn6cD_R.js b/assets/event.html-bxn6cD_R.js deleted file mode 100644 index 09e23d5b..00000000 --- a/assets/event.html-bxn6cD_R.js +++ /dev/null @@ -1,13 +0,0 @@ -import{_ as e,o as s,c as t,e as n}from"./app-vZ92a7EE.js";const i={},o=n(`

class Event

def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None

 事件

Args:

type: 类型
-
-data: 数据
-
-bot_id: 机器人ID
-
-session_id: 会话ID
-
-session_type: 会话类型
-
-receive_channel: 接收频道
-

def reply(self, message: str | dict[str, Any]) -> None

 回复消息

Args:

message:
-

Returns:

var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

`,11),a=[o];function r(d,l){return s(),t("div",null,a)}const p=e(i,[["render",r],["__file","event.html.vue"]]),y=JSON.parse(`{"path":"/en/dev/api/message/event.html","title":"liteyuki.message.event","lang":"en-US","frontmatter":{"title":"liteyuki.message.event","order":1,"icon":"laptop-code","category":"API","description":"class Event def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None 事件 Args: def reply(self, message: ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.event"}],["meta",{"property":"og:description","content":"class Event def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None 事件 Args: def reply(self, message: ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Event","slug":"class-event","link":"#class-event","children":[]},{"level":3,"title":"def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None","slug":"def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none","link":"#def-init-self-type-str-data-dict-str-any-bot-id-str-session-id-str-session-type-str-receive-channel-str-none","children":[]},{"level":3,"title":"def reply(self, message: str | dict[str, Any]) -> None","slug":"def-reply-self-message-str-dict-str-any-none","link":"#def-reply-self-message-str-dict-str-any-none","children":[]},{"level":3,"title":"var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')","slug":"var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","link":"#var-to-nonebot-event-event-type-self-session-type-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.31,"words":93},"filePathRelative":"en/dev/api/message/event.md","autoDesc":true}`);export{p as comp,y as data}; diff --git a/assets/event.html-d8RFoE2J.js b/assets/event.html-d8RFoE2J.js new file mode 100644 index 00000000..5c8cfdad --- /dev/null +++ b/assets/event.html-d8RFoE2J.js @@ -0,0 +1,21 @@ +import{_ as e,o as s,c as t,e as a}from"./app-Bs1PeMf0.js";const n={},i=a(`

class MessageEvent

def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None

 轻雪抽象消息事件

Args:

bot_id: 机器人ID
+
+message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
+
+raw_message: 原始消息(通常为纯文本的格式)
+
+message_type: 消息类型(private, group, other)
+
+
+
+session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
+
+session_type: 会话类型(private, group)
+
+receive_channel: 接收频道(用于回复消息)
+
+
+
+data: 附加数据
+

def reply(self, message: str | dict[str, Any]) -> None

 回复消息

Args:

message:
+

Returns:

var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

var data = {}

`,12),r=[i];function o(l,d){return s(),t("div",null,r)}const c=e(n,[["render",o],["__file","event.html.vue"]]),g=JSON.parse(`{"path":"/en/dev/api/message/event.html","title":"liteyuki.message.event","lang":"en-US","frontmatter":{"title":"liteyuki.message.event","order":1,"icon":"laptop-code","category":"API","description":"class MessageEvent def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel:...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/event.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/event.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.event"}],["meta",{"property":"og:description","content":"class MessageEvent def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel:..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.event\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class MessageEvent","slug":"class-messageevent","link":"#class-messageevent","children":[]},{"level":3,"title":"def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None","slug":"def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none","link":"#def-init-self-bot-id-str-message-list-dict-str-any-str-message-type-str-raw-message-str-session-id-str-session-type-str-receive-channel-str-data-optional-dict-str-any-none","children":[]},{"level":3,"title":"def reply(self, message: str | dict[str, Any]) -> None","slug":"def-reply-self-message-str-dict-str-any-none","link":"#def-reply-self-message-str-dict-str-any-none","children":[]},{"level":3,"title":"var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')","slug":"var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","link":"#var-reply-event-messageevent-message-type-self-session-type-message-message-raw-message-data-message-message-bot-id-self-bot-id-session-id-self-session-id-session-type-self-session-type-receive-channel","children":[]},{"level":3,"title":"var data = {}","slug":"var-data","link":"#var-data","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.57,"words":171},"filePathRelative":"en/dev/api/message/event.md","autoDesc":true}`);export{c as comp,g as data}; diff --git a/assets/exception.html-XkUi7zDX.js b/assets/exception.html-BnPs2xtp.js similarity index 97% rename from assets/exception.html-XkUi7zDX.js rename to assets/exception.html-BnPs2xtp.js index d4e48a0b..ba5549e0 100644 --- a/assets/exception.html-XkUi7zDX.js +++ b/assets/exception.html-BnPs2xtp.js @@ -1 +1 @@ -import{_ as t,o as i,c as o,b as e,d as n}from"./app-vZ92a7EE.js";const c={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),n(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki的异常基类。",-1),l=[a,p];function s(r,d){return i(),o("div",null,l)}const u=t(c,[["render",s],["__file","exception.html.vue"]]),y=JSON.parse('{"path":"/dev/api/exception.html","title":"liteyuki.exception","lang":"zh-CN","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki的异常基类。","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/exception.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki的异常基类。"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"dev/api/exception.md","localizedDate":"2024年8月19日","autoDesc":true}');export{u as comp,y as data}; +import{_ as t,o as i,c as o,b as e,d as n}from"./app-Bs1PeMf0.js";const c={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),n(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki的异常基类。",-1),l=[a,p];function s(r,d){return i(),o("div",null,l)}const u=t(c,[["render",s],["__file","exception.html.vue"]]),y=JSON.parse('{"path":"/dev/api/exception.html","title":"liteyuki.exception","lang":"zh-CN","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki的异常基类。","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/exception.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki的异常基类。"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"dev/api/exception.md","localizedDate":"2024年8月19日","autoDesc":true}');export{u as comp,y as data}; diff --git a/assets/exception.html-ClJ8F9fx.js b/assets/exception.html-DraJIKfM.js similarity index 96% rename from assets/exception.html-ClJ8F9fx.js rename to assets/exception.html-DraJIKfM.js index c6f631a0..d61c2c02 100644 --- a/assets/exception.html-ClJ8F9fx.js +++ b/assets/exception.html-DraJIKfM.js @@ -1 +1 @@ -import{_ as t,o as i,c as o,b as e,d as n}from"./app-vZ92a7EE.js";const c={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),n(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki的异常基类。",-1),l=[a,p];function s(r,d){return i(),o("div",null,l)}const h=t(c,[["render",s],["__file","exception.html.vue"]]),x=JSON.parse('{"path":"/en/dev/api/exception.html","title":"liteyuki.exception","lang":"en-US","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki的异常基类。","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/exception.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki的异常基类。"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"en/dev/api/exception.md","autoDesc":true}');export{h as comp,x as data}; +import{_ as t,o as i,c as o,b as e,d as n}from"./app-Bs1PeMf0.js";const c={},a=e("h3",{id:"class-liteyukiexception-baseexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-liteyukiexception-baseexception"},[e("span",null,[e("em",null,[e("strong",null,"class")]),n(),e("code",null,"LiteyukiException(BaseException)")])])],-1),p=e("p",null,"Liteyuki的异常基类。",-1),l=[a,p];function s(r,d){return i(),o("div",null,l)}const h=t(c,[["render",s],["__file","exception.html.vue"]]),x=JSON.parse('{"path":"/en/dev/api/exception.html","title":"liteyuki.exception","lang":"en-US","frontmatter":{"title":"liteyuki.exception","order":1,"icon":"laptop-code","category":"API","description":"class LiteyukiException(BaseException) Liteyuki的异常基类。","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/exception.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/exception.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.exception"}],["meta",{"property":"og:description","content":"class LiteyukiException(BaseException) Liteyuki的异常基类。"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.exception\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class LiteyukiException(BaseException)","slug":"class-liteyukiexception-baseexception","link":"#class-liteyukiexception-baseexception","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.06,"words":18},"filePathRelative":"en/dev/api/exception.md","autoDesc":true}');export{h as comp,x as data}; diff --git a/assets/extra_command.html-BByOXf1U.js b/assets/extra_command.html-ByptD_MK.js similarity index 99% rename from assets/extra_command.html-BByOXf1U.js rename to assets/extra_command.html-ByptD_MK.js index 5f3f4258..ea314baa 100644 --- a/assets/extra_command.html-BByOXf1U.js +++ b/assets/extra_command.html-ByptD_MK.js @@ -1,4 +1,4 @@ -import{_ as t,o as e,c as a,e as n}from"./app-vZ92a7EE.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
+import{_ as t,o as e,c as a,e as n}from"./app-Bs1PeMf0.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
 

命令

weather <keywords...> # Keywords为城市名,支持中英文
 

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

bind-city <keywords...> # Keywords为城市名,支持中英文
 

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
diff --git a/assets/extra_command.html-B7kzUV5q.js b/assets/extra_command.html-CqZWearh.js
similarity index 99%
rename from assets/extra_command.html-B7kzUV5q.js
rename to assets/extra_command.html-CqZWearh.js
index 652890de..2c0529de 100644
--- a/assets/extra_command.html-B7kzUV5q.js
+++ b/assets/extra_command.html-CqZWearh.js
@@ -1,4 +1,4 @@
-import{_ as t,o as e,c as a,e as n}from"./app-vZ92a7EE.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
+import{_ as t,o as e,c as a,e as n}from"./app-Bs1PeMf0.js";const s={},r=n(`

功能插件命令

轻雪天气liteyuki_weather

查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
 

命令

weather <keywords...> # Keywords为城市名,支持中英文
 

查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

bind-city <keywords...> # Keywords为城市名,支持中英文
 

绑定查询城市,个人全局生效

命令别名

命令别名
weather天气
bind-city绑定城市

统计信息liteyuki_statistics

统计信息 命令

statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
diff --git a/assets/fandq.html-DvjHiWcM.js b/assets/fandq.html-CZwFx6EP.js
similarity index 99%
rename from assets/fandq.html-DvjHiWcM.js
rename to assets/fandq.html-CZwFx6EP.js
index 6795d01f..9cc90e58 100644
--- a/assets/fandq.html-DvjHiWcM.js
+++ b/assets/fandq.html-CZwFx6EP.js
@@ -1 +1 @@
-import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-vZ92a7EE.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(R,C){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",w,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const E=l(p,[["render",G],["__file","fandq.html.vue"]]),P=JSON.parse('{"path":"/deploy/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deploy/fandq.md","localizedDate":"2024年8月16日","autoDesc":true}');export{E as comp,P as data}; +import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-Bs1PeMf0.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),v=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(R,C){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,v,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",w,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const E=l(p,[["render",G],["__file","fandq.html.vue"]]),P=JSON.parse('{"path":"/deploy/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deploy/fandq.md","localizedDate":"2024年8月16日","autoDesc":true}');export{E as comp,P as data}; diff --git a/assets/fandq.html-zIUZzDyV.js b/assets/fandq.html-DwSlEl9h.js similarity index 99% rename from assets/fandq.html-zIUZzDyV.js rename to assets/fandq.html-DwSlEl9h.js index 0a3fb60f..c38aed73 100644 --- a/assets/fandq.html-zIUZzDyV.js +++ b/assets/fandq.html-DwSlEl9h.js @@ -1 +1 @@ -import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-vZ92a7EE.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),Q={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},O=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},v=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),N=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},A={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function F(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",Q,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),O]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),v,N,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",S,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",w,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",A,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=l(p,[["render",F],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/en/deploy/fandq.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","order":3,"category":"deployment","tag":["FAQ"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"FAQ"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.41,"words":724},"filePathRelative":"en/deploy/fandq.md","localizedDate":"August 16, 2024","autoDesc":true}');export{D as comp,E as data}; +import{_ as l,r,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-Bs1PeMf0.js";const p={},s=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=c("
  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),Q={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},O=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},v=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),N=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},w={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},A={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function F(z,G){const o=r("ExternalLinkIcon");return a(),i("div",null,[s,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",Q,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),O]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),v,N,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",S,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",w,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",A,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=l(p,[["render",F],["__file","fandq.html.vue"]]),E=JSON.parse('{"path":"/en/deploy/fandq.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","order":3,"category":"deployment","tag":["FAQ"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/fandq.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:tag","content":"FAQ"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.41,"words":724},"filePathRelative":"en/deploy/fandq.md","localizedDate":"August 16, 2024","autoDesc":true}');export{D as comp,E as data}; diff --git a/assets/index.html-Bx9vRIyA.js b/assets/index.html-BG-OTJ01.js similarity index 98% rename from assets/index.html-Bx9vRIyA.js rename to assets/index.html-BG-OTJ01.js index d1aa0331..3c28586c 100644 --- a/assets/index.html-Bx9vRIyA.js +++ b/assets/index.html-BG-OTJ01.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally"},{"title":"Use cd LiteyukiBot to change the directory to the project root"},{"title":"Use pip install -r requirements.txt install the project dependencies","details":"If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt."},{"title":"Start bot with python main.py."}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data}; +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const i={};function a(s,n){return t(),o("div")}const r=e(i,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot A high-performance, easy-to-use chatbot framework and application","actions":[{"text":"Get Started","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"Usage","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"Simple and Efficient","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Multi-Framework Support","icon":"robot","details":"Compatible with nonebot, melobot, etc., with good ecological support","link":"https://nonebot.dev/"},{"title":"Convenient Management","icon":"plug","details":"Use package manager to manage plugins and resource packs"},{"title":"Custom Themes Support","icon":"paint-brush","details":"Fully customize the appearance with resource packs","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"i18n","icon":"globe","details":"Support multiple languages through resource packs","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"Easy to Use","icon":"cog","details":"No need for cumbersome pre-processes, ready to use","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"High Performance","icon":"tachometer-alt","details":"500 plugins, start within 2s"},{"title":"Rolling Update","icon":"cloud-download","details":"Keep your bot up to date"},{"title":"OpenSource","icon":"code","details":"MIT LICENCE open source project, welcome your contribution"}]},{"header":"Quick Start","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"Install Git and Python3.10+ environment"},{"title":"Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally"},{"title":"Use cd LiteyukiBot to change the directory to the project root"},{"title":"Use pip install -r requirements.txt install the project dependencies","details":"If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt."},{"title":"Start bot with python main.py."}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-08-16T20:50:27.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T20:50:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723841427000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2},{"name":"Snowykami","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":1,"words":300},"filePathRelative":"en/README.md","localizedDate":"August 16, 2024"}');export{r as comp,c as data}; diff --git a/assets/index.html-fA-OQ47B.js b/assets/index.html-BGLsk8LQ.js similarity index 94% rename from assets/index.html-fA-OQ47B.js rename to assets/index.html-BGLsk8LQ.js index 7457a16a..503a5f4c 100644 --- a/assets/index.html-fA-OQ47B.js +++ b/assets/index.html-BGLsk8LQ.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const n={};function a(i,r){return t(),o("div")}const l=e(n,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/dev/api/dev/","title":"liteyuki.dev","lang":"en-US","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/dev/README.md"}');export{l as comp,c as data}; +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const n={};function a(i,r){return t(),o("div")}const l=e(n,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/dev/api/dev/","title":"liteyuki.dev","lang":"en-US","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/dev/README.md"}');export{l as comp,c as data}; diff --git a/assets/index.html-DkfxK4g6.js b/assets/index.html-BNS6aWZs.js similarity index 99% rename from assets/index.html-DkfxK4g6.js rename to assets/index.html-BNS6aWZs.js index 3d6f6cbf..d2dd7551 100644 --- a/assets/index.html-DkfxK4g6.js +++ b/assets/index.html-BNS6aWZs.js @@ -1,4 +1,4 @@ -import{_ as e,o as n,c as t,e as a}from"./app-vZ92a7EE.js";const s={},o=a(`

    def get_bot() -> LiteyukiBot

    获取轻雪实例

    Returns:

    LiteyukiBot: 当前的轻雪实例
    +import{_ as e,o as n,c as t,e as a}from"./app-Bs1PeMf0.js";const s={},o=a(`

    def get_bot() -> LiteyukiBot

    获取轻雪实例

    Returns:

    LiteyukiBot: 当前的轻雪实例
     

    def get_config(key: str, default: Any) -> Any

    获取配置

    Args:

    key: 配置键
     
     default: 默认值
    diff --git a/assets/index.html-CF1i9Rxy.js b/assets/index.html-Bom3tjBi.js
    similarity index 95%
    rename from assets/index.html-CF1i9Rxy.js
    rename to assets/index.html-Bom3tjBi.js
    index 8efcb67f..746c6df8 100644
    --- a/assets/index.html-CF1i9Rxy.js
    +++ b/assets/index.html-Bom3tjBi.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const r={};function a(i,n){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/core/","title":"liteyuki.core","lang":"zh-CN","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/core/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/core/README.md","localizedDate":"2024年8月19日"}');export{p as comp,l as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const r={};function a(i,n){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/core/","title":"liteyuki.core","lang":"zh-CN","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/core/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/core/README.md","localizedDate":"2024年8月19日"}');export{p as comp,l as data};
    diff --git a/assets/index.html-Dag8AdTX.js b/assets/index.html-C-5_z4Ql.js
    similarity index 95%
    rename from assets/index.html-Dag8AdTX.js
    rename to assets/index.html-C-5_z4Ql.js
    index 93c2a072..ead69ca1 100644
    --- a/assets/index.html-Dag8AdTX.js
    +++ b/assets/index.html-C-5_z4Ql.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as r}from"./app-vZ92a7EE.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["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":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{m as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Bs1PeMf0.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["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":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{m as comp,d as data};
    diff --git a/assets/index.html-BuABcCLO.js b/assets/index.html-CXXO6xcH.js
    similarity index 98%
    rename from assets/index.html-BuABcCLO.js
    rename to assets/index.html-CXXO6xcH.js
    index f7d061f1..4f80c68f 100644
    --- a/assets/index.html-BuABcCLO.js
    +++ b/assets/index.html-CXXO6xcH.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架","actions":[{"text":"快速部署","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"支持多种框架","icon":"robot","details":"兼容nonebot,melobot等,拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷管理","icon":"plug","details":"使用包管理器,便捷管理插件及资源包"},{"title":"主题支持","icon":"paint-brush","details":"使用资源包对外观进行完全自定义","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"cog","details":"无需繁琐前期过程,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"超高性能","icon":"tachometer-alt","details":"500个插件,2s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"code","details":"项目遵循MIT LICENCE开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 及 Python3.10+"},{"title":"使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-18T15:43:48.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-18T15:43:48.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723995828000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":43},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const i={};function a(s,l){return t(),o("div")}const c=e(i,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/svg/lylogo-full.svg","heroImageDark":"https://cdn.liteyuki.icu/static/svg/lylogo-full-dark.svg","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot","tagline":"LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架","actions":[{"text":"快速部署","icon":"rocket","link":"./deploy/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"支持多种框架","icon":"robot","details":"兼容nonebot,melobot等,拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"便捷管理","icon":"plug","details":"使用包管理器,便捷管理插件及资源包"},{"title":"主题支持","icon":"paint-brush","details":"使用资源包对外观进行完全自定义","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"title":"国际化","icon":"globe","details":"通过资源包支持多种语言","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易使用","icon":"cog","details":"无需繁琐前期过程,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"超高性能","icon":"tachometer-alt","details":"500个插件,2s内启动"},{"title":"滚动更新","icon":"cloud-download","details":"让你的机器人保持最新提交"},{"title":"开源项目","icon":"code","details":"项目遵循MIT LICENCE开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 及 Python3.10+"},{"title":"使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-08-18T15:43:48.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-18T15:43:48.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1723995828000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":43},{"name":"Nanaloveyuki","email":"miaomiao_159@outlook.com","commits":1},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.37,"words":411},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data};
    diff --git a/assets/index.html-D8TlmoJr.js b/assets/index.html-CcKUYTsl.js
    similarity index 95%
    rename from assets/index.html-D8TlmoJr.js
    rename to assets/index.html-CcKUYTsl.js
    index e5e78fa3..6d2cbef3 100644
    --- a/assets/index.html-D8TlmoJr.js
    +++ b/assets/index.html-CcKUYTsl.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as n,c as a,a as r}from"./app-vZ92a7EE.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
    +import{_ as t,r as o,o as n,c as a,a as r}from"./app-Bs1PeMf0.js";const i={};function c(p,l){const e=o("Catalog");return n(),a("div",null,[r(e)])}const s=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/dev/","title":"Contribute","lang":"en-US","frontmatter":{"title":"Contribute","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Contribute"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Contribute\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"en/dev/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
    diff --git a/assets/index.html-T2Cq0k1Z.js b/assets/index.html-CdM-GhBc.js
    similarity index 95%
    rename from assets/index.html-T2Cq0k1Z.js
    rename to assets/index.html-CdM-GhBc.js
    index 791840c2..e34ba55b 100644
    --- a/assets/index.html-T2Cq0k1Z.js
    +++ b/assets/index.html-CdM-GhBc.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as a}from"./app-vZ92a7EE.js";const o={};function n(i,r){return t(),a("div")}const p=e(o,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/message/","title":"liteyuki.message","lang":"en-US","frontmatter":{"title":"liteyuki.message","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/message/README.md"}');export{p as comp,l as data};
    +import{_ as e,o as t,c as a}from"./app-Bs1PeMf0.js";const o={};function n(i,r){return t(),a("div")}const p=e(o,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/message/","title":"liteyuki.message","lang":"en-US","frontmatter":{"title":"liteyuki.message","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/message/README.md"}');export{p as comp,l as data};
    diff --git a/assets/index.html-Dp15VJld.js b/assets/index.html-CldB2gan.js
    similarity index 94%
    rename from assets/index.html-Dp15VJld.js
    rename to assets/index.html-CldB2gan.js
    index 5f550c57..468674b2 100644
    --- a/assets/index.html-Dp15VJld.js
    +++ b/assets/index.html-CldB2gan.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const n={};function a(i,r){return t(),o("div")}const p=e(n,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/comm/","title":"liteyuki.comm","lang":"en-US","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/comm/README.md"}');export{p as comp,m as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const n={};function a(i,r){return t(),o("div")}const p=e(n,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/comm/","title":"liteyuki.comm","lang":"en-US","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/comm/README.md"}');export{p as comp,m as data};
    diff --git a/assets/index.html-z0ptraCT.js b/assets/index.html-CmLQE17j.js
    similarity index 97%
    rename from assets/index.html-z0ptraCT.js
    rename to assets/index.html-CmLQE17j.js
    index 18c68823..dc36dbcb 100644
    --- a/assets/index.html-z0ptraCT.js
    +++ b/assets/index.html-CmLQE17j.js
    @@ -1,2 +1,2 @@
    -import{_ as t,o as n,c as i,b as e,d as o}from"./app-vZ92a7EE.js";const l={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),o(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),a=e("p",null,"获取已加载的插件",-1),r=e("p",null,"Returns:",-1),p=e("pre",null,[e("code",null,`dict[str, Plugin]: 插件字典
    +import{_ as t,o as n,c as i,b as e,d as o}from"./app-Bs1PeMf0.js";const l={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),o(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),a=e("p",null,"获取已加载的插件",-1),r=e("p",null,"Returns:",-1),p=e("pre",null,[e("code",null,`dict[str, Plugin]: 插件字典
     `)],-1),s=[d,a,r,p];function c(u,g){return n(),i("div",null,s)}const _=t(l,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/dev/api/plugin/","title":"liteyuki.plugin","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin","index":true,"icon":"laptop-code","category":"API","description":"def get_loaded_plugins() -> dict[str, Plugin] 获取已加载的插件 Returns:","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.plugin"}],["meta",{"property":"og:description","content":"def get_loaded_plugins() -> dict[str, Plugin] 获取已加载的插件 Returns:"}],["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":"2024-08-19T01:55:47.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:55:47.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:55:47.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_loaded_plugins() -> dict[str, Plugin]","slug":"def-get-loaded-plugins-dict-str-plugin","link":"#def-get-loaded-plugins-dict-str-plugin","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724032547000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/plugin/README.md","localizedDate":"2024年8月19日","autoDesc":true}');export{_ as comp,h as data};
    diff --git a/assets/index.html-Cyz5iyY9.js b/assets/index.html-CydeTHZa.js
    similarity index 95%
    rename from assets/index.html-Cyz5iyY9.js
    rename to assets/index.html-CydeTHZa.js
    index 77eff5b0..1403730b 100644
    --- a/assets/index.html-Cyz5iyY9.js
    +++ b/assets/index.html-CydeTHZa.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as n,c as r,a}from"./app-vZ92a7EE.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
    +import{_ as t,r as o,o as n,c as r,a}from"./app-Bs1PeMf0.js";const s={};function i(c,p){const e=o("Catalog");return n(),r("div",null,[a(e)])}const m=t(s,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/store/","title":"Extensions Store","lang":"en-US","frontmatter":{"title":"Extensions Store","index":false,"icon":"store","category":"store","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Extensions Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Extensions Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
    diff --git a/assets/index.html-CbUTp-1C.js b/assets/index.html-D9A3PrLB.js
    similarity index 95%
    rename from assets/index.html-CbUTp-1C.js
    rename to assets/index.html-D9A3PrLB.js
    index 48aa54b3..129639c3 100644
    --- a/assets/index.html-CbUTp-1C.js
    +++ b/assets/index.html-D9A3PrLB.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const a={};function i(m,n){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/dev/api/comm/","title":"liteyuki.comm","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/comm/README.md","localizedDate":"2024年8月19日"}');export{c as comp,p as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const a={};function i(m,n){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/dev/api/comm/","title":"liteyuki.comm","lang":"zh-CN","frontmatter":{"title":"liteyuki.comm","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/comm/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/comm/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.comm"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.comm\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/comm/README.md","localizedDate":"2024年8月19日"}');export{c as comp,p as data};
    diff --git a/assets/index.html-CwUoHcW6.js b/assets/index.html-D9fN6DeZ.js
    similarity index 94%
    rename from assets/index.html-CwUoHcW6.js
    rename to assets/index.html-D9fN6DeZ.js
    index 1b73d7ca..0357b4ee 100644
    --- a/assets/index.html-CwUoHcW6.js
    +++ b/assets/index.html-D9fN6DeZ.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const n={};function a(i,r){return t(),o("div")}const l=e(n,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/dev/api/","title":"liteyuki","lang":"en-US","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/README.md"}');export{l as comp,c as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const n={};function a(i,r){return t(),o("div")}const l=e(n,[["render",a],["__file","index.html.vue"]]),c=JSON.parse('{"path":"/en/dev/api/","title":"liteyuki","lang":"en-US","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/README.md"}');export{l as comp,c as data};
    diff --git a/assets/index.html-BUZ4bQPt.js b/assets/index.html-DSmJ2m9V.js
    similarity index 95%
    rename from assets/index.html-BUZ4bQPt.js
    rename to assets/index.html-DSmJ2m9V.js
    index e302f604..96d1f7cd 100644
    --- a/assets/index.html-BUZ4bQPt.js
    +++ b/assets/index.html-DSmJ2m9V.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as p}from"./app-vZ92a7EE.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as p}from"./app-Bs1PeMf0.js";const r={};function l(c,i){const e=o("Catalog");return a(),n("div",null,[p(e)])}const s=t(r,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/deploy/","title":"Deploy","lang":"en-US","frontmatter":{"title":"Deploy","index":false,"icon":"laptop-code","category":"deploy","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Deploy"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Deploy\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/deploy/README.md","localizedDate":"August 16, 2024"}');export{s as comp,d as data};
    diff --git a/assets/index.html-Cq9Y7UTQ.js b/assets/index.html-DayvyYmV.js
    similarity index 96%
    rename from assets/index.html-Cq9Y7UTQ.js
    rename to assets/index.html-DayvyYmV.js
    index 1f3354c4..056609db 100644
    --- a/assets/index.html-Cq9Y7UTQ.js
    +++ b/assets/index.html-DayvyYmV.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as r}from"./app-vZ92a7EE.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"资源及插件商店","lang":"zh-CN","frontmatter":{"title":"资源及插件商店","index":false,"icon":"store","category":"商店","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源及插件商店"}],["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":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源及插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{m as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Bs1PeMf0.js";const i={};function c(p,s){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(i,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/store/","title":"资源及插件商店","lang":"zh-CN","frontmatter":{"title":"资源及插件商店","index":false,"icon":"store","category":"商店","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源及插件商店"}],["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":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源及插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{m as comp,d as data};
    diff --git a/assets/index.html-VwTwLeZn.js b/assets/index.html-DjMqCNCc.js
    similarity index 94%
    rename from assets/index.html-VwTwLeZn.js
    rename to assets/index.html-DjMqCNCc.js
    index 405f176f..9234a9c7 100644
    --- a/assets/index.html-VwTwLeZn.js
    +++ b/assets/index.html-DjMqCNCc.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const r={};function n(a,i){return t(),o("div")}const p=e(r,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/core/","title":"liteyuki.core","lang":"en-US","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/core/README.md"}');export{p as comp,l as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const r={};function n(a,i){return t(),o("div")}const p=e(r,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/en/dev/api/core/","title":"liteyuki.core","lang":"en-US","frontmatter":{"title":"liteyuki.core","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/core/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/core/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.core"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.core\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/core/README.md"}');export{p as comp,l as data};
    diff --git a/assets/index.html-CNC16hLe.js b/assets/index.html-DrSFzvRf.js
    similarity index 95%
    rename from assets/index.html-CNC16hLe.js
    rename to assets/index.html-DrSFzvRf.js
    index e6c5d90c..88d96a83 100644
    --- a/assets/index.html-CNC16hLe.js
    +++ b/assets/index.html-DrSFzvRf.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as r}from"./app-vZ92a7EE.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024年8月16日"}');export{s as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Bs1PeMf0.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/deploy/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/deploy/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deploy/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723832665000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deploy/README.md","localizedDate":"2024年8月16日"}');export{s as comp,d as data};
    diff --git a/assets/index.html-BTwg4yiX.js b/assets/index.html-DrrAeUuB.js
    similarity index 99%
    rename from assets/index.html-BTwg4yiX.js
    rename to assets/index.html-DrrAeUuB.js
    index 6c9728b8..837cc848 100644
    --- a/assets/index.html-BTwg4yiX.js
    +++ b/assets/index.html-DrrAeUuB.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as n,c as t,e as a}from"./app-vZ92a7EE.js";const s={},o=a(`

    def get_bot() -> LiteyukiBot

    获取轻雪实例

    Returns:

    LiteyukiBot: 当前的轻雪实例
    +import{_ as e,o as n,c as t,e as a}from"./app-Bs1PeMf0.js";const s={},o=a(`

    def get_bot() -> LiteyukiBot

    获取轻雪实例

    Returns:

    LiteyukiBot: 当前的轻雪实例
     

    def get_config(key: str, default: Any) -> Any

    获取配置

    Args:

    key: 配置键
     
     default: 默认值
    diff --git a/assets/index.html-NBx4CAbe.js b/assets/index.html-JDKOSGWq.js
    similarity index 95%
    rename from assets/index.html-NBx4CAbe.js
    rename to assets/index.html-JDKOSGWq.js
    index 0defc07c..fa521b6d 100644
    --- a/assets/index.html-NBx4CAbe.js
    +++ b/assets/index.html-JDKOSGWq.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as a}from"./app-vZ92a7EE.js";const o={};function n(i,r){return t(),a("div")}const p=e(o,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/message/","title":"liteyuki.message","lang":"zh-CN","frontmatter":{"title":"liteyuki.message","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/message/README.md"}');export{p as comp,l as data};
    +import{_ as e,o as t,c as a}from"./app-Bs1PeMf0.js";const o={};function n(i,r){return t(),a("div")}const p=e(o,[["render",n],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/message/","title":"liteyuki.message","lang":"zh-CN","frontmatter":{"title":"liteyuki.message","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/message/README.md"}');export{p as comp,l as data};
    diff --git a/assets/index.html-Cl77tEdp.js b/assets/index.html-LtkmrGu9.js
    similarity index 95%
    rename from assets/index.html-Cl77tEdp.js
    rename to assets/index.html-LtkmrGu9.js
    index 0f05bc87..debf5fbc 100644
    --- a/assets/index.html-Cl77tEdp.js
    +++ b/assets/index.html-LtkmrGu9.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const a={};function i(n,r){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/api/dev/","title":"liteyuki.dev","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/dev/README.md","localizedDate":"2024年8月19日"}');export{c as comp,d as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const a={};function i(n,r){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/api/dev/","title":"liteyuki.dev","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.dev"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/dev/README.md","localizedDate":"2024年8月19日"}');export{c as comp,d as data};
    diff --git a/assets/index.html-BdibGUlK.js b/assets/index.html-MivUrS-S.js
    similarity index 97%
    rename from assets/index.html-BdibGUlK.js
    rename to assets/index.html-MivUrS-S.js
    index 07e09c48..935547a5 100644
    --- a/assets/index.html-BdibGUlK.js
    +++ b/assets/index.html-MivUrS-S.js
    @@ -1,2 +1,2 @@
    -import{_ as t,o as n,c as l,b as e,d as i}from"./app-vZ92a7EE.js";const o={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),r=e("p",null,"获取已加载的插件",-1),a=e("p",null,"Returns:",-1),p=e("pre",null,[e("code",null,`dict[str, Plugin]: 插件字典
    +import{_ as t,o as n,c as l,b as e,d as i}from"./app-Bs1PeMf0.js";const o={},d=e("h3",{id:"def-get-loaded-plugins-dict-str-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#def-get-loaded-plugins-dict-str-plugin"},[e("span",null,[e("em",null,[e("strong",null,"def")]),i(),e("code",null,"get_loaded_plugins() -> dict[str, Plugin]")])])],-1),r=e("p",null,"获取已加载的插件",-1),a=e("p",null,"Returns:",-1),p=e("pre",null,[e("code",null,`dict[str, Plugin]: 插件字典
     `)],-1),s=[d,r,a,p];function c(u,g){return n(),l("div",null,s)}const _=t(o,[["render",c],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/plugin/","title":"liteyuki.plugin","lang":"en-US","frontmatter":{"title":"liteyuki.plugin","index":true,"icon":"laptop-code","category":"API","description":"def get_loaded_plugins() -> dict[str, Plugin] 获取已加载的插件 Returns:","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin"}],["meta",{"property":"og:description","content":"def get_loaded_plugins() -> dict[str, Plugin] 获取已加载的插件 Returns:"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_loaded_plugins() -> dict[str, Plugin]","slug":"def-get-loaded-plugins-dict-str-plugin","link":"#def-get-loaded-plugins-dict-str-plugin","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"en/dev/api/plugin/README.md","autoDesc":true}');export{_ as comp,m as data};
    diff --git a/assets/index.html-CBIjm8lk.js b/assets/index.html-X4AQiuCY.js
    similarity index 95%
    rename from assets/index.html-CBIjm8lk.js
    rename to assets/index.html-X4AQiuCY.js
    index 73261d51..f2353cb0 100644
    --- a/assets/index.html-CBIjm8lk.js
    +++ b/assets/index.html-X4AQiuCY.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o}from"./app-vZ92a7EE.js";const a={};function i(n,r){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/","title":"liteyuki","lang":"zh-CN","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/README.md","localizedDate":"2024年8月19日"}');export{c as comp,l as data};
    +import{_ as e,o as t,c as o}from"./app-Bs1PeMf0.js";const a={};function i(n,r){return t(),o("div")}const c=e(a,[["render",i],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/dev/api/","title":"liteyuki","lang":"zh-CN","frontmatter":{"title":"liteyuki","index":true,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/README.md","localizedDate":"2024年8月19日"}');export{c as comp,l as data};
    diff --git a/assets/index.html-dx5NzQ5w.js b/assets/index.html-jXobCw6I.js
    similarity index 95%
    rename from assets/index.html-dx5NzQ5w.js
    rename to assets/index.html-jXobCw6I.js
    index 64ac52c8..3be7f26f 100644
    --- a/assets/index.html-dx5NzQ5w.js
    +++ b/assets/index.html-jXobCw6I.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as r}from"./app-vZ92a7EE.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Bs1PeMf0.js";const c={};function p(s,i){const e=o("Catalog");return a(),n("div",null,[r(e)])}const m=t(c,[["render",p],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/en/usage/","title":"Usage","lang":"en-US","frontmatter":{"title":"Usage","index":false,"icon":"laptop-code","category":"usage","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Usage"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/usage/README.md","localizedDate":"August 16, 2024"}');export{m as comp,d as data};
    diff --git a/assets/index.html-Dp4Z-Qyz.js b/assets/index.html-ljg_PI1R.js
    similarity index 95%
    rename from assets/index.html-Dp4Z-Qyz.js
    rename to assets/index.html-ljg_PI1R.js
    index 5dcc2086..ba15cd1d 100644
    --- a/assets/index.html-Dp4Z-Qyz.js
    +++ b/assets/index.html-ljg_PI1R.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as a,c as n,a as r}from"./app-vZ92a7EE.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"开发及贡献","lang":"zh-CN","frontmatter":{"title":"开发及贡献","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"开发及贡献"}],["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":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开发及贡献\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024年8月11日"}');export{s as comp,d as data};
    +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Bs1PeMf0.js";const p={};function c(i,l){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/dev/","title":"开发及贡献","lang":"zh-CN","frontmatter":{"title":"开发及贡献","index":false,"icon":"laptop-code","category":"开发","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"开发及贡献"}],["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":"2024-08-11T21:26:36.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-11T21:26:36.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开发及贡献\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-11T21:26:36.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723411596000,"updatedTime":1723411596000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"dev/README.md","localizedDate":"2024年8月11日"}');export{s as comp,d as data};
    diff --git a/assets/install.html-CNSU3Y5q.js b/assets/install.html-Byj8VUg-.js
    similarity index 99%
    rename from assets/install.html-CNSU3Y5q.js
    rename to assets/install.html-Byj8VUg-.js
    index 9c9bc6fa..1966488a 100644
    --- a/assets/install.html-CNSU3Y5q.js
    +++ b/assets/install.html-Byj8VUg-.js
    @@ -1,4 +1,4 @@
    -import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-vZ92a7EE.js";const r={},d=e("h2",{id:"开始安装",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开始安装"},[e("span",null,[e("strong",null,"开始安装")])])],-1),p=e("h3",{id:"常规部署",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常规部署"},[e("span",null,[e("strong",null,"常规部署")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
    +import{_ as s,r as a,o as l,c,b as e,d as t,a as o,e as i}from"./app-Bs1PeMf0.js";const r={},d=e("h2",{id:"开始安装",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开始安装"},[e("span",null,[e("strong",null,"开始安装")])])],-1),p=e("h3",{id:"常规部署",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常规部署"},[e("span",null,[e("strong",null,"常规部署")])])],-1),h={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},u=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),_=i(`
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
     git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
     # 切换到Bot目录下
     cd LiteyukiBot
    diff --git a/assets/install.html-B8qqv2TR.js b/assets/install.html-T5JrtwZR.js
    similarity index 99%
    rename from assets/install.html-B8qqv2TR.js
    rename to assets/install.html-T5JrtwZR.js
    index ccfbd2f6..1dce6d35 100644
    --- a/assets/install.html-B8qqv2TR.js
    +++ b/assets/install.html-T5JrtwZR.js
    @@ -1,4 +1,4 @@
    -import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-vZ92a7EE.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
    +import{_ as s,r as a,o as l,c as r,b as e,d as t,a as o,e as i}from"./app-Bs1PeMf0.js";const c={},d=e("h2",{id:"installation",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#installation"},[e("span",null,[e("strong",null,"Installation")])])],-1),p=e("h3",{id:"conventional-deployment",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#conventional-deployment"},[e("span",null,[e("strong",null,"Conventional deployment")])])],-1),u={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=e("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},v=e("code",null,"Python3.10+",-1),y=i(`
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
     git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
     # change the directory to the project root
     cd LiteyukiBot
    diff --git a/assets/lifespan.html-B83utQxg.js b/assets/lifespan.html-BThnlarw.js
    similarity index 99%
    rename from assets/lifespan.html-B83utQxg.js
    rename to assets/lifespan.html-BThnlarw.js
    index 801cfc97..7fd86d88 100644
    --- a/assets/lifespan.html-B83utQxg.js
    +++ b/assets/lifespan.html-BThnlarw.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as n,c as s,e as f}from"./app-vZ92a7EE.js";const t={},o=f(`

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

    运行函数

    Args:

    funcs:
    +import{_ as e,o as n,c as s,e as f}from"./app-Bs1PeMf0.js";const t={},o=f(`

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

    运行函数

    Args:

    funcs:
     

    Returns:

    class Lifespan

    def __init__(self) -> None

     轻雪生命周期管理,启动、停止、重启

    @staticmethod

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

     运行函数

    Args:

    funcs:
     

    Returns:

    def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

     注册启动时的函数

    Args:

    func:
     

    Returns:

    LIFESPAN_FUNC:
    diff --git a/assets/lifespan.html-71k_dJCR.js b/assets/lifespan.html-DV2d0LE_.js
    similarity index 99%
    rename from assets/lifespan.html-71k_dJCR.js
    rename to assets/lifespan.html-DV2d0LE_.js
    index ded22345..138e6b7b 100644
    --- a/assets/lifespan.html-71k_dJCR.js
    +++ b/assets/lifespan.html-DV2d0LE_.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as n,c as s,e as f}from"./app-vZ92a7EE.js";const t={},o=f(`

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

    运行函数

    Args:

    funcs:
    +import{_ as e,o as n,c as s,e as f}from"./app-Bs1PeMf0.js";const t={},o=f(`

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

    运行函数

    Args:

    funcs:
     

    Returns:

    class Lifespan

    def __init__(self) -> None

     轻雪生命周期管理,启动、停止、重启

    @staticmethod

    def run_funcs(funcs: list[LIFESPAN_FUNC | PROCESS_LIFESPAN_FUNC]) -> None

     运行函数

    Args:

    funcs:
     

    Returns:

    def on_before_start(self, func: LIFESPAN_FUNC) -> LIFESPAN_FUNC

     注册启动时的函数

    Args:

    func:
     

    Returns:

    LIFESPAN_FUNC:
    diff --git a/assets/load.html-DweObU5b.js b/assets/load.html-BIgFYGDk.js
    similarity index 99%
    rename from assets/load.html-DweObU5b.js
    rename to assets/load.html-BIgFYGDk.js
    index ca55be9a..49381a34 100644
    --- a/assets/load.html-DweObU5b.js
    +++ b/assets/load.html-BIgFYGDk.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as t,e as l}from"./app-vZ92a7EE.js";const o={},n=l(`

    def load_plugin(module_path: str | Path) -> Optional[Plugin]

    加载单个插件,可以是本地插件或是通过 pip 安装的插件。

    参数:

    module_path: 插件名称 \`path.to.your.plugin\`
    +import{_ as e,o as a,c as t,e as l}from"./app-Bs1PeMf0.js";const o={},n=l(`

    def load_plugin(module_path: str | Path) -> Optional[Plugin]

    加载单个插件,可以是本地插件或是通过 pip 安装的插件。

    参数:

    module_path: 插件名称 \`path.to.your.plugin\`
     
     或插件路径 \`pathlib.Path(path/to/your/plugin)\`
     

    def load_plugins() -> set[Plugin]

    导入文件夹下多个插件

    参数:

    plugin_dir: 文件夹路径
    diff --git a/assets/load.html-DkYkZ2D0.js b/assets/load.html-CgZzOXg3.js
    similarity index 99%
    rename from assets/load.html-DkYkZ2D0.js
    rename to assets/load.html-CgZzOXg3.js
    index 2c20e566..35abc350 100644
    --- a/assets/load.html-DkYkZ2D0.js
    +++ b/assets/load.html-CgZzOXg3.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as t,e as l}from"./app-vZ92a7EE.js";const o={},n=l(`

    def load_plugin(module_path: str | Path) -> Optional[Plugin]

    加载单个插件,可以是本地插件或是通过 pip 安装的插件。

    参数:

    module_path: 插件名称 \`path.to.your.plugin\`
    +import{_ as e,o as a,c as t,e as l}from"./app-Bs1PeMf0.js";const o={},n=l(`

    def load_plugin(module_path: str | Path) -> Optional[Plugin]

    加载单个插件,可以是本地插件或是通过 pip 安装的插件。

    参数:

    module_path: 插件名称 \`path.to.your.plugin\`
     
     或插件路径 \`pathlib.Path(path/to/your/plugin)\`
     

    def load_plugins() -> set[Plugin]

    导入文件夹下多个插件

    参数:

    plugin_dir: 文件夹路径
    diff --git a/assets/log.html-ChaFmD0C.js b/assets/log.html-B6ne9LQi.js
    similarity index 98%
    rename from assets/log.html-ChaFmD0C.js
    rename to assets/log.html-B6ne9LQi.js
    index 9589b26e..26c9355b 100644
    --- a/assets/log.html-ChaFmD0C.js
    +++ b/assets/log.html-B6ne9LQi.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as o,e as r}from"./app-vZ92a7EE.js";const n={},l=r('

    def get_format(level: str) -> str

    def init_log(config: dict) -> None

    在语言加载完成后执行

    Returns:

    var logger = loguru.logger

    var show_icon = config.get('log_icon', True)

    ',6),i=[l];function g(a,c){return t(),o("div",null,i)}const d=e(n,[["render",g],["__file","log.html.vue"]]),p=JSON.parse(`{"path":"/dev/api/log.html","title":"liteyuki.log","lang":"zh-CN","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/log.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)"}],["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":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]},{"level":3,"title":"var logger = loguru.logger","slug":"var-logger-loguru-logger","link":"#var-logger-loguru-logger","children":[]},{"level":3,"title":"var show_icon = config.get('log_icon', True)","slug":"var-show-icon-config-get-log-icon-true","link":"#var-show-icon-config-get-log-icon-true","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"dev/api/log.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{d as comp,p as data}; +import{_ as e,o as t,c as o,e as r}from"./app-Bs1PeMf0.js";const n={},l=r('

    def get_format(level: str) -> str

    def init_log(config: dict) -> None

    在语言加载完成后执行

    Returns:

    var logger = loguru.logger

    var show_icon = config.get('log_icon', True)

    ',6),i=[l];function g(a,c){return t(),o("div",null,i)}const d=e(n,[["render",g],["__file","log.html.vue"]]),p=JSON.parse(`{"path":"/dev/api/log.html","title":"liteyuki.log","lang":"zh-CN","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/log.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)"}],["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":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]},{"level":3,"title":"var logger = loguru.logger","slug":"var-logger-loguru-logger","link":"#var-logger-loguru-logger","children":[]},{"level":3,"title":"var show_icon = config.get('log_icon', True)","slug":"var-show-icon-config-get-log-icon-true","link":"#var-show-icon-config-get-log-icon-true","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"dev/api/log.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{d as comp,p as data}; diff --git a/assets/log.html-C5iOBg0l.js b/assets/log.html-BWgq1I4q.js similarity index 98% rename from assets/log.html-C5iOBg0l.js rename to assets/log.html-BWgq1I4q.js index 0b15fd73..8b786026 100644 --- a/assets/log.html-C5iOBg0l.js +++ b/assets/log.html-BWgq1I4q.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as r}from"./app-vZ92a7EE.js";const n={},l=r('

    def get_format(level: str) -> str

    def init_log(config: dict) -> None

    在语言加载完成后执行

    Returns:

    var logger = loguru.logger

    var show_icon = config.get('log_icon', True)

    ',6),i=[l];function g(a,c){return t(),o("div",null,i)}const d=e(n,[["render",g],["__file","log.html.vue"]]),p=JSON.parse(`{"path":"/en/dev/api/log.html","title":"liteyuki.log","lang":"en-US","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]},{"level":3,"title":"var logger = loguru.logger","slug":"var-logger-loguru-logger","link":"#var-logger-loguru-logger","children":[]},{"level":3,"title":"var show_icon = config.get('log_icon', True)","slug":"var-show-icon-config-get-log-icon-true","link":"#var-show-icon-config-get-log-icon-true","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"en/dev/api/log.md","autoDesc":true}`);export{d as comp,p as data}; +import{_ as e,o as t,c as o,e as r}from"./app-Bs1PeMf0.js";const n={},l=r('

    def get_format(level: str) -> str

    def init_log(config: dict) -> None

    在语言加载完成后执行

    Returns:

    var logger = loguru.logger

    var show_icon = config.get('log_icon', True)

    ',6),i=[l];function g(a,c){return t(),o("div",null,i)}const d=e(n,[["render",g],["__file","log.html.vue"]]),p=JSON.parse(`{"path":"/en/dev/api/log.html","title":"liteyuki.log","lang":"en-US","frontmatter":{"title":"liteyuki.log","order":1,"icon":"laptop-code","category":"API","description":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/log.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/log.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.log"}],["meta",{"property":"og:description","content":"def get_format(level: str) -> str def init_log(config: dict) -> None 在语言加载完成后执行 Returns: var logger = loguru.logger var show_icon = config.get('log_icon', True)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.log\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def get_format(level: str) -> str","slug":"def-get-format-level-str-str","link":"#def-get-format-level-str-str","children":[]},{"level":3,"title":"def init_log(config: dict) -> None","slug":"def-init-log-config-dict-none","link":"#def-init-log-config-dict-none","children":[]},{"level":3,"title":"var logger = loguru.logger","slug":"var-logger-loguru-logger","link":"#var-logger-loguru-logger","children":[]},{"level":3,"title":"var show_icon = config.get('log_icon', True)","slug":"var-show-icon-config-get-log-icon-true","link":"#var-show-icon-config-get-log-icon-true","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.13,"words":38},"filePathRelative":"en/dev/api/log.md","autoDesc":true}`);export{d as comp,p as data}; diff --git a/assets/manager.html-DHo7L3O7.js b/assets/manager.html-BV5ldr2L.js similarity index 99% rename from assets/manager.html-DHo7L3O7.js rename to assets/manager.html-BV5ldr2L.js index ab8b8e67..54a355fc 100644 --- a/assets/manager.html-DHo7L3O7.js +++ b/assets/manager.html-BV5ldr2L.js @@ -1,4 +1,4 @@ -import{_ as e,o as a,c as n,e as s}from"./app-vZ92a7EE.js";const l={},t=s(`

    class ChannelDeliver

    def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None

    class ProcessManager

    进程管理器

    def __init__(self, lifespan: 'Lifespan') -> None

    def start(self, name: str) -> None

     开启后自动监控进程,并添加到进程字典中

    Args:

    name:
    +import{_ as e,o as a,c as n,e as s}from"./app-Bs1PeMf0.js";const l={},t=s(`

    class ChannelDeliver

    def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None

    class ProcessManager

    进程管理器

    def __init__(self, lifespan: 'Lifespan') -> None

    def start(self, name: str) -> None

     开启后自动监控进程,并添加到进程字典中

    Args:

    name:
     

    Returns:

    def start_all(self) -> None

     启动所有进程

    def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None

     添加进程

    Args:

    name: 进程名,用于获取和唯一标识
     
     target: 进程函数
    diff --git a/assets/manager.html-CLOHlB8W.js b/assets/manager.html-BkVFg96L.js
    similarity index 96%
    rename from assets/manager.html-CLOHlB8W.js
    rename to assets/manager.html-BkVFg96L.js
    index 7fd58cdf..363edc67 100644
    --- a/assets/manager.html-CLOHlB8W.js
    +++ b/assets/manager.html-BkVFg96L.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as a}from"./app-vZ92a7EE.js";const o={};function n(r,i){return t(),a("div")}const l=e(o,[["render",n],["__file","manager.html.vue"]]),m=JSON.parse('{"path":"/dev/api/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/manager.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/plugin/manager.md","localizedDate":"2024年8月19日"}');export{l as comp,m as data};
    +import{_ as e,o as t,c as a}from"./app-Bs1PeMf0.js";const o={};function n(r,i){return t(),a("div")}const l=e(o,[["render",n],["__file","manager.html.vue"]]),m=JSON.parse('{"path":"/dev/api/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"zh-CN","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/manager.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["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":"2024-08-19T01:43:46.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T01:43:46.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T01:43:46.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1724031826000,"updatedTime":1724031826000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/plugin/manager.md","localizedDate":"2024年8月19日"}');export{l as comp,m as data};
    diff --git a/assets/manager.html-eWTfwa5M.js b/assets/manager.html-DgN4cRCp.js
    similarity index 99%
    rename from assets/manager.html-eWTfwa5M.js
    rename to assets/manager.html-DgN4cRCp.js
    index 1b687da2..80e6cc3e 100644
    --- a/assets/manager.html-eWTfwa5M.js
    +++ b/assets/manager.html-DgN4cRCp.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as n,e as s}from"./app-vZ92a7EE.js";const l={},t=s(`

    class ChannelDeliver

    def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None

    class ProcessManager

    进程管理器

    def __init__(self, lifespan: 'Lifespan') -> None

    def start(self, name: str) -> None

     开启后自动监控进程,并添加到进程字典中

    Args:

    name:
    +import{_ as e,o as a,c as n,e as s}from"./app-Bs1PeMf0.js";const l={},t=s(`

    class ChannelDeliver

    def __init__(self, active: Channel[Any], passive: Channel[Any], channel_deliver_active: Channel[Channel[Any]], channel_deliver_passive: Channel[tuple[str, dict]], publish: Channel[tuple[str, Any]]) -> None

    class ProcessManager

    进程管理器

    def __init__(self, lifespan: 'Lifespan') -> None

    def start(self, name: str) -> None

     开启后自动监控进程,并添加到进程字典中

    Args:

    name:
     

    Returns:

    def start_all(self) -> None

     启动所有进程

    def add_target(self, name: str, target: TARGET_FUNC, args: tuple, kwargs: Any) -> None

     添加进程

    Args:

    name: 进程名,用于获取和唯一标识
     
     target: 进程函数
    diff --git a/assets/manager.html-Cb5JEiB_.js b/assets/manager.html-DprLOdHx.js
    similarity index 95%
    rename from assets/manager.html-Cb5JEiB_.js
    rename to assets/manager.html-DprLOdHx.js
    index 33af5b20..3056ab1f 100644
    --- a/assets/manager.html-Cb5JEiB_.js
    +++ b/assets/manager.html-DprLOdHx.js
    @@ -1 +1 @@
    -import{_ as e,o as t,c as a}from"./app-vZ92a7EE.js";const n={};function r(o,i){return t(),a("div")}const p=e(n,[["render",r],["__file","manager.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"en-US","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/manager.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/plugin/manager.md"}');export{p as comp,m as data};
    +import{_ as e,o as t,c as a}from"./app-Bs1PeMf0.js";const n={};function r(o,i){return t(),a("div")}const p=e(n,[["render",r],["__file","manager.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/plugin/manager.html","title":"liteyuki.plugin.manager","lang":"en-US","frontmatter":{"title":"liteyuki.plugin.manager","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/plugin/manager.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/plugin/manager.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.plugin.manager"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.plugin.manager\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/plugin/manager.md"}');export{p as comp,m as data};
    diff --git a/assets/matcher.html-BbwXZeQG.js b/assets/matcher.html-BlyTwki1.js
    similarity index 98%
    rename from assets/matcher.html-BbwXZeQG.js
    rename to assets/matcher.html-BlyTwki1.js
    index 83bef5e3..5c44e04f 100644
    --- a/assets/matcher.html-BbwXZeQG.js
    +++ b/assets/matcher.html-BlyTwki1.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as t,c as n,e as r}from"./app-vZ92a7EE.js";const l={},a=r(`

    class Matcher

    def __init__(self, rule: Rule, priority: int, block: bool) -> None

     匹配器

    Args:

    rule: 规则
    +import{_ as e,o as t,c as n,e as r}from"./app-Bs1PeMf0.js";const l={},a=r(`

    class Matcher

    def __init__(self, rule: Rule, priority: int, block: bool) -> None

     匹配器

    Args:

    rule: 规则
     
     priority: 优先级 >= 0
     
    diff --git a/assets/matcher.html-DDe-pclc.js b/assets/matcher.html-DiZmNAY7.js
    similarity index 98%
    rename from assets/matcher.html-DDe-pclc.js
    rename to assets/matcher.html-DiZmNAY7.js
    index 56d959d6..918ee004 100644
    --- a/assets/matcher.html-DDe-pclc.js
    +++ b/assets/matcher.html-DiZmNAY7.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as t,c as n,e as r}from"./app-vZ92a7EE.js";const l={},a=r(`

    class Matcher

    def __init__(self, rule: Rule, priority: int, block: bool) -> None

     匹配器

    Args:

    rule: 规则
    +import{_ as e,o as t,c as n,e as r}from"./app-Bs1PeMf0.js";const l={},a=r(`

    class Matcher

    def __init__(self, rule: Rule, priority: int, block: bool) -> None

     匹配器

    Args:

    rule: 规则
     
     priority: 优先级 >= 0
     
    diff --git a/assets/mkdoc.html-CJGfdlS1.js b/assets/mkdoc.html-CRi0bBqT.js
    similarity index 99%
    rename from assets/mkdoc.html-CJGfdlS1.js
    rename to assets/mkdoc.html-CRi0bBqT.js
    index 3e163928..9535ff2f 100644
    --- a/assets/mkdoc.html-CJGfdlS1.js
    +++ b/assets/mkdoc.html-CRi0bBqT.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as t,c as a,e as r}from"./app-vZ92a7EE.js";const n={},o=r(`

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
    +import{_ as e,o as t,c as a,e as r}from"./app-Bs1PeMf0.js";const n={},o=r(`

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
     
     target_path: 目标路径
     

    def write_to_files(file_data: dict[str, str]) -> None

    输出文件

    Args:

    file_data: 文件数据 相对路径
    diff --git a/assets/mkdoc.html-D97i_2kZ.js b/assets/mkdoc.html-DvuxL8et.js
    similarity index 99%
    rename from assets/mkdoc.html-D97i_2kZ.js
    rename to assets/mkdoc.html-DvuxL8et.js
    index cc7a600e..b260cea0 100644
    --- a/assets/mkdoc.html-D97i_2kZ.js
    +++ b/assets/mkdoc.html-DvuxL8et.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as t,c as a,e as r}from"./app-vZ92a7EE.js";const n={},o=r(`

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
    +import{_ as e,o as t,c as a,e as r}from"./app-Bs1PeMf0.js";const n={},o=r(`

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
     
     target_path: 目标路径
     

    def write_to_files(file_data: dict[str, str]) -> None

    输出文件

    Args:

    file_data: 文件数据 相对路径
    diff --git a/assets/model.html-mG1yNru6.js b/assets/model.html-Bs0mM2km.js
    similarity index 99%
    rename from assets/model.html-mG1yNru6.js
    rename to assets/model.html-Bs0mM2km.js
    index 373033f2..65c78383 100644
    --- a/assets/model.html-mG1yNru6.js
    +++ b/assets/model.html-Bs0mM2km.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as t,e as r}from"./app-vZ92a7EE.js";const l={},s=r(`

    class PluginType(Enum)

    插件类型枚举值

    attr APPLICATION: 'application'

    attr SERVICE: 'service'

    attr MODULE: 'module'

    attr UNCLASSIFIED: 'unclassified'

    attr TEST: 'test'

    class PluginMetadata(BaseModel)

    轻雪插件元数据,由插件编写者提供,name为必填项

    Attributes:


    name: str

    插件名称
    +import{_ as e,o as a,c as t,e as r}from"./app-Bs1PeMf0.js";const l={},s=r(`

    class PluginType(Enum)

    插件类型枚举值

    attr APPLICATION: 'application'

    attr SERVICE: 'service'

    attr MODULE: 'module'

    attr UNCLASSIFIED: 'unclassified'

    attr TEST: 'test'

    class PluginMetadata(BaseModel)

    轻雪插件元数据,由插件编写者提供,name为必填项

    Attributes:


    name: str

    插件名称
     

    description: str

    插件描述
     

    usage: str

    插件使用方法
     

    type: str

    插件类型
    diff --git a/assets/model.html-DERmi5kA.js b/assets/model.html-C1PYojDX.js
    similarity index 99%
    rename from assets/model.html-DERmi5kA.js
    rename to assets/model.html-C1PYojDX.js
    index 7e0d9e8c..ca2fae1b 100644
    --- a/assets/model.html-DERmi5kA.js
    +++ b/assets/model.html-C1PYojDX.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as t,e as l}from"./app-vZ92a7EE.js";const r={},s=l(`

    class PluginType(Enum)

    插件类型枚举值

    attr APPLICATION: 'application'

    attr SERVICE: 'service'

    attr MODULE: 'module'

    attr UNCLASSIFIED: 'unclassified'

    attr TEST: 'test'

    class PluginMetadata(BaseModel)

    轻雪插件元数据,由插件编写者提供,name为必填项

    Attributes:


    name: str

    插件名称
    +import{_ as e,o as a,c as t,e as l}from"./app-Bs1PeMf0.js";const r={},s=l(`

    class PluginType(Enum)

    插件类型枚举值

    attr APPLICATION: 'application'

    attr SERVICE: 'service'

    attr MODULE: 'module'

    attr UNCLASSIFIED: 'unclassified'

    attr TEST: 'test'

    class PluginMetadata(BaseModel)

    轻雪插件元数据,由插件编写者提供,name为必填项

    Attributes:


    name: str

    插件名称
     

    description: str

    插件描述
     

    usage: str

    插件使用方法
     

    type: str

    插件类型
    diff --git a/assets/observer.html-BQLAVfLj.js b/assets/observer.html-C7rFMFl-.js
    similarity index 99%
    rename from assets/observer.html-BQLAVfLj.js
    rename to assets/observer.html-C7rFMFl-.js
    index afd63736..d068258d 100644
    --- a/assets/observer.html-BQLAVfLj.js
    +++ b/assets/observer.html-C7rFMFl-.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as n,c as t,e as a}from"./app-vZ92a7EE.js";const r={},o=a(`

    def debounce(wait: Any) -> None

    防抖函数

    def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

    注册文件系统变化监听器

    Args:

    directories: 监听目录们
    +import{_ as e,o as n,c as t,e as a}from"./app-Bs1PeMf0.js";const r={},o=a(`

    def debounce(wait: Any) -> None

    防抖函数

    def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

    注册文件系统变化监听器

    Args:

    directories: 监听目录们
     
     recursive: 是否递归监听子目录
     
    diff --git a/assets/observer.html-Dmt-3WCR.js b/assets/observer.html-Dj-N0tMw.js
    similarity index 99%
    rename from assets/observer.html-Dmt-3WCR.js
    rename to assets/observer.html-Dj-N0tMw.js
    index 47347f19..2e46d2e1 100644
    --- a/assets/observer.html-Dmt-3WCR.js
    +++ b/assets/observer.html-Dj-N0tMw.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as n,c as t,e as a}from"./app-vZ92a7EE.js";const r={},o=a(`

    def debounce(wait: Any) -> None

    防抖函数

    def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

    注册文件系统变化监听器

    Args:

    directories: 监听目录们
    +import{_ as e,o as n,c as t,e as a}from"./app-Bs1PeMf0.js";const r={},o=a(`

    def debounce(wait: Any) -> None

    防抖函数

    def on_file_system_event(directories: tuple[str], recursive: bool, event_filter: FILTER_FUNC) -> Callable[[CALLBACK_FUNC], CALLBACK_FUNC]

    注册文件系统变化监听器

    Args:

    directories: 监听目录们
     
     recursive: 是否递归监听子目录
     
    diff --git a/assets/on.html-D9aaBFCR.js b/assets/on.html-BsRFg2Z3.js
    similarity index 98%
    rename from assets/on.html-D9aaBFCR.js
    rename to assets/on.html-BsRFg2Z3.js
    index 2b40c10b..56b60e1d 100644
    --- a/assets/on.html-D9aaBFCR.js
    +++ b/assets/on.html-BsRFg2Z3.js
    @@ -1 +1 @@
    -import{_ as e,o as r,c as t,e as o}from"./app-vZ92a7EE.js";const i={},a=o('

    def on_message(rule: Rule, priority: int, block: bool) -> Matcher

    var current_priority = -1

    var matcher = Matcher(rule, priority, block)

    var current_priority = matcher.priority

    ',4),c=[a];function n(l,s){return r(),t("div",null,c)}const h=e(i,[["render",n],["__file","on.html.vue"]]),m=JSON.parse('{"path":"/dev/api/message/on.html","title":"liteyuki.message.on","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.on","order":1,"icon":"laptop-code","category":"API","description":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/on.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/on.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.on"}],["meta",{"property":"og:description","content":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.on\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher","slug":"def-on-message-rule-rule-priority-int-block-bool-matcher","link":"#def-on-message-rule-rule-priority-int-block-bool-matcher","children":[]},{"level":3,"title":"var current_priority = -1","slug":"var-current-priority-1","link":"#var-current-priority-1","children":[]},{"level":3,"title":"var matcher = Matcher(rule, priority, block)","slug":"var-matcher-matcher-rule-priority-block","link":"#var-matcher-matcher-rule-priority-block","children":[]},{"level":3,"title":"var current_priority = matcher.priority","slug":"var-current-priority-matcher-priority","link":"#var-current-priority-matcher-priority","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/message/on.md","autoDesc":true}');export{h as comp,m as data}; +import{_ as e,o as r,c as t,e as o}from"./app-Bs1PeMf0.js";const i={},a=o('

    def on_message(rule: Rule, priority: int, block: bool) -> Matcher

    var current_priority = -1

    var matcher = Matcher(rule, priority, block)

    var current_priority = matcher.priority

    ',4),c=[a];function n(l,s){return r(),t("div",null,c)}const h=e(i,[["render",n],["__file","on.html.vue"]]),m=JSON.parse('{"path":"/dev/api/message/on.html","title":"liteyuki.message.on","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.on","order":1,"icon":"laptop-code","category":"API","description":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/on.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/on.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.on"}],["meta",{"property":"og:description","content":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.on\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher","slug":"def-on-message-rule-rule-priority-int-block-bool-matcher","link":"#def-on-message-rule-rule-priority-int-block-bool-matcher","children":[]},{"level":3,"title":"var current_priority = -1","slug":"var-current-priority-1","link":"#var-current-priority-1","children":[]},{"level":3,"title":"var matcher = Matcher(rule, priority, block)","slug":"var-matcher-matcher-rule-priority-block","link":"#var-matcher-matcher-rule-priority-block","children":[]},{"level":3,"title":"var current_priority = matcher.priority","slug":"var-current-priority-matcher-priority","link":"#var-current-priority-matcher-priority","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"dev/api/message/on.md","autoDesc":true}');export{h as comp,m as data}; diff --git a/assets/on.html-BFzCvrae.js b/assets/on.html-Ce5mjVnc.js similarity index 98% rename from assets/on.html-BFzCvrae.js rename to assets/on.html-Ce5mjVnc.js index 04128ba1..58eb16d4 100644 --- a/assets/on.html-BFzCvrae.js +++ b/assets/on.html-Ce5mjVnc.js @@ -1 +1 @@ -import{_ as e,o as r,c as t,e as o}from"./app-vZ92a7EE.js";const i={},a=o('

    def on_message(rule: Rule, priority: int, block: bool) -> Matcher

    var current_priority = -1

    var matcher = Matcher(rule, priority, block)

    var current_priority = matcher.priority

    ',4),n=[a];function c(l,s){return r(),t("div",null,n)}const h=e(i,[["render",c],["__file","on.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/message/on.html","title":"liteyuki.message.on","lang":"en-US","frontmatter":{"title":"liteyuki.message.on","order":1,"icon":"laptop-code","category":"API","description":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/on.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/on.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.on"}],["meta",{"property":"og:description","content":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.on\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher","slug":"def-on-message-rule-rule-priority-int-block-bool-matcher","link":"#def-on-message-rule-rule-priority-int-block-bool-matcher","children":[]},{"level":3,"title":"var current_priority = -1","slug":"var-current-priority-1","link":"#var-current-priority-1","children":[]},{"level":3,"title":"var matcher = Matcher(rule, priority, block)","slug":"var-matcher-matcher-rule-priority-block","link":"#var-matcher-matcher-rule-priority-block","children":[]},{"level":3,"title":"var current_priority = matcher.priority","slug":"var-current-priority-matcher-priority","link":"#var-current-priority-matcher-priority","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"en/dev/api/message/on.md","autoDesc":true}');export{h as comp,m as data}; +import{_ as e,o as r,c as t,e as o}from"./app-Bs1PeMf0.js";const i={},a=o('

    def on_message(rule: Rule, priority: int, block: bool) -> Matcher

    var current_priority = -1

    var matcher = Matcher(rule, priority, block)

    var current_priority = matcher.priority

    ',4),n=[a];function c(l,s){return r(),t("div",null,n)}const h=e(i,[["render",c],["__file","on.html.vue"]]),m=JSON.parse('{"path":"/en/dev/api/message/on.html","title":"liteyuki.message.on","lang":"en-US","frontmatter":{"title":"liteyuki.message.on","order":1,"icon":"laptop-code","category":"API","description":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/on.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/on.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.on"}],["meta",{"property":"og:description","content":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher var current_priority = -1 var matcher = Matcher(rule, priority, block) var current_priority = matcher.priority"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.on\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def on_message(rule: Rule, priority: int, block: bool) -> Matcher","slug":"def-on-message-rule-rule-priority-int-block-bool-matcher","link":"#def-on-message-rule-rule-priority-int-block-bool-matcher","children":[]},{"level":3,"title":"var current_priority = -1","slug":"var-current-priority-1","link":"#var-current-priority-1","children":[]},{"level":3,"title":"var matcher = Matcher(rule, priority, block)","slug":"var-matcher-matcher-rule-priority-block","link":"#var-matcher-matcher-rule-priority-block","children":[]},{"level":3,"title":"var current_priority = matcher.priority","slug":"var-current-priority-matcher-priority","link":"#var-current-priority-matcher-priority","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.1,"words":30},"filePathRelative":"en/dev/api/message/on.md","autoDesc":true}');export{h as comp,m as data}; diff --git a/assets/plugin.html-CwCk-kKv.js b/assets/plugin.html-BBrieOL3.js similarity index 98% rename from assets/plugin.html-CwCk-kKv.js rename to assets/plugin.html-BBrieOL3.js index de0a682b..30c34b56 100644 --- a/assets/plugin.html-CwCk-kKv.js +++ b/assets/plugin.html-BBrieOL3.js @@ -1 +1 @@ -import{_ as e,o as t,c as i,e as n}from"./app-vZ92a7EE.js";const o={},a=n('

    def run_plugins() -> None

    运行插件,无需手动初始化bot

    Args:

    module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名\n

    var cfg = load_config_in_default()

    var plugins = cfg.get('liteyuki.plugins', [])

    var bot = LiteyukiBot(**cfg)

    ',7),l=[a];function r(g,c){return t(),i("div",null,l)}const d=e(o,[["render",r],["__file","plugin.html.vue"]]),s=JSON.parse(`{"path":"/dev/api/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)"}],["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":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]},{"level":3,"title":"var cfg = load_config_in_default()","slug":"var-cfg-load-config-in-default","link":"#var-cfg-load-config-in-default","children":[]},{"level":3,"title":"var plugins = cfg.get('liteyuki.plugins', [])","slug":"var-plugins-cfg-get-liteyuki-plugins","link":"#var-plugins-cfg-get-liteyuki-plugins","children":[]},{"level":3,"title":"var bot = LiteyukiBot(**cfg)","slug":"var-bot-liteyukibot-cfg","link":"#var-bot-liteyukibot-cfg","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.16,"words":49},"filePathRelative":"dev/api/dev/plugin.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{d as comp,s as data}; +import{_ as e,o as t,c as i,e as n}from"./app-Bs1PeMf0.js";const o={},a=n('

    def run_plugins() -> None

    运行插件,无需手动初始化bot

    Args:

    module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名\n

    var cfg = load_config_in_default()

    var plugins = cfg.get('liteyuki.plugins', [])

    var bot = LiteyukiBot(**cfg)

    ',7),l=[a];function r(g,c){return t(),i("div",null,l)}const d=e(o,[["render",r],["__file","plugin.html.vue"]]),s=JSON.parse(`{"path":"/dev/api/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"zh-CN","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)"}],["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":"2024-08-19T02:22:24.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-19T02:22:24.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-19T02:22:24.000Z\\",\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]},{"level":3,"title":"var cfg = load_config_in_default()","slug":"var-cfg-load-config-in-default","link":"#var-cfg-load-config-in-default","children":[]},{"level":3,"title":"var plugins = cfg.get('liteyuki.plugins', [])","slug":"var-plugins-cfg-get-liteyuki-plugins","link":"#var-plugins-cfg-get-liteyuki-plugins","children":[]},{"level":3,"title":"var bot = LiteyukiBot(**cfg)","slug":"var-bot-liteyukibot-cfg","link":"#var-bot-liteyukibot-cfg","children":[]}],"git":{"createdTime":1724031826000,"updatedTime":1724034144000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":3}]},"readingTime":{"minutes":0.16,"words":49},"filePathRelative":"dev/api/dev/plugin.md","localizedDate":"2024年8月19日","autoDesc":true}`);export{d as comp,s as data}; diff --git a/assets/plugin.html-D0MVMBJ8.js b/assets/plugin.html-C8LvTzrt.js similarity index 98% rename from assets/plugin.html-D0MVMBJ8.js rename to assets/plugin.html-C8LvTzrt.js index c532dbc4..99d8f2ba 100644 --- a/assets/plugin.html-D0MVMBJ8.js +++ b/assets/plugin.html-C8LvTzrt.js @@ -1 +1 @@ -import{_ as e,o as t,c as n,e as i}from"./app-vZ92a7EE.js";const l={},o=i('

    def run_plugins() -> None

    运行插件,无需手动初始化bot

    Args:

    module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名\n

    var cfg = load_config_in_default()

    var plugins = cfg.get('liteyuki.plugins', [])

    var bot = LiteyukiBot(**cfg)

    ',7),a=[o];function r(g,c){return t(),n("div",null,a)}const u=e(l,[["render",r],["__file","plugin.html.vue"]]),d=JSON.parse(`{"path":"/en/dev/api/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"en-US","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]},{"level":3,"title":"var cfg = load_config_in_default()","slug":"var-cfg-load-config-in-default","link":"#var-cfg-load-config-in-default","children":[]},{"level":3,"title":"var plugins = cfg.get('liteyuki.plugins', [])","slug":"var-plugins-cfg-get-liteyuki-plugins","link":"#var-plugins-cfg-get-liteyuki-plugins","children":[]},{"level":3,"title":"var bot = LiteyukiBot(**cfg)","slug":"var-bot-liteyukibot-cfg","link":"#var-bot-liteyukibot-cfg","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.16,"words":49},"filePathRelative":"en/dev/api/dev/plugin.md","autoDesc":true}`);export{u as comp,d as data}; +import{_ as e,o as t,c as n,e as i}from"./app-Bs1PeMf0.js";const l={},o=i('

    def run_plugins() -> None

    运行插件,无需手动初始化bot

    Args:

    module_path: 插件路径,参考`liteyuki.load_plugin`的函数签名\n

    var cfg = load_config_in_default()

    var plugins = cfg.get('liteyuki.plugins', [])

    var bot = LiteyukiBot(**cfg)

    ',7),a=[o];function r(g,c){return t(),n("div",null,a)}const u=e(l,[["render",r],["__file","plugin.html.vue"]]),d=JSON.parse(`{"path":"/en/dev/api/dev/plugin.html","title":"liteyuki.dev.plugin","lang":"en-US","frontmatter":{"title":"liteyuki.dev.plugin","order":1,"icon":"laptop-code","category":"API","description":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/dev/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/dev/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.dev.plugin"}],["meta",{"property":"og:description","content":"def run_plugins() -> None 运行插件,无需手动初始化bot Args: var cfg = load_config_in_default() var plugins = cfg.get('liteyuki.plugins', []) var bot = LiteyukiBot(**cfg)"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.dev.plugin\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"def run_plugins() -> None","slug":"def-run-plugins-none","link":"#def-run-plugins-none","children":[]},{"level":3,"title":"var cfg = load_config_in_default()","slug":"var-cfg-load-config-in-default","link":"#var-cfg-load-config-in-default","children":[]},{"level":3,"title":"var plugins = cfg.get('liteyuki.plugins', [])","slug":"var-plugins-cfg-get-liteyuki-plugins","link":"#var-plugins-cfg-get-liteyuki-plugins","children":[]},{"level":3,"title":"var bot = LiteyukiBot(**cfg)","slug":"var-bot-liteyukibot-cfg","link":"#var-bot-liteyukibot-cfg","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.16,"words":49},"filePathRelative":"en/dev/api/dev/plugin.md","autoDesc":true}`);export{u as comp,d as data}; diff --git a/assets/plugin.html-CQiVEPXJ.js b/assets/plugin.html-DYl5C-yG.js similarity index 96% rename from assets/plugin.html-CQiVEPXJ.js rename to assets/plugin.html-DYl5C-yG.js index 86c4fc7e..3559249e 100644 --- a/assets/plugin.html-CQiVEPXJ.js +++ b/assets/plugin.html-DYl5C-yG.js @@ -1 +1 @@ -import{_ as t,r as o,o as n,c as r,a}from"./app-vZ92a7EE.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["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":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data}; +import{_ as t,r as o,o as n,c as r,a}from"./app-Bs1PeMf0.js";const p={};function i(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"插件商店"}],["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":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data}; diff --git a/assets/plugin.html-Dnmwrkym.js b/assets/plugin.html-OrnCCBoS.js similarity index 96% rename from assets/plugin.html-Dnmwrkym.js rename to assets/plugin.html-OrnCCBoS.js index 165cb3e0..b9472e8c 100644 --- a/assets/plugin.html-Dnmwrkym.js +++ b/assets/plugin.html-OrnCCBoS.js @@ -1 +1 @@ -import{_ as t,r as o,o as n,c as r,a}from"./app-vZ92a7EE.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data}; +import{_ as t,r as o,o as n,c as r,a}from"./app-Bs1PeMf0.js";const i={};function p(l,c){const e=o("pluginStoreComp");return n(),r("div",null,[a(e)])}const s=t(i,[["render",p],["__file","plugin.html.vue"]]),u=JSON.parse('{"path":"/en/store/plugin.html","title":"Plugin Store","lang":"en-US","frontmatter":{"title":"Plugin Store","icon":"plug","order":2,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/plugin.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Plugin Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Plugin Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/plugin.md","localizedDate":"August 16, 2024"}');export{s as comp,u as data}; diff --git a/assets/resource.html-D9Tzc1dy.js b/assets/resource.html-B-5sMHx4.js similarity index 96% rename from assets/resource.html-D9Tzc1dy.js rename to assets/resource.html-B-5sMHx4.js index c4649f55..a2e9ee19 100644 --- a/assets/resource.html-D9Tzc1dy.js +++ b/assets/resource.html-B-5sMHx4.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c as n,a}from"./app-vZ92a7EE.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data}; +import{_ as t,r as o,o as r,c as n,a}from"./app-Bs1PeMf0.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),n("div",null,[a(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/en/store/resource.html","title":"Resource Store","lang":"en-US","frontmatter":{"title":"Resource Store","icon":"box","order":1,"category":"extension","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"Resource Store"}],["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":"2024-08-16T18:24:25.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-16T18:24:25.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Resource Store\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-16T18:24:25.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1723829277000,"updatedTime":1723832665000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"en/store/resource.md","localizedDate":"August 16, 2024"}');export{l as comp,d as data}; diff --git a/assets/resource.html-KZpSHE8r.js b/assets/resource.html-w4v4-ls4.js similarity index 96% rename from assets/resource.html-KZpSHE8r.js rename to assets/resource.html-w4v4-ls4.js index ee28ae1c..730b6e7d 100644 --- a/assets/resource.html-KZpSHE8r.js +++ b/assets/resource.html-w4v4-ls4.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c as a,a as n}from"./app-vZ92a7EE.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["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":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data}; +import{_ as t,r as o,o as r,c as a,a as n}from"./app-Bs1PeMf0.js";const c={};function s(p,m){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",s],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/store/resource.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"资源商店"}],["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":"2024-08-01T04:23:56.000Z"}],["meta",{"property":"article:modified_time","content":"2024-08-01T04:23:56.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-08-01T04:23:56.000Z\\",\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1722486236000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data}; diff --git a/assets/rule.html-2Zh9pGrd.js b/assets/rule.html-ZuLAFHMl.js similarity index 97% rename from assets/rule.html-2Zh9pGrd.js rename to assets/rule.html-ZuLAFHMl.js index 9b88d2a8..b78e8b36 100644 --- a/assets/rule.html-2Zh9pGrd.js +++ b/assets/rule.html-ZuLAFHMl.js @@ -1 +1 @@ -import{_ as e,o as t,c as l,e as n}from"./app-vZ92a7EE.js";const a={},r=n('

    class Rule

    def __init__(self, handler: Optional[RuleHandler]) -> None

    ',3),o=[r];function s(i,d){return t(),l("div",null,o)}const p=e(a,[["render",s],["__file","rule.html.vue"]]),h=JSON.parse('{"path":"/en/dev/api/message/rule.html","title":"liteyuki.message.rule","lang":"en-US","frontmatter":{"title":"liteyuki.message.rule","order":1,"icon":"laptop-code","category":"API","description":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/rule.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/rule.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.rule"}],["meta",{"property":"og:description","content":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.rule\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Rule","slug":"class-rule","link":"#class-rule","children":[]},{"level":3,"title":"def __init__(self, handler: Optional[RuleHandler]) -> None","slug":"def-init-self-handler-optional-rulehandler-none","link":"#def-init-self-handler-optional-rulehandler-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.07,"words":20},"filePathRelative":"en/dev/api/message/rule.md","autoDesc":true}');export{p as comp,h as data}; +import{_ as e,o as t,c as l,e as n}from"./app-Bs1PeMf0.js";const a={},r=n('

    class Rule

    def __init__(self, handler: Optional[RuleHandler]) -> None

    ',3),o=[r];function s(i,d){return t(),l("div",null,o)}const p=e(a,[["render",s],["__file","rule.html.vue"]]),h=JSON.parse('{"path":"/en/dev/api/message/rule.html","title":"liteyuki.message.rule","lang":"en-US","frontmatter":{"title":"liteyuki.message.rule","order":1,"icon":"laptop-code","category":"API","description":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/rule.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/rule.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.rule"}],["meta",{"property":"og:description","content":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.rule\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Rule","slug":"class-rule","link":"#class-rule","children":[]},{"level":3,"title":"def __init__(self, handler: Optional[RuleHandler]) -> None","slug":"def-init-self-handler-optional-rulehandler-none","link":"#def-init-self-handler-optional-rulehandler-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.07,"words":20},"filePathRelative":"en/dev/api/message/rule.md","autoDesc":true}');export{p as comp,h as data}; diff --git a/assets/rule.html-ksHsK-dy.js b/assets/rule.html-zZdLdX_D.js similarity index 97% rename from assets/rule.html-ksHsK-dy.js rename to assets/rule.html-zZdLdX_D.js index d1e8ac69..4530de2f 100644 --- a/assets/rule.html-ksHsK-dy.js +++ b/assets/rule.html-zZdLdX_D.js @@ -1 +1 @@ -import{_ as e,o as t,c as l,e as n}from"./app-vZ92a7EE.js";const a={},r=n('

    class Rule

    def __init__(self, handler: Optional[RuleHandler]) -> None

    ',3),o=[r];function s(i,d){return t(),l("div",null,o)}const p=e(a,[["render",s],["__file","rule.html.vue"]]),h=JSON.parse('{"path":"/dev/api/message/rule.html","title":"liteyuki.message.rule","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.rule","order":1,"icon":"laptop-code","category":"API","description":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/rule.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/rule.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.rule"}],["meta",{"property":"og:description","content":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.rule\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Rule","slug":"class-rule","link":"#class-rule","children":[]},{"level":3,"title":"def __init__(self, handler: Optional[RuleHandler]) -> None","slug":"def-init-self-handler-optional-rulehandler-none","link":"#def-init-self-handler-optional-rulehandler-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.07,"words":20},"filePathRelative":"dev/api/message/rule.md","autoDesc":true}');export{p as comp,h as data}; +import{_ as e,o as t,c as l,e as n}from"./app-Bs1PeMf0.js";const a={},r=n('

    class Rule

    def __init__(self, handler: Optional[RuleHandler]) -> None

    ',3),o=[r];function s(i,d){return t(),l("div",null,o)}const p=e(a,[["render",s],["__file","rule.html.vue"]]),h=JSON.parse('{"path":"/dev/api/message/rule.html","title":"liteyuki.message.rule","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.rule","order":1,"icon":"laptop-code","category":"API","description":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/rule.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/rule.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.rule"}],["meta",{"property":"og:description","content":"class Rule def __init__(self, handler: Optional[RuleHandler]) -> None"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.rule\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[{"level":3,"title":"class Rule","slug":"class-rule","link":"#class-rule","children":[]},{"level":3,"title":"def __init__(self, handler: Optional[RuleHandler]) -> None","slug":"def-init-self-handler-optional-rulehandler-none","link":"#def-init-self-handler-optional-rulehandler-none","children":[]}],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.07,"words":20},"filePathRelative":"dev/api/message/rule.md","autoDesc":true}');export{p as comp,h as data}; diff --git a/assets/session.html-BRlqilAT.js b/assets/session.html-DdxIkF5o.js similarity index 95% rename from assets/session.html-BRlqilAT.js rename to assets/session.html-DdxIkF5o.js index 28dec139..51b869bd 100644 --- a/assets/session.html-BRlqilAT.js +++ b/assets/session.html-DdxIkF5o.js @@ -1 +1 @@ -import{_ as e,o as t,c as s}from"./app-vZ92a7EE.js";const o={};function n(a,i){return t(),s("div")}const l=e(o,[["render",n],["__file","session.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/message/session.html","title":"liteyuki.message.session","lang":"en-US","frontmatter":{"title":"liteyuki.message.session","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/session.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/session.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.session"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.session\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/message/session.md"}');export{l as comp,p as data}; +import{_ as e,o as t,c as s}from"./app-Bs1PeMf0.js";const o={};function n(a,i){return t(),s("div")}const l=e(o,[["render",n],["__file","session.html.vue"]]),p=JSON.parse('{"path":"/en/dev/api/message/session.html","title":"liteyuki.message.session","lang":"en-US","frontmatter":{"title":"liteyuki.message.session","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/session.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/session.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot"}],["meta",{"property":"og:title","content":"liteyuki.message.session"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.session\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"en/dev/api/message/session.md"}');export{l as comp,p as data}; diff --git a/assets/session.html-BQgzB68l.js b/assets/session.html-c_Rhlapx.js similarity index 95% rename from assets/session.html-BQgzB68l.js rename to assets/session.html-c_Rhlapx.js index 33369358..0e65c374 100644 --- a/assets/session.html-BQgzB68l.js +++ b/assets/session.html-c_Rhlapx.js @@ -1 +1 @@ -import{_ as e,o as t,c as s}from"./app-vZ92a7EE.js";const o={};function a(n,i){return t(),s("div")}const l=e(o,[["render",a],["__file","session.html.vue"]]),p=JSON.parse('{"path":"/dev/api/message/session.html","title":"liteyuki.message.session","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.session","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/session.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/session.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.session"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.session\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/message/session.md"}');export{l as comp,p as data}; +import{_ as e,o as t,c as s}from"./app-Bs1PeMf0.js";const o={};function a(n,i){return t(),s("div")}const l=e(o,[["render",a],["__file","session.html.vue"]]),p=JSON.parse('{"path":"/dev/api/message/session.html","title":"liteyuki.message.session","lang":"zh-CN","frontmatter":{"title":"liteyuki.message.session","order":1,"icon":"laptop-code","category":"API","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://vuepress-theme-hope-docs-demo.netlify.app/en/dev/api/message/session.html"}],["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/dev/api/message/session.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"liteyuki.message.session"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"liteyuki.message.session\\",\\"image\\":[\\"\\"],\\"dateModified\\":null,\\"author\\":[]}"]]},"headers":[],"git":{"createdTime":null,"updatedTime":null,"contributors":[]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"dev/api/message/session.md"}');export{l as comp,p as data}; diff --git a/assets/storage.html-CVHJw7IB.js b/assets/storage.html-BD-UMrDG.js similarity index 99% rename from assets/storage.html-CVHJw7IB.js rename to assets/storage.html-BD-UMrDG.js index d11d6c72..214441d1 100644 --- a/assets/storage.html-CVHJw7IB.js +++ b/assets/storage.html-BD-UMrDG.js @@ -1,4 +1,4 @@ -import{_ as e,o as a,c as n,e as t}from"./app-vZ92a7EE.js";const r={},s=t(`

    def run_subscriber_receive_funcs(channel_: str, data: Any) -> None

    运行订阅者接收函数

    Args:

    channel_: 频道
    +import{_ as e,o as a,c as n,e as t}from"./app-Bs1PeMf0.js";const r={},s=t(`

    def run_subscriber_receive_funcs(channel_: str, data: Any) -> None

    运行订阅者接收函数

    Args:

    channel_: 频道
     
     data: 数据
     

    def on_get(data: tuple[str, dict[str, Any]]) -> None

    def on_set(data: tuple[str, dict[str, Any]]) -> None

    def on_delete(data: tuple[str, dict[str, Any]]) -> None

    def on_get_all(data: tuple[str, dict[str, Any]]) -> None

    def on_publish(data: tuple[str, Any]) -> None

    def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC

    async def wrapper(data: Any) -> None

    class Subscriber

    def __init__(self) -> None

    def receive(self) -> Any

    def unsubscribe(self) -> None

    class KeyValueStore

    def __init__(self) -> None

    def set(self, key: str, value: Any) -> None

     设置键值对

    Args:

    key: 键
    diff --git a/assets/storage.html-DUwq2EYM.js b/assets/storage.html-C3Od2hbX.js
    similarity index 99%
    rename from assets/storage.html-DUwq2EYM.js
    rename to assets/storage.html-C3Od2hbX.js
    index a42031a0..fe03ad92 100644
    --- a/assets/storage.html-DUwq2EYM.js
    +++ b/assets/storage.html-C3Od2hbX.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as n,e as t}from"./app-vZ92a7EE.js";const r={},s=t(`

    def run_subscriber_receive_funcs(channel_: str, data: Any) -> None

    运行订阅者接收函数

    Args:

    channel_: 频道
    +import{_ as e,o as a,c as n,e as t}from"./app-Bs1PeMf0.js";const r={},s=t(`

    def run_subscriber_receive_funcs(channel_: str, data: Any) -> None

    运行订阅者接收函数

    Args:

    channel_: 频道
     
     data: 数据
     

    def on_get(data: tuple[str, dict[str, Any]]) -> None

    def on_set(data: tuple[str, dict[str, Any]]) -> None

    def on_delete(data: tuple[str, dict[str, Any]]) -> None

    def on_get_all(data: tuple[str, dict[str, Any]]) -> None

    def on_publish(data: tuple[str, Any]) -> None

    def decorator(func: ON_RECEIVE_FUNC) -> ON_RECEIVE_FUNC

    async def wrapper(data: Any) -> None

    class Subscriber

    def __init__(self) -> None

    def receive(self) -> Any

    def unsubscribe(self) -> None

    class KeyValueStore

    def __init__(self) -> None

    def set(self, key: str, value: Any) -> None

     设置键值对

    Args:

    key: 键
    diff --git a/assets/utils.html-CC1uBq2F.js b/assets/utils.html-DIGgwcLa.js
    similarity index 99%
    rename from assets/utils.html-CC1uBq2F.js
    rename to assets/utils.html-DIGgwcLa.js
    index 60ba4905..12e2a269 100644
    --- a/assets/utils.html-CC1uBq2F.js
    +++ b/assets/utils.html-DIGgwcLa.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as o,e as t}from"./app-vZ92a7EE.js";const l={},n=t(`

    def is_coroutine_callable(call: Callable[..., Any]) -> bool

    判断是否为协程可调用对象

    Args:

    call: 可调用对象
    +import{_ as e,o as a,c as o,e as t}from"./app-Bs1PeMf0.js";const l={},n=t(`

    def is_coroutine_callable(call: Callable[..., Any]) -> bool

    判断是否为协程可调用对象

    Args:

    call: 可调用对象
     

    Returns:

    bool: 是否为协程可调用对象
     

    def run_coroutine() -> None

    运行协程

    Args:

    coro:
     

    Returns:

    def path_to_module_name(path: Path) -> str

    转换路径为模块名

    Args:

    path: 路径a/b/c/d -> a.b.c.d
    diff --git a/assets/utils.html-Bc62FQnv.js b/assets/utils.html-kScX1Uhd.js
    similarity index 99%
    rename from assets/utils.html-Bc62FQnv.js
    rename to assets/utils.html-kScX1Uhd.js
    index ca0e9875..e700bdde 100644
    --- a/assets/utils.html-Bc62FQnv.js
    +++ b/assets/utils.html-kScX1Uhd.js
    @@ -1,4 +1,4 @@
    -import{_ as e,o as a,c as o,e as l}from"./app-vZ92a7EE.js";const t={},n=l(`

    def is_coroutine_callable(call: Callable[..., Any]) -> bool

    判断是否为协程可调用对象

    Args:

    call: 可调用对象
    +import{_ as e,o as a,c as o,e as l}from"./app-Bs1PeMf0.js";const t={},n=l(`

    def is_coroutine_callable(call: Callable[..., Any]) -> bool

    判断是否为协程可调用对象

    Args:

    call: 可调用对象
     

    Returns:

    bool: 是否为协程可调用对象
     

    def run_coroutine() -> None

    运行协程

    Args:

    coro:
     

    Returns:

    def path_to_module_name(path: Path) -> str

    转换路径为模块名

    Args:

    path: 路径a/b/c/d -> a.b.c.d
    diff --git a/deploy/config.html b/deploy/config.html
    index 9e72d17d..cbd0e6ad 100644
    --- a/deploy/config.html
    +++ b/deploy/config.html
    @@ -30,8 +30,8 @@
         
         配置 | LiteyukiBot 轻雪机器人
         
    -    
    -    
    +    
    +    
       
       
         
    跳至主要內容

    配置

    远野千束大约 2 分钟使用指南配置部署

    轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

    首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

    启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

    基础配置项

    nonebot:
    @@ -67,6 +67,6 @@
     
     ...
     

    提示

    如果要使用NoneBot和dotenv配置文件,请自行创建.env.{ENVIRONMENT},并在config.yml中添加nonebot.environment:{ENVIRONMENT}字段

    与NoneBot对接的OneBot实现端配置

    生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

    字段参考值说明
    协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
    地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
    AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

    其他

    • 要使用其他通信方式请访问OneBot Adapteropen in new window获取详细信息
    • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器
    - + diff --git a/deploy/fandq.html b/deploy/fandq.html index 9316b392..378ebbb9 100644 --- a/deploy/fandq.html +++ b/deploy/fandq.html @@ -30,11 +30,11 @@ 答疑 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    答疑

    远野千束大约 2 分钟使用指南配置部署

    常见问题

    • 设备上Python环境太乱了,pip和python不对应怎么办?

      • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
    • 为什么我启动后机器人没有反应?

      • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
      • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
    • 更新轻雪失败,报错InvalidGitRepositoryError

      • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
    • 怎么登录聊天平台,例如QQ?

      • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
    • Playwright安装失败

      • 输入playwright install安装浏览器
    • 有的插件安装后报错无法启动

      • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
    • 其他问题

      加入QQ群775840726open in new window

    推荐方案(QQ)

    1. Lagrange.OneBotopen in new window,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
    2. LLOneBotopen in new window,NTQQ的OneBot插件,需要安装NTQQ
    3. OpenShamrockopen in new window,基于Lsposed的OneBot11实现
    4. TRSS-Yunzaiopen in new window,基于node.js,可使用ws-plugin进行通信
    5. go-cqhttpopen in new windowgo语言实现的OneBot11实现端,目前可用性较低
    6. Gensokyoopen in new window,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
    7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

    推荐方案(Minecraft)

    1. MinecraftOneBotopen in new window,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

    使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

    鸣谢

    - + diff --git a/deploy/index.html b/deploy/index.html index e54f4163..7473a284 100644 --- a/deploy/index.html +++ b/deploy/index.html @@ -30,11 +30,11 @@ 项目部署 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/deploy/install.html b/deploy/install.html index 0ebe4900..0fb5a8be 100644 --- a/deploy/install.html +++ b/deploy/install.html @@ -30,8 +30,8 @@ 安装 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    安装

    远野千束大约 2 分钟使用指南安装

    开始安装

    常规部署

    1. 安装 Gitopen in new windowPython3.10+open in new window 环境
    # 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项
    @@ -43,6 +43,6 @@ pip install # 启动Bot
     python main.py
     

    提示

    推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv .venv来创建虚拟环境,然后使用.venv\Scripts\activate来激活虚拟环境(Linux下使用source .venv/bin/activate激活)

    使用Docker构建镜像部署

    1. 安装 Dockeropen in new window
    2. 克隆项目 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
    3. 进入轻雪目录 cd LiteyukiBot
    4. 构建镜像 docker build -t liteyukibot .
    5. 启动容器 docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

    提示

    Windows请使用项目绝对目录/path/to/LiteyukiBot代替$(pwd)
    若你修改了端口号请将20216:20216中的20216替换为你的端口号

    使用TRSS Scripts部署

    TRSS_Liteyuki轻雪机器人管理脚本open in new window,该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用Arch Linux

    设备要求

    • Windows系统版本最低Windows10+/Windows Server 2019+
    • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
    • CPU: 至少1vCPU
    • 内存: Bot无其他插件会占用300~500MB,包括chromiumnode等进程,其他插件占用视具体插件而定,建议1GB以上
    • 硬盘: 至少1GB空间

    注意

    如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能

    其他问题请移步至答疑

    - + diff --git a/dev/api/bot/index.html b/dev/api/bot/index.html index 76dd2aaa..ee3f2f4e 100644 --- a/dev/api/bot/index.html +++ b/dev/api/bot/index.html @@ -30,8 +30,8 @@ liteyuki.bot | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.bot

    远野千束大约 1 分钟API

    - + diff --git a/dev/api/bot/lifespan.html b/dev/api/bot/lifespan.html index ecf5067f..0f0a011c 100644 --- a/dev/api/bot/lifespan.html +++ b/dev/api/bot/lifespan.html @@ -30,8 +30,8 @@ liteyuki.bot.lifespan | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.bot.lifespan

    远野千束小于 1 分钟API

    - + diff --git a/dev/api/comm/channel.html b/dev/api/comm/channel.html index ddf35263..c8a8efd8 100644 --- a/dev/api/comm/channel.html +++ b/dev/api/comm/channel.html @@ -30,8 +30,8 @@ liteyuki.comm.channel | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.comm.channel

    远野千束大约 1 分钟API

    - + diff --git a/dev/api/comm/event.html b/dev/api/comm/event.html index 32012c63..04280c0d 100644 --- a/dev/api/comm/event.html +++ b/dev/api/comm/event.html @@ -30,11 +30,11 @@ liteyuki.comm.event | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/comm/index.html b/dev/api/comm/index.html index 50147ee6..476fecc0 100644 --- a/dev/api/comm/index.html +++ b/dev/api/comm/index.html @@ -30,11 +30,11 @@ liteyuki.comm | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/comm/storage.html b/dev/api/comm/storage.html index 2d110a4d..4758067e 100644 --- a/dev/api/comm/storage.html +++ b/dev/api/comm/storage.html @@ -30,8 +30,8 @@ liteyuki.comm.storage | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.comm.storage

    远野千束大约 1 分钟API

    - + diff --git a/dev/api/config.html b/dev/api/config.html index c20e65f7..299332db 100644 --- a/dev/api/config.html +++ b/dev/api/config.html @@ -30,13 +30,13 @@ liteyuki.config | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.config

    远野千束小于 1 分钟API

    def flat_config(config: dict[str, Any]) -> dict[str, Any]

    扁平化配置文件

    {a:{b:{c:1}}} ->

    Args:

    config: 配置项目
     

    Returns:

    扁平化后的配置文件,但也包含原有的键值对
     

    def load_from_yaml(file: str) -> dict[str, Any]

    Load config from yaml file

    def load_from_json(file: str) -> dict[str, Any]

    Load config from json file

    def load_from_toml(file: str) -> dict[str, Any]

    Load config from toml file

    def load_from_files() -> dict[str, Any]

    从指定文件加载配置项,会自动识别文件格式

    默认执行扁平化选项

    def load_configs_from_dirs() -> dict[str, Any]

    从目录下加载配置文件,不递归

    按照读取文件的优先级反向覆盖

    默认执行扁平化选项

    def load_config_in_default(no_waring: bool) -> dict[str, Any]

    从一个标准的轻雪项目加载配置文件

    项目目录下的config.*和config目录下的所有配置文件

    项目目录下的配置文件优先

    class SatoriNodeConfig(BaseModel)

    class SatoriConfig(BaseModel)

    class BasicConfig(BaseModel)

    var new_config = copy.deepcopy(config)

    var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))

    var config = json.load(open(file, 'r', encoding='utf-8'))

    var config = toml.load(open(file, 'r', encoding='utf-8'))

    var config = {}

    var config = {}

    var config = load_configs_from_dirs('config', no_waring=no_waring)

    - + diff --git a/dev/api/core/index.html b/dev/api/core/index.html index 2f8ec993..e4c15af7 100644 --- a/dev/api/core/index.html +++ b/dev/api/core/index.html @@ -30,11 +30,11 @@ liteyuki.core | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/core/manager.html b/dev/api/core/manager.html index be72b3f5..601924e3 100644 --- a/dev/api/core/manager.html +++ b/dev/api/core/manager.html @@ -30,8 +30,8 @@ liteyuki.core.manager | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.core.manager

    远野千束小于 1 分钟API

    - + diff --git a/dev/api/dev/index.html b/dev/api/dev/index.html index 0f22983a..d73de1e7 100644 --- a/dev/api/dev/index.html +++ b/dev/api/dev/index.html @@ -30,11 +30,11 @@ liteyuki.dev | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/dev/observer.html b/dev/api/dev/observer.html index 62e30403..2772a480 100644 --- a/dev/api/dev/observer.html +++ b/dev/api/dev/observer.html @@ -30,8 +30,8 @@ liteyuki.dev.observer | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.dev.observer

    远野千束小于 1 分钟API

    - + diff --git a/dev/api/dev/plugin.html b/dev/api/dev/plugin.html index 4605c2b4..6f0e2286 100644 --- a/dev/api/dev/plugin.html +++ b/dev/api/dev/plugin.html @@ -30,12 +30,12 @@ liteyuki.dev.plugin | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/exception.html b/dev/api/exception.html index 264cd764..d2b6b276 100644 --- a/dev/api/exception.html +++ b/dev/api/exception.html @@ -30,11 +30,11 @@ liteyuki.exception | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/index.html b/dev/api/index.html index 1977573b..9bb73b5f 100644 --- a/dev/api/index.html +++ b/dev/api/index.html @@ -30,11 +30,11 @@ liteyuki | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/log.html b/dev/api/log.html index 96e83a8c..fd3c2e98 100644 --- a/dev/api/log.html +++ b/dev/api/log.html @@ -30,11 +30,11 @@ liteyuki.log | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/message/event.html b/dev/api/message/event.html index b5ba514f..492ec958 100644 --- a/dev/api/message/event.html +++ b/dev/api/message/event.html @@ -28,25 +28,33 @@ document.documentElement.setAttribute("data-theme", "dark"); } - liteyuki.message.event | LiteyukiBot 轻雪机器人 + liteyuki.message.event | LiteyukiBot 轻雪机器人 - - + + -
    跳至主要內容

    liteyuki.message.event

    远野千束小于 1 分钟API

    class Event

    def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None

     事件

    Args:

    type: 类型
    +    
    跳至主要內容

    liteyuki.message.event

    远野千束小于 1 分钟API

    class MessageEvent

    def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None

     轻雪抽象消息事件

    Args:

    bot_id: 机器人ID
     
    -data: 数据
    +message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
     
    -bot_id: 机器人ID
    +raw_message: 原始消息(通常为纯文本的格式)
     
    -session_id: 会话ID
    +message_type: 消息类型(private, group, other)
     
    -session_type: 会话类型
     
    -receive_channel: 接收频道
    +
    +session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
    +
    +session_type: 会话类型(private, group)
    +
    +receive_channel: 接收频道(用于回复消息)
    +
    +
    +
    +data: 附加数据
     

    def reply(self, message: str | dict[str, Any]) -> None

     回复消息

    Args:

    message:
    -

    Returns:

    var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

    - +

    Returns:

    var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

    var data = {}

    + diff --git a/dev/api/message/index.html b/dev/api/message/index.html index 7ea24893..e6c12302 100644 --- a/dev/api/message/index.html +++ b/dev/api/message/index.html @@ -30,11 +30,11 @@ liteyuki.message | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/message/matcher.html b/dev/api/message/matcher.html index e27a276a..82d7a8a1 100644 --- a/dev/api/message/matcher.html +++ b/dev/api/message/matcher.html @@ -30,8 +30,8 @@ liteyuki.message.matcher | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/message/on.html b/dev/api/message/on.html index db17953a..769b4fca 100644 --- a/dev/api/message/on.html +++ b/dev/api/message/on.html @@ -30,11 +30,11 @@ liteyuki.message.on | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/message/rule.html b/dev/api/message/rule.html index f4132261..4760e3e9 100644 --- a/dev/api/message/rule.html +++ b/dev/api/message/rule.html @@ -30,11 +30,11 @@ liteyuki.message.rule | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/message/session.html b/dev/api/message/session.html index f41cdd3d..d159661f 100644 --- a/dev/api/message/session.html +++ b/dev/api/message/session.html @@ -30,11 +30,11 @@ liteyuki.message.session | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/mkdoc.html b/dev/api/mkdoc.html index 757e7ab2..1088de26 100644 --- a/dev/api/mkdoc.html +++ b/dev/api/mkdoc.html @@ -30,8 +30,8 @@ liteyuki.mkdoc | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.mkdoc

    远野千束大约 2 分钟API

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
    @@ -54,6 +54,6 @@ with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/
     
     ignored_paths: 忽略的路径
     

    class DefType(Enum)

    attr FUNCTION: 'function'

    attr METHOD: 'method'

    attr STATIC_METHOD: 'staticmethod'

    attr CLASS_METHOD: 'classmethod'

    attr PROPERTY: 'property'

    class FunctionInfo(BaseModel)

    class AttributeInfo(BaseModel)

    class ClassInfo(BaseModel)

    class ModuleInfo(BaseModel)

    var NO_TYPE_ANY = 'Any'

    var NO_TYPE_HINT = 'NoTypeHint'

    var FUNCTION = 'function'

    var METHOD = 'method'

    var STATIC_METHOD = 'staticmethod'

    var CLASS_METHOD = 'classmethod'

    var PROPERTY = 'property'

    var file_list = []

    var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')

    var module_docstring = ast.get_docstring(tree)

    var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')

    var content = ''

    var front_matter = '---\n' + '\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\n---\n\n'

    var file_list = get_file_list(module_folder)

    var replace_data = {'__init__': 'README', '.py': '.md'}

    var file_content = file.read()

    var tree = ast.parse(file_content)

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]

    var ignored_paths = []

    var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)

    var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path

    var abs_md_path = os.path.join(output_dir, rel_md_path)

    var module_info = get_module_info_normal(pyfile_path)

    var md_content = generate_markdown(module_info, front_matter)

    var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''

    var rel_md_path = rel_md_path.replace(rk, rv)

    var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}

    var front_matter = {'title': module_info.module_path.replace('_', '\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}

    var function_docstring = ast.get_docstring(node)

    var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))

    var class_docstring = ast.get_docstring(node)

    var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]

    var first_arg = node.args.args[0]

    var method_docstring = ast.get_docstring(class_node)

    var def_type = DefType.METHOD

    var def_type = DefType.STATIC_METHOD

    var attr_type = NO_TYPE_HINT

    var def_type = DefType.CLASS_METHOD

    var attr_type = ast.unparse(node.value.annotation)

    var def_type = DefType.PROPERTY

    - + diff --git a/dev/api/plugin/index.html b/dev/api/plugin/index.html index 3cb8a991..a52ca657 100644 --- a/dev/api/plugin/index.html +++ b/dev/api/plugin/index.html @@ -30,12 +30,12 @@ liteyuki.plugin | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/plugin/load.html b/dev/api/plugin/load.html index e5cbb16b..bf4d8acd 100644 --- a/dev/api/plugin/load.html +++ b/dev/api/plugin/load.html @@ -30,8 +30,8 @@ liteyuki.plugin.load | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.plugin.load

    远野千束小于 1 分钟API

    - + diff --git a/dev/api/plugin/manager.html b/dev/api/plugin/manager.html index f22e7513..fe702549 100644 --- a/dev/api/plugin/manager.html +++ b/dev/api/plugin/manager.html @@ -30,11 +30,11 @@ liteyuki.plugin.manager | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/dev/api/plugin/model.html b/dev/api/plugin/model.html index 259f53d5..4881afd0 100644 --- a/dev/api/plugin/model.html +++ b/dev/api/plugin/model.html @@ -30,8 +30,8 @@ liteyuki.plugin.model | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.plugin.model

    远野千束小于 1 分钟API

    - + diff --git a/dev/api/utils.html b/dev/api/utils.html index ee3cff1e..9d3ce966 100644 --- a/dev/api/utils.html +++ b/dev/api/utils.html @@ -30,8 +30,8 @@ liteyuki.utils | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    liteyuki.utils

    远野千束小于 1 分钟API

    - + diff --git a/dev/dev_comm.html b/dev/dev_comm.html index 9d194d95..b5dc9933 100644 --- a/dev/dev_comm.html +++ b/dev/dev_comm.html @@ -30,8 +30,8 @@ 进程通信 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    进程通信

    远野千束大约 3 分钟开发

    通道通信

    简介

    轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

    例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

    示例

    通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

    • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
    • 主进程中通过get_channel函数获取通道对象
    • 子进程中导入单例active_channelpassive_channel即可

    在轻雪插件中(主进程中)

    import asyncio
    @@ -81,6 +81,6 @@ driver = get_driver.set("key", "value")  # 设置共享内存
     value = shared_memory.get("key")  # 获取共享内存
     

    源代码:liteyuki/comm/storage.pyopen in new window

    - + diff --git a/dev/dev_lyfunc.html b/dev/dev_lyfunc.html index 401b99f6..260212cc 100644 --- a/dev/dev_lyfunc.html +++ b/dev/dev_lyfunc.html @@ -30,8 +30,8 @@ 轻雪函数 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪函数

    远野千束大约 2 分钟开发

    轻雪函数

    轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

    函数文件

    函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

    # 在发信器输出"hello world"
    @@ -58,6 +58,6 @@ api friend_poke user_idnohup function poke
     await
     

    API

    理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

    Onebot v11 API文档open in new window

    结束关键字

    由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

    await 异步任务结束关键字,用于结束当前已完成function的执行

    注意

    但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

    提示

    编写轻雪函数推荐你使用VS Code插件Liteyuki Functionopen in new window实现语法高亮

    - + diff --git a/dev/dev_lyplugin.html b/dev/dev_lyplugin.html index e4b9a298..c8d1b8cf 100644 --- a/dev/dev_lyplugin.html +++ b/dev/dev_lyplugin.html @@ -30,8 +30,8 @@ 轻雪插件开发 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪插件开发

    远野千束大约 2 分钟开发

    简介

    轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

    开始

    创建插件

    一个.py文件或一个包含__init__.py的文件夹即可被识别为插件

    首先创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

    __init__.py

    from liteyuki.plugin import PluginMetadata, PluginType
    @@ -69,6 +69,6 @@ exclude_extensions = ("watchdog_plugin")
     

    然后运行python main.py即可启动插件

    启用插件后,我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

    - + diff --git a/dev/dev_resource_pack.html b/dev/dev_resource_pack.html index a049151f..11186408 100644 --- a/dev/dev_resource_pack.html +++ b/dev/dev_resource_pack.html @@ -30,8 +30,8 @@ 资源包开发 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    资源包开发

    远野千束大约 2 分钟开发

    简介

    资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

    • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
    • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
    • 部分内容制作需要一点点前端基础,例如htmlcss
    • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
    • 欢迎各位投稿资源包到轻雪资源商店

    请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
    @@ -49,6 +49,6 @@ resources
     # 你可以自定义一些信息,但请保证以上三个字段
     ...
     
    • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
    • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

    提示

    资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

    - + diff --git a/dev/index.html b/dev/index.html index 31659e91..1b5e245c 100644 --- a/dev/index.html +++ b/dev/index.html @@ -30,11 +30,11 @@ 开发及贡献 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/en/deploy/config.html b/en/deploy/config.html index c5cb6228..dcaf3988 100644 --- a/en/deploy/config.html +++ b/en/deploy/config.html @@ -30,8 +30,8 @@ Configuration | LiteyukiBot - - + +
    Skip to main content

    Configuration

    SnowyKamiAbout 2 mindeploymentConfiguration

    轻雪支持yamljsontoml作为配置文件,取决于你个人的喜好

    首次运行后生成config.ymlconfig目录,你可修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

    启动时会加载项目目录下config.yml/yaml/json/tomlconfig目录下的所有配置文件,你可在config目录下创建多个配置文件,轻雪会自动合并这些配置文件

    基础配置项

    nonebot:
    @@ -67,6 +67,6 @@
     
     ...
     

    Tips

    如果要使用NoneBot和dotenv配置文件,请自行创建.env.{ENVIRONMENT},并在config.yml中添加nonebot.environment:{ENVIRONMENT}字段

    与NoneBot对接的OneBot实现端配置

    生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

    字段参考值说明
    协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
    地址ws://127.0.0.1:20216/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
    AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

    其他

    • 要使用其他通信方式请访问OneBot Adapteropen in new window获取详细信息
    • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器
    - + diff --git a/en/deploy/fandq.html b/en/deploy/fandq.html index cc4f1603..18d6d280 100644 --- a/en/deploy/fandq.html +++ b/en/deploy/fandq.html @@ -30,11 +30,11 @@ FAQ | LiteyukiBot - - + +
    Skip to main content

    FAQ

    SnowyKamiAbout 2 mindeploymentFAQ

    常见问题

    • 设备上Python环境太乱了,pip和python不对应怎么办?

      • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
    • 为什么我启动后机器人没有反应?

      • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
      • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
    • 更新轻雪失败,报错InvalidGitRepositoryError

      • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
    • 怎么登录聊天平台,例如QQ?

      • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
    • Playwright安装失败

      • 输入playwright install安装浏览器
    • 有的插件安装后报错无法启动

      • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
    • 其他问题

      加入QQ群775840726open in new window

    推荐方案(QQ)

    1. Lagrange.OneBotopen in new window,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
    2. LLOneBotopen in new window,NTQQ的OneBot插件,需要安装NTQQ
    3. OpenShamrockopen in new window,基于Lsposed的OneBot11实现
    4. TRSS-Yunzaiopen in new window,基于node.js,可使用ws-plugin进行通信
    5. go-cqhttpopen in new windowgo语言实现的OneBot11实现端,目前可用性较低
    6. Gensokyoopen in new window,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
    7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

    推荐方案(Minecraft)

    1. MinecraftOneBotopen in new window,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

    使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

    鸣谢

    - + diff --git a/en/deploy/index.html b/en/deploy/index.html index d1b114b5..29a0fbbe 100644 --- a/en/deploy/index.html +++ b/en/deploy/index.html @@ -30,11 +30,11 @@ Deploy | LiteyukiBot - - + + - + diff --git a/en/deploy/install.html b/en/deploy/install.html index 8b84cd49..1b5f3d49 100644 --- a/en/deploy/install.html +++ b/en/deploy/install.html @@ -30,8 +30,8 @@ Installation | LiteyukiBot - - + +
    Skip to main content

    Installation

    SnowyKamiAbout 1 mindeployment安装

    Installation

    Conventional deployment

    1. Install Gitopen in new window and Python3.10+open in new window environment
    # Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git
    @@ -43,6 +43,6 @@ pip install # start bot
     python main.py
     

    Tips

    Recommended to use venv to run Liteyuki to avoid dependency conflicts, you can use python -m venv .venv to create a virtual environment, and then use .venv\Scripts\activate to activate the virtual environment (use source .venv/bin/activate to activate on Linux)

    Use docker

    1. Install Dockeropen in new window
    2. Clone project repo git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1
    3. change directory cd LiteyukiBot
    4. build image with docker build -t liteyukibot .
    5. start container docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot

    Tips

    For Windows, please use the absolute project directory /path/to/LiteyukiBot instead of $(pwd)

    If you have changed the port number, replace 20216 in 20216:20216 with your port number

    Use TRSS Scripts

    TRSS_Liteyuki LiteyukiBot manage scriptopen in new window, This feature is supported by TRSS and is not an official feature of LiteyukiBot. It is recommended to use Arch Linux.

    Device requirements

    • Minimum Windows system version: Windows 10+ / Windows Server 2019+
    • Linux systems need to support Python 3.10+, with Ubuntu 20.04+ recommended
    • CPU: 1 vCPU and more(Bot is multi processes, the more cores, the better the performance)
    • Memory: Without other plugins, the Bot will occupy 300~500MB, including processes like chromium and node. The memory occupied by other plugins depends on the specific plugins, and it is recommended to have more than 1GB.
    • Storage: At least 1GB of space is required.

    Warning

    If there are multiple environments on the device, please use path/to/python -m pip install -r requirements.txt to install dependencies, where path/to/python is the path to your Python executable.

    Warning

    The update feature of Liteyuki depends on Git. If you have not installed Git and directly download the source code to run, you will not be able to use the update feature.

    For other issues, please go to Q&A

    - + diff --git a/en/dev/api/bot/index.html b/en/dev/api/bot/index.html index 9614a5b8..08a02ce2 100644 --- a/en/dev/api/bot/index.html +++ b/en/dev/api/bot/index.html @@ -30,8 +30,8 @@ liteyuki.bot | LiteyukiBot - - + +
    Skip to main content

    liteyuki.bot

    SnowyKamiAbout 1 minAPI

    - + diff --git a/en/dev/api/bot/lifespan.html b/en/dev/api/bot/lifespan.html index 66bda04d..8f5ff130 100644 --- a/en/dev/api/bot/lifespan.html +++ b/en/dev/api/bot/lifespan.html @@ -30,8 +30,8 @@ liteyuki.bot.lifespan | LiteyukiBot - - + +
    Skip to main content

    liteyuki.bot.lifespan

    SnowyKamiLess than 1 minuteAPI

    - + diff --git a/en/dev/api/comm/channel.html b/en/dev/api/comm/channel.html index 252ac559..fa551d26 100644 --- a/en/dev/api/comm/channel.html +++ b/en/dev/api/comm/channel.html @@ -30,8 +30,8 @@ liteyuki.comm.channel | LiteyukiBot - - + +
    Skip to main content

    liteyuki.comm.channel

    SnowyKamiAbout 1 minAPI

    - + diff --git a/en/dev/api/comm/event.html b/en/dev/api/comm/event.html index efcdab90..c28f04da 100644 --- a/en/dev/api/comm/event.html +++ b/en/dev/api/comm/event.html @@ -30,11 +30,11 @@ liteyuki.comm.event | LiteyukiBot - - + + - + diff --git a/en/dev/api/comm/index.html b/en/dev/api/comm/index.html index bee9b3ac..48282f87 100644 --- a/en/dev/api/comm/index.html +++ b/en/dev/api/comm/index.html @@ -30,11 +30,11 @@ liteyuki.comm | LiteyukiBot - - + + - + diff --git a/en/dev/api/comm/storage.html b/en/dev/api/comm/storage.html index 77901317..da44e447 100644 --- a/en/dev/api/comm/storage.html +++ b/en/dev/api/comm/storage.html @@ -30,8 +30,8 @@ liteyuki.comm.storage | LiteyukiBot - - + +
    Skip to main content

    liteyuki.comm.storage

    SnowyKamiAbout 1 minAPI

    - + diff --git a/en/dev/api/config.html b/en/dev/api/config.html index 6c47abce..27901cad 100644 --- a/en/dev/api/config.html +++ b/en/dev/api/config.html @@ -30,13 +30,13 @@ liteyuki.config | LiteyukiBot - - + +
    Skip to main content

    liteyuki.config

    SnowyKamiLess than 1 minuteAPI

    def flat_config(config: dict[str, Any]) -> dict[str, Any]

    扁平化配置文件

    {a:{b:{c:1}}} ->

    Args:

    config: 配置项目
     

    Returns:

    扁平化后的配置文件,但也包含原有的键值对
     

    def load_from_yaml(file: str) -> dict[str, Any]

    Load config from yaml file

    def load_from_json(file: str) -> dict[str, Any]

    Load config from json file

    def load_from_toml(file: str) -> dict[str, Any]

    Load config from toml file

    def load_from_files() -> dict[str, Any]

    从指定文件加载配置项,会自动识别文件格式

    默认执行扁平化选项

    def load_configs_from_dirs() -> dict[str, Any]

    从目录下加载配置文件,不递归

    按照读取文件的优先级反向覆盖

    默认执行扁平化选项

    def load_config_in_default(no_waring: bool) -> dict[str, Any]

    从一个标准的轻雪项目加载配置文件

    项目目录下的config.*和config目录下的所有配置文件

    项目目录下的配置文件优先

    class SatoriNodeConfig(BaseModel)

    class SatoriConfig(BaseModel)

    class BasicConfig(BaseModel)

    var new_config = copy.deepcopy(config)

    var config = yaml.safe_load(open(file, 'r', encoding='utf-8'))

    var config = json.load(open(file, 'r', encoding='utf-8'))

    var config = toml.load(open(file, 'r', encoding='utf-8'))

    var config = {}

    var config = {}

    var config = load_configs_from_dirs('config', no_waring=no_waring)

    - + diff --git a/en/dev/api/core/index.html b/en/dev/api/core/index.html index 39286237..b4af857c 100644 --- a/en/dev/api/core/index.html +++ b/en/dev/api/core/index.html @@ -30,11 +30,11 @@ liteyuki.core | LiteyukiBot - - + + - + diff --git a/en/dev/api/core/manager.html b/en/dev/api/core/manager.html index 10f484fe..4c7a5ae0 100644 --- a/en/dev/api/core/manager.html +++ b/en/dev/api/core/manager.html @@ -30,8 +30,8 @@ liteyuki.core.manager | LiteyukiBot - - + +
    Skip to main content

    liteyuki.core.manager

    SnowyKamiLess than 1 minuteAPI

    - + diff --git a/en/dev/api/dev/index.html b/en/dev/api/dev/index.html index 7e81cb7e..d9fc6a8a 100644 --- a/en/dev/api/dev/index.html +++ b/en/dev/api/dev/index.html @@ -30,11 +30,11 @@ liteyuki.dev | LiteyukiBot - - + + - + diff --git a/en/dev/api/dev/observer.html b/en/dev/api/dev/observer.html index 64abc488..b891f3f0 100644 --- a/en/dev/api/dev/observer.html +++ b/en/dev/api/dev/observer.html @@ -30,8 +30,8 @@ liteyuki.dev.observer | LiteyukiBot - - + +
    Skip to main content

    liteyuki.dev.observer

    SnowyKamiLess than 1 minuteAPI

    - + diff --git a/en/dev/api/dev/plugin.html b/en/dev/api/dev/plugin.html index 88ede5d9..3678b333 100644 --- a/en/dev/api/dev/plugin.html +++ b/en/dev/api/dev/plugin.html @@ -30,12 +30,12 @@ liteyuki.dev.plugin | LiteyukiBot - - + + - + diff --git a/en/dev/api/exception.html b/en/dev/api/exception.html index 424037cf..967f7761 100644 --- a/en/dev/api/exception.html +++ b/en/dev/api/exception.html @@ -30,11 +30,11 @@ liteyuki.exception | LiteyukiBot - - + + - + diff --git a/en/dev/api/index.html b/en/dev/api/index.html index 611b44ac..333d5071 100644 --- a/en/dev/api/index.html +++ b/en/dev/api/index.html @@ -30,11 +30,11 @@ liteyuki | LiteyukiBot - - + + - + diff --git a/en/dev/api/log.html b/en/dev/api/log.html index 2aefd469..2696fd0a 100644 --- a/en/dev/api/log.html +++ b/en/dev/api/log.html @@ -30,11 +30,11 @@ liteyuki.log | LiteyukiBot - - + + - + diff --git a/en/dev/api/message/event.html b/en/dev/api/message/event.html index fa0cb98d..fe956e46 100644 --- a/en/dev/api/message/event.html +++ b/en/dev/api/message/event.html @@ -28,25 +28,33 @@ document.documentElement.setAttribute("data-theme", "dark"); } - liteyuki.message.event | LiteyukiBot + liteyuki.message.event | LiteyukiBot - - + + -
    Skip to main content

    liteyuki.message.event

    SnowyKamiLess than 1 minuteAPI

    class Event

    def __init__(self, type: str, data: dict[str, Any], bot_id: str, session_id: str, session_type: str, receive_channel: str) -> None

     事件

    Args:

    type: 类型
    +    
    Skip to main content

    liteyuki.message.event

    SnowyKamiLess than 1 minuteAPI

    class MessageEvent

    def __init__(self, bot_id: str, message: list[dict[str, Any]] | str, message_type: str, raw_message: str, session_id: str, session_type: str, receive_channel: str, data: Optional[dict[str, Any]]) -> None

     轻雪抽象消息事件

    Args:

    bot_id: 机器人ID
     
    -data: 数据
    +message: 消息,消息段数组[{type: str, data: dict[str, Any]}]
     
    -bot_id: 机器人ID
    +raw_message: 原始消息(通常为纯文本的格式)
     
    -session_id: 会话ID
    +message_type: 消息类型(private, group, other)
     
    -session_type: 会话类型
     
    -receive_channel: 接收频道
    +
    +session_id: 会话ID(私聊通常为用户ID,群聊通常为群ID)
    +
    +session_type: 会话类型(private, group)
    +
    +receive_channel: 接收频道(用于回复消息)
    +
    +
    +
    +data: 附加数据
     

    def reply(self, message: str | dict[str, Any]) -> None

     回复消息

    Args:

    message:
    -

    Returns:

    var to_nonebot_event = Event(type=self.session_type, data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

    - +

    Returns:

    var reply_event = MessageEvent(message_type=self.session_type, message=message, raw_message='', data={'message': message}, bot_id=self.bot_id, session_id=self.session_id, session_type=self.session_type, receive_channel='_')

    var data = {}

    + diff --git a/en/dev/api/message/index.html b/en/dev/api/message/index.html index ba98967d..603a22be 100644 --- a/en/dev/api/message/index.html +++ b/en/dev/api/message/index.html @@ -30,11 +30,11 @@ liteyuki.message | LiteyukiBot - - + + - + diff --git a/en/dev/api/message/matcher.html b/en/dev/api/message/matcher.html index 3b75ced5..b26ede5e 100644 --- a/en/dev/api/message/matcher.html +++ b/en/dev/api/message/matcher.html @@ -30,8 +30,8 @@ liteyuki.message.matcher | LiteyukiBot - - + + - + diff --git a/en/dev/api/message/on.html b/en/dev/api/message/on.html index 963a9158..ff336c94 100644 --- a/en/dev/api/message/on.html +++ b/en/dev/api/message/on.html @@ -30,11 +30,11 @@ liteyuki.message.on | LiteyukiBot - - + + - + diff --git a/en/dev/api/message/rule.html b/en/dev/api/message/rule.html index f7753cc5..2a194079 100644 --- a/en/dev/api/message/rule.html +++ b/en/dev/api/message/rule.html @@ -30,11 +30,11 @@ liteyuki.message.rule | LiteyukiBot - - + + - + diff --git a/en/dev/api/message/session.html b/en/dev/api/message/session.html index d2ec4380..36d41d40 100644 --- a/en/dev/api/message/session.html +++ b/en/dev/api/message/session.html @@ -30,11 +30,11 @@ liteyuki.message.session | LiteyukiBot - - + + - + diff --git a/en/dev/api/mkdoc.html b/en/dev/api/mkdoc.html index 44abd407..9bc7c8b4 100644 --- a/en/dev/api/mkdoc.html +++ b/en/dev/api/mkdoc.html @@ -30,8 +30,8 @@ liteyuki.mkdoc | LiteyukiBot - - + +
    Skip to main content

    liteyuki.mkdoc

    SnowyKamiAbout 2 minAPI

    def get_relative_path(base_path: str, target_path: str) -> str

    获取相对路径

    Args:

    base_path: 基础路径
    @@ -54,6 +54,6 @@ with_top: 是否包含顶层文件夹 False时例如docs/api/module_a, docs/api/
     
     ignored_paths: 忽略的路径
     

    class DefType(Enum)

    attr FUNCTION: 'function'

    attr METHOD: 'method'

    attr STATIC_METHOD: 'staticmethod'

    attr CLASS_METHOD: 'classmethod'

    attr PROPERTY: 'property'

    class FunctionInfo(BaseModel)

    class AttributeInfo(BaseModel)

    class ClassInfo(BaseModel)

    class ModuleInfo(BaseModel)

    var NO_TYPE_ANY = 'Any'

    var NO_TYPE_HINT = 'NoTypeHint'

    var FUNCTION = 'function'

    var METHOD = 'method'

    var STATIC_METHOD = 'staticmethod'

    var CLASS_METHOD = 'classmethod'

    var PROPERTY = 'property'

    var file_list = []

    var dot_sep_module_path = file_path.replace(os.sep, '.').replace('.py', '').replace('.pyi', '')

    var module_docstring = ast.get_docstring(tree)

    var module_info = ModuleInfo(module_path=dot_sep_module_path, functions=[], classes=[], attributes=[], docstring=module_docstring if module_docstring else '')

    var content = ''

    var front_matter = '---\n' + '\n'.join([f'{k}: {v}' for (k, v) in front_matter.items()]) + '\n---\n\n'

    var file_list = get_file_list(module_folder)

    var replace_data = {'__init__': 'README', '.py': '.md'}

    var file_content = file.read()

    var tree = ast.parse(file_content)

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in func.args]

    var ignored_paths = []

    var no_module_name_pyfile_path = get_relative_path(module_folder, pyfile_path)

    var rel_md_path = pyfile_path if with_top else no_module_name_pyfile_path

    var abs_md_path = os.path.join(output_dir, rel_md_path)

    var module_info = get_module_info_normal(pyfile_path)

    var md_content = generate_markdown(module_info, front_matter)

    var inherit = f"({', '.join(cls.inherit)})" if cls.inherit else ''

    var rel_md_path = rel_md_path.replace(rk, rv)

    var front_matter = {'title': module_info.module_path.replace('.__init__', '').replace('_', '\\n'), 'index': 'true', 'icon': 'laptop-code', 'category': 'API'}

    var front_matter = {'title': module_info.module_path.replace('_', '\\n'), 'order': '1', 'icon': 'laptop-code', 'category': 'API'}

    var function_docstring = ast.get_docstring(node)

    var func_info = FunctionInfo(name=node.name, args=[(arg.arg, ast.unparse(arg.annotation) if arg.annotation else NO_TYPE_ANY) for arg in node.args.args], return_type=ast.unparse(node.returns) if node.returns else 'None', docstring=function_docstring if function_docstring else '', type=DefType.FUNCTION, is_async=isinstance(node, ast.AsyncFunctionDef))

    var class_docstring = ast.get_docstring(node)

    var class_info = ClassInfo(name=node.name, docstring=class_docstring if class_docstring else '', methods=[], attributes=[], inherit=[ast.unparse(base) for base in node.bases])

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] else arg[0] for arg in method.args]

    var args_with_type = [f'{arg[0]}: {arg[1]}' if arg[1] and arg[0] != 'self' else arg[0] for arg in method.args]

    var first_arg = node.args.args[0]

    var method_docstring = ast.get_docstring(class_node)

    var def_type = DefType.METHOD

    var def_type = DefType.STATIC_METHOD

    var attr_type = NO_TYPE_HINT

    var def_type = DefType.CLASS_METHOD

    var attr_type = ast.unparse(node.value.annotation)

    var def_type = DefType.PROPERTY

    - + diff --git a/en/dev/api/plugin/index.html b/en/dev/api/plugin/index.html index da234885..a0b21ca9 100644 --- a/en/dev/api/plugin/index.html +++ b/en/dev/api/plugin/index.html @@ -30,12 +30,12 @@ liteyuki.plugin | LiteyukiBot - - + + - + diff --git a/en/dev/api/plugin/load.html b/en/dev/api/plugin/load.html index 01cf9bad..254f829e 100644 --- a/en/dev/api/plugin/load.html +++ b/en/dev/api/plugin/load.html @@ -30,8 +30,8 @@ liteyuki.plugin.load | LiteyukiBot - - + +
    Skip to main content

    liteyuki.plugin.load

    SnowyKamiLess than 1 minuteAPI

    - + diff --git a/en/dev/api/plugin/manager.html b/en/dev/api/plugin/manager.html index b22ade69..a14f7a26 100644 --- a/en/dev/api/plugin/manager.html +++ b/en/dev/api/plugin/manager.html @@ -30,11 +30,11 @@ liteyuki.plugin.manager | LiteyukiBot - - + + - + diff --git a/en/dev/api/plugin/model.html b/en/dev/api/plugin/model.html index f9c2dc8f..26f6c839 100644 --- a/en/dev/api/plugin/model.html +++ b/en/dev/api/plugin/model.html @@ -30,8 +30,8 @@ liteyuki.plugin.model | LiteyukiBot - - + +
    Skip to main content

    liteyuki.plugin.model

    SnowyKamiLess than 1 minuteAPI

    - + diff --git a/en/dev/api/utils.html b/en/dev/api/utils.html index 1556b5a1..e201ddbe 100644 --- a/en/dev/api/utils.html +++ b/en/dev/api/utils.html @@ -30,8 +30,8 @@ liteyuki.utils | LiteyukiBot - - + +
    Skip to main content
    - + diff --git a/en/dev/dev_comm.html b/en/dev/dev_comm.html index dade879c..2c92ecf3 100644 --- a/en/dev/dev_comm.html +++ b/en/dev/dev_comm.html @@ -30,8 +30,8 @@ Communication | LiteyukiBot - - + +
    Skip to main content

    Communication

    SnowyKamiAbout 3 mindevelopment

    通道通信

    简介

    轻雪运行在主进程 MainProcess 里,其他插件框架进程是伴随的子进程,因此无法通过内存共享和直接对象传递的方式进行通信,轻雪提供了一个通道Channel用于跨进程通信,你可以通过Channel发送消息给其他进程,也可以监听其他进程的消息。

    例如子进程接收到用户信息需要重启机器人,这时可以通过通道对主进程发送消息,主进程接收到消息后重启对应子进程。

    示例

    通道是全双工的,有两种接收模式,但一个通道只能使用一种,即被动模式和主动模式,被动模式由chan.on_receive()装饰回调函数实现,主动模式需调用chan.receive()实现

    • 创建子进程的同时会初始化一个被动通道和一个主动通道,且通道标识为{process_name}-active{process_name}-passive
    • 主进程中通过get_channel函数获取通道对象
    • 子进程中导入单例active_channelpassive_channel即可

    在轻雪插件中(主进程中)

    import asyncio
    @@ -81,6 +81,6 @@ driver = get_driver.set("key", "value")  # 设置共享内存
     value = shared_memory.get("key")  # 获取共享内存
     
    - + diff --git a/en/dev/dev_lyfunc.html b/en/dev/dev_lyfunc.html index 1a825981..14fe6d0b 100644 --- a/en/dev/dev_lyfunc.html +++ b/en/dev/dev_lyfunc.html @@ -30,8 +30,8 @@ Liteyuki Function | LiteyukiBot - - + +
    Skip to main content

    Liteyuki Function

    SnowyKamiAbout 2 mindevelopment

    轻雪函数

    轻雪函数 Liteyuki Function 是轻雪的一个功能,它允许你在轻雪中运行一些自定义的由数据驱动的命令,类似于Minecraft的mcfunction,属于资源包的一部分,但需单独起篇幅.

    函数文件

    函数文件放在资源包的functions目录下,文件名以.mcfunction .lyfunction .lyf结尾,例如test.mcfunction,文件内容为一系列的命令,每行一个命令,支持单行注释#(编辑时的语法高亮可采取shell格式),例如:

    # 在发信器输出"hello world"
    @@ -58,6 +58,6 @@ api friend_poke user_idnohup function poke
     await
     

    API

    理论上所有基于onebotv11的api都可调用,不同Adapter api也有差别.

    Onebot v11 API文档open in new window

    结束关键字

    由于LiteyukiBot基于异步运行, 所以在编写lyfunction时也要注意异步的调用,避免出现"单线程走到底"的情况是效率提升的关键.

    await 异步任务结束关键字,用于结束当前已完成function的执行

    Warning

    但若出现非单function的情况,有一个task任务没有完成而await被执行了,那么当前所有函数包的task都会被截停销毁

    Tips

    编写轻雪函数推荐你使用VS Code插件Liteyuki Functionopen in new window实现语法高亮

    - + diff --git a/en/dev/dev_lyplugin.html b/en/dev/dev_lyplugin.html index 7da439c1..70cf1a09 100644 --- a/en/dev/dev_lyplugin.html +++ b/en/dev/dev_lyplugin.html @@ -30,8 +30,8 @@ Liteyuki Plugin | LiteyukiBot - - + +
    Skip to main content

    Liteyuki Plugin

    SnowyKamiAbout 2 mindevelopment

    简介

    轻雪插件是轻雪内置的一部分功能,运行在主进程中,可以很高程度地扩展轻雪的功能

    开始

    创建插件

    在标准项目中,位于liteyuki/plugins和src/liteyuki_plugins下的Python modules均会被当作插件加载,你可自行添加配置文件以指定插件的加载路径 一个.py文件或一个包含__init__.py的文件夹即可被识别为插件 创建一个文件夹,例如watchdog_plugin,并在其中创建一个__init__.py文件,即可创建一个插件

    from liteyuki.plugin import PluginMetadata
    @@ -64,6 +64,6 @@ exclude_extensions = .debug(f"File {event.src_path} changed, reloading nonebot...")
         liteyuki.restart_process("nonebot") # 调用重启进程方法
     

    加载插件

    在配置文件中的liteyuki.plugins中添加你的插件路径,例如watchdog_plugin,重启轻雪即可加载插件。然后我们在src/nonebot_plugins下创建一个文件,例如test.py,并在其中写入一些代码,保存后轻雪会自动重载NoneBot进程

    - + diff --git a/en/dev/dev_resource_pack.html b/en/dev/dev_resource_pack.html index baf4cb0a..45ddee62 100644 --- a/en/dev/dev_resource_pack.html +++ b/en/dev/dev_resource_pack.html @@ -30,8 +30,8 @@ Resource Pack | LiteyukiBot - - + +
    Skip to main content

    Resource Pack

    SnowyKamiAbout 2 mindevelopment

    简介

    资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码

    • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
    • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
    • 部分内容制作需要一点点前端基础,例如htmlcss
    • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
    • 欢迎各位投稿资源包到轻雪资源商店

    请注意,主题包中的html渲染使用Js来规定数据的渲染位置,请确保您所编写的html代码能被Bot解析,否则会导致渲染失败或渲染结果不理想/异常/错位等无法预料的事情发生。推荐在编写html时同时更改对应Js代码,以避免出现无法预料的问题。


    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
    @@ -49,6 +49,6 @@ resources
     # 你可以自定义一些信息,但请保证以上三个字段
     ...
     
    • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,例如,你在A包中定义了一个index.html文件,B包也定义了一个index.html文件,那么加载B包后,A包中的index.html文件会被覆盖
    • 对于不同资源包的不同文件,是可以相对引用的,例如你在A中定义了templates/index.html,在B中定义了templates/style.css,可以在A的index.html中用./style.css相对路径引用B中的css

    Tips

    资源包的结构会随着轻雪的更新而有变动,第三方资源包开发者需要注意版本兼容性,同时用户也应该自行选择可用的资源包

    - + diff --git a/en/dev/index.html b/en/dev/index.html index 21961403..1731dfdf 100644 --- a/en/dev/index.html +++ b/en/dev/index.html @@ -30,11 +30,11 @@ Contribute | LiteyukiBot - - + + - + diff --git a/en/index.html b/en/index.html index b8bd852a..7362239f 100644 --- a/en/index.html +++ b/en/index.html @@ -30,11 +30,11 @@ Home | LiteyukiBot - - + +
    Skip to main content
    LiteyukiBotLiteyukiBot

    LiteyukiBot

    LiteyukiBot A high-performance, easy-to-use chatbot framework and application

    Get StartedUsage

    Simple and Efficient

    Multi-Framework Support

    Compatible with nonebot, melobot, etc., with good ecological support

    Convenient Management

    Use package manager to manage plugins and resource packs

    Custom Themes Support

    Fully customize the appearance with resource packs

    i18n

    Support multiple languages through resource packs

    Easy to Use

    No need for cumbersome pre-processes, ready to use

    High Performance

    500 plugins, start within 2s

    Rolling Update

    Keep your bot up to date

    OpenSource

    MIT LICENCE open source project, welcome your contribution

    Quick Start

    • Install Git and Python3.10+ environment

    • Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally

    • Use cd LiteyukiBot to change the directory to the project root

    • Use pip install -r requirements.txt install the project dependencies

      If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt.

    • Start bot with python main.py.

    - + diff --git a/en/store/index.html b/en/store/index.html index 17736087..d9385fba 100644 --- a/en/store/index.html +++ b/en/store/index.html @@ -30,11 +30,11 @@ Extensions Store | LiteyukiBot - - + + - + diff --git a/en/store/plugin.html b/en/store/plugin.html index f40923b6..c9bbdadf 100644 --- a/en/store/plugin.html +++ b/en/store/plugin.html @@ -30,11 +30,11 @@ Plugin Store | LiteyukiBot - - + +
    Skip to main content

    Plugin Store

    SnowyKamiLess than 1 minuteextension

    插件商店

    内容来自NoneBot插件商店和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店

    - + diff --git a/en/store/resource.html b/en/store/resource.html index 2694268f..016cb014 100644 --- a/en/store/resource.html +++ b/en/store/resource.html @@ -30,11 +30,11 @@ Resource Store | LiteyukiBot - - + +
    Skip to main content

    Resource Store

    SnowyKamiLess than 1 minuteextension

    主题/资源商店

    - + diff --git a/en/usage/agreement.html b/en/usage/agreement.html index 1d4b7d91..91444e97 100644 --- a/en/usage/agreement.html +++ b/en/usage/agreement.html @@ -30,11 +30,11 @@ User Agreement | LiteyukiBot - - + +
    Skip to main content

    User Agreement

    SnowyKamiLess than 1 minuteusage

    1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
    2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
      • 运行环境的设备信息:CPU,内存,系统信息及Python信息
      • 插件信息(不含插件数据)
      • 部分异常信息,
      • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
    3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
    4. 使用此项目代表你已经同意以上协议
    - + diff --git a/en/usage/basic_command.html b/en/usage/basic_command.html index fe60ab09..df7f82df 100644 --- a/en/usage/basic_command.html +++ b/en/usage/basic_command.html @@ -30,11 +30,11 @@ Basic Commands | LiteyukiBot - - + +
    Skip to main content

    Basic Commands

    SnowyKamiAbout 3 minusage

    基础插件


    Tips

    参数<param>为必填参数,[option]为可选参数。

    命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

    轻雪命令liteyuki_command

    命令说明权限举例可用参数
    reload-liteyuki重载轻雪超级用户
    update-liteyuki更新轻雪超级用户
    liteecho查看当前bot 版本超级用户
    status查看统计信息和状态超级用户
    config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
    config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
    switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
    /api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
    /function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
    group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
    liteyuki-docs查看轻雪文档所有人

    命令别名

    命令别名
    status状态
    reload-liteyuki重启轻雪
    update-liteyuki更新轻雪
    reload-resources重载资源
    config配置, set 设置 / get 查询
    switch-image-mode切换图片模式
    liteyuki-docs轻雪文档
    group群聊, enable 启用 / disable 停用

    插件/包管理器 liteyuki_pacman

    • 插件管理
    命令说明权限
    npm update更新插件商店索引超级用户
    npm install <plugin_name>安装插件超级用户
    npm uninstall <plugin_name>卸载插件超级用户
    npm search <keywords...>通过关键词搜索插件超级用户
    npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
    npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
    npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
    help <plugin_name>查看插件帮助所有人
    • 资源包管理
    命令说明权限
    rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
    rpm load <pack_name>加载资源包超级用户
    rpm unload <pack_name>卸载资源包超级用户
    rpm change <pack_name>修改优先级超级用户
    rpm reload重载所有资源包超级用户

    命令别名

    命令别名
    npm插件管理
    update更新
    install安装
    uninstall卸载
    search搜索
    enable启用
    disable停用
    enable-global全局启用
    disable-global全局停用
    rpm资源包
    load加载
    unload卸载
    change更改
    reload重载
    list列表
    help帮助

    Warning

    受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


    用户管理liteyuki_user

    命令说明权限
    profile查看用户信息菜单所有人
    profile set <key> [value]设置用户信息或打开属性设置菜单所有人
    profile get <key>获取用户信息所有人

    ###命令别名

    命令别名
    profile个人信息
    set设置
    get查询
    - + diff --git a/en/usage/extra_command.html b/en/usage/extra_command.html index 8d29e292..6a4dde61 100644 --- a/en/usage/extra_command.html +++ b/en/usage/extra_command.html @@ -30,8 +30,8 @@ Extra Commands | LiteyukiBot - - + +
    Skip to main content

    Extra Commands

    SnowyKamiLess than 1 minuteusage

    功能插件命令

    轻雪天气liteyuki_weather

    查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

    配置项

    weather_key: "" # 和风天气的天气key,会自动判断key版本
    @@ -39,6 +39,6 @@
     

    查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

    bind-city <keywords...> # Keywords为城市名,支持中英文
     

    绑定查询城市,个人全局生效

    命令别名

    命令别名
    weather天气
    bind-city绑定城市

    统计信息liteyuki_statistics

    统计信息 命令

    statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
     

    功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

    参数格式
    duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    groupcurrent (当前群聊) 或 group_id (QQ群号)
    botcurrent (当前Bot) 或 bot_id

    命令别名

    命令别名
    statisticstat
    messagem
    --duration-d
    --period`-p
    --group-g
    --bot-b
    currentc
    - + diff --git a/en/usage/index.html b/en/usage/index.html index 2fd6a730..ca2e2879 100644 --- a/en/usage/index.html +++ b/en/usage/index.html @@ -30,11 +30,11 @@ Usage | LiteyukiBot - - + + - + diff --git a/index.html b/index.html index 55cdf718..18b653f7 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    LiteyukiBotLiteyukiBot

    LiteyukiBot

    LiteyukiBot 轻雪机器人,综合性的机器人应用及管理框架

    快速部署使用手册

    简洁至上

    支持多种框架

    兼容nonebot,melobot等,拥有良好的生态支持

    便捷管理

    使用包管理器,便捷管理插件及资源包

    主题支持

    使用资源包对外观进行完全自定义

    国际化

    通过资源包支持多种语言

    简易使用

    无需繁琐前期过程,开箱即用

    超高性能

    500个插件,2s内启动

    滚动更新

    让你的机器人保持最新提交

    开源项目

    项目遵循MIT LICENCE开源,欢迎各位的贡献

    快速部署

    • 安装 Git 及 Python3.10+

    • 使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。

      如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1

    • 使用 cd LiteyukiBot 切换到项目目录。

    • 使用 pip install -r requirements.txt 安装项目依赖。

      如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt

    • 使用 python main.py 启动项目。

    - + diff --git a/store/index.html b/store/index.html index 719791ee..4d8e6480 100644 --- a/store/index.html +++ b/store/index.html @@ -30,11 +30,11 @@ 资源及插件商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/store/plugin.html b/store/plugin.html index eb58211b..53e0c9bc 100644 --- a/store/plugin.html +++ b/store/plugin.html @@ -30,11 +30,11 @@ 插件商店 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    插件商店

    远野千束小于 1 分钟使用手册

    插件商店

    内容来自NoneBot插件商店和轻雪商店,在此仅作引用,具体请访问NoneBot插件商店

    - + diff --git a/store/resource.html b/store/resource.html index 880217cb..a61b170a 100644 --- a/store/resource.html +++ b/store/resource.html @@ -30,11 +30,11 @@ 资源商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/agreement.html b/usage/agreement.html index 690a5bd8..98dbacea 100644 --- a/usage/agreement.html +++ b/usage/agreement.html @@ -30,11 +30,11 @@ 用户协议 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    用户协议

    远野千束小于 1 分钟使用手册

    1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
    2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
      • 运行环境的设备信息:CPU,内存,系统信息及Python信息
      • 插件信息(不含插件数据)
      • 部分异常信息,
      • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
    3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
    4. 使用此项目代表你已经同意以上协议
    - + diff --git a/usage/basic_command.html b/usage/basic_command.html index a5747b2e..d422195e 100644 --- a/usage/basic_command.html +++ b/usage/basic_command.html @@ -30,11 +30,11 @@ 基础命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    基础命令

    远野千束大约 3 分钟使用手册

    基础插件


    提示

    参数<param>为必填参数,[option]为可选参数。

    命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

    轻雪命令liteyuki_command

    命令说明权限举例可用参数
    reload-liteyuki重载轻雪超级用户
    update-liteyuki更新轻雪超级用户
    liteecho查看当前bot 版本超级用户
    status查看统计信息和状态超级用户
    config set <key> value添加配置项,若存在则会覆盖,输入值会被执行以转换为正确的类型,"10"和10是不一样的超级用户config set name 'liteyuki-bot'<key>: 若存在则覆盖, 若不存在则创建于config.yml ; value: yml格式的所有合法内容
    config get [key] 查询配置项,不带key返回配置项列表,推荐私聊使用超级用户config get name<key>: 若存在则返回, 若不存在则返回空
    switch-image-mode 在普通图片和Markdown大图之间切换,该功能需要commit:505468b及以后的Lagrange.OneBot,默认普通图片超级用户switch-image-mode
    /api api_name [args] 调用机器人API超级用户/api get_group_member_list group_id=1234567<args>: 参数列表, 格式为onebot v11协议api, 可用%20代替空格
    /function function_name [args] [kwargs] 调用机器人函数(.lyfunction语法)超级用户/function send_group_msg group_id=1234567 message='hello'<args><kwargs>: 参数列表, api格式为onebot v11协议api
    group enable/disable [group_id]在群聊启用/停用机器人,group_id仅超级用户可用超级用户,群聊仅群主、管理员、超级用户可用group enable 1145141919810<group_id>: 群号
    liteyuki-docs查看轻雪文档所有人

    命令别名

    命令别名
    status状态
    reload-liteyuki重启轻雪
    update-liteyuki更新轻雪
    reload-resources重载资源
    config配置, set 设置 / get 查询
    switch-image-mode切换图片模式
    liteyuki-docs轻雪文档
    group群聊, enable 启用 / disable 停用

    插件/包管理器 liteyuki_pacman

    • 插件管理
    命令说明权限
    npm update更新插件商店索引超级用户
    npm install <plugin_name>安装插件超级用户
    npm uninstall <plugin_name>卸载插件超级用户
    npm search <keywords...>通过关键词搜索插件超级用户
    npm enable-global/disable-global <plugin_name>全局启用/停用插件超级用户
    npm enable/disable <plugin_name> [--group <group_id>]当前会话启用/停用插件群聊仅群主、管理员、超级用户可用,私聊所有人可用
    npm list [page] [num]列出所有插件 page为页数,num为每页显示数量群聊仅群主、管理员、超级用户可用,私聊所有人可用
    help <plugin_name>查看插件帮助所有人
    • 资源包管理
    命令说明权限
    rpm list [page] [num]列出所有资源包 page为页数,num为每页显示数量超级用户
    rpm load <pack_name>加载资源包超级用户
    rpm unload <pack_name>卸载资源包超级用户
    rpm change <pack_name>修改优先级超级用户
    rpm reload重载所有资源包超级用户

    命令别名

    命令别名
    npm插件管理
    update更新
    install安装
    uninstall卸载
    search搜索
    enable启用
    disable停用
    enable-global全局启用
    disable-global全局停用
    rpm资源包
    load加载
    unload卸载
    change更改
    reload重载
    list列表
    help帮助

    注意

    受限于NoneBot2钩子函数的依赖注入参数,插件停用只能阻断传入响应,对于主动推送的插件不生效,请阅读插件主页的说明。


    用户管理liteyuki_user

    命令说明权限
    profile查看用户信息菜单所有人
    profile set <key> [value]设置用户信息或打开属性设置菜单所有人
    profile get <key>获取用户信息所有人

    ###命令别名

    命令别名
    profile个人信息
    set设置
    get查询
    - + diff --git a/usage/extra_command.html b/usage/extra_command.html index b58d2452..ac6cc1b9 100644 --- a/usage/extra_command.html +++ b/usage/extra_command.html @@ -30,8 +30,8 @@ 功能命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    功能命令

    远野千束小于 1 分钟使用手册

    功能插件命令

    轻雪天气liteyuki_weather

    查询实时天气,支持绑定城市,支持中英文城市名,支持多个关键词查询。

    配置项

    weather_key: "" # 和风天气的天气key,会自动判断key版本
    @@ -39,6 +39,6 @@
     

    查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"

    bind-city <keywords...> # Keywords为城市名,支持中英文
     

    绑定查询城市,个人全局生效

    命令别名

    命令别名
    weather天气
    bind-city绑定城市

    统计信息liteyuki_statistics

    统计信息 命令

    statistic message --duration <duration> --period <period> --group [current|group_id] --bot [current|bot_id]
     

    功能: 用于统计Bot接收到的消息, 统计周期为period, 统计时间范围为duration

    参数格式
    duration使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    period使用通用日期简写: 1d(天), 1h(小时), 45m(分钟), 14s(秒)
    groupcurrent (当前群聊) 或 group_id (QQ群号)
    botcurrent (当前Bot) 或 bot_id

    命令别名

    命令别名
    statisticstat
    messagem
    --duration-d
    --period`-p
    --group-g
    --bot-b
    currentc
    - + diff --git a/usage/index.html b/usage/index.html index f94fae43..9ea88888 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - +