unified-ai-router 3.5.6 → 3.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy.yml +3 -3
- package/docs/.vitepress/config.mjs +4 -1
- package/docs/.vitepress/dist/404.html +4 -4
- package/docs/.vitepress/dist/assets/{app.BKyBzHbv.js → app.BKF3BkUp.js} +1 -1
- package/docs/.vitepress/dist/assets/chunks/framework.Droh-lTM.js +4 -0
- package/docs/.vitepress/dist/assets/chunks/theme.BYXG2oxA.js +1 -0
- package/docs/.vitepress/dist/assets/{configuration.md.CeBGysiY.js → configuration.md.CbwOkD0F.js} +1 -1
- package/docs/.vitepress/dist/assets/{configuration.md.CeBGysiY.lean.js → configuration.md.CbwOkD0F.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{index.md.D-8hZ8ti.js → index.md.BsYkUU5x.js} +1 -1
- package/docs/.vitepress/dist/assets/{index.md.D-8hZ8ti.lean.js → index.md.BsYkUU5x.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/{quickstart.md.mGNzdQVa.js → quickstart.md.CMoRDyb_.js} +1 -1
- package/docs/.vitepress/dist/assets/{quickstart.md.mGNzdQVa.lean.js → quickstart.md.CMoRDyb_.lean.js} +1 -1
- package/docs/.vitepress/dist/assets/style.CoGa1--K.css +1 -0
- package/docs/.vitepress/dist/configuration.html +8 -8
- package/docs/.vitepress/dist/hashmap.json +1 -1
- package/docs/.vitepress/dist/index.html +8 -8
- package/docs/.vitepress/dist/quickstart.html +8 -8
- package/package.json +1 -1
- package/docs/.vitepress/dist/assets/chunks/framework.DLCvNBTH.js +0 -19
- package/docs/.vitepress/dist/assets/chunks/theme.h95WUA9L.js +0 -1
- package/docs/.vitepress/dist/assets/style.CVX7x1tQ.css +0 -1
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
6
|
<title>Quickstart — Run locally in minutes | Unified AI Router</title>
|
|
7
7
|
<meta name="description" content="OpenAI-compatible router with multi-provider fallback.">
|
|
8
|
-
<meta name="generator" content="VitePress v2.0.0-alpha.
|
|
9
|
-
<link rel="preload stylesheet" href="/Unified-AI-Router/assets/style.
|
|
8
|
+
<meta name="generator" content="VitePress v2.0.0-alpha.15">
|
|
9
|
+
<link rel="preload stylesheet" href="/Unified-AI-Router/assets/style.CoGa1--K.css" as="style">
|
|
10
10
|
<link rel="preload stylesheet" href="/Unified-AI-Router/vp-icons.css" as="style">
|
|
11
11
|
|
|
12
|
-
<script type="module" src="/Unified-AI-Router/assets/app.
|
|
12
|
+
<script type="module" src="/Unified-AI-Router/assets/app.BKF3BkUp.js"></script>
|
|
13
13
|
<link rel="preload" href="/Unified-AI-Router/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
|
|
14
|
-
<link rel="modulepreload" href="/Unified-AI-Router/assets/chunks/theme.
|
|
15
|
-
<link rel="modulepreload" href="/Unified-AI-Router/assets/chunks/framework.
|
|
16
|
-
<link rel="modulepreload" href="/Unified-AI-Router/assets/quickstart.md.
|
|
14
|
+
<link rel="modulepreload" href="/Unified-AI-Router/assets/chunks/theme.BYXG2oxA.js">
|
|
15
|
+
<link rel="modulepreload" href="/Unified-AI-Router/assets/chunks/framework.Droh-lTM.js">
|
|
16
|
+
<link rel="modulepreload" href="/Unified-AI-Router/assets/quickstart.md.CMoRDyb_.lean.js">
|
|
17
17
|
<link rel="icon" href="favicon.png">
|
|
18
18
|
<link rel="icon" type="image/png" href="favicon.png">
|
|
19
19
|
<link rel="apple-touch-icon" href="favicon.png">
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
|
|
22
22
|
</head>
|
|
23
23
|
<body>
|
|
24
|
-
<div id="app"><div class="Layout" data-v-1df9f90f><!--[--><!--]--><!--[--><span tabindex="-1" data-v-
|
|
24
|
+
<div id="app"><div class="Layout" data-v-1df9f90f><!--[--><!--]--><!--[--><span tabindex="-1" data-v-331ec75c></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-331ec75c>Skip to content</a><!--]--><!----><header class="VPNav" data-v-1df9f90f data-v-da52a441><div class="VPNavBar" data-v-da52a441 data-v-70946a35><div class="wrapper" data-v-70946a35><div class="container" data-v-70946a35><div class="title" data-v-70946a35><div class="VPNavBarTitle has-sidebar" data-v-70946a35 data-v-1e38c6bc><a class="title" href="/Unified-AI-Router/" data-v-1e38c6bc><!--[--><!--]--><!----><span data-v-1e38c6bc>Unified AI Router</span><!--[--><!--]--></a></div></div><div class="content" data-v-70946a35><div class="content-body" data-v-70946a35><!--[--><!--]--><div class="VPNavBarSearch search" data-v-70946a35><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-70946a35 data-v-39714824><span id="main-nav-aria-label" class="visually-hidden" data-v-39714824> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/Unified-AI-Router/" tabindex="0" data-v-39714824 data-v-52a1d768><!--[--><span data-v-52a1d768>Home</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/Unified-AI-Router/quickstart.html" tabindex="0" data-v-39714824 data-v-52a1d768><!--[--><span data-v-52a1d768>Quickstart</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/Unified-AI-Router/configuration.html" tabindex="0" data-v-39714824 data-v-52a1d768><!--[--><span data-v-52a1d768>Configuration</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-70946a35 data-v-6c893767><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-6c893767 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-70946a35 data-v-0394ad82 data-v-d07f11e6><!--[--><a class="VPSocialLink no-icon" href="https://github.com/mlibre/Unified-AI-Router" aria-label="github" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://www.npmjs.com/package/unified-ai-router" aria-label="npm" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-npm"></span></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-70946a35 data-v-bf2fac68 data-v-42cb505d><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-42cb505d><span class="vpi-more-horizontal icon" data-v-42cb505d></span></button><div class="menu" data-v-42cb505d><div class="VPMenu" data-v-42cb505d data-v-25a6cce8><!----><!--[--><!--[--><!----><div class="group" data-v-bf2fac68><div class="item appearance" data-v-bf2fac68><p class="label" data-v-bf2fac68>Appearance</p><div class="appearance-action" data-v-bf2fac68><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-bf2fac68 data-v-5337faa4 data-v-1d5665e3><span class="check" data-v-1d5665e3><span class="icon" data-v-1d5665e3><!--[--><span class="vpi-sun sun" data-v-5337faa4></span><span class="vpi-moon moon" data-v-5337faa4></span><!--]--></span></span></button></div></div></div><div class="group" data-v-bf2fac68><div class="item social-links" data-v-bf2fac68><div class="VPSocialLinks social-links-list" data-v-bf2fac68 data-v-d07f11e6><!--[--><a class="VPSocialLink no-icon" href="https://github.com/mlibre/Unified-AI-Router" aria-label="github" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://www.npmjs.com/package/unified-ai-router" aria-label="npm" target="_blank" rel="me noopener" data-v-d07f11e6 data-v-591a6b30><span class="vpi-social-npm"></span></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-70946a35 data-v-e5dd9c1c><span class="container" data-v-e5dd9c1c><span class="top" data-v-e5dd9c1c></span><span class="middle" data-v-e5dd9c1c></span><span class="bottom" data-v-e5dd9c1c></span></span></button></div></div></div></div><div class="divider" data-v-70946a35><div class="divider-line" data-v-70946a35></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-1df9f90f data-v-db738f89><div class="container" data-v-db738f89><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-db738f89><span class="vpi-align-left menu-icon" data-v-db738f89></span><span class="menu-text" data-v-db738f89>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-db738f89 data-v-0bf0e06f><button data-v-0bf0e06f>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-1df9f90f data-v-af661f50><div class="curtain" data-v-af661f50></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-af661f50><span class="visually-hidden" id="sidebar-aria-label" data-v-af661f50> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-8d50c081><section class="VPSidebarItem level-0 has-active" data-v-8d50c081 data-v-d81de50c><div class="item" role="button" tabindex="0" data-v-d81de50c><div class="indicator" data-v-d81de50c></div><h2 class="text" data-v-d81de50c>Guide</h2><!----></div><div class="items" data-v-d81de50c><!--[--><div class="VPSidebarItem level-1 is-link" data-v-d81de50c data-v-d81de50c><div class="item" data-v-d81de50c><div class="indicator" data-v-d81de50c></div><a class="VPLink link link" href="/Unified-AI-Router/quickstart.html" data-v-d81de50c><!--[--><p class="text" data-v-d81de50c>Quickstart</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d81de50c data-v-d81de50c><div class="item" data-v-d81de50c><div class="indicator" data-v-d81de50c></div><a class="VPLink link link" href="/Unified-AI-Router/configuration.html" data-v-d81de50c><!--[--><p class="text" data-v-d81de50c>Configuration</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-1df9f90f data-v-c87f25bf><div class="VPDoc has-sidebar has-aside" data-v-c87f25bf data-v-7011f0d8><!--[--><!--]--><div class="container" data-v-7011f0d8><div class="aside" data-v-7011f0d8><div class="aside-curtain" data-v-7011f0d8></div><div class="aside-container" data-v-7011f0d8><div class="aside-content" data-v-7011f0d8><div class="VPDocAside" data-v-7011f0d8 data-v-3f215769><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-3f215769 data-v-60d5052e><div class="content" data-v-60d5052e><div class="outline-marker" data-v-60d5052e></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-60d5052e>On this page</div><ul class="VPDocOutlineItem root" data-v-60d5052e data-v-1ce71065><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-3f215769></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-7011f0d8><div class="content-container" data-v-7011f0d8><!--[--><!--]--><main class="main" data-v-7011f0d8><div style="position:relative;" class="vp-doc _Unified-AI-Router_quickstart" data-v-7011f0d8><div><h1 id="quickstart-—-run-locally-in-minutes" tabindex="-1">Quickstart — Run locally in minutes <a class="header-anchor" href="#quickstart-—-run-locally-in-minutes" aria-label="Permalink to “Quickstart — Run locally in minutes”"></a></h1><p>This page walks you through running the OpenAI-compatible server locally and calling the <code>/v1/chat/completions</code> endpoint.</p><h2 id="_1-install" tabindex="-1">1) Install <a class="header-anchor" href="#_1-install" aria-label="Permalink to “1) Install”"></a></h2><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> clone</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> https://github.com/mlibre/Unified-AI-Router.git</span></span>
|
|
25
25
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">cd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Unified-AI-Router</span></span>
|
|
26
26
|
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">npm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> install</span></span></code></pre></div><h2 id="_2-configure-api-keys" tabindex="-1">2) Configure API keys <a class="header-anchor" href="#_2-configure-api-keys" aria-label="Permalink to “2) Configure API keys”"></a></h2><p>Copy the example env file and populate the keys for the providers you want to use:</p><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">cp</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> .env.example</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> .env</span></span>
|
|
27
27
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># edit .env and add keys (OPENAI_API_KEY, GEMINI_API_KEY, etc.)</span></span></code></pre></div><p>Edit <code>provider.js</code> to enable or reorder providers (the router tries them in array order).</p><h2 id="_3-start-the-server" tabindex="-1">3) Start the server <a class="header-anchor" href="#_3-start-the-server" aria-label="Permalink to “3) Start the server”"></a></h2><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">npm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> start</span></span></code></pre></div><p>By default the server listens on <code>http://localhost:3000</code> and supports these OpenAI-compatible endpoints:</p><ul><li><code>POST /v1/chat/completions</code> — streaming & non-streaming chat completions</li><li><code>POST /chat/completions</code> — same as above (alternate path)</li><li><code>GET /v1/models</code> & <code>GET /models</code> — lists models available from providers</li><li><code>GET /health</code> — health check</li></ul><h2 id="_4-quick-test-non-streaming" tabindex="-1">4) Quick test (non-streaming) <a class="header-anchor" href="#_4-quick-test-non-streaming" aria-label="Permalink to “4) Quick test (non-streaming)”"></a></h2><p>Use <code>curl</code> or your HTTP client to test a simple chat completion:</p><div class="language-bash"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">curl</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -s</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -X</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> POST</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> http://localhost:3000/v1/chat/completions</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> \</span></span>
|
|
28
28
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -H</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> "Content-Type: application/json"</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> \</span></span>
|
|
29
29
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> -d</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> '{ "messages": [{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"Say hello." }], "model":"gpt-3.5-turbo" }'</span></span></code></pre></div><h2 id="_5-next-steps" tabindex="-1">5) Next steps <a class="header-anchor" href="#_5-next-steps" aria-label="Permalink to “5) Next steps”"></a></h2><ul><li>Configure additional providers in <code>provider.js</code> and set env keys.</li><li>Try streaming by setting <code>stream: true</code> when calling the endpoint.</li><li>See <code>tests/</code> for example scripts that exercise streaming, non-streaming, and tools.</li></ul></div></div></main><footer class="VPDocFooter" data-v-7011f0d8 data-v-e257564d><!--[--><!--]--><!----><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><span class="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><div class="pager" data-v-e257564d><!----></div><div class="pager" data-v-e257564d><a class="VPLink link pager-link next" href="/Unified-AI-Router/configuration.html" data-v-e257564d><!--[--><span class="desc" data-v-e257564d>Next page</span><span class="title" data-v-e257564d>Configuration</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
|
|
30
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"configuration.md\":\"
|
|
30
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"configuration.md\":\"CbwOkD0F\",\"index.md\":\"BsYkUU5x\",\"quickstart.md\":\"CMoRDyb_\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Unified AI Router\",\"description\":\"OpenAI-compatible router with multi-provider fallback.\",\"base\":\"/Unified-AI-Router/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Quickstart\",\"link\":\"/quickstart\"},{\"text\":\"Configuration\",\"link\":\"/configuration\"}],\"sidebar\":[{\"text\":\"Guide\",\"items\":[{\"text\":\"Quickstart\",\"link\":\"/quickstart\"},{\"text\":\"Configuration\",\"link\":\"/configuration\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/mlibre/Unified-AI-Router\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/unified-ai-router\"}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false,\"additionalConfig\":{}}");</script>
|
|
31
31
|
|
|
32
32
|
</body>
|
|
33
33
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unified-ai-router",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.8",
|
|
4
4
|
"description": "A unified interface for multiple LLM providers with automatic fallback. This project includes an OpenAI-compatible server and a deployable Telegram bot with a Mini App interface. It supports major providers like OpenAI, Google, Grok, and more, ensuring reliability and flexibility for your AI applications.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "mlibre",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vue/shared v3.5.22
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Is(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Ot=[],We=()=>{},zr=()=>!1,tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ns=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Do=Object.prototype.hasOwnProperty,Z=(e,t)=>Do.call(e,t),B=Array.isArray,Mt=e=>In(e)==="[object Map]",Xr=e=>In(e)==="[object Set]",z=e=>typeof e=="function",ce=e=>typeof e=="string",Ze=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",Yr=e=>(ne(e)||z(e))&&z(e.then)&&z(e.catch),Jr=Object.prototype.toString,In=e=>Jr.call(e),Fo=e=>In(e).slice(8,-1),Qr=e=>In(e)==="[object Object]",Fs=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=Is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ho=/-\w/g,Ne=Nn(e=>e.replace(Ho,t=>t.slice(1).toUpperCase())),$o=/\B([A-Z])/g,at=Nn(e=>e.replace($o,"-$1").toLowerCase()),Dn=Nn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=Nn(e=>e?`on${Dn(e)}`:""),ot=(e,t)=>!Object.is(e,t),Zn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Zr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vo=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let rr;const Fn=()=>rr||(rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Hs(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ce(s)?Bo(s):Hs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ce(e)||ne(e))return e}const ko=/;(?![^(]*\))/g,Uo=/:([^]+)/,Wo=/\/\*[^]*?\*\//g;function Bo(e){const t={};return e.replace(Wo,"").split(ko).forEach(n=>{if(n){const s=n.split(Uo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function $s(e){let t="";if(ce(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=$s(e[n]);s&&(t+=s+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ko="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qo=Is(Ko);function ei(e){return!!e||e===""}const ti=e=>!!(e&&e.__v_isRef===!0),Go=e=>ce(e)?e:e==null?"":B(e)||ne(e)&&(e.toString===Jr||!z(e.toString))?ti(e)?Go(e.value):JSON.stringify(e,ni,2):String(e),ni=(e,t)=>ti(t)?ni(e,t.value):Mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[es(s,i)+" =>"]=r,n),{})}:Xr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>es(n))}:Ze(t)?es(t):ne(t)&&!B(t)&&!Qr(t)?String(t):t,es=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.22
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let ge;class zo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ge,!t&&ge&&(this.index=(ge.scopes||(ge.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ge;try{return ge=this,t()}finally{ge=n}}}on(){++this._on===1&&(this.prevScope=ge,ge=this)}off(){this._on>0&&--this._on===0&&(ge=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function si(){return ge}function Xo(e,t=!1){ge&&ge.cleanups.push(e)}let re;const ts=new WeakSet;class ri{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ge&&ge.active&&ge.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ts.has(this)&&(ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||oi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ir(this),li(this);const t=re,n=Fe;re=this,Fe=!0;try{return this.fn()}finally{ci(this),re=t,Fe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ks(t);this.deps=this.depsTail=void 0,ir(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ys(this)&&this.run()}get dirty(){return ys(this)}}let ii=0,Ut,Wt;function oi(e,t=!1){if(e.flags|=8,t){e.next=Wt,Wt=e;return}e.next=Ut,Ut=e}function js(){ii++}function Vs(){if(--ii>0)return;if(Wt){let t=Wt;for(Wt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ut;){let t=Ut;for(Ut=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function li(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ci(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),ks(s),Yo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ys(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ai(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ai(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gt)||(e.globalVersion=Gt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ys(e))))return;e.flags|=2;const t=e.dep,n=re,s=Fe;re=e,Fe=!0;try{li(e);const r=e.fn(e._value);(t.version===0||ot(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{re=n,Fe=s,ci(e),e.flags&=-3}}function ks(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)ks(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Yo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Fe=!0;const fi=[];function Ye(){fi.push(Fe),Fe=!1}function Je(){const e=fi.pop();Fe=e===void 0?!0:e}function ir(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let Gt=0;class Jo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!re||!Fe||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new Jo(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,ui(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,Gt++,this.notify(t)}notify(t){js();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Vs()}}}function ui(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ui(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xn=new WeakMap,mt=Symbol(""),_s=Symbol(""),zt=Symbol("");function ve(e,t,n){if(Fe&&re){let s=xn.get(e);s||xn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Hn),r.map=s,r.key=n),r.track()}}function Xe(e,t,n,s,r,i){const l=xn.get(e);if(!l){Gt++;return}const o=c=>{c&&c.trigger()};if(js(),t==="clear")l.forEach(o);else{const c=B(e),u=c&&Fs(n);if(c&&n==="length"){const a=Number(s);l.forEach((h,y)=>{(y==="length"||y===zt||!Ze(y)&&y>=a)&&o(h)})}else switch((n!==void 0||l.has(void 0))&&o(l.get(n)),u&&o(l.get(zt)),t){case"add":c?u&&o(l.get("length")):(o(l.get(mt)),Mt(e)&&o(l.get(_s)));break;case"delete":c||(o(l.get(mt)),Mt(e)&&o(l.get(_s)));break;case"set":Mt(e)&&o(l.get(mt));break}}Vs()}function Qo(e,t){const n=xn.get(e);return n&&n.get(t)}function Ct(e){const t=Q(e);return t===e?t:(ve(t,"iterate",zt),Pe(e)?t:t.map(ue))}function $n(e){return ve(e=Q(e),"iterate",zt),e}const Zo={__proto__:null,[Symbol.iterator](){return ns(this,Symbol.iterator,ue)},concat(...e){return Ct(this).concat(...e.map(t=>B(t)?Ct(t):t))},entries(){return ns(this,"entries",e=>(e[1]=ue(e[1]),e))},every(e,t){return Ke(this,"every",e,t,void 0,arguments)},filter(e,t){return Ke(this,"filter",e,t,n=>n.map(ue),arguments)},find(e,t){return Ke(this,"find",e,t,ue,arguments)},findIndex(e,t){return Ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ke(this,"findLast",e,t,ue,arguments)},findLastIndex(e,t){return Ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return ss(this,"includes",e)},indexOf(...e){return ss(this,"indexOf",e)},join(e){return Ct(this).join(e)},lastIndexOf(...e){return ss(this,"lastIndexOf",e)},map(e,t){return Ke(this,"map",e,t,void 0,arguments)},pop(){return jt(this,"pop")},push(...e){return jt(this,"push",e)},reduce(e,...t){return or(this,"reduce",e,t)},reduceRight(e,...t){return or(this,"reduceRight",e,t)},shift(){return jt(this,"shift")},some(e,t){return Ke(this,"some",e,t,void 0,arguments)},splice(...e){return jt(this,"splice",e)},toReversed(){return Ct(this).toReversed()},toSorted(e){return Ct(this).toSorted(e)},toSpliced(...e){return Ct(this).toSpliced(...e)},unshift(...e){return jt(this,"unshift",e)},values(){return ns(this,"values",ue)}};function ns(e,t,n){const s=$n(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const el=Array.prototype;function Ke(e,t,n,s,r,i){const l=$n(e),o=l!==e&&!Pe(e),c=l[t];if(c!==el[t]){const h=c.apply(e,i);return o?ue(h):h}let u=n;l!==e&&(o?u=function(h,y){return n.call(this,ue(h),y,e)}:n.length>2&&(u=function(h,y){return n.call(this,h,y,e)}));const a=c.call(l,u,s);return o&&r?r(a):a}function or(e,t,n,s){const r=$n(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(l,o,c){return n.call(this,l,o,c,e)}):i=function(l,o,c){return n.call(this,l,ue(o),c,e)}),r[t](i,...s)}function ss(e,t,n){const s=Q(e);ve(s,"iterate",zt);const r=s[t](...n);return(r===-1||r===!1)&&Us(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function jt(e,t,n=[]){Ye(),js();const s=Q(e)[t].apply(e,n);return Vs(),Je(),s}const tl=Is("__proto__,__v_isRef,__isVue"),di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze));function nl(e){Ze(e)||(e=String(e));const t=Q(this);return ve(t,"has",e),t.hasOwnProperty(e)}class hi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?_i:yi:i?vi:mi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const l=B(t);if(!r){let c;if(l&&(c=Zo[n]))return c;if(n==="hasOwnProperty")return nl}const o=Reflect.get(t,n,ae(t)?t:s);if((Ze(n)?di.has(n):tl(n))||(r||ve(t,"get",n),i))return o;if(ae(o)){const c=l&&Fs(n)?o:o.value;return r&&ne(c)?Dt(c):c}return ne(o)?r?Dt(o):Nt(o):o}}class pi extends hi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=lt(i);if(!Pe(s)&&!lt(s)&&(i=Q(i),s=Q(s)),!B(t)&&ae(i)&&!ae(s))return c||(i.value=s),!0}const l=B(t)&&Fs(n)?Number(n)<t.length:Z(t,n),o=Reflect.set(t,n,s,ae(t)?t:r);return t===Q(r)&&(l?ot(s,i)&&Xe(t,"set",n,s):Xe(t,"add",n,s)),o}deleteProperty(t,n){const s=Z(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Xe(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ze(n)||!di.has(n))&&ve(t,"has",n),s}ownKeys(t){return ve(t,"iterate",B(t)?"length":mt),Reflect.ownKeys(t)}}class gi extends hi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const sl=new pi,rl=new gi,il=new pi(!0),ol=new gi(!0),bs=e=>e,on=e=>Reflect.getPrototypeOf(e);function ll(e,t,n){return function(...s){const r=this.__v_raw,i=Q(r),l=Mt(i),o=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,u=r[e](...s),a=n?bs:t?En:ue;return!t&&ve(i,"iterate",c?_s:mt),{next(){const{value:h,done:y}=u.next();return y?{value:h,done:y}:{value:o?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function ln(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cl(e,t){const n={get(r){const i=this.__v_raw,l=Q(i),o=Q(r);e||(ot(r,o)&&ve(l,"get",r),ve(l,"get",o));const{has:c}=on(l),u=t?bs:e?En:ue;if(c.call(l,r))return u(i.get(r));if(c.call(l,o))return u(i.get(o));i!==l&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ve(Q(r),"iterate",mt),r.size},has(r){const i=this.__v_raw,l=Q(i),o=Q(r);return e||(ot(r,o)&&ve(l,"has",r),ve(l,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const l=this,o=l.__v_raw,c=Q(o),u=t?bs:e?En:ue;return!e&&ve(c,"iterate",mt),o.forEach((a,h)=>r.call(i,u(a),u(h),l))}};return fe(n,e?{add:ln("add"),set:ln("set"),delete:ln("delete"),clear:ln("clear")}:{add(r){!t&&!Pe(r)&&!lt(r)&&(r=Q(r));const i=Q(this);return on(i).has.call(i,r)||(i.add(r),Xe(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!lt(i)&&(i=Q(i));const l=Q(this),{has:o,get:c}=on(l);let u=o.call(l,r);u||(r=Q(r),u=o.call(l,r));const a=c.call(l,r);return l.set(r,i),u?ot(i,a)&&Xe(l,"set",r,i):Xe(l,"add",r,i),this},delete(r){const i=Q(this),{has:l,get:o}=on(i);let c=l.call(i,r);c||(r=Q(r),c=l.call(i,r)),o&&o.call(i,r);const u=i.delete(r);return c&&Xe(i,"delete",r,void 0),u},clear(){const r=Q(this),i=r.size!==0,l=r.clear();return i&&Xe(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ll(r,e,t)}),n}function jn(e,t){const n=cl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Z(n,r)&&r in s?n:s,r,i)}const al={get:jn(!1,!1)},fl={get:jn(!1,!0)},ul={get:jn(!0,!1)},dl={get:jn(!0,!0)},mi=new WeakMap,vi=new WeakMap,yi=new WeakMap,_i=new WeakMap;function hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pl(e){return e.__v_skip||!Object.isExtensible(e)?0:hl(Fo(e))}function Nt(e){return lt(e)?e:Vn(e,!1,sl,al,mi)}function gl(e){return Vn(e,!1,il,fl,vi)}function Dt(e){return Vn(e,!0,rl,ul,yi)}function Tf(e){return Vn(e,!0,ol,dl,_i)}function Vn(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=pl(e);if(i===0)return e;const l=r.get(e);if(l)return l;const o=new Proxy(e,i===2?s:n);return r.set(e,o),o}function vt(e){return lt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function lt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Us(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function yn(e){return!Z(e,"__v_skip")&&Object.isExtensible(e)&&Zr(e,"__v_skip",!0),e}const ue=e=>ne(e)?Nt(e):e,En=e=>ne(e)?Dt(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function yt(e){return bi(e,!1)}function Ie(e){return bi(e,!0)}function bi(e,t){return ae(e)?e:new ml(e,t)}class ml{constructor(t,n){this.dep=new Hn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:ue(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||lt(t);t=s?t:Q(t),ot(t,n)&&(this._rawValue=t,this._value=s?t:ue(t),this.dep.trigger())}}function Ws(e){return ae(e)?e.value:e}function le(e){return z(e)?e():Ws(e)}const vl={get:(e,t,n)=>t==="__v_raw"?e:Ws(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function wi(e){return vt(e)?e:new Proxy(e,vl)}class yl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Hn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function _l(e){return new yl(e)}class bl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Qo(Q(this._object),this._key)}}class wl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Sl(e,t,n){return ae(e)?e:z(e)?new wl(e):ne(e)&&arguments.length>1?xl(e,t,n):yt(e)}function xl(e,t,n){const s=e[t];return ae(s)?s:new bl(e,t,n)}class El{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return oi(this,!0),!0}get value(){const t=this.dep.track();return ai(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tl(e,t,n=!1){let s,r;return z(e)?s=e:(s=e.get,r=e.set),new El(s,r,n)}const cn={},Tn=new WeakMap;let pt;function Cl(e,t=!1,n=pt){if(n){let s=Tn.get(n);s||Tn.set(n,s=[]),s.push(e)}}function Al(e,t,n=ie){const{immediate:s,deep:r,once:i,scheduler:l,augmentJob:o,call:c}=n,u=p=>r?p:Pe(p)||r===!1||r===0?rt(p,1):rt(p);let a,h,y,v,C=!1,I=!1;if(ae(e)?(h=()=>e.value,C=Pe(e)):vt(e)?(h=()=>u(e),C=!0):B(e)?(I=!0,C=e.some(p=>vt(p)||Pe(p)),h=()=>e.map(p=>{if(ae(p))return p.value;if(vt(p))return u(p);if(z(p))return c?c(p,2):p()})):z(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){Ye();try{y()}finally{Je()}}const p=pt;pt=a;try{return c?c(e,3,[v]):e(v)}finally{pt=p}}:h=We,t&&r){const p=h,O=r===!0?1/0:r;h=()=>rt(p(),O)}const X=si(),$=()=>{a.stop(),X&&X.active&&Ds(X.effects,a)};if(i&&t){const p=t;t=(...O)=>{p(...O),$()}}let K=I?new Array(e.length).fill(cn):cn;const g=p=>{if(!(!(a.flags&1)||!a.dirty&&!p))if(t){const O=a.run();if(r||C||(I?O.some((k,V)=>ot(k,K[V])):ot(O,K))){y&&y();const k=pt;pt=a;try{const V=[O,K===cn?void 0:I&&K[0]===cn?[]:K,v];K=O,c?c(t,3,V):t(...V)}finally{pt=k}}}else a.run()};return o&&o(g),a=new ri(h),a.scheduler=l?()=>l(g,!1):g,v=p=>Cl(p,!1,a),y=a.onStop=()=>{const p=Tn.get(a);if(p){if(c)c(p,4);else for(const O of p)O();Tn.delete(a)}},t?s?g(!0):K=a.run():l?l(g.bind(null,!0),!0):a.run(),$.pause=a.pause.bind(a),$.resume=a.resume.bind(a),$.stop=$,$}function rt(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ae(e))rt(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)rt(e[s],t,n);else if(Xr(e)||Mt(e))e.forEach(s=>{rt(s,t,n)});else if(Qr(e)){for(const s in e)rt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&rt(e[s],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.22
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function nn(e,t,n,s){try{return s?e(...s):e()}catch(r){kn(r,t,n)}}function He(e,t,n,s){if(z(e)){const r=nn(e,t,n,s);return r&&Yr(r)&&r.catch(i=>{kn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(He(e[i],t,n,s));return r}}function kn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||ie;if(t){let o=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const a=o.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,u)===!1)return}o=o.parent}if(i){Ye(),nn(i,null,10,[e,c,u]),Je();return}}Rl(e,n,r,s,l)}function Rl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const be=[];let ke=-1;const Pt=[];let nt=null,Rt=0;const Si=Promise.resolve();let Cn=null;function Un(e){const t=Cn||Si;return e?t.then(this?e.bind(this):e):t}function Ol(e){let t=ke+1,n=be.length;for(;t<n;){const s=t+n>>>1,r=be[s],i=Xt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Bs(e){if(!(e.flags&1)){const t=Xt(e),n=be[be.length-1];!n||!(e.flags&2)&&t>=Xt(n)?be.push(e):be.splice(Ol(t),0,e),e.flags|=1,xi()}}function xi(){Cn||(Cn=Si.then(Ei))}function Ml(e){B(e)?Pt.push(...e):nt&&e.id===-1?nt.splice(Rt+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),xi()}function lr(e,t,n=ke+1){for(;n<be.length;n++){const s=be[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;be.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function An(e){if(Pt.length){const t=[...new Set(Pt)].sort((n,s)=>Xt(n)-Xt(s));if(Pt.length=0,nt){nt.push(...t);return}for(nt=t,Rt=0;Rt<nt.length;Rt++){const n=nt[Rt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nt=null,Rt=0}}const Xt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ei(e){try{for(ke=0;ke<be.length;ke++){const t=be[ke];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ke<be.length;ke++){const t=be[ke];t&&(t.flags&=-2)}ke=-1,be.length=0,An(),Cn=null,(be.length||Pt.length)&&Ei()}}let Se=null,Ti=null;function Rn(e){const t=Se;return Se=e,Ti=e&&e.type.__scopeId||null,t}function Ll(e,t=Se,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ln(-1);const i=Rn(t);let l;try{l=e(...r)}finally{Rn(i),s._d&&Ln(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Ue(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let l=0;l<r.length;l++){const o=r[l];i&&(o.oldValue=i[l].value);let c=o.dir[s];c&&(Ye(),He(c,n,8,[e.el,o,e,t]),Je())}}const Pl=Symbol("_vte"),Ci=e=>e.__isTeleport,ze=Symbol("_leaveCb"),an=Symbol("_enterCb");function Il(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ft(()=>{e.isMounted=!0}),Di(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],Ai={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},Ri=e=>{const t=e.subTree;return t.component?Ri(t.component):t},Nl={name:"BaseTransition",props:Ai,setup(e,{slots:t}){const n=Et(),s=Il();return()=>{const r=t.default&&Li(t.default(),!0);if(!r||!r.length)return;const i=Oi(r),l=Q(e),{mode:o}=l;if(s.isLeaving)return rs(i);const c=cr(i);if(!c)return rs(i);let u=ws(c,l,s,n,h=>u=h);c.type!==de&&Yt(c,u);let a=n.subTree&&cr(n.subTree);if(a&&a.type!==de&&!gt(a,c)&&Ri(n).type!==de){let h=ws(a,l,s,n);if(Yt(a,h),o==="out-in"&&c.type!==de)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},rs(i);o==="in-out"&&c.type!==de?h.delayLeave=(y,v,C)=>{const I=Mi(s,a);I[String(a.key)]=a,y[ze]=()=>{v(),y[ze]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{C(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Oi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==de){t=n;break}}return t}const Dl=Nl;function Mi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ws(e,t,n,s,r){const{appear:i,mode:l,persisted:o=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:v,onAfterLeave:C,onLeaveCancelled:I,onBeforeAppear:X,onAppear:$,onAfterAppear:K,onAppearCancelled:g}=t,p=String(e.key),O=Mi(n,e),k=(_,A)=>{_&&He(_,s,9,A)},V=(_,A)=>{const D=A[1];k(_,A),B(_)?_.every(S=>S.length<=1)&&D():_.length<=1&&D()},G={mode:l,persisted:o,beforeEnter(_){let A=c;if(!n.isMounted)if(i)A=X||c;else return;_[ze]&&_[ze](!0);const D=O[p];D&>(e,D)&&D.el[ze]&&D.el[ze](),k(A,[_])},enter(_){let A=u,D=a,S=h;if(!n.isMounted)if(i)A=$||u,D=K||a,S=g||h;else return;let H=!1;const N=_[an]=U=>{H||(H=!0,U?k(S,[_]):k(D,[_]),G.delayedLeave&&G.delayedLeave(),_[an]=void 0)};A?V(A,[_,N]):N()},leave(_,A){const D=String(e.key);if(_[an]&&_[an](!0),n.isUnmounting)return A();k(y,[_]);let S=!1;const H=_[ze]=N=>{S||(S=!0,A(),N?k(I,[_]):k(C,[_]),_[ze]=void 0,O[D]===e&&delete O[D])};O[D]=e,v?V(v,[_,H]):H()},clone(_){const A=ws(_,t,n,s,r);return r&&r(A),A}};return G}function rs(e){if(Wn(e))return e=ct(e),e.children=null,e}function cr(e){if(!Wn(e))return Ci(e.type)&&e.children?Oi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&z(n.default))return n.default()}}function Yt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Yt(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 Li(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let l=e[i];const o=n==null?l.key:String(n)+String(l.key!=null?l.key:i);l.type===we?(l.patchFlag&128&&r++,s=s.concat(Li(l.children,t,o))):(t||l.type!==de)&&s.push(o!=null?ct(l,{key:o}):l)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Pi(e,t){return z(e)?fe({name:e.name},t,{setup:e}):e}function Ii(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const On=new WeakMap;function It(e,t,n,s,r=!1){if(B(e)){e.forEach((C,I)=>It(C,t&&(B(t)?t[I]:t),n,s,r));return}if(_t(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&It(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?zs(s.component):s.el,l=r?null:i,{i:o,r:c}=e,u=t&&t.r,a=o.refs===ie?o.refs={}:o.refs,h=o.setupState,y=Q(h),v=h===ie?zr:C=>Z(y,C);if(u!=null&&u!==c){if(ar(t),ce(u))a[u]=null,v(u)&&(h[u]=null);else if(ae(u)){u.value=null;const C=t;C.k&&(a[C.k]=null)}}if(z(c))nn(c,o,12,[l,a]);else{const C=ce(c),I=ae(c);if(C||I){const X=()=>{if(e.f){const $=C?v(c)?h[c]:a[c]:c.value;if(r)B($)&&Ds($,i);else if(B($))$.includes(i)||$.push(i);else if(C)a[c]=[i],v(c)&&(h[c]=a[c]);else{const K=[i];c.value=K,e.k&&(a[e.k]=K)}}else C?(a[c]=l,v(c)&&(h[c]=l)):I&&(c.value=l,e.k&&(a[e.k]=l))};if(l){const $=()=>{X(),On.delete(e)};$.id=-1,On.set(e,$),Ce($,n)}else ar(e),X()}}}function ar(e){const t=On.get(e);t&&(t.flags|=8,On.delete(e))}let fr=!1;const At=()=>{fr||(console.error("Hydration completed but contains mismatches."),fr=!0)},Fl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hl=e=>e.namespaceURI.includes("MathML"),fn=e=>{if(e.nodeType===1){if(Fl(e))return"svg";if(Hl(e))return"mathml"}},un=e=>e.nodeType===8;function $l(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:l,remove:o,insert:c,createComment:u}}=e,a=(g,p)=>{if(!p.hasChildNodes()){n(null,g,p),An(),p._vnode=g;return}h(p.firstChild,g,null,null,null),An(),p._vnode=g},h=(g,p,O,k,V,G=!1)=>{G=G||!!p.dynamicChildren;const _=un(g)&&g.data==="[",A=()=>I(g,p,O,k,V,_),{type:D,ref:S,shapeFlag:H,patchFlag:N}=p;let U=g.nodeType;p.el=g,N===-2&&(G=!1,p.dynamicChildren=null);let M=null;switch(D){case St:U!==3?p.children===""?(c(p.el=r(""),l(g),g),M=g):M=A():(g.data!==p.children&&(At(),g.data=p.children),M=i(g));break;case de:K(g)?(M=i(g),$(p.el=g.content.firstChild,g,O)):U!==8||_?M=A():M=i(g);break;case Kt:if(_&&(g=i(g),U=g.nodeType),U===1||U===3){M=g;const Y=!p.children.length;for(let F=0;F<p.staticCount;F++)Y&&(p.children+=M.nodeType===1?M.outerHTML:M.data),F===p.staticCount-1&&(p.anchor=M),M=i(M);return _?i(M):M}else A();break;case we:_?M=C(g,p,O,k,V,G):M=A();break;default:if(H&1)(U!==1||p.type.toLowerCase()!==g.tagName.toLowerCase())&&!K(g)?M=A():M=y(g,p,O,k,V,G);else if(H&6){p.slotScopeIds=V;const Y=l(g);if(_?M=X(g):un(g)&&g.data==="teleport start"?M=X(g,g.data,"teleport end"):M=i(g),t(p,Y,null,O,k,fn(Y),G),_t(p)&&!p.type.__asyncResolved){let F;_?(F=he(we),F.anchor=M?M.previousSibling:Y.lastChild):F=g.nodeType===3?fo(""):he("div"),F.el=g,p.component.subTree=F}}else H&64?U!==8?M=A():M=p.type.hydrate(g,p,O,k,V,G,e,v):H&128&&(M=p.type.hydrate(g,p,O,k,fn(l(g)),V,G,e,h))}return S!=null&&It(S,null,k,p),M},y=(g,p,O,k,V,G)=>{G=G||!!p.dynamicChildren;const{type:_,props:A,patchFlag:D,shapeFlag:S,dirs:H,transition:N}=p,U=_==="input"||_==="option";if(U||D!==-1){H&&Ue(p,null,O,"created");let M=!1;if(K(g)){M=Qi(null,N)&&O&&O.vnode.props&&O.vnode.props.appear;const F=g.content.firstChild;if(M){const te=F.getAttribute("class");te&&(F.$cls=te),N.beforeEnter(F)}$(F,g,O),p.el=g=F}if(S&16&&!(A&&(A.innerHTML||A.textContent))){let F=v(g.firstChild,p,g,O,k,V,G);for(;F;){dn(g,1)||At();const te=F;F=F.nextSibling,o(te)}}else if(S&8){let F=p.children;F[0]===`
|
|
14
|
-
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(F=F.slice(1)),g.textContent!==F&&(dn(g,0)||At(),g.textContent=p.children)}if(A){if(U||!G||D&48){const F=g.tagName.includes("-");for(const te in A)(U&&(te.endsWith("value")||te==="indeterminate")||tn(te)&&!Lt(te)||te[0]==="."||F)&&s(g,te,null,A[te],void 0,O)}else if(A.onClick)s(g,"onClick",null,A.onClick,void 0,O);else if(D&4&&vt(A.style))for(const F in A.style)A.style[F]}let Y;(Y=A&&A.onVnodeBeforeMount)&&Me(Y,O,p),H&&Ue(p,null,O,"beforeMount"),((Y=A&&A.onVnodeMounted)||H||M)&&oo(()=>{Y&&Me(Y,O,p),M&&N.enter(g),H&&Ue(p,null,O,"mounted")},k)}return g.nextSibling},v=(g,p,O,k,V,G,_)=>{_=_||!!p.dynamicChildren;const A=p.children,D=A.length;for(let S=0;S<D;S++){const H=_?A[S]:A[S]=Le(A[S]),N=H.type===St;g?(N&&!_&&S+1<D&&Le(A[S+1]).type===St&&(c(r(g.data.slice(H.children.length)),O,i(g)),g.data=H.children),g=h(g,H,k,V,G,_)):N&&!H.children?c(H.el=r(""),O):(dn(O,1)||At(),n(null,H,O,null,k,V,fn(O),G))}return g},C=(g,p,O,k,V,G)=>{const{slotScopeIds:_}=p;_&&(V=V?V.concat(_):_);const A=l(g),D=v(i(g),p,A,O,k,V,G);return D&&un(D)&&D.data==="]"?i(p.anchor=D):(At(),c(p.anchor=u("]"),A,D),D)},I=(g,p,O,k,V,G)=>{if(dn(g.parentElement,1)||At(),p.el=null,G){const D=X(g);for(;;){const S=i(g);if(S&&S!==D)o(S);else break}}const _=i(g),A=l(g);return o(g),n(null,p,A,_,O,k,fn(A),V),O&&(O.vnode.el=p.el,ro(O,p.el)),_},X=(g,p="[",O="]")=>{let k=0;for(;g;)if(g=i(g),g&&un(g)&&(g.data===p&&k++,g.data===O)){if(k===0)return i(g);k--}return g},$=(g,p,O)=>{const k=p.parentNode;k&&k.replaceChild(g,p);let V=O;for(;V;)V.vnode.el===p&&(V.vnode.el=V.subTree.el=g),V=V.parent},K=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[a,h]}const ur="data-allow-mismatch",jl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function dn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ur);)e=e.parentElement;const n=e&&e.getAttribute(ur);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(jl[t])}}Fn().requestIdleCallback;Fn().cancelIdleCallback;const _t=e=>!!e.type.__asyncLoader,Wn=e=>e.type.__isKeepAlive;function Vl(e,t){Ni(e,"a",t)}function kl(e,t){Ni(e,"da",t)}function Ni(e,t,n=ye){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Bn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Wn(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=Bn(t,e,s,!0);Kn(()=>{Ds(s[t],r)},n)}function Bn(e,t,n=ye,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{Ye();const o=sn(n),c=He(t,n,e,l);return o(),Je(),c});return s?r.unshift(i):r.push(i),i}}const et=e=>(t,n=ye)=>{(!Zt||e==="sp")&&Bn(e,(...s)=>t(...s),n)},Wl=et("bm"),Ft=et("m"),Bl=et("bu"),Kl=et("u"),Di=et("bum"),Kn=et("um"),ql=et("sp"),Gl=et("rtg"),zl=et("rtc");function Xl(e,t=ye){Bn("ec",e,t)}const Fi="components";function Cf(e,t){return $i(Fi,e,!0,t)||e}const Hi=Symbol.for("v-ndc");function Af(e){return ce(e)?$i(Fi,e,!1)||e:e||Hi}function $i(e,t,n=!0,s=!1){const r=Se||ye;if(r){const i=r.type;{const o=Nc(i,!1);if(o&&(o===t||o===Ne(t)||o===Dn(Ne(t))))return i}const l=dr(r[e]||i[e],t)||dr(r.appContext[e],t);return!l&&s?i:l}}function dr(e,t){return e&&(e[t]||e[Ne(t)]||e[Dn(Ne(t))])}function Rf(e,t,n,s){let r;const i=n,l=B(e);if(l||ce(e)){const o=l&&vt(e);let c=!1,u=!1;o&&(c=!Pe(e),u=lt(e),e=$n(e)),r=new Array(e.length);for(let a=0,h=e.length;a<h;a++)r[a]=t(c?u?En(ue(e[a])):ue(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i)}else if(ne(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,u=o.length;c<u;c++){const a=o[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function Of(e,t,n={},s,r){if(Se.ce||Se.parent&&_t(Se.parent)&&Se.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Cs(),As(we,null,[he("slot",n,s&&s())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Cs();const l=i&&ji(i(n)),o=n.key||l&&l.key,c=As(we,{key:(o&&!Ze(o)?o:`_${t}`)+(!l&&s?"_fb":"")},l||(s?s():[]),l&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function ji(e){return e.some(t=>Qt(t)?!(t.type===de||t.type===we&&!ji(t.children)):!0)?e:null}function Mf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:vn(s)]=e[s];return n}const Ss=e=>e?uo(e)?zs(e):Ss(e.parent):null,Bt=fe(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=>Ss(e.parent),$root:e=>Ss(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ki(e),$forceUpdate:e=>e.f||(e.f=()=>{Bs(e.update)}),$nextTick:e=>e.n||(e.n=Un.bind(e.proxy)),$watch:e=>vc.bind(e)}),is=(e,t)=>e!==ie&&!e.__isScriptSetup&&Z(e,t),Yl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:l,type:o,appContext:c}=e;let u;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(is(s,t))return l[t]=1,s[t];if(r!==ie&&Z(r,t))return l[t]=2,r[t];if((u=e.propsOptions[0])&&Z(u,t))return l[t]=3,i[t];if(n!==ie&&Z(n,t))return l[t]=4,n[t];xs&&(l[t]=0)}}const a=Bt[t];let h,y;if(a)return t==="$attrs"&&ve(e.attrs,"get",""),a(e);if((h=o.__cssModules)&&(h=h[t]))return h;if(n!==ie&&Z(n,t))return l[t]=4,n[t];if(y=c.config.globalProperties,Z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return is(r,t)?(r[t]=n,!0):s!==ie&&Z(s,t)?(s[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i,type:l}},o){let c,u;return!!(n[o]||e!==ie&&o[0]!=="$"&&Z(e,o)||is(t,o)||(c=i[0])&&Z(c,o)||Z(s,o)||Z(Bt,o)||Z(r.config.globalProperties,o)||(u=l.__cssModules)&&u[o])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Lf(){return Jl().slots}function Jl(e){const t=Et();return t.setupContext||(t.setupContext=po(t))}function hr(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xs=!0;function Ql(e){const t=ki(e),n=e.proxy,s=e.ctx;xs=!1,t.beforeCreate&&pr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:c,inject:u,created:a,beforeMount:h,mounted:y,beforeUpdate:v,updated:C,activated:I,deactivated:X,beforeDestroy:$,beforeUnmount:K,destroyed:g,unmounted:p,render:O,renderTracked:k,renderTriggered:V,errorCaptured:G,serverPrefetch:_,expose:A,inheritAttrs:D,components:S,directives:H,filters:N}=t;if(u&&Zl(u,s,null),l)for(const Y in l){const F=l[Y];z(F)&&(s[Y]=F.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=Nt(Y))}if(xs=!0,i)for(const Y in i){const F=i[Y],te=z(F)?F.bind(n,n):z(F.get)?F.get.bind(n,n):We,ft=!z(F)&&z(F.set)?F.set.bind(n):We,$e=oe({get:te,set:ft});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>$e.value,set:je=>$e.value=je})}if(o)for(const Y in o)Vi(o[Y],s,n,Y);if(c){const Y=z(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(F=>{ic(F,Y[F])})}a&&pr(a,e,"c");function M(Y,F){B(F)?F.forEach(te=>Y(te.bind(n))):F&&Y(F.bind(n))}if(M(Wl,h),M(Ft,y),M(Bl,v),M(Kl,C),M(Vl,I),M(kl,X),M(Xl,G),M(zl,k),M(Gl,V),M(Di,K),M(Kn,p),M(ql,_),B(A))if(A.length){const Y=e.exposed||(e.exposed={});A.forEach(F=>{Object.defineProperty(Y,F,{get:()=>n[F],set:te=>n[F]=te,enumerable:!0})})}else e.exposed||(e.exposed={});O&&e.render===We&&(e.render=O),D!=null&&(e.inheritAttrs=D),S&&(e.components=S),H&&(e.directives=H),_&&Ii(e)}function Zl(e,t,n=We){B(e)&&(e=Es(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=wt(r.from||s,r.default,!0):i=wt(r.from||s):i=wt(r),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function pr(e,t,n){He(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vi(e,t,n,s){let r=s.includes(".")?no(n,s):()=>n[s];if(ce(e)){const i=t[e];z(i)&&Re(r,i)}else if(z(e))Re(r,e.bind(n));else if(ne(e))if(B(e))e.forEach(i=>Vi(i,t,n,s));else{const i=z(e.handler)?e.handler.bind(n):t[e.handler];z(i)&&Re(r,i,e)}}function ki(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let c;return o?c=o:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Mn(c,u,l,!0)),Mn(c,t,l)),ne(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Mn(e,i,n,!0),r&&r.forEach(l=>Mn(e,l,n,!0));for(const l in t)if(!(s&&l==="expose")){const o=ec[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const ec={data:gr,props:mr,emits:mr,methods:kt,computed:kt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:kt,directives:kt,watch:nc,provide:gr,inject:tc};function gr(e,t){return t?e?function(){return fe(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function tc(e,t){return kt(Es(e),Es(t))}function Es(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function kt(e,t){return e?fe(Object.create(null),e,t):t}function mr(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:fe(Object.create(null),hr(e),hr(t??{})):t}function nc(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const s in t)n[s]=_e(e[s],t[s]);return n}function Ui(){return{app:null,config:{isNativeTag:zr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let sc=0;function rc(e,t){return function(s,r=null){z(s)||(s=fe({},s)),r!=null&&!ne(r)&&(r=null);const i=Ui(),l=new WeakSet,o=[];let c=!1;const u=i.app={_uid:sc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Fc,get config(){return i.config},set config(a){},use(a,...h){return l.has(a)||(a&&z(a.install)?(l.add(a),a.install(u,...h)):z(a)&&(l.add(a),a(u,...h))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,h){return h?(i.components[a]=h,u):i.components[a]},directive(a,h){return h?(i.directives[a]=h,u):i.directives[a]},mount(a,h,y){if(!c){const v=u._ceVNode||he(s,r);return v.appContext=i,y===!0?y="svg":y===!1&&(y=void 0),h&&t?t(v,a):e(v,a,y),c=!0,u._container=a,a.__vue_app__=u,zs(v.component)}},onUnmount(a){o.push(a)},unmount(){c&&(He(o,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,h){return i.provides[a]=h,u},runWithContext(a){const h=bt;bt=u;try{return a()}finally{bt=h}}};return u}}let bt=null;function ic(e,t){if(ye){let n=ye.provides;const s=ye.parent&&ye.parent.provides;s===n&&(n=ye.provides=Object.create(s)),n[e]=t}}function wt(e,t,n=!1){const s=Et();if(s||bt){let r=bt?bt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&z(t)?t.call(s&&s.proxy):t}}function Wi(){return!!(Et()||bt)}const Bi={},Ki=()=>Object.create(Bi),qi=e=>Object.getPrototypeOf(e)===Bi;function oc(e,t,n,s=!1){const r={},i=Ki();e.propsDefaults=Object.create(null),Gi(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=s?r:gl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function lc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=Q(r),[c]=e.propsOptions;let u=!1;if((s||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let y=a[h];if(Gn(e.emitsOptions,y))continue;const v=t[y];if(c)if(Z(i,y))v!==i[y]&&(i[y]=v,u=!0);else{const C=Ne(y);r[C]=Ts(c,o,C,v,e,!1)}else v!==i[y]&&(i[y]=v,u=!0)}}}else{Gi(e,t,r,i)&&(u=!0);let a;for(const h in o)(!t||!Z(t,h)&&((a=at(h))===h||!Z(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(r[h]=Ts(c,o,h,void 0,e,!0)):delete r[h]);if(i!==o)for(const h in i)(!t||!Z(t,h))&&(delete i[h],u=!0)}u&&Xe(e.attrs,"set","")}function Gi(e,t,n,s){const[r,i]=e.propsOptions;let l=!1,o;if(t)for(let c in t){if(Lt(c))continue;const u=t[c];let a;r&&Z(r,a=Ne(c))?!i||!i.includes(a)?n[a]=u:(o||(o={}))[a]=u:Gn(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,l=!0)}if(i){const c=Q(n),u=o||ie;for(let a=0;a<i.length;a++){const h=i[a];n[h]=Ts(r,c,h,u[h],e,!Z(u,h))}}return l}function Ts(e,t,n,s,r,i){const l=e[n];if(l!=null){const o=Z(l,"default");if(o&&s===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&z(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=sn(r);s=u[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}l[0]&&(i&&!o?s=!1:l[1]&&(s===""||s===at(n))&&(s=!0))}return s}const cc=new WeakMap;function zi(e,t,n=!1){const s=n?cc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,l={},o=[];let c=!1;if(!z(e)){const a=h=>{c=!0;const[y,v]=zi(h,t,!0);fe(l,y),v&&o.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,Ot),Ot;if(B(i))for(let a=0;a<i.length;a++){const h=Ne(i[a]);vr(h)&&(l[h]=ie)}else if(i)for(const a in i){const h=Ne(a);if(vr(h)){const y=i[a],v=l[h]=B(y)||z(y)?{type:y}:fe({},y),C=v.type;let I=!1,X=!0;if(B(C))for(let $=0;$<C.length;++$){const K=C[$],g=z(K)&&K.name;if(g==="Boolean"){I=!0;break}else g==="String"&&(X=!1)}else I=z(C)&&C.name==="Boolean";v[0]=I,v[1]=X,(I||Z(v,"default"))&&o.push(h)}}const u=[l,o];return ne(e)&&s.set(e,u),u}function vr(e){return e[0]!=="$"&&!Lt(e)}const Ks=e=>e==="_"||e==="_ctx"||e==="$stable",qs=e=>B(e)?e.map(Le):[Le(e)],ac=(e,t,n)=>{if(t._n)return t;const s=Ll((...r)=>qs(t(...r)),n);return s._c=!1,s},Xi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ks(r))continue;const i=e[r];if(z(i))t[r]=ac(r,i,s);else if(i!=null){const l=qs(i);t[r]=()=>l}}},Yi=(e,t)=>{const n=qs(t);e.slots.default=()=>n},Ji=(e,t,n)=>{for(const s in t)(n||!Ks(s))&&(e[s]=t[s])},fc=(e,t,n)=>{const s=e.slots=Ki();if(e.vnode.shapeFlag&32){const r=t._;r?(Ji(s,t,n),n&&Zr(s,"_",r,!0)):Xi(t,s)}else t&&Yi(e,t)},uc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,l=ie;if(s.shapeFlag&32){const o=t._;o?n&&o===1?i=!1:Ji(r,t,n):(i=!t.$stable,Xi(t,r)),l=t}else t&&(Yi(e,t),l={default:1});if(i)for(const o in r)!Ks(o)&&l[o]==null&&delete r[o]},Ce=oo;function dc(e){return hc(e,$l)}function hc(e,t){const n=Fn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:l,createText:o,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:y,setScopeId:v=We,insertStaticContent:C}=e,I=(f,d,m,x=null,b=null,w=null,L=void 0,R=null,T=!!d.dynamicChildren)=>{if(f===d)return;f&&!gt(f,d)&&(x=rn(f),je(f,b,w,!0),f=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:E,ref:W,shapeFlag:P}=d;switch(E){case St:X(f,d,m,x);break;case de:$(f,d,m,x);break;case Kt:f==null&&K(d,m,x,L);break;case we:S(f,d,m,x,b,w,L,R,T);break;default:P&1?O(f,d,m,x,b,w,L,R,T):P&6?H(f,d,m,x,b,w,L,R,T):(P&64||P&128)&&E.process(f,d,m,x,b,w,L,R,T,Tt)}W!=null&&b?It(W,f&&f.ref,w,d||f,!d):W==null&&f&&f.ref!=null&&It(f.ref,null,w,f,!0)},X=(f,d,m,x)=>{if(f==null)s(d.el=o(d.children),m,x);else{const b=d.el=f.el;d.children!==f.children&&u(b,d.children)}},$=(f,d,m,x)=>{f==null?s(d.el=c(d.children||""),m,x):d.el=f.el},K=(f,d,m,x)=>{[f.el,f.anchor]=C(f.children,d,m,x,f.el,f.anchor)},g=({el:f,anchor:d},m,x)=>{let b;for(;f&&f!==d;)b=y(f),s(f,m,x),f=b;s(d,m,x)},p=({el:f,anchor:d})=>{let m;for(;f&&f!==d;)m=y(f),r(f),f=m;r(d)},O=(f,d,m,x,b,w,L,R,T)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),f==null?k(d,m,x,b,w,L,R,T):_(f,d,b,w,L,R,T)},k=(f,d,m,x,b,w,L,R)=>{let T,E;const{props:W,shapeFlag:P,transition:j,dirs:q}=f;if(T=f.el=l(f.type,w,W&&W.is,W),P&8?a(T,f.children):P&16&&G(f.children,T,null,x,b,os(f,w),L,R),q&&Ue(f,null,x,"created"),V(T,f,f.scopeId,L,x),W){for(const se in W)se!=="value"&&!Lt(se)&&i(T,se,null,W[se],w,x);"value"in W&&i(T,"value",null,W.value,w),(E=W.onVnodeBeforeMount)&&Me(E,x,f)}q&&Ue(f,null,x,"beforeMount");const J=Qi(b,j);J&&j.beforeEnter(T),s(T,d,m),((E=W&&W.onVnodeMounted)||J||q)&&Ce(()=>{E&&Me(E,x,f),J&&j.enter(T),q&&Ue(f,null,x,"mounted")},b)},V=(f,d,m,x,b)=>{if(m&&v(f,m),x)for(let w=0;w<x.length;w++)v(f,x[w]);if(b){let w=b.subTree;if(d===w||io(w.type)&&(w.ssContent===d||w.ssFallback===d)){const L=b.vnode;V(f,L,L.scopeId,L.slotScopeIds,b.parent)}}},G=(f,d,m,x,b,w,L,R,T=0)=>{for(let E=T;E<f.length;E++){const W=f[E]=R?st(f[E]):Le(f[E]);I(null,W,d,m,x,b,w,L,R)}},_=(f,d,m,x,b,w,L)=>{const R=d.el=f.el;let{patchFlag:T,dynamicChildren:E,dirs:W}=d;T|=f.patchFlag&16;const P=f.props||ie,j=d.props||ie;let q;if(m&&ut(m,!1),(q=j.onVnodeBeforeUpdate)&&Me(q,m,d,f),W&&Ue(d,f,m,"beforeUpdate"),m&&ut(m,!0),(P.innerHTML&&j.innerHTML==null||P.textContent&&j.textContent==null)&&a(R,""),E?A(f.dynamicChildren,E,R,m,x,os(d,b),w):L||F(f,d,R,null,m,x,os(d,b),w,!1),T>0){if(T&16)D(R,P,j,m,b);else if(T&2&&P.class!==j.class&&i(R,"class",null,j.class,b),T&4&&i(R,"style",P.style,j.style,b),T&8){const J=d.dynamicProps;for(let se=0;se<J.length;se++){const ee=J[se],xe=P[ee],pe=j[ee];(pe!==xe||ee==="value")&&i(R,ee,xe,pe,b,m)}}T&1&&f.children!==d.children&&a(R,d.children)}else!L&&E==null&&D(R,P,j,m,b);((q=j.onVnodeUpdated)||W)&&Ce(()=>{q&&Me(q,m,d,f),W&&Ue(d,f,m,"updated")},x)},A=(f,d,m,x,b,w,L)=>{for(let R=0;R<d.length;R++){const T=f[R],E=d[R],W=T.el&&(T.type===we||!gt(T,E)||T.shapeFlag&198)?h(T.el):m;I(T,E,W,null,x,b,w,L,!0)}},D=(f,d,m,x,b)=>{if(d!==m){if(d!==ie)for(const w in d)!Lt(w)&&!(w in m)&&i(f,w,d[w],null,b,x);for(const w in m){if(Lt(w))continue;const L=m[w],R=d[w];L!==R&&w!=="value"&&i(f,w,R,L,b,x)}"value"in m&&i(f,"value",d.value,m.value,b)}},S=(f,d,m,x,b,w,L,R,T)=>{const E=d.el=f?f.el:o(""),W=d.anchor=f?f.anchor:o("");let{patchFlag:P,dynamicChildren:j,slotScopeIds:q}=d;q&&(R=R?R.concat(q):q),f==null?(s(E,m,x),s(W,m,x),G(d.children||[],m,W,b,w,L,R,T)):P>0&&P&64&&j&&f.dynamicChildren?(A(f.dynamicChildren,j,m,b,w,L,R),(d.key!=null||b&&d===b.subTree)&&Zi(f,d,!0)):F(f,d,m,W,b,w,L,R,T)},H=(f,d,m,x,b,w,L,R,T)=>{d.slotScopeIds=R,f==null?d.shapeFlag&512?b.ctx.activate(d,m,x,L,T):N(d,m,x,b,w,L,T):U(f,d,T)},N=(f,d,m,x,b,w,L)=>{const R=f.component=Mc(f,x,b);if(Wn(f)&&(R.ctx.renderer=Tt),Lc(R,!1,L),R.asyncDep){if(b&&b.registerDep(R,M,L),!f.el){const T=R.subTree=he(de);$(null,T,d,m),f.placeholder=T.el}}else M(R,f,d,m,b,w,L)},U=(f,d,m)=>{const x=d.component=f.component;if(xc(f,d,m))if(x.asyncDep&&!x.asyncResolved){Y(x,d,m);return}else x.next=d,x.update();else d.el=f.el,x.vnode=d},M=(f,d,m,x,b,w,L)=>{const R=()=>{if(f.isMounted){let{next:P,bu:j,u:q,parent:J,vnode:se}=f;{const Ee=eo(f);if(Ee){P&&(P.el=se.el,Y(f,P,L)),Ee.asyncDep.then(()=>{f.isUnmounted||R()});return}}let ee=P,xe;ut(f,!1),P?(P.el=se.el,Y(f,P,L)):P=se,j&&Zn(j),(xe=P.props&&P.props.onVnodeBeforeUpdate)&&Me(xe,J,P,se),ut(f,!0);const pe=ls(f),De=f.subTree;f.subTree=pe,I(De,pe,h(De.el),rn(De),f,b,w),P.el=pe.el,ee===null&&ro(f,pe.el),q&&Ce(q,b),(xe=P.props&&P.props.onVnodeUpdated)&&Ce(()=>Me(xe,J,P,se),b)}else{let P;const{el:j,props:q}=d,{bm:J,m:se,parent:ee,root:xe,type:pe}=f,De=_t(d);if(ut(f,!1),J&&Zn(J),!De&&(P=q&&q.onVnodeBeforeMount)&&Me(P,ee,d),ut(f,!0),j&&Qn){const Ee=()=>{f.subTree=ls(f),Qn(j,f.subTree,f,b,null)};De&&pe.__asyncHydrate?pe.__asyncHydrate(j,f,Ee):Ee()}else{xe.ce&&xe.ce._def.shadowRoot!==!1&&xe.ce._injectChildStyle(pe);const Ee=f.subTree=ls(f);I(null,Ee,m,x,f,b,w),d.el=Ee.el}if(se&&Ce(se,b),!De&&(P=q&&q.onVnodeMounted)){const Ee=d;Ce(()=>Me(P,ee,Ee),b)}(d.shapeFlag&256||ee&&_t(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&Ce(f.a,b),f.isMounted=!0,d=m=x=null}};f.scope.on();const T=f.effect=new ri(R);f.scope.off();const E=f.update=T.run.bind(T),W=f.job=T.runIfDirty.bind(T);W.i=f,W.id=f.uid,T.scheduler=()=>Bs(W),ut(f,!0),E()},Y=(f,d,m)=>{d.component=f;const x=f.vnode.props;f.vnode=d,f.next=null,lc(f,d.props,x,m),uc(f,d.children,m),Ye(),lr(f),Je()},F=(f,d,m,x,b,w,L,R,T=!1)=>{const E=f&&f.children,W=f?f.shapeFlag:0,P=d.children,{patchFlag:j,shapeFlag:q}=d;if(j>0){if(j&128){ft(E,P,m,x,b,w,L,R,T);return}else if(j&256){te(E,P,m,x,b,w,L,R,T);return}}q&8?(W&16&&Ht(E,b,w),P!==E&&a(m,P)):W&16?q&16?ft(E,P,m,x,b,w,L,R,T):Ht(E,b,w,!0):(W&8&&a(m,""),q&16&&G(P,m,x,b,w,L,R,T))},te=(f,d,m,x,b,w,L,R,T)=>{f=f||Ot,d=d||Ot;const E=f.length,W=d.length,P=Math.min(E,W);let j;for(j=0;j<P;j++){const q=d[j]=T?st(d[j]):Le(d[j]);I(f[j],q,m,null,b,w,L,R,T)}E>W?Ht(f,b,w,!0,!1,P):G(d,m,x,b,w,L,R,T,P)},ft=(f,d,m,x,b,w,L,R,T)=>{let E=0;const W=d.length;let P=f.length-1,j=W-1;for(;E<=P&&E<=j;){const q=f[E],J=d[E]=T?st(d[E]):Le(d[E]);if(gt(q,J))I(q,J,m,null,b,w,L,R,T);else break;E++}for(;E<=P&&E<=j;){const q=f[P],J=d[j]=T?st(d[j]):Le(d[j]);if(gt(q,J))I(q,J,m,null,b,w,L,R,T);else break;P--,j--}if(E>P){if(E<=j){const q=j+1,J=q<W?d[q].el:x;for(;E<=j;)I(null,d[E]=T?st(d[E]):Le(d[E]),m,J,b,w,L,R,T),E++}}else if(E>j)for(;E<=P;)je(f[E],b,w,!0),E++;else{const q=E,J=E,se=new Map;for(E=J;E<=j;E++){const Te=d[E]=T?st(d[E]):Le(d[E]);Te.key!=null&&se.set(Te.key,E)}let ee,xe=0;const pe=j-J+1;let De=!1,Ee=0;const $t=new Array(pe);for(E=0;E<pe;E++)$t[E]=0;for(E=q;E<=P;E++){const Te=f[E];if(xe>=pe){je(Te,b,w,!0);continue}let Ve;if(Te.key!=null)Ve=se.get(Te.key);else for(ee=J;ee<=j;ee++)if($t[ee-J]===0&>(Te,d[ee])){Ve=ee;break}Ve===void 0?je(Te,b,w,!0):($t[Ve-J]=E+1,Ve>=Ee?Ee=Ve:De=!0,I(Te,d[Ve],m,null,b,w,L,R,T),xe++)}const tr=De?pc($t):Ot;for(ee=tr.length-1,E=pe-1;E>=0;E--){const Te=J+E,Ve=d[Te],nr=d[Te+1],sr=Te+1<W?nr.el||nr.placeholder:x;$t[E]===0?I(null,Ve,m,sr,b,w,L,R,T):De&&(ee<0||E!==tr[ee]?$e(Ve,m,sr,2):ee--)}}},$e=(f,d,m,x,b=null)=>{const{el:w,type:L,transition:R,children:T,shapeFlag:E}=f;if(E&6){$e(f.component.subTree,d,m,x);return}if(E&128){f.suspense.move(d,m,x);return}if(E&64){L.move(f,d,m,Tt);return}if(L===we){s(w,d,m);for(let P=0;P<T.length;P++)$e(T[P],d,m,x);s(f.anchor,d,m);return}if(L===Kt){g(f,d,m);return}if(x!==2&&E&1&&R)if(x===0)R.beforeEnter(w),s(w,d,m),Ce(()=>R.enter(w),b);else{const{leave:P,delayLeave:j,afterLeave:q}=R,J=()=>{f.ctx.isUnmounted?r(w):s(w,d,m)},se=()=>{w._isLeaving&&w[ze](!0),P(w,()=>{J(),q&&q()})};j?j(w,J,se):se()}else s(w,d,m)},je=(f,d,m,x=!1,b=!1)=>{const{type:w,props:L,ref:R,children:T,dynamicChildren:E,shapeFlag:W,patchFlag:P,dirs:j,cacheIndex:q}=f;if(P===-2&&(b=!1),R!=null&&(Ye(),It(R,null,m,f,!0),Je()),q!=null&&(d.renderCache[q]=void 0),W&256){d.ctx.deactivate(f);return}const J=W&1&&j,se=!_t(f);let ee;if(se&&(ee=L&&L.onVnodeBeforeUnmount)&&Me(ee,d,f),W&6)No(f.component,m,x);else{if(W&128){f.suspense.unmount(m,x);return}J&&Ue(f,null,d,"beforeUnmount"),W&64?f.type.remove(f,d,m,Tt,x):E&&!E.hasOnce&&(w!==we||P>0&&P&64)?Ht(E,d,m,!1,!0):(w===we&&P&384||!b&&W&16)&&Ht(T,d,m),x&&Zs(f)}(se&&(ee=L&&L.onVnodeUnmounted)||J)&&Ce(()=>{ee&&Me(ee,d,f),J&&Ue(f,null,d,"unmounted")},m)},Zs=f=>{const{type:d,el:m,anchor:x,transition:b}=f;if(d===we){Io(m,x);return}if(d===Kt){p(f);return}const w=()=>{r(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:R}=b,T=()=>L(m,w);R?R(f.el,w,T):T()}else w()},Io=(f,d)=>{let m;for(;f!==d;)m=y(f),r(f),f=m;r(d)},No=(f,d,m)=>{const{bum:x,scope:b,job:w,subTree:L,um:R,m:T,a:E}=f;yr(T),yr(E),x&&Zn(x),b.stop(),w&&(w.flags|=8,je(L,f,d,m)),R&&Ce(R,d),Ce(()=>{f.isUnmounted=!0},d)},Ht=(f,d,m,x=!1,b=!1,w=0)=>{for(let L=w;L<f.length;L++)je(f[L],d,m,x,b)},rn=f=>{if(f.shapeFlag&6)return rn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=y(f.anchor||f.el),m=d&&d[Pl];return m?y(m):d};let Yn=!1;const er=(f,d,m)=>{f==null?d._vnode&&je(d._vnode,null,null,!0):I(d._vnode||null,f,d,null,null,null,m),d._vnode=f,Yn||(Yn=!0,lr(),An(),Yn=!1)},Tt={p:I,um:je,m:$e,r:Zs,mt:N,mc:G,pc:F,pbc:A,n:rn,o:e};let Jn,Qn;return t&&([Jn,Qn]=t(Tt)),{render:er,hydrate:Jn,createApp:rc(er,Jn)}}function os({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 ut({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Qi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zi(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const l=s[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=st(r[i]),o.el=l.el),!n&&o.patchFlag!==-2&&Zi(l,o)),o.type===St&&o.patchFlag!==-1&&(o.el=l.el),o.type===de&&!o.el&&(o.el=l.el)}}function pc(e){const t=e.slice(),n=[0];let s,r,i,l,o;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,l=n.length-1;i<l;)o=i+l>>1,e[n[o]]<u?i=o+1:l=o;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}function eo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:eo(t)}function yr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const gc=Symbol.for("v-scx"),mc=()=>wt(gc);function to(e,t){return qn(e,null,t)}function Pf(e,t){return qn(e,null,{flush:"post"})}function Re(e,t,n){return qn(e,t,n)}function qn(e,t,n=ie){const{immediate:s,deep:r,flush:i,once:l}=n,o=fe({},n),c=t&&s||!t&&i!=="post";let u;if(Zt){if(i==="sync"){const v=mc();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=We,v.resume=We,v.pause=We,v}}const a=ye;o.call=(v,C,I)=>He(v,a,C,I);let h=!1;i==="post"?o.scheduler=v=>{Ce(v,a&&a.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(v,C)=>{C?v():Bs(v)}),o.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const y=Al(e,t,o);return Zt&&(u?u.push(y):c&&y()),y}function vc(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?no(s,e):()=>s[e]:e.bind(s,s);let i;z(t)?i=t:(i=t.handler,n=t);const l=sn(this),o=qn(r,i.bind(s),n);return l(),o}function no(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const yc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${at(t)}Modifiers`];function _c(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const i=t.startsWith("update:"),l=i&&yc(s,t.slice(7));l&&(l.trim&&(r=n.map(a=>ce(a)?a.trim():a)),l.number&&(r=n.map(jo)));let o,c=s[o=vn(t)]||s[o=vn(Ne(t))];!c&&i&&(c=s[o=vn(at(t))]),c&&He(c,e,6,r);const u=s[o+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,He(u,e,6,r)}}const bc=new WeakMap;function so(e,t,n=!1){const s=n?bc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!z(e)){const c=u=>{const a=so(u,t,!0);a&&(o=!0,fe(l,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!o?(ne(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>l[c]=null):fe(l,i),ne(e)&&s.set(e,l),l)}function Gn(e,t){return!e||!tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,at(t))||Z(e,t))}function ls(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:l,attrs:o,emit:c,render:u,renderCache:a,props:h,data:y,setupState:v,ctx:C,inheritAttrs:I}=e,X=Rn(e);let $,K;try{if(n.shapeFlag&4){const p=r||s,O=p;$=Le(u.call(O,p,a,h,v,y,C)),K=o}else{const p=t;$=Le(p.length>1?p(h,{attrs:o,slots:l,emit:c}):p(h,null)),K=t.props?o:wc(o)}}catch(p){qt.length=0,kn(p,e,1),$=he(de)}let g=$;if(K&&I!==!1){const p=Object.keys(K),{shapeFlag:O}=g;p.length&&O&7&&(i&&p.some(Ns)&&(K=Sc(K,i)),g=ct(g,K,!1,!0))}return n.dirs&&(g=ct(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Yt(g,n.transition),$=g,Rn(X),$}const wc=e=>{let t;for(const n in e)(n==="class"||n==="style"||tn(n))&&((t||(t={}))[n]=e[n]);return t},Sc=(e,t)=>{const n={};for(const s in e)(!Ns(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function xc(e,t,n){const{props:s,children:r,component:i}=e,{props:l,children:o,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?_r(s,l,u):!!l;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const y=a[h];if(l[y]!==s[y]&&!Gn(u,y))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:s===l?!1:s?l?_r(s,l,u):!0:!!l;return!1}function _r(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Gn(n,i))return!0}return!1}function ro({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const io=e=>e.__isSuspense;function oo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ml(e)}const we=Symbol.for("v-fgt"),St=Symbol.for("v-txt"),de=Symbol.for("v-cmt"),Kt=Symbol.for("v-stc"),qt=[];let Ae=null;function Cs(e=!1){qt.push(Ae=e?null:[])}function Ec(){qt.pop(),Ae=qt[qt.length-1]||null}let Jt=1;function Ln(e,t=!1){Jt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function lo(e){return e.dynamicChildren=Jt>0?Ae||Ot:null,Ec(),Jt>0&&Ae&&Ae.push(e),e}function If(e,t,n,s,r,i){return lo(ao(e,t,n,s,r,i,!0))}function As(e,t,n,s,r){return lo(he(e,t,n,s,r,!0))}function Qt(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const co=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||ae(e)||z(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function ao(e,t=null,n=null,s=0,r=null,i=e===we?0:1,l=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&co(t),ref:t&&_n(t),scopeId:Ti,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return o?(Gs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),Jt>0&&!l&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const he=Tc;function Tc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Hi)&&(e=de),Qt(e)){const o=ct(e,t,!0);return n&&Gs(o,n),Jt>0&&!i&&Ae&&(o.shapeFlag&6?Ae[Ae.indexOf(e)]=o:Ae.push(o)),o.patchFlag=-2,o}if(Dc(e)&&(e=e.__vccOpts),t){t=Cc(t);let{class:o,style:c}=t;o&&!ce(o)&&(t.class=$s(o)),ne(c)&&(Us(c)&&!B(c)&&(c=fe({},c)),t.style=Hs(c))}const l=ce(e)?1:io(e)?128:Ci(e)?64:ne(e)?4:z(e)?2:0;return ao(e,t,n,s,r,l,i,!0)}function Cc(e){return e?Us(e)||qi(e)?fe({},e):e:null}function ct(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:l,children:o,transition:c}=e,u=t?Ac(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&co(u),ref:t&&t.ref?n&&i?B(i)?i.concat(_n(t)):[i,_n(t)]:_n(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ct(e.ssContent),ssFallback:e.ssFallback&&ct(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Yt(a,c.clone(a)),a}function fo(e=" ",t=0){return he(St,null,e,t)}function Nf(e,t){const n=he(Kt,null,e);return n.staticCount=t,n}function Df(e="",t=!1){return t?(Cs(),As(de,null,e)):he(de,null,e)}function Le(e){return e==null||typeof e=="boolean"?he(de):B(e)?he(we,null,e.slice()):Qt(e)?st(e):he(St,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ct(e)}function Gs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Gs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!qi(t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[fo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ac(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=$s([t.class,s.class]));else if(r==="style")t.style=Hs([t.style,s.style]);else if(tn(r)){const i=t[r],l=s[r];l&&i!==l&&!(B(i)&&i.includes(l))&&(t[r]=i?[].concat(i,l):l)}else r!==""&&(t[r]=s[r])}return t}function Me(e,t,n,s=null){He(e,t,7,[n,s])}const Rc=Ui();let Oc=0;function Mc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Rc,i={uid:Oc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new zo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:zi(s,r),emitsOptions:so(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=_c.bind(null,i),e.ce&&e.ce(i),i}let ye=null;const Et=()=>ye||Se;let Pn,Rs;{const e=Fn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(l=>l(i)):r[0](i)}};Pn=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Rs=t("__VUE_SSR_SETTERS__",n=>Zt=n)}const sn=e=>{const t=ye;return Pn(e),e.scope.on(),()=>{e.scope.off(),Pn(t)}},br=()=>{ye&&ye.scope.off(),Pn(null)};function uo(e){return e.vnode.shapeFlag&4}let Zt=!1;function Lc(e,t=!1,n=!1){t&&Rs(t);const{props:s,children:r}=e.vnode,i=uo(e);oc(e,s,i,t),fc(e,r,n||t);const l=i?Pc(e,t):void 0;return t&&Rs(!1),l}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Yl);const{setup:s}=n;if(s){Ye();const r=e.setupContext=s.length>1?po(e):null,i=sn(e),l=nn(s,e,0,[e.props,r]),o=Yr(l);if(Je(),i(),(o||e.sp)&&!_t(e)&&Ii(e),o){if(l.then(br,br),t)return l.then(c=>{wr(e,c)}).catch(c=>{kn(c,e,0)});e.asyncDep=l}else wr(e,l)}else ho(e)}function wr(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=wi(t)),ho(e)}function ho(e,t,n){const s=e.type;e.render||(e.render=s.render||We);{const r=sn(e);Ye();try{Ql(e)}finally{Je(),r()}}}const Ic={get(e,t){return ve(e,"get",""),e[t]}};function po(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ic),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wi(yn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bt)return Bt[n](e)},has(t,n){return n in t||n in Bt}})):e.proxy}function Nc(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Dc(e){return z(e)&&"__vccOpts"in e}const oe=(e,t)=>Tl(e,t,Zt);function Os(e,t,n){try{Ln(-1);const s=arguments.length;return s===2?ne(t)&&!B(t)?Qt(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Qt(n)&&(n=[n]),he(e,t,n))}finally{Ln(1)}}const Fc="3.5.22";/**
|
|
15
|
-
* @vue/runtime-dom v3.5.22
|
|
16
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
-
* @license MIT
|
|
18
|
-
**/let Ms;const Sr=typeof window<"u"&&window.trustedTypes;if(Sr)try{Ms=Sr.createPolicy("vue",{createHTML:e=>e})}catch{}const go=Ms?e=>Ms.createHTML(e):e=>e,Hc="http://www.w3.org/2000/svg",$c="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,xr=Ge&&Ge.createElement("template"),jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ge.createElementNS(Hc,e):t==="mathml"?Ge.createElementNS($c,e):n?Ge.createElement(e,{is:n}):Ge.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const l=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{xr.innerHTML=go(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const o=xr.content;if(s==="svg"||s==="mathml"){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}t.insertBefore(o,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},tt="transition",Vt="animation",en=Symbol("_vtc"),mo={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},Vc=fe({},Ai,mo),kc=e=>(e.displayName="Transition",e.props=Vc,e),Ff=kc((e,{slots:t})=>Os(Dl,Uc(e),t)),dt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Er=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const S in e)S in mo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=l,appearToClass:a=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,C=Wc(r),I=C&&C[0],X=C&&C[1],{onBeforeEnter:$,onEnter:K,onEnterCancelled:g,onLeave:p,onLeaveCancelled:O,onBeforeAppear:k=$,onAppear:V=K,onAppearCancelled:G=g}=t,_=(S,H,N,U)=>{S._enterCancelled=U,ht(S,H?a:o),ht(S,H?u:l),N&&N()},A=(S,H)=>{S._isLeaving=!1,ht(S,h),ht(S,v),ht(S,y),H&&H()},D=S=>(H,N)=>{const U=S?V:K,M=()=>_(H,S,N);dt(U,[H,M]),Tr(()=>{ht(H,S?c:i),qe(H,S?a:o),Er(U)||Cr(H,s,I,M)})};return fe(t,{onBeforeEnter(S){dt($,[S]),qe(S,i),qe(S,l)},onBeforeAppear(S){dt(k,[S]),qe(S,c),qe(S,u)},onEnter:D(!1),onAppear:D(!0),onLeave(S,H){S._isLeaving=!0;const N=()=>A(S,H);qe(S,h),S._enterCancelled?(qe(S,y),Or(S)):(Or(S),qe(S,y)),Tr(()=>{S._isLeaving&&(ht(S,h),qe(S,v),Er(p)||Cr(S,s,X,N))}),dt(p,[S,N])},onEnterCancelled(S){_(S,!1,void 0,!0),dt(g,[S])},onAppearCancelled(S){_(S,!0,void 0,!0),dt(G,[S])},onLeaveCancelled(S){A(S),dt(O,[S])}})}function Wc(e){if(e==null)return null;if(ne(e))return[cs(e.enter),cs(e.leave)];{const t=cs(e);return[t,t]}}function cs(e){return Vo(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[en]||(e[en]=new Set)).add(t)}function ht(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[en];n&&(n.delete(t),n.size||(e[en]=void 0))}function Tr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Bc=0;function Cr(e,t,n,s){const r=e._endId=++Bc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:l,timeout:o,propCount:c}=Kc(e,t);if(!l)return s();const u=l+"end";let a=0;const h=()=>{e.removeEventListener(u,y),i()},y=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},o+1),e.addEventListener(u,y)}function Kc(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${tt}Delay`),i=s(`${tt}Duration`),l=Ar(r,i),o=s(`${Vt}Delay`),c=s(`${Vt}Duration`),u=Ar(o,c);let a=null,h=0,y=0;t===tt?l>0&&(a=tt,h=l,y=i.length):t===Vt?u>0&&(a=Vt,h=u,y=c.length):(h=Math.max(l,u),a=h>0?l>u?tt:Vt:null,y=a?a===tt?i.length:c.length:0);const v=a===tt&&/\b(?:transform|all)(?:,|$)/.test(s(`${tt}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:v}}function Ar(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Rr(n)+Rr(e[s])))}function Rr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Or(e){return(e?e.ownerDocument:document).body.offsetHeight}function qc(e,t,n){const s=e[en];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Mr=Symbol("_vod"),Gc=Symbol("_vsh"),zc=Symbol(""),Xc=/(?:^|;)\s*display\s*:/;function Yc(e,t,n){const s=e.style,r=ce(n);let i=!1;if(n&&!r){if(t)if(ce(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();n[o]==null&&bn(s,o,"")}else for(const l in t)n[l]==null&&bn(s,l,"");for(const l in n)l==="display"&&(i=!0),bn(s,l,n[l])}else if(r){if(t!==n){const l=s[zc];l&&(n+=";"+l),s.cssText=n,i=Xc.test(n)}}else t&&e.removeAttribute("style");Mr in e&&(e[Mr]=i?s.display:"",e[Gc]&&(s.display="none"))}const Lr=/\s*!important$/;function bn(e,t,n){if(B(n))n.forEach(s=>bn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Jc(e,t);Lr.test(n)?e.setProperty(at(s),n.replace(Lr,""),"important"):e[s]=n}}const Pr=["Webkit","Moz","ms"],as={};function Jc(e,t){const n=as[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return as[t]=s;s=Dn(s);for(let r=0;r<Pr.length;r++){const i=Pr[r]+s;if(i in e)return as[t]=i}return t}const Ir="http://www.w3.org/1999/xlink";function Nr(e,t,n,s,r,i=qo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ir,t.slice(6,t.length)):e.setAttributeNS(Ir,t,n):n==null||i&&!ei(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ze(n)?String(n):n)}function Dr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?go(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(o!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=ei(n):n==null&&o==="string"?(n="",l=!0):o==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(r||t)}function Qc(e,t,n,s){e.addEventListener(t,n,s)}function Zc(e,t,n,s){e.removeEventListener(t,n,s)}const Fr=Symbol("_vei");function ea(e,t,n,s,r=null){const i=e[Fr]||(e[Fr]={}),l=i[t];if(s&&l)l.value=s;else{const[o,c]=ta(t);if(s){const u=i[t]=ra(s,r);Qc(e,o,u,c)}else l&&(Zc(e,o,l,c),i[t]=void 0)}}const Hr=/(?:Once|Passive|Capture)$/;function ta(e){let t;if(Hr.test(e)){t={};let s;for(;s=e.match(Hr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):at(e.slice(2)),t]}let fs=0;const na=Promise.resolve(),sa=()=>fs||(na.then(()=>fs=0),fs=Date.now());function ra(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(ia(s,n.value),t,5,[s])};return n.value=e,n.attached=sa(),n}function ia(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const $r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oa=(e,t,n,s,r,i)=>{const l=r==="svg";t==="class"?qc(e,s,l):t==="style"?Yc(e,n,s):tn(t)?Ns(t)||ea(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,s,l))?(Dr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Nr(e,t,s,l,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ce(s))?Dr(e,Ne(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Nr(e,t,s,l))};function la(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&$r(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return $r(t)&&ce(n)?!1:t in e}const ca=["ctrl","shift","alt","meta"],aa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ca.some(n=>e[`${n}Key`]&&!t.includes(n))},Hf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let l=0;l<t.length;l++){const o=aa[t[l]];if(o&&o(r,t))return}return e(r,...i)}))},fa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$f=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=at(r.key);if(t.some(l=>l===i||fa[l]===i))return e(r)}))},ua=fe({patchProp:oa},jc);let us,jr=!1;function da(){return us=jr?us:dc(ua),jr=!0,us}const jf=((...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=pa(s);if(r)return n(r,!0,ha(r))},t});function ha(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pa(e){return ce(e)?document.querySelector(e):e}const Vf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ga=window.__VP_SITE_DATA__;function Xs(e){return si()?(Xo(e),!0):!1}const ds=new WeakMap,ma=(...e)=>{var t;const n=e[0],s=(t=Et())==null?void 0:t.proxy;if(s==null&&!Wi())throw new Error("injectLocal must be called in setup");return s&&ds.has(s)&&n in ds.get(s)?ds.get(s)[n]:wt(...e)},vo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const va=e=>e!=null,ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",xt=()=>{},Vr=ba();function ba(){var e,t;return vo&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ys(...e){if(e.length!==1)return Sl(...e);const t=e[0];return typeof t=="function"?Dt(_l(()=>({get:t,set:xt}))):yt(t)}function Js(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const yo=e=>e();function wa(e,t={}){let n,s,r=xt;const i=c=>{clearTimeout(c),r(),r=xt};let l;return c=>{const u=le(e),a=le(t.maxWait);return n&&i(n),u<=0||a!==void 0&&a<=0?(s&&(i(s),s=void 0),Promise.resolve(c())):new Promise((h,y)=>{r=t.rejectOnCancel?y:h,l=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,h(l())},a)),n=setTimeout(()=>{s&&i(s),s=void 0,h(c())},u)})}}function Sa(...e){let t=0,n,s=!0,r=xt,i,l,o,c,u;!ae(e[0])&&typeof e[0]=="object"?{delay:l,trailing:o=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[l,o=!0,c=!0,u=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=xt)};return y=>{const v=le(l),C=Date.now()-t,I=()=>i=y();return a(),v<=0?(t=Date.now(),I()):(C>v&&(c||!s)?(t=Date.now(),I()):o&&(i=new Promise((X,$)=>{r=u?$:X,n=setTimeout(()=>{t=Date.now(),s=!0,X(I()),a()},Math.max(0,v-C))})),!c&&!n&&(n=setTimeout(()=>s=!0,v)),s=!1,i)}}function xa(e=yo,t={}){const{initialState:n="active"}=t,s=Ys(n==="active");function r(){s.value=!1}function i(){s.value=!0}const l=(...o)=>{s.value&&e(...o)};return{isActive:Dt(s),pause:r,resume:i,eventFilter:l}}function kr(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function wn(e){return Array.isArray(e)?e:[e]}function _o(e){return Et()}function Ea(e,t=200,n={}){return Js(wa(t,n),e)}function Ta(e,t=200,n=!1,s=!0,r=!1){return Js(Sa(t,n,s,r),e)}function Ca(e,t,n={}){const{eventFilter:s=yo,...r}=n;return Re(e,Js(s,t),r)}function Aa(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:l,pause:o,resume:c,isActive:u}=xa(s,{initialState:r});return{stop:Ca(e,t,{...i,eventFilter:l}),pause:o,resume:c,isActive:u}}function zn(e,t=!0,n){_o()?Ft(e,n):t?e():Un(e)}function Ra(e,t){_o()&&Kn(e,t)}function Oa(e,t,n){return Re(e,t,{...n,immediate:!0})}const Be=vo?window:void 0;function Xn(e){var t;const n=le(e);return(t=n?.$el)!=null?t:n}function Qe(...e){const t=[],n=()=>{t.forEach(o=>o()),t.length=0},s=(o,c,u,a)=>(o.addEventListener(c,u,a),()=>o.removeEventListener(c,u,a)),r=oe(()=>{const o=wn(le(e[0])).filter(c=>c!=null);return o.every(c=>typeof c!="string")?o:void 0}),i=Oa(()=>{var o,c;return[(c=(o=r.value)==null?void 0:o.map(u=>Xn(u)))!=null?c:[Be].filter(u=>u!=null),wn(le(r.value?e[1]:e[0])),wn(Ws(r.value?e[2]:e[1])),le(r.value?e[3]:e[2])]},([o,c,u,a])=>{if(n(),!o?.length||!c?.length||!u?.length)return;const h=_a(a)?{...a}:a;t.push(...o.flatMap(y=>c.flatMap(v=>u.map(C=>s(y,v,C,h)))))},{flush:"post"}),l=()=>{i(),n()};return Xs(n),l}function Ma(){const e=Ie(!1),t=Et();return t&&Ft(()=>{e.value=!0},t),e}function bo(e){const t=Ma();return oe(()=>(t.value,!!e()))}function La(e,t,n={}){const{window:s=Be,...r}=n;let i;const l=bo(()=>s&&"MutationObserver"in s),o=()=>{i&&(i.disconnect(),i=void 0)},c=oe(()=>{const y=le(e),v=wn(y).map(Xn).filter(va);return new Set(v)}),u=Re(c,y=>{o(),l.value&&y.size&&(i=new MutationObserver(t),y.forEach(v=>i.observe(v,r)))},{immediate:!0,flush:"post"}),a=()=>i?.takeRecords(),h=()=>{u(),o()};return Xs(h),{isSupported:l,stop:h,takeRecords:a}}function Pa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function kf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Be,eventName:i="keydown",passive:l=!1,dedupe:o=!1}=s,c=Pa(t);return Qe(r,i,a=>{a.repeat&&le(o)||c(a)&&n(a)},l)}const Ia=Symbol("vueuse-ssr-width");function Na(){const e=Wi()?ma(Ia,null):null;return typeof e=="number"?e:void 0}function wo(e,t={}){const{window:n=Be,ssrWidth:s=Na()}=t,r=bo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Ie(typeof s=="number"),l=Ie(),o=Ie(!1),c=u=>{o.value=u.matches};return to(()=>{if(i.value){i.value=!r.value;const u=le(e).split(",");o.value=u.some(a=>{const h=a.includes("not all"),y=a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),v=a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let C=!!(y||v);return y&&C&&(C=s>=kr(y[1])),v&&C&&(C=s<=kr(v[1])),h?!C:C});return}r.value&&(l.value=n.matchMedia(le(e)),o.value=l.value.matches)}),Qe(l,"change",c,{passive:!0}),oe(()=>o.value)}const hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},pn="__vueuse_ssr_handlers__",Da=Fa();function Fa(){return pn in hn||(hn[pn]=hn[pn]||{}),hn[pn]}function So(e,t){return Da[e]||t}function xo(e){return wo("(prefers-color-scheme: dark)",e)}function Ha(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 $a={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()}},Ur="vueuse-storage";function ja(e,t,n,s={}){var r;const{flush:i="pre",deep:l=!0,listenToStorageChanges:o=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:h=Be,eventFilter:y,onError:v=N=>{console.error(N)},initOnMounted:C}=s,I=(a?Ie:yt)(typeof t=="function"?t():t),X=oe(()=>le(e));if(!n)try{n=So("getDefaultStorage",()=>{var N;return(N=Be)==null?void 0:N.localStorage})()}catch(N){v(N)}if(!n)return I;const $=le(t),K=Ha($),g=(r=s.serializer)!=null?r:$a[K],{pause:p,resume:O}=Aa(I,N=>A(N),{flush:i,deep:l,eventFilter:y});Re(X,()=>S(),{flush:i});let k=!1;const V=N=>{C&&!k||S(N)},G=N=>{C&&!k||H(N)};h&&o&&(n instanceof Storage?Qe(h,"storage",V,{passive:!0}):Qe(h,Ur,G)),C?zn(()=>{k=!0,S()}):S();function _(N,U){if(h){const M={key:X.value,oldValue:N,newValue:U,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Ur,{detail:M}))}}function A(N){try{const U=n.getItem(X.value);if(N==null)_(U,null),n.removeItem(X.value);else{const M=g.write(N);U!==M&&(n.setItem(X.value,M),_(U,M))}}catch(U){v(U)}}function D(N){const U=N?N.newValue:n.getItem(X.value);if(U==null)return c&&$!=null&&n.setItem(X.value,g.write($)),$;if(!N&&u){const M=g.read(U);return typeof u=="function"?u(M,$):K==="object"&&!Array.isArray(M)?{...$,...M}:M}else return typeof U!="string"?U:g.read(U)}function S(N){if(!(N&&N.storageArea!==n)){if(N&&N.key==null){I.value=$;return}if(!(N&&N.key!==X.value)){p();try{const U=g.write(I.value);(N===void 0||N?.newValue!==U)&&(I.value=D(N))}catch(U){v(U)}finally{N?Un(O):O()}}}}function H(N){S(N.detail)}return I}const Va="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ka(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Be,storage:i,storageKey:l="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=xo({window:r}),v=oe(()=>y.value?"dark":"light"),C=c||(l==null?Ys(s):ja(l,s,i,{window:r,listenToStorageChanges:o})),I=oe(()=>C.value==="auto"?v.value:C.value),X=So("updateHTMLAttrs",(p,O,k)=>{const V=typeof p=="string"?r?.document.querySelector(p):Xn(p);if(!V)return;const G=new Set,_=new Set;let A=null;if(O==="class"){const S=k.split(/\s/g);Object.values(h).flatMap(H=>(H||"").split(/\s/g)).filter(Boolean).forEach(H=>{S.includes(H)?G.add(H):_.add(H)})}else A={key:O,value:k};if(G.size===0&&_.size===0&&A===null)return;let D;a&&(D=r.document.createElement("style"),D.appendChild(document.createTextNode(Va)),r.document.head.appendChild(D));for(const S of G)V.classList.add(S);for(const S of _)V.classList.remove(S);A&&V.setAttribute(A.key,A.value),a&&(r.getComputedStyle(D).opacity,document.head.removeChild(D))});function $(p){var O;X(t,n,(O=h[p])!=null?O:p)}function K(p){e.onChanged?e.onChanged(p,$):$(p)}Re(I,K,{flush:"post",immediate:!0}),zn(()=>K(I.value));const g=oe({get(){return u?C.value:I.value},set(p){C.value=p}});return Object.assign(g,{store:C,system:v,state:I})}function Ua(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=ka({...e,onChanged:(l,o)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",o,l):o(l)},modes:{dark:t,light:n}}),r=oe(()=>s.system.value);return oe({get(){return s.value==="dark"},set(l){const o=l?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function hs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Wr=1;function Wa(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=xt,onScroll:i=xt,offset:l={left:0,right:0,top:0,bottom:0},observe:o={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:a=Be,onError:h=_=>{console.error(_)}}=t,y=typeof o=="boolean"?{mutation:o}:o,v=Ie(0),C=Ie(0),I=oe({get(){return v.value},set(_){$(_,void 0)}}),X=oe({get(){return C.value},set(_){$(void 0,_)}});function $(_,A){var D,S,H,N;if(!a)return;const U=le(e);if(!U)return;(H=U instanceof Document?a.document.body:U)==null||H.scrollTo({top:(D=le(A))!=null?D:X.value,left:(S=le(_))!=null?S:I.value,behavior:le(u)});const M=((N=U?.document)==null?void 0:N.documentElement)||U?.documentElement||U;I!=null&&(v.value=M.scrollLeft),X!=null&&(C.value=M.scrollTop)}const K=Ie(!1),g=Nt({left:!0,right:!1,top:!0,bottom:!1}),p=Nt({left:!1,right:!1,top:!1,bottom:!1}),O=_=>{K.value&&(K.value=!1,p.left=!1,p.right=!1,p.top=!1,p.bottom=!1,r(_))},k=Ea(O,n+s),V=_=>{var A;if(!a)return;const D=((A=_?.document)==null?void 0:A.documentElement)||_?.documentElement||Xn(_),{display:S,flexDirection:H,direction:N}=getComputedStyle(D),U=N==="rtl"?-1:1,M=D.scrollLeft;p.left=M<v.value,p.right=M>v.value;const Y=Math.abs(M*U)<=(l.left||0),F=Math.abs(M*U)+D.clientWidth>=D.scrollWidth-(l.right||0)-Wr;S==="flex"&&H==="row-reverse"?(g.left=F,g.right=Y):(g.left=Y,g.right=F),v.value=M;let te=D.scrollTop;_===a.document&&!te&&(te=a.document.body.scrollTop),p.top=te<C.value,p.bottom=te>C.value;const ft=Math.abs(te)<=(l.top||0),$e=Math.abs(te)+D.clientHeight>=D.scrollHeight-(l.bottom||0)-Wr;S==="flex"&&H==="column-reverse"?(g.top=$e,g.bottom=ft):(g.top=ft,g.bottom=$e),C.value=te},G=_=>{var A;if(!a)return;const D=(A=_.target.documentElement)!=null?A:_.target;V(D),K.value=!0,k(_),i(_)};return Qe(e,"scroll",n?Ta(G,n,!0,!1):G,c),zn(()=>{try{const _=le(e);if(!_)return;V(_)}catch(_){h(_)}}),y?.mutation&&e!=null&&e!==a&&e!==document&&La(e,()=>{const _=le(e);_&&V(_)},{attributes:!0,childList:!0,subtree:!0}),Qe(e,"scrollend",O,c),{x:I,y:X,isScrolling:K,arrivedState:g,directions:p,measure(){const _=le(e);a&&_&&V(_)}}}function Eo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Eo(n)}}function Ba(e){const t=e||window.event,n=t.target;return Eo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ps=new WeakMap;function Uf(e,t=!1){const n=Ie(t);let s=null,r="";Re(Ys(e),o=>{const c=hs(le(o));if(c){const u=c;if(ps.get(u)||ps.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const o=hs(le(e));!o||n.value||(Vr&&(s=Qe(o,"touchmove",c=>{Ba(c)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},l=()=>{const o=hs(le(e));!o||!n.value||(Vr&&s?.(),o.style.overflow=r,ps.delete(o),n.value=!1)};return Xs(l),oe({get(){return n.value},set(o){o?i():l()}})}function Wf(e={}){const{window:t=Be,...n}=e;return Wa(t,n)}function Bf(e={}){const{window:t=Be,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:l="inner"}=e,o=Ie(n),c=Ie(s),u=()=>{if(t)if(l==="outer")o.value=t.outerWidth,c.value=t.outerHeight;else if(l==="visual"&&t.visualViewport){const{width:h,height:y,scale:v}=t.visualViewport;o.value=Math.round(h*v),c.value=Math.round(y*v)}else i?(o.value=t.innerWidth,c.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};u(),zn(u);const a={passive:!0};if(Qe("resize",u,a),t&&l==="visual"&&t.visualViewport&&Qe(t.visualViewport,"resize",u,a),r){const h=wo("(orientation: portrait)");Re(h,()=>u())}return{width:o,height:c}}const Ka={};var qa={};const To=/^(?:[a-z]+:|\/\/)/i,Ga="vitepress-theme-appearance",Co=Symbol("stack-view:unpack"),za=/#.*$/,Xa=/[?#].*$/,Ya=/(?:(^|\/)index)?\.(?:md|html)$/,me=typeof document<"u",Ao={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ja(e,t,n=!1){if(t===void 0)return!1;if(e=Br(`/${e}`),n)return new RegExp(t).test(e);if(Br(t)!==e)return!1;const s=t.match(za);return s?(me?location.hash:"")===s[0]:!0}function Br(e){return decodeURI(e).replace(Xa,"").replace(Ya,"$1")}function Qa(e){return To.test(e)}function Za(e,t){return Object.keys(e?.locales||{}).find(n=>n!=="root"&&!Qa(n)&&Ja(t,`^/${n}/`,!0))||"root"}function ef(e,t){const n=Za(e,t),{label:s,link:r,...i}=e.locales[n]??{};Object.assign(i,{localeIndex:n});const l=of(e,t),o={head:Oo(e.head??[],i.head??[],...l.map(c=>c.head??[]).reverse())};return Qs(o,...l,i,e)}function Ro(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=tf(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function tf(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Oo(...e){const t=[],n=new Map;for(const s of e)for(const r of s){const[i,l]=r,o=Object.entries(l)[0];if(i!=="meta"||!o){t.push(r);continue}const c=`${o[0]}=${o[1]}`,u=n.get(c);u!=null?t[u]=r:(n.set(c,t.length),t.push(r))}return t}const nf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,sf=/^[a-z]:/i;function Kr(e){const t=sf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(nf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const gs=new Set;function rf(e){if(gs.size===0){const n=typeof process=="object"&&qa?.VITE_EXTRA_EXTENSIONS||Ka?.VITE_EXTRA_EXTENSIONS||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>gs.add(s))}const t=e.split(".").pop();return t==null||!gs.has(t.toLowerCase())}function of({additionalConfig:e},t){if(e===void 0)return[];if(typeof e=="function")return e(t)??[];const n=[],s=t.split("/").slice(0,-1);for(;s.length;){const r=`/${s.join("/")}/`;n.push(e[r]),s.pop()}return n.push(e["/"]),n.filter(r=>r!==void 0)}function Qs(...e){const t=e.filter(r=>lf(r));if(t.length<=1)return e[0];const n=new Set(t.flatMap(r=>Reflect.ownKeys(r))),s=[...n];return new Proxy({},{get(r,i){return i===Co?t:Qs(...t.map(l=>l[i]).filter(l=>l!==void 0))},set(){throw new Error("StackView is read-only and cannot be mutated.")},has(r,i){return n.has(i)},ownKeys(){return s},getOwnPropertyDescriptor(r,i){for(const l of t){const o=Object.getOwnPropertyDescriptor(l,i);if(o)return o}}})}Qs.unpack=function(e){return e?.[Co]};function lf(e){return Object.prototype.toString.call(e)==="[object Object]"}const cf=Symbol(),it=Ie(Dt(ga));function Kf(e){const t=oe(()=>ef(it.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?yt(!0):n==="force-auto"?xo():n?Ua({storageKey:Ga,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):yt(!1),r=yt(me?location.hash:"");return me&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Re(()=>e.data,()=>{r.value=me?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>Ro(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function af(){const e=wt(cf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function ff(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function qr(e){return To.test(e)||!e.startsWith("/")?e:ff(it.value.base,e)}function uf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),me){const n="/Unified-AI-Router/";t=Kr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${Kr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Sn=[];function qf(e){Sn.push(e),Ra(()=>{Sn=Sn.filter(t=>t!==e)})}function df(){let e=it.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Gr(e,n);else if(Array.isArray(e))for(const s of e){const r=Gr(s,n);if(r){t=r;break}}return t}function Gr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const hf=Symbol(),Mo="http://a.com",pf=()=>({path:"/",hash:"",query:"",component:null,data:Ao});function Gf(e,t){const n=Nt(pf()),s={route:n,async go(o,c){o=Ps(o),await s.onBeforeRouteChange?.(o)!==!1&&((!me||await mf(o,c))&&await i(o),l(),await s.onAfterRouteChange?.(o))}};let r=null;async function i(o,c=0,u=!1){if(await s.onBeforePageLoad?.(o)===!1)return;const a=new URL(o,Mo),h=r=a.pathname;try{let y=await e(h);if(!y)throw new Error(`Page not found: ${h}`);if(r===h){r=null;const{default:v,__pageData:C}=y;if(!v)throw new Error(`Invalid route component: ${v}`);await s.onAfterPageLoad?.(o),n.path=me?h:qr(h),n.component=yn(v),n.data=yn(C),l(a),me&&Un(()=>{let I=it.value.base+C.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");return!it.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==a.pathname&&(a.pathname=I,o=I+a.search+a.hash,history.replaceState({},"",o)),Ls(a.hash,!1,c)})}}catch(y){if(!/fetch|Page not found/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(o)&&console.error(y),!u)try{const v=await fetch(it.value.base+"hashmap.json");window.__VP_HASH_MAP__=await v.json(),await i(o,c,!0);return}catch{}if(r===h){r=null,n.path=me?h:qr(h),n.component=t?yn(t):null;const v=me?n.path.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").slice(it.value.base.length):"404.md";n.data={...Ao,relativePath:v},l(a)}}}function l(o=me?location:{search:"",hash:""}){n.query=o.search,n.hash=decodeURIComponent(o.hash)}return me&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",o=>{if(o.defaultPrevented||!(o.target instanceof Element)||o.target.closest("button")||o.button!==0||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey)return;const c=o.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:h,pathname:y}=new URL(u,c.baseURI),v=new URL(location.href);h===v.origin&&rf(y)&&(o.preventDefault(),s.go(a,{smoothScroll:c.classList.contains("header-anchor")}))},{capture:!0}),window.addEventListener("popstate",async o=>{if(o.state===null)return;const c=Ps(location.href);await i(c,o.state&&o.state.scrollPosition||0),l(),await s.onAfterRouteChange?.(c)}),window.addEventListener("hashchange",o=>{o.preventDefault(),l()})),s}function gf(){const e=wt(hf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Lo(){return gf().route}function Ls(e,t=!1,n=0){if(!e||n){window.scrollTo(0,n);return}let s=null;try{s=document.getElementById(decodeURIComponent(e).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!t||Math.abs(l-window.scrollY)>window.innerHeight?window.scrollTo(0,l):window.scrollTo({left:0,top:l,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),l=window.scrollY+s.getBoundingClientRect().top-df()+i;requestAnimationFrame(r)}}function Ps(e){const t=new URL(e,Mo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),it.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}async function mf(e,{smoothScroll:t=!1,initialLoad:n=!1,replace:s=!1}={}){const r=Ps(location.href),i=new URL(e,location.origin),l=new URL(r,location.origin);if(e===r){if(!n)return Ls(i.hash,t),!1}else if(s?history.replaceState({},"",e):(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",e)),i.pathname===l.pathname)return i.hash!==l.hash&&(window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:l.href,newURL:i.href})),Ls(i.hash,t)),!1;return!0}const gn=()=>Sn.forEach(e=>e()),zf=Pi({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Lo(),{frontmatter:n,site:s}=af();return Re(n,gn,{deep:!0,flush:"post"}),()=>Os(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Os(t.component,{onVnodeMounted:gn,onVnodeUpdated:gn,onVnodeUnmounted:gn}):"404 Page Not Found"])}}),Xf=Pi({setup(e,{slots:t}){const n=yt(!1);return Ft(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Yf(){me&&window.addEventListener("click",e=>{const t=e.target;if(t.matches(".vp-code-group input")){const n=t.parentElement?.parentElement;if(!n)return;const s=Array.from(n.querySelectorAll("input")).indexOf(t);if(s<0)return;const r=n.querySelector(".blocks");if(!r)return;const i=Array.from(r.children).find(c=>c.classList.contains("active"));if(!i)return;const l=r.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active"),n?.querySelector(`label[for="${t.id}"]`)?.scrollIntoView({block:"nearest"})}})}const vf=/language-(shellscript|shell|bash|sh|zsh)/,yf=[".vp-copy-ignore",".diff.remove"].join(", ");function Jf(){if(me){const e=new WeakMap;window.addEventListener("click",t=>{const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,r=n.nextElementSibling?.nextElementSibling;if(!s||!r)return;const i=vf.test(s.className),l=r.cloneNode(!0);l.querySelectorAll(yf).forEach(c=>c.remove()),l.innerHTML=l.innerHTML.replace(/\n+/g,`
|
|
19
|
-
`);let o=l.textContent||"";i&&(o=o.replace(/^ *(\$|>) /gm,"").trim()),_f(o).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function _f(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Qf(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(o=>{const c=ms(o);for(const u of document.head.children)if(u.isEqualNode(c)){s.push(u);return}});return}const l=i.map(ms);s.forEach((o,c)=>{const u=l.findIndex(a=>a?.isEqualNode(o??null));u!==-1?delete l[u]:(o?.remove(),delete s[c])}),l.forEach(o=>o&&document.head.appendChild(o)),s=[...s,...l].filter(Boolean)};to(()=>{const i=e.data,l=t.value,o=i&&i.description,c=i&&i.frontmatter.head||[],u=Ro(l,i);u!==document.title&&(document.title=u);const a=o||l.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):ms(["meta",{name:"description",content:a}]),r(Oo(l.head,wf(c)))})}function ms([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function bf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function wf(e){return e.filter(t=>!bf(t))}const vs=new Set,Po=()=>document.createElement("link"),Sf=e=>{const t=Po();t.rel="prefetch",t.href=e,document.head.appendChild(t)},xf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let mn;const Ef=me&&(mn=Po())&&mn.relList&&mn.relList.supports&&mn.relList.supports("prefetch")?Sf:xf;function Zf(){if(!me||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(l=>{if(l.isIntersecting){const o=l.target;n.unobserve(o);const{pathname:c}=o;if(!vs.has(c)){vs.add(c);const u=uf(c);u&&Ef(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:l,pathname:o}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=o.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&l===location.hostname&&(o!==location.pathname?n.observe(i):vs.add(o))})})};Ft(s);const r=Lo();Re(()=>r.path,s),Kn(()=>{n&&n.disconnect()})}export{Hf as $,Pf as A,Ie as B,me as C,Lo as D,Tf as E,qf as F,we as G,Rf as H,Cf as I,he as J,Af as K,To as L,Ac as M,wt as N,Hs as O,Bf as P,kf as Q,Un as R,Wf as S,Ff as T,Dt as U,Uf as V,ic as W,Mf as X,$f as Y,Di as Z,Vf as _,fo as a,Lf as a0,Qf as a1,hf as a2,Kf as a3,cf as a4,zf as a5,Xf as a6,it as a7,Gf as a8,uf as a9,jf as aa,Zf as ab,Jf as ac,Yf as ad,Os as ae,Nf as af,As as b,If as c,Pi as d,Df as e,rf as f,qr as g,oe as h,Qa as i,ao as j,Ws as k,Ja as l,wo as m,$s as n,Cs as o,Ft as p,Kl as q,Of as r,Kn as s,Go as t,af as u,df as v,Ll as w,yt as x,to as y,Re as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as m,c as d,r as c,n as V,o as s,a as U,t as T,b as k,w as f,T as le,e as h,_,u as Ee,i as Fe,f as Oe,g as ce,h as g,j as v,k as i,l as R,m as ge,p as D,q as De,s as ue,v as Ge,x as P,y as X,z as C,A as de,B as ve,C as K,D as Z,E as $e,F as Pe,G as N,H as I,I as j,J as p,K as H,L as Le,M as O,N as ee,O as Ve,P as Ue,Q as Re,R as Se,S as Te,U as je,V as Ne,W as we,X as We,Y as ze,Z as qe,$ as Ke,a0 as Je}from"./framework.DLCvNBTH.js";const Ye=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(s(),d("span",{class:V(["VPBadge",e.type])},[c(t.$slots,"default",{},()=>[U(T(e.text),1)])],2))}}),Qe={key:0,class:"VPBackdrop"},Xe=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(s(),k(le,{name:"fade"},{default:f(()=>[e.show?(s(),d("div",Qe)):h("",!0)]),_:1}))}}),Ze=_(Xe,[["__scopeId","data-v-c79a1216"]]),$=Ee;function et(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function ae(e){return e.startsWith("/")?e:`/${e}`}function fe(e){const{pathname:t,search:n,hash:a,protocol:o}=new URL(e,"http://a.com");if(Fe(e)||e.startsWith("#")||!o.startsWith("http")||!Oe(t))return e;const{site:r}=$(),u=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${n}${a}`);return ce(u)}function J({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:o,hash:r}=$(),u=g(()=>({label:t.value.locales[n.value]?.label,link:t.value.locales[n.value]?.link||(n.value==="root"?"/":`/${n.value}/`)}));return{localeLinks:g(()=>Object.entries(t.value.locales).flatMap(([b,y])=>u.value.label===y.label?[]:{text:y.label,link:tt(y.link||(b==="root"?"/":`/${b}/`),o.value.i18nRouting!==!1&&e,a.value.relativePath.slice(u.value.link.length-1),!t.value.cleanUrls)+r.value})),currentLang:u}}function tt(e,t,n,a){return t?e.replace(/\/$/,"")+ae(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const nt={class:"NotFound"},at={class:"code"},ot={class:"title"},st={class:"quote"},it={class:"action"},rt=["href","aria-label"],lt=m({__name:"NotFound",setup(e){const{theme:t}=$(),{currentLang:n}=J();return(a,o)=>(s(),d("div",nt,[v("p",at,T(i(t).notFound?.code??"404"),1),v("h1",ot,T(i(t).notFound?.title??"PAGE NOT FOUND"),1),o[0]||(o[0]=v("div",{class:"divider"},null,-1)),v("blockquote",st,T(i(t).notFound?.quote??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",it,[v("a",{class:"link",href:i(ce)(i(t).notFound?.link??i(n).link),"aria-label":i(t).notFound?.linkLabel??"go to home"},T(i(t).notFound?.linkText??"Take me home"),9,rt)])]))}}),ct=_(lt,[["__scopeId","data-v-829df670"]]);function Ie(e,t){if(Array.isArray(e))return Y(e);if(e==null)return[];t=ae(t);const n=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>t.startsWith(ae(o))),a=n?e[n]:[];return Array.isArray(a)?Y(a):Y(a.items,a.base)}function ut(e){const t=[];let n=0;for(const a in e){const o=e[a];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function dt(e){const t=[];function n(a){for(const o of a)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(e),t}function oe(e,t){return Array.isArray(t)?t.some(n=>oe(e,n)):R(e,t.link)?!0:t.items?oe(e,t.items):!1}function Y(e,t){return[...e].map(n=>{const a={...n},o=a.base||t;return o&&a.link&&(a.link=o+a.link.replace(/^\//,o.endsWith("/")?"":"/")),a.items&&(a.items=Y(a.items,o)),a})}function vt(){const{hasSidebar:e}=E(),t=ge("(min-width: 960px)"),n=ge("(min-width: 1280px)");return{isAsideEnabled:g(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const ft=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,se=[];function Me(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function ht(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:mt(n),link:"#"+n.id,level:a}});return pt(t,e)}function mt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(ft.test(n.className))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function pt(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[a,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;return bt(e,a,o)}function kt(e,t){const{isAsideEnabled:n}=vt(),a=et(r,100);let o=null;D(()=>{requestAnimationFrame(r),window.addEventListener("scroll",a)}),De(()=>{u(location.hash)}),ue(()=>{window.removeEventListener("scroll",a)});function r(){if(!n.value)return;const l=window.scrollY,b=window.innerHeight,y=document.body.offsetHeight,L=Math.abs(l+b-y)<1,S=se.map(({element:M,link:x})=>({link:x,top:_t(M)})).filter(({top:M})=>!Number.isNaN(M)).sort((M,x)=>M.top-x.top);if(!S.length){u(null);return}if(l<1){u(null);return}if(L){u(S[S.length-1].link);return}let w=null;for(const{link:M,top:x}of S){if(x>l+Ge()+4)break;w=M}u(w)}function u(l){o&&o.classList.remove("active"),l==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const b=o;b?(b.classList.add("active"),t.value.style.top=b.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function _t(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function bt(e,t,n){se.length=0;const a=[],o=[];return e.forEach(r=>{const u={...r,children:[]};let l=o[o.length-1];for(;l&&l.level>=u.level;)o.pop(),l=o[o.length-1];if(u.element.classList.contains("ignore-header")||l&&"shouldIgnore"in l){o.push({level:u.level,shouldIgnore:!0});return}u.level>n||u.level<t||(se.push({element:u.element,link:u.link}),l?l.children.push(u):a.push(u),o.push(u))}),a}const W=P(!1);function gt(e){let t;X(()=>{t=W.value?document.activeElement:void 0}),D(()=>{window.addEventListener("keyup",n)}),ue(()=>{window.removeEventListener("keyup",n)});function n(a){a.key==="Escape"&&W.value&&(e(),t?.focus())}}function $t(){function e(){W.value=!0}function t(){W.value=!1}function n(){W.value?t():e()}return{isOpen:W,open:e,close:t,toggle:n}}function yt(e){const{page:t,hash:n}=$(),a=P(!1),o=g(()=>e.value.collapsed!=null),r=g(()=>!!e.value.link),u=P(!1),l=()=>{u.value=R(t.value.relativePath,e.value.link)};C([t,e,n],l),D(l);const b=g(()=>u.value?!0:e.value.items?oe(t.value.relativePath,e.value.items):!1),y=g(()=>!!(e.value.items&&e.value.items.length));X(()=>{a.value=!!(o.value&&e.value.collapsed)}),de(()=>{(u.value||b.value)&&(a.value=!1)});function L(){o.value&&(a.value=!a.value)}return{collapsed:a,collapsible:o,isLink:r,isActiveLink:u,hasActiveLink:b,hasChildren:y,toggle:L}}const ie=ve([]),q=ve([]),re=ve(!1);function E(){const{frontmatter:e,theme:t}=$(),n=g(()=>!!(e.value.isHome??e.value.layout==="home")),a=g(()=>e.value.sidebar!==!1&&q.value.length>0&&!n.value),o=g(()=>a.value&&re.value),r=g(()=>a.value?ut(q.value):[]),u=g(()=>n.value?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),l=g(()=>u.value?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=g(()=>ie.value.length>0);return{isHome:n,sidebar:$e(q),sidebarGroups:r,hasSidebar:a,isSidebarEnabled:o,hasAside:u,leftAside:l,headers:$e(ie),hasLocalNav:b}}function Pt({closeSidebar:e}){const{frontmatter:t,page:n,theme:a}=$();C(()=>[n.value.relativePath,a.value.sidebar],([r,u])=>{const l=u?Ie(u,r):[];JSON.stringify(l)!==JSON.stringify(q.value)&&(q.value=l)},{immediate:!0,deep:!0,flush:"sync"}),Pe(()=>{ie.value=ht(t.value.outline??a.value.outline)}),K&&(re.value=window.innerWidth>=960,window.addEventListener("resize",()=>{re.value=window.innerWidth>=960},{passive:!0}));const o=Z();C(()=>o.path,e),gt(e)}const xe=Symbol("layout-info"),Lt=["href","title"],Vt=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:n}){const a=n.href.split("#")[1];document.getElementById(decodeURIComponent(a))?.focus({preventScroll:!0})}return(n,a)=>{const o=j("VPDocOutlineItem",!0);return s(),d("ul",{class:V(["VPDocOutlineItem",e.root?"root":"nested"])},[(s(!0),d(N,null,I(e.headers,({children:r,link:u,title:l})=>(s(),d("li",null,[v("a",{class:"outline-link",href:u,onClick:t,title:l},T(l),9,Lt),r?.length?(s(),k(o,{key:0,headers:r},null,8,["headers"])):h("",!0)]))),256))],2)}}}),He=_(Vt,[["__scopeId","data-v-2d0bdf9b"]]),St={class:"content"},Tt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nt=m({__name:"VPDocAsideOutline",setup(e){const{theme:t}=$(),n=P(),a=P(),{headers:o,hasLocalNav:r}=E();return kt(n,a),(u,l)=>(s(),d("nav",{"aria-labelledby":"doc-outline-aria-label",class:V(["VPDocAsideOutline",{"has-outline":i(r)}]),ref_key:"container",ref:n},[v("div",St,[v("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),v("div",Tt,T(i(Me)(i(t))),1),p(He,{headers:i(o),root:!0},null,8,["headers"])])],2))}}),wt=_(Nt,[["__scopeId","data-v-60d5052e"]]),It={class:"VPDocAsideCarbonAds"},Mt=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,a)=>(s(),d("div",It,[p(i(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),xt={class:"VPDocAside"},Ht=m({__name:"VPDocAside",setup(e){const{theme:t}=$();return(n,a)=>(s(),d("div",xt,[c(n.$slots,"aside-top",{},void 0,!0),c(n.$slots,"aside-outline-before",{},void 0,!0),p(wt),c(n.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=v("div",{class:"spacer"},null,-1)),c(n.$slots,"aside-ads-before",{},void 0,!0),i(t).carbonAds?(s(),k(Mt,{key:0,"carbon-ads":i(t).carbonAds},null,8,["carbon-ads"])):h("",!0),c(n.$slots,"aside-ads-after",{},void 0,!0),c(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Bt=_(Ht,[["__scopeId","data-v-3f215769"]]);function At(){const{theme:e,page:t}=$();return g(()=>{const{text:n="Edit this page",pattern:a=""}=e.value.editLink||{};let o;return typeof a=="function"?o=a(t.value):o=a.replace(/:path/g,t.value.filePath),{url:o,text:n}})}function Ct(){const{page:e,theme:t,frontmatter:n}=$();return g(()=>{const a=Ie(t.value.sidebar,e.value.relativePath),o=dt(a),r=Et(o,y=>y.link.replace(/[?#].*$/,"")),u=r.findIndex(y=>R(e.value.relativePath,y.link)),l=t.value.docFooter?.prev===!1&&!n.value.prev||n.value.prev===!1,b=t.value.docFooter?.next===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??r[u-1]?.docFooterText??r[u-1]?.text,link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??r[u-1]?.link},next:b?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??r[u+1]?.docFooterText??r[u+1]?.text,link:(typeof n.value.next=="object"?n.value.next.link:void 0)??r[u+1]?.link}}})}function Et(e,t){const n=new Set;return e.filter(a=>{const o=t(a);return n.has(o)?!1:n.add(o)})}const B=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=g(()=>t.tag??(t.href?"a":"span")),a=g(()=>t.href&&Le.test(t.href)||t.target==="_blank");return(o,r)=>(s(),k(H(n.value),{class:V(["VPLink",{link:e.href,"vp-external-link-icon":a.value,"no-icon":e.noIcon}]),href:e.href?i(fe)(e.href):void 0,target:e.target??(a.value?"_blank":void 0),rel:e.rel??(a.value?"noreferrer":void 0)},{default:f(()=>[c(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ft={class:"VPLastUpdated"},Ot=["datetime"],Dt=m({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=$(),o=g(()=>new Date(n.value.lastUpdated)),r=g(()=>o.value.toISOString()),u=P("");return D(()=>{X(()=>{u.value=new Intl.DateTimeFormat(t.value.lastUpdated?.formatOptions?.forceLocale?a.value:void 0,t.value.lastUpdated?.formatOptions??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(l,b)=>(s(),d("p",Ft,[U(T(i(t).lastUpdated?.text||i(t).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:r.value},T(u.value),9,Ot)]))}}),Gt=_(Dt,[["__scopeId","data-v-e98dd255"]]),Ut={key:0,class:"VPDocFooter"},Rt={key:0,class:"edit-info"},jt={key:0,class:"edit-link"},Wt={key:1,class:"last-updated"},zt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},qt={class:"pager"},Kt=["innerHTML"],Jt=["innerHTML"],Yt={class:"pager"},Qt=["innerHTML"],Xt=["innerHTML"],Zt=m({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=$(),o=At(),r=Ct(),u=g(()=>t.value.editLink&&a.value.editLink!==!1),l=g(()=>n.value.lastUpdated),b=g(()=>u.value||l.value||r.value.prev||r.value.next);return(y,L)=>b.value?(s(),d("footer",Ut,[c(y.$slots,"doc-footer-before",{},void 0,!0),u.value||l.value?(s(),d("div",Rt,[u.value?(s(),d("div",jt,[p(B,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:f(()=>[L[0]||(L[0]=v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),U(" "+T(i(o).text),1)]),_:1},8,["href"])])):h("",!0),l.value?(s(),d("div",Wt,[p(Gt)])):h("",!0)])):h("",!0),i(r).prev?.link||i(r).next?.link?(s(),d("nav",zt,[L[1]||(L[1]=v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),v("div",qt,[i(r).prev?.link?(s(),k(B,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:f(()=>[v("span",{class:"desc",innerHTML:i(t).docFooter?.prev||"Previous page"},null,8,Kt),v("span",{class:"title",innerHTML:i(r).prev.text},null,8,Jt)]),_:1},8,["href"])):h("",!0)]),v("div",Yt,[i(r).next?.link?(s(),k(B,{key:0,class:"pager-link next",href:i(r).next.link},{default:f(()=>[v("span",{class:"desc",innerHTML:i(t).docFooter?.next||"Next page"},null,8,Qt),v("span",{class:"title",innerHTML:i(r).next.text},null,8,Xt)]),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}),en=_(Zt,[["__scopeId","data-v-e257564d"]]),tn={class:"container"},nn={class:"aside-container"},an={class:"aside-content"},on={class:"content"},sn={class:"content-container"},rn={class:"main"},ln=m({__name:"VPDoc",setup(e){const{theme:t}=$(),n=Z(),{hasSidebar:a,hasAside:o,leftAside:r}=E(),u=g(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,b)=>{const y=j("Content");return s(),d("div",{class:V(["VPDoc",{"has-sidebar":i(a),"has-aside":i(o)}])},[c(l.$slots,"doc-top",{},void 0,!0),v("div",tn,[i(o)?(s(),d("div",{key:0,class:V(["aside",{"left-aside":i(r)}])},[b[0]||(b[0]=v("div",{class:"aside-curtain"},null,-1)),v("div",nn,[v("div",an,[p(Bt,null,{"aside-top":f(()=>[c(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),v("div",on,[v("div",sn,[c(l.$slots,"doc-before",{},void 0,!0),v("main",rn,[p(y,{class:V(["vp-doc",[u.value,i(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),p(en,null,{"doc-footer-before":f(()=>[c(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(l.$slots,"doc-after",{},void 0,!0)])])]),c(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),cn=_(ln,[["__scopeId","data-v-7011f0d8"]]),un=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=g(()=>t.href&&Le.test(t.href)),a=g(()=>t.tag||(t.href?"a":"button"));return(o,r)=>(s(),k(H(a.value),{class:V(["VPButton",[e.size,e.theme]]),href:e.href?i(fe)(e.href):void 0,target:t.target??(n.value?"_blank":void 0),rel:t.rel??(n.value?"noreferrer":void 0)},{default:f(()=>[c(o.$slots,"default",{},()=>[U(T(e.text),1)],!0)]),_:3},8,["class","href","target","rel"]))}}),dn=_(un,[["__scopeId","data-v-01bff58b"]]),vn=["src","alt"],fn=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const a=j("VPImage",!0);return e.image?(s(),d(N,{key:0},[typeof e.image=="string"||"src"in e.image?(s(),d("img",O({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:i(ce)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,vn)):(s(),d(N,{key:1},[p(a,O({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),p(a,O({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),Q=_(fn,[["__scopeId","data-v-8426fc1a"]]),hn={class:"container"},mn={class:"main"},pn={class:"heading"},kn=["innerHTML"],_n=["innerHTML"],bn=["innerHTML"],gn={key:0,class:"actions"},$n={key:0,class:"image"},yn={class:"image-container"},Pn=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const{heroImageSlotExists:t}=ee(xe);return(n,a)=>(s(),d("div",{class:V(["VPHero",{"has-image":e.image||i(t)}])},[v("div",hn,[v("div",mn,[c(n.$slots,"home-hero-info-before",{},void 0,!0),c(n.$slots,"home-hero-info",{},()=>[v("h1",pn,[e.name?(s(),d("span",{key:0,innerHTML:e.name,class:"name clip"},null,8,kn)):h("",!0),e.text?(s(),d("span",{key:1,innerHTML:e.text,class:"text"},null,8,_n)):h("",!0)]),e.tagline?(s(),d("p",{key:0,innerHTML:e.tagline,class:"tagline"},null,8,bn)):h("",!0)],!0),c(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(s(),d("div",gn,[(s(!0),d(N,null,I(e.actions,o=>(s(),d("div",{key:o.link,class:"action"},[p(dn,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),e.image||i(t)?(s(),d("div",$n,[v("div",yn,[a[0]||(a[0]=v("div",{class:"image-bg"},null,-1)),c(n.$slots,"home-hero-image",{},()=>[e.image?(s(),k(Q,{key:0,class:"image-src",image:e.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Ln=_(Pn,[["__scopeId","data-v-1e96e9e8"]]),Vn=m({__name:"VPHomeHero",setup(e){const{frontmatter:t}=$();return(n,a)=>i(t).hero?(s(),k(Ln,{key:0,class:"VPHomeHero",name:i(t).hero.name,text:i(t).hero.text,tagline:i(t).hero.tagline,image:i(t).hero.image,actions:i(t).hero.actions},{"home-hero-info-before":f(()=>[c(n.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[c(n.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[c(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[c(n.$slots,"home-hero-actions-after")]),"home-hero-image":f(()=>[c(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),Sn={class:"box"},Tn={key:0,class:"icon"},Nn=["innerHTML"],wn=["innerHTML"],In=["innerHTML"],Mn={key:4,class:"link-text"},xn={class:"link-text-value"},Hn=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(s(),k(B,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[v("article",Sn,[typeof e.icon=="object"&&e.icon.wrap?(s(),d("div",Tn,[p(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(s(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(s(),d("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Nn)):h("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,wn),e.details?(s(),d("p",{key:3,class:"details",innerHTML:e.details},null,8,In)):h("",!0),e.linkText?(s(),d("div",Mn,[v("p",xn,[U(T(e.linkText)+" ",1),n[0]||(n[0]=v("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Bn=_(Hn,[["__scopeId","data-v-5219619b"]]),An={key:0,class:"VPFeatures"},Cn={class:"container"},En={class:"items"},Fn=m({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=g(()=>{const a=t.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,o)=>e.features?(s(),d("div",An,[v("div",Cn,[v("div",En,[(s(!0),d(N,null,I(e.features,r=>(s(),d("div",{key:r.title,class:V(["item",[n.value]])},[p(Bn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),On=_(Fn,[["__scopeId","data-v-a6181336"]]),Dn=m({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=$();return(n,a)=>i(t).features?(s(),k(On,{key:0,class:"VPHomeFeatures",features:i(t).features},null,8,["features"])):h("",!0)}}),Gn=m({__name:"VPHomeContent",setup(e){const{width:t}=Ue({initialWidth:0,includeScrollbar:!1});return(n,a)=>(s(),d("div",{class:"vp-doc container",style:Ve(i(t)?{"--vp-offset":`calc(50% - ${i(t)/2}px)`}:{})},[c(n.$slots,"default",{},void 0,!0)],4))}}),Un=_(Gn,[["__scopeId","data-v-8e2d4988"]]),Rn=m({__name:"VPHome",setup(e){const{frontmatter:t,theme:n}=$();return(a,o)=>{const r=j("Content");return s(),d("div",{class:V(["VPHome",{"external-link-icon-enabled":i(n).externalLinkIcon}])},[c(a.$slots,"home-hero-before",{},void 0,!0),p(Vn,null,{"home-hero-info-before":f(()=>[c(a.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(a.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(a.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(a.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(a.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(a.$slots,"home-hero-after",{},void 0,!0),c(a.$slots,"home-features-before",{},void 0,!0),p(Dn),c(a.$slots,"home-features-after",{},void 0,!0),i(t).markdownStyles!==!1?(s(),k(Un,{key:0},{default:f(()=>[p(r)]),_:1})):(s(),k(r,{key:1}))],2)}}}),jn=_(Rn,[["__scopeId","data-v-8b561e3d"]]),Wn={},zn={class:"VPPage"};function qn(e,t){const n=j("Content");return s(),d("div",zn,[c(e.$slots,"page-top"),p(n),c(e.$slots,"page-bottom")])}const Kn=_(Wn,[["render",qn]]),Jn=m({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=$(),{isHome:a,hasSidebar:o}=E();return(r,u)=>(s(),d("div",{class:V(["VPContent",{"has-sidebar":i(o),"is-home":i(a)}]),id:"VPContent"},[i(t).isNotFound?c(r.$slots,"not-found",{key:0},()=>[p(ct)],!0):i(n).layout==="page"?(s(),k(Kn,{key:1},{"page-top":f(()=>[c(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(n).layout==="home"?(s(),k(jn,{key:2},{"home-hero-before":f(()=>[c(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(n).layout&&i(n).layout!=="doc"?(s(),k(H(i(n).layout),{key:3})):(s(),k(cn,{key:4},{"doc-top":f(()=>[c(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[c(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[c(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[c(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[c(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Yn=_(Jn,[["__scopeId","data-v-aff0b8d7"]]),Qn={class:"container"},Xn=["innerHTML"],Zn=["innerHTML"],ea=m({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=$(),{hasSidebar:a}=E();return(o,r)=>i(t).footer&&i(n).footer!==!1?(s(),d("footer",{key:0,class:V(["VPFooter",{"has-sidebar":i(a)}])},[v("div",Qn,[i(t).footer.message?(s(),d("p",{key:0,class:"message",innerHTML:i(t).footer.message},null,8,Xn)):h("",!0),i(t).footer.copyright?(s(),d("p",{key:1,class:"copyright",innerHTML:i(t).footer.copyright},null,8,Zn)):h("",!0)])],2)):h("",!0)}}),ta=_(ea,[["__scopeId","data-v-c3855bb3"]]),na={class:"menu-text"},aa={class:"header"},oa={class:"outline"},sa=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=$(),a=P(!1),o=P(0),r=P(),u=P();function l(S){r.value?.contains(S.target)||(a.value=!1)}C(a,S=>{if(S){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),Re("Escape",()=>{a.value=!1}),Pe(()=>{a.value=!1});function b(){a.value=!a.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function y(S){S.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),Se(()=>{a.value=!1}))}function L(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(S,w)=>(s(),d("div",{class:"VPLocalNavOutlineDropdown",style:Ve({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[e.headers.length>0?(s(),d("button",{key:0,onClick:b,class:V({open:a.value})},[v("span",na,T(i(Me)(i(n))),1),w[0]||(w[0]=v("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(s(),d("button",{key:1,onClick:L},T(i(n).returnToTopLabel||"Return to top"),1)),p(le,{name:"flyout"},{default:f(()=>[a.value?(s(),d("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:y},[v("div",aa,[v("a",{class:"top-link",href:"#",onClick:L},T(i(n).returnToTopLabel||"Return to top"),1)]),v("div",oa,[p(He,{headers:e.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),ia=_(sa,[["__scopeId","data-v-0bf0e06f"]]),ra={class:"container"},la=["aria-expanded"],ca={class:"menu-text"},ua=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=$(),{isHome:n,hasSidebar:a,headers:o,hasLocalNav:r}=E(),{y:u}=Te(),l=P(0);D(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))});const b=g(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:!r.value,fixed:!r.value&&!a.value}));return(y,L)=>!i(n)&&(i(r)||i(a)||i(u)>=l.value)?(s(),d("div",{key:0,class:V(b.value)},[v("div",ra,[i(a)?(s(),d("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:L[0]||(L[0]=S=>y.$emit("open-menu"))},[L[1]||(L[1]=v("span",{class:"vpi-align-left menu-icon"},null,-1)),v("span",ca,T(i(t).sidebarMenuLabel||"Menu"),1)],8,la)):h("",!0),p(ia,{headers:i(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),da=_(ua,[["__scopeId","data-v-8acdfeb5"]]);function va(){const e=P(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function a(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const r=Z();return C(()=>r.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const he=Symbol("nav"),fa={},ha={class:"VPSwitch",type:"button",role:"switch"},ma={class:"check"},pa={key:0,class:"icon"};function ka(e,t){return s(),d("button",ha,[v("span",ma,[e.$slots.default?(s(),d("span",pa,[c(e.$slots,"default",{},void 0,!0)])):h("",!0)])])}const _a=_(fa,[["render",ka],["__scopeId","data-v-1d5665e3"]]),ba=m({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=$(),a=ee("toggle-appearance",()=>{t.value=!t.value}),o=P("");return de(()=>{o.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,u)=>(s(),k(_a,{title:o.value,class:"VPSwitchAppearance","aria-checked":i(t),onClick:i(a)},{default:f(()=>[...u[0]||(u[0]=[v("span",{class:"vpi-sun sun"},null,-1),v("span",{class:"vpi-moon moon"},null,-1)])]),_:1},8,["title","aria-checked","onClick"]))}}),me=_(ba,[["__scopeId","data-v-5337faa4"]]),ga={key:0,class:"VPNavBarAppearance"},$a=m({__name:"VPNavBarAppearance",setup(e){const{site:t}=$();return(n,a)=>i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(s(),d("div",ga,[p(me)])):h("",!0)}}),ya=_($a,[["__scopeId","data-v-6c893767"]]),pe=P();let Be=!1,ne=0;function Pa(e){const t=P(!1);if(K){!Be&&La(),ne++;const n=C(pe,a=>{a===e.el.value||e.el.value?.contains(a)?(t.value=!0,e.onFocus?.()):(t.value=!1,e.onBlur?.())});ue(()=>{n(),ne--,ne||Va()})}return je(t)}function La(){document.addEventListener("focusin",Ae),Be=!0,pe.value=document.activeElement}function Va(){document.removeEventListener("focusin",Ae)}function Ae(){pe.value=document.activeElement}const Sa={class:"VPMenuLink"},Ta=["innerHTML"],Na=m({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=$();return(n,a)=>(s(),d("div",Sa,[p(B,{class:V({active:i(R)(i(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Ta)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),te=_(Na,[["__scopeId","data-v-cd834e02"]]),wa={class:"VPMenuGroup"},Ia={key:0,class:"title"},Ma=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(s(),d("div",wa,[e.text?(s(),d("p",Ia,T(e.text),1)):h("",!0),(s(!0),d(N,null,I(e.items,a=>(s(),d(N,{key:JSON.stringify(a)},["link"in a?(s(),k(te,{key:0,item:a},null,8,["item"])):h("",!0)],64))),128))]))}}),xa=_(Ma,[["__scopeId","data-v-1963e1bb"]]),Ha={class:"VPMenu"},Ba={key:0,class:"items"},Aa=m({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(s(),d("div",Ha,[e.items?(s(),d("div",Ba,[(s(!0),d(N,null,I(e.items,a=>(s(),d(N,{key:JSON.stringify(a)},["link"in a?(s(),k(te,{key:0,item:a},null,8,["item"])):"component"in a?(s(),k(H(a.component),O({key:1,ref_for:!0},a.props),null,16)):(s(),k(xa,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(t.$slots,"default",{},void 0,!0)]))}}),Ca=_(Aa,[["__scopeId","data-v-25a6cce8"]]),Ea=["aria-expanded","aria-label"],Fa={key:0,class:"text"},Oa=["innerHTML"],Da={key:1,class:"vpi-more-horizontal icon"},Ga={class:"menu"},Ua=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=P(!1),n=P();Pa({el:n,onBlur:a});function a(){t.value=!1}return(o,r)=>(s(),d("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:r[1]||(r[1]=u=>t.value=!0),onMouseleave:r[2]||(r[2]=u=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:r[0]||(r[0]=u=>t.value=!t.value)},[e.button||e.icon?(s(),d("span",Fa,[e.icon?(s(),d("span",{key:0,class:V([e.icon,"option-icon"])},null,2)):h("",!0),e.button?(s(),d("span",{key:1,innerHTML:e.button},null,8,Oa)):h("",!0),r[3]||(r[3]=v("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(s(),d("span",Da))],8,Ea),v("div",Ga,[p(Ca,{items:e.items},{default:f(()=>[c(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=_(Ua,[["__scopeId","data-v-42cb505d"]]),Ra=["href","aria-label","rel","innerHTML"],ja=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{},me:{type:Boolean}},setup(e){const t=e,n=P();D(async()=>{await Se();const o=n.value?.children[0];o instanceof HTMLElement&&o.className.startsWith("vpi-social-")&&(getComputedStyle(o).maskImage||getComputedStyle(o).webkitMaskImage)==="none"&&o.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const a=g(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}"></span>`);return(o,r)=>(s(),d("a",{ref_key:"el",ref:n,class:"VPSocialLink no-icon",href:e.link,"aria-label":e.ariaLabel??(typeof e.icon=="string"?e.icon:""),target:"_blank",rel:e.me?"me noopener":"noopener",innerHTML:a.value},null,8,Ra))}}),Wa=_(ja,[["__scopeId","data-v-591a6b30"]]),za={class:"VPSocialLinks"},qa=m({__name:"VPSocialLinks",props:{links:{},me:{type:Boolean,default:!0}},setup(e){return(t,n)=>(s(),d("div",za,[(s(!0),d(N,null,I(e.links,({link:a,icon:o,ariaLabel:r})=>(s(),k(Wa,{key:a,icon:o,link:a,ariaLabel:r,me:e.me},null,8,["icon","link","ariaLabel","me"]))),128))]))}}),_e=_(qa,[["__scopeId","data-v-d07f11e6"]]),Ka={key:0,class:"group translations"},Ja={class:"trans-title"},Ya={key:1,class:"group"},Qa={class:"item appearance"},Xa={class:"label"},Za={class:"appearance-action"},eo={key:2,class:"group"},to={class:"item social-links"},no=m({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=$(),{localeLinks:a,currentLang:o}=J({correspondingLink:!0}),r=g(()=>a.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(u,l)=>r.value?(s(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[i(a).length&&i(o).label?(s(),d("div",Ka,[v("p",Ja,T(i(o).label),1),(s(!0),d(N,null,I(i(a),b=>(s(),k(te,{key:b.link,item:b},null,8,["item"]))),128))])):h("",!0),i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(s(),d("div",Ya,[v("div",Qa,[v("p",Xa,T(i(n).darkModeSwitchLabel||"Appearance"),1),v("div",Za,[p(me)])])])):h("",!0),i(n).socialLinks?(s(),d("div",eo,[v("div",to,[p(_e,{class:"social-links-list",links:i(n).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),ao=_(no,[["__scopeId","data-v-bb2aa2f0"]]),oo=["aria-expanded"],so=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(s(),d("button",{type:"button",class:V(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=a=>t.$emit("click"))},[...n[1]||(n[1]=[v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)])],10,oo))}}),io=_(so,[["__scopeId","data-v-e5dd9c1c"]]),ro=["innerHTML"],lo=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=$();return(n,a)=>(s(),k(B,{class:V({VPNavBarMenuLink:!0,active:i(R)(i(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,tabindex:"0"},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,ro)]),_:1},8,["class","href","target","rel","no-icon"]))}}),co=_(lo,[["__scopeId","data-v-e56f3d57"]]),uo=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=r=>"component"in r?!1:"link"in r?R(n.value.relativePath,r.link,!!t.item.activeMatch):r.items.some(a),o=g(()=>a(t.item));return(r,u)=>(s(),k(ke,{class:V({VPNavBarMenuGroup:!0,active:i(R)(i(n).relativePath,e.item.activeMatch,!!e.item.activeMatch)||o.value}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),vo={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},fo=m({__name:"VPNavBarMenu",setup(e){const{theme:t}=$();return(n,a)=>i(t).nav?(s(),d("nav",vo,[a[0]||(a[0]=v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(s(!0),d(N,null,I(i(t).nav,o=>(s(),d(N,{key:JSON.stringify(o)},["link"in o?(s(),k(co,{key:0,item:o},null,8,["item"])):"component"in o?(s(),k(H(o.component),O({key:1,ref_for:!0},o.props),null,16)):(s(),k(uo,{key:2,item:o},null,8,["item"]))],64))),128))])):h("",!0)}}),ho=_(fo,[["__scopeId","data-v-39714824"]]);function mo(e){const{localeIndex:t,theme:n}=$();function a(o){const r=o.split("."),u=n.value.search?.options,l=u&&typeof u=="object",b=l&&u.locales?.[t.value]?.translations||null,y=l&&u.translations||null;let L=b,S=y,w=e;const M=r.pop();for(const x of r){let A=null;const G=w?.[x];G&&(A=w=G);const F=S?.[x];F&&(A=S=F);const z=L?.[x];z&&(A=L=z),G||(w=A),F||(S=A),z||(L=A)}return L?.[M]??S?.[M]??w?.[M]??""}return a}const po=["aria-label"],ko={class:"DocSearch-Button-Container"},_o={class:"DocSearch-Button-Placeholder"},ye=m({__name:"VPNavBarSearchButton",setup(e){const n=mo({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,o)=>(s(),d("button",{type:"button","aria-label":i(n)("button.buttonAriaLabel"),"aria-keyshortcuts":"/ control+k meta+k",class:"DocSearch DocSearch-Button"},[v("span",ko,[o[0]||(o[0]=v("span",{class:"vpi-search DocSearch-Search-Icon"},null,-1)),v("span",_o,T(i(n)("button.buttonText")),1)]),o[1]||(o[1]=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"})],-1))],8,po))}}),bo={class:"VPNavBarSearch"},go={id:"local-search"},$o={key:1,id:"docsearch"},yo=m({__name:"VPNavBarSearch",setup(e){const t=()=>null,n=()=>null,{theme:a}=$(),o=P(!1),r=P(!1);D(()=>{});function u(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const L=new Event("keydown");L.key="k",L.metaKey=!0,window.dispatchEvent(L),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}const b=P(!1),y="";return(L,S)=>(s(),d("div",bo,[i(y)==="local"?(s(),d(N,{key:0},[b.value?(s(),k(i(t),{key:0,onClose:S[0]||(S[0]=w=>b.value=!1)})):h("",!0),v("div",go,[p(ye,{onClick:S[1]||(S[1]=w=>b.value=!0)})])],64)):i(y)==="algolia"?(s(),d(N,{key:1},[o.value?(s(),k(i(n),{key:0,algolia:i(a).search?.options??i(a).algolia,onVnodeBeforeMount:S[2]||(S[2]=w=>r.value=!0)},null,8,["algolia"])):h("",!0),r.value?h("",!0):(s(),d("div",$o,[p(ye,{onClick:u})]))],64)):h("",!0)]))}}),Po=m({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=$();return(n,a)=>i(t).socialLinks?(s(),k(_e,{key:0,class:"VPNavBarSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),Lo=_(Po,[["__scopeId","data-v-0394ad82"]]),Vo=["href","rel","target"],So=["innerHTML"],To={key:2},No=m({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=$(),{hasSidebar:a}=E(),{currentLang:o}=J(),r=g(()=>typeof n.value.logoLink=="string"?n.value.logoLink:n.value.logoLink?.link),u=g(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.rel),l=g(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.target);return(b,y)=>(s(),d("div",{class:V(["VPNavBarTitle",{"has-sidebar":i(a)}])},[v("a",{class:"title",href:r.value??i(fe)(i(o).link),rel:u.value,target:l.value},[c(b.$slots,"nav-bar-title-before",{},void 0,!0),i(n).logo?(s(),k(Q,{key:0,class:"logo",image:i(n).logo},null,8,["image"])):h("",!0),i(n).siteTitle?(s(),d("span",{key:1,innerHTML:i(n).siteTitle},null,8,So)):i(n).siteTitle===void 0?(s(),d("span",To,T(i(t).title),1)):h("",!0),c(b.$slots,"nav-bar-title-after",{},void 0,!0)],8,Vo)],2))}}),wo=_(No,[["__scopeId","data-v-1e38c6bc"]]),Io={class:"items"},Mo={class:"title"},xo=m({__name:"VPNavBarTranslations",setup(e){const{theme:t}=$(),{localeLinks:n,currentLang:a}=J({correspondingLink:!0});return(o,r)=>i(n).length&&i(a).label?(s(),k(ke,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(t).langMenuLabel||"Change language"},{default:f(()=>[v("div",Io,[v("p",Mo,T(i(a).label),1),(s(!0),d(N,null,I(i(n),u=>(s(),k(te,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Ho=_(xo,[["__scopeId","data-v-88af2de4"]]),Bo={class:"wrapper"},Ao={class:"container"},Co={class:"title"},Eo={class:"content"},Fo={class:"content-body"},Oo=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:n}=Te(),{isHome:a,hasSidebar:o}=E(),r=P({});return de(()=>{r.value={"has-sidebar":o.value,home:a.value,top:n.value===0,"screen-open":t.isScreenOpen}}),(u,l)=>(s(),d("div",{class:V(["VPNavBar",r.value])},[v("div",Bo,[v("div",Ao,[v("div",Co,[p(wo,null,{"nav-bar-title-before":f(()=>[c(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",Eo,[v("div",Fo,[c(u.$slots,"nav-bar-content-before",{},void 0,!0),p(yo,{class:"search"}),p(ho,{class:"menu"}),p(Ho,{class:"translations"}),p(ya,{class:"appearance"}),p(Lo,{class:"social-links"}),p(ao,{class:"extra"}),c(u.$slots,"nav-bar-content-after",{},void 0,!0),p(io,{class:"hamburger",active:e.isScreenOpen,onClick:l[0]||(l[0]=b=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),l[1]||(l[1]=v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1))],2))}}),Do=_(Oo,[["__scopeId","data-v-2a96a3d0"]]),Go={key:0,class:"VPNavScreenAppearance"},Uo={class:"text"},Ro=m({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=$();return(a,o)=>i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(s(),d("div",Go,[v("p",Uo,T(i(n).darkModeSwitchLabel||"Appearance"),1),p(me)])):h("",!0)}}),jo=_(Ro,[["__scopeId","data-v-b44890b2"]]),Wo=["innerHTML"],zo=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const{closeScreen:t}=ee(he);return(n,a)=>(s(),k(B,{class:"VPNavScreenMenuLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(t)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Wo)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),qo=_(zo,[["__scopeId","data-v-83cc0379"]]),Ko=["innerHTML"],Jo=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const{closeScreen:t}=ee(he);return(n,a)=>(s(),k(B,{class:"VPNavScreenMenuGroupLink",href:e.item.link,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(t)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Ko)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ce=_(Jo,[["__scopeId","data-v-aa6008ea"]]),Yo={class:"VPNavScreenMenuGroupSection"},Qo={key:0,class:"title"},Xo=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(s(),d("div",Yo,[e.text?(s(),d("p",Qo,T(e.text),1)):h("",!0),(s(!0),d(N,null,I(e.items,a=>(s(),k(Ce,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Zo=_(Xo,[["__scopeId","data-v-4b7a798b"]]),es=["aria-controls","aria-expanded"],ts=["innerHTML"],ns=["id"],as={key:0,class:"item"},os={key:1,class:"item"},ss={key:2,class:"group"},is=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=P(!1),a=g(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(r,u)=>(s(),d("div",{class:V(["VPNavScreenMenuGroup",{open:n.value}])},[v("button",{class:"button","aria-controls":a.value,"aria-expanded":n.value,onClick:o},[v("span",{class:"button-text",innerHTML:e.text},null,8,ts),u[0]||(u[0]=v("span",{class:"vpi-plus button-icon"},null,-1))],8,es),v("div",{id:a.value,class:"items"},[(s(!0),d(N,null,I(e.items,l=>(s(),d(N,{key:JSON.stringify(l)},["link"in l?(s(),d("div",as,[p(Ce,{item:l},null,8,["item"])])):"component"in l?(s(),d("div",os,[(s(),k(H(l.component),O({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(s(),d("div",ss,[p(Zo,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,ns)],2))}}),rs=_(is,[["__scopeId","data-v-956364f9"]]),ls={key:0,class:"VPNavScreenMenu"},cs=m({__name:"VPNavScreenMenu",setup(e){const{theme:t}=$();return(n,a)=>i(t).nav?(s(),d("nav",ls,[(s(!0),d(N,null,I(i(t).nav,o=>(s(),d(N,{key:JSON.stringify(o)},["link"in o?(s(),k(qo,{key:0,item:o},null,8,["item"])):"component"in o?(s(),k(H(o.component),O({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(s(),k(rs,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),us=m({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=$();return(n,a)=>i(t).socialLinks?(s(),k(_e,{key:0,class:"VPNavScreenSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),ds={class:"list"},vs=m({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=J({correspondingLink:!0}),a=P(!1);function o(){a.value=!a.value}return(r,u)=>i(t).length&&i(n).label?(s(),d("div",{key:0,class:V(["VPNavScreenTranslations",{open:a.value}])},[v("button",{class:"title",onClick:o},[u[0]||(u[0]=v("span",{class:"vpi-languages icon lang"},null,-1)),U(" "+T(i(n).label)+" ",1),u[1]||(u[1]=v("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),v("ul",ds,[(s(!0),d(N,null,I(i(t),l=>(s(),d("li",{key:l.link,class:"item"},[p(B,{class:"link",href:l.link},{default:f(()=>[U(T(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),fs=_(vs,[["__scopeId","data-v-858fe1a4"]]),hs={class:"container"},ms=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=P(null),n=Ne(K?document.body:null);return(a,o)=>(s(),k(le,{name:"fade",onEnter:o[0]||(o[0]=r=>n.value=!0),onAfterLeave:o[1]||(o[1]=r=>n.value=!1)},{default:f(()=>[e.open?(s(),d("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[v("div",hs,[c(a.$slots,"nav-screen-content-before",{},void 0,!0),p(cs,{class:"menu"}),p(fs,{class:"translations"}),p(jo,{class:"appearance"}),p(us,{class:"social-links"}),c(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),ps=_(ms,[["__scopeId","data-v-f2779853"]]),ks={key:0,class:"VPNav"},_s=m({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=va(),{frontmatter:o}=$(),r=g(()=>o.value.navbar!==!1);return we(he,{closeScreen:n}),X(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(u,l)=>r.value?(s(),d("header",ks,[p(Do,{"is-screen-open":i(t),onToggleScreen:i(a)},{"nav-bar-title-before":f(()=>[c(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),p(ps,{open:i(t)},{"nav-screen-content-before":f(()=>[c(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),bs=_(_s,[["__scopeId","data-v-9f75dce3"]]),gs=["role","tabindex"],$s={key:1,class:"items"},ys=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:o,isActiveLink:r,hasActiveLink:u,hasChildren:l,toggle:b}=yt(g(()=>t.item)),y=g(()=>l.value?"section":"div"),L=g(()=>o.value?"a":"div"),S=g(()=>l.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),w=g(()=>o.value?void 0:"button"),M=g(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":o.value},{"is-active":r.value},{"has-active":u.value}]);function x(G){"key"in G&&G.key!=="Enter"||!t.item.link&&b()}function A(){t.item.link&&b()}return(G,F)=>{const z=j("VPSidebarItem",!0);return s(),k(H(y.value),{class:V(["VPSidebarItem",M.value])},{default:f(()=>[e.item.text?(s(),d("div",O({key:0,class:"item",role:w.value},We(e.item.items?{click:x,keydown:x}:{},!0),{tabindex:e.item.items&&0}),[F[1]||(F[1]=v("div",{class:"indicator"},null,-1)),e.item.link?(s(),k(B,{key:0,tag:L.value,class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:f(()=>[(s(),k(H(S.value),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(s(),k(H(S.value),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(s(),d("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:ze(A,["enter"]),tabindex:"0"},[...F[0]||(F[0]=[v("span",{class:"vpi-chevron-right caret-icon"},null,-1)])],32)):h("",!0)],16,gs)):h("",!0),e.item.items&&e.item.items.length?(s(),d("div",$s,[e.depth<5?(s(!0),d(N,{key:0},I(e.item.items,be=>(s(),k(z,{key:be.text,item:be,depth:e.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),Ps=_(ys,[["__scopeId","data-v-d81de50c"]]),Ls=m({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=P(!0);let n=null;return D(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),qe(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,o)=>(s(!0),d(N,null,I(e.items,r=>(s(),d("div",{key:r.text,class:V(["group",{"no-transition":t.value}])},[p(Ps,{item:r,depth:0},null,8,["item"])],2))),128))}}),Vs=_(Ls,[["__scopeId","data-v-8d50c081"]]),Ss={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ts=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:n}=E(),a=e,o=P(null),r=Ne(K?document.body:null);C([a,o],()=>{a.open?(r.value=!0,o.value?.focus()):r.value=!1},{immediate:!0,flush:"post"});const u=P(0);return C(t,()=>{u.value+=1},{deep:!0}),(l,b)=>i(n)?(s(),d("aside",{key:0,class:V(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:b[0]||(b[0]=Ke(()=>{},["stop"]))},[b[2]||(b[2]=v("div",{class:"curtain"},null,-1)),v("nav",Ss,[b[1]||(b[1]=v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(l.$slots,"sidebar-nav-before",{},void 0,!0),(s(),k(Vs,{items:i(t),key:u.value},null,8,["items"])),c(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),Ns=_(Ts,[["__scopeId","data-v-e7c6e512"]]),ws=m({__name:"VPSkipLink",setup(e){const{theme:t}=$(),n=Z(),a=P();C(()=>n.path,()=>a.value.focus());function o({target:r}){const u=document.getElementById(decodeURIComponent(r.hash).slice(1));if(u){const l=()=>{u.removeAttribute("tabindex"),u.removeEventListener("blur",l)};u.setAttribute("tabindex","-1"),u.addEventListener("blur",l),u.focus(),window.scrollTo(0,0)}}return(r,u)=>(s(),d(N,null,[v("span",{ref_key:"backToTop",ref:a,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o},T(i(t).skipToContentLabel||"Skip to content"),1)],64))}}),Is=_(ws,[["__scopeId","data-v-0b0ada53"]]),Ms=m({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=$t();Pt({closeSidebar:a});const{frontmatter:o}=$(),r=Je(),u=g(()=>!!r["home-hero-image"]);return we(xe,{heroImageSlotExists:u}),(l,b)=>{const y=j("Content");return i(o).layout!==!1?(s(),d("div",{key:0,class:V(["Layout",i(o).pageClass])},[c(l.$slots,"layout-top",{},void 0,!0),p(Is),p(Ze,{class:"backdrop",show:i(t),onClick:i(a)},null,8,["show","onClick"]),p(bs,null,{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),p(da,{open:i(t),onOpenMenu:i(n)},null,8,["open","onOpenMenu"]),p(Ns,{open:i(t)},{"sidebar-nav-before":f(()=>[c(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[c(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),p(Yn,null,{"page-top":f(()=>[c(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[c(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[c(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":f(()=>[c(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[c(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[c(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[c(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),p(ta),c(l.$slots,"layout-bottom",{},void 0,!0)],2)):(s(),k(y,{key:1}))}}}),xs=_(Ms,[["__scopeId","data-v-1df9f90f"]]),Bs={Layout:xs,enhanceApp:({app:e})=>{e.component("Badge",Ye)}};export{Bs as t};
|