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.
@@ -20,7 +20,7 @@ jobs:
20
20
  runs-on: ubuntu-latest
21
21
  steps:
22
22
  - name: Checkout
23
- uses: actions/checkout@v4
23
+ uses: actions/checkout@v5
24
24
  with:
25
25
  fetch-depth: 0 # Not needed if lastUpdated is not enabled
26
26
  # - uses: pnpm/action-setup@v3 # Uncomment this block if you're using pnpm
@@ -28,9 +28,9 @@ jobs:
28
28
  # version: 9 # Not needed if you've set "packageManager" in package.json
29
29
  # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
30
30
  - name: Setup Node
31
- uses: actions/setup-node@v4
31
+ uses: actions/setup-node@v6
32
32
  with:
33
- node-version: 22
33
+ node-version: 24
34
34
  cache: npm # or pnpm / yarn
35
35
  - name: Setup Pages
36
36
  uses: actions/configure-pages@v4
@@ -1,7 +1,10 @@
1
1
  import { defineConfig } from "vitepress"
2
2
 
3
3
  export default defineConfig({
4
- base: "/Unified-AI-Router/",
4
+ base: "https://mlibre.github.io/Unified-AI-Router/",
5
+ server: {
6
+ host: true,
7
+ }
5
8
  title: "Unified AI Router",
6
9
  description: "OpenAI-compatible router with multi-provider fallback.",
7
10
  head: [
@@ -5,11 +5,11 @@
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
6
  <title>404 | Unified AI Router</title>
7
7
  <meta name="description" content="Not Found">
8
- <meta name="generator" content="VitePress v2.0.0-alpha.12">
9
- <link rel="preload stylesheet" href="/Unified-AI-Router/assets/style.CVX7x1tQ.css" as="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.BKyBzHbv.js"></script>
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
14
  <link rel="icon" href="favicon.png">
15
15
  <link rel="icon" type="image/png" href="favicon.png">
@@ -19,7 +19,7 @@
19
19
  </head>
20
20
  <body>
21
21
  <div id="app"></div>
22
- <script>window.__VP_HASH_MAP__=JSON.parse("{\"configuration.md\":\"CeBGysiY\",\"index.md\":\"D-8hZ8ti\",\"quickstart.md\":\"mGNzdQVa\"}");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>
22
+ <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>
23
23
 
24
24
  </body>
25
25
  </html>
@@ -1 +1 @@
1
- import{t as p}from"./chunks/theme.h95WUA9L.js";import{C as o,a1 as i,a2 as u,a3 as c,a4 as l,a5 as f,a6 as d,a7 as m,a8 as h,a9 as g,aa as A,d as y,u as C,p as v,y as P,ab as b,ac as w,ad as E,ae as R}from"./chunks/framework.DLCvNBTH.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=y({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=C();return v(()=>{P(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&b(),w(),E(),n.setup&&n.setup(),()=>R(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=L(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return A(S)}function L(){let e=o;return h(a=>{let t=g(a),s=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),s=import(t)),o&&(e=!1),s},n.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go(location.href,{initialLoad:!0}).then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
1
+ import{t as p}from"./chunks/theme.BYXG2oxA.js";import{C as o,a3 as i,a4 as u,a5 as c,a6 as l,a7 as f,a8 as d,a9 as m,aa as h,ab as g,ac as A,d as y,u as C,p as v,y as P,ad as b,ae as w,af as E,ag as R}from"./chunks/framework.Droh-lTM.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=y({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=C();return v(()=>{P(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&b(),w(),E(),n.setup&&n.setup(),()=>R(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=L(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return A(S)}function L(){let e=o;return h(a=>{let t=g(a),s=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),s=import(t)),o&&(e=!1),s},n.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go(location.href,{initialLoad:!0}).then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
@@ -0,0 +1,4 @@
1
+ function Hs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},Ot=[],Be=()=>{},zr=()=>!1,sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$s=e=>e.startsWith("onUpdate:"),ue=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ho=Object.prototype.hasOwnProperty,ee=(e,t)=>Ho.call(e,t),B=Array.isArray,Lt=e=>Nn(e)==="[object Map]",Jr=e=>Nn(e)==="[object Set]",X=e=>typeof e=="function",ce=e=>typeof e=="string",et=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Qr=e=>(se(e)||X(e))&&X(e.then)&&X(e.catch),Zr=Object.prototype.toString,Nn=e=>Zr.call(e),$o=e=>Nn(e).slice(8,-1),ei=e=>Nn(e)==="[object Object]",Fn=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pt=Hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},jo=/-\w/g,Ne=Dn(e=>e.replace(jo,t=>t.slice(1).toUpperCase())),Vo=/\B([A-Z])/g,ft=Dn(e=>e.replace(Vo,"-$1").toLowerCase()),Hn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=Dn(e=>e?`on${Hn(e)}`:""),ct=(e,t)=>!Object.is(e,t),ss=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ti=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Wo=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let or;const $n=()=>or||(or=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vs(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ce(s)?qo(s):Vs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ce(e)||se(e))return e}const Uo=/;(?![^(]*\))/g,Bo=/:([^]+)/,Ko=/\/\*[^]*?\*\//g;function qo(e){const t={};return e.replace(Ko,"").split(Uo).forEach(n=>{if(n){const s=n.split(Bo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ks(e){let t="";if(ce(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=ks(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Go="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xo=Hs(Go);function ni(e){return!!e||e===""}const si=e=>!!(e&&e.__v_isRef===!0),Yo=e=>ce(e)?e:e==null?"":B(e)||se(e)&&(e.toString===Zr||!X(e.toString))?si(e)?Yo(e.value):JSON.stringify(e,ri,2):String(e),ri=(e,t)=>si(t)?ri(e,t.value):Lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:Jr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:et(t)?rs(t):se(t)&&!B(t)&&!ei(t)?String(t):t,rs=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let pe;class zo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.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=pe;try{return pe=this,t()}finally{pe=n}}}on(){++this._on===1&&(this.prevScope=pe,pe=this)}off(){this._on>0&&--this._on===0&&(pe=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 Ws(){return pe}function Jo(e,t=!1){pe&&pe.cleanups.push(e)}let ie;const is=new WeakSet;class ii{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,pe&&pe.active&&pe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,lr(this),ci(this);const t=ie,n=De;ie=this,De=!0;try{return this.fn()}finally{ai(this),ie=t,De=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,lr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ss(this)&&this.run()}get dirty(){return Ss(this)}}let oi=0,Bt,Kt;function li(e,t=!1){if(e.flags|=8,t){e.next=Kt,Kt=e;return}e.next=Bt,Bt=e}function Us(){oi++}function Bs(){if(--oi>0)return;if(Kt){let t=Kt;for(Kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Bt;){let t=Bt;for(Bt=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 ci(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ai(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ks(s),Qo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ui(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ui(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Yt)||(e.globalVersion=Yt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ss(e))))return;e.flags|=2;const t=e.dep,n=ie,s=De;ie=e,De=!0;try{ci(e);const r=e.fn(e._value);(t.version===0||ct(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=n,De=s,ai(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 Qo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const fi=[];function Je(){fi.push(De),De=!1}function Qe(){const e=fi.pop();De=e===void 0?!0:e}function lr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let Yt=0;class Zo{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 jn{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(!ie||!De||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new Zo(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,di(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=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,Yt++,this.notify(t)}notify(t){Us();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Bs()}}}function di(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)di(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tn=new WeakMap,_t=Symbol(""),xs=Symbol(""),zt=Symbol("");function me(e,t,n){if(De&&ie){let s=Tn.get(e);s||Tn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new jn),r.map=s,r.key=n),r.track()}}function ze(e,t,n,s,r,i){const o=Tn.get(e);if(!o){Yt++;return}const l=c=>{c&&c.trigger()};if(Us(),t==="clear")o.forEach(l);else{const c=B(e),f=c&&Fn(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,v)=>{(v==="length"||v===zt||!et(v)&&v>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(zt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(_t)),Lt(e)&&l(o.get(xs)));break;case"delete":c||(l(o.get(_t)),Lt(e)&&l(o.get(xs)));break;case"set":Lt(e)&&l(o.get(_t));break}}Bs()}function el(e,t){const n=Tn.get(e);return n&&n.get(t)}function At(e){const t=Q(e);return t===e?t:(me(t,"iterate",zt),Me(e)?t:t.map(He))}function Vn(e){return me(e=Q(e),"iterate",zt),e}function st(e,t){return Ze(e)?at(e)?Ht(He(t)):Ht(t):He(t)}const tl={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>st(this,e))},concat(...e){return At(this).concat(...e.map(t=>B(t)?At(t):t))},entries(){return os(this,"entries",e=>(e[1]=st(this,e[1]),e))},every(e,t){return qe(this,"every",e,t,void 0,arguments)},filter(e,t){return qe(this,"filter",e,t,n=>n.map(s=>st(this,s)),arguments)},find(e,t){return qe(this,"find",e,t,n=>st(this,n),arguments)},findIndex(e,t){return qe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qe(this,"findLast",e,t,n=>st(this,n),arguments)},findLastIndex(e,t){return qe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return At(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return qe(this,"map",e,t,void 0,arguments)},pop(){return kt(this,"pop")},push(...e){return kt(this,"push",e)},reduce(e,...t){return cr(this,"reduce",e,t)},reduceRight(e,...t){return cr(this,"reduceRight",e,t)},shift(){return kt(this,"shift")},some(e,t){return qe(this,"some",e,t,void 0,arguments)},splice(...e){return kt(this,"splice",e)},toReversed(){return At(this).toReversed()},toSorted(e){return At(this).toSorted(e)},toSpliced(...e){return At(this).toSpliced(...e)},unshift(...e){return kt(this,"unshift",e)},values(){return os(this,"values",e=>st(this,e))}};function os(e,t,n){const s=Vn(e),r=s[t]();return s!==e&&!Me(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const nl=Array.prototype;function qe(e,t,n,s,r,i){const o=Vn(e),l=o!==e&&!Me(e),c=o[t];if(c!==nl[t]){const h=c.apply(e,i);return l?He(h):h}let f=n;o!==e&&(l?f=function(h,v){return n.call(this,st(e,h),v,e)}:n.length>2&&(f=function(h,v){return n.call(this,h,v,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function cr(e,t,n,s){const r=Vn(e);let i=n;return r!==e&&(Me(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,st(e,l),c,e)}),r[t](i,...s)}function ls(e,t,n){const s=Q(e);me(s,"iterate",zt);const r=s[t](...n);return(r===-1||r===!1)&&Un(n[0])?(n[0]=Q(n[0]),s[t](...n)):r}function kt(e,t,n=[]){Je(),Us();const s=Q(e)[t].apply(e,n);return Bs(),Qe(),s}const sl=Hs("__proto__,__v_isRef,__isVue"),hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function rl(e){et(e)||(e=String(e));const t=Q(this);return me(t,"has",e),t.hasOwnProperty(e)}class pi{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?bi:_i:i?yi:vi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let c;if(o&&(c=tl[n]))return c;if(n==="hasOwnProperty")return rl}const l=Reflect.get(t,n,ae(t)?t:s);if((et(n)?hi.has(n):sl(n))||(r||me(t,"get",n),i))return l;if(ae(l)){const c=o&&Fn(n)?l:l.value;return r&&se(c)?Dt(c):c}return se(l)?r?Dt(l):Ft(l):l}}class gi extends pi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=B(t)&&Fn(n);if(!this._isShallow){const f=Ze(i);if(!Me(s)&&!Ze(s)&&(i=Q(i),s=Q(s)),!o&&ae(i)&&!ae(s))return f||(i.value=s),!0}const l=o?Number(n)<t.length:ee(t,n),c=Reflect.set(t,n,s,ae(t)?t:r);return t===Q(r)&&(l?ct(s,i)&&ze(t,"set",n,s):ze(t,"add",n,s)),c}deleteProperty(t,n){const s=ee(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ze(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!hi.has(n))&&me(t,"has",n),s}ownKeys(t){return me(t,"iterate",B(t)?"length":_t),Reflect.ownKeys(t)}}class mi extends pi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const il=new gi,ol=new mi,ll=new gi(!0),cl=new mi(!0),Es=e=>e,cn=e=>Reflect.getPrototypeOf(e);function al(e,t,n){return function(...s){const r=this.__v_raw,i=Q(r),o=Lt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?Es:t?Ht:He;return!t&&me(i,"iterate",c?xs:_t),{next(){const{value:h,done:v}=f.next();return v?{value:h,done:v}:{value:l?[a(h[0]),a(h[1])]:a(h),done:v}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ul(e,t){const n={get(r){const i=this.__v_raw,o=Q(i),l=Q(r);e||(ct(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=cn(o),f=t?Es:e?Ht:He;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(Q(r),"iterate",_t),r.size},has(r){const i=this.__v_raw,o=Q(i),l=Q(r);return e||(ct(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Q(l),f=t?Es:e?Ht:He;return!e&&me(c,"iterate",_t),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ue(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(r){!t&&!Me(r)&&!Ze(r)&&(r=Q(r));const i=Q(this);return cn(i).has.call(i,r)||(i.add(r),ze(i,"add",r,r)),this},set(r,i){!t&&!Me(i)&&!Ze(i)&&(i=Q(i));const o=Q(this),{has:l,get:c}=cn(o);let f=l.call(o,r);f||(r=Q(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?ct(i,a)&&ze(o,"set",r,i):ze(o,"add",r,i),this},delete(r){const i=Q(this),{has:o,get:l}=cn(i);let c=o.call(i,r);c||(r=Q(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&ze(i,"delete",r,void 0),f},clear(){const r=Q(this),i=r.size!==0,o=r.clear();return i&&ze(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=al(r,e,t)}),n}function kn(e,t){const n=ul(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ee(n,r)&&r in s?n:s,r,i)}const fl={get:kn(!1,!1)},dl={get:kn(!1,!0)},hl={get:kn(!0,!1)},pl={get:kn(!0,!0)},vi=new WeakMap,yi=new WeakMap,_i=new WeakMap,bi=new WeakMap;function gl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ml(e){return e.__v_skip||!Object.isExtensible(e)?0:gl($o(e))}function Ft(e){return Ze(e)?e:Wn(e,!1,il,fl,vi)}function vl(e){return Wn(e,!1,ll,dl,yi)}function Dt(e){return Wn(e,!0,ol,hl,_i)}function Mu(e){return Wn(e,!0,cl,pl,bi)}function Wn(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=ml(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function at(e){return Ze(e)?at(e.__v_raw):!!(e&&e.__v_isReactive)}function Ze(e){return!!(e&&e.__v_isReadonly)}function Me(e){return!!(e&&e.__v_isShallow)}function Un(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function bn(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&ti(e,"__v_skip",!0),e}const He=e=>se(e)?Ft(e):e,Ht=e=>se(e)?Dt(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function bt(e){return wi(e,!1)}function xe(e){return wi(e,!0)}function wi(e,t){return ae(e)?e:new yl(e,t)}class yl{constructor(t,n){this.dep=new jn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:He(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Me(t)||Ze(t);t=s?t:Q(t),ct(t,n)&&(this._rawValue=t,this._value=s?t:He(t),this.dep.trigger())}}function Bn(e){return ae(e)?e.value:e}function le(e){return X(e)?e():Bn(e)}const _l={get:(e,t,n)=>t==="__v_raw"?e:Bn(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 Si(e){return at(e)?e:new Proxy(e,_l)}class bl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new jn,{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 wl(e){return new bl(e)}class Sl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=Q(t);let r=!0,i=t;if(!B(t)||!Fn(String(n)))do r=!Un(i)||Me(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Bn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ae(this._raw[this._key])){const n=this._object[this._key];if(ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return el(this._raw,this._key)}}class xl{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 El(e,t,n){return ae(e)?e:X(e)?new xl(e):se(e)&&arguments.length>1?Tl(e,t,n):bt(e)}function Tl(e,t,n){return new Sl(e,t,n)}class Cl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new jn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Yt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return li(this,!0),!0}get value(){const t=this.dep.track();return ui(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Al(e,t,n=!1){let s,r;return X(e)?s=e:(s=e.get,r=e.set),new Cl(s,r,n)}const un={},Cn=new WeakMap;let vt;function Rl(e,t=!1,n=vt){if(n){let s=Cn.get(n);s||Cn.set(n,s=[]),s.push(e)}}function Ml(e,t,n=ne){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=p=>r?p:Me(p)||r===!1||r===0?ot(p,1):ot(p);let a,h,v,y,L=!1,I=!1;if(ae(e)?(h=()=>e.value,L=Me(e)):at(e)?(h=()=>f(e),L=!0):B(e)?(I=!0,L=e.some(p=>at(p)||Me(p)),h=()=>e.map(p=>{if(ae(p))return p.value;if(at(p))return f(p);if(X(p))return c?c(p,2):p()})):X(e)?t?h=c?()=>c(e,2):e:h=()=>{if(v){Je();try{v()}finally{Qe()}}const p=vt;vt=a;try{return c?c(e,3,[y]):e(y)}finally{vt=p}}:h=Be,t&&r){const p=h,R=r===!0?1/0:r;h=()=>ot(p(),R)}const Y=Ws(),j=()=>{a.stop(),Y&&Y.active&&js(Y.effects,a)};if(i&&t){const p=t;t=(...R)=>{p(...R),j()}}let K=I?new Array(e.length).fill(un):un;const g=p=>{if(!(!(a.flags&1)||!a.dirty&&!p))if(t){const R=a.run();if(r||L||(I?R.some((W,V)=>ct(W,K[V])):ct(R,K))){v&&v();const W=vt;vt=a;try{const V=[R,K===un?void 0:I&&K[0]===un?[]:K,y];K=R,c?c(t,3,V):t(...V)}finally{vt=W}}}else a.run()};return l&&l(g),a=new ii(h),a.scheduler=o?()=>o(g,!1):g,y=p=>Rl(p,!1,a),v=a.onStop=()=>{const p=Cn.get(a);if(p){if(c)c(p,4);else for(const R of p)R();Cn.delete(a)}},t?s?g(!0):K=a.run():o?o(g.bind(null,!0),!0):a.run(),j.pause=a.pause.bind(a),j.resume=a.resume.bind(a),j.stop=j,j}function ot(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ae(e))ot(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)ot(e[s],t,n);else if(Jr(e)||Lt(e))e.forEach(s=>{ot(s,t,n)});else if(ei(e)){for(const s in e)ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ot(e[s],t,n)}return e}function rn(e,t,n,s){try{return s?e(...s):e()}catch(r){Kn(r,t,n)}}function $e(e,t,n,s){if(X(e)){const r=rn(e,t,n,s);return r&&Qr(r)&&r.catch(i=>{Kn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push($e(e[i],t,n,s));return r}}function Kn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,f)===!1)return}l=l.parent}if(i){Je(),rn(i,null,10,[e,c,f]),Qe();return}}Ol(e,n,r,s,o)}function Ol(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const be=[];let We=-1;const It=[];let rt=null,Mt=0;const xi=Promise.resolve();let An=null;function qn(e){const t=An||xi;return e?t.then(this?e.bind(this):e):t}function Ll(e){let t=We+1,n=be.length;for(;t<n;){const s=t+n>>>1,r=be[s],i=Jt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function qs(e){if(!(e.flags&1)){const t=Jt(e),n=be[be.length-1];!n||!(e.flags&2)&&t>=Jt(n)?be.push(e):be.splice(Ll(t),0,e),e.flags|=1,Ei()}}function Ei(){An||(An=xi.then(Ti))}function Pl(e){B(e)?It.push(...e):rt&&e.id===-1?rt.splice(Mt+1,0,e):e.flags&1||(It.push(e),e.flags|=1),Ei()}function ar(e,t,n=We+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 Rn(e){if(It.length){const t=[...new Set(It)].sort((n,s)=>Jt(n)-Jt(s));if(It.length=0,rt){rt.push(...t);return}for(rt=t,Mt=0;Mt<rt.length;Mt++){const n=rt[Mt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}rt=null,Mt=0}}const Jt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ti(e){try{for(We=0;We<be.length;We++){const t=be[We];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),rn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;We<be.length;We++){const t=be[We];t&&(t.flags&=-2)}We=-1,be.length=0,Rn(),An=null,(be.length||It.length)&&Ti()}}let we=null,Ci=null;function Mn(e){const t=we;return we=e,Ci=e&&e.type.__scopeId||null,t}function Il(e,t=we,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Pn(-1);const i=Mn(t);let o;try{o=e(...r)}finally{Mn(i),s._d&&Pn(1)}return o};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 o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(Je(),$e(c,n,8,[e.el,l,e,t]),Qe())}}function Nl(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=dt();if(s||xt){let r=xt?xt._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&&X(t)?t.call(s&&s.proxy):t}}function Ai(){return!!(dt()||xt)}const Fl=Symbol.for("v-scx"),Dl=()=>wt(Fl);function Ri(e,t){return Gn(e,null,t)}function Ou(e,t){return Gn(e,null,{flush:"post"})}function Oe(e,t,n){return Gn(e,t,n)}function Gn(e,t,n=ne){const{immediate:s,deep:r,flush:i,once:o}=n,l=ue({},n),c=t&&s||!t&&i!=="post";let f;if(tn){if(i==="sync"){const y=Dl();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=Be,y.resume=Be,y.pause=Be,y}}const a=ye;l.call=(y,L,I)=>$e(y,a,L,I);let h=!1;i==="post"?l.scheduler=y=>{Ce(y,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(y,L)=>{L?y():qs(y)}),l.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const v=Ml(e,t,l);return tn&&(f?f.push(v):c&&v()),v}function Hl(e,t,n){const s=this.proxy,r=ce(e)?e.includes(".")?Mi(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const o=on(this),l=Gn(r,i.bind(s),n);return o(),l}function Mi(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 $l=Symbol("_vte"),Oi=e=>e.__isTeleport,Ye=Symbol("_leaveCb"),fn=Symbol("_enterCb");function jl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $t(()=>{e.isMounted=!0}),ji(()=>{e.isUnmounting=!0}),e}const Le=[Function,Array],Li={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Le,onEnter:Le,onAfterEnter:Le,onEnterCancelled:Le,onBeforeLeave:Le,onLeave:Le,onAfterLeave:Le,onLeaveCancelled:Le,onBeforeAppear:Le,onAppear:Le,onAfterAppear:Le,onAppearCancelled:Le},Pi=e=>{const t=e.subTree;return t.component?Pi(t.component):t},Vl={name:"BaseTransition",props:Li,setup(e,{slots:t}){const n=dt(),s=jl();return()=>{const r=t.default&&Fi(t.default(),!0);if(!r||!r.length)return;const i=Ii(r),o=Q(e),{mode:l}=o;if(s.isLeaving)return cs(i);const c=ur(i);if(!c)return cs(i);let f=Ts(c,o,s,n,h=>f=h);c.type!==fe&&Qt(c,f);let a=n.subTree&&ur(n.subTree);if(a&&a.type!==fe&&!yt(a,c)&&Pi(n).type!==fe){let h=Ts(a,o,s,n);if(Qt(a,h),l==="out-in"&&c.type!==fe)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},cs(i);l==="in-out"&&c.type!==fe?h.delayLeave=(v,y,L)=>{const I=Ni(s,a);I[String(a.key)]=a,v[Ye]=()=>{y(),v[Ye]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{L(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Ii(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==fe){t=n;break}}return t}const kl=Vl;function Ni(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 Ts(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:L,onLeaveCancelled:I,onBeforeAppear:Y,onAppear:j,onAfterAppear:K,onAppearCancelled:g}=t,p=String(e.key),R=Ni(n,e),W=(_,T)=>{_&&$e(_,s,9,T)},V=(_,T)=>{const F=T[1];W(_,T),B(_)?_.every(w=>w.length<=1)&&F():_.length<=1&&F()},G={mode:o,persisted:l,beforeEnter(_){let T=c;if(!n.isMounted)if(i)T=Y||c;else return;_[Ye]&&_[Ye](!0);const F=R[p];F&&yt(e,F)&&F.el[Ye]&&F.el[Ye](),W(T,[_])},enter(_){let T=f,F=a,w=h;if(!n.isMounted)if(i)T=j||f,F=K||a,w=g||h;else return;let H=!1;const N=_[fn]=k=>{H||(H=!0,k?W(w,[_]):W(F,[_]),G.delayedLeave&&G.delayedLeave(),_[fn]=void 0)};T?V(T,[_,N]):N()},leave(_,T){const F=String(e.key);if(_[fn]&&_[fn](!0),n.isUnmounting)return T();W(v,[_]);let w=!1;const H=_[Ye]=N=>{w||(w=!0,T(),N?W(I,[_]):W(L,[_]),_[Ye]=void 0,R[F]===e&&delete R[F])};R[F]=e,y?V(y,[_,H]):H()},clone(_){const T=Ts(_,t,n,s,r);return r&&r(T),T}};return G}function cs(e){if(Xn(e))return e=ut(e),e.children=null,e}function ur(e){if(!Xn(e))return Oi(e.type)&&e.children?Ii(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&&X(n.default))return n.default()}}function Qt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qt(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 Fi(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===ve?(o.patchFlag&128&&r++,s=s.concat(Fi(o.children,t,l))):(t||o.type!==fe)&&s.push(l!=null?ut(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Di(e,t){return X(e)?ue({name:e.name},t,{setup:e}):e}function Hi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Lu(e){const t=dt(),n=xe(null);if(t){const r=t.refs===ne?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}const On=new WeakMap;function Nt(e,t,n,s,r=!1){if(B(e)){e.forEach((L,I)=>Nt(L,t&&(B(t)?t[I]:t),n,s,r));return}if(St(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Nt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?zs(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,h=l.setupState,v=Q(h),y=h===ne?zr:L=>ee(v,L);if(f!=null&&f!==c){if(fr(t),ce(f))a[f]=null,y(f)&&(h[f]=null);else if(ae(f)){f.value=null;const L=t;L.k&&(a[L.k]=null)}}if(X(c))rn(c,l,12,[o,a]);else{const L=ce(c),I=ae(c);if(L||I){const Y=()=>{if(e.f){const j=L?y(c)?h[c]:a[c]:c.value;if(r)B(j)&&js(j,i);else if(B(j))j.includes(i)||j.push(i);else if(L)a[c]=[i],y(c)&&(h[c]=a[c]);else{const K=[i];c.value=K,e.k&&(a[e.k]=K)}}else L?(a[c]=o,y(c)&&(h[c]=o)):I&&(c.value=o,e.k&&(a[e.k]=o))};if(o){const j=()=>{Y(),On.delete(e)};j.id=-1,On.set(e,j),Ce(j,n)}else fr(e),Y()}}}function fr(e){const t=On.get(e);t&&(t.flags|=8,On.delete(e))}let dr=!1;const Rt=()=>{dr||(console.error("Hydration completed but contains mismatches."),dr=!0)},Wl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Ul=e=>e.namespaceURI.includes("MathML"),dn=e=>{if(e.nodeType===1){if(Wl(e))return"svg";if(Ul(e))return"mathml"}},hn=e=>e.nodeType===8;function Bl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(g,p)=>{if(!p.hasChildNodes()){n(null,g,p),Rn(),p._vnode=g;return}h(p.firstChild,g,null,null,null),Rn(),p._vnode=g},h=(g,p,R,W,V,G=!1)=>{G=G||!!p.dynamicChildren;const _=hn(g)&&g.data==="[",T=()=>I(g,p,R,W,V,_),{type:F,ref:w,shapeFlag:H,patchFlag:N}=p;let k=g.nodeType;p.el=g,N===-2&&(G=!1,p.dynamicChildren=null);let M=null;switch(F){case Et:k!==3?p.children===""?(c(p.el=r(""),o(g),g),M=g):M=T():(g.data!==p.children&&(Rt(),g.data=p.children),M=i(g));break;case fe:K(g)?(M=i(g),j(p.el=g.content.firstChild,g,R)):k!==8||_?M=T():M=i(g);break;case Gt:if(_&&(g=i(g),k=g.nodeType),k===1||k===3){M=g;const z=!p.children.length;for(let D=0;D<p.staticCount;D++)z&&(p.children+=M.nodeType===1?M.outerHTML:M.data),D===p.staticCount-1&&(p.anchor=M),M=i(M);return _?i(M):M}else T();break;case ve:_?M=L(g,p,R,W,V,G):M=T();break;default:if(H&1)(k!==1||p.type.toLowerCase()!==g.tagName.toLowerCase())&&!K(g)?M=T():M=v(g,p,R,W,V,G);else if(H&6){p.slotScopeIds=V;const z=o(g);if(_?M=Y(g):hn(g)&&g.data==="teleport start"?M=Y(g,g.data,"teleport end"):M=i(g),t(p,z,null,R,W,dn(z),G),St(p)&&!p.type.__asyncResolved){let D;_?(D=de(ve),D.anchor=M?M.previousSibling:z.lastChild):D=g.nodeType===3?ho(""):de("div"),D.el=g,p.component.subTree=D}}else H&64?k!==8?M=T():M=p.type.hydrate(g,p,R,W,V,G,e,y):H&128&&(M=p.type.hydrate(g,p,R,W,dn(o(g)),V,G,e,h))}return w!=null&&Nt(w,null,W,p),M},v=(g,p,R,W,V,G)=>{G=G||!!p.dynamicChildren;const{type:_,props:T,patchFlag:F,shapeFlag:w,dirs:H,transition:N}=p,k=_==="input"||_==="option";if(k||F!==-1){H&&Ue(p,null,R,"created");let M=!1;if(K(g)){M=so(null,N)&&R&&R.vnode.props&&R.vnode.props.appear;const D=g.content.firstChild;if(M){const Z=D.getAttribute("class");Z&&(D.$cls=Z),N.beforeEnter(D)}j(D,g,R),p.el=g=D}if(w&16&&!(T&&(T.innerHTML||T.textContent))){let D=y(g.firstChild,p,g,R,W,V,G);for(;D;){pn(g,1)||Rt();const Z=D;D=D.nextSibling,l(Z)}}else if(w&8){let D=p.children;D[0]===`
2
+ `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(D=D.slice(1));const{textContent:Z}=g;Z!==D&&Z!==D.replace(/\r\n|\r/g,`
3
+ `)&&(pn(g,0)||Rt(),g.textContent=p.children)}if(T){if(k||!G||F&48){const D=g.tagName.includes("-");for(const Z in T)(k&&(Z.endsWith("value")||Z==="indeterminate")||sn(Z)&&!Pt(Z)||Z[0]==="."||D)&&s(g,Z,null,T[Z],void 0,R)}else if(T.onClick)s(g,"onClick",null,T.onClick,void 0,R);else if(F&4&&at(T.style))for(const D in T.style)T.style[D]}let z;(z=T&&T.onVnodeBeforeMount)&&Pe(z,R,p),H&&Ue(p,null,R,"beforeMount"),((z=T&&T.onVnodeMounted)||H||M)&&co(()=>{z&&Pe(z,R,p),M&&N.enter(g),H&&Ue(p,null,R,"mounted")},W)}return g.nextSibling},y=(g,p,R,W,V,G,_)=>{_=_||!!p.dynamicChildren;const T=p.children,F=T.length;for(let w=0;w<F;w++){const H=_?T[w]:T[w]=Ie(T[w]),N=H.type===Et;g?(N&&!_&&w+1<F&&Ie(T[w+1]).type===Et&&(c(r(g.data.slice(H.children.length)),R,i(g)),g.data=H.children),g=h(g,H,W,V,G,_)):N&&!H.children?c(H.el=r(""),R):(pn(R,1)||Rt(),n(null,H,R,null,W,V,dn(R),G))}return g},L=(g,p,R,W,V,G)=>{const{slotScopeIds:_}=p;_&&(V=V?V.concat(_):_);const T=o(g),F=y(i(g),p,T,R,W,V,G);return F&&hn(F)&&F.data==="]"?i(p.anchor=F):(Rt(),c(p.anchor=f("]"),T,F),F)},I=(g,p,R,W,V,G)=>{if(pn(g.parentElement,1)||Rt(),p.el=null,G){const F=Y(g);for(;;){const w=i(g);if(w&&w!==F)l(w);else break}}const _=i(g),T=o(g);return l(g),n(null,p,T,_,R,W,dn(T),V),R&&(R.vnode.el=p.el,Xi(R,p.el)),_},Y=(g,p="[",R="]")=>{let W=0;for(;g;)if(g=i(g),g&&hn(g)&&(g.data===p&&W++,g.data===R)){if(W===0)return i(g);W--}return g},j=(g,p,R)=>{const W=p.parentNode;W&&W.replaceChild(g,p);let V=R;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 hr="data-allow-mismatch",Kl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(hr);)e=e.parentElement;const n=e&&e.getAttribute(hr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(Kl[t])}}$n().requestIdleCallback;$n().cancelIdleCallback;const St=e=>!!e.type.__asyncLoader,Xn=e=>e.type.__isKeepAlive;function ql(e,t){$i(e,"a",t)}function Gl(e,t){$i(e,"da",t)}function $i(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(Yn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Xn(r.parent.vnode)&&Xl(s,t,n,r),r=r.parent}}function Xl(e,t,n,s){const r=Yn(t,e,s,!0);zn(()=>{js(s[t],r)},n)}function Yn(e,t,n=ye,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Je();const l=on(n),c=$e(t,n,e,o);return l(),Qe(),c});return s?r.unshift(i):r.push(i),i}}const tt=e=>(t,n=ye)=>{(!tn||e==="sp")&&Yn(e,(...s)=>t(...s),n)},Yl=tt("bm"),$t=tt("m"),zl=tt("bu"),Jl=tt("u"),ji=tt("bum"),zn=tt("um"),Ql=tt("sp"),Zl=tt("rtg"),ec=tt("rtc");function tc(e,t=ye){Yn("ec",e,t)}const Vi="components";function Pu(e,t){return Wi(Vi,e,!0,t)||e}const ki=Symbol.for("v-ndc");function Iu(e){return ce(e)?Wi(Vi,e,!1)||e:e||ki}function Wi(e,t,n=!0,s=!1){const r=we||ye;if(r){const i=r.type;{const l=Dc(i,!1);if(l&&(l===t||l===Ne(t)||l===Hn(Ne(t))))return i}const o=pr(r[e]||i[e],t)||pr(r.appContext[e],t);return!o&&s?i:o}}function pr(e,t){return e&&(e[t]||e[Ne(t)]||e[Hn(Ne(t))])}function Nu(e,t,n,s){let r;const i=n,o=B(e);if(o||ce(e)){const l=o&&at(e);let c=!1,f=!1;l&&(c=!Me(e),f=Ze(e),e=Vn(e)),r=new Array(e.length);for(let a=0,h=e.length;a<h;a++)r[a]=t(c?f?Ht(He(e[a])):He(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function Fu(e,t,n={},s,r){if(we.ce||we.parent&&St(we.parent)&&we.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Os(),Ls(ve,null,[de("slot",n,s&&s())],f?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Os();const o=i&&Ui(i(n)),l=n.key||o&&o.key,c=Ls(ve,{key:(l&&!et(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ui(e){return e.some(t=>en(t)?!(t.type===fe||t.type===ve&&!Ui(t.children)):!0)?e:null}function Du(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:_n(s)]=e[s];return n}const Cs=e=>e?po(e)?zs(e):Cs(e.parent):null,qt=ue(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=>Cs(e.parent),$root:e=>Cs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ki(e),$forceUpdate:e=>e.f||(e.f=()=>{qs(e.update)}),$nextTick:e=>e.n||(e.n=qn.bind(e.proxy)),$watch:e=>Hl.bind(e)}),as=(e,t)=>e!==ne&&!e.__isScriptSetup&&ee(e,t),nc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const v=o[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(as(s,t))return o[t]=1,s[t];if(r!==ne&&ee(r,t))return o[t]=2,r[t];if(ee(i,t))return o[t]=3,i[t];if(n!==ne&&ee(n,t))return o[t]=4,n[t];As&&(o[t]=0)}}const f=qt[t];let a,h;if(f)return t==="$attrs"&&me(e.attrs,"get",""),f(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ne&&ee(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,ee(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return as(r,t)?(r[t]=n,!0):s!==ne&&ee(s,t)?(s[t]=n,!0):ee(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,props:i,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&ee(e,l)||as(t,l)||ee(i,l)||ee(s,l)||ee(qt,l)||ee(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Hu(){return sc().slots}function sc(e){const t=dt();return t.setupContext||(t.setupContext=mo(t))}function gr(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let As=!0;function rc(e){const t=Ki(e),n=e.proxy,s=e.ctx;As=!1,t.beforeCreate&&mr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:v,beforeUpdate:y,updated:L,activated:I,deactivated:Y,beforeDestroy:j,beforeUnmount:K,destroyed:g,unmounted:p,render:R,renderTracked:W,renderTriggered:V,errorCaptured:G,serverPrefetch:_,expose:T,inheritAttrs:F,components:w,directives:H,filters:N}=t;if(f&&ic(f,s,null),o)for(const z in o){const D=o[z];X(D)&&(s[z]=D.bind(n))}if(r){const z=r.call(n,n);se(z)&&(e.data=Ft(z))}if(As=!0,i)for(const z in i){const D=i[z],Z=X(D)?D.bind(n,n):X(D.get)?D.get.bind(n,n):Be,ht=!X(D)&&X(D.set)?D.set.bind(n):Be,je=oe({get:Z,set:ht});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>je.value,set:Ve=>je.value=Ve})}if(l)for(const z in l)Bi(l[z],s,n,z);if(c){const z=X(c)?c.call(n):c;Reflect.ownKeys(z).forEach(D=>{Nl(D,z[D])})}a&&mr(a,e,"c");function M(z,D){B(D)?D.forEach(Z=>z(Z.bind(n))):D&&z(D.bind(n))}if(M(Yl,h),M($t,v),M(zl,y),M(Jl,L),M(ql,I),M(Gl,Y),M(tc,G),M(ec,W),M(Zl,V),M(ji,K),M(zn,p),M(Ql,_),B(T))if(T.length){const z=e.exposed||(e.exposed={});T.forEach(D=>{Object.defineProperty(z,D,{get:()=>n[D],set:Z=>n[D]=Z,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===Be&&(e.render=R),F!=null&&(e.inheritAttrs=F),w&&(e.components=w),H&&(e.directives=H),_&&Hi(e)}function ic(e,t,n=Be){B(e)&&(e=Rs(e));for(const s in e){const r=e[s];let i;se(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:o=>i.value=o}):t[s]=i}}function mr(e,t,n){$e(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bi(e,t,n,s){let r=s.includes(".")?Mi(n,s):()=>n[s];if(ce(e)){const i=t[e];X(i)&&Oe(r,i)}else if(X(e))Oe(r,e.bind(n));else if(se(e))if(B(e))e.forEach(i=>Bi(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Oe(r,i,e)}}function Ki(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Ln(c,f,o,!0)),Ln(c,t,o)),se(t)&&i.set(t,c),c}function Ln(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Ln(e,i,n,!0),r&&r.forEach(o=>Ln(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=oc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const oc={data:vr,props:yr,emits:yr,methods:Ut,computed:Ut,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:Ut,directives:Ut,watch:cc,provide:vr,inject:lc};function vr(e,t){return t?e?function(){return ue(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function lc(e,t){return Ut(Rs(e),Rs(t))}function Rs(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 Ut(e,t){return e?ue(Object.create(null),e,t):t}function yr(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ue(Object.create(null),gr(e),gr(t??{})):t}function cc(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=_e(e[s],t[s]);return n}function qi(){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 ac=0;function uc(e,t){return function(s,r=null){X(s)||(s=ue({},s)),r!=null&&!se(r)&&(r=null);const i=qi(),o=new WeakSet,l=[];let c=!1;const f=i.app={_uid:ac++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:$c,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&X(a.install)?(o.add(a),a.install(f,...h)):X(a)&&(o.add(a),a(f,...h))),f},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),f},component(a,h){return h?(i.components[a]=h,f):i.components[a]},directive(a,h){return h?(i.directives[a]=h,f):i.directives[a]},mount(a,h,v){if(!c){const y=f._ceVNode||de(s,r);return y.appContext=i,v===!0?v="svg":v===!1&&(v=void 0),h&&t?t(y,a):e(y,a,v),c=!0,f._container=a,a.__vue_app__=f,zs(y.component)}},onUnmount(a){l.push(a)},unmount(){c&&($e(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(a,h){return i.provides[a]=h,f},runWithContext(a){const h=xt;xt=f;try{return a()}finally{xt=h}}};return f}}let xt=null;const fc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function dc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const i=t.startsWith("update:"),o=i&&fc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>ce(a)?a.trim():a)),o.number&&(r=n.map(ko)));let l,c=s[l=_n(t)]||s[l=_n(Ne(t))];!c&&i&&(c=s[l=_n(ft(t))]),c&&$e(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,$e(f,e,6,r)}}const hc=new WeakMap;function Gi(e,t,n=!1){const s=n?hc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!X(e)){const c=f=>{const a=Gi(f,t,!0);a&&(l=!0,ue(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(se(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):ue(o,i),se(e)&&s.set(e,o),o)}function Jn(e,t){return!e||!sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,ft(t))||ee(e,t))}function us(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:v,setupState:y,ctx:L,inheritAttrs:I}=e,Y=Mn(e);let j,K;try{if(n.shapeFlag&4){const p=r||s,R=p;j=Ie(f.call(R,p,a,h,y,v,L)),K=l}else{const p=t;j=Ie(p.length>1?p(h,{attrs:l,slots:o,emit:c}):p(h,null)),K=t.props?l:pc(l)}}catch(p){Xt.length=0,Kn(p,e,1),j=de(fe)}let g=j;if(K&&I!==!1){const p=Object.keys(K),{shapeFlag:R}=g;p.length&&R&7&&(i&&p.some($s)&&(K=gc(K,i)),g=ut(g,K,!1,!0))}return n.dirs&&(g=ut(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Qt(g,n.transition),j=g,Mn(Y),j}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||sn(n))&&((t||(t={}))[n]=e[n]);return t},gc=(e,t)=>{const n={};for(const s in e)(!$s(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function mc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=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,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const v=a[h];if(o[v]!==s[v]&&!Jn(f,v))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?_r(s,o,f):!0:!!o;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]&&!Jn(n,i))return!0}return!1}function Xi({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 Yi={},zi=()=>Object.create(Yi),Ji=e=>Object.getPrototypeOf(e)===Yi;function vc(e,t,n,s=!1){const r={},i=zi();e.propsDefaults=Object.create(null),Qi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:vl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function yc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Q(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let v=a[h];if(Jn(e.emitsOptions,v))continue;const y=t[v];if(c)if(ee(i,v))y!==i[v]&&(i[v]=y,f=!0);else{const L=Ne(v);r[L]=Ms(c,l,L,y,e,!1)}else y!==i[v]&&(i[v]=y,f=!0)}}}else{Qi(e,t,r,i)&&(f=!0);let a;for(const h in l)(!t||!ee(t,h)&&((a=ft(h))===h||!ee(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(r[h]=Ms(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!ee(t,h))&&(delete i[h],f=!0)}f&&ze(e.attrs,"set","")}function Qi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Pt(c))continue;const f=t[c];let a;r&&ee(r,a=Ne(c))?!i||!i.includes(a)?n[a]=f:(l||(l={}))[a]=f:Jn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(i){const c=Q(n),f=l||ne;for(let a=0;a<i.length;a++){const h=i[a];n[h]=Ms(r,c,h,f[h],e,!ee(f,h))}}return o}function Ms(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ee(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&X(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const a=on(r);s=f[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===ft(n))&&(s=!0))}return s}const _c=new WeakMap;function Zi(e,t,n=!1){const s=n?_c:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!X(e)){const a=h=>{c=!0;const[v,y]=Zi(h,t,!0);ue(o,v),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return se(e)&&s.set(e,Ot),Ot;if(B(i))for(let a=0;a<i.length;a++){const h=Ne(i[a]);br(h)&&(o[h]=ne)}else if(i)for(const a in i){const h=Ne(a);if(br(h)){const v=i[a],y=o[h]=B(v)||X(v)?{type:v}:ue({},v),L=y.type;let I=!1,Y=!0;if(B(L))for(let j=0;j<L.length;++j){const K=L[j],g=X(K)&&K.name;if(g==="Boolean"){I=!0;break}else g==="String"&&(Y=!1)}else I=X(L)&&L.name==="Boolean";y[0]=I,y[1]=Y,(I||ee(y,"default"))&&l.push(h)}}const f=[o,l];return se(e)&&s.set(e,f),f}function br(e){return e[0]!=="$"&&!Pt(e)}const Gs=e=>e==="_"||e==="_ctx"||e==="$stable",Xs=e=>B(e)?e.map(Ie):[Ie(e)],bc=(e,t,n)=>{if(t._n)return t;const s=Il((...r)=>Xs(t(...r)),n);return s._c=!1,s},eo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Gs(r))continue;const i=e[r];if(X(i))t[r]=bc(r,i,s);else if(i!=null){const o=Xs(i);t[r]=()=>o}}},to=(e,t)=>{const n=Xs(t);e.slots.default=()=>n},no=(e,t,n)=>{for(const s in t)(n||!Gs(s))&&(e[s]=t[s])},wc=(e,t,n)=>{const s=e.slots=zi();if(e.vnode.shapeFlag&32){const r=t._;r?(no(s,t,n),n&&ti(s,"_",r,!0)):eo(t,s)}else t&&to(e,t)},Sc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:no(r,t,n):(i=!t.$stable,eo(t,r)),o=t}else t&&(to(e,t),o={default:1});if(i)for(const l in r)!Gs(l)&&o[l]==null&&delete r[l]},Ce=co;function xc(e){return Ec(e,Bl)}function Ec(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:v,setScopeId:y=Be,insertStaticContent:L}=e,I=(u,d,m,E=null,b=null,S=null,O=void 0,A=null,C=!!d.dynamicChildren)=>{if(u===d)return;u&&!yt(u,d)&&(E=ln(u),Ve(u,b,S,!0),u=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:x,ref:U,shapeFlag:P}=d;switch(x){case Et:Y(u,d,m,E);break;case fe:j(u,d,m,E);break;case Gt:u==null&&K(d,m,E,O);break;case ve:w(u,d,m,E,b,S,O,A,C);break;default:P&1?R(u,d,m,E,b,S,O,A,C):P&6?H(u,d,m,E,b,S,O,A,C):(P&64||P&128)&&x.process(u,d,m,E,b,S,O,A,C,Ct)}U!=null&&b?Nt(U,u&&u.ref,S,d||u,!d):U==null&&u&&u.ref!=null&&Nt(u.ref,null,S,u,!0)},Y=(u,d,m,E)=>{if(u==null)s(d.el=l(d.children),m,E);else{const b=d.el=u.el;d.children!==u.children&&f(b,d.children)}},j=(u,d,m,E)=>{u==null?s(d.el=c(d.children||""),m,E):d.el=u.el},K=(u,d,m,E)=>{[u.el,u.anchor]=L(u.children,d,m,E,u.el,u.anchor)},g=({el:u,anchor:d},m,E)=>{let b;for(;u&&u!==d;)b=v(u),s(u,m,E),u=b;s(d,m,E)},p=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=v(u),r(u),u=m;r(d)},R=(u,d,m,E,b,S,O,A,C)=>{if(d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),u==null)W(d,m,E,b,S,O,A,C);else{const x=u.el&&u.el._isVueCE?u.el:null;try{x&&x._beginPatch(),_(u,d,b,S,O,A,C)}finally{x&&x._endPatch()}}},W=(u,d,m,E,b,S,O,A)=>{let C,x;const{props:U,shapeFlag:P,transition:$,dirs:q}=u;if(C=u.el=o(u.type,S,U&&U.is,U),P&8?a(C,u.children):P&16&&G(u.children,C,null,E,b,fs(u,S),O,A),q&&Ue(u,null,E,"created"),V(C,u,u.scopeId,O,E),U){for(const re in U)re!=="value"&&!Pt(re)&&i(C,re,null,U[re],S,E);"value"in U&&i(C,"value",null,U.value,S),(x=U.onVnodeBeforeMount)&&Pe(x,E,u)}q&&Ue(u,null,E,"beforeMount");const J=so(b,$);J&&$.beforeEnter(C),s(C,d,m),((x=U&&U.onVnodeMounted)||J||q)&&Ce(()=>{x&&Pe(x,E,u),J&&$.enter(C),q&&Ue(u,null,E,"mounted")},b)},V=(u,d,m,E,b)=>{if(m&&y(u,m),E)for(let S=0;S<E.length;S++)y(u,E[S]);if(b){let S=b.subTree;if(d===S||lo(S.type)&&(S.ssContent===d||S.ssFallback===d)){const O=b.vnode;V(u,O,O.scopeId,O.slotScopeIds,b.parent)}}},G=(u,d,m,E,b,S,O,A,C=0)=>{for(let x=C;x<u.length;x++){const U=u[x]=A?it(u[x]):Ie(u[x]);I(null,U,d,m,E,b,S,O,A)}},_=(u,d,m,E,b,S,O)=>{const A=d.el=u.el;let{patchFlag:C,dynamicChildren:x,dirs:U}=d;C|=u.patchFlag&16;const P=u.props||ne,$=d.props||ne;let q;if(m&&pt(m,!1),(q=$.onVnodeBeforeUpdate)&&Pe(q,m,d,u),U&&Ue(d,u,m,"beforeUpdate"),m&&pt(m,!0),(P.innerHTML&&$.innerHTML==null||P.textContent&&$.textContent==null)&&a(A,""),x?T(u.dynamicChildren,x,A,m,E,fs(d,b),S):O||D(u,d,A,null,m,E,fs(d,b),S,!1),C>0){if(C&16)F(A,P,$,m,b);else if(C&2&&P.class!==$.class&&i(A,"class",null,$.class,b),C&4&&i(A,"style",P.style,$.style,b),C&8){const J=d.dynamicProps;for(let re=0;re<J.length;re++){const te=J[re],Se=P[te],he=$[te];(he!==Se||te==="value")&&i(A,te,Se,he,b,m)}}C&1&&u.children!==d.children&&a(A,d.children)}else!O&&x==null&&F(A,P,$,m,b);((q=$.onVnodeUpdated)||U)&&Ce(()=>{q&&Pe(q,m,d,u),U&&Ue(d,u,m,"updated")},E)},T=(u,d,m,E,b,S,O)=>{for(let A=0;A<d.length;A++){const C=u[A],x=d[A],U=C.el&&(C.type===ve||!yt(C,x)||C.shapeFlag&198)?h(C.el):m;I(C,x,U,null,E,b,S,O,!0)}},F=(u,d,m,E,b)=>{if(d!==m){if(d!==ne)for(const S in d)!Pt(S)&&!(S in m)&&i(u,S,d[S],null,b,E);for(const S in m){if(Pt(S))continue;const O=m[S],A=d[S];O!==A&&S!=="value"&&i(u,S,A,O,b,E)}"value"in m&&i(u,"value",d.value,m.value,b)}},w=(u,d,m,E,b,S,O,A,C)=>{const x=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:P,dynamicChildren:$,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),u==null?(s(x,m,E),s(U,m,E),G(d.children||[],m,U,b,S,O,A,C)):P>0&&P&64&&$&&u.dynamicChildren&&u.dynamicChildren.length===$.length?(T(u.dynamicChildren,$,m,b,S,O,A),(d.key!=null||b&&d===b.subTree)&&ro(u,d,!0)):D(u,d,m,U,b,S,O,A,C)},H=(u,d,m,E,b,S,O,A,C)=>{d.slotScopeIds=A,u==null?d.shapeFlag&512?b.ctx.activate(d,m,E,O,C):N(d,m,E,b,S,O,C):k(u,d,C)},N=(u,d,m,E,b,S,O)=>{const A=u.component=Pc(u,E,b);if(Xn(u)&&(A.ctx.renderer=Ct),Ic(A,!1,O),A.asyncDep){if(b&&b.registerDep(A,M,O),!u.el){const C=A.subTree=de(fe);j(null,C,d,m),u.placeholder=C.el}}else M(A,u,d,m,b,S,O)},k=(u,d,m)=>{const E=d.component=u.component;if(mc(u,d,m))if(E.asyncDep&&!E.asyncResolved){z(E,d,m);return}else E.next=d,E.update();else d.el=u.el,E.vnode=d},M=(u,d,m,E,b,S,O)=>{const A=()=>{if(u.isMounted){let{next:P,bu:$,u:q,parent:J,vnode:re}=u;{const Ee=io(u);if(Ee){P&&(P.el=re.el,z(u,P,O)),Ee.asyncDep.then(()=>{u.isUnmounted||A()});return}}let te=P,Se;pt(u,!1),P?(P.el=re.el,z(u,P,O)):P=re,$&&ss($),(Se=P.props&&P.props.onVnodeBeforeUpdate)&&Pe(Se,J,P,re),pt(u,!0);const he=us(u),Fe=u.subTree;u.subTree=he,I(Fe,he,h(Fe.el),ln(Fe),u,b,S),P.el=he.el,te===null&&Xi(u,he.el),q&&Ce(q,b),(Se=P.props&&P.props.onVnodeUpdated)&&Ce(()=>Pe(Se,J,P,re),b)}else{let P;const{el:$,props:q}=d,{bm:J,m:re,parent:te,root:Se,type:he}=u,Fe=St(d);if(pt(u,!1),J&&ss(J),!Fe&&(P=q&&q.onVnodeBeforeMount)&&Pe(P,te,d),pt(u,!0),$&&ns){const Ee=()=>{u.subTree=us(u),ns($,u.subTree,u,b,null)};Fe&&he.__asyncHydrate?he.__asyncHydrate($,u,Ee):Ee()}else{Se.ce&&Se.ce._def.shadowRoot!==!1&&Se.ce._injectChildStyle(he);const Ee=u.subTree=us(u);I(null,Ee,m,E,u,b,S),d.el=Ee.el}if(re&&Ce(re,b),!Fe&&(P=q&&q.onVnodeMounted)){const Ee=d;Ce(()=>Pe(P,te,Ee),b)}(d.shapeFlag&256||te&&St(te.vnode)&&te.vnode.shapeFlag&256)&&u.a&&Ce(u.a,b),u.isMounted=!0,d=m=E=null}};u.scope.on();const C=u.effect=new ii(A);u.scope.off();const x=u.update=C.run.bind(C),U=u.job=C.runIfDirty.bind(C);U.i=u,U.id=u.uid,C.scheduler=()=>qs(U),pt(u,!0),x()},z=(u,d,m)=>{d.component=u;const E=u.vnode.props;u.vnode=d,u.next=null,yc(u,d.props,E,m),Sc(u,d.children,m),Je(),ar(u),Qe()},D=(u,d,m,E,b,S,O,A,C=!1)=>{const x=u&&u.children,U=u?u.shapeFlag:0,P=d.children,{patchFlag:$,shapeFlag:q}=d;if($>0){if($&128){ht(x,P,m,E,b,S,O,A,C);return}else if($&256){Z(x,P,m,E,b,S,O,A,C);return}}q&8?(U&16&&jt(x,b,S),P!==x&&a(m,P)):U&16?q&16?ht(x,P,m,E,b,S,O,A,C):jt(x,b,S,!0):(U&8&&a(m,""),q&16&&G(P,m,E,b,S,O,A,C))},Z=(u,d,m,E,b,S,O,A,C)=>{u=u||Ot,d=d||Ot;const x=u.length,U=d.length,P=Math.min(x,U);let $;for($=0;$<P;$++){const q=d[$]=C?it(d[$]):Ie(d[$]);I(u[$],q,m,null,b,S,O,A,C)}x>U?jt(u,b,S,!0,!1,P):G(d,m,E,b,S,O,A,C,P)},ht=(u,d,m,E,b,S,O,A,C)=>{let x=0;const U=d.length;let P=u.length-1,$=U-1;for(;x<=P&&x<=$;){const q=u[x],J=d[x]=C?it(d[x]):Ie(d[x]);if(yt(q,J))I(q,J,m,null,b,S,O,A,C);else break;x++}for(;x<=P&&x<=$;){const q=u[P],J=d[$]=C?it(d[$]):Ie(d[$]);if(yt(q,J))I(q,J,m,null,b,S,O,A,C);else break;P--,$--}if(x>P){if(x<=$){const q=$+1,J=q<U?d[q].el:E;for(;x<=$;)I(null,d[x]=C?it(d[x]):Ie(d[x]),m,J,b,S,O,A,C),x++}}else if(x>$)for(;x<=P;)Ve(u[x],b,S,!0),x++;else{const q=x,J=x,re=new Map;for(x=J;x<=$;x++){const Te=d[x]=C?it(d[x]):Ie(d[x]);Te.key!=null&&re.set(Te.key,x)}let te,Se=0;const he=$-J+1;let Fe=!1,Ee=0;const Vt=new Array(he);for(x=0;x<he;x++)Vt[x]=0;for(x=q;x<=P;x++){const Te=u[x];if(Se>=he){Ve(Te,b,S,!0);continue}let ke;if(Te.key!=null)ke=re.get(Te.key);else for(te=J;te<=$;te++)if(Vt[te-J]===0&&yt(Te,d[te])){ke=te;break}ke===void 0?Ve(Te,b,S,!0):(Vt[ke-J]=x+1,ke>=Ee?Ee=ke:Fe=!0,I(Te,d[ke],m,null,b,S,O,A,C),Se++)}const sr=Fe?Tc(Vt):Ot;for(te=sr.length-1,x=he-1;x>=0;x--){const Te=J+x,ke=d[Te],rr=d[Te+1],ir=Te+1<U?rr.el||oo(rr):E;Vt[x]===0?I(null,ke,m,ir,b,S,O,A,C):Fe&&(te<0||x!==sr[te]?je(ke,m,ir,2):te--)}}},je=(u,d,m,E,b=null)=>{const{el:S,type:O,transition:A,children:C,shapeFlag:x}=u;if(x&6){je(u.component.subTree,d,m,E);return}if(x&128){u.suspense.move(d,m,E);return}if(x&64){O.move(u,d,m,Ct);return}if(O===ve){s(S,d,m);for(let P=0;P<C.length;P++)je(C[P],d,m,E);s(u.anchor,d,m);return}if(O===Gt){g(u,d,m);return}if(E!==2&&x&1&&A)if(E===0)A.beforeEnter(S),s(S,d,m),Ce(()=>A.enter(S),b);else{const{leave:P,delayLeave:$,afterLeave:q}=A,J=()=>{u.ctx.isUnmounted?r(S):s(S,d,m)},re=()=>{S._isLeaving&&S[Ye](!0),P(S,()=>{J(),q&&q()})};$?$(S,J,re):re()}else s(S,d,m)},Ve=(u,d,m,E=!1,b=!1)=>{const{type:S,props:O,ref:A,children:C,dynamicChildren:x,shapeFlag:U,patchFlag:P,dirs:$,cacheIndex:q}=u;if(P===-2&&(b=!1),A!=null&&(Je(),Nt(A,null,m,u,!0),Qe()),q!=null&&(d.renderCache[q]=void 0),U&256){d.ctx.deactivate(u);return}const J=U&1&&$,re=!St(u);let te;if(re&&(te=O&&O.onVnodeBeforeUnmount)&&Pe(te,d,u),U&6)Do(u.component,m,E);else{if(U&128){u.suspense.unmount(m,E);return}J&&Ue(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,m,Ct,E):x&&!x.hasOnce&&(S!==ve||P>0&&P&64)?jt(x,d,m,!1,!0):(S===ve&&P&384||!b&&U&16)&&jt(C,d,m),E&&tr(u)}(re&&(te=O&&O.onVnodeUnmounted)||J)&&Ce(()=>{te&&Pe(te,d,u),J&&Ue(u,null,d,"unmounted")},m)},tr=u=>{const{type:d,el:m,anchor:E,transition:b}=u;if(d===ve){Fo(m,E);return}if(d===Gt){p(u);return}const S=()=>{r(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:O,delayLeave:A}=b,C=()=>O(m,S);A?A(u.el,S,C):C()}else S()},Fo=(u,d)=>{let m;for(;u!==d;)m=v(u),r(u),u=m;r(d)},Do=(u,d,m)=>{const{bum:E,scope:b,job:S,subTree:O,um:A,m:C,a:x}=u;wr(C),wr(x),E&&ss(E),b.stop(),S&&(S.flags|=8,Ve(O,u,d,m)),A&&Ce(A,d),Ce(()=>{u.isUnmounted=!0},d)},jt=(u,d,m,E=!1,b=!1,S=0)=>{for(let O=S;O<u.length;O++)Ve(u[O],d,m,E,b)},ln=u=>{if(u.shapeFlag&6)return ln(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=v(u.anchor||u.el),m=d&&d[$l];return m?v(m):d};let es=!1;const nr=(u,d,m)=>{let E;u==null?d._vnode&&(Ve(d._vnode,null,null,!0),E=d._vnode.component):I(d._vnode||null,u,d,null,null,null,m),d._vnode=u,es||(es=!0,ar(E),Rn(),es=!1)},Ct={p:I,um:Ve,m:je,r:tr,mt:N,mc:G,pc:D,pbc:T,n:ln,o:e};let ts,ns;return t&&([ts,ns]=t(Ct)),{render:nr,hydrate:ts,createApp:uc(nr,ts)}}function fs({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 pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function so(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ro(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 o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=it(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&ro(o,l)),l.type===Et&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=i+(e.type===ve?1:0)),l.type===fe&&!l.el&&(l.el=o.el)}}function Tc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function io(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:io(t)}function wr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function oo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?oo(t.subTree):null}const lo=e=>e.__isSuspense;function co(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Pl(e)}const ve=Symbol.for("v-fgt"),Et=Symbol.for("v-txt"),fe=Symbol.for("v-cmt"),Gt=Symbol.for("v-stc"),Xt=[];let Ae=null;function Os(e=!1){Xt.push(Ae=e?null:[])}function Cc(){Xt.pop(),Ae=Xt[Xt.length-1]||null}let Zt=1;function Pn(e,t=!1){Zt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function ao(e){return e.dynamicChildren=Zt>0?Ae||Ot:null,Cc(),Zt>0&&Ae&&Ae.push(e),e}function $u(e,t,n,s,r,i){return ao(fo(e,t,n,s,r,i,!0))}function Ls(e,t,n,s,r){return ao(de(e,t,n,s,r,!0))}function en(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const uo=({key:e})=>e??null,wn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||ae(e)||X(e)?{i:we,r:e,k:t,f:!!n}:e:null);function fo(e,t=null,n=null,s=0,r=null,i=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&uo(t),ref:t&&wn(t),scopeId:Ci,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:we};return l?(Ys(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ce(n)?8:16),Zt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const de=Ac;function Ac(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ki)&&(e=fe),en(e)){const l=ut(e,t,!0);return n&&Ys(l,n),Zt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Hc(e)&&(e=e.__vccOpts),t){t=Rc(t);let{class:l,style:c}=t;l&&!ce(l)&&(t.class=ks(l)),se(c)&&(Un(c)&&!B(c)&&(c=ue({},c)),t.style=Vs(c))}const o=ce(e)?1:lo(e)?128:Oi(e)?64:se(e)?4:X(e)?2:0;return fo(e,t,n,s,r,o,i,!0)}function Rc(e){return e?Un(e)||Ji(e)?ue({},e):e:null}function ut(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Mc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&uo(f),ref:t&&t.ref?n&&i?B(i)?i.concat(wn(t)):[i,wn(t)]:wn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qt(a,c.clone(a)),a}function ho(e=" ",t=0){return de(Et,null,e,t)}function ju(e,t){const n=de(Gt,null,e);return n.staticCount=t,n}function Vu(e="",t=!1){return t?(Os(),Ls(fe,null,e)):de(fe,null,e)}function Ie(e){return e==null||typeof e=="boolean"?de(fe):B(e)?de(ve,null,e.slice()):en(e)?it(e):de(Et,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function Ys(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),Ys(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ji(t)?t._ctx=we:r===3&&we&&(we.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:we},n=32):(t=String(t),s&64?(n=16,t=[ho(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mc(...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=ks([t.class,s.class]));else if(r==="style")t.style=Vs([t.style,s.style]);else if(sn(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Pe(e,t,n,s=null){$e(e,t,7,[n,s])}const Oc=qi();let Lc=0;function Pc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Oc,i={uid:Lc++,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:Gi(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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=dc.bind(null,i),e.ce&&e.ce(i),i}let ye=null;const dt=()=>ye||we;let In,Ps;{const e=$n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};In=t("__VUE_INSTANCE_SETTERS__",n=>ye=n),Ps=t("__VUE_SSR_SETTERS__",n=>tn=n)}const on=e=>{const t=ye;return In(e),e.scope.on(),()=>{e.scope.off(),In(t)}},Sr=()=>{ye&&ye.scope.off(),In(null)};function po(e){return e.vnode.shapeFlag&4}let tn=!1;function Ic(e,t=!1,n=!1){t&&Ps(t);const{props:s,children:r}=e.vnode,i=po(e);vc(e,s,i,t),wc(e,r,n||t);const o=i?Nc(e,t):void 0;return t&&Ps(!1),o}function Nc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nc);const{setup:s}=n;if(s){Je();const r=e.setupContext=s.length>1?mo(e):null,i=on(e),o=rn(s,e,0,[e.props,r]),l=Qr(o);if(Qe(),i(),(l||e.sp)&&!St(e)&&Hi(e),l){if(o.then(Sr,Sr),t)return o.then(c=>{xr(e,c)}).catch(c=>{Kn(c,e,0)});e.asyncDep=o}else xr(e,o)}else go(e)}function xr(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Si(t)),go(e)}function go(e,t,n){const s=e.type;e.render||(e.render=s.render||Be);{const r=on(e);Je();try{rc(e)}finally{Qe(),r()}}}const Fc={get(e,t){return me(e,"get",""),e[t]}};function mo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Fc),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Si(bn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qt)return qt[n](e)},has(t,n){return n in t||n in qt}})):e.proxy}function Dc(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function Hc(e){return X(e)&&"__vccOpts"in e}const oe=(e,t)=>Al(e,t,tn);function Is(e,t,n){try{Pn(-1);const s=arguments.length;return s===2?se(t)&&!B(t)?en(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&en(n)&&(n=[n]),de(e,t,n))}finally{Pn(1)}}const $c="3.5.26";let Ns;const Er=typeof window<"u"&&window.trustedTypes;if(Er)try{Ns=Er.createPolicy("vue",{createHTML:e=>e})}catch{}const vo=Ns?e=>Ns.createHTML(e):e=>e,jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,Tr=Xe&&Xe.createElement("template"),kc={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"?Xe.createElementNS(jc,e):t==="mathml"?Xe.createElementNS(Vc,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Tr.innerHTML=vo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Tr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nt="transition",Wt="animation",nn=Symbol("_vtc"),yo={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},Wc=ue({},Li,yo),Uc=e=>(e.displayName="Transition",e.props=Wc,e),ku=Uc((e,{slots:t})=>Is(kl,Bc(e),t)),gt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Bc(e){const t={};for(const w in e)w in yo||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,L=Kc(r),I=L&&L[0],Y=L&&L[1],{onBeforeEnter:j,onEnter:K,onEnterCancelled:g,onLeave:p,onLeaveCancelled:R,onBeforeAppear:W=j,onAppear:V=K,onAppearCancelled:G=g}=t,_=(w,H,N,k)=>{w._enterCancelled=k,mt(w,H?a:l),mt(w,H?f:o),N&&N()},T=(w,H)=>{w._isLeaving=!1,mt(w,h),mt(w,y),mt(w,v),H&&H()},F=w=>(H,N)=>{const k=w?V:K,M=()=>_(H,w,N);gt(k,[H,M]),Ar(()=>{mt(H,w?c:i),Ge(H,w?a:l),Cr(k)||Rr(H,s,I,M)})};return ue(t,{onBeforeEnter(w){gt(j,[w]),Ge(w,i),Ge(w,o)},onBeforeAppear(w){gt(W,[w]),Ge(w,c),Ge(w,f)},onEnter:F(!1),onAppear:F(!0),onLeave(w,H){w._isLeaving=!0;const N=()=>T(w,H);Ge(w,h),w._enterCancelled?(Ge(w,v),Lr(w)):(Lr(w),Ge(w,v)),Ar(()=>{w._isLeaving&&(mt(w,h),Ge(w,y),Cr(p)||Rr(w,s,Y,N))}),gt(p,[w,N])},onEnterCancelled(w){_(w,!1,void 0,!0),gt(g,[w])},onAppearCancelled(w){_(w,!0,void 0,!0),gt(G,[w])},onLeaveCancelled(w){T(w),gt(R,[w])}})}function Kc(e){if(e==null)return null;if(se(e))return[ds(e.enter),ds(e.leave)];{const t=ds(e);return[t,t]}}function ds(e){return Wo(e)}function Ge(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function mt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function Ar(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qc=0;function Rr(e,t,n,s){const r=e._endId=++qc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Gc(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,v),i()},v=y=>{y.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},l+1),e.addEventListener(f,v)}function Gc(e,t){const n=window.getComputedStyle(e),s=L=>(n[L]||"").split(", "),r=s(`${nt}Delay`),i=s(`${nt}Duration`),o=Mr(r,i),l=s(`${Wt}Delay`),c=s(`${Wt}Duration`),f=Mr(l,c);let a=null,h=0,v=0;t===nt?o>0&&(a=nt,h=o,v=i.length):t===Wt?f>0&&(a=Wt,h=f,v=c.length):(h=Math.max(o,f),a=h>0?o>f?nt:Wt:null,v=a?a===nt?i.length:c.length:0);const y=a===nt&&/\b(?:transform|all)(?:,|$)/.test(s(`${nt}Property`).toString());return{type:a,timeout:h,propCount:v,hasTransform:y}}function Mr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Or(n)+Or(e[s])))}function Or(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Lr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Xc(e,t,n){const s=e[nn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pr=Symbol("_vod"),Yc=Symbol("_vsh"),zc=Symbol(""),Jc=/(?:^|;)\s*display\s*:/;function Qc(e,t,n){const s=e.style,r=ce(n);let i=!1;if(n&&!r){if(t)if(ce(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Sn(s,l,"")}else for(const o in t)n[o]==null&&Sn(s,o,"");for(const o in n)o==="display"&&(i=!0),Sn(s,o,n[o])}else if(r){if(t!==n){const o=s[zc];o&&(n+=";"+o),s.cssText=n,i=Jc.test(n)}}else t&&e.removeAttribute("style");Pr in e&&(e[Pr]=i?s.display:"",e[Yc]&&(s.display="none"))}const Ir=/\s*!important$/;function Sn(e,t,n){if(B(n))n.forEach(s=>Sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Zc(e,t);Ir.test(n)?e.setProperty(ft(s),n.replace(Ir,""),"important"):e[s]=n}}const Nr=["Webkit","Moz","ms"],hs={};function Zc(e,t){const n=hs[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return hs[t]=s;s=Hn(s);for(let r=0;r<Nr.length;r++){const i=Nr[r]+s;if(i in e)return hs[t]=i}return t}const Fr="http://www.w3.org/1999/xlink";function Dr(e,t,n,s,r,i=Xo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Fr,t.slice(6,t.length)):e.setAttributeNS(Fr,t,n):n==null||i&&!ni(n)?e.removeAttribute(t):e.setAttribute(t,i?"":et(n)?String(n):n)}function Hr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?vo(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ni(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function ea(e,t,n,s){e.addEventListener(t,n,s)}function ta(e,t,n,s){e.removeEventListener(t,n,s)}const $r=Symbol("_vei");function na(e,t,n,s,r=null){const i=e[$r]||(e[$r]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=sa(t);if(s){const f=i[t]=oa(s,r);ea(e,l,f,c)}else o&&(ta(e,l,o,c),i[t]=void 0)}}const jr=/(?:Once|Passive|Capture)$/;function sa(e){let t;if(jr.test(e)){t={};let s;for(;s=e.match(jr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let ps=0;const ra=Promise.resolve(),ia=()=>ps||(ra.then(()=>ps=0),ps=Date.now());function oa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;$e(la(s,n.value),t,5,[s])};return n.value=e,n.attached=ia(),n}function la(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 Vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ca=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Xc(e,s,o):t==="style"?Qc(e,n,s):sn(t)?$s(t)||na(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):aa(e,t,s,o))?(Hr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ce(s))?Hr(e,Ne(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dr(e,t,s,o))};function aa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vr(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 Vr(t)&&ce(n)?!1:t in e}const ua=["ctrl","shift","alt","meta"],fa={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)=>ua.some(n=>e[`${n}Key`]&&!t.includes(n))},Wu=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=fa[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},da={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Uu=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=ft(r.key);if(t.some(o=>o===i||da[o]===i))return e(r)}))},ha=ue({patchProp:ca},kc);let gs,kr=!1;function pa(){return gs=kr?gs:xc(ha),kr=!0,gs}const Bu=((...e)=>{const t=pa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ma(s);if(r)return n(r,!0,ga(r))},t});function ga(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ma(e){return ce(e)?document.querySelector(e):e}const Ku=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},va=window.__VP_SITE_DATA__;function _o(e,t){return Ws()?(Jo(e,t),!0):!1}const ms=new WeakMap,ya=(...e)=>{var t;const n=e[0],s=(t=dt())===null||t===void 0?void 0:t.proxy,r=s??Ws();if(r==null&&!Ai())throw new Error("injectLocal must be called in setup");return r&&ms.has(r)&&n in ms.get(r)?ms.get(r)[n]:wt(...e)},bo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _a=e=>e!=null,ba=Object.prototype.toString,wa=e=>ba.call(e)==="[object Object]",Tt=()=>{},Wr=Sa();function Sa(){var e,t,n;return bo&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function Js(...e){if(e.length!==1)return El(...e);const t=e[0];return typeof t=="function"?Dt(wl(()=>({get:t,set:Tt}))):bt(t)}function Qs(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 wo=e=>e();function xa(e,t={}){let n,s,r=Tt;const i=c=>{clearTimeout(c),r(),r=Tt};let o;return c=>{const f=le(e),a=le(t.maxWait);return n&&i(n),f<=0||a!==void 0&&a<=0?(s&&(i(s),s=void 0),Promise.resolve(c())):new Promise((h,v)=>{r=t.rejectOnCancel?v:h,o=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,h(o())},a)),n=setTimeout(()=>{s&&i(s),s=void 0,h(c())},f)})}}function Ea(...e){let t=0,n,s=!0,r=Tt,i,o,l,c,f;!ae(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:c=!0,rejectOnCancel:f=!1}=e[0]:[o,l=!0,c=!0,f=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Tt)};return v=>{const y=le(o),L=Date.now()-t,I=()=>i=v();return a(),y<=0?(t=Date.now(),I()):(L>y?(t=Date.now(),(c||!s)&&I()):l&&(i=new Promise((Y,j)=>{r=f?j:Y,n=setTimeout(()=>{t=Date.now(),s=!0,Y(I()),a()},Math.max(0,y-L))})),!c&&!n&&(n=setTimeout(()=>s=!0,y)),s=!1,i)}}function Ta(e=wo,t={}){const{initialState:n="active"}=t,s=Js(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:Dt(s),pause:r,resume:i,eventFilter:o}}function Ur(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function xn(e){return Array.isArray(e)?e:[e]}function So(e){return dt()}function Ca(e,t=200,n={}){return Qs(xa(t,n),e)}function Aa(e,t=200,n=!1,s=!0,r=!1){return Qs(Ea(t,n,s,r),e)}function Ra(e,t,n={}){const{eventFilter:s=wo,...r}=n;return Oe(e,Qs(s,t),r)}function Ma(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:c,isActive:f}=Ta(s,{initialState:r});return{stop:Ra(e,t,{...i,eventFilter:o}),pause:l,resume:c,isActive:f}}const Oa=Ma;function Qn(e,t=!0,n){So()?$t(e,n):t?e():qn(e)}function La(e,t){So()&&zn(e,t)}function Pa(e,t,n){return Oe(e,t,{...n,immediate:!0})}const Re=bo?window:void 0;function Zn(e){var t;const n=le(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ke(...e){const t=(s,r,i,o)=>(s.addEventListener(r,i,o),()=>s.removeEventListener(r,i,o)),n=oe(()=>{const s=xn(le(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return Pa(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(i=>Zn(i)))!==null&&s!==void 0?s:[Re].filter(i=>i!=null),xn(le(n.value?e[1]:e[0])),xn(Bn(n.value?e[2]:e[1])),le(n.value?e[3]:e[2])]},([s,r,i,o],l,c)=>{if(!s?.length||!r?.length||!i?.length)return;const f=wa(o)?{...o}:o,a=s.flatMap(h=>r.flatMap(v=>i.map(y=>t(h,v,y,f))));c(()=>{a.forEach(h=>h())})},{flush:"post"})}function Ia(){const e=xe(!1),t=dt();return t&&$t(()=>{e.value=!0},t),e}function Zs(e){const t=Ia();return oe(()=>(t.value,!!e()))}function Na(e,t,n={}){const{window:s=Re,...r}=n;let i;const o=Zs(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=Oe(oe(()=>{const h=xn(le(e)).map(Zn).filter(_a);return new Set(h)}),h=>{l(),o.value&&h.size&&(i=new MutationObserver(t),h.forEach(v=>i.observe(v,r)))},{immediate:!0,flush:"post"}),f=()=>i?.takeRecords(),a=()=>{c(),l()};return _o(a),{isSupported:o,stop:a,takeRecords:f}}function Fa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function qu(...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=Re,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Fa(t);return Ke(r,i,a=>{a.repeat&&le(l)||c(a)&&n(a)},o)}const Da=Symbol("vueuse-ssr-width");function Ha(){const e=Ai()?ya(Da,null):null;return typeof e=="number"?e:void 0}function xo(e,t={}){const{window:n=Re,ssrWidth:s=Ha()}=t,r=Zs(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=xe(typeof s=="number"),o=xe(),l=xe(!1),c=f=>{l.value=f.matches};return Ri(()=>{if(i.value){i.value=!r.value,l.value=le(e).split(",").some(f=>{const a=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),v=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(h||v);return h&&y&&(y=s>=Ur(h[1])),v&&y&&(y=s<=Ur(v[1])),a?!y:y});return}r.value&&(o.value=n.matchMedia(le(e)),l.value=o.value.matches)}),Ke(o,"change",c,{passive:!0}),oe(()=>l.value)}const gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mn="__vueuse_ssr_handlers__",$a=ja();function ja(){return mn in gn||(gn[mn]=gn[mn]||{}),gn[mn]}function Eo(e,t){return $a[e]||t}function To(e){return xo("(prefers-color-scheme: dark)",e)}function Va(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 ka={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()}},Br="vueuse-storage";function Wa(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=Re,eventFilter:v,onError:y=N=>{console.error(N)},initOnMounted:L}=s,I=(a?xe:bt)(typeof t=="function"?t():t),Y=oe(()=>le(e));if(!n)try{n=Eo("getDefaultStorage",()=>Re?.localStorage)()}catch(N){y(N)}if(!n)return I;const j=le(t),K=Va(j),g=(r=s.serializer)!==null&&r!==void 0?r:ka[K],{pause:p,resume:R}=Oa(I,N=>T(N),{flush:i,deep:o,eventFilter:v});Oe(Y,()=>w(),{flush:i});let W=!1;const V=N=>{L&&!W||w(N)},G=N=>{L&&!W||H(N)};h&&l&&(n instanceof Storage?Ke(h,"storage",V,{passive:!0}):Ke(h,Br,G)),L?Qn(()=>{W=!0,w()}):w();function _(N,k){if(h){const M={key:Y.value,oldValue:N,newValue:k,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",M):new CustomEvent(Br,{detail:M}))}}function T(N){try{const k=n.getItem(Y.value);if(N==null)_(k,null),n.removeItem(Y.value);else{const M=g.write(N);k!==M&&(n.setItem(Y.value,M),_(k,M))}}catch(k){y(k)}}function F(N){const k=N?N.newValue:n.getItem(Y.value);if(k==null)return c&&j!=null&&n.setItem(Y.value,g.write(j)),j;if(!N&&f){const M=g.read(k);return typeof f=="function"?f(M,j):K==="object"&&!Array.isArray(M)?{...j,...M}:M}else return typeof k!="string"?k:g.read(k)}function w(N){if(!(N&&N.storageArea!==n)){if(N&&N.key==null){I.value=j;return}if(!(N&&N.key!==Y.value)){p();try{const k=g.write(I.value);(N===void 0||N?.newValue!==k)&&(I.value=F(N))}catch(k){y(k)}finally{N?qn(R):R()}}}}function H(N){w(N.detail)}return I}const Ua="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ba(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Re,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},v=To({window:r}),y=oe(()=>v.value?"dark":"light"),L=c||(o==null?Js(s):Wa(o,s,i,{window:r,listenToStorageChanges:l})),I=oe(()=>L.value==="auto"?y.value:L.value),Y=Eo("updateHTMLAttrs",(p,R,W)=>{const V=typeof p=="string"?r?.document.querySelector(p):Zn(p);if(!V)return;const G=new Set,_=new Set;let T=null;if(R==="class"){const w=W.split(/\s/g);Object.values(h).flatMap(H=>(H||"").split(/\s/g)).filter(Boolean).forEach(H=>{w.includes(H)?G.add(H):_.add(H)})}else T={key:R,value:W};if(G.size===0&&_.size===0&&T===null)return;let F;a&&(F=r.document.createElement("style"),F.appendChild(document.createTextNode(Ua)),r.document.head.appendChild(F));for(const w of G)V.classList.add(w);for(const w of _)V.classList.remove(w);T&&V.setAttribute(T.key,T.value),a&&(r.getComputedStyle(F).opacity,document.head.removeChild(F))});function j(p){var R;Y(t,n,(R=h[p])!==null&&R!==void 0?R:p)}function K(p){e.onChanged?e.onChanged(p,j):j(p)}Oe(I,K,{flush:"post",immediate:!0}),Qn(()=>K(I.value));const g=oe({get(){return f?L.value:I.value},set(p){L.value=p}});return Object.assign(g,{store:L,system:y,state:I})}function Ka(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=Ba({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),r=oe(()=>s.system.value);return oe({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function vs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Kr=1;function qa(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=Tt,onScroll:i=Tt,offset:o={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:f="auto",window:a=Re,onError:h=_=>{console.error(_)}}=t,v=typeof l=="boolean"?{mutation:l}:l,y=xe(0),L=xe(0),I=oe({get(){return y.value},set(_){j(_,void 0)}}),Y=oe({get(){return L.value},set(_){j(void 0,_)}});function j(_,T){var F,w,H,N;if(!a)return;const k=le(e);if(!k)return;(F=k instanceof Document?a.document.body:k)===null||F===void 0||F.scrollTo({top:(w=le(T))!==null&&w!==void 0?w:Y.value,left:(H=le(_))!==null&&H!==void 0?H:I.value,behavior:le(f)});const M=(k==null||(N=k.document)===null||N===void 0?void 0:N.documentElement)||k?.documentElement||k;I!=null&&(y.value=M.scrollLeft),Y!=null&&(L.value=M.scrollTop)}const K=xe(!1),g=Ft({left:!0,right:!1,top:!0,bottom:!1}),p=Ft({left:!1,right:!1,top:!1,bottom:!1}),R=_=>{K.value&&(K.value=!1,p.left=!1,p.right=!1,p.top=!1,p.bottom=!1,r(_))},W=Ca(R,n+s),V=_=>{var T;if(!a)return;const F=(_==null||(T=_.document)===null||T===void 0?void 0:T.documentElement)||_?.documentElement||Zn(_),{display:w,flexDirection:H,direction:N}=a.getComputedStyle(F),k=N==="rtl"?-1:1,M=F.scrollLeft;p.left=M<y.value,p.right=M>y.value;const z=Math.abs(M*k)<=(o.left||0),D=Math.abs(M*k)+F.clientWidth>=F.scrollWidth-(o.right||0)-Kr;w==="flex"&&H==="row-reverse"?(g.left=D,g.right=z):(g.left=z,g.right=D),y.value=M;let Z=F.scrollTop;_===a.document&&!Z&&(Z=a.document.body.scrollTop),p.top=Z<L.value,p.bottom=Z>L.value;const ht=Math.abs(Z)<=(o.top||0),je=Math.abs(Z)+F.clientHeight>=F.scrollHeight-(o.bottom||0)-Kr;w==="flex"&&H==="column-reverse"?(g.top=je,g.bottom=ht):(g.top=ht,g.bottom=je),L.value=Z},G=_=>{var T;a&&(V((T=_.target.documentElement)!==null&&T!==void 0?T:_.target),K.value=!0,W(_),i(_))};return Ke(e,"scroll",n?Aa(G,n,!0,!1):G,c),Qn(()=>{try{const _=le(e);if(!_)return;V(_)}catch(_){h(_)}}),v?.mutation&&e!=null&&e!==a&&e!==document&&Na(e,()=>{const _=le(e);_&&V(_)},{attributes:!0,childList:!0,subtree:!0}),Ke(e,"scrollend",R,c),{x:I,y:Y,isScrolling:K,arrivedState:g,directions:p,measure(){const _=le(e);a&&_&&V(_)}}}function Gu(e={}){const{window:t=Re}=e,n=t?.navigator,s=Zs(()=>n&&"language"in n),r=xe(n?.language);return Ke(t,"languagechange",()=>{n&&(r.value=n.language)},{passive:!0}),{isSupported:s,language:r}}function Co(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:Co(n)}}function Ga(e){const t=e||window.event,n=t.target;return Co(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ys=new WeakMap;function Xu(e,t=!1){const n=xe(t);let s=null,r="";Oe(Js(e),l=>{const c=vs(le(l));if(c){const f=c;if(ys.get(f)||ys.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=vs(le(e));!l||n.value||(Wr&&(s=Ke(l,"touchmove",c=>{Ga(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=vs(le(e));!l||!n.value||(Wr&&s?.(),l.style.overflow=r,ys.delete(l),n.value=!1)};return _o(o),oe({get(){return n.value},set(l){l?i():o()}})}function Yu(e={}){const{window:t=Re,...n}=e;return qa(t,n)}function zu(e={}){const{window:t=Re,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=xe(n),c=xe(s),f=()=>{if(t)if(o==="outer")l.value=t.outerWidth,c.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:h,height:v,scale:y}=t.visualViewport;l.value=Math.round(h*y),c.value=Math.round(v*y)}else i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};f(),Qn(f);const a={passive:!0};return Ke("resize",f,a),t&&o==="visual"&&t.visualViewport&&Ke(t.visualViewport,"resize",f,a),r&&Oe(xo("(orientation: portrait)"),()=>f()),{width:l,height:c}}const Xa={};var Ya={};const Ao=/^(?:[a-z]+:|\/\/)/i,za="vitepress-theme-appearance",Ro=Symbol("stack-view:unpack"),Ja=/#.*$/,Qa=/[?#].*$/,Za=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Mo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function eu(e,t,n=!1){if(t===void 0)return!1;if(e=qr(`/${e}`),n)return new RegExp(t).test(e);if(qr(t)!==e)return!1;const s=t.match(Ja);return s?(ge?location.hash:"")===s[0]:!0}function qr(e){return decodeURI(e).replace(Qa,"").replace(Za,"$1")}function tu(e){return Ao.test(e)}function nu(e,t){return Object.keys(e?.locales||{}).find(n=>n!=="root"&&!tu(n)&&eu(t,`^/${n}/`,!0))||"root"}function su(e,t){const n=nu(e,t),{label:s,link:r,...i}=e.locales[n]??{};Object.assign(i,{localeIndex:n});const o=cu(e,t),l={head:Lo(e.head??[],i.head??[],...o.map(c=>c.head??[]).reverse())};return er(l,...o,i,e)}function Oo(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=ru(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function ru(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Lo(...e){const t=[],n=new Map;for(const s of e)for(const r of s){const[i,o]=r,l=Object.entries(o)[0];if(i!=="meta"||!l){t.push(r);continue}const c=`${l[0]}=${l[1]}`,f=n.get(c);f!=null?t[f]=r:(n.set(c,t.length),t.push(r))}return t}const iu=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ou=/^[a-z]:/i;function Gr(e){const t=ou.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(iu,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const _s=new Set;function lu(e){if(_s.size===0){const n=typeof process=="object"&&Ya?.VITE_EXTRA_EXTENSIONS||Xa?.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=>_s.add(s))}const t=e.split(".").pop();return t==null||!_s.has(t.toLowerCase())}function cu({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 er(...e){const t=e.filter(r=>au(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===Ro?t:er(...t.map(o=>o[i]).filter(o=>o!==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 o of t){const l=Object.getOwnPropertyDescriptor(o,i);if(l)return l}}})}er.unpack=function(e){return e?.[Ro]};function au(e){return Object.prototype.toString.call(e)==="[object Object]"}const uu=["shellscript","shell","bash","sh","zsh"];function fu(e){return uu.includes(e)}const du=Symbol(),lt=xe(Dt(va));function Ju(e){const t=oe(()=>su(lt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?bt(!0):n==="force-auto"?To():n?Ka({storageKey:za,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):bt(!1),r=bt(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Oe(()=>e.data,()=>{r.value=ge?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(()=>Oo(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function hu(){const e=wt(du);if(!e)throw new Error("vitepress data not properly injected in app");return e}function pu(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Xr(e){return Ao.test(e)||!e.startsWith("/")?e:pu(lt.value.base,e)}function gu(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/Unified-AI-Router/";t=Gr(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=`./${Gr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let En=[];function Qu(e){En.push(e),La(()=>{En=En.filter(t=>t!==e)})}function mu(){let e=lt.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=Yr(e,n);else if(Array.isArray(e))for(const s of e){const r=Yr(s,n);if(r){t=r;break}}return t}function Yr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const vu=Symbol(),Po="http://a.com",yu=()=>({path:"/",hash:"",query:"",component:null,data:Mo});function Zu(e,t){const n=Ft(yu()),s={route:n,async go(l,c){l=Ds(l),await s.onBeforeRouteChange?.(l)!==!1&&((!ge||await bu(l,c))&&await i(l),o(),await s.onAfterRouteChange?.(l))}};let r=null;async function i(l,c=0,f=!1){if(await s.onBeforePageLoad?.(l)===!1)return;const a=new URL(l,Po),h=r=a.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(r===h){r=null;const{default:y,__pageData:L}=v;if(!y)throw new Error(`Invalid route component: ${y}`);await s.onAfterPageLoad?.(l),n.path=ge?h:Xr(h),n.component=bn(y),n.data=bn(L),o(a),ge&&qn(()=>{let I=lt.value.base+L.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");return!lt.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==a.pathname&&(a.pathname=I,l=I+a.search+a.hash,history.replaceState({},"",l)),Fs(a.hash,!1,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!f)try{const y=await fetch(lt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await y.json(),await i(l,c,!0);return}catch{}if(r===h){r=null,n.path=ge?h:Xr(h),n.component=t?bn(t):null;const y=ge?n.path.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").slice(lt.value.base.length):"404.md";n.data={...Mo,relativePath:y},o(a)}}}function o(l=ge?location:{search:"",hash:""}){n.query=l.search,n.hash=decodeURIComponent(l.hash)}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:v}=new URL(f,c.baseURI),y=new URL(location.href);h===y.origin&&lu(v)&&(l.preventDefault(),s.go(a,{smoothScroll:c.classList.contains("header-anchor")}))},{capture:!0}),window.addEventListener("popstate",async l=>{if(l.state===null)return;const c=Ds(location.href);await i(c,l.state&&l.state.scrollPosition||0),o(),await s.onAfterRouteChange?.(c)}),window.addEventListener("hashchange",l=>{l.preventDefault(),o()})),s}function _u(){const e=wt(vu);if(!e)throw new Error("useRouter() is called without provider.");return e}function Io(){return _u().route}function Fs(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(l){console.warn(l)}if(!s)return;const r=window.scrollY+s.getBoundingClientRect().top-mu()+Number.parseInt(window.getComputedStyle(s).paddingTop,10)||0,i=window.matchMedia("(prefers-reduced-motion)").matches?"instant":t&&Math.abs(r-window.scrollY)<=window.innerHeight?"smooth":"auto";requestAnimationFrame(()=>{if(window.scrollTo({left:0,top:r,behavior:i}),s.focus({preventScroll:!0}),document.activeElement===s||s.hasAttribute("tabindex"))return;const l=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",l)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",l),s.focus({preventScroll:!0}),document.activeElement!==s&&l()})}function Ds(e){const t=new URL(e,Po);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),lt.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 bu(e,{smoothScroll:t=!1,initialLoad:n=!1,replace:s=!1}={}){const r=Ds(location.href),i=new URL(e,location.origin),o=new URL(r,location.origin);if(e===r){if(!n)return Fs(i.hash,t),!1}else if(s?history.replaceState({},"",e):(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",e)),i.pathname===o.pathname)return i.hash!==o.hash&&(window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:o.href,newURL:i.href})),Fs(i.hash,t)),!1;return!0}const vn=()=>En.forEach(e=>e()),ef=Di({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Io(),{frontmatter:n,site:s}=hu();return Oe(n,vn,{deep:!0,flush:"post"}),()=>Is(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Is(t.component,{onVnodeMounted:vn,onVnodeUpdated:vn,onVnodeUnmounted:vn}):"404 Page Not Found"])}}),tf=Di({setup(e,{slots:t}){const n=bt(!1);return $t(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function nf(){ge&&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 o=r.children[s];if(!o||i===o)return;i.classList.remove("active"),wu(o),n?.querySelector(`label[for="${t.id}"]`)?.scrollIntoView({block:"nearest"})}})}function wu(e){e.classList.add("active"),window.dispatchEvent(new CustomEvent("vitepress:codeGroupTabActivate",{detail:e}))}const Su=[".vp-copy-ignore",".diff.remove"].join(", ");function sf(){if(ge){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=r.cloneNode(!0);i.querySelectorAll(Su).forEach(c=>c.remove()),i.innerHTML=i.innerHTML.replace(/\n+/g,`
4
+ `);let o=i.textContent||"";const l=/language-(\w+)/.exec(s.className)?.[1]||"";fu(l)&&(o=o.replace(/^ *(\$|>) /gm,"").trim()),xu(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 xu(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 rf(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=bs(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(bs);s.forEach((l,c)=>{const f=o.findIndex(a=>a?.isEqualNode(l??null));f!==-1?delete o[f]:(l?.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};Ri(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Oo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):bs(["meta",{name:"description",content:a}]),r(Lo(o.head,Tu(c)))})}function bs([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 Eu(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Tu(e){return e.filter(t=>!Eu(t))}const ws=new Set,No=()=>document.createElement("link"),Cu=e=>{const t=No();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Au=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let yn;const Ru=ge&&(yn=No())&&yn.relList&&yn.relList.supports&&yn.relList.supports("prefetch")?Cu:Au;function of(){if(!ge||!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(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ws.has(c)){ws.add(c);const f=gu(c);f&&Ru(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ws.add(l))})})};$t(s);const r=Io();Oe(()=>r.path,s),zn(()=>{n&&n.disconnect()})}export{Uu as $,Ou as A,xe as B,ge as C,Io as D,Mu as E,Qu as F,ve as G,Nu as H,Pu as I,de as J,Iu as K,Ao as L,Lu as M,Gu as N,Mc as O,wt as P,Vs as Q,zu as R,qu as S,ku as T,qn as U,Yu as V,Dt as W,Xu as X,Nl as Y,Du as Z,Ku as _,ho as a,ji as a0,Wu as a1,Hu as a2,rf as a3,vu as a4,Ju as a5,du as a6,ef as a7,tf as a8,lt as a9,Zu as aa,gu as ab,Bu as ac,of as ad,sf as ae,nf as af,Is as ag,ju as ah,Ls as b,$u as c,Di as d,Vu as e,lu as f,Xr as g,oe as h,tu as i,fo as j,Bn as k,eu as l,xo as m,ks as n,Os as o,$t as p,Jl as q,Fu as r,zn as s,Yo as t,hu as u,mu as v,Il as w,bt as x,Ri as y,Oe as z};
@@ -0,0 +1 @@
1
+ import{d as m,c as u,r as c,n as T,o as s,a as R,t as S,b as g,w as f,T as ce,e as h,_,u as Ee,i as De,f as Fe,g as ue,h as b,j as v,k as i,l as U,m as be,p as O,q as Oe,s as de,v as Ge,x as L,y as X,z as E,A as ve,B as Z,C as K,D as ee,E as $e,F as Pe,G as N,H as w,I as j,J as p,K as H,L as Le,M as Re,N as Ue,O as C,P as te,Q as Ve,R as je,S as We,U as Se,V as Te,W as ze,X as Ne,Y as Me,Z as qe,$ as Ke,a0 as Je,a1 as Ye,a2 as Qe}from"./framework.Droh-lTM.js";const Xe=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(s(),u("span",{class:T(["VPBadge",e.type])},[c(t.$slots,"default",{},()=>[R(S(e.text),1)])],2))}}),Ze={key:0,class:"VPBackdrop"},et=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(s(),g(ce,{name:"fade"},{default:f(()=>[e.show?(s(),u("div",Ze)):h("",!0)]),_:1}))}}),tt=_(et,[["__scopeId","data-v-c79a1216"]]),$=Ee;function nt(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function oe(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(De(e)||e.startsWith("#")||!o.startsWith("http")||!Fe(t))return e;const{site:r}=$(),d=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${n}${a}`);return ue(d)}function J({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:o,hash:r}=$(),d=b(()=>({label:t.value.locales[n.value]?.label,link:t.value.locales[n.value]?.link||(n.value==="root"?"/":`/${n.value}/`)}));return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([k,y])=>d.value.label===y.label?[]:{text:y.label,link:at(y.link||(k==="root"?"/":`/${k}/`),o.value.i18nRouting!==!1&&e,a.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)+r.value,lang:y.lang,dir:y.dir})),currentLang:d}}function at(e,t,n,a){return t?e.replace(/\/$/,"")+oe(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const ot={class:"NotFound"},st={class:"code"},it={class:"title"},rt={class:"quote"},lt={class:"action"},ct=["href","aria-label"],ut=m({__name:"NotFound",setup(e){const{theme:t}=$(),{currentLang:n}=J();return(a,o)=>(s(),u("div",ot,[v("p",st,S(i(t).notFound?.code??"404"),1),v("h1",it,S(i(t).notFound?.title??"PAGE NOT FOUND"),1),o[0]||(o[0]=v("div",{class:"divider"},null,-1)),v("blockquote",rt,S(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",lt,[v("a",{class:"link",href:i(ue)(i(t).notFound?.link??i(n).link),"aria-label":i(t).notFound?.linkLabel??"go to home"},S(i(t).notFound?.linkText??"Take me home"),9,ct)])]))}}),dt=_(ut,[["__scopeId","data-v-829df670"]]);function we(e,t){if(Array.isArray(e))return Y(e);if(e==null)return[];t=oe(t);const n=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>t.startsWith(oe(o))),a=n?e[n]:[];return Array.isArray(a)?Y(a):Y(a.items,a.base)}function vt(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 ft(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 se(e,t){return Array.isArray(t)?t.some(n=>se(e,n)):U(e,t.link)?!0:t.items?se(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 ht(){const{hasSidebar:e}=D(),t=be("(min-width: 960px)"),n=be("(min-width: 1280px)");return{isAsideEnabled:b(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const mt=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,ie=[];function Ie(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function pt(e){const t=[...document.querySelectorAll(".VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:kt(n),link:"#"+n.id,level:a}});return gt(t,e)}function kt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(mt.test(n.className))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function gt(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 $t(e,a,o)}function _t(e,t){const{isAsideEnabled:n}=ht(),a=nt(r,100);let o=null;O(()=>{requestAnimationFrame(r),window.addEventListener("scroll",a)}),Oe(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",a)});function r(){if(!n.value)return;const l=window.scrollY,k=window.innerHeight,y=document.body.offsetHeight,P=Math.abs(l+k-y)<1,V=ie.map(({element:I,link:x})=>({link:x,top:bt(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,x)=>I.top-x.top);if(!V.length){d(null);return}if(l<1){d(null);return}if(P){d(V[V.length-1].link);return}let M=null;for(const{link:I,top:x}of V){if(x>l+Ge()+4)break;M=I}d(M)}function d(l){o&&o.classList.remove("active"),l==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const k=o;k?(k.classList.add("active"),t.value.style.top=k.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function bt(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function $t(e,t,n){ie.length=0;const a=[],o=[];return e.forEach(r=>{const d={...r,children:[]};let l=o[o.length-1];for(;l&&l.level>=d.level;)o.pop(),l=o[o.length-1];if(d.element.classList.contains("ignore-header")||l&&"shouldIgnore"in l){o.push({level:d.level,shouldIgnore:!0});return}d.level>n||d.level<t||(ie.push({element:d.element,link:d.link}),l?l.children.push(d):a.push(d),o.push(d))}),a}const W=L(!1);function yt(e){let t;X(()=>{t=W.value?document.activeElement:void 0}),O(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(a){a.key==="Escape"&&W.value&&(e(),t?.focus())}}function Pt(){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 Lt(e){const{page:t,hash:n}=$(),a=L(!1),o=b(()=>e.value.collapsed!=null),r=b(()=>!!e.value.link),d=L(!1),l=()=>{d.value=U(t.value.relativePath,e.value.link)};E([t,e,n],l),O(l);const k=b(()=>d.value?!0:e.value.items?se(t.value.relativePath,e.value.items):!1),y=b(()=>!!(e.value.items&&e.value.items.length));X(()=>{a.value=!!(o.value&&e.value.collapsed)}),ve(()=>{(d.value||k.value)&&(a.value=!1)});function P(){o.value&&(a.value=!a.value)}return{collapsed:a,collapsible:o,isLink:r,isActiveLink:d,hasActiveLink:k,hasChildren:y,toggle:P}}const re=Z([]),q=Z([]),le=Z(!1);function D(){const{frontmatter:e,theme:t}=$(),n=b(()=>!!(e.value.isHome??e.value.layout==="home")),a=b(()=>e.value.sidebar!==!1&&q.value.length>0&&!n.value),o=b(()=>a.value&&le.value),r=b(()=>a.value?vt(q.value):[]),d=b(()=>n.value?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),l=b(()=>d.value?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),k=b(()=>re.value.length>0);return{isHome:n,sidebar:$e(q),sidebarGroups:r,hasSidebar:a,isSidebarEnabled:o,hasAside:d,leftAside:l,headers:$e(re),hasLocalNav:k}}function Vt({closeSidebar:e}){const{frontmatter:t,page:n,theme:a}=$();E(()=>[n.value.relativePath,a.value.sidebar],([r,d])=>{const l=d?we(d,r):[];JSON.stringify(l)!==JSON.stringify(q.value)&&(q.value=l)},{immediate:!0,deep:!0,flush:"sync"}),Pe(()=>{re.value=pt(t.value.outline??a.value.outline)}),K&&(le.value=window.innerWidth>=960,window.addEventListener("resize",()=>{le.value=window.innerWidth>=960},{passive:!0}));const o=ee();E(()=>o.path,e),yt(e)}const xe=Symbol("layout-info"),St=["href","title"],Tt=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){return(t,n)=>{const a=j("VPDocOutlineItem",!0);return s(),u("ul",{class:T(["VPDocOutlineItem",e.root?"root":"nested"])},[(s(!0),u(N,null,w(e.headers,({children:o,link:r,title:d})=>(s(),u("li",null,[v("a",{class:"outline-link",href:r,title:d},S(d),9,St),o?.length?(s(),g(a,{key:0,headers:o},null,8,["headers"])):h("",!0)]))),256))],2)}}}),He=_(Tt,[["__scopeId","data-v-1ce71065"]]),Nt={class:"content"},Mt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},wt=m({__name:"VPDocAsideOutline",setup(e){const{theme:t}=$(),n=L(),a=L(),{headers:o,hasLocalNav:r}=D();return _t(n,a),(d,l)=>(s(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:T(["VPDocAsideOutline",{"has-outline":i(r)}]),ref_key:"container",ref:n},[v("div",Nt,[v("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),v("div",Mt,S(i(Ie)(i(t))),1),p(He,{headers:i(o),root:!0},null,8,["headers"])])],2))}}),It=_(wt,[["__scopeId","data-v-60d5052e"]]),xt={class:"VPDocAsideCarbonAds"},Ht=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,a)=>(s(),u("div",xt,[p(i(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Bt={class:"VPDocAside"},At=m({__name:"VPDocAside",setup(e){const{theme:t}=$();return(n,a)=>(s(),u("div",Bt,[c(n.$slots,"aside-top",{},void 0,!0),c(n.$slots,"aside-outline-before",{},void 0,!0),p(It),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(),g(Ht,{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)]))}}),Ct=_(At,[["__scopeId","data-v-3f215769"]]);function Et(){const{theme:e,page:t}=$();return b(()=>{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 Dt(){const{page:e,theme:t,frontmatter:n}=$();return b(()=>{const a=we(t.value.sidebar,e.value.relativePath),o=ft(a),r=Ft(o,y=>y.link.replace(/[?#].*$/,"")),d=r.findIndex(y=>U(e.value.relativePath,y.link)),l=t.value.docFooter?.prev===!1&&!n.value.prev||n.value.prev===!1,k=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[d-1]?.docFooterText??r[d-1]?.text,link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??r[d-1]?.link},next:k?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??r[d+1]?.docFooterText??r[d+1]?.text,link:(typeof n.value.next=="object"?n.value.next.link:void 0)??r[d+1]?.link}}})}function Ft(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=b(()=>t.tag??(t.href?"a":"span")),a=b(()=>t.href&&Le.test(t.href)||t.target==="_blank");return(o,r)=>(s(),g(H(n.value),{class:T(["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"]))}}),Ot={class:"VPLastUpdated"},Gt=["datetime"],Rt=m({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=$(),{language:o}=Ue(),r=Re("timeRef"),d=b(()=>new Date(n.value.lastUpdated)),l=b(()=>d.value.toISOString()),k=Z("");return O(()=>{X(()=>{const y=t.value.lastUpdated?.formatOptions?.forceLocale?a.value:o.value;k.value=new Intl.DateTimeFormat(y,t.value.lastUpdated?.formatOptions??{dateStyle:"medium",timeStyle:"medium"}).format(d.value),y&&a.value!==y?r.value?.setAttribute("lang",y):r.value?.removeAttribute("lang")})}),(y,P)=>(s(),u("p",Ot,[R(S(i(t).lastUpdated?.text||i(t).lastUpdatedText||"Last updated")+": ",1),v("time",{ref_key:"timeRef",ref:r,datetime:l.value},S(k.value),9,Gt)]))}}),Ut=_(Rt,[["__scopeId","data-v-3c637f39"]]),jt={key:0,class:"VPDocFooter"},Wt={key:0,class:"edit-info"},zt={key:0,class:"edit-link"},qt={key:1,class:"last-updated"},Kt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Jt={class:"pager"},Yt=["innerHTML"],Qt=["innerHTML"],Xt={class:"pager"},Zt=["innerHTML"],en=["innerHTML"],tn=m({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=$(),o=Et(),r=Dt(),d=b(()=>t.value.editLink&&a.value.editLink!==!1),l=b(()=>n.value.lastUpdated),k=b(()=>d.value||l.value||r.value.prev||r.value.next);return(y,P)=>k.value?(s(),u("footer",jt,[c(y.$slots,"doc-footer-before",{},void 0,!0),d.value||l.value?(s(),u("div",Wt,[d.value?(s(),u("div",zt,[p(B,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:f(()=>[P[0]||(P[0]=v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),R(" "+S(i(o).text),1)]),_:1},8,["href"])])):h("",!0),l.value?(s(),u("div",qt,[p(Ut)])):h("",!0)])):h("",!0),i(r).prev?.link||i(r).next?.link?(s(),u("nav",Kt,[P[1]||(P[1]=v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),v("div",Jt,[i(r).prev?.link?(s(),g(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,Yt),v("span",{class:"title",innerHTML:i(r).prev.text},null,8,Qt)]),_:1},8,["href"])):h("",!0)]),v("div",Xt,[i(r).next?.link?(s(),g(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,Zt),v("span",{class:"title",innerHTML:i(r).next.text},null,8,en)]),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}),nn=_(tn,[["__scopeId","data-v-e257564d"]]),an={class:"container"},on={class:"aside-container"},sn={class:"aside-content"},rn={class:"content"},ln={class:"content-container"},cn={class:"main"},un=m({__name:"VPDoc",setup(e){const{theme:t}=$(),n=ee(),{hasSidebar:a,hasAside:o,leftAside:r}=D(),d=b(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,k)=>{const y=j("Content");return s(),u("div",{class:T(["VPDoc",{"has-sidebar":i(a),"has-aside":i(o)}])},[c(l.$slots,"doc-top",{},void 0,!0),v("div",an,[i(o)?(s(),u("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[k[0]||(k[0]=v("div",{class:"aside-curtain"},null,-1)),v("div",on,[v("div",sn,[p(Ct,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",rn,[v("div",ln,[c(l.$slots,"doc-before",{},void 0,!0),v("main",cn,[p(y,{class:T(["vp-doc",[d.value,i(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),p(nn,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)}}}),dn=_(un,[["__scopeId","data-v-7011f0d8"]]),vn=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=b(()=>t.href&&Le.test(t.href)),a=b(()=>t.tag||(t.href?"a":"button"));return(o,r)=>(s(),g(H(a.value),{class:T(["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",{},()=>[R(S(e.text),1)],!0)]),_:3},8,["class","href","target","rel"]))}}),fn=_(vn,[["__scopeId","data-v-01bff58b"]]),hn=["src","alt"],mn=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const a=j("VPImage",!0);return e.image?(s(),u(N,{key:0},[typeof e.image=="string"||"src"in e.image?(s(),u("img",C({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:i(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,hn)):(s(),u(N,{key:1},[p(a,C({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),p(a,C({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),Q=_(mn,[["__scopeId","data-v-8426fc1a"]]),pn={class:"container"},kn={class:"main"},gn={class:"heading"},_n=["innerHTML"],bn=["innerHTML"],$n=["innerHTML"],yn={key:0,class:"actions"},Pn={key:0,class:"image"},Ln={class:"image-container"},Vn=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const{heroImageSlotExists:t}=te(xe);return(n,a)=>(s(),u("div",{class:T(["VPHero",{"has-image":e.image||i(t)}])},[v("div",pn,[v("div",kn,[c(n.$slots,"home-hero-info-before",{},void 0,!0),c(n.$slots,"home-hero-info",{},()=>[v("h1",gn,[e.name?(s(),u("span",{key:0,innerHTML:e.name,class:"name clip"},null,8,_n)):h("",!0),e.text?(s(),u("span",{key:1,innerHTML:e.text,class:"text"},null,8,bn)):h("",!0)]),e.tagline?(s(),u("p",{key:0,innerHTML:e.tagline,class:"tagline"},null,8,$n)):h("",!0)],!0),c(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(s(),u("div",yn,[(s(!0),u(N,null,w(e.actions,o=>(s(),u("div",{key:o.link,class:"action"},[p(fn,{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(),u("div",Pn,[v("div",Ln,[a[0]||(a[0]=v("div",{class:"image-bg"},null,-1)),c(n.$slots,"home-hero-image",{},()=>[e.image?(s(),g(Q,{key:0,class:"image-src",image:e.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Sn=_(Vn,[["__scopeId","data-v-1e96e9e8"]]),Tn=m({__name:"VPHomeHero",setup(e){const{frontmatter:t}=$();return(n,a)=>i(t).hero?(s(),g(Sn,{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)}}),Nn={class:"box"},Mn={key:0,class:"icon"},wn=["innerHTML"],In=["innerHTML"],xn=["innerHTML"],Hn={key:4,class:"link-text"},Bn={class:"link-text-value"},An=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(s(),g(B,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[v("article",Nn,[typeof e.icon=="object"&&e.icon.wrap?(s(),u("div",Mn,[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(),g(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(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,wn)):h("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,In),e.details?(s(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,xn)):h("",!0),e.linkText?(s(),u("div",Hn,[v("p",Bn,[R(S(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"]))}}),Cn=_(An,[["__scopeId","data-v-5219619b"]]),En={key:0,class:"VPFeatures"},Dn={class:"container"},Fn={class:"items"},On=m({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=b(()=>{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(),u("div",En,[v("div",Dn,[v("div",Fn,[(s(!0),u(N,null,w(e.features,r=>(s(),u("div",{key:r.title,class:T(["item",[n.value]])},[p(Cn,{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)}}),Gn=_(On,[["__scopeId","data-v-a6181336"]]),Rn=m({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=$();return(n,a)=>i(t).features?(s(),g(Gn,{key:0,class:"VPHomeFeatures",features:i(t).features},null,8,["features"])):h("",!0)}}),Un=m({__name:"VPHomeContent",setup(e){const{width:t}=je({initialWidth:0,includeScrollbar:!1});return(n,a)=>(s(),u("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))}}),jn=_(Un,[["__scopeId","data-v-8e2d4988"]]),Wn=m({__name:"VPHome",setup(e){const{frontmatter:t,theme:n}=$();return(a,o)=>{const r=j("Content");return s(),u("div",{class:T(["VPHome",{"external-link-icon-enabled":i(n).externalLinkIcon}])},[c(a.$slots,"home-hero-before",{},void 0,!0),p(Tn,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(Rn),c(a.$slots,"home-features-after",{},void 0,!0),i(t).markdownStyles!==!1?(s(),g(jn,{key:0},{default:f(()=>[p(r)]),_:1})):(s(),g(r,{key:1}))],2)}}}),zn=_(Wn,[["__scopeId","data-v-8b561e3d"]]),qn={},Kn={class:"VPPage"};function Jn(e,t){const n=j("Content");return s(),u("div",Kn,[c(e.$slots,"page-top"),p(n),c(e.$slots,"page-bottom")])}const Yn=_(qn,[["render",Jn]]),Qn=m({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=$(),{isHome:a,hasSidebar:o}=D();return(r,d)=>(s(),u("div",{class:T(["VPContent",{"has-sidebar":i(o),"is-home":i(a)}]),id:"VPContent"},[i(t).isNotFound?c(r.$slots,"not-found",{key:0},()=>[p(dt)],!0):i(n).layout==="page"?(s(),g(Yn,{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(),g(zn,{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(),g(H(i(n).layout),{key:3})):(s(),g(dn,{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))}}),Xn=_(Qn,[["__scopeId","data-v-c87f25bf"]]),Zn={class:"container"},ea=["innerHTML"],ta=["innerHTML"],na=m({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=$(),{hasSidebar:a}=D();return(o,r)=>i(t).footer&&i(n).footer!==!1?(s(),u("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(a)}])},[v("div",Zn,[i(t).footer.message?(s(),u("p",{key:0,class:"message",innerHTML:i(t).footer.message},null,8,ea)):h("",!0),i(t).footer.copyright?(s(),u("p",{key:1,class:"copyright",innerHTML:i(t).footer.copyright},null,8,ta)):h("",!0)])],2)):h("",!0)}}),aa=_(na,[["__scopeId","data-v-c3855bb3"]]),oa={class:"menu-text"},sa={class:"header"},ia={class:"outline"},ra=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=$(),a=L(!1),o=L(0),r=L(),d=L();function l(V){r.value?.contains(V.target)||(a.value=!1)}E(a,V=>{if(V){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),We("Escape",()=>{a.value=!1}),Pe(()=>{a.value=!1});function k(){a.value=!a.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function y(V){V.target.classList.contains("outline-link")&&(d.value&&(d.value.style.transition="none"),Se(()=>{a.value=!1}))}function P(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(V,M)=>(s(),u("div",{class:"VPLocalNavOutlineDropdown",style:Ve({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[e.headers.length>0?(s(),u("button",{key:0,onClick:k,class:T({open:a.value})},[v("span",oa,S(i(Ie)(i(n))),1),M[0]||(M[0]=v("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(s(),u("button",{key:1,onClick:P},S(i(n).returnToTopLabel||"Return to top"),1)),p(ce,{name:"flyout"},{default:f(()=>[a.value?(s(),u("div",{key:0,ref_key:"items",ref:d,class:"items",onClick:y},[v("div",sa,[v("a",{class:"top-link",href:"#",onClick:P},S(i(n).returnToTopLabel||"Return to top"),1)]),v("div",ia,[p(He,{headers:e.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),la=_(ra,[["__scopeId","data-v-0bf0e06f"]]),ca={class:"container"},ua=["aria-expanded"],da={class:"menu-text"},va=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=$(),{isHome:n,hasSidebar:a,headers:o,hasLocalNav:r}=D(),{y:d}=Te(),l=L(0);O(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))});const k=b(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:!r.value,fixed:!r.value&&!a.value}));return(y,P)=>!i(n)&&(i(r)||i(a)||i(d)>=l.value)?(s(),u("div",{key:0,class:T(k.value)},[v("div",ca,[i(a)?(s(),u("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:P[0]||(P[0]=V=>y.$emit("open-menu"))},[P[1]||(P[1]=v("span",{class:"vpi-align-left menu-icon"},null,-1)),v("span",da,S(i(t).sidebarMenuLabel||"Menu"),1)],8,ua)):h("",!0),p(la,{headers:i(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),fa=_(va,[["__scopeId","data-v-db738f89"]]);function ha(){const e=L(!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=ee();return E(()=>r.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const he=Symbol("nav"),ma={},pa={class:"VPSwitch",type:"button",role:"switch"},ka={class:"check"},ga={key:0,class:"icon"};function _a(e,t){return s(),u("button",pa,[v("span",ka,[e.$slots.default?(s(),u("span",ga,[c(e.$slots,"default",{},void 0,!0)])):h("",!0)])])}const ba=_(ma,[["render",_a],["__scopeId","data-v-1d5665e3"]]),$a=m({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=$(),a=te("toggle-appearance",()=>{t.value=!t.value}),o=L("");return ve(()=>{o.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,d)=>(s(),g(ba,{title:o.value,class:"VPSwitchAppearance","aria-checked":i(t),onClick:i(a)},{default:f(()=>[...d[0]||(d[0]=[v("span",{class:"vpi-sun sun"},null,-1),v("span",{class:"vpi-moon moon"},null,-1)])]),_:1},8,["title","aria-checked","onClick"]))}}),me=_($a,[["__scopeId","data-v-5337faa4"]]),ya={key:0,class:"VPNavBarAppearance"},Pa=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(),u("div",ya,[p(me)])):h("",!0)}}),La=_(Pa,[["__scopeId","data-v-6c893767"]]),pe=L();let Be=!1,ae=0;function Va(e){const t=L(!1);if(K){!Be&&Sa(),ae++;const n=E(pe,a=>{a===e.el.value||e.el.value?.contains(a)?(t.value=!0,e.onFocus?.()):(t.value=!1,e.onBlur?.())});de(()=>{n(),ae--,ae||Ta()})}return ze(t)}function Sa(){document.addEventListener("focusin",Ae),Be=!0,pe.value=document.activeElement}function Ta(){document.removeEventListener("focusin",Ae)}function Ae(){pe.value=document.activeElement}const Na={class:"VPMenuLink"},Ma=["innerHTML"],wa=m({inheritAttrs:!1,__name:"VPMenuLink",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=b(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link);return(o,r)=>(s(),u("div",Na,[p(B,C(o.$attrs,{class:{active:i(U)(i(n).relativePath,e.item.activeMatch||a.value,!!e.item.activeMatch)},href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon}),{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Ma)]),_:1},16,["class","href","target","rel","no-icon"])]))}}),ne=_(wa,[["__scopeId","data-v-faf5b206"]]),Ia={class:"VPMenuGroup"},xa={key:0,class:"title"},Ha=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(s(),u("div",Ia,[e.text?(s(),u("p",xa,S(e.text),1)):h("",!0),(s(!0),u(N,null,w(e.items,a=>(s(),u(N,{key:JSON.stringify(a)},["link"in a?(s(),g(ne,{key:0,item:a},null,8,["item"])):h("",!0)],64))),128))]))}}),Ba=_(Ha,[["__scopeId","data-v-1963e1bb"]]),Aa={class:"VPMenu"},Ca={key:0,class:"items"},Ea=m({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(s(),u("div",Aa,[e.items?(s(),u("div",Ca,[(s(!0),u(N,null,w(e.items,a=>(s(),u(N,{key:JSON.stringify(a)},["link"in a?(s(),g(ne,{key:0,item:a},null,8,["item"])):"component"in a?(s(),g(H(a.component),C({key:1,ref_for:!0},a.props),null,16)):(s(),g(Ba,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(t.$slots,"default",{},void 0,!0)]))}}),Da=_(Ea,[["__scopeId","data-v-25a6cce8"]]),Fa=["aria-expanded","aria-label"],Oa={key:0,class:"text"},Ga=["innerHTML"],Ra={key:1,class:"vpi-more-horizontal icon"},Ua={class:"menu"},ja=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=L(!1),n=L();Va({el:n,onBlur:a});function a(){t.value=!1}return(o,r)=>(s(),u("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:r[1]||(r[1]=d=>t.value=!0),onMouseleave:r[2]||(r[2]=d=>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]=d=>t.value=!t.value)},[e.button||e.icon?(s(),u("span",Oa,[e.icon?(s(),u("span",{key:0,class:T([e.icon,"option-icon"])},null,2)):h("",!0),e.button?(s(),u("span",{key:1,innerHTML:e.button},null,8,Ga)):h("",!0),r[3]||(r[3]=v("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(s(),u("span",Ra))],8,Fa),v("div",Ua,[p(Da,{items:e.items},{default:f(()=>[c(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=_(ja,[["__scopeId","data-v-42cb505d"]]),Wa=["href","aria-label","rel","innerHTML"],za=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{},me:{type:Boolean}},setup(e){const t=e,n=L();O(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=b(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}"></span>`);return(o,r)=>(s(),u("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,Wa))}}),qa=_(za,[["__scopeId","data-v-591a6b30"]]),Ka={class:"VPSocialLinks"},Ja=m({__name:"VPSocialLinks",props:{links:{},me:{type:Boolean,default:!0}},setup(e){return(t,n)=>(s(),u("div",Ka,[(s(!0),u(N,null,w(e.links,({link:a,icon:o,ariaLabel:r})=>(s(),g(qa,{key:a,icon:o,link:a,ariaLabel:r,me:e.me},null,8,["icon","link","ariaLabel","me"]))),128))]))}}),ge=_(Ja,[["__scopeId","data-v-d07f11e6"]]),Ya={key:0,class:"group translations"},Qa={class:"trans-title"},Xa={key:1,class:"group"},Za={class:"item appearance"},eo={class:"label"},to={class:"appearance-action"},no={key:2,class:"group"},ao={class:"item social-links"},oo=m({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=$(),{localeLinks:a,currentLang:o}=J({correspondingLink:!0}),r=b(()=>a.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(d,l)=>r.value?(s(),g(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[i(a).length&&i(o).label?(s(),u("div",Ya,[v("p",Qa,S(i(o).label),1),(s(!0),u(N,null,w(i(a),k=>(s(),g(ne,{key:k.link,item:k,lang:k.lang,dir:k.dir},null,8,["item","lang","dir"]))),128))])):h("",!0),i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(s(),u("div",Xa,[v("div",Za,[v("p",eo,S(i(n).darkModeSwitchLabel||"Appearance"),1),v("div",to,[p(me)])])])):h("",!0),i(n).socialLinks?(s(),u("div",no,[v("div",ao,[p(ge,{class:"social-links-list",links:i(n).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),so=_(oo,[["__scopeId","data-v-bf2fac68"]]),io=["aria-expanded"],ro=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(s(),u("button",{type:"button",class:T(["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,io))}}),lo=_(ro,[["__scopeId","data-v-e5dd9c1c"]]),co=["innerHTML"],uo=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=b(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link);return(o,r)=>(s(),g(B,{class:T({VPNavBarMenuLink:!0,active:i(U)(i(n).relativePath,e.item.activeMatch||a.value,!!e.item.activeMatch)}),href:a.value,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,co)]),_:1},8,["class","href","target","rel","no-icon"]))}}),vo=_(uo,[["__scopeId","data-v-52a1d768"]]),fo=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=r=>"component"in r?!1:"link"in r?U(n.value.relativePath,typeof r.link=="function"?r.link(n.value):r.link,!!t.item.activeMatch):r.items.some(a),o=b(()=>a(t.item));return(r,d)=>(s(),g(ke,{class:T({VPNavBarMenuGroup:!0,active:i(U)(i(n).relativePath,e.item.activeMatch,!!e.item.activeMatch)||o.value}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),ho={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},mo=m({__name:"VPNavBarMenu",setup(e){const{theme:t}=$();return(n,a)=>i(t).nav?(s(),u("nav",ho,[a[0]||(a[0]=v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(s(!0),u(N,null,w(i(t).nav,o=>(s(),u(N,{key:JSON.stringify(o)},["link"in o?(s(),g(vo,{key:0,item:o},null,8,["item"])):"component"in o?(s(),g(H(o.component),C({key:1,ref_for:!0},o.props),null,16)):(s(),g(fo,{key:2,item:o},null,8,["item"]))],64))),128))])):h("",!0)}}),po=_(mo,[["__scopeId","data-v-39714824"]]);function ko(e){const{localeIndex:t,theme:n}=$();function a(o){const r=o.split("."),d=n.value.search?.options,l=d&&typeof d=="object",k=l&&d.locales?.[t.value]?.translations||null,y=l&&d.translations||null;let P=k,V=y,M=e;const I=r.pop();for(const x of r){let A=null;const G=M?.[x];G&&(A=M=G);const F=V?.[x];F&&(A=V=F);const z=P?.[x];z&&(A=P=z),G||(M=A),F||(V=A),z||(P=A)}return P?.[I]??V?.[I]??M?.[I]??""}return a}const go=["aria-label"],_o={class:"DocSearch-Button-Container"},bo={class:"DocSearch-Button-Placeholder"},ye=m({__name:"VPNavBarSearchButton",setup(e){const n=ko({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,o)=>(s(),u("button",{type:"button","aria-label":i(n)("button.buttonAriaLabel"),"aria-keyshortcuts":"/ control+k meta+k",class:"DocSearch DocSearch-Button"},[v("span",_o,[o[0]||(o[0]=v("span",{class:"vpi-search DocSearch-Search-Icon"},null,-1)),v("span",bo,S(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,go))}}),$o={class:"VPNavBarSearch"},yo={id:"local-search"},Po={key:1,id:"docsearch"},Lo=m({__name:"VPNavBarSearch",setup(e){const t=()=>null,n=()=>null,{theme:a}=$(),o=L(!1),r=L(!1);O(()=>{});function d(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const P=new Event("keydown");P.key="k",P.metaKey=!0,window.dispatchEvent(P),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}const k=L(!1),y="";return(P,V)=>(s(),u("div",$o,[i(y)==="local"?(s(),u(N,{key:0},[k.value?(s(),g(i(t),{key:0,onClose:V[0]||(V[0]=M=>k.value=!1)})):h("",!0),v("div",yo,[p(ye,{onClick:V[1]||(V[1]=M=>k.value=!0)})])],64)):i(y)==="algolia"?(s(),u(N,{key:1},[o.value?(s(),g(i(n),{key:0,algolia:i(a).search?.options??i(a).algolia,onVnodeBeforeMount:V[2]||(V[2]=M=>r.value=!0)},null,8,["algolia"])):h("",!0),r.value?h("",!0):(s(),u("div",Po,[p(ye,{onClick:d})]))],64)):h("",!0)]))}}),Vo=m({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=$();return(n,a)=>i(t).socialLinks?(s(),g(ge,{key:0,class:"VPNavBarSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),So=_(Vo,[["__scopeId","data-v-0394ad82"]]),To=["href","rel","target"],No=["innerHTML"],Mo={key:2},wo=m({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=$(),{hasSidebar:a}=D(),{currentLang:o}=J(),r=b(()=>typeof n.value.logoLink=="string"?n.value.logoLink:n.value.logoLink?.link),d=b(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.rel),l=b(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.target);return(k,y)=>(s(),u("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(a)}])},[v("a",{class:"title",href:r.value??i(fe)(i(o).link),rel:d.value,target:l.value},[c(k.$slots,"nav-bar-title-before",{},void 0,!0),i(n).logo?(s(),g(Q,{key:0,class:"logo",image:i(n).logo},null,8,["image"])):h("",!0),i(n).siteTitle?(s(),u("span",{key:1,innerHTML:i(n).siteTitle},null,8,No)):i(n).siteTitle===void 0?(s(),u("span",Mo,S(i(t).title),1)):h("",!0),c(k.$slots,"nav-bar-title-after",{},void 0,!0)],8,To)],2))}}),Io=_(wo,[["__scopeId","data-v-1e38c6bc"]]),xo={class:"items"},Ho={class:"title"},Bo=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(),g(ke,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(t).langMenuLabel||"Change language"},{default:f(()=>[v("div",xo,[v("p",Ho,S(i(a).label),1),(s(!0),u(N,null,w(i(n),d=>(s(),g(ne,{key:d.link,item:d,lang:d.lang,dir:d.dir},null,8,["item","lang","dir"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Ao=_(Bo,[["__scopeId","data-v-4c1766e2"]]),Co={class:"wrapper"},Eo={class:"container"},Do={class:"title"},Fo={class:"content"},Oo={class:"content-body"},Go=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:n}=Te(),{isHome:a,hasSidebar:o}=D(),r=L({});return ve(()=>{r.value={"has-sidebar":o.value,home:a.value,top:n.value===0,"screen-open":t.isScreenOpen}}),(d,l)=>(s(),u("div",{class:T(["VPNavBar",r.value])},[v("div",Co,[v("div",Eo,[v("div",Do,[p(Io,null,{"nav-bar-title-before":f(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",Fo,[v("div",Oo,[c(d.$slots,"nav-bar-content-before",{},void 0,!0),p(Lo,{class:"search"}),p(po,{class:"menu"}),p(Ao,{class:"translations"}),p(La,{class:"appearance"}),p(So,{class:"social-links"}),p(so,{class:"extra"}),c(d.$slots,"nav-bar-content-after",{},void 0,!0),p(lo,{class:"hamburger",active:e.isScreenOpen,onClick:l[0]||(l[0]=k=>d.$emit("toggle-screen"))},null,8,["active"])])])])]),l[1]||(l[1]=v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1))],2))}}),Ro=_(Go,[["__scopeId","data-v-70946a35"]]),Uo={key:0,class:"VPNavScreenAppearance"},jo={class:"text"},Wo=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(),u("div",Uo,[v("p",jo,S(i(n).darkModeSwitchLabel||"Appearance"),1),p(me)])):h("",!0)}}),zo=_(Wo,[["__scopeId","data-v-b44890b2"]]),qo=["innerHTML"],Ko=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=b(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),{closeScreen:o}=te(he);return(r,d)=>(s(),g(B,{class:"VPNavScreenMenuLink",href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(o)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,qo)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Jo=_(Ko,[["__scopeId","data-v-7d55a1c1"]]),Yo=["innerHTML"],Qo=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=e,{page:n}=$(),a=b(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),{closeScreen:o}=te(he);return(r,d)=>(s(),g(B,{class:"VPNavScreenMenuGroupLink",href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(o)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Yo)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ce=_(Qo,[["__scopeId","data-v-49e5ec9f"]]),Xo={class:"VPNavScreenMenuGroupSection"},Zo={key:0,class:"title"},es=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(s(),u("div",Xo,[e.text?(s(),u("p",Zo,S(e.text),1)):h("",!0),(s(!0),u(N,null,w(e.items,a=>(s(),g(Ce,{key:a.text,item:a},null,8,["item"]))),128))]))}}),ts=_(es,[["__scopeId","data-v-4b7a798b"]]),ns=["aria-controls","aria-expanded"],as=["innerHTML"],os=["id"],ss={key:0,class:"item"},is={key:1,class:"item"},rs={key:2,class:"group"},ls=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=L(!1),a=b(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(r,d)=>(s(),u("div",{class:T(["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,as),d[0]||(d[0]=v("span",{class:"vpi-plus button-icon"},null,-1))],8,ns),v("div",{id:a.value,class:"items"},[(s(!0),u(N,null,w(e.items,l=>(s(),u(N,{key:JSON.stringify(l)},["link"in l?(s(),u("div",ss,[p(Ce,{item:l},null,8,["item"])])):"component"in l?(s(),u("div",is,[(s(),g(H(l.component),C({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(s(),u("div",rs,[p(ts,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,os)],2))}}),cs=_(ls,[["__scopeId","data-v-956364f9"]]),us={key:0,class:"VPNavScreenMenu"},ds=m({__name:"VPNavScreenMenu",setup(e){const{theme:t}=$();return(n,a)=>i(t).nav?(s(),u("nav",us,[(s(!0),u(N,null,w(i(t).nav,o=>(s(),u(N,{key:JSON.stringify(o)},["link"in o?(s(),g(Jo,{key:0,item:o},null,8,["item"])):"component"in o?(s(),g(H(o.component),C({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(s(),g(cs,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),vs=m({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=$();return(n,a)=>i(t).socialLinks?(s(),g(ge,{key:0,class:"VPNavScreenSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),fs={class:"list"},hs=m({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=J({correspondingLink:!0}),a=L(!1);function o(){a.value=!a.value}return(r,d)=>i(t).length&&i(n).label?(s(),u("div",{key:0,class:T(["VPNavScreenTranslations",{open:a.value}])},[v("button",{class:"title",onClick:o},[d[0]||(d[0]=v("span",{class:"vpi-languages icon lang"},null,-1)),R(" "+S(i(n).label)+" ",1),d[1]||(d[1]=v("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),v("ul",fs,[(s(!0),u(N,null,w(i(t),l=>(s(),u("li",{key:l.link,class:"item"},[p(B,{class:"link",href:l.link,lang:l.lang,dir:l.dir},{default:f(()=>[R(S(l.text),1)]),_:2},1032,["href","lang","dir"])]))),128))])],2)):h("",!0)}}),ms=_(hs,[["__scopeId","data-v-a4d9b172"]]),ps={class:"container"},ks=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=L(null),n=Ne(K?document.body:null);return(a,o)=>(s(),g(ce,{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(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[v("div",ps,[c(a.$slots,"nav-screen-content-before",{},void 0,!0),p(ds,{class:"menu"}),p(ms,{class:"translations"}),p(zo,{class:"appearance"}),p(vs,{class:"social-links"}),c(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),gs=_(ks,[["__scopeId","data-v-f2779853"]]),_s={key:0,class:"VPNav"},bs=m({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=ha(),{frontmatter:o}=$(),r=b(()=>o.value.navbar!==!1);return Me(he,{closeScreen:n}),X(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,l)=>r.value?(s(),u("header",_s,[p(Ro,{"is-screen-open":i(t),onToggleScreen:i(a)},{"nav-bar-title-before":f(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),p(gs,{open:i(t)},{"nav-screen-content-before":f(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),$s=_(bs,[["__scopeId","data-v-da52a441"]]),ys=["role","tabindex"],Ps={key:1,class:"items"},Ls=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:l,toggle:k}=Lt(b(()=>t.item)),y=b(()=>l.value?"section":"div"),P=b(()=>o.value?"a":"div"),V=b(()=>l.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),M=b(()=>o.value?void 0:"button"),I=b(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function x(G){"key"in G&&G.key!=="Enter"||!t.item.link&&k()}function A(){t.item.link&&k()}return(G,F)=>{const z=j("VPSidebarItem",!0);return s(),g(H(y.value),{class:T(["VPSidebarItem",I.value])},{default:f(()=>[e.item.text?(s(),u("div",C({key:0,class:"item",role:M.value},qe(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(),g(B,{key:0,tag:P.value,class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:f(()=>[(s(),g(H(V.value),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(s(),g(H(V.value),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(s(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Ke(A,["enter"]),tabindex:"0"},[...F[0]||(F[0]=[v("span",{class:"vpi-chevron-right caret-icon"},null,-1)])],32)):h("",!0)],16,ys)):h("",!0),e.item.items&&e.item.items.length?(s(),u("div",Ps,[e.depth<5?(s(!0),u(N,{key:0},w(e.item.items,_e=>(s(),g(z,{key:_e.text,item:_e,depth:e.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),Vs=_(Ls,[["__scopeId","data-v-d81de50c"]]),Ss=m({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=L(!0);let n=null;return O(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),Je(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,o)=>(s(!0),u(N,null,w(e.items,r=>(s(),u("div",{key:r.text,class:T(["group",{"no-transition":t.value}])},[p(Vs,{item:r,depth:0},null,8,["item"])],2))),128))}}),Ts=_(Ss,[["__scopeId","data-v-8d50c081"]]),Ns={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Ms=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:n}=D(),a=e,o=L(null),r=Ne(K?document.body:null);E([a,o],()=>{a.open?(r.value=!0,o.value?.focus()):r.value=!1},{immediate:!0,flush:"post"});const d=L(0);return E(t,()=>{d.value+=1},{deep:!0}),(l,k)=>i(n)?(s(),u("aside",{key:0,class:T(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:k[0]||(k[0]=Ye(()=>{},["stop"]))},[k[2]||(k[2]=v("div",{class:"curtain"},null,-1)),v("nav",Ns,[k[1]||(k[1]=v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(l.$slots,"sidebar-nav-before",{},void 0,!0),(s(),g(Ts,{items:i(t),key:d.value},null,8,["items"])),c(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),ws=_(Ms,[["__scopeId","data-v-af661f50"]]),Is={href:"#VPContent",class:"VPSkipLink visually-hidden"},xs=m({__name:"VPSkipLink",setup(e){const{theme:t}=$(),n=ee(),a=L();return E(()=>n.path,()=>a.value.focus()),(o,r)=>(s(),u(N,null,[v("span",{ref_key:"backToTop",ref:a,tabindex:"-1"},null,512),v("a",Is,S(i(t).skipToContentLabel||"Skip to content"),1)],64))}}),Hs=_(xs,[["__scopeId","data-v-331ec75c"]]),Bs=m({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=Pt();Vt({closeSidebar:a});const{frontmatter:o}=$(),r=Qe(),d=b(()=>!!r["home-hero-image"]);return Me(xe,{heroImageSlotExists:d}),(l,k)=>{const y=j("Content");return i(o).layout!==!1?(s(),u("div",{key:0,class:T(["Layout",i(o).pageClass])},[c(l.$slots,"layout-top",{},void 0,!0),p(Hs),p(tt,{class:"backdrop",show:i(t),onClick:i(a)},null,8,["show","onClick"]),p($s,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(fa,{open:i(t),onOpenMenu:i(n)},null,8,["open","onOpenMenu"]),p(ws,{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(Xn,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(aa),c(l.$slots,"layout-bottom",{},void 0,!0)],2)):(s(),g(y,{key:1}))}}}),As=_(Bs,[["__scopeId","data-v-1df9f90f"]]),Es={Layout:As,enhanceApp:({app:e})=>{e.component("Badge",Xe)}};export{Es as t};
@@ -1,4 +1,4 @@
1
- import{_ as s,c as e,o as a,af as t}from"./chunks/framework.DLCvNBTH.js";const c=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"configuration.md","filePath":"configuration.md"}'),n={name:"configuration.md"};function l(o,i,r,p,h,d){return a(),e("div",null,[...i[0]||(i[0]=[t(`<h1 id="configuration" tabindex="-1">Configuration <a class="header-anchor" href="#configuration" aria-label="Permalink to “Configuration”">​</a></h1><p>This page focuses on how to configure the router for local development and production deployments: setting environment variables (<code>.env</code>) and customizing <code>provider.js</code>.</p><h2 id="goals" tabindex="-1">Goals <a class="header-anchor" href="#goals" aria-label="Permalink to “Goals”">​</a></h2><ul><li>Explain which environment variables the project expects and best practices for storing them.</li><li>Show how to author <code>provider.js</code> entries: enabling/disabling providers, ordering (fallback), and useful fields.</li><li>Provide examples for local, staging, and cloud deployments (Render.com, ...).</li><li>Troubleshooting tips when providers fail or models are not found.</li></ul><h2 id="env-environment-variables" tabindex="-1">.env (environment variables) <a class="header-anchor" href="#env-environment-variables" aria-label="Permalink to “.env (environment variables)”">​</a></h2><p>The repository includes a <code>.env.example</code> file with common keys. Copy it to <code>.env</code> and fill the keys for the providers you plan 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>
1
+ import{_ as s,c as e,o as a,ah as t}from"./chunks/framework.Droh-lTM.js";const c=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"configuration.md","filePath":"configuration.md"}'),n={name:"configuration.md"};function l(o,i,r,p,h,d){return a(),e("div",null,[...i[0]||(i[0]=[t(`<h1 id="configuration" tabindex="-1">Configuration <a class="header-anchor" href="#configuration" aria-label="Permalink to “Configuration”">​</a></h1><p>This page focuses on how to configure the router for local development and production deployments: setting environment variables (<code>.env</code>) and customizing <code>provider.js</code>.</p><h2 id="goals" tabindex="-1">Goals <a class="header-anchor" href="#goals" aria-label="Permalink to “Goals”">​</a></h2><ul><li>Explain which environment variables the project expects and best practices for storing them.</li><li>Show how to author <code>provider.js</code> entries: enabling/disabling providers, ordering (fallback), and useful fields.</li><li>Provide examples for local, staging, and cloud deployments (Render.com, ...).</li><li>Troubleshooting tips when providers fail or models are not found.</li></ul><h2 id="env-environment-variables" tabindex="-1">.env (environment variables) <a class="header-anchor" href="#env-environment-variables" aria-label="Permalink to “.env (environment variables)”">​</a></h2><p>The repository includes a <code>.env.example</code> file with common keys. Copy it to <code>.env</code> and fill the keys for the providers you plan 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>
2
2
  <span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># edit .env and paste your API keys</span></span></code></pre></div><h3 id="typical-keys" tabindex="-1">Typical keys <a class="header-anchor" href="#typical-keys" aria-label="Permalink to “Typical keys”">​</a></h3><ul><li><code>OPENAI_API_KEY</code> — OpenAI API key</li><li><code>GEMINI_API_KEY</code> — Google Gemini API key</li><li><code>OPENROUTER_API_KEY</code> — OpenRouter key</li><li><code>COHERE_API_KEY</code>, <code>CEREBRAS_API_KEY</code>, <code>ZAI_API_KEY</code>, <code>GROK_API_KEY</code>, <code>QROQ_API_KEY</code>, <code>LLM7_API_KEY</code> — other providers</li><li><code>PORT</code> — optional, default 3000</li></ul><blockquote><p>Tip: use descriptive names and, when you need multiple keys for the same provider (e.g. multiple OpenRouter accounts), use suffixes like <code>OPENROUTER_API_KEY</code>, <code>OPENROUTER_API_KEY_2</code> and reference them from <code>provider.js</code>.</p></blockquote><h3 id="security-deployment" tabindex="-1">Security &amp; deployment <a class="header-anchor" href="#security-deployment" aria-label="Permalink to “Security &amp; deployment”">​</a></h3><ul><li>Do <strong>not</strong> commit <code>.env</code> to Git. It is in <code>.gitignore</code> by default.</li><li>For cloud deployments, set the same variables in your provider’s environment configuration (Render, etc.).</li><li>Rotate keys regularly and use least-privileged keys where provider supports them.</li></ul><h2 id="provider-js-—-how-it-works" tabindex="-1"><code>provider.js</code> — how it works <a class="header-anchor" href="#provider-js-—-how-it-works" aria-label="Permalink to “provider.js — how it works”">​</a></h2><p><code>provider.js</code> exports an <strong>ordered array</strong> of provider configuration objects. The router will attempt each provider in array order and fall back automatically if one fails.</p><p>Each provider object supports (at minimum) these fields:</p><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</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:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
3
3
  <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> name</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;openai&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// simple identifier for logs/debug</span></span>
4
4
  <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> apiKey</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: process.env.</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">OPENAI_API_KEY</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
@@ -1 +1 @@
1
- import{_ as s,c as e,o as a,af as t}from"./chunks/framework.DLCvNBTH.js";const c=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"configuration.md","filePath":"configuration.md"}'),n={name:"configuration.md"};function l(o,i,r,p,h,d){return a(),e("div",null,[...i[0]||(i[0]=[t("",42)])])}const E=s(n,[["render",l]]);export{c as __pageData,E as default};
1
+ import{_ as s,c as e,o as a,ah as t}from"./chunks/framework.Droh-lTM.js";const c=JSON.parse('{"title":"Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"configuration.md","filePath":"configuration.md"}'),n={name:"configuration.md"};function l(o,i,r,p,h,d){return a(),e("div",null,[...i[0]||(i[0]=[t("",42)])])}const E=s(n,[["render",l]]);export{c as __pageData,E as default};
@@ -1 +1 @@
1
- import{_ as t,c as e,o as a}from"./chunks/framework.DLCvNBTH.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Unified AI Router","text":"A lightweight OpenAI-compatible server in Nodejs","tagline":"OpenAI-compatible endpoints, automatic fallback, streaming support, and tool-calling — all in one lightweight package.","actions":[{"theme":"brand","text":"Quickstart","link":"/quickstart"},{"theme":"alt","text":"Configuration","link":"/configuration"}]},"features":[{"title":"Multi-provider fallback","details":"If one provider fails, requests automatically fall back to the next available provider."},{"title":"Circuit breaker protection","details":"Built-in fault tolerance with automatic circuit breaking for each provider to prevent cascading failures."},{"title":"OpenAI-compatible API","details":"Run a drop-in replacement for the OpenAI chat completion endpoints (streaming & non-streaming)."},{"title":"Tool calling & streaming","details":"Supports tool-calling metadata and SSE streaming to integrate with existing tooling."},{"title":"Easy to self-host","details":"Run locally or deploy to cloud host providers."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(n,l,r,s,c,d){return a(),e("div")}const u=t(i,[["render",o]]);export{m as __pageData,u as default};
1
+ import{_ as t,c as e,o as a}from"./chunks/framework.Droh-lTM.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Unified AI Router","text":"A lightweight OpenAI-compatible server in Nodejs","tagline":"OpenAI-compatible endpoints, automatic fallback, streaming support, and tool-calling — all in one lightweight package.","actions":[{"theme":"brand","text":"Quickstart","link":"/quickstart"},{"theme":"alt","text":"Configuration","link":"/configuration"}]},"features":[{"title":"Multi-provider fallback","details":"If one provider fails, requests automatically fall back to the next available provider."},{"title":"Circuit breaker protection","details":"Built-in fault tolerance with automatic circuit breaking for each provider to prevent cascading failures."},{"title":"OpenAI-compatible API","details":"Run a drop-in replacement for the OpenAI chat completion endpoints (streaming & non-streaming)."},{"title":"Tool calling & streaming","details":"Supports tool-calling metadata and SSE streaming to integrate with existing tooling."},{"title":"Easy to self-host","details":"Run locally or deploy to cloud host providers."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(n,l,r,s,c,d){return a(),e("div")}const u=t(i,[["render",o]]);export{m as __pageData,u as default};
@@ -1 +1 @@
1
- import{_ as t,c as e,o as a}from"./chunks/framework.DLCvNBTH.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Unified AI Router","text":"A lightweight OpenAI-compatible server in Nodejs","tagline":"OpenAI-compatible endpoints, automatic fallback, streaming support, and tool-calling — all in one lightweight package.","actions":[{"theme":"brand","text":"Quickstart","link":"/quickstart"},{"theme":"alt","text":"Configuration","link":"/configuration"}]},"features":[{"title":"Multi-provider fallback","details":"If one provider fails, requests automatically fall back to the next available provider."},{"title":"Circuit breaker protection","details":"Built-in fault tolerance with automatic circuit breaking for each provider to prevent cascading failures."},{"title":"OpenAI-compatible API","details":"Run a drop-in replacement for the OpenAI chat completion endpoints (streaming & non-streaming)."},{"title":"Tool calling & streaming","details":"Supports tool-calling metadata and SSE streaming to integrate with existing tooling."},{"title":"Easy to self-host","details":"Run locally or deploy to cloud host providers."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(n,l,r,s,c,d){return a(),e("div")}const u=t(i,[["render",o]]);export{m as __pageData,u as default};
1
+ import{_ as t,c as e,o as a}from"./chunks/framework.Droh-lTM.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Unified AI Router","text":"A lightweight OpenAI-compatible server in Nodejs","tagline":"OpenAI-compatible endpoints, automatic fallback, streaming support, and tool-calling — all in one lightweight package.","actions":[{"theme":"brand","text":"Quickstart","link":"/quickstart"},{"theme":"alt","text":"Configuration","link":"/configuration"}]},"features":[{"title":"Multi-provider fallback","details":"If one provider fails, requests automatically fall back to the next available provider."},{"title":"Circuit breaker protection","details":"Built-in fault tolerance with automatic circuit breaking for each provider to prevent cascading failures."},{"title":"OpenAI-compatible API","details":"Run a drop-in replacement for the OpenAI chat completion endpoints (streaming & non-streaming)."},{"title":"Tool calling & streaming","details":"Supports tool-calling metadata and SSE streaming to integrate with existing tooling."},{"title":"Easy to self-host","details":"Run locally or deploy to cloud host providers."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),i={name:"index.md"};function o(n,l,r,s,c,d){return a(),e("div")}const u=t(i,[["render",o]]);export{m as __pageData,u as default};