mirror of
https://github.com/HighCapable/KavaRef.git
synced 2025-09-06 02:35:21 +08:00
16 lines
164 KiB
JavaScript
16 lines
164 KiB
JavaScript
function _o(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ke={},on=[],ut=()=>{},Yi=()=>!1,Fn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bo=e=>e.startsWith("onUpdate:"),Oe=Object.assign,yo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qi=Object.prototype.hasOwnProperty,de=(e,t)=>Qi.call(e,t),X=Array.isArray,sn=e=>Lr(e)==="[object Map]",ml=e=>Lr(e)==="[object Set]",se=e=>typeof e=="function",me=e=>typeof e=="string",vn=e=>typeof e=="symbol",xe=e=>e!==null&&typeof e=="object",gl=e=>(xe(e)||se(e))&&se(e.then)&&se(e.catch),vl=Object.prototype.toString,Lr=e=>vl.call(e),Xi=e=>Lr(e).slice(8,-1),_l=e=>Lr(e)==="[object Object]",Eo=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tn=_o(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zi=/-(\w)/g,ft=Tr(e=>e.replace(Zi,(t,n)=>n?n.toUpperCase():"")),ea=/\B([A-Z])/g,Yt=Tr(e=>e.replace(ea,"-$1").toLowerCase()),Sr=Tr(e=>e.charAt(0).toUpperCase()+e.slice(1)),zr=Tr(e=>e?`on${Sr(e)}`:""),Jt=(e,t)=>!Object.is(e,t),Fr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ta=e=>{const t=parseFloat(e);return isNaN(t)?e:t},na=e=>{const t=me(e)?Number(e):NaN;return isNaN(t)?e:t};let es;const to=()=>es||(es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=me(r)?la(r):Bn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(me(e)||xe(e))return e}const ra=/;(?![^(]*\))/g,oa=/:([^]+)/,sa=/\/\*[^]*?\*\//g;function la(e){const t={};return e.replace(sa,"").split(ra).forEach(n=>{if(n){const r=n.split(oa);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function qe(e){let t="";if(me(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=qe(e[n]);r&&(t+=r+" ")}else if(xe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ia="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",aa=_o(ia);function bl(e){return!!e||e===""}const Pe=e=>me(e)?e:e==null?"":X(e)||xe(e)&&(e.toString===vl||!se(e.toString))?JSON.stringify(e,yl,2):String(e),yl=(e,t)=>t&&t.__v_isRef?yl(e,t.value):sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Br(r,s)+" =>"]=o,n),{})}:ml(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Br(n))}:vn(t)?Br(t):xe(t)&&!X(t)&&!_l(t)?String(t):t,Br=(e,t="")=>{var n;return vn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Je;class ca{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Je,!t&&Je&&(this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Je;try{return Je=this,t()}finally{Je=n}}}on(){Je=this}off(){Je=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ua(e,t=Je){t&&t.active&&t.effects.push(e)}function El(){return Je}function fa(e){Je&&Je.cleanups.push(e)}const wo=e=>{const t=new Set(e);return t.w=0,t.n=0,t},wl=e=>(e.w&Ot)>0,kl=e=>(e.n&Ot)>0,da=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ot},ha=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];wl(o)&&!kl(o)?o.delete(e):t[n++]=o,o.w&=~Ot,o.n&=~Ot}t.length=n}},pr=new WeakMap;let Cn=0,Ot=1;const no=30;let rt;const Kt=Symbol(""),ro=Symbol("");class ko{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,ua(this,r)}run(){if(!this.active)return this.fn();let t=rt,n=At;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=rt,rt=this,At=!0,Ot=1<<++Cn,Cn<=no?da(this):ts(this),this.fn()}finally{Cn<=no&&ha(this),Ot=1<<--Cn,rt=this.parent,At=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){rt===this?this.deferStop=!0:this.active&&(ts(this),this.onStop&&this.onStop(),this.active=!1)}}function ts(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let At=!0;const xl=[];function _n(){xl.push(At),At=!1}function bn(){const e=xl.pop();At=e===void 0?!0:e}function We(e,t,n){if(At&&rt){let r=pr.get(e);r||pr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=wo()),Cl(o)}}function Cl(e,t){let n=!1;Cn<=no?kl(e)||(e.n|=Ot,n=!wl(e)):n=!e.has(rt),n&&(e.add(rt),rt.deps.push(e))}function gt(e,t,n,r,o,s){const l=pr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&X(e)){const i=Number(r);l.forEach((c,u)=>{(u==="length"||!vn(u)&&u>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":X(e)?Eo(n)&&a.push(l.get("length")):(a.push(l.get(Kt)),sn(e)&&a.push(l.get(ro)));break;case"delete":X(e)||(a.push(l.get(Kt)),sn(e)&&a.push(l.get(ro)));break;case"set":sn(e)&&a.push(l.get(Kt));break}if(a.length===1)a[0]&&oo(a[0]);else{const i=[];for(const c of a)c&&i.push(...c);oo(wo(i))}}function oo(e,t){const n=X(e)?e:[...e];for(const r of n)r.computed&&ns(r);for(const r of n)r.computed||ns(r)}function ns(e,t){(e!==rt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function pa(e,t){var n;return(n=pr.get(e))==null?void 0:n.get(t)}const ma=_o("__proto__,__v_isRef,__isVue"),Ll=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(vn)),rs=ga();function ga(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=pe(this);for(let s=0,l=this.length;s<l;s++)We(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(pe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){_n();const r=pe(this)[t].apply(this,n);return bn(),r}}),e}function va(e){const t=pe(this);return We(t,"has",e),t.hasOwnProperty(e)}class Tl{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const o=this._isReadonly,s=this._shallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Aa:Pl:s?Al:Rl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=X(t);if(!o){if(l&&de(rs,n))return Reflect.get(rs,n,r);if(n==="hasOwnProperty")return va}const a=Reflect.get(t,n,r);return(vn(n)?Ll.has(n):ma(n))||(o||We(t,"get",n),s)?a:Fe(a)?l&&Eo(n)?a:a.value:xe(a)?o?Vn(a):jn(a):a}}class Sl extends Tl{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._shallow){const i=un(s);if(!mr(r)&&!un(r)&&(s=pe(s),r=pe(r)),!X(t)&&Fe(s)&&!Fe(r))return i?!1:(s.value=r,!0)}const l=X(t)&&Eo(n)?Number(n)<t.length:de(t,n),a=Reflect.set(t,n,r,o);return t===pe(o)&&(l?Jt(r,s)&>(t,"set",n,r):gt(t,"add",n,r)),a}deleteProperty(t,n){const r=de(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&>(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!vn(n)||!Ll.has(n))&&We(t,"has",n),r}ownKeys(t){return We(t,"iterate",X(t)?"length":Kt),Reflect.ownKeys(t)}}class _a extends Tl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ba=new Sl,ya=new _a,Ea=new Sl(!0),xo=e=>e,Rr=e=>Reflect.getPrototypeOf(e);function Qn(e,t,n=!1,r=!1){e=e.__v_raw;const o=pe(e),s=pe(t);n||(Jt(t,s)&&We(o,"get",t),We(o,"get",s));const{has:l}=Rr(o),a=r?xo:n?To:In;if(l.call(o,t))return a(e.get(t));if(l.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Xn(e,t=!1){const n=this.__v_raw,r=pe(n),o=pe(e);return t||(Jt(e,o)&&We(r,"has",e),We(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Zn(e,t=!1){return e=e.__v_raw,!t&&We(pe(e),"iterate",Kt),Reflect.get(e,"size",e)}function os(e){e=pe(e);const t=pe(this);return Rr(t).has.call(t,e)||(t.add(e),gt(t,"add",e,e)),this}function ss(e,t){t=pe(t);const n=pe(this),{has:r,get:o}=Rr(n);let s=r.call(n,e);s||(e=pe(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?Jt(t,l)&>(n,"set",e,t):gt(n,"add",e,t),this}function ls(e){const t=pe(this),{has:n,get:r}=Rr(t);let o=n.call(t,e);o||(e=pe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&>(t,"delete",e,void 0),s}function is(){const e=pe(this),t=e.size!==0,n=e.clear();return t&>(e,"clear",void 0,void 0),n}function er(e,t){return function(r,o){const s=this,l=s.__v_raw,a=pe(l),i=t?xo:e?To:In;return!e&&We(a,"iterate",Kt),l.forEach((c,u)=>r.call(o,i(c),i(u),s))}}function tr(e,t,n){return function(...r){const o=this.__v_raw,s=pe(o),l=sn(s),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),u=n?xo:t?To:In;return!t&&We(s,"iterate",i?ro:Kt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function kt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wa(){const e={get(s){return Qn(this,s)},get size(){return Zn(this)},has:Xn,add:os,set:ss,delete:ls,clear:is,forEach:er(!1,!1)},t={get(s){return Qn(this,s,!1,!0)},get size(){return Zn(this)},has:Xn,add:os,set:ss,delete:ls,clear:is,forEach:er(!1,!0)},n={get(s){return Qn(this,s,!0)},get size(){return Zn(this,!0)},has(s){return Xn.call(this,s,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:er(!0,!1)},r={get(s){return Qn(this,s,!0,!0)},get size(){return Zn(this,!0)},has(s){return Xn.call(this,s,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:er(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=tr(s,!1,!1),n[s]=tr(s,!0,!1),t[s]=tr(s,!1,!0),r[s]=tr(s,!0,!0)}),[e,n,t,r]}const[ka,xa,Ca,La]=wa();function Co(e,t){const n=t?e?La:Ca:e?xa:ka;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(de(n,o)&&o in r?n:r,o,s)}const Ta={get:Co(!1,!1)},Sa={get:Co(!1,!0)},Ra={get:Co(!0,!1)},Rl=new WeakMap,Al=new WeakMap,Pl=new WeakMap,Aa=new WeakMap;function Pa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Oa(e){return e.__v_skip||!Object.isExtensible(e)?0:Pa(Xi(e))}function jn(e){return un(e)?e:Lo(e,!1,ba,Ta,Rl)}function Ol(e){return Lo(e,!1,Ea,Sa,Al)}function Vn(e){return Lo(e,!0,ya,Ra,Pl)}function Lo(e,t,n,r,o){if(!xe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=Oa(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return o.set(e,a),a}function ln(e){return un(e)?ln(e.__v_raw):!!(e&&e.__v_isReactive)}function un(e){return!!(e&&e.__v_isReadonly)}function mr(e){return!!(e&&e.__v_isShallow)}function Il(e){return ln(e)||un(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function $l(e){return hr(e,"__v_skip",!0),e}const In=e=>xe(e)?jn(e):e,To=e=>xe(e)?Vn(e):e;function So(e){At&&rt&&(e=pe(e),Cl(e.dep||(e.dep=wo())))}function Ro(e,t){e=pe(e);const n=e.dep;n&&oo(n)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function ve(e){return Ml(e,!1)}function Ao(e){return Ml(e,!0)}function Ml(e,t){return Fe(e)?e:new Ia(e,t)}class Ia{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:In(t)}get value(){return So(this),this._value}set value(t){const n=this.__v_isShallow||mr(t)||un(t);t=n?t:pe(t),Jt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:In(t),Ro(this))}}function te(e){return Fe(e)?e.value:e}const $a={get:(e,t,n)=>te(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Nl(e){return ln(e)?e:new Proxy(e,$a)}class Ma{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>So(this),()=>Ro(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Na(e){return new Ma(e)}function Ar(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=Ha(e,n);return t}class Da{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return pa(pe(this._object),this._key)}}function Ha(e,t,n){const r=e[t];return Fe(r)?r:new Da(e,t,n)}class za{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ko(t,()=>{this._dirty||(this._dirty=!0,Ro(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=pe(this);return So(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Fa(e,t,n=!1){let r,o;const s=se(e);return s?(r=e,o=ut):(r=e.get,o=e.set),new za(r,o,s||!o,n)}function Pt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Un(s,t,n)}return o}function et(e,t,n,r){if(se(e)){const s=Pt(e,t,n,r);return s&&gl(s)&&s.catch(l=>{Un(l,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(et(e[s],t,n,r));return o}function Un(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const l=t.proxy,a=n;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,l,a)===!1)return}s=s.parent}const i=t.appContext.config.errorHandler;if(i){Pt(i,null,10,[e,l,a]);return}}Ba(e,n,o,r)}function Ba(e,t,n,r=!0){console.error(e)}let $n=!1,so=!1;const ze=[];let ct=0;const an=[];let mt=null,Bt=0;const Dl=Promise.resolve();let Po=null;function Kn(e){const t=Po||Dl;return e?t.then(this?e.bind(this):e):t}function ja(e){let t=ct+1,n=ze.length;for(;t<n;){const r=t+n>>>1,o=ze[r],s=Mn(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Pr(e){(!ze.length||!ze.includes(e,$n&&e.allowRecurse?ct+1:ct))&&(e.id==null?ze.push(e):ze.splice(ja(e.id),0,e),Hl())}function Hl(){!$n&&!so&&(so=!0,Po=Dl.then(zl))}function Va(e){const t=ze.indexOf(e);t>ct&&ze.splice(t,1)}function Ua(e){X(e)?an.push(...e):(!mt||!mt.includes(e,e.allowRecurse?Bt+1:Bt))&&an.push(e),Hl()}function as(e,t,n=$n?ct+1:0){for(;n<ze.length;n++){const r=ze[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ze.splice(n,1),n--,r()}}}function gr(e){if(an.length){const t=[...new Set(an)];if(an.length=0,mt){mt.push(...t);return}for(mt=t,mt.sort((n,r)=>Mn(n)-Mn(r)),Bt=0;Bt<mt.length;Bt++)mt[Bt]();mt=null,Bt=0}}const Mn=e=>e.id==null?1/0:e.id,Ka=(e,t)=>{const n=Mn(e)-Mn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function zl(e){so=!1,$n=!0,ze.sort(Ka);try{for(ct=0;ct<ze.length;ct++){const t=ze[ct];t&&t.active!==!1&&Pt(t,null,14)}}finally{ct=0,ze.length=0,gr(),$n=!1,Po=null,(ze.length||an.length)&&zl()}}function qa(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ke;let o=n;const s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){const u=`${l==="modelValue"?"model":l}Modifiers`,{number:f,trim:d}=r[u]||ke;d&&(o=n.map(m=>me(m)?m.trim():m)),f&&(o=n.map(ta))}let a,i=r[a=zr(t)]||r[a=zr(ft(t))];!i&&s&&(i=r[a=zr(Yt(t))]),i&&et(i,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,et(c,e,6,o)}}function Fl(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},a=!1;if(!se(e)){const i=c=>{const u=Fl(c,t,!0);u&&(a=!0,Oe(l,u))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(xe(e)&&r.set(e,null),null):(X(s)?s.forEach(i=>l[i]=null):Oe(l,s),xe(e)&&r.set(e,l),l)}function Or(e,t){return!e||!Fn(t)?!1:(t=t.slice(2).replace(/Once$/,""),de(e,t[0].toLowerCase()+t.slice(1))||de(e,Yt(t))||de(e,t))}let De=null,Bl=null;function vr(e){const t=De;return De=e,Bl=e&&e.type.__scopeId||null,t}function Ne(e,t=De,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ys(-1);const s=vr(t);let l;try{l=e(...o)}finally{vr(s),r._d&&ys(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function jr(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:a,attrs:i,emit:c,render:u,renderCache:f,data:d,setupState:m,ctx:y,inheritAttrs:w}=e;let C,S;const T=vr(e);try{if(n.shapeFlag&4){const b=o||r,z=b;C=nt(u.call(z,b,f,s,m,d,y)),S=i}else{const b=t;C=nt(b.length>1?b(s,{attrs:i,slots:a,emit:c}):b(s,null)),S=t.props?i:Wa(i)}}catch(b){An.length=0,Un(b,e,1),C=re(Qe)}let v=C;if(S&&w!==!1){const b=Object.keys(S),{shapeFlag:z}=v;b.length&&z&7&&(l&&b.some(bo)&&(S=Ga(S,l)),v=$t(v,S))}return n.dirs&&(v=$t(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),C=v,vr(T),C}const Wa=e=>{let t;for(const n in e)(n==="class"||n==="style"||Fn(n))&&((t||(t={}))[n]=e[n]);return t},Ga=(e,t)=>{const n={};for(const r in e)(!bo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ja(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:a,patchFlag:i}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?cs(r,l,c):!!l;if(i&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(l[d]!==r[d]&&!Or(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===l?!1:r?l?cs(r,l,c):!0:!!l;return!1}function cs(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Or(n,s))return!0}return!1}function Ya({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const jl="components";function bt(e,t){return Xa(jl,e,!0,t)||e}const Qa=Symbol.for("v-ndc");function Xa(e,t,n=!0,r=!1){const o=De||Ae;if(o){const s=o.type;if(e===jl){const a=Vc(s,!1);if(a&&(a===t||a===ft(t)||a===Sr(ft(t))))return s}const l=us(o[e]||s[e],t)||us(o.appContext[e],t);return!l&&r?s:l}}function us(e,t){return e&&(e[t]||e[ft(t)]||e[Sr(ft(t))])}const Za=e=>e.__isSuspense;function Vl(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Ua(e)}function Ul(e,t){return Oo(e,null,t)}const nr={};function Ye(e,t,n){return Oo(e,t,n)}function Oo(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:l}=ke){var a;const i=El()===((a=Ae)==null?void 0:a.scope)?Ae:null;let c,u=!1,f=!1;if(Fe(e)?(c=()=>e.value,u=mr(e)):ln(e)?(c=()=>e,r=!0):X(e)?(f=!0,u=e.some(b=>ln(b)||mr(b)),c=()=>e.map(b=>{if(Fe(b))return b.value;if(ln(b))return Ut(b);if(se(b))return Pt(b,i,2)})):se(e)?t?c=()=>Pt(e,i,2):c=()=>{if(!(i&&i.isUnmounted))return d&&d(),et(e,i,3,[m])}:c=ut,t&&r){const b=c;c=()=>Ut(b())}let d,m=b=>{d=T.onStop=()=>{Pt(b,i,4),d=T.onStop=void 0}},y;if(hn)if(m=ut,t?n&&et(t,i,3,[c(),f?[]:void 0,m]):c(),o==="sync"){const b=qc();y=b.__watcherHandles||(b.__watcherHandles=[])}else return ut;let w=f?new Array(e.length).fill(nr):nr;const C=()=>{if(T.active)if(t){const b=T.run();(r||u||(f?b.some((z,q)=>Jt(z,w[q])):Jt(b,w)))&&(d&&d(),et(t,i,3,[b,w===nr?void 0:f&&w[0]===nr?[]:w,m]),w=b)}else T.run()};C.allowRecurse=!!t;let S;o==="sync"?S=C:o==="post"?S=()=>Ke(C,i&&i.suspense):(C.pre=!0,i&&(C.id=i.uid),S=()=>Pr(C));const T=new ko(c,S);t?n?C():w=T.run():o==="post"?Ke(T.run.bind(T),i&&i.suspense):T.run();const v=()=>{T.stop(),i&&i.scope&&yo(i.scope.effects,T)};return y&&y.push(v),v}function ec(e,t,n){const r=this.proxy,o=me(e)?e.includes(".")?Kl(r,e):()=>r[e]:e.bind(r,r);let s;se(t)?s=t:(s=t.handler,n=t);const l=Ae;dn(this);const a=Oo(o,s.bind(r),n);return l?dn(l):Wt(),a}function Kl(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Ut(e,t){if(!xe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Fe(e))Ut(e.value,t);else if(X(e))for(let n=0;n<e.length;n++)Ut(e[n],t);else if(ml(e)||sn(e))e.forEach(n=>{Ut(n,t)});else if(_l(e))for(const n in e)Ut(e[n],t);return e}function _r(e,t){const n=De;if(n===null)return e;const r=Nr(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[l,a,i,c=ke]=t[s];l&&(se(l)&&(l={mounted:l,updated:l}),l.deep&&Ut(a),o.push({dir:l,instance:r,value:a,oldValue:void 0,arg:i,modifiers:c}))}return e}function at(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l<o.length;l++){const a=o[l];s&&(a.oldValue=s[l].value);let i=a.dir[r];i&&(_n(),et(i,n,8,[e.el,a,e,t]),bn())}}const Tt=Symbol("_leaveCb"),rr=Symbol("_enterCb");function tc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ve(()=>{e.isMounted=!0}),Wn(()=>{e.isUnmounting=!0}),e}const Xe=[Function,Array],ql={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xe,onEnter:Xe,onAfterEnter:Xe,onEnterCancelled:Xe,onBeforeLeave:Xe,onLeave:Xe,onAfterLeave:Xe,onLeaveCancelled:Xe,onBeforeAppear:Xe,onAppear:Xe,onAfterAppear:Xe,onAppearCancelled:Xe},nc={name:"BaseTransition",props:ql,setup(e,{slots:t}){const n=No(),r=tc();let o;return()=>{const s=t.default&&Gl(t.default(),!0);if(!s||!s.length)return;let l=s[0];if(s.length>1){for(const w of s)if(w.type!==Qe){l=w;break}}const a=pe(e),{mode:i}=a;if(r.isLeaving)return Vr(l);const c=fs(l);if(!c)return Vr(l);const u=lo(c,a,r,n);io(c,u);const f=n.subTree,d=f&&fs(f);let m=!1;const{getTransitionKey:y}=c.type;if(y){const w=y();o===void 0?o=w:w!==o&&(o=w,m=!0)}if(d&&d.type!==Qe&&(!jt(c,d)||m)){const w=lo(d,a,r,n);if(io(d,w),i==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Vr(l);i==="in-out"&&c.type!==Qe&&(w.delayLeave=(C,S,T)=>{const v=Wl(r,d);v[String(d.key)]=d,C[Tt]=()=>{S(),C[Tt]=void 0,delete u.delayedLeave},u.delayedLeave=T})}return l}}},rc=nc;function Wl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function lo(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:w,onAppear:C,onAfterAppear:S,onAppearCancelled:T}=t,v=String(e.key),b=Wl(n,e),z=(_,I)=>{_&&et(_,r,9,I)},q=(_,I)=>{const A=I[1];z(_,I),X(_)?_.every(K=>K.length<=1)&&A():_.length<=1&&A()},N={mode:s,persisted:l,beforeEnter(_){let I=a;if(!n.isMounted)if(o)I=w||a;else return;_[Tt]&&_[Tt](!0);const A=b[v];A&&jt(e,A)&&A.el[Tt]&&A.el[Tt](),z(I,[_])},enter(_){let I=i,A=c,K=u;if(!n.isMounted)if(o)I=C||i,A=S||c,K=T||u;else return;let k=!1;const M=_[rr]=ne=>{k||(k=!0,ne?z(K,[_]):z(A,[_]),N.delayedLeave&&N.delayedLeave(),_[rr]=void 0)};I?q(I,[_,M]):M()},leave(_,I){const A=String(e.key);if(_[rr]&&_[rr](!0),n.isUnmounting)return I();z(f,[_]);let K=!1;const k=_[Tt]=M=>{K||(K=!0,I(),M?z(y,[_]):z(m,[_]),_[Tt]=void 0,b[A]===e&&delete b[A])};b[A]=e,d?q(d,[_,k]):k()},clone(_){return lo(_,t,n,r)}};return N}function Vr(e){if(qn(e))return e=$t(e),e.children=null,e}function fs(e){return qn(e)?e.children?e.children[0]:void 0:e}function io(e,t){e.shapeFlag&6&&e.component?io(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 Gl(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let l=e[s];const a=n==null?l.key:String(n)+String(l.key!=null?l.key:s);l.type===we?(l.patchFlag&128&&o++,r=r.concat(Gl(l.children,t,a))):(t||l.type!==Qe)&&r.push(a!=null?$t(l,{key:a}):l)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ue(e,t){return se(e)?Oe({name:e.name},t,{setup:e}):e}const cn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function ye(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:l=!0,onError:a}=e;let i=null,c,u=0;const f=()=>(u++,i=null,d()),d=()=>{let m;return i||(m=i=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),a)return new Promise((w,C)=>{a(y,()=>w(f()),()=>C(y),u+1)});throw y}).then(y=>m!==i&&i?i:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return ue({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const m=Ae;if(c)return()=>Ur(c,m);const y=T=>{i=null,Un(T,m,13,!r)};if(l&&m.suspense||hn)return d().then(T=>()=>Ur(T,m)).catch(T=>(y(T),()=>r?re(r,{error:T}):null));const w=ve(!1),C=ve(),S=ve(!!o);return o&&setTimeout(()=>{S.value=!1},o),s!=null&&setTimeout(()=>{if(!w.value&&!C.value){const T=new Error(`Async component timed out after ${s}ms.`);y(T),C.value=T}},s),d().then(()=>{w.value=!0,m.parent&&qn(m.parent.vnode)&&Pr(m.parent.update)}).catch(T=>{y(T),C.value=T}),()=>{if(w.value&&c)return Ur(c,m);if(C.value&&r)return re(r,{error:C.value});if(n&&!S.value)return re(n)}}})}function Ur(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,l=re(e,r,o);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const qn=e=>e.type.__isKeepAlive;function oc(e,t){Jl(e,"a",t)}function sc(e,t){Jl(e,"da",t)}function Jl(e,t,n=Ae){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ir(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qn(o.parent.vnode)&&lc(r,t,n,o),o=o.parent}}function lc(e,t,n,r){const o=Ir(t,e,r,!0);$r(()=>{yo(r[t],o)},n)}function Ir(e,t,n=Ae,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;_n(),dn(n);const a=et(t,n,e,l);return Wt(),bn(),a});return r?o.unshift(s):o.push(s),s}}const yt=e=>(t,n=Ae)=>(!hn||e==="sp")&&Ir(e,(...r)=>t(...r),n),ic=yt("bm"),Ve=yt("m"),ac=yt("bu"),cc=yt("u"),Wn=yt("bum"),$r=yt("um"),uc=yt("sp"),fc=yt("rtg"),dc=yt("rtc");function hc(e,t=Ae){Ir("ec",e,t)}function It(e,t,n,r){let o;const s=n&&n[r];if(X(e)||me(e)){o=new Array(e.length);for(let l=0,a=e.length;l<a;l++)o[l]=t(e[l],l,void 0,s&&s[l])}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,s&&s[l])}else if(xe(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,s&&s[a]));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,i=l.length;a<i;a++){const c=l[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function Ee(e,t,n={},r,o){if(De.isCE||De.parent&&cn(De.parent)&&De.parent.isCE)return t!=="default"&&(n.name=t),re("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),j();const l=s&&Yl(s(n)),a=Re(we,{key:n.key||l&&l.key||`_${t}`},l||(r?r():[]),l&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function Yl(e){return e.some(t=>wr(t)?!(t.type===Qe||t.type===we&&!Yl(t.children)):!0)?e:null}const ao=e=>e?ai(e)?Nr(e)||e.proxy:ao(e.parent):null,Sn=Oe(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=>ao(e.parent),$root:e=>ao(e.root),$emit:e=>e.emit,$options:e=>Io(e),$forceUpdate:e=>e.f||(e.f=()=>Pr(e.update)),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>ec.bind(e)}),Kr=(e,t)=>e!==ke&&!e.__isScriptSetup&&de(e,t),pc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const m=l[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Kr(r,t))return l[t]=1,r[t];if(o!==ke&&de(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&de(c,t))return l[t]=3,s[t];if(n!==ke&&de(n,t))return l[t]=4,n[t];co&&(l[t]=0)}}const u=Sn[t];let f,d;if(u)return t==="$attrs"&&We(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ke&&de(n,t))return l[t]=4,n[t];if(d=i.config.globalProperties,de(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Kr(o,t)?(o[t]=n,!0):r!==ke&&de(r,t)?(r[t]=n,!0):de(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let a;return!!n[l]||e!==ke&&de(e,l)||Kr(t,l)||(a=s[0])&&de(a,l)||de(r,l)||de(Sn,l)||de(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:de(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ds(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let co=!0;function mc(e){const t=Io(e),n=e.proxy,r=e.ctx;co=!1,t.beforeCreate&&hs(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:a,provide:i,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:y,activated:w,deactivated:C,beforeDestroy:S,beforeUnmount:T,destroyed:v,unmounted:b,render:z,renderTracked:q,renderTriggered:N,errorCaptured:_,serverPrefetch:I,expose:A,inheritAttrs:K,components:k,directives:M,filters:ne}=t;if(c&&gc(c,r,null),l)for(const J in l){const U=l[J];se(U)&&(r[J]=U.bind(n))}if(o){const J=o.call(n,n);xe(J)&&(e.data=jn(J))}if(co=!0,s)for(const J in s){const U=s[J],Ie=se(U)?U.bind(n,n):se(U.get)?U.get.bind(n,n):ut,Me=!se(U)&&se(U.set)?U.set.bind(n):ut,Ue=B({get:Ie,set:Me});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:He=>Ue.value=He})}if(a)for(const J in a)Ql(a[J],r,n,J);if(i){const J=se(i)?i.call(n):i;Reflect.ownKeys(J).forEach(U=>{qt(U,J[U])})}u&&hs(u,e,"c");function O(J,U){X(U)?U.forEach(Ie=>J(Ie.bind(n))):U&&J(U.bind(n))}if(O(ic,f),O(Ve,d),O(ac,m),O(cc,y),O(oc,w),O(sc,C),O(hc,_),O(dc,q),O(fc,N),O(Wn,T),O($r,b),O(uc,I),X(A))if(A.length){const J=e.exposed||(e.exposed={});A.forEach(U=>{Object.defineProperty(J,U,{get:()=>n[U],set:Ie=>n[U]=Ie})})}else e.exposed||(e.exposed={});z&&e.render===ut&&(e.render=z),K!=null&&(e.inheritAttrs=K),k&&(e.components=k),M&&(e.directives=M)}function gc(e,t,n=ut){X(e)&&(e=uo(e));for(const r in e){const o=e[r];let s;xe(o)?"default"in o?s=Te(o.from||r,o.default,!0):s=Te(o.from||r):s=Te(o),Fe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function hs(e,t,n){et(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ql(e,t,n,r){const o=r.includes(".")?Kl(n,r):()=>n[r];if(me(e)){const s=t[e];se(s)&&Ye(o,s)}else if(se(e))Ye(o,e.bind(n));else if(xe(e))if(X(e))e.forEach(s=>Ql(s,t,n,r));else{const s=se(e.handler)?e.handler.bind(n):t[e.handler];se(s)&&Ye(o,s,e)}}function Io(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,a=s.get(t);let i;return a?i=a:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(c=>br(i,c,l,!0)),br(i,t,l)),xe(t)&&s.set(t,i),i}function br(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&br(e,s,n,!0),o&&o.forEach(l=>br(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=vc[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const vc={data:ps,props:ms,emits:ms,methods:Ln,computed:Ln,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Ln,directives:Ln,watch:bc,provide:ps,inject:_c};function ps(e,t){return t?e?function(){return Oe(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function _c(e,t){return Ln(uo(e),uo(t))}function uo(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Ln(e,t){return e?Oe(Object.create(null),e,t):t}function ms(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Oe(Object.create(null),ds(e),ds(t??{})):t}function bc(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const r in t)n[r]=Be(e[r],t[r]);return n}function Xl(){return{app:null,config:{isNativeTag:Yi,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 yc=0;function Ec(e,t){return function(r,o=null){se(r)||(r=Oe({},r)),o!=null&&!xe(o)&&(o=null);const s=Xl(),l=new WeakSet;let a=!1;const i=s.app={_uid:yc++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Wc,get config(){return s.config},set config(c){},use(c,...u){return l.has(c)||(c&&se(c.install)?(l.add(c),c.install(i,...u)):se(c)&&(l.add(c),c(i,...u))),i},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),i},component(c,u){return u?(s.components[c]=u,i):s.components[c]},directive(c,u){return u?(s.directives[c]=u,i):s.directives[c]},mount(c,u,f){if(!a){const d=re(r,o);return d.appContext=s,u&&t?t(d,c):e(d,c,f),a=!0,i._container=c,c.__vue_app__=i,Nr(d.component)||d.component.proxy}},unmount(){a&&(e(null,i._container),delete i._container.__vue_app__)},provide(c,u){return s.provides[c]=u,i},runWithContext(c){yr=i;try{return c()}finally{yr=null}}};return i}}let yr=null;function qt(e,t){if(Ae){let n=Ae.provides;const r=Ae.parent&&Ae.parent.provides;r===n&&(n=Ae.provides=Object.create(r)),n[e]=t}}function Te(e,t,n=!1){const r=Ae||De;if(r||yr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:yr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&se(t)?t.call(r&&r.proxy):t}}function wc(e,t,n,r=!1){const o={},s={};hr(s,Mr,1),e.propsDefaults=Object.create(null),Zl(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:Ol(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function kc(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,a=pe(o),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Or(e.emitsOptions,d))continue;const m=t[d];if(i)if(de(s,d))m!==s[d]&&(s[d]=m,c=!0);else{const y=ft(d);o[y]=fo(i,a,y,m,e,!1)}else m!==s[d]&&(s[d]=m,c=!0)}}}else{Zl(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!de(t,f)&&((u=Yt(f))===f||!de(t,u)))&&(i?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=fo(i,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!de(t,f))&&(delete s[f],c=!0)}c&>(e,"set","$attrs")}function Zl(e,t,n,r){const[o,s]=e.propsOptions;let l=!1,a;if(t)for(let i in t){if(Tn(i))continue;const c=t[i];let u;o&&de(o,u=ft(i))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Or(e.emitsOptions,i)||(!(i in r)||c!==r[i])&&(r[i]=c,l=!0)}if(s){const i=pe(n),c=a||ke;for(let u=0;u<s.length;u++){const f=s[u];n[f]=fo(o,i,f,c[f],e,!de(c,f))}}return l}function fo(e,t,n,r,o,s){const l=e[n];if(l!=null){const a=de(l,"default");if(a&&r===void 0){const i=l.default;if(l.type!==Function&&!l.skipFactory&&se(i)){const{propsDefaults:c}=o;n in c?r=c[n]:(dn(o),r=c[n]=i.call(null,t),Wt())}else r=i}l[0]&&(s&&!a?r=!1:l[1]&&(r===""||r===Yt(n))&&(r=!0))}return r}function ei(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,l={},a=[];let i=!1;if(!se(e)){const u=f=>{i=!0;const[d,m]=ei(f,t,!0);Oe(l,d),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!i)return xe(e)&&r.set(e,on),on;if(X(s))for(let u=0;u<s.length;u++){const f=ft(s[u]);gs(f)&&(l[f]=ke)}else if(s)for(const u in s){const f=ft(u);if(gs(f)){const d=s[u],m=l[f]=X(d)||se(d)?{type:d}:Oe({},d);if(m){const y=bs(Boolean,m.type),w=bs(String,m.type);m[0]=y>-1,m[1]=w<0||y<w,(y>-1||de(m,"default"))&&a.push(f)}}}const c=[l,a];return xe(e)&&r.set(e,c),c}function gs(e){return e[0]!=="$"}function vs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function _s(e,t){return vs(e)===vs(t)}function bs(e,t){return X(t)?t.findIndex(n=>_s(n,e)):se(t)&&_s(t,e)?0:-1}const ti=e=>e[0]==="_"||e==="$stable",$o=e=>X(e)?e.map(nt):[nt(e)],xc=(e,t,n)=>{if(t._n)return t;const r=Ne((...o)=>$o(t(...o)),n);return r._c=!1,r},ni=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ti(o))continue;const s=e[o];if(se(s))t[o]=xc(o,s,r);else if(s!=null){const l=$o(s);t[o]=()=>l}}},ri=(e,t)=>{const n=$o(t);e.slots.default=()=>n},Cc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),hr(t,"_",n)):ni(t,e.slots={})}else e.slots={},t&&ri(e,t);hr(e.slots,Mr,1)},Lc=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=ke;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Oe(o,t),!n&&a===1&&delete o._):(s=!t.$stable,ni(t,o)),l=t}else t&&(ri(e,t),l={default:1});if(s)for(const a in o)!ti(a)&&l[a]==null&&delete o[a]};function Er(e,t,n,r,o=!1){if(X(e)){e.forEach((d,m)=>Er(d,t&&(X(t)?t[m]:t),n,r,o));return}if(cn(r)&&!o)return;const s=r.shapeFlag&4?Nr(r.component)||r.component.proxy:r.el,l=o?null:s,{i:a,r:i}=e,c=t&&t.r,u=a.refs===ke?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==i&&(me(c)?(u[c]=null,de(f,c)&&(f[c]=null)):Fe(c)&&(c.value=null)),se(i))Pt(i,a,12,[l,u]);else{const d=me(i),m=Fe(i);if(d||m){const y=()=>{if(e.f){const w=d?de(f,i)?f[i]:u[i]:i.value;o?X(w)&&yo(w,s):X(w)?w.includes(s)||w.push(s):d?(u[i]=[s],de(f,i)&&(f[i]=u[i])):(i.value=[s],e.k&&(u[e.k]=i.value))}else d?(u[i]=l,de(f,i)&&(f[i]=l)):m&&(i.value=l,e.k&&(u[e.k]=l))};l?(y.id=-1,Ke(y,n)):y()}}}let xt=!1;const or=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",sr=e=>e.nodeType===8;function Tc(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:a,insert:i,createComment:c}}=e,u=(v,b)=>{if(!b.hasChildNodes()){n(null,v,b),gr(),b._vnode=v;return}xt=!1,f(b.firstChild,v,null,null,null),gr(),b._vnode=v,xt&&console.error("Hydration completed but contains mismatches.")},f=(v,b,z,q,N,_=!1)=>{const I=sr(v)&&v.data==="[",A=()=>w(v,b,z,q,N,I),{type:K,ref:k,shapeFlag:M,patchFlag:ne}=b;let le=v.nodeType;b.el=v,ne===-2&&(_=!1,b.dynamicChildren=null);let O=null;switch(K){case fn:le!==3?b.children===""?(i(b.el=o(""),l(v),v),O=v):O=A():(v.data!==b.children&&(xt=!0,v.data=b.children),O=s(v));break;case Qe:T(v)?(O=s(v),S(b.el=v.content.firstChild,v,z)):le!==8||I?O=A():O=s(v);break;case Rn:if(I&&(v=s(v),le=v.nodeType),le===1||le===3){O=v;const J=!b.children.length;for(let U=0;U<b.staticCount;U++)J&&(b.children+=O.nodeType===1?O.outerHTML:O.data),U===b.staticCount-1&&(b.anchor=O),O=s(O);return I?s(O):O}else A();break;case we:I?O=y(v,b,z,q,N,_):O=A();break;default:if(M&1)(le!==1||b.type.toLowerCase()!==v.tagName.toLowerCase())&&!T(v)?O=A():O=d(v,b,z,q,N,_);else if(M&6){b.slotScopeIds=N;const J=l(v);if(I?O=C(v):sr(v)&&v.data==="teleport start"?O=C(v,v.data,"teleport end"):O=s(v),t(b,J,null,z,q,or(J),_),cn(b)){let U;I?(U=re(we),U.anchor=O?O.previousSibling:J.lastChild):U=v.nodeType===3?Mt(""):re("div"),U.el=v,b.component.subTree=U}}else M&64?le!==8?O=A():O=b.type.hydrate(v,b,z,q,N,_,e,m):M&128&&(O=b.type.hydrate(v,b,z,q,or(l(v)),N,_,e,f))}return k!=null&&Er(k,null,q,b),O},d=(v,b,z,q,N,_)=>{_=_||!!b.dynamicChildren;const{type:I,props:A,patchFlag:K,shapeFlag:k,dirs:M,transition:ne}=b,le=I==="input"||I==="option";if(le||K!==-1){M&&at(b,null,z,"created");let O=!1;if(T(v)){O=oi(q,ne)&&z&&z.vnode.props&&z.vnode.props.appear;const U=v.content.firstChild;O&&ne.beforeEnter(U),S(U,v,z),b.el=v=U}if(A)if(le||!_||K&48)for(const U in A)(le&&(U.endsWith("value")||U==="indeterminate")||Fn(U)&&!Tn(U)||U[0]===".")&&r(v,U,null,A[U],!1,void 0,z);else A.onClick&&r(v,"onClick",null,A.onClick,!1,void 0,z);let J;if((J=A&&A.onVnodeBeforeMount)&&Ze(J,z,b),M&&at(b,null,z,"beforeMount"),((J=A&&A.onVnodeMounted)||M||O)&&Vl(()=>{J&&Ze(J,z,b),O&&ne.enter(v),M&&at(b,null,z,"mounted")},q),k&16&&!(A&&(A.innerHTML||A.textContent))){let U=m(v.firstChild,b,v,z,q,N,_);for(;U;){xt=!0;const Ie=U;U=U.nextSibling,a(Ie)}}else k&8&&v.textContent!==b.children&&(xt=!0,v.textContent=b.children)}return v.nextSibling},m=(v,b,z,q,N,_,I)=>{I=I||!!b.dynamicChildren;const A=b.children,K=A.length;for(let k=0;k<K;k++){const M=I?A[k]:A[k]=nt(A[k]);if(v)v=f(v,M,q,N,_,I);else{if(M.type===fn&&!M.children)continue;xt=!0,n(null,M,z,null,q,N,or(z),_)}}return v},y=(v,b,z,q,N,_)=>{const{slotScopeIds:I}=b;I&&(N=N?N.concat(I):I);const A=l(v),K=m(s(v),b,A,z,q,N,_);return K&&sr(K)&&K.data==="]"?s(b.anchor=K):(xt=!0,i(b.anchor=c("]"),A,K),K)},w=(v,b,z,q,N,_)=>{if(xt=!0,b.el=null,_){const K=C(v);for(;;){const k=s(v);if(k&&k!==K)a(k);else break}}const I=s(v),A=l(v);return a(v),n(null,b,A,I,z,q,or(A),N),I},C=(v,b="[",z="]")=>{let q=0;for(;v;)if(v=s(v),v&&sr(v)&&(v.data===b&&q++,v.data===z)){if(q===0)return s(v);q--}return v},S=(v,b,z)=>{const q=b.parentNode;q&&q.replaceChild(v,b);let N=z;for(;N;)N.vnode.el===b&&(N.vnode.el=N.subTree.el=v),N=N.parent},T=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[u,f]}const Ke=Vl;function Sc(e){return Rc(e,Tc)}function Rc(e,t){const n=to();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:l,createText:a,createComment:i,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=ut,insertStaticContent:y}=e,w=(h,p,g,E=null,L=null,R=null,F=!1,$=null,H=!!p.dynamicChildren)=>{if(h===p)return;h&&!jt(h,p)&&(E=x(h),He(h,L,R,!0),h=null),p.patchFlag===-2&&(H=!1,p.dynamicChildren=null);const{type:P,ref:Y,shapeFlag:W}=p;switch(P){case fn:C(h,p,g,E);break;case Qe:S(h,p,g,E);break;case Rn:h==null&&T(p,g,E,F);break;case we:k(h,p,g,E,L,R,F,$,H);break;default:W&1?z(h,p,g,E,L,R,F,$,H):W&6?M(h,p,g,E,L,R,F,$,H):(W&64||W&128)&&P.process(h,p,g,E,L,R,F,$,H,D)}Y!=null&&L&&Er(Y,h&&h.ref,R,p||h,!p)},C=(h,p,g,E)=>{if(h==null)r(p.el=a(p.children),g,E);else{const L=p.el=h.el;p.children!==h.children&&c(L,p.children)}},S=(h,p,g,E)=>{h==null?r(p.el=i(p.children||""),g,E):p.el=h.el},T=(h,p,g,E)=>{[h.el,h.anchor]=y(h.children,p,g,E,h.el,h.anchor)},v=({el:h,anchor:p},g,E)=>{let L;for(;h&&h!==p;)L=d(h),r(h,g,E),h=L;r(p,g,E)},b=({el:h,anchor:p})=>{let g;for(;h&&h!==p;)g=d(h),o(h),h=g;o(p)},z=(h,p,g,E,L,R,F,$,H)=>{F=F||p.type==="svg",h==null?q(p,g,E,L,R,F,$,H):I(h,p,L,R,F,$,H)},q=(h,p,g,E,L,R,F,$)=>{let H,P;const{type:Y,props:W,shapeFlag:Q,transition:oe,dirs:ie}=h;if(H=h.el=l(h.type,R,W&&W.is,W),Q&8?u(H,h.children):Q&16&&_(h.children,H,null,E,L,R&&Y!=="foreignObject",F,$),ie&&at(h,null,E,"created"),N(H,h,h.scopeId,F,E),W){for(const _e in W)_e!=="value"&&!Tn(_e)&&s(H,_e,null,W[_e],R,h.children,E,L,$e);"value"in W&&s(H,"value",null,W.value),(P=W.onVnodeBeforeMount)&&Ze(P,E,h)}ie&&at(h,null,E,"beforeMount");const be=oi(L,oe);be&&oe.beforeEnter(H),r(H,p,g),((P=W&&W.onVnodeMounted)||be||ie)&&Ke(()=>{P&&Ze(P,E,h),be&&oe.enter(H),ie&&at(h,null,E,"mounted")},L)},N=(h,p,g,E,L)=>{if(g&&m(h,g),E)for(let R=0;R<E.length;R++)m(h,E[R]);if(L){let R=L.subTree;if(p===R){const F=L.vnode;N(h,F,F.scopeId,F.slotScopeIds,L.parent)}}},_=(h,p,g,E,L,R,F,$,H=0)=>{for(let P=H;P<h.length;P++){const Y=h[P]=$?St(h[P]):nt(h[P]);w(null,Y,p,g,E,L,R,F,$)}},I=(h,p,g,E,L,R,F)=>{const $=p.el=h.el;let{patchFlag:H,dynamicChildren:P,dirs:Y}=p;H|=h.patchFlag&16;const W=h.props||ke,Q=p.props||ke;let oe;g&&Dt(g,!1),(oe=Q.onVnodeBeforeUpdate)&&Ze(oe,g,p,h),Y&&at(p,h,g,"beforeUpdate"),g&&Dt(g,!0);const ie=L&&p.type!=="foreignObject";if(P?A(h.dynamicChildren,P,$,g,E,ie,R):F||U(h,p,$,null,g,E,ie,R,!1),H>0){if(H&16)K($,p,W,Q,g,E,L);else if(H&2&&W.class!==Q.class&&s($,"class",null,Q.class,L),H&4&&s($,"style",W.style,Q.style,L),H&8){const be=p.dynamicProps;for(let _e=0;_e<be.length;_e++){const Se=be[_e],tt=W[Se],Zt=Q[Se];(Zt!==tt||Se==="value")&&s($,Se,tt,Zt,L,h.children,g,E,$e)}}H&1&&h.children!==p.children&&u($,p.children)}else!F&&P==null&&K($,p,W,Q,g,E,L);((oe=Q.onVnodeUpdated)||Y)&&Ke(()=>{oe&&Ze(oe,g,p,h),Y&&at(p,h,g,"updated")},E)},A=(h,p,g,E,L,R,F)=>{for(let $=0;$<p.length;$++){const H=h[$],P=p[$],Y=H.el&&(H.type===we||!jt(H,P)||H.shapeFlag&70)?f(H.el):g;w(H,P,Y,null,E,L,R,F,!0)}},K=(h,p,g,E,L,R,F)=>{if(g!==E){if(g!==ke)for(const $ in g)!Tn($)&&!($ in E)&&s(h,$,g[$],null,F,p.children,L,R,$e);for(const $ in E){if(Tn($))continue;const H=E[$],P=g[$];H!==P&&$!=="value"&&s(h,$,P,H,F,p.children,L,R,$e)}"value"in E&&s(h,"value",g.value,E.value)}},k=(h,p,g,E,L,R,F,$,H)=>{const P=p.el=h?h.el:a(""),Y=p.anchor=h?h.anchor:a("");let{patchFlag:W,dynamicChildren:Q,slotScopeIds:oe}=p;oe&&($=$?$.concat(oe):oe),h==null?(r(P,g,E),r(Y,g,E),_(p.children,g,Y,L,R,F,$,H)):W>0&&W&64&&Q&&h.dynamicChildren?(A(h.dynamicChildren,Q,g,L,R,F,$),(p.key!=null||L&&p===L.subTree)&&si(h,p,!0)):U(h,p,g,Y,L,R,F,$,H)},M=(h,p,g,E,L,R,F,$,H)=>{p.slotScopeIds=$,h==null?p.shapeFlag&512?L.ctx.activate(p,g,E,F,H):ne(p,g,E,L,R,F,H):le(h,p,H)},ne=(h,p,g,E,L,R,F)=>{const $=h.component=Hc(h,E,L);if(qn(h)&&($.ctx.renderer=D),zc($),$.asyncDep){if(L&&L.registerDep($,O),!h.el){const H=$.subTree=re(Qe);S(null,H,p,g)}return}O($,h,p,g,L,R,F)},le=(h,p,g)=>{const E=p.component=h.component;if(Ja(h,p,g))if(E.asyncDep&&!E.asyncResolved){J(E,p,g);return}else E.next=p,Va(E.update),E.update();else p.el=h.el,E.vnode=p},O=(h,p,g,E,L,R,F)=>{const $=()=>{if(h.isMounted){let{next:Y,bu:W,u:Q,parent:oe,vnode:ie}=h,be=Y,_e;Dt(h,!1),Y?(Y.el=ie.el,J(h,Y,F)):Y=ie,W&&Fr(W),(_e=Y.props&&Y.props.onVnodeBeforeUpdate)&&Ze(_e,oe,Y,ie),Dt(h,!0);const Se=jr(h),tt=h.subTree;h.subTree=Se,w(tt,Se,f(tt.el),x(tt),h,L,R),Y.el=Se.el,be===null&&Ya(h,Se.el),Q&&Ke(Q,L),(_e=Y.props&&Y.props.onVnodeUpdated)&&Ke(()=>Ze(_e,oe,Y,ie),L)}else{let Y;const{el:W,props:Q}=p,{bm:oe,m:ie,parent:be}=h,_e=cn(p);if(Dt(h,!1),oe&&Fr(oe),!_e&&(Y=Q&&Q.onVnodeBeforeMount)&&Ze(Y,be,p),Dt(h,!0),W&&ce){const Se=()=>{h.subTree=jr(h),ce(W,h.subTree,h,L,null)};_e?p.type.__asyncLoader().then(()=>!h.isUnmounted&&Se()):Se()}else{const Se=h.subTree=jr(h);w(null,Se,g,E,h,L,R),p.el=Se.el}if(ie&&Ke(ie,L),!_e&&(Y=Q&&Q.onVnodeMounted)){const Se=p;Ke(()=>Ze(Y,be,Se),L)}(p.shapeFlag&256||be&&cn(be.vnode)&&be.vnode.shapeFlag&256)&&h.a&&Ke(h.a,L),h.isMounted=!0,p=g=E=null}},H=h.effect=new ko($,()=>Pr(P),h.scope),P=h.update=()=>H.run();P.id=h.uid,Dt(h,!0),P()},J=(h,p,g)=>{p.component=h;const E=h.vnode.props;h.vnode=p,h.next=null,kc(h,p.props,E,g),Lc(h,p.children,g),_n(),as(h),bn()},U=(h,p,g,E,L,R,F,$,H=!1)=>{const P=h&&h.children,Y=h?h.shapeFlag:0,W=p.children,{patchFlag:Q,shapeFlag:oe}=p;if(Q>0){if(Q&128){Me(P,W,g,E,L,R,F,$,H);return}else if(Q&256){Ie(P,W,g,E,L,R,F,$,H);return}}oe&8?(Y&16&&$e(P,L,R),W!==P&&u(g,W)):Y&16?oe&16?Me(P,W,g,E,L,R,F,$,H):$e(P,L,R,!0):(Y&8&&u(g,""),oe&16&&_(W,g,E,L,R,F,$,H))},Ie=(h,p,g,E,L,R,F,$,H)=>{h=h||on,p=p||on;const P=h.length,Y=p.length,W=Math.min(P,Y);let Q;for(Q=0;Q<W;Q++){const oe=p[Q]=H?St(p[Q]):nt(p[Q]);w(h[Q],oe,g,null,L,R,F,$,H)}P>Y?$e(h,L,R,!0,!1,W):_(p,g,E,L,R,F,$,H,W)},Me=(h,p,g,E,L,R,F,$,H)=>{let P=0;const Y=p.length;let W=h.length-1,Q=Y-1;for(;P<=W&&P<=Q;){const oe=h[P],ie=p[P]=H?St(p[P]):nt(p[P]);if(jt(oe,ie))w(oe,ie,g,null,L,R,F,$,H);else break;P++}for(;P<=W&&P<=Q;){const oe=h[W],ie=p[Q]=H?St(p[Q]):nt(p[Q]);if(jt(oe,ie))w(oe,ie,g,null,L,R,F,$,H);else break;W--,Q--}if(P>W){if(P<=Q){const oe=Q+1,ie=oe<Y?p[oe].el:E;for(;P<=Q;)w(null,p[P]=H?St(p[P]):nt(p[P]),g,ie,L,R,F,$,H),P++}}else if(P>Q)for(;P<=W;)He(h[P],L,R,!0),P++;else{const oe=P,ie=P,be=new Map;for(P=ie;P<=Q;P++){const Ge=p[P]=H?St(p[P]):nt(p[P]);Ge.key!=null&&be.set(Ge.key,P)}let _e,Se=0;const tt=Q-ie+1;let Zt=!1,Qo=0;const yn=new Array(tt);for(P=0;P<tt;P++)yn[P]=0;for(P=oe;P<=W;P++){const Ge=h[P];if(Se>=tt){He(Ge,L,R,!0);continue}let it;if(Ge.key!=null)it=be.get(Ge.key);else for(_e=ie;_e<=Q;_e++)if(yn[_e-ie]===0&&jt(Ge,p[_e])){it=_e;break}it===void 0?He(Ge,L,R,!0):(yn[it-ie]=P+1,it>=Qo?Qo=it:Zt=!0,w(Ge,p[it],g,null,L,R,F,$,H),Se++)}const Xo=Zt?Ac(yn):on;for(_e=Xo.length-1,P=tt-1;P>=0;P--){const Ge=ie+P,it=p[Ge],Zo=Ge+1<Y?p[Ge+1].el:E;yn[P]===0?w(null,it,g,Zo,L,R,F,$,H):Zt&&(_e<0||P!==Xo[_e]?Ue(it,g,Zo,2):_e--)}}},Ue=(h,p,g,E,L=null)=>{const{el:R,type:F,transition:$,children:H,shapeFlag:P}=h;if(P&6){Ue(h.component.subTree,p,g,E);return}if(P&128){h.suspense.move(p,g,E);return}if(P&64){F.move(h,p,g,D);return}if(F===we){r(R,p,g);for(let W=0;W<H.length;W++)Ue(H[W],p,g,E);r(h.anchor,p,g);return}if(F===Rn){v(h,p,g);return}if(E!==2&&P&1&&$)if(E===0)$.beforeEnter(R),r(R,p,g),Ke(()=>$.enter(R),L);else{const{leave:W,delayLeave:Q,afterLeave:oe}=$,ie=()=>r(R,p,g),be=()=>{W(R,()=>{ie(),oe&&oe()})};Q?Q(R,ie,be):be()}else r(R,p,g)},He=(h,p,g,E=!1,L=!1)=>{const{type:R,props:F,ref:$,children:H,dynamicChildren:P,shapeFlag:Y,patchFlag:W,dirs:Q}=h;if($!=null&&Er($,null,g,h,!0),Y&256){p.ctx.deactivate(h);return}const oe=Y&1&&Q,ie=!cn(h);let be;if(ie&&(be=F&&F.onVnodeBeforeUnmount)&&Ze(be,p,h),Y&6)lt(h.component,g,E);else{if(Y&128){h.suspense.unmount(g,E);return}oe&&at(h,null,p,"beforeUnmount"),Y&64?h.type.remove(h,p,g,L,D,E):P&&(R!==we||W>0&&W&64)?$e(P,p,g,!1,!0):(R===we&&W&384||!L&&Y&16)&&$e(H,p,g),E&&Et(h)}(ie&&(be=F&&F.onVnodeUnmounted)||oe)&&Ke(()=>{be&&Ze(be,p,h),oe&&at(h,null,p,"unmounted")},g)},Et=h=>{const{type:p,el:g,anchor:E,transition:L}=h;if(p===we){wt(g,E);return}if(p===Rn){b(h);return}const R=()=>{o(g),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(h.shapeFlag&1&&L&&!L.persisted){const{leave:F,delayLeave:$}=L,H=()=>F(g,R);$?$(h.el,R,H):H()}else R()},wt=(h,p)=>{let g;for(;h!==p;)g=d(h),o(h),h=g;o(p)},lt=(h,p,g)=>{const{bum:E,scope:L,update:R,subTree:F,um:$}=h;E&&Fr(E),L.stop(),R&&(R.active=!1,He(F,h,p,g)),$&&Ke($,p),Ke(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},$e=(h,p,g,E=!1,L=!1,R=0)=>{for(let F=R;F<h.length;F++)He(h[F],p,g,E,L)},x=h=>h.shapeFlag&6?x(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),V=(h,p,g)=>{h==null?p._vnode&&He(p._vnode,null,null,!0):w(p._vnode||null,h,p,null,null,null,g),as(),gr(),p._vnode=h},D={p:w,um:He,m:Ue,r:Et,mt:ne,mc:_,pc:U,pbc:A,n:x,o:e};let G,ce;return t&&([G,ce]=t(D)),{render:V,hydrate:G,createApp:Ec(V,G)}}function Dt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function oi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function si(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let s=0;s<r.length;s++){const l=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=St(o[s]),a.el=l.el),n||si(l,a)),a.type===fn&&(a.el=l.el)}}function Ac(e){const t=e.slice(),n=[0];let r,o,s,l,a;const i=e.length;for(r=0;r<i;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,l=n.length-1;s<l;)a=s+l>>1,e[n[a]]<c?s=a+1:l=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=t[l];return n}const Pc=e=>e.__isTeleport,we=Symbol.for("v-fgt"),fn=Symbol.for("v-txt"),Qe=Symbol.for("v-cmt"),Rn=Symbol.for("v-stc"),An=[];let ot=null;function j(e=!1){An.push(ot=e?null:[])}function Oc(){An.pop(),ot=An[An.length-1]||null}let Nn=1;function ys(e){Nn+=e}function li(e){return e.dynamicChildren=Nn>0?ot||on:null,Oc(),Nn>0&&ot&&ot.push(e),e}function ee(e,t,n,r,o,s){return li(he(e,t,n,r,o,s,!0))}function Re(e,t,n,r,o){return li(re(e,t,n,r,o,!0))}function wr(e){return e?e.__v_isVNode===!0:!1}function jt(e,t){return e.type===t.type&&e.key===t.key}const Mr="__vInternal",ii=({key:e})=>e??null,fr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?me(e)||Fe(e)||se(e)?{i:De,r:e,k:t,f:!!n}:e:null);function he(e,t=null,n=null,r=0,o=null,s=e===we?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ii(t),ref:t&&fr(t),scopeId:Bl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:De};return a?(Mo(i,n),s&128&&e.normalize(i)):n&&(i.shapeFlag|=me(n)?8:16),Nn>0&&!l&&ot&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&ot.push(i),i}const re=Ic;function Ic(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Qa)&&(e=Qe),wr(e)){const a=$t(e,t,!0);return n&&Mo(a,n),Nn>0&&!s&&ot&&(a.shapeFlag&6?ot[ot.indexOf(e)]=a:ot.push(a)),a.patchFlag|=-2,a}if(Uc(e)&&(e=e.__vccOpts),t){t=$c(t);let{class:a,style:i}=t;a&&!me(a)&&(t.class=qe(a)),xe(i)&&(Il(i)&&!X(i)&&(i=Oe({},i)),t.style=Bn(i))}const l=me(e)?1:Za(e)?128:Pc(e)?64:xe(e)?4:se(e)?2:0;return he(e,t,n,r,o,l,s,!0)}function $c(e){return e?Il(e)||Mr in e?Oe({},e):e:null}function $t(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,a=t?ho(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ii(a),ref:t&&t.ref?n&&o?X(o)?o.concat(fr(t)):[o,fr(t)]:fr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Mt(e=" ",t=0){return re(fn,null,e,t)}function Mc(e,t){const n=re(Rn,null,e);return n.staticCount=t,n}function Le(e="",t=!1){return t?(j(),Re(Qe,null,e)):re(Qe,null,e)}function nt(e){return e==null||typeof e=="boolean"?re(Qe):X(e)?re(we,null,e.slice()):typeof e=="object"?St(e):re(fn,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function Mo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Mo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Mr in t)?t._ctx=De:o===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:De},n=32):(t=String(t),r&64?(n=16,t=[Mt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ho(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=qe([t.class,r.class]));else if(o==="style")t.style=Bn([t.style,r.style]);else if(Fn(o)){const s=t[o],l=r[o];l&&s!==l&&!(X(s)&&s.includes(l))&&(t[o]=s?[].concat(s,l):l)}else o!==""&&(t[o]=r[o])}return t}function Ze(e,t,n,r=null){et(e,t,7,[n,r])}const Nc=Xl();let Dc=0;function Hc(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Nc,s={uid:Dc++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ca(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ei(r,o),emitsOptions:Fl(r,o),emit:null,emitted:null,propsDefaults:ke,inheritAttrs:r.inheritAttrs,ctx:ke,data:ke,props:ke,attrs:ke,slots:ke,refs:ke,setupState:ke,setupContext:null,attrsProxy:null,slotsProxy: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 s.ctx={_:s},s.root=t?t.root:s,s.emit=qa.bind(null,s),e.ce&&e.ce(s),s}let Ae=null;const No=()=>Ae||De;let Do,en,Es="__VUE_INSTANCE_SETTERS__";(en=to()[Es])||(en=to()[Es]=[]),en.push(e=>Ae=e),Do=e=>{en.length>1?en.forEach(t=>t(e)):en[0](e)};const dn=e=>{Do(e),e.scope.on()},Wt=()=>{Ae&&Ae.scope.off(),Do(null)};function ai(e){return e.vnode.shapeFlag&4}let hn=!1;function zc(e,t=!1){hn=t;const{props:n,children:r}=e.vnode,o=ai(e);wc(e,n,o,t),Cc(e,r);const s=o?Fc(e,t):void 0;return hn=!1,s}function Fc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$l(new Proxy(e.ctx,pc));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?jc(e):null;dn(e),_n();const s=Pt(r,e,0,[e.props,o]);if(bn(),Wt(),gl(s)){if(s.then(Wt,Wt),t)return s.then(l=>{ws(e,l,t)}).catch(l=>{Un(l,e,0)});e.asyncDep=s}else ws(e,s,t)}else ci(e,t)}function ws(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:xe(t)&&(e.setupState=Nl(t)),ci(e,n)}let ks;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&ks&&!r.render){const o=r.template||Io(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Oe(Oe({isCustomElement:s,delimiters:a},l),i);r.render=ks(o,c)}}e.render=r.render||ut}{dn(e),_n();try{mc(e)}finally{bn(),Wt()}}}function Bc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return We(e,"get","$attrs"),t[n]}}))}function jc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Bc(e)},slots:e.slots,emit:e.emit,expose:t}}function Nr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Nl($l(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sn)return Sn[n](e)},has(t,n){return n in t||n in Sn}}))}function Vc(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function Uc(e){return se(e)&&"__vccOpts"in e}const B=(e,t)=>Fa(e,t,hn);function ae(e,t,n){const r=arguments.length;return r===2?xe(t)&&!X(t)?wr(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&wr(n)&&(n=[n]),re(e,t,n))}const Kc=Symbol.for("v-scx"),qc=()=>Te(Kc),Wc="3.3.12",Gc="http://www.w3.org/2000/svg",Vt=typeof document<"u"?document:null,xs=Vt&&Vt.createElement("template"),Jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Vt.createElementNS(Gc,e):Vt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Vt.createTextNode(e),createComment:e=>Vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xs.innerHTML=r?`<svg>${e}</svg>`:e;const a=xs.content;if(r){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ct="transition",En="animation",Dn=Symbol("_vtc"),Gn=(e,{slots:t})=>ae(rc,Yc(e),t);Gn.displayName="Transition";const ui={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};Gn.props=Oe({},ql,ui);const Ht=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Cs=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Yc(e){const t={};for(const k in e)k in ui||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,y=Qc(o),w=y&&y[0],C=y&&y[1],{onBeforeEnter:S,onEnter:T,onEnterCancelled:v,onLeave:b,onLeaveCancelled:z,onBeforeAppear:q=S,onAppear:N=T,onAppearCancelled:_=v}=t,I=(k,M,ne)=>{zt(k,M?u:a),zt(k,M?c:l),ne&&ne()},A=(k,M)=>{k._isLeaving=!1,zt(k,f),zt(k,m),zt(k,d),M&&M()},K=k=>(M,ne)=>{const le=k?N:T,O=()=>I(M,k,ne);Ht(le,[M,O]),Ls(()=>{zt(M,k?i:s),Lt(M,k?u:a),Cs(le)||Ts(M,r,w,O)})};return Oe(t,{onBeforeEnter(k){Ht(S,[k]),Lt(k,s),Lt(k,l)},onBeforeAppear(k){Ht(q,[k]),Lt(k,i),Lt(k,c)},onEnter:K(!1),onAppear:K(!0),onLeave(k,M){k._isLeaving=!0;const ne=()=>A(k,M);Lt(k,f),eu(),Lt(k,d),Ls(()=>{k._isLeaving&&(zt(k,f),Lt(k,m),Cs(b)||Ts(k,r,C,ne))}),Ht(b,[k,ne])},onEnterCancelled(k){I(k,!1),Ht(v,[k])},onAppearCancelled(k){I(k,!0),Ht(_,[k])},onLeaveCancelled(k){A(k),Ht(z,[k])}})}function Qc(e){if(e==null)return null;if(xe(e))return[qr(e.enter),qr(e.leave)];{const t=qr(e);return[t,t]}}function qr(e){return na(e)}function Lt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dn]||(e[Dn]=new Set)).add(t)}function zt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Dn];n&&(n.delete(t),n.size||(e[Dn]=void 0))}function Ls(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xc=0;function Ts(e,t,n,r){const o=e._endId=++Xc,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Zc(e,t);if(!l)return r();const c=l+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=m=>{m.target===e&&++u>=i&&f()};setTimeout(()=>{u<i&&f()},a+1),e.addEventListener(c,d)}function Zc(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),o=r(`${Ct}Delay`),s=r(`${Ct}Duration`),l=Ss(o,s),a=r(`${En}Delay`),i=r(`${En}Duration`),c=Ss(a,i);let u=null,f=0,d=0;t===Ct?l>0&&(u=Ct,f=l,d=s.length):t===En?c>0&&(u=En,f=c,d=i.length):(f=Math.max(l,c),u=f>0?l>c?Ct:En:null,d=u?u===Ct?s.length:i.length:0);const m=u===Ct&&/\b(transform|all)(,|$)/.test(r(`${Ct}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:m}}function Ss(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Rs(n)+Rs(e[r])))}function Rs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function eu(){return document.body.offsetHeight}function tu(e,t,n){const r=e[Dn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ho=Symbol("_vod"),kr={beforeMount(e,{value:t},{transition:n}){e[Ho]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wn(e,!0),r.enter(e)):r.leave(e,()=>{wn(e,!1)}):wn(e,t))},beforeUnmount(e,{value:t}){wn(e,t)}};function wn(e,t){e.style.display=t?e[Ho]:"none"}const nu=Symbol("");function ru(e,t,n){const r=e.style,o=me(n);if(n&&!o){if(t&&!me(t))for(const s in t)n[s]==null&&po(r,s,"");for(const s in n)po(r,s,n[s])}else{const s=r.display;if(o){if(t!==n){const l=r[nu];l&&(n+=";"+l),r.cssText=n}}else t&&e.removeAttribute("style");Ho in e&&(r.display=s)}}const As=/\s*!important$/;function po(e,t,n){if(X(n))n.forEach(r=>po(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ou(e,t);As.test(n)?e.setProperty(Yt(r),n.replace(As,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],Wr={};function ou(e,t){const n=Wr[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return Wr[t]=r;r=Sr(r);for(let o=0;o<Ps.length;o++){const s=Ps[o]+r;if(s in e)return Wr[t]=s}return t}const Os="http://www.w3.org/1999/xlink";function su(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Os,t.slice(6,t.length)):e.setAttributeNS(Os,t,n);else{const s=aa(t);n==null||s&&!bl(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function lu(e,t,n,r,o,s,l){if(t==="innerHTML"||t==="textContent"){r&&l(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=bl(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function iu(e,t,n,r){e.addEventListener(t,n,r)}function au(e,t,n,r){e.removeEventListener(t,n,r)}const Is=Symbol("_vei");function cu(e,t,n,r,o=null){const s=e[Is]||(e[Is]={}),l=s[t];if(r&&l)l.value=r;else{const[a,i]=uu(t);if(r){const c=s[t]=hu(r,o);iu(e,a,c,i)}else l&&(au(e,a,l,i),s[t]=void 0)}}const $s=/(?:Once|Passive|Capture)$/;function uu(e){let t;if($s.test(e)){t={};let r;for(;r=e.match($s);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Yt(e.slice(2)),t]}let Gr=0;const fu=Promise.resolve(),du=()=>Gr||(fu.then(()=>Gr=0),Gr=Date.now());function hu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;et(pu(r,n.value),t,5,[r])};return n.value=e,n.attached=du(),n}function pu(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ms=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mu=(e,t,n,r,o=!1,s,l,a,i)=>{t==="class"?tu(e,r,o):t==="style"?ru(e,n,r):Fn(t)?bo(t)||cu(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gu(e,t,r,o))?lu(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),su(e,t,r,o))};function gu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ms(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ms(t)&&me(n)?!1:t in e}const vu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_u=(e,t)=>e._withKeys||(e._withKeys=n=>{if(!("key"in n))return;const r=Yt(n.key);if(t.some(o=>o===r||vu[o]===r))return e(n)}),bu=Oe({patchProp:mu},Jc);let Jr,Ns=!1;function yu(){return Jr=Ns?Jr:Sc(bu),Ns=!0,Jr}const Eu=(...e)=>{const t=yu().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=wu(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function wu(e){return me(e)?document.querySelector(e):e}const ku="modulepreload",xu=function(e){return"/KavaRef/"+e},Ds={},Z=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link");o=Promise.all(n.map(l=>{if(l=xu(l),l in Ds)return;Ds[l]=!0;const a=l.endsWith(".css"),i=a?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const d=s[f];if(d.href===l&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${i}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":ku,a||(u.as="script",u.crossOrigin=""),u.href=l,document.head.appendChild(u),a)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},Cu={"v-8daa1a0e":()=>Z(()=>import("./index.html-Ov_ij_gv.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-2d0a870d":()=>Z(()=>import("./index.html-CFZQ5XVF.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-c0c85b84":()=>Z(()=>import("./index.html-W7aZ6bnM.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-5ba9634b":()=>Z(()=>import("./migration.html-MsUQmaeZ.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-47a14032":()=>Z(()=>import("./processor-resolvers.html-YYDSqVfs.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-29d6c1ba":()=>Z(()=>import("./r8-proguard.html-oPUAmrol.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-7a15fe3b":()=>Z(()=>import("./about.html-9T1xc62o.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-3f851d14":()=>Z(()=>import("./changelog.html-tvXK8X7C.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-193cf592":()=>Z(()=>import("./contacts.html-L9oNW9KK.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-ae7b83f2":()=>Z(()=>import("./future.html-8f4lJIja.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-efb45d4c":()=>Z(()=>import("./home.html-nmYQl1IQ.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-72889797":()=>Z(()=>import("./quick-start.html-Qcmp4XDc.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-5e94983e":()=>Z(()=>import("./kavaref-core.html-Dt130sIh.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-08a07ed6":()=>Z(()=>import("./kavaref-extension.html-T1UdfLZL.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-41967128":()=>Z(()=>import("./about.html-wsvWpCuP.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-0e6c3476":()=>Z(()=>import("./changelog.html-rnn3UCr6.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-6cf86266":()=>Z(()=>import("./contacts.html-yC5Cjm9f.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-3106ca14":()=>Z(()=>import("./future.html-TYRCoFGP.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-6a049e8c":()=>Z(()=>import("./migration.html-c2_NChU1.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-e91e22d4":()=>Z(()=>import("./processor-resolvers.html-LDkOJBjK.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-154d6f69":()=>Z(()=>import("./r8-proguard.html-OS5OKrdo.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-6a609e09":()=>Z(()=>import("./home.html-6hAcbiCY.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-24840ff0":()=>Z(()=>import("./quick-start.html-XeqtvFBe.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-4716962d":()=>Z(()=>import("./kavaref-core.html-Ffv_VDo5.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-caaa4372":()=>Z(()=>import("./kavaref-extension.html-fHAqKHa2.js"),__vite__mapDeps([])).then(({data:e})=>e),"v-3706649a":()=>Z(()=>import("./404.html-6Yl8cQE3.js"),__vite__mapDeps([])).then(({data:e})=>e)},Lu=JSON.parse('{"base":"/KavaRef/","lang":"en-US","title":"KavaRef","description":"A modernizing Java Reflection with Kotlin","head":[["link",{"rel":"icon","href":"/KavaRef/images/logo.svg"}]],"locales":{"/en/":{"lang":"en-US","description":"A modernizing Java Reflection with Kotlin"},"/zh-cn/":{"lang":"zh-CN","description":"一个使用 Kotlin 实现的现代化 Java 反射"}}}');var Tu=([e,t,n])=>e==="meta"&&t.name?`${e}.${t.name}`:["title","base"].includes(e)?e:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,t,n]),Su=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Tu(r);t.has(o)||(t.add(o),n.push(r))}),n},Jn=e=>/^(https?:)?\/\//.test(e),Ru=e=>/^[a-z][a-z0-9+.-]*:/.test(e),zo=e=>Object.prototype.toString.call(e)==="[object Object]",fi=e=>e[e.length-1]==="/"?e.slice(0,-1):e,di=e=>e[0]==="/"?e.slice(1):e,hi=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"};const pi={"v-8daa1a0e":ye(()=>Z(()=>import("./index.html-NhRLIkuI.js"),__vite__mapDeps([]))),"v-2d0a870d":ye(()=>Z(()=>import("./index.html-8K8ZL9xM.js"),__vite__mapDeps([]))),"v-c0c85b84":ye(()=>Z(()=>import("./index.html-5KLsgsb9.js"),__vite__mapDeps([]))),"v-5ba9634b":ye(()=>Z(()=>import("./migration.html-Ye0WsuNZ.js"),__vite__mapDeps([]))),"v-47a14032":ye(()=>Z(()=>import("./processor-resolvers.html-27WP0yfV.js"),__vite__mapDeps([]))),"v-29d6c1ba":ye(()=>Z(()=>import("./r8-proguard.html-dK3W_u38.js"),__vite__mapDeps([]))),"v-7a15fe3b":ye(()=>Z(()=>import("./about.html-GB22dzJZ.js"),__vite__mapDeps([]))),"v-3f851d14":ye(()=>Z(()=>import("./changelog.html-6g49VohJ.js"),__vite__mapDeps([]))),"v-193cf592":ye(()=>Z(()=>import("./contacts.html-8ISTVPQY.js"),__vite__mapDeps([]))),"v-ae7b83f2":ye(()=>Z(()=>import("./future.html-3Px710os.js"),__vite__mapDeps([]))),"v-efb45d4c":ye(()=>Z(()=>import("./home.html-Z0EW9e5o.js"),__vite__mapDeps([]))),"v-72889797":ye(()=>Z(()=>import("./quick-start.html-q_jDDuWq.js"),__vite__mapDeps([]))),"v-5e94983e":ye(()=>Z(()=>import("./kavaref-core.html-tTFO-8Za.js"),__vite__mapDeps([]))),"v-08a07ed6":ye(()=>Z(()=>import("./kavaref-extension.html-IUNV997z.js"),__vite__mapDeps([]))),"v-41967128":ye(()=>Z(()=>import("./about.html-yDUNfYYH.js"),__vite__mapDeps([]))),"v-0e6c3476":ye(()=>Z(()=>import("./changelog.html-vN7TJtDC.js"),__vite__mapDeps([]))),"v-6cf86266":ye(()=>Z(()=>import("./contacts.html-YmutBtVn.js"),__vite__mapDeps([]))),"v-3106ca14":ye(()=>Z(()=>import("./future.html-aZj72rRC.js"),__vite__mapDeps([]))),"v-6a049e8c":ye(()=>Z(()=>import("./migration.html-GY17HjTz.js"),__vite__mapDeps([]))),"v-e91e22d4":ye(()=>Z(()=>import("./processor-resolvers.html-9c-bJv94.js"),__vite__mapDeps([]))),"v-154d6f69":ye(()=>Z(()=>import("./r8-proguard.html-dGWuVyvG.js"),__vite__mapDeps([]))),"v-6a609e09":ye(()=>Z(()=>import("./home.html-ZBkLyAmP.js"),__vite__mapDeps([]))),"v-24840ff0":ye(()=>Z(()=>import("./quick-start.html-URixYC24.js"),__vite__mapDeps([]))),"v-4716962d":ye(()=>Z(()=>import("./kavaref-core.html-4qPYzqqN.js"),__vite__mapDeps([]))),"v-caaa4372":ye(()=>Z(()=>import("./kavaref-extension.html-Is97lgJ-.js"),__vite__mapDeps([]))),"v-3706649a":ye(()=>Z(()=>import("./404.html-QklWHkM6.js"),__vite__mapDeps([])))};var Au=Symbol(""),mi=Symbol(""),Pu=Vn({key:"",path:"",title:"",lang:"",frontmatter:{},headers:[]}),Gt=()=>{const e=Te(mi);if(!e)throw new Error("pageData() is called without provider.");return e},gi=Symbol(""),vt=()=>{const e=Te(gi);if(!e)throw new Error("usePageFrontmatter() is called without provider.");return e},vi=Symbol(""),Ou=()=>{const e=Te(vi);if(!e)throw new Error("usePageHead() is called without provider.");return e},Iu=Symbol(""),_i=Symbol(""),$u=()=>{const e=Te(_i);if(!e)throw new Error("usePageLang() is called without provider.");return e},bi=Symbol(""),Mu=()=>{const e=Te(bi);if(!e)throw new Error("usePageLayout() is called without provider.");return e},Nu=ve(Cu),Fo=Symbol(""),Yn=()=>{const e=Te(Fo);if(!e)throw new Error("useRouteLocale() is called without provider.");return e},rn=ve(Lu),yi=()=>rn,Ei=Symbol(""),Bo=()=>{const e=Te(Ei);if(!e)throw new Error("useSiteLocaleData() is called without provider.");return e},Du=Symbol(""),Hu="Layout",zu="NotFound",ht=jn({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageData:async e=>{const t=Nu.value[e];return await(t==null?void 0:t())??Pu},resolvePageFrontmatter:e=>e.frontmatter,resolvePageHead:(e,t,n)=>{const r=me(t.description)?t.description:n.description,o=[...X(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return Su(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||"en-US",resolvePageLayout:(e,t)=>{let n;if(e.path){const r=e.frontmatter.layout;me(r)?n=r:n=Hu}else n=zu;return t[n]},resolveRouteLocale:(e,t)=>hi(e,t),resolveSiteLocaleData:(e,t)=>({...e,...e.locales[t]})}),jo=ue({name:"ClientOnly",setup(e,t){const n=ve(!1);return Ve(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),Fu=ue({name:"Content",props:{pageKey:{type:String,required:!1,default:""}},setup(e){const t=Gt(),n=B(()=>pi[e.pageKey||t.value.key]);return()=>n.value?ae(n.value):ae("div","404 Not Found")}}),Nt=(e={})=>e,Vo=e=>Jn(e)?e:`/KavaRef/${di(e)}`;function wi(e,t,n){var r,o,s;t===void 0&&(t=50),n===void 0&&(n={});var l=(r=n.isImmediate)!=null&&r,a=(o=n.callback)!=null&&o,i=n.maxWait,c=Date.now(),u=[];function f(){if(i!==void 0){var m=Date.now()-c;if(m+t>=i)return i-m}return t}var d=function(){var m=[].slice.call(arguments),y=this;return new Promise(function(w,C){var S=l&&s===void 0;if(s!==void 0&&clearTimeout(s),s=setTimeout(function(){if(s=void 0,c=Date.now(),!l){var v=e.apply(y,m);a&&a(v),u.forEach(function(b){return(0,b.resolve)(v)}),u=[]}},f()),S){var T=e.apply(y,m);return a&&a(T),w(T)}u.push({resolve:w,reject:C})})};return d.cancel=function(m){s!==void 0&&clearTimeout(s),u.forEach(function(y){return(0,y.reject)(m)}),u=[]},d}/*!
|
|
* vue-router v4.2.5
|
|
* (c) 2023 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const nn=typeof window<"u";function Bu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Yr(e,t){const n={};for(const r in t){const o=t[r];n[r]=st(o)?o.map(e):e(o)}return n}const Pn=()=>{},st=Array.isArray,ju=/\/$/,Vu=e=>e.replace(ju,"");function Qr(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a<i&&a>=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Wu(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:l}}function Uu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hs(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ku(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&pn(t.matched[r],n.matched[o])&&ki(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ki(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qu(e[n],t[n]))return!1;return!0}function qu(e,t){return st(e)?zs(e,t):st(t)?zs(t,e):e===t}function zs(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l<r.length;l++)if(a=r[l],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l-(l===r.length?1:0)).join("/")}var Hn;(function(e){e.pop="pop",e.push="push"})(Hn||(Hn={}));var On;(function(e){e.back="back",e.forward="forward",e.unknown=""})(On||(On={}));function Gu(e){if(!e)if(nn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Vu(e)}const Ju=/^[^#]+#/;function Yu(e,t){return e.replace(Ju,"#")+t}function Qu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Dr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Qu(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Fs(e,t){return(history.state?history.state.position-t:-1)+e}const mo=new Map;function Zu(e,t){mo.set(e,t)}function ef(e){const t=mo.get(e);return mo.delete(e),t}let tf=()=>location.protocol+"//"+location.host;function xi(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),Hs(i,"")}return Hs(n,e)+r+o}function nf(e,t,n,r){let o=[],s=[],l=null;const a=({state:d})=>{const m=xi(e,location),y=n.value,w=t.value;let C=0;if(d){if(n.value=m,t.value=d,l&&l===y){l=null;return}C=w?d.position-w.position:0}else r(m);o.forEach(S=>{S(n.value,y,{delta:C,type:Hn.pop,direction:C?C>0?On.forward:On.back:On.unknown})})};function i(){l=n.value}function c(d){o.push(d);const m=()=>{const y=o.indexOf(d);y>-1&&o.splice(y,1)};return s.push(m),m}function u(){const{history:d}=window;d.state&&d.replaceState(ge({},d.state,{scroll:Dr()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function Bs(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Dr():null}}function rf(e){const{history:t,location:n}=window,r={value:xi(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+i:tf()+e+i;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function l(i,c){const u=ge({},t.state,Bs(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ge({},o.value,t.state,{forward:i,scroll:Dr()});s(u.current,u,!0);const f=ge({},Bs(r.value,i,null),{position:u.position+1},c);s(i,f,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function of(e){e=Gu(e);const t=rf(e),n=nf(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ge({location:"",base:e,go:r,createHref:Yu.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function sf(e){return typeof e=="string"||e&&typeof e=="object"}function Ci(e){return typeof e=="string"||typeof e=="symbol"}const pt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Li=Symbol("");var js;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(js||(js={}));function mn(e,t){return ge(new Error,{type:e,[Li]:!0},t)}function dt(e,t){return e instanceof Error&&Li in e&&(t==null||!!(e.type&t))}const Vs="[^/]+?",lf={sensitive:!1,strict:!1,start:!0,end:!0},af=/[.+*?^${}()[\]/\\]/g;function cf(e,t){const n=ge({},lf,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let m=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(af,"\\$&"),m+=40;else if(d.type===1){const{value:y,repeatable:w,optional:C,regexp:S}=d;s.push({name:y,repeatable:w,optional:C});const T=S||Vs;if(T!==Vs){m+=10;try{new RegExp(`(${T})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${y}" (${T}): `+b.message)}}let v=w?`((?:${T})(?:/(?:${T}))*)`:`(${T})`;f||(v=C&&c.length<2?`(?:/${v})`:"/"+v),C&&(v+="?"),o+=v,m+=20,C&&(m+=-8),w&&(m+=-20),T===".*"&&(m+=-50)}u.push(m)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const l=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(l),f={};if(!u)return null;for(let d=1;d<u.length;d++){const m=u[d]||"",y=s[d-1];f[y.name]=m&&y.repeatable?m.split("/"):m}return f}function i(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const m of d)if(m.type===0)u+=m.value;else if(m.type===1){const{value:y,repeatable:w,optional:C}=m,S=y in c?c[y]:"";if(st(S)&&!w)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const T=st(S)?S.join("/"):S;if(!T)if(C)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${y}"`);u+=T}}return u||"/"}return{re:l,score:r,keys:s,parse:a,stringify:i}}function uf(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function ff(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=uf(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Us(r))return 1;if(Us(o))return-1}return o.length-r.length}function Us(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const df={type:0,value:""},hf=/[a-zA-Z0-9_]/;function pf(e){if(!e)return[[]];if(e==="/")return[[df]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=i}for(;a<e.length;){if(i=e[a++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(c&&f(),l()):i===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:i==="("?n=2:hf.test(i)?d():(f(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--);break;case 2:i===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+i:n=3:u+=i;break;case 3:f(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),l(),o}function mf(e,t,n){const r=cf(pf(e.path),n),o=ge(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function gf(e,t){const n=[],r=new Map;t=Ws({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,f,d){const m=!d,y=vf(u);y.aliasOf=d&&d.record;const w=Ws(t,u),C=[y];if("alias"in u){const v=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of v)C.push(ge({},y,{components:d?d.record.components:y.components,path:b,aliasOf:d?d.record:y}))}let S,T;for(const v of C){const{path:b}=v;if(f&&b[0]!=="/"){const z=f.record.path,q=z[z.length-1]==="/"?"":"/";v.path=f.record.path+(b&&q+b)}if(S=mf(v,f,w),d?d.alias.push(S):(T=T||S,T!==S&&T.alias.push(S),m&&u.name&&!qs(S)&&l(u.name)),y.children){const z=y.children;for(let q=0;q<z.length;q++)s(z[q],S,d&&d.children[q])}d=d||S,(S.record.components&&Object.keys(S.record.components).length||S.record.name||S.record.redirect)&&i(S)}return T?()=>{l(T)}:Pn}function l(u){if(Ci(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(l),f.alias.forEach(l))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let f=0;for(;f<n.length&&ff(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Ti(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!qs(u)&&r.set(u.record.name,u)}function c(u,f){let d,m={},y,w;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw mn(1,{location:u});w=d.record.name,m=ge(Ks(f.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),u.params&&Ks(u.params,d.keys.map(T=>T.name))),y=d.stringify(m)}else if("path"in u)y=u.path,d=n.find(T=>T.re.test(y)),d&&(m=d.parse(y),w=d.record.name);else{if(d=f.name?r.get(f.name):n.find(T=>T.re.test(f.path)),!d)throw mn(1,{location:u,currentLocation:f});w=d.record.name,m=ge({},f.params,u.params),y=d.stringify(m)}const C=[];let S=d;for(;S;)C.unshift(S.record),S=S.parent;return{name:w,path:y,params:m,matched:C,meta:bf(C)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Ks(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function vf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:_f(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function _f(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function qs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bf(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function Ws(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ti(e,t){return t.children.some(n=>n===e||Ti(e,n))}const Si=/#/g,yf=/&/g,Ef=/\//g,wf=/=/g,kf=/\?/g,Ri=/\+/g,xf=/%5B/g,Cf=/%5D/g,Ai=/%5E/g,Lf=/%60/g,Pi=/%7B/g,Tf=/%7C/g,Oi=/%7D/g,Sf=/%20/g;function Uo(e){return encodeURI(""+e).replace(Tf,"|").replace(xf,"[").replace(Cf,"]")}function Rf(e){return Uo(e).replace(Pi,"{").replace(Oi,"}").replace(Ai,"^")}function go(e){return Uo(e).replace(Ri,"%2B").replace(Sf,"+").replace(Si,"%23").replace(yf,"%26").replace(Lf,"`").replace(Pi,"{").replace(Oi,"}").replace(Ai,"^")}function Af(e){return go(e).replace(wf,"%3D")}function Pf(e){return Uo(e).replace(Si,"%23").replace(kf,"%3F")}function Of(e){return e==null?"":Pf(e).replace(Ef,"%2F")}function xr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function If(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Ri," "),l=s.indexOf("="),a=xr(l<0?s:s.slice(0,l)),i=l<0?null:xr(s.slice(l+1));if(a in t){let c=t[a];st(c)||(c=t[a]=[c]),c.push(i)}else t[a]=i}return t}function Gs(e){let t="";for(let n in e){const r=e[n];if(n=Af(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(st(r)?r.map(s=>s&&go(s)):[r&&go(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function $f(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Mf=Symbol(""),Js=Symbol(""),Hr=Symbol(""),Ko=Symbol(""),vo=Symbol("");function kn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rt(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const i=f=>{f===!1?a(mn(4,{from:n,to:t})):f instanceof Error?a(f):sf(f)?a(mn(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),l())},c=e.call(r&&r.instances[o],t,n,i);let u=Promise.resolve(c);e.length<3&&(u=u.then(i)),u.catch(f=>a(f))})}function Xr(e,t,n,r){const o=[];for(const s of e)for(const l in s.components){let a=s.components[l];if(!(t!=="beforeRouteEnter"&&!s.instances[l]))if(Nf(a)){const c=(a.__vccOpts||a)[t];c&&o.push(Rt(c,n,r,s,l))}else{let i=a();o.push(()=>i.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${s.path}"`));const u=Bu(c)?c.default:c;s.components[l]=u;const d=(u.__vccOpts||u)[t];return d&&Rt(d,n,r,s,l)()}))}}return o}function Nf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ys(e){const t=Te(Hr),n=Te(Ko),r=B(()=>t.resolve(te(e.to))),o=B(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(pn.bind(null,u));if(d>-1)return d;const m=Qs(i[c-2]);return c>1&&Qs(u)===m&&f[f.length-1].path!==m?f.findIndex(pn.bind(null,i[c-2])):d}),s=B(()=>o.value>-1&&Ff(n.params,r.value.params)),l=B(()=>o.value>-1&&o.value===n.matched.length-1&&ki(n.params,r.value.params));function a(i={}){return zf(i)?t[te(e.replace)?"replace":"push"](te(e.to)).catch(Pn):Promise.resolve()}return{route:r,href:B(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const Df=ue({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ys,setup(e,{slots:t}){const n=jn(Ys(e)),{options:r}=Te(Hr),o=B(()=>({[Xs(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Xs(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:ae("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Hf=Df;function zf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ff(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!st(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function Qs(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Xs=(e,t,n)=>e??t??n,Bf=ue({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(vo),o=B(()=>e.route||r.value),s=Te(Js,0),l=B(()=>{let c=te(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=B(()=>o.value.matched[l.value]);qt(Js,B(()=>l.value+1)),qt(Mf,a),qt(vo,o);const i=ve();return Ye(()=>[i.value,a.value,e.name],([c,u,f],[d,m,y])=>{u&&(u.instances[f]=c,m&&m!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),c&&u&&(!m||!pn(u,m)||!d)&&(u.enterCallbacks[f]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Zs(n.default,{Component:d,route:c});const m=f.props[u],y=m?m===!0?c.params:typeof m=="function"?m(c):m:null,C=ae(d,ge({},y,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[u]=null)},ref:i}));return Zs(n.default,{Component:C,route:c})||C}}});function Zs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ii=Bf;function jf(e){const t=gf(e.routes,e),n=e.parseQuery||If,r=e.stringifyQuery||Gs,o=e.history,s=kn(),l=kn(),a=kn(),i=Ao(pt);let c=pt;nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Yr.bind(null,x=>""+x),f=Yr.bind(null,Of),d=Yr.bind(null,xr);function m(x,V){let D,G;return Ci(x)?(D=t.getRecordMatcher(x),G=V):G=x,t.addRoute(G,D)}function y(x){const V=t.getRecordMatcher(x);V&&t.removeRoute(V)}function w(){return t.getRoutes().map(x=>x.record)}function C(x){return!!t.getRecordMatcher(x)}function S(x,V){if(V=ge({},V||i.value),typeof x=="string"){const g=Qr(n,x,V.path),E=t.resolve({path:g.path},V),L=o.createHref(g.fullPath);return ge(g,E,{params:d(E.params),hash:xr(g.hash),redirectedFrom:void 0,href:L})}let D;if("path"in x)D=ge({},x,{path:Qr(n,x.path,V.path).path});else{const g=ge({},x.params);for(const E in g)g[E]==null&&delete g[E];D=ge({},x,{params:f(g)}),V.params=f(V.params)}const G=t.resolve(D,V),ce=x.hash||"";G.params=u(d(G.params));const h=Uu(r,ge({},x,{hash:Rf(ce),path:G.path})),p=o.createHref(h);return ge({fullPath:h,hash:ce,query:r===Gs?$f(x.query):x.query||{}},G,{redirectedFrom:void 0,href:p})}function T(x){return typeof x=="string"?Qr(n,x,i.value.path):ge({},x)}function v(x,V){if(c!==x)return mn(8,{from:V,to:x})}function b(x){return N(x)}function z(x){return b(ge(T(x),{replace:!0}))}function q(x){const V=x.matched[x.matched.length-1];if(V&&V.redirect){const{redirect:D}=V;let G=typeof D=="function"?D(x):D;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=T(G):{path:G},G.params={}),ge({query:x.query,hash:x.hash,params:"path"in G?{}:x.params},G)}}function N(x,V){const D=c=S(x),G=i.value,ce=x.state,h=x.force,p=x.replace===!0,g=q(D);if(g)return N(ge(T(g),{state:typeof g=="object"?ge({},ce,g.state):ce,force:h,replace:p}),V||D);const E=D;E.redirectedFrom=V;let L;return!h&&Ku(r,G,D)&&(L=mn(16,{to:E,from:G}),Ue(G,G,!0,!1)),(L?Promise.resolve(L):A(E,G)).catch(R=>dt(R)?dt(R,2)?R:Me(R):U(R,E,G)).then(R=>{if(R){if(dt(R,2))return N(ge({replace:p},T(R.to),{state:typeof R.to=="object"?ge({},ce,R.to.state):ce,force:h}),V||E)}else R=k(E,G,!0,p,ce);return K(E,G,R),R})}function _(x,V){const D=v(x,V);return D?Promise.reject(D):Promise.resolve()}function I(x){const V=wt.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(x):x()}function A(x,V){let D;const[G,ce,h]=Vf(x,V);D=Xr(G.reverse(),"beforeRouteLeave",x,V);for(const g of G)g.leaveGuards.forEach(E=>{D.push(Rt(E,x,V))});const p=_.bind(null,x,V);return D.push(p),$e(D).then(()=>{D=[];for(const g of s.list())D.push(Rt(g,x,V));return D.push(p),$e(D)}).then(()=>{D=Xr(ce,"beforeRouteUpdate",x,V);for(const g of ce)g.updateGuards.forEach(E=>{D.push(Rt(E,x,V))});return D.push(p),$e(D)}).then(()=>{D=[];for(const g of h)if(g.beforeEnter)if(st(g.beforeEnter))for(const E of g.beforeEnter)D.push(Rt(E,x,V));else D.push(Rt(g.beforeEnter,x,V));return D.push(p),$e(D)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),D=Xr(h,"beforeRouteEnter",x,V),D.push(p),$e(D))).then(()=>{D=[];for(const g of l.list())D.push(Rt(g,x,V));return D.push(p),$e(D)}).catch(g=>dt(g,8)?g:Promise.reject(g))}function K(x,V,D){a.list().forEach(G=>I(()=>G(x,V,D)))}function k(x,V,D,G,ce){const h=v(x,V);if(h)return h;const p=V===pt,g=nn?history.state:{};D&&(G||p?o.replace(x.fullPath,ge({scroll:p&&g&&g.scroll},ce)):o.push(x.fullPath,ce)),i.value=x,Ue(x,V,D,p),Me()}let M;function ne(){M||(M=o.listen((x,V,D)=>{if(!lt.listening)return;const G=S(x),ce=q(G);if(ce){N(ge(ce,{replace:!0}),G).catch(Pn);return}c=G;const h=i.value;nn&&Zu(Fs(h.fullPath,D.delta),Dr()),A(G,h).catch(p=>dt(p,12)?p:dt(p,2)?(N(p.to,G).then(g=>{dt(g,20)&&!D.delta&&D.type===Hn.pop&&o.go(-1,!1)}).catch(Pn),Promise.reject()):(D.delta&&o.go(-D.delta,!1),U(p,G,h))).then(p=>{p=p||k(G,h,!1),p&&(D.delta&&!dt(p,8)?o.go(-D.delta,!1):D.type===Hn.pop&&dt(p,20)&&o.go(-1,!1)),K(G,h,p)}).catch(Pn)}))}let le=kn(),O=kn(),J;function U(x,V,D){Me(x);const G=O.list();return G.length?G.forEach(ce=>ce(x,V,D)):console.error(x),Promise.reject(x)}function Ie(){return J&&i.value!==pt?Promise.resolve():new Promise((x,V)=>{le.add([x,V])})}function Me(x){return J||(J=!x,ne(),le.list().forEach(([V,D])=>x?D(x):V()),le.reset()),x}function Ue(x,V,D,G){const{scrollBehavior:ce}=e;if(!nn||!ce)return Promise.resolve();const h=!D&&ef(Fs(x.fullPath,0))||(G||!D)&&history.state&&history.state.scroll||null;return Kn().then(()=>ce(x,V,h)).then(p=>p&&Xu(p)).catch(p=>U(p,x,V))}const He=x=>o.go(x);let Et;const wt=new Set,lt={currentRoute:i,listening:!0,addRoute:m,removeRoute:y,hasRoute:C,getRoutes:w,resolve:S,options:e,push:b,replace:z,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:O.add,isReady:Ie,install(x){const V=this;x.component("RouterLink",Hf),x.component("RouterView",Ii),x.config.globalProperties.$router=V,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>te(i)}),nn&&!Et&&i.value===pt&&(Et=!0,b(o.location).catch(ce=>{}));const D={};for(const ce in pt)Object.defineProperty(D,ce,{get:()=>i.value[ce],enumerable:!0});x.provide(Hr,V),x.provide(Ko,Ol(D)),x.provide(vo,i);const G=x.unmount;wt.add(x),x.unmount=function(){wt.delete(x),wt.size<1&&(c=pt,M&&M(),M=null,i.value=pt,Et=!1,J=!1),G()}}};function $e(x){return x.reduce((V,D)=>V.then(()=>I(D)),Promise.resolve())}return lt}function Vf(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l<s;l++){const a=t.matched[l];a&&(e.matched.find(c=>pn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>pn(c,i))||o.push(i))}return[n,r,o]}function Qt(){return Te(Hr)}function Xt(){return Te(Ko)}const Uf=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Qt(),l=wi(()=>{var w,C;const a=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(a-0)<r){el(o,"");return}const c=window.innerHeight+a,u=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),f=Math.abs(u-c)<r,d=Array.from(document.querySelectorAll(e)),y=Array.from(document.querySelectorAll(t)).filter(S=>d.some(T=>T.hash===S.hash));for(let S=0;S<y.length;S++){const T=y[S],v=y[S+1],b=a>=(((w=T.parentElement)==null?void 0:w.offsetTop)??0)-r,z=!v||a<(((C=v.parentElement)==null?void 0:C.offsetTop)??0)-r;if(!(b&&z))continue;const N=decodeURIComponent(o.currentRoute.value.hash),_=decodeURIComponent(T.hash);if(N===_)return;if(f){for(let I=S+1;I<y.length;I++)if(N===decodeURIComponent(y[I].hash))return}el(o,_);return}},n);Ve(()=>{window.addEventListener("scroll",l)}),Wn(()=>{window.removeEventListener("scroll",l)})},el=async(e,t)=>{const{scrollBehavior:n}=e.options;e.options.scrollBehavior=void 0,await e.replace({query:e.currentRoute.value.query,hash:t}).finally(()=>e.options.scrollBehavior=n)},Kf="a.sidebar-item",qf=".header-anchor",Wf=300,Gf=5,Jf=Nt({setup(){Uf({headerLinkSelector:Kf,headerAnchorSelector:qf,delay:Wf,offset:Gf})}}),tl=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Yf=()=>window.scrollTo({top:0,behavior:"smooth"}),Qf=ue({name:"BackToTop",setup(){const e=ve(0),t=B(()=>e.value>300),n=wi(()=>{e.value=tl()},100);Ve(()=>{e.value=tl(),window.addEventListener("scroll",()=>n())});const r=ae("div",{class:"back-to-top",onClick:Yf});return()=>ae(Gn,{name:"back-to-top"},()=>t.value?r:null)}}),Xf=Nt({rootComponents:[Qf]}),Zf=ae("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[ae("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),ae("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),ed=ue({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Yn(),n=B(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>ae("span",[Zf,ae("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var td={"/en/":{openInNewWindow:"open in new window"},"/zh-cn/":{openInNewWindow:"在新窗口中打开"},"/":{openInNewWindow:"open in new window"}};const nd=td,rd=Nt({enhance({app:e}){e.component("ExternalLinkIcon",ae(ed,{locales:nd}))}});/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lr=function(t){return t.tagName==="IMG"},od=function(t){return NodeList.prototype.isPrototypeOf(t)},dr=function(t){return t&&t.nodeType===1},nl=function(t){var n=t.currentSrc||t.src;return n.substr(-4).toLowerCase()===".svg"},rl=function(t){try{return Array.isArray(t)?t.filter(lr):od(t)?[].slice.call(t).filter(lr):dr(t)?[t].filter(lr):typeof t=="string"?[].slice.call(document.querySelectorAll(t)).filter(lr):[]}catch{throw new TypeError(`The provided selector is invalid.
|
|
Expects a CSS selector, a Node element, a NodeList or an array.
|
|
See: https://github.com/francoischalifour/medium-zoom`)}},sd=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},ld=function(t){var n=t.getBoundingClientRect(),r=n.top,o=n.left,s=n.width,l=n.height,a=t.cloneNode(),i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return a.removeAttribute("id"),a.style.position="absolute",a.style.top=r+i+"px",a.style.left=o+c+"px",a.style.width=s+"px",a.style.height=l+"px",a.style.transform="",a},tn=function(t,n){var r=Ft({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,r);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,r.bubbles,r.cancelable,r.detail),o},id=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(k){function M(){}k(M,M)},o=function(k){var M=k.target;if(M===I){y();return}v.indexOf(M)!==-1&&w({target:M})},s=function(){if(!(z||!_.original)){var k=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(q-k)>N.scrollOffset&&setTimeout(y,150)}},l=function(k){var M=k.key||k.keyCode;(M==="Escape"||M==="Esc"||M===27)&&y()},a=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=k;if(k.background&&(I.style.background=k.background),k.container&&k.container instanceof Object&&(M.container=Ft({},N.container,k.container)),k.template){var ne=dr(k.template)?k.template:document.querySelector(k.template);M.template=ne}return N=Ft({},N,M),v.forEach(function(le){le.dispatchEvent(tn("medium-zoom:update",{detail:{zoom:A}}))}),A},i=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Ft({},N,k))},c=function(){for(var k=arguments.length,M=Array(k),ne=0;ne<k;ne++)M[ne]=arguments[ne];var le=M.reduce(function(O,J){return[].concat(O,rl(J))},[]);return le.filter(function(O){return v.indexOf(O)===-1}).forEach(function(O){v.push(O),O.classList.add("medium-zoom-image")}),b.forEach(function(O){var J=O.type,U=O.listener,Ie=O.options;le.forEach(function(Me){Me.addEventListener(J,U,Ie)})}),A},u=function(){for(var k=arguments.length,M=Array(k),ne=0;ne<k;ne++)M[ne]=arguments[ne];_.zoomed&&y();var le=M.length>0?M.reduce(function(O,J){return[].concat(O,rl(J))},[]):v;return le.forEach(function(O){O.classList.remove("medium-zoom-image"),O.dispatchEvent(tn("medium-zoom:detach",{detail:{zoom:A}}))}),v=v.filter(function(O){return le.indexOf(O)===-1}),A},f=function(k,M){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(le){le.addEventListener("medium-zoom:"+k,M,ne)}),b.push({type:"medium-zoom:"+k,listener:M,options:ne}),A},d=function(k,M){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(le){le.removeEventListener("medium-zoom:"+k,M,ne)}),b=b.filter(function(le){return!(le.type==="medium-zoom:"+k&&le.listener.toString()===M.toString())}),A},m=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=k.target,ne=function(){var O={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},J=void 0,U=void 0;if(N.container)if(N.container instanceof Object)O=Ft({},O,N.container),J=O.width-O.left-O.right-N.margin*2,U=O.height-O.top-O.bottom-N.margin*2;else{var Ie=dr(N.container)?N.container:document.querySelector(N.container),Me=Ie.getBoundingClientRect(),Ue=Me.width,He=Me.height,Et=Me.left,wt=Me.top;O=Ft({},O,{width:Ue,height:He,left:Et,top:wt})}J=J||O.width-N.margin*2,U=U||O.height-N.margin*2;var lt=_.zoomedHd||_.original,$e=nl(lt)?J:lt.naturalWidth||J,x=nl(lt)?U:lt.naturalHeight||U,V=lt.getBoundingClientRect(),D=V.top,G=V.left,ce=V.width,h=V.height,p=Math.min(Math.max(ce,$e),J)/ce,g=Math.min(Math.max(h,x),U)/h,E=Math.min(p,g),L=(-G+(J-ce)/2+N.margin+O.left)/E,R=(-D+(U-h)/2+N.margin+O.top)/E,F="scale("+E+") translate3d("+L+"px, "+R+"px, 0)";_.zoomed.style.transform=F,_.zoomedHd&&(_.zoomedHd.style.transform=F)};return new r(function(le){if(M&&v.indexOf(M)===-1){le(A);return}var O=function Ue(){z=!1,_.zoomed.removeEventListener("transitionend",Ue),_.original.dispatchEvent(tn("medium-zoom:opened",{detail:{zoom:A}})),le(A)};if(_.zoomed){le(A);return}if(M)_.original=M;else if(v.length>0){var J=v;_.original=J[0]}else{le(A);return}if(_.original.dispatchEvent(tn("medium-zoom:open",{detail:{zoom:A}})),q=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,z=!0,_.zoomed=ld(_.original),document.body.appendChild(I),N.template){var U=dr(N.template)?N.template:document.querySelector(N.template);_.template=document.createElement("div"),_.template.appendChild(U.content.cloneNode(!0)),document.body.appendChild(_.template)}if(_.original.parentElement&&_.original.parentElement.tagName==="PICTURE"&&_.original.currentSrc&&(_.zoomed.src=_.original.currentSrc),document.body.appendChild(_.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),_.original.classList.add("medium-zoom-image--hidden"),_.zoomed.classList.add("medium-zoom-image--opened"),_.zoomed.addEventListener("click",y),_.zoomed.addEventListener("transitionend",O),_.original.getAttribute("data-zoom-src")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("srcset"),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading"),_.zoomedHd.src=_.zoomed.getAttribute("data-zoom-src"),_.zoomedHd.onerror=function(){clearInterval(Ie),console.warn("Unable to reach the zoom image target "+_.zoomedHd.src),_.zoomedHd=null,ne()};var Ie=setInterval(function(){_.zoomedHd.complete&&(clearInterval(Ie),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",y),document.body.appendChild(_.zoomedHd),ne())},10)}else if(_.original.hasAttribute("srcset")){_.zoomedHd=_.zoomed.cloneNode(),_.zoomedHd.removeAttribute("sizes"),_.zoomedHd.removeAttribute("loading");var Me=_.zoomedHd.addEventListener("load",function(){_.zoomedHd.removeEventListener("load",Me),_.zoomedHd.classList.add("medium-zoom-image--opened"),_.zoomedHd.addEventListener("click",y),document.body.appendChild(_.zoomedHd),ne()})}else ne()})},y=function(){return new r(function(k){if(z||!_.original){k(A);return}var M=function ne(){_.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(_.zoomed),_.zoomedHd&&document.body.removeChild(_.zoomedHd),document.body.removeChild(I),_.zoomed.classList.remove("medium-zoom-image--opened"),_.template&&document.body.removeChild(_.template),z=!1,_.zoomed.removeEventListener("transitionend",ne),_.original.dispatchEvent(tn("medium-zoom:closed",{detail:{zoom:A}})),_.original=null,_.zoomed=null,_.zoomedHd=null,_.template=null,k(A)};z=!0,document.body.classList.remove("medium-zoom--opened"),_.zoomed.style.transform="",_.zoomedHd&&(_.zoomedHd.style.transform=""),_.template&&(_.template.style.transition="opacity 150ms",_.template.style.opacity=0),_.original.dispatchEvent(tn("medium-zoom:close",{detail:{zoom:A}})),_.zoomed.addEventListener("transitionend",M)})},w=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=k.target;return _.original?y():m({target:M})},C=function(){return N},S=function(){return v},T=function(){return _.original},v=[],b=[],z=!1,q=0,N=n,_={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?N=t:(t||typeof t=="string")&&c(t),N=Ft({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},N);var I=sd(N.background);document.addEventListener("click",o),document.addEventListener("keyup",l),document.addEventListener("scroll",s),window.addEventListener("resize",y);var A={open:m,close:y,toggle:w,update:a,clone:i,attach:c,detach:u,on:f,off:d,getOptions:C,getImages:S,getZoomedImage:T};return A};function ad(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(!e||typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var cd=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";ad(cd);const ud=id,fd=Symbol("mediumZoom");var dd={};const hd=".theme-default-content > img, .theme-default-content :not(a) > img",pd=dd,md=300,gd=Nt({enhance({app:e,router:t}){const n=ud(pd);n.refresh=(r=hd)=>{n.detach(),n.attach(r)},e.provide(fd,n),t.afterEach(()=>{setTimeout(()=>n.refresh(),md)})}});/**
|
|
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
* @license MIT
|
|
*/const fe={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},status:null,set:e=>{const t=fe.isStarted();e=Zr(e,fe.settings.minimum,1),fe.status=e===1?null:e;const n=fe.render(!t),r=n.querySelector(fe.settings.barSelector),o=fe.settings.speed,s=fe.settings.easing;return n.offsetWidth,vd(l=>{ir(r,{transform:"translate3d("+ol(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(ir(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){ir(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){fe.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),fe},isStarted:()=>typeof fe.status=="number",start:()=>{fe.status||fe.set(0);const e=()=>{setTimeout(()=>{fe.status&&(fe.trickle(),e())},fe.settings.trickleSpeed)};return fe.settings.trickle&&e(),fe},done:e=>!e&&!fe.status?fe:fe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=fe.status;return t?(typeof e!="number"&&(e=(1-t)*Zr(Math.random()*t,.1,.95)),t=Zr(t+e,0,.994),fe.set(t)):fe.start()},trickle:()=>fe.inc(Math.random()*fe.settings.trickleRate),render:e=>{if(fe.isRendered())return document.getElementById("nprogress");sl(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=fe.settings.template;const n=t.querySelector(fe.settings.barSelector),r=e?"-100":ol(fe.status||0),o=document.querySelector(fe.settings.parent);return ir(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&sl(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{ll(document.documentElement,"nprogress-busy"),ll(document.querySelector(fe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&_d(e)},isRendered:()=>!!document.getElementById("nprogress")},Zr=(e,t,n)=>e<t?t:e>n?n:e,ol=e=>(-1+e)*100,vd=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),ir=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),$i=(e,t)=>(typeof e=="string"?e:qo(e)).indexOf(" "+t+" ")>=0,sl=(e,t)=>{const n=qo(e),r=n+t;$i(n,t)||(e.className=r.substring(1))},ll=(e,t)=>{const n=qo(e);if(!$i(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},qo=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),_d=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},bd=()=>{Ve(()=>{const e=Qt(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||fe.start()}),e.afterEach(n=>{t.add(n.path),fe.done()})})},yd=Nt({setup(){bd()}}),Ed=JSON.parse(`{"logo":"/images/logo.svg","repo":"https://github.com/HighCapable/KavaRef","docsRepo":"https://github.com/HighCapable/KavaRef","docsBranch":"main","docsDir":"docs-source/src","editLinkPattern":":repo/edit/:branch/:path","sidebar":{"/en/":[{"text":"Get Started","collapsible":true,"children":["/en/guide/home","/en/guide/quick-start"]},{"text":"Libraries","collapsible":true,"children":["/en/library/kavaref-core","/en/library/kavaref-extension"]},{"text":"Configs","collapsible":true,"children":["/en/config/r8-proguard","/en/config/processor-resolvers","/en/config/migration"]},{"text":"About","collapsible":true,"children":["/en/about/changelog","/en/about/future","/en/about/contacts","/en/about/about"]}],"/zh-cn/":[{"text":"入门","collapsible":true,"children":["/zh-cn/guide/home","/zh-cn/guide/quick-start"]},{"text":"依赖","collapsible":true,"children":["/zh-cn/library/kavaref-core","/zh-cn/library/kavaref-extension"]},{"text":"配置","collapsible":true,"children":["/zh-cn/config/r8-proguard","/zh-cn/config/processor-resolvers","/zh-cn/config/migration"]},{"text":"关于","collapsible":true,"children":["/zh-cn/about/changelog","/zh-cn/about/future","/zh-cn/about/contacts","/zh-cn/about/about"]}]},"sidebarDepth":2,"locales":{"/en/":{"navbar":[{"text":"Navigation","children":[{"text":"Get Started","children":["/en/guide/home","/en/guide/quick-start"]},{"text":"Libraries","children":["/en/library/kavaref-core","/en/library/kavaref-extension"]},{"text":"Configs","children":["/en/config/r8-proguard","/en/config/processor-resolvers","/en/config/migration"]},{"text":"About","children":["/en/about/changelog","/en/about/future","/en/about/contacts","/en/about/about"]}]},{"text":"Contact Us","link":"/en/about/contacts"}],"selectLanguageText":"English (US)","selectLanguageName":"English","editLinkText":"Edit this page on GitHub","tip":"Tips","warning":"Notice","danger":"Pay Attention"},"/zh-cn/":{"navbar":[{"text":"导航","children":[{"text":"入门","children":["/zh-cn/guide/home","/zh-cn/guide/quick-start"]},{"text":"依赖","children":["/zh-cn/library/kavaref-core","/zh-cn/library/kavaref-extension"]},{"text":"配置","children":["/zh-cn/config/r8-proguard","/zh-cn/config/processor-resolvers","/zh-cn/config/migration"]},{"text":"关于","children":["/zh-cn/about/changelog","/zh-cn/about/future","/zh-cn/about/contacts","/zh-cn/about/about"]}]},{"text":"联系我们","link":"/zh-cn/about/contacts"}],"selectLanguageText":"简体中文 (CN)","selectLanguageName":"简体中文","editLinkText":"在 GitHub 上编辑此页","notFound":["这里什么都没有","我们怎么到这来了?","这是一个 404 页面","看起来我们进入了错误的链接"],"backToHome":"回到首页","contributorsText":"贡献者","lastUpdatedText":"上次更新","tip":"小提示","warning":"注意","danger":"特别注意","openInNewWindow":"在新窗口中打开","toggleColorMode":"切换颜色模式"},"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"navbar":[],"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),wd=ve(Ed),Mi=()=>wd,Ni=Symbol(""),kd=()=>{const e=Te(Ni);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},xd=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},Cd=Nt({enhance({app:e}){const t=Mi(),n=e._context.provides[Fo],r=B(()=>xd(t.value,n.value));e.provide(Ni,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}}),Ld=ue({__name:"Badge",props:{type:{type:String,required:!1,default:"tip"},text:{type:String,required:!1,default:""},vertical:{type:String,required:!1,default:void 0}},setup(e){return(t,n)=>(j(),ee("span",{class:qe(["badge",e.type]),style:Bn({verticalAlign:e.vertical})},[Ee(t.$slots,"default",{},()=>[Mt(Pe(e.text),1)])],6))}}),Ce=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Td=Ce(Ld,[["__file","Badge.vue"]]);function il(e,t){var n;const r=Ao();return Ul(()=>{r.value=e()},{...t,flush:(n=t==null?void 0:t.flush)!=null?n:"sync"}),Vn(r)}function Sd(e,t){let n,r,o;const s=ve(!0),l=()=>{s.value=!0,o()};Ye(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Na((u,f)=>(r=u,o=f,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){i==null||i(d)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Di(e){return El()?(fa(e),!0):!1}function gn(e){return typeof e=="function"?e():te(e)}const Rd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ad=Object.prototype.toString,Pd=e=>Ad.call(e)==="[object Object]",Od=()=>{};function Id(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const Hi=e=>e();function $d(e=Hi){const t=ve(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Vn(t),pause:n,resume:r,eventFilter:o}}function Md(e){return e||No()}function Nd(e,t,n={}){const{eventFilter:r=Hi,...o}=n;return Ye(e,Id(r,t),o)}function Dd(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=$d(r);return{stop:Nd(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function Hd(e,t=!0,n){const r=Md(n);r?Ve(e,r):t?e():Kn(e)}function zd(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Fe(e),s=ve(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=gn(n);return s.value=s.value===i?gn(r):i,s.value}}return o?l:[s,l]}function Fd(e){var t;const n=gn(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Cr=Rd?window:void 0;function al(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Cr):[t,n,r,o]=e,!t)return Od;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,m)=>(u.addEventListener(f,d,m),()=>u.removeEventListener(f,d,m)),i=Ye(()=>[Fd(t),gn(o)],([u,f])=>{if(l(),!u)return;const d=Pd(f)?{...f}:f;s.push(...n.flatMap(m=>r.map(y=>a(u,m,y,d))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Di(c),c}function Bd(){const e=ve(!1);return No()&&Ve(()=>{e.value=!0}),e}function jd(e){const t=Bd();return B(()=>(t.value,!!e()))}function Vd(e,t={}){const{window:n=Cr}=t,r=jd(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=ve(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=Ul(()=>{r.value&&(a(),o=n.matchMedia(gn(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Di(()=>{i(),a(),o=void 0}),s}const ar=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cr="__vueuse_ssr_handlers__",Ud=Kd();function Kd(){return cr in ar||(ar[cr]=ar[cr]||{}),ar[cr]}function qd(e,t){return Ud[e]||t}function Wd(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 Gd={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()}},cl="vueuse-storage";function zi(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:f=Cr,eventFilter:d,onError:m=I=>{console.error(I)},initOnMounted:y}=r,w=(u?Ao:ve)(typeof t=="function"?t():t);if(!n)try{n=qd("getDefaultStorage",()=>{var I;return(I=Cr)==null?void 0:I.localStorage})()}catch(I){m(I)}if(!n)return w;const C=gn(t),S=Wd(C),T=(o=r.serializer)!=null?o:Gd[S],{pause:v,resume:b}=Dd(w,()=>z(w.value),{flush:s,deep:l,eventFilter:d});return f&&a&&Hd(()=>{al(f,"storage",_),al(f,cl,N),y&&_()}),y||_(),w;function z(I){try{if(I==null)n.removeItem(e);else{const A=T.write(I),K=n.getItem(e);K!==A&&(n.setItem(e,A),f&&f.dispatchEvent(new CustomEvent(cl,{detail:{key:e,oldValue:K,newValue:A,storageArea:n}})))}}catch(A){m(A)}}function q(I){const A=I?I.newValue:n.getItem(e);if(A==null)return i&&C!=null&&n.setItem(e,T.write(C)),C;if(!I&&c){const K=T.read(A);return typeof c=="function"?c(K,C):S==="object"&&!Array.isArray(K)?{...C,...K}:K}else return typeof A!="string"?A:T.read(A)}function N(I){_(I.detail)}function _(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){w.value=C;return}if(!(I&&I.key!==e)){v();try{(I==null?void 0:I.newValue)!==T.write(w.value)&&(w.value=q(I))}catch(A){m(A)}finally{I?Kn(b):b()}}}}}function Jd(e){return Vd("(prefers-color-scheme: dark)",e)}const Yd=ue({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=ve([]),r=ve(-1),o=zi("vuepress-code-group",{}),s=B(()=>n.value.map(c=>c.innerText).join(","));Ve(()=>{Ye(()=>o.value[s.value],(c=-1)=>{r.value!==c&&(r.value=c)},{immediate:!0}),Ye(r,c=>{o.value[s.value]!==c&&(o.value[s.value]=c)})});const l=(c=r.value)=>{c<n.value.length-1?r.value=c+1:r.value=0,n.value[r.value].focus()},a=(c=r.value)=>{c>0?r.value=c-1:r.value=n.value.length-1,n.value[r.value].focus()},i=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),r.value=u):c.key==="ArrowRight"?(c.preventDefault(),l(u)):c.key==="ArrowLeft"&&(c.preventDefault(),a(u))};return()=>{var u;const c=(((u=t.default)==null?void 0:u.call(t))||[]).filter(f=>f.type.name==="CodeGroupItem").map(f=>(f.props===null&&(f.props={}),f));return c.length===0?null:(r.value<0||r.value>c.length-1?(r.value=c.findIndex(f=>f.props.active===""||f.props.active===!0),r.value===-1&&(r.value=0)):c.forEach((f,d)=>{f.props.active=d===r.value}),ae("div",{class:"code-group"},[ae("div",{class:"code-group__nav"},ae("ul",{class:"code-group__ul"},c.map((f,d)=>{const m=d===r.value;return ae("li",{class:"code-group__li"},ae("button",{ref:y=>{y&&(n.value[d]=y)},class:{"code-group__nav-tab":!0,"code-group__nav-tab-active":m},ariaPressed:m,ariaExpanded:m,onClick:()=>r.value=d,onKeydown:y=>i(y,d)},f.props.title))}))),c]))}}}),Qd=["aria-selected"],Xd=ue({name:"CodeGroupItem"}),Zd=ue({...Xd,props:{title:{type:String,required:!0},active:{type:Boolean,required:!1,default:!1}},setup(e){return(t,n)=>(j(),ee("div",{class:qe(["code-group-item",{"code-group-item__active":e.active}]),"aria-selected":e.active},[Ee(t.$slots,"default")],10,Qd))}}),eh=Ce(Zd,[["__file","CodeGroupItem.vue"]]),th=()=>Mi(),je=()=>kd(),Fi=Symbol(""),Wo=()=>{const e=Te(Fi);if(!e)throw new Error("useDarkMode() is called without provider.");return e},nh=()=>{const e=je(),t=Jd(),n=zi("vuepress-color-scheme",e.value.colorMode),r=B({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});qt(Fi,r),rh(r)},rh=e=>{const t=(n=e.value)=>{const r=window==null?void 0:window.document.querySelector("html");r==null||r.classList.toggle("dark",n)};Ve(()=>{Ye(e,t,{immediate:!0})}),$r(()=>t())},Bi=(...e)=>{const n=Qt().resolve(...e),r=n.matched[n.matched.length-1];if(!(r!=null&&r.redirect))return n;const{redirect:o}=r,s=se(o)?o(n):o,l=me(s)?{path:s}:s;return Bi({hash:n.hash,query:n.query,params:n.params,...l})},Go=e=>{const t=Bi(encodeURI(e));return{text:t.meta.title||e,link:t.name==="404"?e:t.fullPath}};let eo=null,xn=null;const oh={wait:()=>eo,pending:()=>{eo=new Promise(e=>xn=e)},resolve:()=>{xn==null||xn(),eo=null,xn=null}},ji=()=>oh,Vi=Symbol("sidebarItems"),Jo=()=>{const e=Te(Vi);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},sh=()=>{const e=je(),t=vt(),n=B(()=>lh(t.value,e.value));qt(Vi,n)},lh=(e,t)=>{const n=e.sidebar??t.sidebar??"auto",r=e.sidebarDepth??t.sidebarDepth??2;return e.home||n===!1?[]:n==="auto"?ah(r):X(n)?Ui(n,r):zo(n)?ch(n,r):[]},ih=(e,t)=>({text:e.title,link:e.link,children:Yo(e.children,t)}),Yo=(e,t)=>t>0?e.map(n=>ih(n,t-1)):[],ah=e=>{const t=Gt();return[{text:t.value.title,children:Yo(t.value.headers,e)}]},Ui=(e,t)=>{const n=Xt(),r=Gt(),o=s=>{var a;let l;if(me(s)?l=Go(s):l=s,l.children)return{...l,children:l.children.map(i=>o(i))};if(l.link===n.path){const i=((a=r.value.headers[0])==null?void 0:a.level)===1?r.value.headers[0].children:r.value.headers;return{...l,children:Yo(i,t)}}return l};return e.map(s=>o(s))},ch=(e,t)=>{const n=Xt(),r=hi(e,n.path),o=e[r]??[];return Ui(o,t)},uh="719px",fh={mobile:uh};var zn;(function(e){e.MOBILE="mobile"})(zn||(zn={}));var pl;const dh={[zn.MOBILE]:Number.parseInt((pl=fh.mobile)==null?void 0:pl.replace("px",""),10)},Ki=(e,t)=>{const n=dh[e];Number.isInteger(n)&&Ve(()=>{t(n),window.addEventListener("resize",()=>t(n),!1),window.addEventListener("orientationchange",()=>t(n),!1)})},hh={},ph={class:"theme-default-content"};function mh(e,t){const n=bt("Content");return j(),ee("div",ph,[re(n)])}const gh=Ce(hh,[["render",mh],["__file","HomeContent.vue"]]),vh={key:0,class:"features"},_h=ue({__name:"HomeFeatures",setup(e){const t=vt(),n=B(()=>X(t.value.features)?t.value.features:[]);return(r,o)=>n.value.length?(j(),ee("div",vh,[(j(!0),ee(we,null,It(n.value,s=>(j(),ee("div",{key:s.title,class:"feature"},[he("h2",null,Pe(s.title),1),he("p",null,Pe(s.details),1)]))),128))])):Le("v-if",!0)}}),bh=Ce(_h,[["__file","HomeFeatures.vue"]]),yh=["innerHTML"],Eh=["textContent"],wh=ue({__name:"HomeFooter",setup(e){const t=vt(),n=B(()=>t.value.footer),r=B(()=>t.value.footerHtml);return(o,s)=>n.value?(j(),ee(we,{key:0},[Le(" eslint-disable-next-line vue/no-v-html "),r.value?(j(),ee("div",{key:0,class:"footer",innerHTML:n.value},null,8,yh)):(j(),ee("div",{key:1,class:"footer",textContent:Pe(n.value)},null,8,Eh))],64)):Le("v-if",!0)}}),kh=Ce(wh,[["__file","HomeFooter.vue"]]),xh=["href","rel","target","aria-label"],Ch=ue({inheritAttrs:!1}),Lh=ue({...Ch,__name:"AutoLink",props:{item:{type:Object,required:!0}},setup(e){const t=e,n=Xt(),r=yi(),{item:o}=Ar(t),s=B(()=>Jn(o.value.link)),l=B(()=>!s.value&&Ru(o.value.link)),a=B(()=>{if(!l.value){if(o.value.target)return o.value.target;if(s.value)return"_blank"}}),i=B(()=>a.value==="_blank"),c=B(()=>!s.value&&!l.value&&!i.value),u=B(()=>{if(!l.value){if(o.value.rel)return o.value.rel;if(i.value)return"noopener noreferrer"}}),f=B(()=>o.value.ariaLabel||o.value.text),d=B(()=>{const w=Object.keys(r.value.locales);return w.length?!w.some(C=>C===o.value.link):o.value.link!=="/"}),m=B(()=>d.value?n.path.startsWith(o.value.link):!1),y=B(()=>c.value?o.value.activeMatch?new RegExp(o.value.activeMatch).test(n.path):m.value:!1);return(w,C)=>{const S=bt("RouterLink"),T=bt("AutoLinkExternalIcon");return c.value?(j(),Re(S,ho({key:0,class:{"router-link-active":y.value},to:te(o).link,"aria-label":f.value},w.$attrs),{default:Ne(()=>[Ee(w.$slots,"before"),Mt(" "+Pe(te(o).text)+" ",1),Ee(w.$slots,"after")]),_:3},16,["class","to","aria-label"])):(j(),ee("a",ho({key:1,class:"external-link",href:te(o).link,rel:u.value,target:a.value,"aria-label":f.value},w.$attrs),[Ee(w.$slots,"before"),Mt(" "+Pe(te(o).text)+" ",1),i.value?(j(),Re(T,{key:0})):Le("v-if",!0),Ee(w.$slots,"after")],16,xh))}}}),_t=Ce(Lh,[["__file","AutoLink.vue"]]),Th={class:"hero"},Sh={key:0,id:"main-title"},Rh={key:1,class:"description"},Ah={key:2,class:"actions"},Ph=ue({__name:"HomeHero",setup(e){const t=vt(),n=Bo(),r=Wo(),o=B(()=>r.value&&t.value.heroImageDark!==void 0?t.value.heroImageDark:t.value.heroImage),s=B(()=>t.value.heroAlt||a.value||"hero"),l=B(()=>t.value.heroHeight||280),a=B(()=>t.value.heroText===null?null:t.value.heroText||n.value.title||"Hello"),i=B(()=>t.value.tagline===null?null:t.value.tagline||n.value.description||"Welcome to your VuePress site"),c=B(()=>X(t.value.actions)?t.value.actions.map(({text:f,link:d,type:m="primary"})=>({text:f,link:d,type:m})):[]),u=()=>{if(!o.value)return null;const f=ae("img",{src:Vo(o.value),alt:s.value,height:l.value});return t.value.heroImageDark===void 0?f:ae(jo,()=>f)};return(f,d)=>(j(),ee("header",Th,[re(u),a.value?(j(),ee("h1",Sh,Pe(a.value),1)):Le("v-if",!0),i.value?(j(),ee("p",Rh,Pe(i.value),1)):Le("v-if",!0),c.value.length?(j(),ee("p",Ah,[(j(!0),ee(we,null,It(c.value,m=>(j(),Re(_t,{key:m.text,class:qe(["action-button",[m.type]]),item:m},null,8,["class","item"]))),128))])):Le("v-if",!0)]))}}),Oh=Ce(Ph,[["__file","HomeHero.vue"]]),Ih={class:"home"},$h=ue({__name:"Home",setup(e){return(t,n)=>(j(),ee("main",Ih,[re(Oh),re(bh),re(gh),re(kh)]))}}),Mh=Ce($h,[["__file","Home.vue"]]),Nh=ue({__name:"NavbarBrand",setup(e){const t=Yn(),n=Bo(),r=je(),o=Wo(),s=B(()=>r.value.home||t.value),l=B(()=>n.value.title),a=B(()=>o.value&&r.value.logoDark!==void 0?r.value.logoDark:r.value.logo),i=()=>{if(!a.value)return null;const c=ae("img",{class:"logo",src:Vo(a.value),alt:l.value});return r.value.logoDark===void 0?c:ae(jo,()=>c)};return(c,u)=>{const f=bt("RouterLink");return j(),Re(f,{to:s.value},{default:Ne(()=>[re(i),l.value?(j(),ee("span",{key:0,class:qe(["site-name",{"can-hide":a.value}])},Pe(l.value),3)):Le("v-if",!0)]),_:1},8,["to"])}}}),Dh=Ce(Nh,[["__file","NavbarBrand.vue"]]),Hh=ue({__name:"DropdownTransition",setup(e){const t=r=>{r.style.height=r.scrollHeight+"px"},n=r=>{r.style.height=""};return(r,o)=>(j(),Re(Gn,{name:"dropdown",onEnter:t,onAfterEnter:n,onBeforeLeave:t},{default:Ne(()=>[Ee(r.$slots,"default")]),_:3}))}}),qi=Ce(Hh,[["__file","DropdownTransition.vue"]]),zh=["aria-label"],Fh={class:"title"},Bh=he("span",{class:"arrow down"},null,-1),jh=["aria-label"],Vh={class:"title"},Uh={class:"navbar-dropdown"},Kh={class:"navbar-dropdown-subtitle"},qh={key:1},Wh={class:"navbar-dropdown-subitem-wrapper"},Gh=ue({__name:"NavbarDropdown",props:{item:{type:Object,required:!0}},setup(e){const t=e,{item:n}=Ar(t),r=B(()=>n.value.ariaLabel||n.value.text),o=ve(!1),s=Xt();Ye(()=>s.path,()=>{o.value=!1});const l=i=>{i.detail===0?o.value=!o.value:o.value=!1},a=(i,c)=>c[c.length-1]===i;return(i,c)=>(j(),ee("div",{class:qe(["navbar-dropdown-wrapper",{open:o.value}])},[he("button",{class:"navbar-dropdown-title",type:"button","aria-label":r.value,onClick:l},[he("span",Fh,Pe(te(n).text),1),Bh],8,zh),he("button",{class:"navbar-dropdown-title-mobile",type:"button","aria-label":r.value,onClick:c[0]||(c[0]=u=>o.value=!o.value)},[he("span",Vh,Pe(te(n).text),1),he("span",{class:qe(["arrow",o.value?"down":"right"])},null,2)],8,jh),re(qi,null,{default:Ne(()=>[_r(he("ul",Uh,[(j(!0),ee(we,null,It(te(n).children,u=>(j(),ee("li",{key:u.text,class:"navbar-dropdown-item"},[u.children?(j(),ee(we,{key:0},[he("h4",Kh,[u.link?(j(),Re(_t,{key:0,item:u,onFocusout:f=>a(u,te(n).children)&&u.children.length===0&&(o.value=!1)},null,8,["item","onFocusout"])):(j(),ee("span",qh,Pe(u.text),1))]),he("ul",Wh,[(j(!0),ee(we,null,It(u.children,f=>(j(),ee("li",{key:f.link,class:"navbar-dropdown-subitem"},[re(_t,{item:f,onFocusout:d=>a(f,u.children)&&a(u,te(n).children)&&(o.value=!1)},null,8,["item","onFocusout"])]))),128))])],64)):(j(),Re(_t,{key:1,item:u,onFocusout:f=>a(u,te(n).children)&&(o.value=!1)},null,8,["item","onFocusout"]))]))),128))],512),[[kr,o.value]])]),_:1})],2))}}),Jh=Ce(Gh,[["__file","NavbarDropdown.vue"]]),ul=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),Yh=(e,t)=>{if(t.hash===e)return!0;const n=ul(t.path),r=ul(e);return n===r},Wi=(e,t)=>e.link&&Yh(e.link,t)?!0:e.children?e.children.some(n=>Wi(n,t)):!1,Gi=e=>!Jn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,Qh={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},Xh=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=Gi(e);return n!==null?Qh[n]:null},Zh=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=Xh({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,Jn(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,di(`${fi(n)}/${r}`)):null},ep={key:0,class:"navbar-items"},tp=ue({__name:"NavbarItems",setup(e){const t=()=>{const u=Qt(),f=Yn(),d=yi(),m=Bo(),y=th(),w=je();return B(()=>{const C=Object.keys(d.value.locales);if(C.length<2)return[];const S=u.currentRoute.value.path,T=u.currentRoute.value.fullPath;return[{text:`${w.value.selectLanguageText}`,ariaLabel:`${w.value.selectLanguageAriaLabel??w.value.selectLanguageText}`,children:C.map(b=>{var A,K;const z=((A=d.value.locales)==null?void 0:A[b])??{},q=((K=y.value.locales)==null?void 0:K[b])??{},N=`${z.lang}`,_=q.selectLanguageName??N;let I;if(N===m.value.lang)I=T;else{const k=S.replace(f.value,b);u.getRoutes().some(M=>M.path===k)?I=T.replace(S,k):I=q.home??b}return{text:_,link:I}})}]})},n=()=>{const u=je(),f=B(()=>u.value.repo),d=B(()=>f.value?Gi(f.value):null),m=B(()=>f.value&&!Jn(f.value)?`https://github.com/${f.value}`:f.value),y=B(()=>m.value?u.value.repoLabel?u.value.repoLabel:d.value===null?"Source":d.value:null);return B(()=>!m.value||!y.value?[]:[{text:y.value,link:m.value}])},r=u=>me(u)?Go(u):u.children?{...u,children:u.children.map(r)}:u,o=()=>{const u=je();return B(()=>(u.value.navbar||[]).map(r))},s=ve(!1),l=o(),a=t(),i=n(),c=B(()=>[...l.value,...a.value,...i.value]);return Ki(zn.MOBILE,u=>{window.innerWidth<u?s.value=!0:s.value=!1}),(u,f)=>c.value.length?(j(),ee("nav",ep,[(j(!0),ee(we,null,It(c.value,d=>(j(),ee("div",{key:d.text,class:"navbar-item"},[d.children?(j(),Re(Jh,{key:0,item:d,class:qe(s.value?"mobile":"")},null,8,["item","class"])):(j(),Re(_t,{key:1,item:d},null,8,["item"]))]))),128))])):Le("v-if",!0)}}),Ji=Ce(tp,[["__file","NavbarItems.vue"]]),np=["title"],rp={class:"icon",focusable:"false",viewBox:"0 0 32 32"},op=Mc('<path d="M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6z" fill="currentColor"></path><path d="M5.394 6.813l1.414-1.415l3.506 3.506L8.9 10.318z" fill="currentColor"></path><path d="M2 15.005h5v2H2z" fill="currentColor"></path><path d="M5.394 25.197L8.9 21.691l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 25.005h2v5h-2z" fill="currentColor"></path><path d="M21.687 23.106l1.414-1.415l3.506 3.506l-1.414 1.414z" fill="currentColor"></path><path d="M25 15.005h5v2h-5z" fill="currentColor"></path><path d="M21.687 8.904l3.506-3.506l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 2.005h2v5h-2z" fill="currentColor"></path>',9),sp=[op],lp={class:"icon",focusable:"false",viewBox:"0 0 32 32"},ip=he("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1),ap=[ip],cp=ue({__name:"ToggleColorModeButton",setup(e){const t=je(),n=Wo(),r=()=>{n.value=!n.value};return(o,s)=>(j(),ee("button",{class:"toggle-color-mode-button",title:te(t).toggleColorMode,onClick:r},[_r((j(),ee("svg",rp,sp,512)),[[kr,!te(n)]]),_r((j(),ee("svg",lp,ap,512)),[[kr,te(n)]])],8,np))}}),up=Ce(cp,[["__file","ToggleColorModeButton.vue"]]),fp=["title"],dp=he("div",{class:"icon","aria-hidden":"true"},[he("span"),he("span"),he("span")],-1),hp=[dp],pp=ue({__name:"ToggleSidebarButton",emits:["toggle"],setup(e){const t=je();return(n,r)=>(j(),ee("div",{class:"toggle-sidebar-button",title:te(t).toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:r[0]||(r[0]=o=>n.$emit("toggle"))},hp,8,fp))}}),mp=Ce(pp,[["__file","ToggleSidebarButton.vue"]]),gp=ue({__name:"Navbar",emits:["toggle-sidebar"],setup(e){const t=je(),n=ve(null),r=ve(null),o=ve(0),s=B(()=>o.value?{maxWidth:o.value+"px"}:{});Ki(zn.MOBILE,a=>{var c;const i=l(n.value,"paddingLeft")+l(n.value,"paddingRight");window.innerWidth<a?o.value=0:o.value=n.value.offsetWidth-i-(((c=r.value)==null?void 0:c.offsetWidth)||0)});function l(a,i){var f,d,m;const c=(m=(d=(f=a==null?void 0:a.ownerDocument)==null?void 0:f.defaultView)==null?void 0:d.getComputedStyle(a,null))==null?void 0:m[i],u=Number.parseInt(c,10);return Number.isNaN(u)?0:u}return(a,i)=>{const c=bt("NavbarSearch");return j(),ee("header",{ref_key:"navbar",ref:n,class:"navbar"},[re(mp,{onToggle:i[0]||(i[0]=u=>a.$emit("toggle-sidebar"))}),he("span",{ref_key:"navbarBrand",ref:r},[re(Dh)],512),he("div",{class:"navbar-items-wrapper",style:Bn(s.value)},[Ee(a.$slots,"before"),re(Ji,{class:"can-hide"}),Ee(a.$slots,"after"),te(t).colorModeSwitch?(j(),Re(up,{key:0})):Le("v-if",!0),re(c)],4)],512)}}}),vp=Ce(gp,[["__file","Navbar.vue"]]),_p={class:"page-meta"},bp={key:0,class:"meta-item edit-link"},yp={key:1,class:"meta-item last-updated"},Ep={class:"meta-item-label"},wp={class:"meta-item-info"},kp={key:2,class:"meta-item contributors"},xp={class:"meta-item-label"},Cp={class:"meta-item-info"},Lp=["title"],Tp=ue({__name:"PageMeta",setup(e){const t=()=>{const i=je(),c=Gt(),u=vt();return B(()=>{if(!(u.value.editLink??i.value.editLink??!0))return null;const{repo:d,docsRepo:m=d,docsBranch:y="main",docsDir:w="",editLinkText:C}=i.value;if(!m)return null;const S=Zh({docsRepo:m,docsBranch:y,docsDir:w,filePathRelative:c.value.filePathRelative,editLinkPattern:u.value.editLinkPattern??i.value.editLinkPattern});return S?{text:C??"Edit this page",link:S}:null})},n=()=>{const i=je(),c=Gt(),u=vt();return B(()=>{var m,y;return!(u.value.lastUpdated??i.value.lastUpdated??!0)||!((m=c.value.git)!=null&&m.updatedTime)?null:new Date((y=c.value.git)==null?void 0:y.updatedTime).toLocaleString()})},r=()=>{const i=je(),c=Gt(),u=vt();return B(()=>{var d;return u.value.contributors??i.value.contributors??!0?((d=c.value.git)==null?void 0:d.contributors)??null:null})},o=je(),s=t(),l=n(),a=r();return(i,c)=>{const u=bt("ClientOnly");return j(),ee("footer",_p,[te(s)?(j(),ee("div",bp,[re(_t,{class:"meta-item-label",item:te(s)},null,8,["item"])])):Le("v-if",!0),te(l)?(j(),ee("div",yp,[he("span",Ep,Pe(te(o).lastUpdatedText)+": ",1),re(u,null,{default:Ne(()=>[he("span",wp,Pe(te(l)),1)]),_:1})])):Le("v-if",!0),te(a)&&te(a).length?(j(),ee("div",kp,[he("span",xp,Pe(te(o).contributorsText)+": ",1),he("span",Cp,[(j(!0),ee(we,null,It(te(a),(f,d)=>(j(),ee(we,{key:d},[he("span",{class:"contributor",title:`email: ${f.email}`},Pe(f.name),9,Lp),d!==te(a).length-1?(j(),ee(we,{key:0},[Mt(", ")],64)):Le("v-if",!0)],64))),128))])])):Le("v-if",!0)])}}}),Sp=Ce(Tp,[["__file","PageMeta.vue"]]),Rp={key:0,class:"page-nav"},Ap={class:"inner"},Pp={key:0,class:"prev"},Op={key:1,class:"next"},Ip=ue({__name:"PageNav",setup(e){const t=i=>i===!1?null:me(i)?Go(i):zo(i)?i:!1,n=(i,c,u)=>{const f=i.findIndex(d=>d.link===c);if(f!==-1){const d=i[f+u];return d!=null&&d.link?d:null}for(const d of i)if(d.children){const m=n(d.children,c,u);if(m)return m}return null},r=vt(),o=Jo(),s=Xt(),l=B(()=>{const i=t(r.value.prev);return i!==!1?i:n(o.value,s.path,-1)}),a=B(()=>{const i=t(r.value.next);return i!==!1?i:n(o.value,s.path,1)});return(i,c)=>l.value||a.value?(j(),ee("nav",Rp,[he("p",Ap,[l.value?(j(),ee("span",Pp,[re(_t,{item:l.value},null,8,["item"])])):Le("v-if",!0),a.value?(j(),ee("span",Op,[re(_t,{item:a.value},null,8,["item"])])):Le("v-if",!0)])])):Le("v-if",!0)}}),$p=Ce(Ip,[["__file","PageNav.vue"]]),Mp={class:"page"},Np={class:"theme-default-content"},Dp=ue({__name:"Page",setup(e){return(t,n)=>{const r=bt("Content");return j(),ee("main",Mp,[Ee(t.$slots,"top"),he("div",Np,[Ee(t.$slots,"content-top"),re(r),Ee(t.$slots,"content-bottom")]),re(Sp),re($p),Ee(t.$slots,"bottom")])}}}),Hp=Ce(Dp,[["__file","Page.vue"]]),zp={class:"sidebar-item-children"},Fp=ue({__name:"SidebarItem",props:{item:{type:Object,required:!0},depth:{type:Number,required:!1,default:0}},setup(e){const t=e,{item:n,depth:r}=Ar(t),o=Xt(),s=Qt(),l=B(()=>Wi(n.value,o)),a=B(()=>({"sidebar-item":!0,"sidebar-heading":r.value===0,active:l.value,collapsible:n.value.collapsible})),i=B(()=>n.value.collapsible?l.value:!0),[c,u]=zd(i.value),f=m=>{n.value.collapsible&&(m.preventDefault(),u())},d=s.afterEach(m=>{Kn(()=>{c.value=i.value})});return Wn(()=>{d()}),(m,y)=>{var C;const w=bt("SidebarItem",!0);return j(),ee("li",null,[te(n).link?(j(),Re(_t,{key:0,class:qe(a.value),item:te(n)},null,8,["class","item"])):(j(),ee("p",{key:1,tabindex:"0",class:qe(a.value),onClick:f,onKeydown:_u(f,["enter"])},[Mt(Pe(te(n).text)+" ",1),te(n).collapsible?(j(),ee("span",{key:0,class:qe(["arrow",te(c)?"down":"right"])},null,2)):Le("v-if",!0)],34)),(C=te(n).children)!=null&&C.length?(j(),Re(qi,{key:2},{default:Ne(()=>[_r(he("ul",zp,[(j(!0),ee(we,null,It(te(n).children,S=>(j(),Re(w,{key:`${te(r)}${S.text}${S.link}`,item:S,depth:te(r)+1},null,8,["item","depth"]))),128))],512),[[kr,te(c)]])]),_:1})):Le("v-if",!0)])}}}),Bp=Ce(Fp,[["__file","SidebarItem.vue"]]),jp={key:0,class:"sidebar-items"},Vp=ue({__name:"SidebarItems",setup(e){const t=Xt(),n=Jo();return Ve(()=>{Ye(()=>t.hash,r=>{const o=document.querySelector(".sidebar");if(!o)return;const s=document.querySelector(`.sidebar a.sidebar-item[href="${t.path}${r}"]`);if(!s)return;const{top:l,height:a}=o.getBoundingClientRect(),{top:i,height:c}=s.getBoundingClientRect();i<l?s.scrollIntoView(!0):i+c>l+a&&s.scrollIntoView(!1)})}),(r,o)=>te(n).length?(j(),ee("ul",jp,[(j(!0),ee(we,null,It(te(n),s=>(j(),Re(Bp,{key:`${s.text}${s.link}`,item:s},null,8,["item"]))),128))])):Le("v-if",!0)}}),Up=Ce(Vp,[["__file","SidebarItems.vue"]]),Kp={class:"sidebar"},qp=ue({__name:"Sidebar",setup(e){return(t,n)=>(j(),ee("aside",Kp,[re(Ji),Ee(t.$slots,"top"),re(Up),Ee(t.$slots,"bottom")]))}}),Wp=Ce(qp,[["__file","Sidebar.vue"]]),Gp=ue({__name:"Layout",setup(e){const t=Gt(),n=vt(),r=je(),o=B(()=>n.value.navbar!==!1&&r.value.navbar!==!1),s=Jo(),l=ve(!1),a=C=>{l.value=typeof C=="boolean"?C:!l.value},i={x:0,y:0},c=C=>{i.x=C.changedTouches[0].clientX,i.y=C.changedTouches[0].clientY},u=C=>{const S=C.changedTouches[0].clientX-i.x,T=C.changedTouches[0].clientY-i.y;Math.abs(S)>Math.abs(T)&&Math.abs(S)>40&&(S>0&&i.x<=80?a(!0):a(!1))},f=B(()=>[{"no-navbar":!o.value,"no-sidebar":!s.value.length,"sidebar-open":l.value},n.value.pageClass]);let d;Ve(()=>{d=Qt().afterEach(()=>{a(!1)})}),$r(()=>{d()});const m=ji(),y=m.resolve,w=m.pending;return(C,S)=>(j(),ee("div",{class:qe(["theme-container",f.value]),onTouchstart:c,onTouchend:u},[Ee(C.$slots,"navbar",{},()=>[o.value?(j(),Re(vp,{key:0,onToggleSidebar:a},{before:Ne(()=>[Ee(C.$slots,"navbar-before")]),after:Ne(()=>[Ee(C.$slots,"navbar-after")]),_:3})):Le("v-if",!0)]),he("div",{class:"sidebar-mask",onClick:S[0]||(S[0]=T=>a(!1))}),Ee(C.$slots,"sidebar",{},()=>[re(Wp,null,{top:Ne(()=>[Ee(C.$slots,"sidebar-top")]),bottom:Ne(()=>[Ee(C.$slots,"sidebar-bottom")]),_:3})]),Ee(C.$slots,"page",{},()=>[te(n).home?(j(),Re(Mh,{key:0})):(j(),Re(Gn,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:te(y),onBeforeLeave:te(w)},{default:Ne(()=>[(j(),Re(Hp,{key:te(t).path},{top:Ne(()=>[Ee(C.$slots,"page-top")]),"content-top":Ne(()=>[Ee(C.$slots,"page-content-top")]),"content-bottom":Ne(()=>[Ee(C.$slots,"page-content-bottom")]),bottom:Ne(()=>[Ee(C.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34))}}),Jp=Ce(Gp,[["__file","Layout.vue"]]),Yp={class:"theme-container"},Qp={class:"page"},Xp={class:"theme-default-content"},Zp=he("h1",null,"404",-1),em=ue({__name:"NotFound",setup(e){const t=Yn(),n=je(),r=n.value.notFound??["Not Found"],o=()=>r[Math.floor(Math.random()*r.length)],s=n.value.home??t.value,l=n.value.backToHome??"Back to home";return(a,i)=>{const c=bt("RouterLink");return j(),ee("div",Yp,[he("main",Qp,[he("div",Xp,[Zp,he("blockquote",null,Pe(o()),1),re(c,{to:te(s)},{default:Ne(()=>[Mt(Pe(te(l)),1)]),_:1},8,["to"])])])])}}}),tm=Ce(em,[["__file","NotFound.vue"]]),nm=Nt({enhance({app:e,router:t}){e.component("Badge",Td),e.component("CodeGroup",Yd),e.component("CodeGroupItem",eh),e.component("AutoLinkExternalIcon",()=>{const r=e.component("ExternalLinkIcon");return r?ae(r):null}),e.component("NavbarSearch",()=>{const r=e.component("Docsearch")||e.component("SearchBox");return r?ae(r):null});const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await ji().wait(),n(...r))},setup(){nh(),sh()},layouts:{Layout:Jp,NotFound:tm}}),rm=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,om=(e,t)=>t.some(n=>{if(me(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:l=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&l===e.altKey}),sm=/[^\x00-\x7F]/,lm=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),fl=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),dl=(e,t)=>{const n=t.join(" "),r=lm(e);if(sm.test(e))return r.some(l=>n.toLowerCase().indexOf(l)>-1);const o=e.endsWith(" ");return new RegExp(r.map((l,a)=>r.length===a+1&&!o?`(?=.*\\b${fl(l)})`:`(?=.*\\b${fl(l)}\\b)`).join("")+".+","gi").test(n)},im=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&om(r,t.value)&&!rm(r.target)&&(r.preventDefault(),e.value.focus())};Ve(()=>{document.addEventListener("keydown",n)}),Wn(()=>{document.removeEventListener("keydown",n)})},am=[{title:"Home",headers:[{level:3,title:"Start reflecting anytime, anywhere.",slug:"start-reflecting-anytime-anywhere",link:"#start-reflecting-anytime-anywhere",children:[]}],path:"/en/",pathLocale:"/en/",extraFields:[]},{title:"首页",headers:[{level:3,title:"随时随地,开始反射。",slug:"随时随地-开始反射。",link:"#随时随地-开始反射。",children:[]}],path:"/zh-cn/",pathLocale:"/zh-cn/",extraFields:[]},{title:"Migration to KavaRef",headers:[{level:2,title:"Basic Functions",slug:"basic-functions",link:"#basic-functions",children:[]},{level:2,title:"Other Functions",slug:"other-functions",link:"#other-functions",children:[]},{level:2,title:"Exception Handling",slug:"exception-handling",link:"#exception-handling",children:[]},{level:2,title:"New to KavaRef",slug:"new-to-kavaref",link:"#new-to-kavaref",children:[]}],path:"/en/config/migration.html",pathLocale:"/en/",extraFields:[]},{title:"Third-party Member Resolvers",headers:[{level:2,title:"AndroidHiddenApiBypass",slug:"androidhiddenapibypass",link:"#androidhiddenapibypass",children:[]}],path:"/en/config/processor-resolvers.html",pathLocale:"/en/",extraFields:[]},{title:"R8 & ProGuard Obfuscation",headers:[],path:"/en/config/r8-proguard.html",pathLocale:"/en/",extraFields:[]},{title:"About This Document",headers:[{level:2,title:"License",slug:"license",link:"#license",children:[]}],path:"/en/about/about.html",pathLocale:"/en/",extraFields:[]},{title:"Changelog",headers:[{level:2,title:"kavaref-core",slug:"kavaref-core",link:"#kavaref-core",children:[{level:3,title:"1.0.1 | 2025.07.06",slug:"_1-0-1-2025-07-06",link:"#_1-0-1-2025-07-06",children:[]},{level:3,title:"1.0.0 | 2025.06.25",slug:"_1-0-0-2025-06-25",link:"#_1-0-0-2025-06-25",children:[]}]},{level:2,title:"kavaref-extension",slug:"kavaref-extension",link:"#kavaref-extension",children:[{level:3,title:"1.0.1 | 2025.07.06",slug:"_1-0-1-2025-07-06-1",link:"#_1-0-1-2025-07-06-1",children:[]},{level:3,title:"1.0.0 | 2025.06.25",slug:"_1-0-0-2025-06-25-1",link:"#_1-0-0-2025-06-25-1",children:[]}]}],path:"/en/about/changelog.html",pathLocale:"/en/",extraFields:[]},{title:"Contact Us",headers:[{level:2,title:"Help with Maintenance",slug:"help-with-maintenance",link:"#help-with-maintenance",children:[]}],path:"/en/about/contacts.html",pathLocale:"/en/",extraFields:[]},{title:"Looking Toward the Future",headers:[{level:2,title:"Future Plans",slug:"future-plans",link:"#future-plans",children:[{level:3,title:"Support Class Filtering through ClassLoader",slug:"support-class-filtering-through-classloader",link:"#support-class-filtering-through-classloader",children:[]},{level:3,title:"Automatically Generate Reflection Code",slug:"automatically-generate-reflection-code",link:"#automatically-generate-reflection-code",children:[]}]}],path:"/en/about/future.html",pathLocale:"/en/",extraFields:[]},{title:"Introduction",headers:[{level:2,title:"Background",slug:"background",link:"#background",children:[]},{level:2,title:"Usage",slug:"usage",link:"#usage",children:[]},{level:2,title:"Skill Requirements",slug:"skill-requirements",link:"#skill-requirements",children:[]},{level:2,title:"Language Requirement",slug:"language-requirement",link:"#language-requirement",children:[]},{level:2,title:"Contribution",slug:"contribution",link:"#contribution",children:[]}],path:"/en/guide/home.html",pathLocale:"/en/",extraFields:[]},{title:"Quick Start",headers:[{level:2,title:"Project Requirements",slug:"project-requirements",link:"#project-requirements",children:[{level:3,title:"Configure Repositories",slug:"configure-repositories",link:"#configure-repositories",children:[]},{level:3,title:"Configure Java Version",slug:"configure-java-version",link:"#configure-java-version",children:[]}]},{level:2,title:"Functional Overview",slug:"functional-overview",link:"#functional-overview",children:[]},{level:2,title:"Demo",slug:"demo",link:"#demo",children:[]}],path:"/en/guide/quick-start.html",pathLocale:"/en/",extraFields:[]},{title:"kavaref-core",headers:[{level:2,title:"Configure Dependency",slug:"configure-dependency",link:"#configure-dependency",children:[{level:3,title:"SweetDependency (Recommended)",slug:"sweetdependency-recommended",link:"#sweetdependency-recommended",children:[]},{level:3,title:"Version Catalog",slug:"version-catalog",link:"#version-catalog",children:[]},{level:3,title:"Traditional Method",slug:"traditional-method",link:"#traditional-method",children:[]}]},{level:2,title:"Function Introduction",slug:"function-introduction",link:"#function-introduction",children:[{level:3,title:"Basic Usage",slug:"basic-usage",link:"#basic-usage",children:[]},{level:3,title:"Vague Conditions",slug:"vague-conditions",link:"#vague-conditions",children:[]},{level:3,title:"Freedom Conditions",slug:"freedom-conditions",link:"#freedom-conditions",children:[]},{level:3,title:"Generic Conditions",slug:"generic-conditions",link:"#generic-conditions",children:[]},{level:3,title:"Filter in Superclass",slug:"filter-in-superclass",link:"#filter-in-superclass",children:[]},{level:3,title:"Other Conditions",slug:"other-conditions",link:"#other-conditions",children:[]},{level:3,title:"Exception Handling",slug:"exception-handling",link:"#exception-handling",children:[]},{level:3,title:"Log Management",slug:"log-management",link:"#log-management",children:[]},{level:3,title:"Advanced Usage",slug:"advanced-usage",link:"#advanced-usage",children:[]},{level:3,title:"Custom Resolver",slug:"custom-resolver",link:"#custom-resolver",children:[]},{level:3,title:"About Cache",slug:"about-cache",link:"#about-cache",children:[]},{level:3,title:"Java Usage",slug:"java-usage",link:"#java-usage",children:[]}]}],path:"/en/library/kavaref-core.html",pathLocale:"/en/",extraFields:[]},{title:"kavaref-extension",headers:[{level:2,title:"Configure Dependency",slug:"configure-dependency",link:"#configure-dependency",children:[{level:3,title:"SweetDependency (Recommended)",slug:"sweetdependency-recommended",link:"#sweetdependency-recommended",children:[]},{level:3,title:"Version Catalog",slug:"version-catalog",link:"#version-catalog",children:[]},{level:3,title:"Traditional Method",slug:"traditional-method",link:"#traditional-method",children:[]}]},{level:2,title:"Function Introduction",slug:"function-introduction",link:"#function-introduction",children:[{level:3,title:"Class Extensions",slug:"class-extensions",link:"#class-extensions",children:[]},{level:3,title:"Array Class Extensions",slug:"array-class-extensions",link:"#array-class-extensions",children:[]},{level:3,title:"Member Extensions",slug:"member-extensions",link:"#member-extensions",children:[]},{level:3,title:"Type Extensions",slug:"type-extensions",link:"#type-extensions",children:[]},{level:3,title:"Java Wrapper Classes Extensions",slug:"java-wrapper-classes-extensions",link:"#java-wrapper-classes-extensions",children:[]}]}],path:"/en/library/kavaref-extension.html",pathLocale:"/en/",extraFields:[]},{title:"关于此文档",headers:[{level:2,title:"许可证",slug:"许可证",link:"#许可证",children:[]}],path:"/zh-cn/about/about.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"更新日志",headers:[{level:2,title:"kavaref-core",slug:"kavaref-core",link:"#kavaref-core",children:[{level:3,title:"1.0.1 | 2025.07.06",slug:"_1-0-1-2025-07-06",link:"#_1-0-1-2025-07-06",children:[]},{level:3,title:"1.0.0 | 2025.06.25",slug:"_1-0-0-2025-06-25",link:"#_1-0-0-2025-06-25",children:[]}]},{level:2,title:"kavaref-extension",slug:"kavaref-extension",link:"#kavaref-extension",children:[{level:3,title:"1.0.1 | 2025.07.06",slug:"_1-0-1-2025-07-06-1",link:"#_1-0-1-2025-07-06-1",children:[]},{level:3,title:"1.0.0 | 2025.06.25",slug:"_1-0-0-2025-06-25-1",link:"#_1-0-0-2025-06-25-1",children:[]}]}],path:"/zh-cn/about/changelog.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"联系我们",headers:[{level:2,title:"助力维护",slug:"助力维护",link:"#助力维护",children:[]}],path:"/zh-cn/about/contacts.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"展望未来",headers:[{level:2,title:"未来的计划",slug:"未来的计划",link:"#未来的计划",children:[{level:3,title:"支持通过 ClassLoader 过滤 Class",slug:"支持通过-classloader-过滤-class",link:"#支持通过-classloader-过滤-class",children:[]},{level:3,title:"自动生成反射代码",slug:"自动生成反射代码",link:"#自动生成反射代码",children:[]}]}],path:"/zh-cn/about/future.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"迁移至 KavaRef",headers:[{level:2,title:"基本功能",slug:"基本功能",link:"#基本功能",children:[]},{level:2,title:"其它功能",slug:"其它功能",link:"#其它功能",children:[]},{level:2,title:"异常处理",slug:"异常处理",link:"#异常处理",children:[]},{level:2,title:"初次使用 KavaRef",slug:"初次使用-kavaref",link:"#初次使用-kavaref",children:[]}],path:"/zh-cn/config/migration.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"第三方 Member 解析器",headers:[{level:2,title:"AndroidHiddenApiBypass",slug:"androidhiddenapibypass",link:"#androidhiddenapibypass",children:[]}],path:"/zh-cn/config/processor-resolvers.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"R8 与 Proguard 混淆",headers:[],path:"/zh-cn/config/r8-proguard.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"介绍",headers:[{level:2,title:"背景",slug:"背景",link:"#背景",children:[]},{level:2,title:"用途",slug:"用途",link:"#用途",children:[]},{level:2,title:"技能要求",slug:"技能要求",link:"#技能要求",children:[]},{level:2,title:"语言要求",slug:"语言要求",link:"#语言要求",children:[]},{level:2,title:"功能贡献",slug:"功能贡献",link:"#功能贡献",children:[]}],path:"/zh-cn/guide/home.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"快速开始",headers:[{level:2,title:"项目要求",slug:"项目要求",link:"#项目要求",children:[{level:3,title:"配置存储库",slug:"配置存储库",link:"#配置存储库",children:[]},{level:3,title:"配置 Java 版本",slug:"配置-java-版本",link:"#配置-java-版本",children:[]}]},{level:2,title:"功能一览",slug:"功能一览",link:"#功能一览",children:[]},{level:2,title:"Demo",slug:"demo",link:"#demo",children:[]}],path:"/zh-cn/guide/quick-start.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"kavaref-core",headers:[{level:2,title:"配置依赖",slug:"配置依赖",link:"#配置依赖",children:[{level:3,title:"SweetDependency (推荐)",slug:"sweetdependency-推荐",link:"#sweetdependency-推荐",children:[]},{level:3,title:"Version Catalog",slug:"version-catalog",link:"#version-catalog",children:[]},{level:3,title:"传统方式",slug:"传统方式",link:"#传统方式",children:[]}]},{level:2,title:"功能介绍",slug:"功能介绍",link:"#功能介绍",children:[{level:3,title:"基本用法",slug:"基本用法",link:"#基本用法",children:[]},{level:3,title:"模糊条件",slug:"模糊条件",link:"#模糊条件",children:[]},{level:3,title:"自由条件",slug:"自由条件",link:"#自由条件",children:[]},{level:3,title:"泛型条件",slug:"泛型条件",link:"#泛型条件",children:[]},{level:3,title:"在超类过滤",slug:"在超类过滤",link:"#在超类过滤",children:[]},{level:3,title:"更多条件",slug:"更多条件",link:"#更多条件",children:[]},{level:3,title:"异常处理",slug:"异常处理",link:"#异常处理",children:[]},{level:3,title:"日志管理",slug:"日志管理",link:"#日志管理",children:[]},{level:3,title:"进阶用法",slug:"进阶用法",link:"#进阶用法",children:[]},{level:3,title:"自定义解析器",slug:"自定义解析器",link:"#自定义解析器",children:[]},{level:3,title:"关于缓存",slug:"关于缓存",link:"#关于缓存",children:[]},{level:3,title:"Java 用法",slug:"java-用法",link:"#java-用法",children:[]}]}],path:"/zh-cn/library/kavaref-core.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"kavaref-extension",headers:[{level:2,title:"配置依赖",slug:"配置依赖",link:"#配置依赖",children:[{level:3,title:"SweetDependency (推荐)",slug:"sweetdependency-推荐",link:"#sweetdependency-推荐",children:[]},{level:3,title:"Version Catalog",slug:"version-catalog",link:"#version-catalog",children:[]},{level:3,title:"传统方式",slug:"传统方式",link:"#传统方式",children:[]}]},{level:2,title:"功能介绍",slug:"功能介绍",link:"#功能介绍",children:[{level:3,title:"Class 扩展",slug:"class-扩展",link:"#class-扩展",children:[]},{level:3,title:"数组 Class 扩展",slug:"数组-class-扩展",link:"#数组-class-扩展",children:[]},{level:3,title:"Member 扩展",slug:"member-扩展",link:"#member-扩展",children:[]},{level:3,title:"Type 扩展",slug:"type-扩展",link:"#type-扩展",children:[]},{level:3,title:"Java 包装类扩展",slug:"java-包装类扩展",link:"#java-包装类扩展",children:[]}]}],path:"/zh-cn/library/kavaref-extension.html",pathLocale:"/zh-cn/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],cm=ve(am),um=()=>cm,fm=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=B(()=>e.value.filter(s=>s.pathLocale===t.value));return B(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const l=[],a=(i,c)=>{dl(s,[c.title])&&l.push({link:`${i.path}#${c.slug}`,title:i.title,header:c.title});for(const u of c.children){if(l.length>=r.value)return;a(i,u)}};for(const i of o.value){if(l.length>=r.value)break;if(dl(s,[i.title,...i.extraFields])){l.push({link:i.path,title:i.title});continue}for(const c of i.headers){if(l.length>=r.value)break;a(i,c)}}return l})},dm=e=>{const t=ve(0);return{focusIndex:t,focusNext:()=>{t.value<e.value.length-1?t.value+=1:t.value=0},focusPrev:()=>{t.value>0?t.value-=1:t.value=e.value.length-1}}},hm=ue({name:"SearchBox",props:{locales:{type:Object,required:!1,default:()=>({})},hotKeys:{type:Array,required:!1,default:()=>[]},maxSuggestions:{type:Number,required:!1,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=Ar(e),o=Qt(),s=Yn(),l=um(),a=ve(null),i=ve(!1),c=ve(""),u=B(()=>t.value[s.value]??{}),f=fm({searchIndex:l,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:d,focusNext:m,focusPrev:y}=dm(f);im({input:a,hotKeys:n});const w=B(()=>i.value&&!!f.value.length),C=()=>{w.value&&y()},S=()=>{w.value&&m()},T=v=>{if(!w.value)return;const b=f.value[v];b&&o.push(b.link).then(()=>{c.value="",d.value=0})};return()=>ae("form",{class:"search-box",role:"search"},[ae("input",{ref:a,type:"search",placeholder:u.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onInput:v=>c.value=v.target.value,onKeydown:v=>{switch(v.key){case"ArrowUp":{C();break}case"ArrowDown":{S();break}case"Enter":{v.preventDefault(),T(d.value);break}}}}),w.value&&ae("ul",{class:"suggestions",onMouseleave:()=>d.value=-1},f.value.map(({link:v,title:b,header:z},q)=>ae("li",{class:["suggestion",{focus:d.value===q}],onMouseenter:()=>d.value=q,onMousedown:()=>T(q)},ae("a",{href:v,onClick:N=>N.preventDefault()},[ae("span",{class:"page-title"},b),z&&ae("span",{class:"page-header"},`> ${z}`)]))))])}});var pm=["s","/"],mm={"/en/":{placeholder:"Search"},"/zh-cn/":{placeholder:"搜索"}};const gm=mm,vm=pm,_m=5,bm=Nt({enhance({app:e}){e.component("SearchBox",t=>ae(hm,{locales:gm,hotKeys:vm,maxSuggestions:_m,...t}))}}),ur=[Jf,Xf,rd,gd,yd,Cd,nm,bm],ym=[["v-8daa1a0e","/",{title:""},["/index.md"]],["v-2d0a870d","/en/",{title:"Home"},["/en/index.md"]],["v-c0c85b84","/zh-cn/",{title:"首页"},["/zh-cn/index.md"]],["v-5ba9634b","/en/config/migration.html",{title:"Migration to KavaRef"},[":md"]],["v-47a14032","/en/config/processor-resolvers.html",{title:"Third-party Member Resolvers"},[":md"]],["v-29d6c1ba","/en/config/r8-proguard.html",{title:"R8 & ProGuard Obfuscation"},[":md"]],["v-7a15fe3b","/en/about/about.html",{title:"About This Document"},[":md"]],["v-3f851d14","/en/about/changelog.html",{title:"Changelog"},[":md"]],["v-193cf592","/en/about/contacts.html",{title:"Contact Us"},[":md"]],["v-ae7b83f2","/en/about/future.html",{title:"Looking Toward the Future"},[":md"]],["v-efb45d4c","/en/guide/home.html",{title:"Introduction"},[":md"]],["v-72889797","/en/guide/quick-start.html",{title:"Quick Start"},[":md"]],["v-5e94983e","/en/library/kavaref-core.html",{title:"kavaref-core"},[":md"]],["v-08a07ed6","/en/library/kavaref-extension.html",{title:"kavaref-extension"},[":md"]],["v-41967128","/zh-cn/about/about.html",{title:"关于此文档"},[":md"]],["v-0e6c3476","/zh-cn/about/changelog.html",{title:"更新日志"},[":md"]],["v-6cf86266","/zh-cn/about/contacts.html",{title:"联系我们"},[":md"]],["v-3106ca14","/zh-cn/about/future.html",{title:"展望未来"},[":md"]],["v-6a049e8c","/zh-cn/config/migration.html",{title:"迁移至 KavaRef"},[":md"]],["v-e91e22d4","/zh-cn/config/processor-resolvers.html",{title:"第三方 Member 解析器"},[":md"]],["v-154d6f69","/zh-cn/config/r8-proguard.html",{title:"R8 与 Proguard 混淆"},[":md"]],["v-6a609e09","/zh-cn/guide/home.html",{title:"介绍"},[":md"]],["v-24840ff0","/zh-cn/guide/quick-start.html",{title:"快速开始"},[":md"]],["v-4716962d","/zh-cn/library/kavaref-core.html",{title:"kavaref-core"},[":md"]],["v-caaa4372","/zh-cn/library/kavaref-extension.html",{title:"kavaref-extension"},[":md"]],["v-3706649a","/404.html",{title:""},[]]];var hl=ue({name:"Vuepress",setup(){const e=Mu();return()=>ae(e.value)}}),Em=()=>ym.reduce((e,[t,n,r,o])=>(e.push({name:t,path:n,component:hl,meta:r},{path:n.endsWith("/")?n+"index.html":n.substring(0,n.length-5),redirect:n},...o.map(s=>({path:s===":md"?n.substring(0,n.length-5)+".md":s,redirect:n}))),e),[{name:"404",path:"/:catchAll(.*)",component:hl}]),wm=of,km=()=>{const e=jf({history:wm(fi("/KavaRef/")),routes:Em(),scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{var r;(t.path!==n.path||n===pt)&&([t.meta._data]=await Promise.all([ht.resolvePageData(t.name),(r=pi[t.name])==null?void 0:r.__asyncLoader()]))}),e},xm=e=>{e.component("ClientOnly",jo),e.component("Content",Fu)},Cm=(e,t,n)=>{const r=il(()=>t.currentRoute.value.path),o=il(()=>ht.resolveRouteLocale(rn.value.locales,r.value)),s=Sd(r,()=>t.currentRoute.value.meta._data),l=B(()=>ht.resolveLayouts(n)),a=B(()=>ht.resolveSiteLocaleData(rn.value,o.value)),i=B(()=>ht.resolvePageFrontmatter(s.value)),c=B(()=>ht.resolvePageHeadTitle(s.value,a.value)),u=B(()=>ht.resolvePageHead(c.value,i.value,a.value)),f=B(()=>ht.resolvePageLang(s.value,a.value)),d=B(()=>ht.resolvePageLayout(s.value,l.value));return e.provide(Au,l),e.provide(mi,s),e.provide(gi,i),e.provide(Iu,c),e.provide(vi,u),e.provide(_i,f),e.provide(bi,d),e.provide(Fo,o),e.provide(Ei,a),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>i.value},$head:{get:()=>u.value},$headTitle:{get:()=>c.value},$lang:{get:()=>f.value},$page:{get:()=>s.value},$routeLocale:{get:()=>o.value},$site:{get:()=>rn.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>Vo}}),{layouts:l,pageData:s,pageFrontmatter:i,pageHead:u,pageHeadTitle:c,pageLang:f,pageLayout:d,routeLocale:o,siteData:rn,siteLocaleData:a}},Lm=()=>{const e=Ou(),t=$u(),n=ve([]),r=()=>{e.value.forEach(s=>{const l=Tm(s);l&&n.value.push(l)})},o=()=>{document.documentElement.lang=t.value,n.value.forEach(s=>{s.parentNode===document.head&&document.head.removeChild(s)}),n.value.splice(0,n.value.length),e.value.forEach(s=>{const l=Sm(s);l!==null&&(document.head.appendChild(l),n.value.push(l))})};qt(Du,o),Ve(()=>{r(),o(),Ye(()=>e.value,o)})},Tm=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>me(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},Sm=([e,t,n])=>{if(!me(e))return null;const r=document.createElement(e);return zo(t)&&Object.entries(t).forEach(([o,s])=>{me(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),me(n)&&r.appendChild(document.createTextNode(n)),r},Rm=Eu,Am=async()=>{var n;const e=Rm({name:"VuepressApp",setup(){var r;Lm();for(const o of ur)(r=o.setup)==null||r.call(o);return()=>[ae(Ii),...ur.flatMap(({rootComponents:o=[]})=>o.map(s=>ae(s)))]}}),t=km();xm(e),Cm(e,t,ur);for(const r of ur)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:rn}));return e.use(t),{app:e,router:t}};Am().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ce as _,Mc as a,he as b,ee as c,Am as createVueApp,Mt as d,re as e,j as o,bt as r,Ne as w};
|
|
function __vite__mapDeps(indexes) {
|
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
__vite__mapDeps.viteFileDeps = []
|
|
}
|
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
} |