Files
thejinchao.github.io/assets/app-DlommLbD.js
T

31 lines
242 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/about.html-BnEMLcqZ.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-jPVMq3lp.js","assets/index.html-gMM-Tcqk.js","assets/index.html-BP5ZChLS.js","assets/flip_coin.html-B2WEW5Us.js","assets/index.html-DjkAC4H8.js","assets/mental_poker.html-NukViYhN.js","assets/rsa.html-DkW71JZH.js","assets/index.html-BOW7o10m.js","assets/index.html-IbfWY_do.js","assets/group.html-CpuVx9QA.js","assets/index.html-BoggU2W0.js","assets/linear_algebra.html-D2rwkcWr.js","assets/number_theory_1.html-DxR9wxh5.js","assets/number_theory_2.html-D_7QOhMm.js","assets/number_theory_3.html-DlPu_try.js","assets/probability.html-CcUq30wr.js","assets/symbol.html-B89a6TZU.js","assets/DH.html-XHTT2Dni.js","assets/Ellipse.html-jPnF-eHK.js","assets/Fibonacci.html-Dfag1Tc5.js","assets/JPEG001.html-tWNO9VdD.js","assets/JPEG002.html-BEmu0vf2.js","assets/JPEG003.html-D9Ortpcj.js","assets/JPEG004.html-DcmzbaxE.js","assets/JPEG005.html-CrflKMjW.js","assets/Martingle.html-CrN7W3v6.js","assets/MentalPoker01.html-DQgCJzB7.js","assets/MentalPoker02.html-COcBjpS-.js","assets/RandRound.html-C2MbgskP.js","assets/SPH001.html-D2MTcfUh.js","assets/SPH002.html-zxw79sTo.js","assets/SPH003.html-_EEngzPo.js","assets/SPH004.html-Cl8MDUJ-.js","assets/SegmentCircle.html-BmcqcBYE.js","assets/BezierLine01.html-CCv3Q06c.js","assets/BezierLine02.html-je2Sr2gz.js","assets/index.html-wTPaBKgF.js","assets/ibl_01.html-9-g3WOr_.js","assets/ibl_02.html-B9w0S9ZM.js","assets/index.html-DvOuOIj1.js","assets/index.html-CtAhYpjx.js","assets/math_01.html-BiHpFlvW.js","assets/math_02.html-DU7nOJT4.js","assets/math_03.html-DPY6uVlX.js","assets/transform_01.html-BWc2obRV.js","assets/transform_02.html-BBme5AL7.js","assets/transform_03.html-0Spljc9Z.js","assets/transform_04.html-B91CMNsE.js","assets/index.html-Xf2P60os.js","assets/raster01.html-CiDi8IIr.js","assets/raster02.html-DaZmjPFr.js","assets/raster03.html-CZ6-ezPj.js","assets/function.html-BPDZyrA7.js","assets/grammar.html-JXO2EZb3.js","assets/helloworld.html-DXN6yoiB.js","assets/index.html-CkI9T8iX.js","assets/object_and_class.html-C8Sq9bvd.js","assets/BRDF.html-BcMwSED8.js","assets/illumination_model_01.html-B8okaqnE.js","assets/luminosity.html-QezvYI4b.js","assets/microfacets_1.html-DtDbnYGH.js","assets/microfacets_2.html-C3jhKwje.js","assets/microfacets_3.html-M4UREu0c.js","assets/render_function_1.html-DfDAw2P3.js","assets/404.html-DPwPvEI9.js","assets/index.html-DoEtvOh-.js","assets/index.html-BnSbgljJ.js","assets/index.html-CUvLlIy5.js","assets/index.html-B2GzXoS9.js","assets/index.html-Xz77KHqc.js","assets/index.html-CHHuyI8G.js","assets/index.html-DS3csrkE.js","assets/index.html-B4J2mk8T.js"])))=>i.map(i=>d[i]);
/**
* @vue/shared v3.5.20
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function El(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ye={},Rn=[],Ct=()=>{},Us=()=>!1,wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sl=e=>e.startsWith("onUpdate:"),Re=Object.assign,Tl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yu=Object.prototype.hasOwnProperty,he=(e,t)=>Yu.call(e,t),oe=Array.isArray,rr=e=>io(e)==="[object Map]",Qu=e=>io(e)==="[object Set]",re=e=>typeof e=="function",Oe=e=>typeof e=="string",Gn=e=>typeof e=="symbol",Ee=e=>e!==null&&typeof e=="object",Ws=e=>(Ee(e)||re(e))&&re(e.then)&&re(e.catch),Xu=Object.prototype.toString,io=e=>Xu.call(e),Zu=e=>io(e).slice(8,-1),ef=e=>io(e)==="[object Object]",xl=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,On=El(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),co=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},tf=/-(\w)/g,Ye=co(e=>e.replace(tf,(t,n)=>n?n.toUpperCase():"")),nf=/\B([A-Z])/g,yn=co(e=>e.replace(nf,"-$1").toLowerCase()),Er=co(e=>e.charAt(0).toUpperCase()+e.slice(1)),So=co(e=>e?`on${Er(e)}`:""),en=(e,t)=>!Object.is(e,t),To=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},qs=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},rf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},of=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let va;const uo=()=>va||(va=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cl(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Oe(r)?cf(r):Cl(r);if(o)for(const l in o)t[l]=o[l]}return t}else if(Oe(e)||Ee(e))return e}const lf=/;(?![^(]*\))/g,af=/:([^]+)/,sf=/\/\*[^]*?\*\//g;function cf(e){const t={};return e.replace(sf,"").split(lf).forEach(n=>{if(n){const r=n.split(af);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function kl(e){let t="";if(Oe(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=kl(e[n]);r&&(t+=r+" ")}else if(Ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const uf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ff=El(uf);function Gs(e){return!!e||e===""}/**
* @vue/reactivity v3.5.20
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let je;class df{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){++this._on===1&&(this.prevScope=je,je=this)}off(){this._on>0&&--this._on===0&&(je=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function Ks(){return je}function pf(e,t=!1){je&&je.cleanups.push(e)}let be;const xo=new WeakSet;class Js{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,je&&je.active&&je.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xo.has(this)&&(xo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Qs(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ma(this),Xs(this);const t=be,n=gt;be=this,gt=!0;try{return this.fn()}finally{Zs(this),be=t,gt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Al(t);this.deps=this.depsTail=void 0,ma(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yo(this)&&this.run()}get dirty(){return Yo(this)}}let Ys=0,or,lr;function Qs(e,t=!1){if(e.flags|=8,t){e.next=lr,lr=e;return}e.next=or,or=e}function Pl(){Ys++}function Ll(){if(--Ys>0)return;if(lr){let t=lr;for(lr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;or;){let t=or;for(or=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Xs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zs(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Al(r),hf(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Yo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pr)||(e.globalVersion=pr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Yo(e))))return;e.flags|=2;const t=e.dep,n=be,r=gt;be=e,gt=!0;try{Xs(e);const o=e.fn(e._value);(t.version===0||en(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{be=n,gt=r,Zs(e),e.flags&=-3}}function Al(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Al(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gt=!0;const ti=[];function jt(){ti.push(gt),gt=!1}function Ht(){const e=ti.pop();gt=e===void 0?!0:e}function ma(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let pr=0;class vf{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class fo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!be||!gt||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new vf(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,ni(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=r)}return n}trigger(t){this.version++,pr++,this.notify(t)}notify(t){Pl();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ll()}}}function ni(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)ni(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qr=new WeakMap,pn=Symbol(""),Qo=Symbol(""),hr=Symbol("");function He(e,t,n){if(gt&&be){let r=Qr.get(e);r||Qr.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new fo),o.map=r,o.key=n),o.track()}}function Nt(e,t,n,r,o,l){const a=Qr.get(e);if(!a){pr++;return}const s=i=>{i&&i.trigger()};if(Pl(),t==="clear")a.forEach(s);else{const i=oe(e),f=i&&xl(n);if(i&&n==="length"){const c=Number(r);a.forEach((d,p)=>{(p==="length"||p===hr||!Gn(p)&&p>=c)&&s(d)})}else switch((n!==void 0||a.has(void 0))&&s(a.get(n)),f&&s(a.get(hr)),t){case"add":i?f&&s(a.get("length")):(s(a.get(pn)),rr(e)&&s(a.get(Qo)));break;case"delete":i||(s(a.get(pn)),rr(e)&&s(a.get(Qo)));break;case"set":rr(e)&&s(a.get(pn));break}}Ll()}function mf(e,t){const n=Qr.get(e);return n&&n.get(t)}function Tn(e){const t=ie(e);return t===e?t:(He(t,"iterate",hr),bt(e)?t:t.map(ze))}function Rl(e){return He(e=ie(e),"iterate",hr),e}const gf={__proto__:null,[Symbol.iterator](){return Co(this,Symbol.iterator,ze)},concat(...e){return Tn(this).concat(...e.map(t=>oe(t)?Tn(t):t))},entries(){return Co(this,"entries",e=>(e[1]=ze(e[1]),e))},every(e,t){return Rt(this,"every",e,t,void 0,arguments)},filter(e,t){return Rt(this,"filter",e,t,n=>n.map(ze),arguments)},find(e,t){return Rt(this,"find",e,t,ze,arguments)},findIndex(e,t){return Rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rt(this,"findLast",e,t,ze,arguments)},findLastIndex(e,t){return Rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ko(this,"includes",e)},indexOf(...e){return ko(this,"indexOf",e)},join(e){return Tn(this).join(e)},lastIndexOf(...e){return ko(this,"lastIndexOf",e)},map(e,t){return Rt(this,"map",e,t,void 0,arguments)},pop(){return Zn(this,"pop")},push(...e){return Zn(this,"push",e)},reduce(e,...t){return ga(this,"reduce",e,t)},reduceRight(e,...t){return ga(this,"reduceRight",e,t)},shift(){return Zn(this,"shift")},some(e,t){return Rt(this,"some",e,t,void 0,arguments)},splice(...e){return Zn(this,"splice",e)},toReversed(){return Tn(this).toReversed()},toSorted(e){return Tn(this).toSorted(e)},toSpliced(...e){return Tn(this).toSpliced(...e)},unshift(...e){return Zn(this,"unshift",e)},values(){return Co(this,"values",ze)}};function Co(e,t,n){const r=Rl(e),o=r[t]();return r!==e&&!bt(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.value&&(l.value=n(l.value)),l}),o}const bf=Array.prototype;function Rt(e,t,n,r,o,l){const a=Rl(e),s=a!==e&&!bt(e),i=a[t];if(i!==bf[t]){const d=i.apply(e,l);return s?ze(d):d}let f=n;a!==e&&(s?f=function(d,p){return n.call(this,ze(d),p,e)}:n.length>2&&(f=function(d,p){return n.call(this,d,p,e)}));const c=i.call(a,f,r);return s&&o?o(c):c}function ga(e,t,n,r){const o=Rl(e);let l=n;return o!==e&&(bt(e)?n.length>3&&(l=function(a,s,i){return n.call(this,a,s,i,e)}):l=function(a,s,i){return n.call(this,a,ze(s),i,e)}),o[t](l,...r)}function ko(e,t,n){const r=ie(e);He(r,"iterate",hr);const o=r[t](...n);return(o===-1||o===!1)&&Ol(n[0])?(n[0]=ie(n[0]),r[t](...n)):o}function Zn(e,t,n=[]){jt(),Pl();const r=ie(e)[t].apply(e,n);return Ll(),Ht(),r}const yf=El("__proto__,__v_isRef,__isVue"),ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Gn));function _f(e){Gn(e)||(e=String(e));const t=ie(this);return He(t,"has",e),t.hasOwnProperty(e)}class oi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?ui:ci:l?ii:si).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=oe(t);if(!o){let i;if(a&&(i=gf[n]))return i;if(n==="hasOwnProperty")return _f}const s=Reflect.get(t,n,ke(t)?t:r);return(Gn(n)?ri.has(n):yf(n))||(o||He(t,"get",n),l)?s:ke(s)?a&&xl(n)?s:s.value:Ee(s)?o?ho(s):mn(s):s}}class li extends oi{constructor(t=!1){super(!1,t)}set(t,n,r,o){let l=t[n];if(!this._isShallow){const i=gn(l);if(!bt(r)&&!gn(r)&&(l=ie(l),r=ie(r)),!oe(t)&&ke(l)&&!ke(r))return i||(l.value=r),!0}const a=oe(t)&&xl(n)?Number(n)<t.length:he(t,n),s=Reflect.set(t,n,r,ke(t)?t:o);return t===ie(o)&&(a?en(r,l)&&Nt(t,"set",n,r):Nt(t,"add",n,r)),s}deleteProperty(t,n){const r=he(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Nt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Gn(n)||!ri.has(n))&&He(t,"has",n),r}ownKeys(t){return He(t,"iterate",oe(t)?"length":pn),Reflect.ownKeys(t)}}class ai extends oi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const wf=new li,Ef=new ai,Sf=new li(!0),Tf=new ai(!0),Xo=e=>e,Mr=e=>Reflect.getPrototypeOf(e);function xf(e,t,n){return function(...r){const o=this.__v_raw,l=ie(o),a=rr(l),s=e==="entries"||e===Symbol.iterator&&a,i=e==="keys"&&a,f=o[e](...r),c=n?Xo:t?Zo:ze;return!t&&He(l,"iterate",i?Qo:pn),{next(){const{value:d,done:p}=f.next();return p?{value:d,done:p}:{value:s?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Dr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cf(e,t){const n={get(o){const l=this.__v_raw,a=ie(l),s=ie(o);e||(en(o,s)&&He(a,"get",o),He(a,"get",s));const{has:i}=Mr(a),f=t?Xo:e?Zo:ze;if(i.call(a,o))return f(l.get(o));if(i.call(a,s))return f(l.get(s));l!==a&&l.get(o)},get size(){const o=this.__v_raw;return!e&&He(ie(o),"iterate",pn),o.size},has(o){const l=this.__v_raw,a=ie(l),s=ie(o);return e||(en(o,s)&&He(a,"has",o),He(a,"has",s)),o===s?l.has(o):l.has(o)||l.has(s)},forEach(o,l){const a=this,s=a.__v_raw,i=ie(s),f=t?Xo:e?Zo:ze;return!e&&He(i,"iterate",pn),s.forEach((c,d)=>o.call(l,f(c),f(d),a))}};return Re(n,e?{add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear")}:{add(o){!t&&!bt(o)&&!gn(o)&&(o=ie(o));const l=ie(this);return Mr(l).has.call(l,o)||(l.add(o),Nt(l,"add",o,o)),this},set(o,l){!t&&!bt(l)&&!gn(l)&&(l=ie(l));const a=ie(this),{has:s,get:i}=Mr(a);let f=s.call(a,o);f||(o=ie(o),f=s.call(a,o));const c=i.call(a,o);return a.set(o,l),f?en(l,c)&&Nt(a,"set",o,l):Nt(a,"add",o,l),this},delete(o){const l=ie(this),{has:a,get:s}=Mr(l);let i=a.call(l,o);i||(o=ie(o),i=a.call(l,o)),s&&s.call(l,o);const f=l.delete(o);return i&&Nt(l,"delete",o,void 0),f},clear(){const o=ie(this),l=o.size!==0,a=o.clear();return l&&Nt(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=xf(o,e,t)}),n}function po(e,t){const n=Cf(e,t);return(r,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(he(n,o)&&o in r?n:r,o,l)}const kf={get:po(!1,!1)},Pf={get:po(!1,!0)},Lf={get:po(!0,!1)},Af={get:po(!0,!0)},si=new WeakMap,ii=new WeakMap,ci=new WeakMap,ui=new WeakMap;function Rf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Of(e){return e.__v_skip||!Object.isExtensible(e)?0:Rf(Zu(e))}function mn(e){return gn(e)?e:vo(e,!1,wf,kf,si)}function fi(e){return vo(e,!1,Sf,Pf,ii)}function ho(e){return vo(e,!0,Ef,Lf,ci)}function If(e){return vo(e,!0,Tf,Af,ui)}function vo(e,t,n,r,o){if(!Ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=Of(e);if(l===0)return e;const a=o.get(e);if(a)return a;const s=new Proxy(e,l===2?r:n);return o.set(e,s),s}function In(e){return gn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function gn(e){return!!(e&&e.__v_isReadonly)}function bt(e){return!!(e&&e.__v_isShallow)}function Ol(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function $f(e){return!he(e,"__v_skip")&&Object.isExtensible(e)&&qs(e,"__v_skip",!0),e}const ze=e=>Ee(e)?mn(e):e,Zo=e=>Ee(e)?ho(e):e;function ke(e){return e?e.__v_isRef===!0:!1}function de(e){return di(e,!1)}function le(e){return di(e,!0)}function di(e,t){return ke(e)?e:new Mf(e,t)}class Mf{constructor(t,n){this.dep=new fo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||bt(t)||gn(t);t=r?t:ie(t),en(t,n)&&(this._rawValue=t,this._value=r?t:ze(t),this.dep.trigger())}}function tn(e){return ke(e)?e.value:e}function ce(e){return re(e)?e():tn(e)}const Df={get:(e,t,n)=>t==="__v_raw"?e:tn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ke(o)&&!ke(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function pi(e){return In(e)?e:new Proxy(e,Df)}class Nf{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new fo,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function hi(e){return new Nf(e)}class jf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return mf(ie(this._object),this._key)}}class Hf{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function mo(e,t,n){return ke(e)?e:re(e)?new Hf(e):Ee(e)&&arguments.length>1?Vf(e,t,n):de(e)}function Vf(e,t,n){const r=e[t];return ke(r)?r:new jf(e,t,n)}class Ff{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new fo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Qs(this,!0),!0}get value(){const t=this.dep.track();return ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Bf(e,t,n=!1){let r,o;return re(e)?r=e:(r=e.get,o=e.set),new Ff(r,o,n)}const Nr={},Xr=new WeakMap;let un;function zf(e,t=!1,n=un){if(n){let r=Xr.get(n);r||Xr.set(n,r=[]),r.push(e)}}function Uf(e,t,n=ye){const{immediate:r,deep:o,once:l,scheduler:a,augmentJob:s,call:i}=n,f=_=>o?_:bt(_)||o===!1||o===0?Zt(_,1):Zt(_);let c,d,p,h,b=!1,y=!1;if(ke(e)?(d=()=>e.value,b=bt(e)):In(e)?(d=()=>f(e),b=!0):oe(e)?(y=!0,b=e.some(_=>In(_)||bt(_)),d=()=>e.map(_=>{if(ke(_))return _.value;if(In(_))return f(_);if(re(_))return i?i(_,2):_()})):re(e)?t?d=i?()=>i(e,2):e:d=()=>{if(p){jt();try{p()}finally{Ht()}}const _=un;un=c;try{return i?i(e,3,[h]):e(h)}finally{un=_}}:d=Ct,t&&o){const _=d,L=o===!0?1/0:o;d=()=>Zt(_(),L)}const E=Ks(),x=()=>{c.stop(),E&&E.active&&Tl(E.effects,c)};if(l&&t){const _=t;t=(...L)=>{_(...L),x()}}let w=y?new Array(e.length).fill(Nr):Nr;const m=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const L=c.run();if(o||b||(y?L.some((V,M)=>en(V,w[M])):en(L,w))){p&&p();const V=un;un=c;try{const M=[L,w===Nr?void 0:y&&w[0]===Nr?[]:w,h];w=L,i?i(t,3,M):t(...M)}finally{un=V}}}else c.run()};return s&&s(m),c=new Js(d),c.scheduler=a?()=>a(m,!1):m,h=_=>zf(_,!1,c),p=c.onStop=()=>{const _=Xr.get(c);if(_){if(i)i(_,4);else for(const L of _)L();Xr.delete(c)}},t?r?m(!0):w=c.run():a?a(m.bind(null,!0),!0):c.run(),x.pause=c.pause.bind(c),x.resume=c.resume.bind(c),x.stop=x,x}function Zt(e,t=1/0,n){if(t<=0||!Ee(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ke(e))Zt(e.value,t,n);else if(oe(e))for(let r=0;r<e.length;r++)Zt(e[r],t,n);else if(Qu(e)||rr(e))e.forEach(r=>{Zt(r,t,n)});else if(ef(e)){for(const r in e)Zt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Zt(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.20
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Sr(e,t,n,r){try{return r?e(...r):e()}catch(o){Tr(o,t,n)}}function yt(e,t,n,r){if(re(e)){const o=Sr(e,t,n,r);return o&&Ws(o)&&o.catch(l=>{Tr(l,t,n)}),o}if(oe(e)){const o=[];for(let l=0;l<e.length;l++)o.push(yt(e[l],t,n,r));return o}}function Tr(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||ye;if(t){let s=t.parent;const i=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,f)===!1)return}s=s.parent}if(l){jt(),Sr(l,null,10,[e,i,f]),Ht();return}}Wf(e,n,o,r,a)}function Wf(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Ue=[];let Tt=-1;const $n=[];let Yt=null,Cn=0;const vi=Promise.resolve();let Zr=null;function rn(e){const t=Zr||vi;return e?t.then(this?e.bind(this):e):t}function qf(e){let t=Tt+1,n=Ue.length;for(;t<n;){const r=t+n>>>1,o=Ue[r],l=vr(o);l<e||l===e&&o.flags&2?t=r+1:n=r}return t}function Il(e){if(!(e.flags&1)){const t=vr(e),n=Ue[Ue.length-1];!n||!(e.flags&2)&&t>=vr(n)?Ue.push(e):Ue.splice(qf(t),0,e),e.flags|=1,mi()}}function mi(){Zr||(Zr=vi.then(gi))}function Gf(e){oe(e)?$n.push(...e):Yt&&e.id===-1?Yt.splice(Cn+1,0,e):e.flags&1||($n.push(e),e.flags|=1),mi()}function ba(e,t,n=Tt+1){for(;n<Ue.length;n++){const r=Ue[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ue.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function eo(e){if($n.length){const t=[...new Set($n)].sort((n,r)=>vr(n)-vr(r));if($n.length=0,Yt){Yt.push(...t);return}for(Yt=t,Cn=0;Cn<Yt.length;Cn++){const n=Yt[Cn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Yt=null,Cn=0}}const vr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(Tt=0;Tt<Ue.length;Tt++){const t=Ue[Tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Sr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Tt<Ue.length;Tt++){const t=Ue[Tt];t&&(t.flags&=-2)}Tt=-1,Ue.length=0,eo(),Zr=null,(Ue.length||$n.length)&&gi()}}let mt=null,bi=null;function to(e){const t=mt;return mt=e,bi=e&&e.type.__scopeId||null,t}function Kf(e,t=mt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Aa(-1);const l=to(t);let a;try{a=e(...o)}finally{to(l),r._d&&Aa(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function xt(e,t,n,r){const o=e.dirs,l=t&&t.dirs;for(let a=0;a<o.length;a++){const s=o[a];l&&(s.oldValue=l[a].value);let i=s.dir[r];i&&(jt(),yt(i,n,8,[e.el,s,e,t]),Ht())}}const Jf=Symbol("_vte"),yi=e=>e.__isTeleport,Dt=Symbol("_leaveCb"),jr=Symbol("_enterCb");function _i(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Te(()=>{e.isMounted=!0}),Dl(()=>{e.isUnmounting=!0}),e}const at=[Function,Array],wi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},Ei=e=>{const t=e.subTree;return t.component?Ei(t.component):t},Yf={name:"BaseTransition",props:wi,setup(e,{slots:t}){const n=Ut(),r=_i();return()=>{const o=t.default&&$l(t.default(),!0);if(!o||!o.length)return;const l=Si(o),a=ie(e),{mode:s}=a;if(r.isLeaving)return Po(l);const i=ya(l);if(!i)return Po(l);let f=mr(i,a,r,n,d=>f=d);i.type!==We&&bn(i,f);let c=n.subTree&&ya(n.subTree);if(c&&c.type!==We&&!fn(i,c)&&Ei(n).type!==We){let d=mr(c,a,r,n);if(bn(c,d),s==="out-in"&&i.type!==We)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},Po(l);s==="in-out"&&i.type!==We?d.delayLeave=(p,h,b)=>{const y=Ti(r,c);y[String(c.key)]=c,p[Dt]=()=>{h(),p[Dt]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{b(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return l}}};function Si(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==We){t=n;break}}return t}const Qf=Yf;function Ti(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 mr(e,t,n,r,o){const{appear:l,mode:a,persisted:s=!1,onBeforeEnter:i,onEnter:f,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:y,onBeforeAppear:E,onAppear:x,onAfterAppear:w,onAppearCancelled:m}=t,_=String(e.key),L=Ti(n,e),V=(C,I)=>{C&&yt(C,r,9,I)},M=(C,I)=>{const H=I[1];V(C,I),oe(C)?C.every(O=>O.length<=1)&&H():C.length<=1&&H()},F={mode:a,persisted:s,beforeEnter(C){let I=i;if(!n.isMounted)if(l)I=E||i;else return;C[Dt]&&C[Dt](!0);const H=L[_];H&&fn(e,H)&&H.el[Dt]&&H.el[Dt](),V(I,[C])},enter(C){let I=f,H=c,O=d;if(!n.isMounted)if(l)I=x||f,H=w||c,O=m||d;else return;let Q=!1;const W=C[jr]=X=>{Q||(Q=!0,X?V(O,[C]):V(H,[C]),F.delayedLeave&&F.delayedLeave(),C[jr]=void 0)};I?M(I,[C,W]):W()},leave(C,I){const H=String(e.key);if(C[jr]&&C[jr](!0),n.isUnmounting)return I();V(p,[C]);let O=!1;const Q=C[Dt]=W=>{O||(O=!0,I(),W?V(y,[C]):V(b,[C]),C[Dt]=void 0,L[H]===e&&delete L[H])};L[H]=e,h?M(h,[C,Q]):Q()},clone(C){const I=mr(C,t,n,r,o);return o&&o(I),I}};return F}function Po(e){if(xr(e))return e=nn(e),e.children=null,e}function ya(e){if(!xr(e))return yi(e.type)&&e.children?Si(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&re(n.default))return n.default()}}function bn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,bn(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 $l(e,t=!1,n){let r=[],o=0;for(let l=0;l<e.length;l++){let a=e[l];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:l);a.type===Je?(a.patchFlag&128&&o++,r=r.concat($l(a.children,t,s))):(t||a.type!==We)&&r.push(s!=null?nn(a,{key:s}):a)}if(o>1)for(let l=0;l<r.length;l++)r[l].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function J(e,t){return re(e)?Re({name:e.name},t,{setup:e}):e}function xi(){const e=Ut();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Ml(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mn(e,t,n,r,o=!1){if(oe(e)){e.forEach((b,y)=>Mn(b,t&&(oe(t)?t[y]:t),n,r,o));return}if(Dn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Mn(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?Bl(r.component):r.el,a=o?null:l,{i:s,r:i}=e,f=t&&t.r,c=s.refs===ye?s.refs={}:s.refs,d=s.setupState,p=ie(d),h=d===ye?Us:b=>he(p,b);if(f!=null&&f!==i){if(Oe(f))c[f]=null,h(f)&&(d[f]=null);else if(ke(f)){f.value=null;const b=t;b.k&&(c[b.k]=null)}}if(re(i))Sr(i,s,12,[a,c]);else{const b=Oe(i),y=ke(i);if(b||y){const E=()=>{if(e.f){const x=b?h(i)?d[i]:c[i]:i.value;if(o)oe(x)&&Tl(x,l);else if(oe(x))x.includes(l)||x.push(l);else if(b)c[i]=[l],h(i)&&(d[i]=c[i]);else{const w=[l];i.value=w,e.k&&(c[e.k]=w)}}else b?(c[i]=a,h(i)&&(d[i]=a)):y&&(i.value=a,e.k&&(c[e.k]=a))};a?(E.id=-1,nt(E,n)):E()}}}let _a=!1;const xn=()=>{_a||(console.error("Hydration completed but contains mismatches."),_a=!0)},Xf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Zf=e=>e.namespaceURI.includes("MathML"),Hr=e=>{if(e.nodeType===1){if(Xf(e))return"svg";if(Zf(e))return"mathml"}},Ln=e=>e.nodeType===8;function ed(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:l,parentNode:a,remove:s,insert:i,createComment:f}}=e,c=(m,_)=>{if(!_.hasChildNodes()){n(null,m,_),eo(),_._vnode=m;return}d(_.firstChild,m,null,null,null),eo(),_._vnode=m},d=(m,_,L,V,M,F=!1)=>{F=F||!!_.dynamicChildren;const C=Ln(m)&&m.data==="[",I=()=>y(m,_,L,V,M,C),{type:H,ref:O,shapeFlag:Q,patchFlag:W}=_;let X=m.nodeType;_.el=m,W===-2&&(F=!1,_.dynamicChildren=null);let D=null;switch(H){case vn:X!==3?_.children===""?(i(_.el=o(""),a(m),m),D=m):D=I():(m.data!==_.children&&(xn(),m.data=_.children),D=l(m));break;case We:w(m)?(D=l(m),x(_.el=m.content.firstChild,m,L)):X!==8||C?D=I():D=l(m);break;case sr:if(C&&(m=l(m),X=m.nodeType),X===1||X===3){D=m;const te=!_.children.length;for(let K=0;K<_.staticCount;K++)te&&(_.children+=D.nodeType===1?D.outerHTML:D.data),K===_.staticCount-1&&(_.anchor=D),D=l(D);return C?l(D):D}else I();break;case Je:C?D=b(m,_,L,V,M,F):D=I();break;default:if(Q&1)(X!==1||_.type.toLowerCase()!==m.tagName.toLowerCase())&&!w(m)?D=I():D=p(m,_,L,V,M,F);else if(Q&6){_.slotScopeIds=M;const te=a(m);if(C?D=E(m):Ln(m)&&m.data==="teleport start"?D=E(m,m.data,"teleport end"):D=l(m),t(_,te,null,L,V,Hr(te),F),Dn(_)&&!_.type.__asyncResolved){let K;C?(K=Ae(Je),K.anchor=D?D.previousSibling:te.lastChild):K=m.nodeType===3?Yi(""):Ae("div"),K.el=m,_.component.subTree=K}}else Q&64?X!==8?D=I():D=_.type.hydrate(m,_,L,V,M,F,e,h):Q&128&&(D=_.type.hydrate(m,_,L,V,Hr(a(m)),M,F,e,d))}return O!=null&&Mn(O,null,V,_),D},p=(m,_,L,V,M,F)=>{F=F||!!_.dynamicChildren;const{type:C,props:I,patchFlag:H,shapeFlag:O,dirs:Q,transition:W}=_,X=C==="input"||C==="option";if(X||H!==-1){Q&&xt(_,null,L,"created");let D=!1;if(w(m)){D=Vi(null,W)&&L&&L.vnode.props&&L.vnode.props.appear;const K=m.content.firstChild;if(D){const ae=K.getAttribute("class");ae&&(K.$cls=ae),W.beforeEnter(K)}x(K,m,L),_.el=m=K}if(O&16&&!(I&&(I.innerHTML||I.textContent))){let K=h(m.firstChild,_,m,L,V,M,F);for(;K;){Vr(m,1)||xn();const ae=K;K=K.nextSibling,s(ae)}}else if(O&8){let K=_.children;K[0]===`
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(K=K.slice(1)),m.textContent!==K&&(Vr(m,0)||xn(),m.textContent=_.children)}if(I){if(X||!F||H&48){const K=m.tagName.includes("-");for(const ae in I)(X&&(ae.endsWith("value")||ae==="indeterminate")||wr(ae)&&!On(ae)||ae[0]==="."||K)&&r(m,ae,null,I[ae],void 0,L)}else if(I.onClick)r(m,"onClick",null,I.onClick,void 0,L);else if(H&4&&In(I.style))for(const K in I.style)I.style[K]}let te;(te=I&&I.onVnodeBeforeMount)&&st(te,L,_),Q&&xt(_,null,L,"beforeMount"),((te=I&&I.onVnodeMounted)||Q||D)&&Gi(()=>{te&&st(te,L,_),D&&W.enter(m),Q&&xt(_,null,L,"mounted")},V)}return m.nextSibling},h=(m,_,L,V,M,F,C)=>{C=C||!!_.dynamicChildren;const I=_.children,H=I.length;for(let O=0;O<H;O++){const Q=C?I[O]:I[O]=ct(I[O]),W=Q.type===vn;m?(W&&!C&&O+1<H&&ct(I[O+1]).type===vn&&(i(o(m.data.slice(Q.children.length)),L,l(m)),m.data=Q.children),m=d(m,Q,V,M,F,C)):W&&!Q.children?i(Q.el=o(""),L):(Vr(L,1)||xn(),n(null,Q,L,null,V,M,Hr(L),F))}return m},b=(m,_,L,V,M,F)=>{const{slotScopeIds:C}=_;C&&(M=M?M.concat(C):C);const I=a(m),H=h(l(m),_,I,L,V,M,F);return H&&Ln(H)&&H.data==="]"?l(_.anchor=H):(xn(),i(_.anchor=f("]"),I,H),H)},y=(m,_,L,V,M,F)=>{if(Vr(m.parentElement,1)||xn(),_.el=null,F){const H=E(m);for(;;){const O=l(m);if(O&&O!==H)s(O);else break}}const C=l(m),I=a(m);return s(m),n(null,_,I,C,L,V,Hr(I),M),L&&(L.vnode.el=_.el,Wi(L,_.el)),C},E=(m,_="[",L="]")=>{let V=0;for(;m;)if(m=l(m),m&&Ln(m)&&(m.data===_&&V++,m.data===L)){if(V===0)return l(m);V--}return m},x=(m,_,L)=>{const V=_.parentNode;V&&V.replaceChild(m,_);let M=L;for(;M;)M.vnode.el===_&&(M.vnode.el=M.subTree.el=m),M=M.parent},w=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[c,d]}const wa="data-allow-mismatch",td={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Vr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(wa);)e=e.parentElement;const n=e&&e.getAttribute(wa);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(td[t])}}uo().requestIdleCallback;uo().cancelIdleCallback;function nd(e,t){if(Ln(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ln(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Dn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function rd(e){re(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:l,timeout:a,suspensible:s=!0,onError:i}=e;let f=null,c,d=0;const p=()=>(d++,f=null,h()),h=()=>{let b;return f||(b=f=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),i)return new Promise((E,x)=>{i(y,()=>E(p()),()=>x(y),d+1)});throw y}).then(y=>b!==f&&f?f:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return J({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(b,y,E){let x=!1;(y.bu||(y.bu=[])).push(()=>x=!0);const w=()=>{x||E()},m=l?()=>{const _=l(w,L=>nd(b,L));_&&(y.bum||(y.bum=[])).push(_)}:w;c?m():h().then(()=>!y.isUnmounted&&m())},get __asyncResolved(){return c},setup(){const b=Me;if(Ml(b),c)return()=>Lo(c,b);const y=m=>{f=null,Tr(m,b,13,!r)};if(s&&b.suspense||Bn)return h().then(m=>()=>Lo(m,b)).catch(m=>(y(m),()=>r?Ae(r,{error:m}):null));const E=de(!1),x=de(),w=de(!!o);return o&&setTimeout(()=>{w.value=!1},o),a!=null&&setTimeout(()=>{if(!E.value&&!x.value){const m=new Error(`Async component timed out after ${a}ms.`);y(m),x.value=m}},a),h().then(()=>{E.value=!0,b.parent&&xr(b.parent.vnode)&&b.parent.update()}).catch(m=>{y(m),x.value=m}),()=>{if(E.value&&c)return Lo(c,b);if(x.value&&r)return Ae(r,{error:x.value});if(n&&!w.value)return Ae(n)}}})}function Lo(e,t){const{ref:n,props:r,children:o,ce:l}=t.vnode,a=Ae(e,r,o);return a.ref=n,a.ce=l,delete t.vnode.ce,a}const xr=e=>e.type.__isKeepAlive;function od(e,t){Ci(e,"a",t)}function ld(e,t){Ci(e,"da",t)}function Ci(e,t,n=Me){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(go(t,r,n),n){let o=n.parent;for(;o&&o.parent;)xr(o.parent.vnode)&&ad(r,t,n,o),o=o.parent}}function ad(e,t,n,r){const o=go(t,e,r,!0);_n(()=>{Tl(r[t],o)},n)}function go(e,t,n=Me,r=!1){if(n){const o=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...a)=>{jt();const s=Cr(n),i=yt(t,n,e,a);return s(),Ht(),i});return r?o.unshift(l):o.push(l),l}}const zt=e=>(t,n=Me)=>{(!Bn||e==="sp")&&go(e,(...r)=>t(...r),n)},sd=zt("bm"),Te=zt("m"),id=zt("bu"),ki=zt("u"),Dl=zt("bum"),_n=zt("um"),cd=zt("sp"),ud=zt("rtg"),fd=zt("rtc");function dd(e,t=Me){go("ec",e,t)}const pd="components";function Se(e,t){return vd(pd,e,!0,t)||e}const hd=Symbol.for("v-ndc");function vd(e,t,n=!0,r=!1){const o=mt||Me;if(o){const l=o.type;{const s=Zd(l,!1);if(s&&(s===t||s===Ye(t)||s===Er(Ye(t))))return l}const a=Ea(o[e]||l[e],t)||Ea(o.appContext[e],t);return!a&&r?l:a}}function Ea(e,t){return e&&(e[t]||e[Ye(t)]||e[Er(Ye(t))])}const el=e=>e?Qi(e)?Bl(e):el(e.parent):null,ar=Re(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=>el(e.parent),$root:e=>el(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Li(e),$forceUpdate:e=>e.f||(e.f=()=>{Il(e.update)}),$nextTick:e=>e.n||(e.n=rn.bind(e.proxy)),$watch:e=>Md.bind(e)}),Ao=(e,t)=>e!==ye&&!e.__isScriptSetup&&he(e,t),md={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:l,accessCache:a,type:s,appContext:i}=e;let f;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return l[t]}else{if(Ao(r,t))return a[t]=1,r[t];if(o!==ye&&he(o,t))return a[t]=2,o[t];if((f=e.propsOptions[0])&&he(f,t))return a[t]=3,l[t];if(n!==ye&&he(n,t))return a[t]=4,n[t];tl&&(a[t]=0)}}const c=ar[t];let d,p;if(c)return t==="$attrs"&&He(e.attrs,"get",""),c(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==ye&&he(n,t))return a[t]=4,n[t];if(p=i.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:l}=e;return Ao(o,t)?(o[t]=n,!0):r!==ye&&he(r,t)?(r[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:l,type:a}},s){let i,f;return!!(n[s]||e!==ye&&s[0]!=="$"&&he(e,s)||Ao(t,s)||(i=l[0])&&he(i,s)||he(r,s)||he(ar,s)||he(o.config.globalProperties,s)||(f=a.__cssModules)&&f[s])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sa(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let tl=!0;function gd(e){const t=Li(e),n=e.proxy,r=e.ctx;tl=!1,t.beforeCreate&&Ta(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:a,watch:s,provide:i,inject:f,created:c,beforeMount:d,mounted:p,beforeUpdate:h,updated:b,activated:y,deactivated:E,beforeDestroy:x,beforeUnmount:w,destroyed:m,unmounted:_,render:L,renderTracked:V,renderTriggered:M,errorCaptured:F,serverPrefetch:C,expose:I,inheritAttrs:H,components:O,directives:Q,filters:W}=t;if(f&&bd(f,r,null),a)for(const te in a){const K=a[te];re(K)&&(r[te]=K.bind(n))}if(o){const te=o.call(n,n);Ee(te)&&(e.data=mn(te))}if(tl=!0,l)for(const te in l){const K=l[te],ae=re(K)?K.bind(n,n):re(K.get)?K.get.bind(n,n):Ct,Xe=!re(K)&&re(K.set)?K.set.bind(n):Ct,Fe=T({get:ae,set:Xe});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ie=>Fe.value=Ie})}if(s)for(const te in s)Pi(s[te],r,n,te);if(i){const te=re(i)?i.call(n):i;Reflect.ownKeys(te).forEach(K=>{Nn(K,te[K])})}c&&Ta(c,e,"c");function D(te,K){oe(K)?K.forEach(ae=>te(ae.bind(n))):K&&te(K.bind(n))}if(D(sd,d),D(Te,p),D(id,h),D(ki,b),D(od,y),D(ld,E),D(dd,F),D(fd,V),D(ud,M),D(Dl,w),D(_n,_),D(cd,C),oe(I))if(I.length){const te=e.exposed||(e.exposed={});I.forEach(K=>{Object.defineProperty(te,K,{get:()=>n[K],set:ae=>n[K]=ae,enumerable:!0})})}else e.exposed||(e.exposed={});L&&e.render===Ct&&(e.render=L),H!=null&&(e.inheritAttrs=H),O&&(e.components=O),Q&&(e.directives=Q),C&&Ml(e)}function bd(e,t,n=Ct){oe(e)&&(e=nl(e));for(const r in e){const o=e[r];let l;Ee(o)?"default"in o?l=Pe(o.from||r,o.default,!0):l=Pe(o.from||r):l=Pe(o),ke(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:a=>l.value=a}):t[r]=l}}function Ta(e,t,n){yt(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pi(e,t,n,r){let o=r.includes(".")?zi(n,r):()=>n[r];if(Oe(e)){const l=t[e];re(l)&&Ce(o,l)}else if(re(e))Ce(o,e.bind(n));else if(Ee(e))if(oe(e))e.forEach(l=>Pi(l,t,n,r));else{const l=re(e.handler)?e.handler.bind(n):t[e.handler];re(l)&&Ce(o,l,e)}}function Li(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:a}}=e.appContext,s=l.get(t);let i;return s?i=s:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(f=>no(i,f,a,!0)),no(i,t,a)),Ee(t)&&l.set(t,i),i}function no(e,t,n,r=!1){const{mixins:o,extends:l}=t;l&&no(e,l,n,!0),o&&o.forEach(a=>no(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=yd[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const yd={data:xa,props:Ca,emits:Ca,methods:nr,computed:nr,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:nr,directives:nr,watch:wd,provide:xa,inject:_d};function xa(e,t){return t?e?function(){return Re(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function _d(e,t){return nr(nl(e),nl(t))}function nl(e){if(oe(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 nr(e,t){return e?Re(Object.create(null),e,t):t}function Ca(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Re(Object.create(null),Sa(e),Sa(t??{})):t}function wd(e,t){if(!e)return t;if(!t)return e;const n=Re(Object.create(null),e);for(const r in t)n[r]=Be(e[r],t[r]);return n}function Ai(){return{app:null,config:{isNativeTag:Us,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 Ed=0;function Sd(e,t){return function(r,o=null){re(r)||(r=Re({},r)),o!=null&&!Ee(o)&&(o=null);const l=Ai(),a=new WeakSet,s=[];let i=!1;const f=l.app={_uid:Ed++,_component:r,_props:o,_container:null,_context:l,_instance:null,version:tp,get config(){return l.config},set config(c){},use(c,...d){return a.has(c)||(c&&re(c.install)?(a.add(c),c.install(f,...d)):re(c)&&(a.add(c),c(f,...d))),f},mixin(c){return l.mixins.includes(c)||l.mixins.push(c),f},component(c,d){return d?(l.components[c]=d,f):l.components[c]},directive(c,d){return d?(l.directives[c]=d,f):l.directives[c]},mount(c,d,p){if(!i){const h=f._ceVNode||Ae(r,o);return h.appContext=l,p===!0?p="svg":p===!1&&(p=void 0),d&&t?t(h,c):e(h,c,p),i=!0,f._container=c,c.__vue_app__=f,Bl(h.component)}},onUnmount(c){s.push(c)},unmount(){i&&(yt(s,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,d){return l.provides[c]=d,f},runWithContext(c){const d=hn;hn=f;try{return c()}finally{hn=d}}};return f}}let hn=null;function Nn(e,t){if(Me){let n=Me.provides;const r=Me.parent&&Me.parent.provides;r===n&&(n=Me.provides=Object.create(r)),n[e]=t}}function Pe(e,t,n=!1){const r=Ut();if(r||hn){let o=hn?hn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&re(t)?t.call(r&&r.proxy):t}}function Ri(){return!!(Ut()||hn)}const Oi={},Ii=()=>Object.create(Oi),$i=e=>Object.getPrototypeOf(e)===Oi;function Td(e,t,n,r=!1){const o={},l=Ii();e.propsDefaults=Object.create(null),Mi(e,t,o,l);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:fi(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function xd(e,t,n,r){const{props:o,attrs:l,vnode:{patchFlag:a}}=e,s=ie(o),[i]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let p=c[d];if(bo(e.emitsOptions,p))continue;const h=t[p];if(i)if(he(l,p))h!==l[p]&&(l[p]=h,f=!0);else{const b=Ye(p);o[b]=rl(i,s,b,h,e,!1)}else h!==l[p]&&(l[p]=h,f=!0)}}}else{Mi(e,t,o,l)&&(f=!0);let c;for(const d in s)(!t||!he(t,d)&&((c=yn(d))===d||!he(t,c)))&&(i?n&&(n[d]!==void 0||n[c]!==void 0)&&(o[d]=rl(i,s,d,void 0,e,!0)):delete o[d]);if(l!==s)for(const d in l)(!t||!he(t,d))&&(delete l[d],f=!0)}f&&Nt(e.attrs,"set","")}function Mi(e,t,n,r){const[o,l]=e.propsOptions;let a=!1,s;if(t)for(let i in t){if(On(i))continue;const f=t[i];let c;o&&he(o,c=Ye(i))?!l||!l.includes(c)?n[c]=f:(s||(s={}))[c]=f:bo(e.emitsOptions,i)||(!(i in r)||f!==r[i])&&(r[i]=f,a=!0)}if(l){const i=ie(n),f=s||ye;for(let c=0;c<l.length;c++){const d=l[c];n[d]=rl(o,i,d,f[d],e,!he(f,d))}}return a}function rl(e,t,n,r,o,l){const a=e[n];if(a!=null){const s=he(a,"default");if(s&&r===void 0){const i=a.default;if(a.type!==Function&&!a.skipFactory&&re(i)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const c=Cr(o);r=f[n]=i.call(null,t),c()}}else r=i;o.ce&&o.ce._setProp(n,r)}a[0]&&(l&&!s?r=!1:a[1]&&(r===""||r===yn(n))&&(r=!0))}return r}const Cd=new WeakMap;function Di(e,t,n=!1){const r=n?Cd:t.propsCache,o=r.get(e);if(o)return o;const l=e.props,a={},s=[];let i=!1;if(!re(e)){const c=d=>{i=!0;const[p,h]=Di(d,t,!0);Re(a,p),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!l&&!i)return Ee(e)&&r.set(e,Rn),Rn;if(oe(l))for(let c=0;c<l.length;c++){const d=Ye(l[c]);ka(d)&&(a[d]=ye)}else if(l)for(const c in l){const d=Ye(c);if(ka(d)){const p=l[c],h=a[d]=oe(p)||re(p)?{type:p}:Re({},p),b=h.type;let y=!1,E=!0;if(oe(b))for(let x=0;x<b.length;++x){const w=b[x],m=re(w)&&w.name;if(m==="Boolean"){y=!0;break}else m==="String"&&(E=!1)}else y=re(b)&&b.name==="Boolean";h[0]=y,h[1]=E,(y||he(h,"default"))&&s.push(d)}}const f=[a,s];return Ee(e)&&r.set(e,f),f}function ka(e){return e[0]!=="$"&&!On(e)}const Nl=e=>e==="_"||e==="_ctx"||e==="$stable",jl=e=>oe(e)?e.map(ct):[ct(e)],kd=(e,t,n)=>{if(t._n)return t;const r=Kf((...o)=>jl(t(...o)),n);return r._c=!1,r},Ni=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Nl(o))continue;const l=e[o];if(re(l))t[o]=kd(o,l,r);else if(l!=null){const a=jl(l);t[o]=()=>a}}},ji=(e,t)=>{const n=jl(t);e.slots.default=()=>n},Hi=(e,t,n)=>{for(const r in t)(n||!Nl(r))&&(e[r]=t[r])},Pd=(e,t,n)=>{const r=e.slots=Ii();if(e.vnode.shapeFlag&32){const o=t._;o?(Hi(r,t,n),n&&qs(r,"_",o,!0)):Ni(t,r)}else t&&ji(e,t)},Ld=(e,t,n)=>{const{vnode:r,slots:o}=e;let l=!0,a=ye;if(r.shapeFlag&32){const s=t._;s?n&&s===1?l=!1:Hi(o,t,n):(l=!t.$stable,Ni(t,o)),a=t}else t&&(ji(e,t),a={default:1});if(l)for(const s in o)!Nl(s)&&a[s]==null&&delete o[s]},nt=Gi;function Ad(e){return Rd(e,ed)}function Rd(e,t){const n=uo();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:a,createText:s,createComment:i,setText:f,setElementText:c,parentNode:d,nextSibling:p,setScopeId:h=Ct,insertStaticContent:b}=e,y=(v,g,S,A=null,P=null,R=null,U=void 0,j=null,N=!!g.dynamicChildren)=>{if(v===g)return;v&&!fn(v,g)&&(A=k(v),Ie(v,P,R,!0),v=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:$,ref:ee,shapeFlag:G}=g;switch($){case vn:E(v,g,S,A);break;case We:x(v,g,S,A);break;case sr:v==null&&w(g,S,A,U);break;case Je:O(v,g,S,A,P,R,U,j,N);break;default:G&1?L(v,g,S,A,P,R,U,j,N):G&6?Q(v,g,S,A,P,R,U,j,N):(G&64||G&128)&&$.process(v,g,S,A,P,R,U,j,N,Y)}ee!=null&&P?Mn(ee,v&&v.ref,R,g||v,!g):ee==null&&v&&v.ref!=null&&Mn(v.ref,null,R,v,!0)},E=(v,g,S,A)=>{if(v==null)r(g.el=s(g.children),S,A);else{const P=g.el=v.el;g.children!==v.children&&f(P,g.children)}},x=(v,g,S,A)=>{v==null?r(g.el=i(g.children||""),S,A):g.el=v.el},w=(v,g,S,A)=>{[v.el,v.anchor]=b(v.children,g,S,A,v.el,v.anchor)},m=({el:v,anchor:g},S,A)=>{let P;for(;v&&v!==g;)P=p(v),r(v,S,A),v=P;r(g,S,A)},_=({el:v,anchor:g})=>{let S;for(;v&&v!==g;)S=p(v),o(v),v=S;o(g)},L=(v,g,S,A,P,R,U,j,N)=>{g.type==="svg"?U="svg":g.type==="math"&&(U="mathml"),v==null?V(g,S,A,P,R,U,j,N):C(v,g,P,R,U,j,N)},V=(v,g,S,A,P,R,U,j)=>{let N,$;const{props:ee,shapeFlag:G,transition:Z,dirs:ne}=v;if(N=v.el=a(v.type,R,ee&&ee.is,ee),G&8?c(N,v.children):G&16&&F(v.children,N,null,A,P,Ro(v,R),U,j),ne&&xt(v,null,A,"created"),M(N,v,v.scopeId,U,A),ee){for(const ge in ee)ge!=="value"&&!On(ge)&&l(N,ge,null,ee[ge],R,A);"value"in ee&&l(N,"value",null,ee.value,R),($=ee.onVnodeBeforeMount)&&st($,A,v)}ne&&xt(v,null,A,"beforeMount");const se=Vi(P,Z);se&&Z.beforeEnter(N),r(N,g,S),(($=ee&&ee.onVnodeMounted)||se||ne)&&nt(()=>{$&&st($,A,v),se&&Z.enter(N),ne&&xt(v,null,A,"mounted")},P)},M=(v,g,S,A,P)=>{if(S&&h(v,S),A)for(let R=0;R<A.length;R++)h(v,A[R]);if(P){let R=P.subTree;if(g===R||qi(R.type)&&(R.ssContent===g||R.ssFallback===g)){const U=P.vnode;M(v,U,U.scopeId,U.slotScopeIds,P.parent)}}},F=(v,g,S,A,P,R,U,j,N=0)=>{for(let $=N;$<v.length;$++){const ee=v[$]=j?Qt(v[$]):ct(v[$]);y(null,ee,g,S,A,P,R,U,j)}},C=(v,g,S,A,P,R,U)=>{const j=g.el=v.el;let{patchFlag:N,dynamicChildren:$,dirs:ee}=g;N|=v.patchFlag&16;const G=v.props||ye,Z=g.props||ye;let ne;if(S&&an(S,!1),(ne=Z.onVnodeBeforeUpdate)&&st(ne,S,g,v),ee&&xt(g,v,S,"beforeUpdate"),S&&an(S,!0),(G.innerHTML&&Z.innerHTML==null||G.textContent&&Z.textContent==null)&&c(j,""),$?I(v.dynamicChildren,$,j,S,A,Ro(g,P),R):U||K(v,g,j,null,S,A,Ro(g,P),R,!1),N>0){if(N&16)H(j,G,Z,S,P);else if(N&2&&G.class!==Z.class&&l(j,"class",null,Z.class,P),N&4&&l(j,"style",G.style,Z.style,P),N&8){const se=g.dynamicProps;for(let ge=0;ge<se.length;ge++){const ve=se[ge],Ke=G[ve],Ne=Z[ve];(Ne!==Ke||ve==="value")&&l(j,ve,Ke,Ne,P,S)}}N&1&&v.children!==g.children&&c(j,g.children)}else!U&&$==null&&H(j,G,Z,S,P);((ne=Z.onVnodeUpdated)||ee)&&nt(()=>{ne&&st(ne,S,g,v),ee&&xt(g,v,S,"updated")},A)},I=(v,g,S,A,P,R,U)=>{for(let j=0;j<g.length;j++){const N=v[j],$=g[j],ee=N.el&&(N.type===Je||!fn(N,$)||N.shapeFlag&198)?d(N.el):S;y(N,$,ee,null,A,P,R,U,!0)}},H=(v,g,S,A,P)=>{if(g!==S){if(g!==ye)for(const R in g)!On(R)&&!(R in S)&&l(v,R,g[R],null,P,A);for(const R in S){if(On(R))continue;const U=S[R],j=g[R];U!==j&&R!=="value"&&l(v,R,j,U,P,A)}"value"in S&&l(v,"value",g.value,S.value,P)}},O=(v,g,S,A,P,R,U,j,N)=>{const $=g.el=v?v.el:s(""),ee=g.anchor=v?v.anchor:s("");let{patchFlag:G,dynamicChildren:Z,slotScopeIds:ne}=g;ne&&(j=j?j.concat(ne):ne),v==null?(r($,S,A),r(ee,S,A),F(g.children||[],S,ee,P,R,U,j,N)):G>0&&G&64&&Z&&v.dynamicChildren?(I(v.dynamicChildren,Z,S,P,R,U,j),(g.key!=null||P&&g===P.subTree)&&Fi(v,g,!0)):K(v,g,S,ee,P,R,U,j,N)},Q=(v,g,S,A,P,R,U,j,N)=>{g.slotScopeIds=j,v==null?g.shapeFlag&512?P.ctx.activate(g,S,A,U,N):W(g,S,A,P,R,U,N):X(v,g,N)},W=(v,g,S,A,P,R,U)=>{const j=v.component=Kd(v,A,P);if(xr(v)&&(j.ctx.renderer=Y),Jd(j,!1,U),j.asyncDep){if(P&&P.registerDep(j,D,U),!v.el){const N=j.subTree=Ae(We);x(null,N,g,S),v.placeholder=N.el}}else D(j,v,g,S,P,R,U)},X=(v,g,S)=>{const A=g.component=v.component;if(Vd(v,g,S))if(A.asyncDep&&!A.asyncResolved){te(A,g,S);return}else A.next=g,A.update();else g.el=v.el,A.vnode=g},D=(v,g,S,A,P,R,U)=>{const j=()=>{if(v.isMounted){let{next:G,bu:Z,u:ne,parent:se,vnode:ge}=v;{const et=Bi(v);if(et){G&&(G.el=ge.el,te(v,G,U)),et.asyncDep.then(()=>{v.isUnmounted||j()});return}}let ve=G,Ke;an(v,!1),G?(G.el=ge.el,te(v,G,U)):G=ge,Z&&To(Z),(Ke=G.props&&G.props.onVnodeBeforeUpdate)&&st(Ke,se,G,ge),an(v,!0);const Ne=Oo(v),ht=v.subTree;v.subTree=Ne,y(ht,Ne,d(ht.el),k(ht),v,P,R),G.el=Ne.el,ve===null&&Wi(v,Ne.el),ne&&nt(ne,P),(Ke=G.props&&G.props.onVnodeUpdated)&&nt(()=>st(Ke,se,G,ge),P)}else{let G;const{el:Z,props:ne}=g,{bm:se,m:ge,parent:ve,root:Ke,type:Ne}=v,ht=Dn(g);if(an(v,!1),se&&To(se),!ht&&(G=ne&&ne.onVnodeBeforeMount)&&st(G,ve,g),an(v,!0),Z&&me){const et=()=>{v.subTree=Oo(v),me(Z,v.subTree,v,P,null)};ht&&Ne.__asyncHydrate?Ne.__asyncHydrate(Z,v,et):et()}else{Ke.ce&&Ke.ce._def.shadowRoot!==!1&&Ke.ce._injectChildStyle(Ne);const et=v.subTree=Oo(v);y(null,et,S,A,v,P,R),g.el=et.el}if(ge&&nt(ge,P),!ht&&(G=ne&&ne.onVnodeMounted)){const et=g;nt(()=>st(G,ve,et),P)}(g.shapeFlag&256||ve&&Dn(ve.vnode)&&ve.vnode.shapeFlag&256)&&v.a&&nt(v.a,P),v.isMounted=!0,g=S=A=null}};v.scope.on();const N=v.effect=new Js(j);v.scope.off();const $=v.update=N.run.bind(N),ee=v.job=N.runIfDirty.bind(N);ee.i=v,ee.id=v.uid,N.scheduler=()=>Il(ee),an(v,!0),$()},te=(v,g,S)=>{g.component=v;const A=v.vnode.props;v.vnode=g,v.next=null,xd(v,g.props,A,S),Ld(v,g.children,S),jt(),ba(v),Ht()},K=(v,g,S,A,P,R,U,j,N=!1)=>{const $=v&&v.children,ee=v?v.shapeFlag:0,G=g.children,{patchFlag:Z,shapeFlag:ne}=g;if(Z>0){if(Z&128){Xe($,G,S,A,P,R,U,j,N);return}else if(Z&256){ae($,G,S,A,P,R,U,j,N);return}}ne&8?(ee&16&&De($,P,R),G!==$&&c(S,G)):ee&16?ne&16?Xe($,G,S,A,P,R,U,j,N):De($,P,R,!0):(ee&8&&c(S,""),ne&16&&F(G,S,A,P,R,U,j,N))},ae=(v,g,S,A,P,R,U,j,N)=>{v=v||Rn,g=g||Rn;const $=v.length,ee=g.length,G=Math.min($,ee);let Z;for(Z=0;Z<G;Z++){const ne=g[Z]=N?Qt(g[Z]):ct(g[Z]);y(v[Z],ne,S,null,P,R,U,j,N)}$>ee?De(v,P,R,!0,!1,G):F(g,S,A,P,R,U,j,N,G)},Xe=(v,g,S,A,P,R,U,j,N)=>{let $=0;const ee=g.length;let G=v.length-1,Z=ee-1;for(;$<=G&&$<=Z;){const ne=v[$],se=g[$]=N?Qt(g[$]):ct(g[$]);if(fn(ne,se))y(ne,se,S,null,P,R,U,j,N);else break;$++}for(;$<=G&&$<=Z;){const ne=v[G],se=g[Z]=N?Qt(g[Z]):ct(g[Z]);if(fn(ne,se))y(ne,se,S,null,P,R,U,j,N);else break;G--,Z--}if($>G){if($<=Z){const ne=Z+1,se=ne<ee?g[ne].el:A;for(;$<=Z;)y(null,g[$]=N?Qt(g[$]):ct(g[$]),S,se,P,R,U,j,N),$++}}else if($>Z)for(;$<=G;)Ie(v[$],P,R,!0),$++;else{const ne=$,se=$,ge=new Map;for($=se;$<=Z;$++){const tt=g[$]=N?Qt(g[$]):ct(g[$]);tt.key!=null&&ge.set(tt.key,$)}let ve,Ke=0;const Ne=Z-se+1;let ht=!1,et=0;const Xn=new Array(Ne);for($=0;$<Ne;$++)Xn[$]=0;for($=ne;$<=G;$++){const tt=v[$];if(Ke>=Ne){Ie(tt,P,R,!0);continue}let Et;if(tt.key!=null)Et=ge.get(tt.key);else for(ve=se;ve<=Z;ve++)if(Xn[ve-se]===0&&fn(tt,g[ve])){Et=ve;break}Et===void 0?Ie(tt,P,R,!0):(Xn[Et-se]=$+1,Et>=et?et=Et:ht=!0,y(tt,g[Et],S,null,P,R,U,j,N),Ke++)}const da=ht?Od(Xn):Rn;for(ve=da.length-1,$=Ne-1;$>=0;$--){const tt=se+$,Et=g[tt],pa=g[tt+1],ha=tt+1<ee?pa.el||pa.placeholder:A;Xn[$]===0?y(null,Et,S,ha,P,R,U,j,N):ht&&(ve<0||$!==da[ve]?Fe(Et,S,ha,2):ve--)}}},Fe=(v,g,S,A,P=null)=>{const{el:R,type:U,transition:j,children:N,shapeFlag:$}=v;if($&6){Fe(v.component.subTree,g,S,A);return}if($&128){v.suspense.move(g,S,A);return}if($&64){U.move(v,g,S,Y);return}if(U===Je){r(R,g,S);for(let G=0;G<N.length;G++)Fe(N[G],g,S,A);r(v.anchor,g,S);return}if(U===sr){m(v,g,S);return}if(A!==2&&$&1&&j)if(A===0)j.beforeEnter(R),r(R,g,S),nt(()=>j.enter(R),P);else{const{leave:G,delayLeave:Z,afterLeave:ne}=j,se=()=>{v.ctx.isUnmounted?o(R):r(R,g,S)},ge=()=>{R._isLeaving&&R[Dt](!0),G(R,()=>{se(),ne&&ne()})};Z?Z(R,se,ge):ge()}else r(R,g,S)},Ie=(v,g,S,A=!1,P=!1)=>{const{type:R,props:U,ref:j,children:N,dynamicChildren:$,shapeFlag:ee,patchFlag:G,dirs:Z,cacheIndex:ne}=v;if(G===-2&&(P=!1),j!=null&&(jt(),Mn(j,null,S,v,!0),Ht()),ne!=null&&(g.renderCache[ne]=void 0),ee&256){g.ctx.deactivate(v);return}const se=ee&1&&Z,ge=!Dn(v);let ve;if(ge&&(ve=U&&U.onVnodeBeforeUnmount)&&st(ve,g,v),ee&6)wt(v.component,S,A);else{if(ee&128){v.suspense.unmount(S,A);return}se&&xt(v,null,g,"beforeUnmount"),ee&64?v.type.remove(v,g,S,Y,A):$&&!$.hasOnce&&(R!==Je||G>0&&G&64)?De($,g,S,!1,!0):(R===Je&&G&384||!P&&ee&16)&&De(N,g,S),A&&Ze(v)}(ge&&(ve=U&&U.onVnodeUnmounted)||se)&&nt(()=>{ve&&st(ve,g,v),se&&xt(v,null,g,"unmounted")},S)},Ze=v=>{const{type:g,el:S,anchor:A,transition:P}=v;if(g===Je){At(S,A);return}if(g===sr){_(v);return}const R=()=>{o(S),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(v.shapeFlag&1&&P&&!P.persisted){const{leave:U,delayLeave:j}=P,N=()=>U(S,R);j?j(v.el,R,N):N()}else R()},At=(v,g)=>{let S;for(;v!==g;)S=p(v),o(v),v=S;o(g)},wt=(v,g,S)=>{const{bum:A,scope:P,job:R,subTree:U,um:j,m:N,a:$}=v;Pa(N),Pa($),A&&To(A),P.stop(),R&&(R.flags|=8,Ie(U,v,g,S)),j&&nt(j,g),nt(()=>{v.isUnmounted=!0},g)},De=(v,g,S,A=!1,P=!1,R=0)=>{for(let U=R;U<v.length;U++)Ie(v[U],g,S,A,P)},k=v=>{if(v.shapeFlag&6)return k(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const g=p(v.anchor||v.el),S=g&&g[Jf];return S?p(S):g};let q=!1;const B=(v,g,S)=>{v==null?g._vnode&&Ie(g._vnode,null,null,!0):y(g._vnode||null,v,g,null,null,null,S),g._vnode=v,q||(q=!0,ba(),eo(),q=!1)},Y={p:y,um:Ie,m:Fe,r:Ze,mt:W,mc:F,pc:K,pbc:I,n:k,o:e};let ue,me;return t&&([ue,me]=t(Y)),{render:B,hydrate:ue,createApp:Sd(B,ue)}}function Ro({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function an({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fi(e,t,n=!1){const r=e.children,o=t.children;if(oe(r)&&oe(o))for(let l=0;l<r.length;l++){const a=r[l];let s=o[l];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=o[l]=Qt(o[l]),s.el=a.el),!n&&s.patchFlag!==-2&&Fi(a,s)),s.type===vn&&s.patchFlag!==-1&&(s.el=a.el),s.type===We&&!s.el&&(s.el=a.el)}}function Od(e){const t=e.slice(),n=[0];let r,o,l,a,s;const i=e.length;for(r=0;r<i;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(l=0,a=n.length-1;l<a;)s=l+a>>1,e[n[s]]<f?l=s+1:a=s;f<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,a=n[l-1];l-- >0;)n[l]=a,a=t[a];return n}function Bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bi(t)}function Pa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Id=Symbol.for("v-scx"),$d=()=>Pe(Id);function Hl(e,t){return Vl(e,null,t)}function Ce(e,t,n){return Vl(e,t,n)}function Vl(e,t,n=ye){const{immediate:r,deep:o,flush:l,once:a}=n,s=Re({},n),i=t&&r||!t&&l!=="post";let f;if(Bn){if(l==="sync"){const h=$d();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!i){const h=()=>{};return h.stop=Ct,h.resume=Ct,h.pause=Ct,h}}const c=Me;s.call=(h,b,y)=>yt(h,c,b,y);let d=!1;l==="post"?s.scheduler=h=>{nt(h,c&&c.suspense)}:l!=="sync"&&(d=!0,s.scheduler=(h,b)=>{b?h():Il(h)}),s.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const p=Uf(e,t,s);return Bn&&(f?f.push(p):i&&p()),p}function Md(e,t,n){const r=this.proxy,o=Oe(e)?e.includes(".")?zi(r,e):()=>r[e]:e.bind(r,r);let l;re(t)?l=t:(l=t.handler,n=t);const a=Cr(this),s=Vl(o,l.bind(r),n);return a(),s}function zi(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}}const Dd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${yn(t)}Modifiers`];function Nd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let o=n;const l=t.startsWith("update:"),a=l&&Dd(r,t.slice(7));a&&(a.trim&&(o=n.map(c=>Oe(c)?c.trim():c)),a.number&&(o=n.map(rf)));let s,i=r[s=So(t)]||r[s=So(Ye(t))];!i&&l&&(i=r[s=So(yn(t))]),i&&yt(i,e,6,o);const f=r[s+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,yt(f,e,6,o)}}function Ui(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const l=e.emits;let a={},s=!1;if(!re(e)){const i=f=>{const c=Ui(f,t,!0);c&&(s=!0,Re(a,c))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!l&&!s?(Ee(e)&&r.set(e,null),null):(oe(l)?l.forEach(i=>a[i]=null):Re(a,l),Ee(e)&&r.set(e,a),a)}function bo(e,t){return!e||!wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,yn(t))||he(e,t))}function Oo(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[l],slots:a,attrs:s,emit:i,render:f,renderCache:c,props:d,data:p,setupState:h,ctx:b,inheritAttrs:y}=e,E=to(e);let x,w;try{if(n.shapeFlag&4){const _=o||r,L=_;x=ct(f.call(L,_,c,d,h,p,b)),w=s}else{const _=t;x=ct(_.length>1?_(d,{attrs:s,slots:a,emit:i}):_(d,null)),w=t.props?s:jd(s)}}catch(_){ir.length=0,Tr(_,e,1),x=Ae(We)}let m=x;if(w&&y!==!1){const _=Object.keys(w),{shapeFlag:L}=m;_.length&&L&7&&(l&&_.some(Sl)&&(w=Hd(w,l)),m=nn(m,w,!1,!0))}return n.dirs&&(m=nn(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&bn(m,n.transition),x=m,to(E),x}const jd=e=>{let t;for(const n in e)(n==="class"||n==="style"||wr(n))&&((t||(t={}))[n]=e[n]);return t},Hd=(e,t)=>{const n={};for(const r in e)(!Sl(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Vd(e,t,n){const{props:r,children:o,component:l}=e,{props:a,children:s,patchFlag:i}=t,f=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?La(r,a,f):!!a;if(i&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const p=c[d];if(a[p]!==r[p]&&!bo(f,p))return!0}}}else return(o||s)&&(!s||!s.$stable)?!0:r===a?!1:r?a?La(r,a,f):!0:!!a;return!1}function La(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 l=r[o];if(t[l]!==e[l]&&!bo(n,l))return!0}return!1}function Wi({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const qi=e=>e.__isSuspense;function Gi(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):Gf(e)}const Je=Symbol.for("v-fgt"),vn=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),sr=Symbol.for("v-stc"),ir=[];let ot=null;function K0(e=!1){ir.push(ot=e?null:[])}function Fd(){ir.pop(),ot=ir[ir.length-1]||null}let gr=1;function Aa(e,t=!1){gr+=e,e<0&&ot&&t&&(ot.hasOnce=!0)}function Bd(e){return e.dynamicChildren=gr>0?ot||Rn:null,Fd(),gr>0&&ot&&ot.push(e),e}function J0(e,t,n,r,o,l){return Bd(Ji(e,t,n,r,o,l,!0))}function ro(e){return e?e.__v_isVNode===!0:!1}function fn(e,t){return e.type===t.type&&e.key===t.key}const Ki=({key:e})=>e??null,Gr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||ke(e)||re(e)?{i:mt,r:e,k:t,f:!!n}:e:null);function Ji(e,t=null,n=null,r=0,o=null,l=e===Je?0:1,a=!1,s=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ki(t),ref:t&&Gr(t),scopeId:bi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:mt};return s?(Fl(i,n),l&128&&e.normalize(i)):n&&(i.shapeFlag|=Oe(n)?8:16),gr>0&&!a&&ot&&(i.patchFlag>0||l&6)&&i.patchFlag!==32&&ot.push(i),i}const Ae=zd;function zd(e,t=null,n=null,r=0,o=null,l=!1){if((!e||e===hd)&&(e=We),ro(e)){const s=nn(e,t,!0);return n&&Fl(s,n),gr>0&&!l&&ot&&(s.shapeFlag&6?ot[ot.indexOf(e)]=s:ot.push(s)),s.patchFlag=-2,s}if(ep(e)&&(e=e.__vccOpts),t){t=Ud(t);let{class:s,style:i}=t;s&&!Oe(s)&&(t.class=kl(s)),Ee(i)&&(Ol(i)&&!oe(i)&&(i=Re({},i)),t.style=Cl(i))}const a=Oe(e)?1:qi(e)?128:yi(e)?64:Ee(e)?4:re(e)?2:0;return Ji(e,t,n,r,o,a,l,!0)}function Ud(e){return e?Ol(e)||$i(e)?Re({},e):e:null}function nn(e,t,n=!1,r=!1){const{props:o,ref:l,patchFlag:a,children:s,transition:i}=e,f=t?Wd(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Ki(f),ref:t&&t.ref?n&&l?oe(l)?l.concat(Gr(t)):[l,Gr(t)]:Gr(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Je?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:i,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return i&&r&&bn(c,i.clone(c)),c}function Yi(e=" ",t=0){return Ae(vn,null,e,t)}function Y0(e,t){const n=Ae(sr,null,e);return n.staticCount=t,n}function ct(e){return e==null||typeof e=="boolean"?Ae(We):oe(e)?Ae(Je,null,e.slice()):ro(e)?Qt(e):Ae(vn,null,String(e))}function Qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Fl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Fl(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!$i(t)?t._ctx=mt:o===3&&mt&&(mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:mt},n=32):(t=String(t),r&64?(n=16,t=[Yi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wd(...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=kl([t.class,r.class]));else if(o==="style")t.style=Cl([t.style,r.style]);else if(wr(o)){const l=t[o],a=r[o];a&&l!==a&&!(oe(l)&&l.includes(a))&&(t[o]=l?[].concat(l,a):a)}else o!==""&&(t[o]=r[o])}return t}function st(e,t,n,r=null){yt(e,t,7,[n,r])}const qd=Ai();let Gd=0;function Kd(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||qd,l={uid:Gd++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new df(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Di(r,o),emitsOptions:Ui(r,o),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Nd.bind(null,l),e.ce&&e.ce(l),l}let Me=null;const Ut=()=>Me||mt;let oo,ol;{const e=uo(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),l=>{o.length>1?o.forEach(a=>a(l)):o[0](l)}};oo=t("__VUE_INSTANCE_SETTERS__",n=>Me=n),ol=t("__VUE_SSR_SETTERS__",n=>Bn=n)}const Cr=e=>{const t=Me;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},Ra=()=>{Me&&Me.scope.off(),oo(null)};function Qi(e){return e.vnode.shapeFlag&4}let Bn=!1;function Jd(e,t=!1,n=!1){t&&ol(t);const{props:r,children:o}=e.vnode,l=Qi(e);Td(e,r,l,t),Pd(e,o,n||t);const a=l?Yd(e,t):void 0;return t&&ol(!1),a}function Yd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,md);const{setup:r}=n;if(r){jt();const o=e.setupContext=r.length>1?Xd(e):null,l=Cr(e),a=Sr(r,e,0,[e.props,o]),s=Ws(a);if(Ht(),l(),(s||e.sp)&&!Dn(e)&&Ml(e),s){if(a.then(Ra,Ra),t)return a.then(i=>{Oa(e,i)}).catch(i=>{Tr(i,e,0)});e.asyncDep=a}else Oa(e,a)}else Xi(e)}function Oa(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ee(t)&&(e.setupState=pi(t)),Xi(e)}function Xi(e,t,n){const r=e.type;e.render||(e.render=r.render||Ct);{const o=Cr(e);jt();try{gd(e)}finally{Ht(),o()}}}const Qd={get(e,t){return He(e,"get",""),e[t]}};function Xd(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qd),slots:e.slots,emit:e.emit,expose:t}}function Bl(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(pi($f(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ar)return ar[n](e)},has(t,n){return n in t||n in ar}})):e.proxy}function Zd(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function ep(e){return re(e)&&"__vccOpts"in e}const T=(e,t)=>Bf(e,t,Bn);function u(e,t,n){const r=arguments.length;return r===2?Ee(t)&&!oe(t)?ro(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ro(n)&&(n=[n]),Ae(e,t,n))}const tp="3.5.20";/**
* @vue/runtime-dom v3.5.20
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ll;const Ia=typeof window<"u"&&window.trustedTypes;if(Ia)try{ll=Ia.createPolicy("vue",{createHTML:e=>e})}catch{}const Zi=ll?e=>ll.createHTML(e):e=>e,np="http://www.w3.org/2000/svg",rp="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,$a=Mt&&Mt.createElement("template"),op={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Mt.createElementNS(np,e):t==="mathml"?Mt.createElementNS(rp,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,l){const a=n?n.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{$a.innerHTML=Zi(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=$a.content;if(r==="svg"||r==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gt="transition",er="animation",zn=Symbol("_vtc"),ec={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},tc=Re({},wi,ec),lp=e=>(e.displayName="Transition",e.props=tc,e),Un=lp((e,{slots:t})=>u(Qf,nc(e),t)),sn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ma=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function nc(e){const t={};for(const O in e)O in ec||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:l=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=l,appearActiveClass:f=a,appearToClass:c=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,b=ap(o),y=b&&b[0],E=b&&b[1],{onBeforeEnter:x,onEnter:w,onEnterCancelled:m,onLeave:_,onLeaveCancelled:L,onBeforeAppear:V=x,onAppear:M=w,onAppearCancelled:F=m}=t,C=(O,Q,W,X)=>{O._enterCancelled=X,Jt(O,Q?c:s),Jt(O,Q?f:a),W&&W()},I=(O,Q)=>{O._isLeaving=!1,Jt(O,d),Jt(O,h),Jt(O,p),Q&&Q()},H=O=>(Q,W)=>{const X=O?M:w,D=()=>C(Q,O,W);sn(X,[Q,D]),Da(()=>{Jt(Q,O?i:l),St(Q,O?c:s),Ma(X)||Na(Q,r,y,D)})};return Re(t,{onBeforeEnter(O){sn(x,[O]),St(O,l),St(O,a)},onBeforeAppear(O){sn(V,[O]),St(O,i),St(O,f)},onEnter:H(!1),onAppear:H(!0),onLeave(O,Q){O._isLeaving=!0;const W=()=>I(O,Q);St(O,d),O._enterCancelled?(St(O,p),al()):(al(),St(O,p)),Da(()=>{O._isLeaving&&(Jt(O,d),St(O,h),Ma(_)||Na(O,r,E,W))}),sn(_,[O,W])},onEnterCancelled(O){C(O,!1,void 0,!0),sn(m,[O])},onAppearCancelled(O){C(O,!0,void 0,!0),sn(F,[O])},onLeaveCancelled(O){I(O),sn(L,[O])}})}function ap(e){if(e==null)return null;if(Ee(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return of(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zn]||(e[zn]=new Set)).add(t)}function Jt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zn];n&&(n.delete(t),n.size||(e[zn]=void 0))}function Da(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let sp=0;function Na(e,t,n,r){const o=e._endId=++sp,l=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(l,n);const{type:a,timeout:s,propCount:i}=rc(e,t);if(!a)return r();const f=a+"end";let c=0;const d=()=>{e.removeEventListener(f,p),l()},p=h=>{h.target===e&&++c>=i&&d()};setTimeout(()=>{c<i&&d()},s+1),e.addEventListener(f,p)}function rc(e,t){const n=window.getComputedStyle(e),r=b=>(n[b]||"").split(", "),o=r(`${Gt}Delay`),l=r(`${Gt}Duration`),a=ja(o,l),s=r(`${er}Delay`),i=r(`${er}Duration`),f=ja(s,i);let c=null,d=0,p=0;t===Gt?a>0&&(c=Gt,d=a,p=l.length):t===er?f>0&&(c=er,d=f,p=i.length):(d=Math.max(a,f),c=d>0?a>f?Gt:er:null,p=c?c===Gt?l.length:i.length:0);const h=c===Gt&&/\b(transform|all)(,|$)/.test(r(`${Gt}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:h}}function ja(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ha(n)+Ha(e[r])))}function Ha(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function al(){return document.body.offsetHeight}function ip(e,t,n){const r=e[zn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Va=Symbol("_vod"),cp=Symbol("_vsh"),up=Symbol(""),fp=/(^|;)\s*display\s*:/;function dp(e,t,n){const r=e.style,o=Oe(n);let l=!1;if(n&&!o){if(t)if(Oe(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&Kr(r,s,"")}else for(const a in t)n[a]==null&&Kr(r,a,"");for(const a in n)a==="display"&&(l=!0),Kr(r,a,n[a])}else if(o){if(t!==n){const a=r[up];a&&(n+=";"+a),r.cssText=n,l=fp.test(n)}}else t&&e.removeAttribute("style");Va in e&&(e[Va]=l?r.display:"",e[cp]&&(r.display="none"))}const Fa=/\s*!important$/;function Kr(e,t,n){if(oe(n))n.forEach(r=>Kr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=pp(e,t);Fa.test(n)?e.setProperty(yn(r),n.replace(Fa,""),"important"):e[r]=n}}const Ba=["Webkit","Moz","ms"],$o={};function pp(e,t){const n=$o[t];if(n)return n;let r=Ye(t);if(r!=="filter"&&r in e)return $o[t]=r;r=Er(r);for(let o=0;o<Ba.length;o++){const l=Ba[o]+r;if(l in e)return $o[t]=l}return t}const za="http://www.w3.org/1999/xlink";function Ua(e,t,n,r,o,l=ff(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(za,t.slice(6,t.length)):e.setAttributeNS(za,t,n):n==null||l&&!Gs(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Gn(n)?String(n):n)}function Wa(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Zi(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const s=l==="OPTION"?e.getAttribute("value")||"":e.value,i=n==null?e.type==="checkbox"?"on":"":String(n);(s!==i||!("_value"in e))&&(e.value=i),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Gs(n):n==null&&s==="string"?(n="",a=!0):s==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function hp(e,t,n,r){e.addEventListener(t,n,r)}function vp(e,t,n,r){e.removeEventListener(t,n,r)}const qa=Symbol("_vei");function mp(e,t,n,r,o=null){const l=e[qa]||(e[qa]={}),a=l[t];if(r&&a)a.value=r;else{const[s,i]=gp(t);if(r){const f=l[t]=_p(r,o);hp(e,s,f,i)}else a&&(vp(e,s,a,i),l[t]=void 0)}}const Ga=/(?:Once|Passive|Capture)$/;function gp(e){let t;if(Ga.test(e)){t={};let r;for(;r=e.match(Ga);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):yn(e.slice(2)),t]}let Mo=0;const bp=Promise.resolve(),yp=()=>Mo||(bp.then(()=>Mo=0),Mo=Date.now());function _p(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yt(wp(r,n.value),t,5,[r])};return n.value=e,n.attached=yp(),n}function wp(e,t){if(oe(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 Ka=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ep=(e,t,n,r,o,l)=>{const a=o==="svg";t==="class"?ip(e,r,a):t==="style"?dp(e,n,r):wr(t)?Sl(t)||mp(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Sp(e,t,r,a))?(Wa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ua(e,t,r,a,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Wa(e,Ye(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ua(e,t,r,a))};function Sp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ka(t)&&re(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ka(t)&&Oe(n)?!1:t in e}const oc=new WeakMap,lc=new WeakMap,lo=Symbol("_moveCb"),Ja=Symbol("_enterCb"),Tp=e=>(delete e.props.mode,e),xp=Tp({name:"TransitionGroup",props:Re({},tc,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ut(),r=_i();let o,l;return ki(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Lp(o[0].el,n.vnode.el,a)){o=[];return}o.forEach(Cp),o.forEach(kp);const s=o.filter(Pp);al(),s.forEach(i=>{const f=i.el,c=f.style;St(f,a),c.transform=c.webkitTransform=c.transitionDuration="";const d=f[lo]=p=>{p&&p.target!==f||(!p||/transform$/.test(p.propertyName))&&(f.removeEventListener("transitionend",d),f[lo]=null,Jt(f,a))};f.addEventListener("transitionend",d)}),o=[]}),()=>{const a=ie(e),s=nc(a);let i=a.tag||Je;if(o=[],l)for(let f=0;f<l.length;f++){const c=l[f];c.el&&c.el instanceof Element&&(o.push(c),bn(c,mr(c,s,r,n)),oc.set(c,c.el.getBoundingClientRect()))}l=t.default?$l(t.default()):[];for(let f=0;f<l.length;f++){const c=l[f];c.key!=null&&bn(c,mr(c,s,r,n))}return Ae(i,null,l)}}}),ac=xp;function Cp(e){const t=e.el;t[lo]&&t[lo](),t[Ja]&&t[Ja]()}function kp(e){lc.set(e,e.el.getBoundingClientRect())}function Pp(e){const t=oc.get(e),n=lc.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${r}px,${o}px)`,l.transitionDuration="0s",e}}function Lp(e,t,n){const r=e.cloneNode(),o=e[zn];o&&o.forEach(s=>{s.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(r);const{hasTransform:a}=rc(r);return l.removeChild(r),a}const Ap=Re({patchProp:Ep},op);let Do,Ya=!1;function Rp(){return Do=Ya?Do:Ad(Ap),Ya=!0,Do}const Op=((...e)=>{const t=Rp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$p(r);if(o)return n(o,!0,Ip(o))},t});function Ip(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $p(e){return Oe(e)?document.querySelector(e):e}var kr=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Mp=/.md((\?|#).*)?$/,yo=(e,t="/")=>kr(e)||e.startsWith("/")&&!e.startsWith(t)&&!Mp.test(e),Pr=e=>/^(https?:)?\/\//.test(e),Qa=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},Dp="http://.",Np=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Qa(new URL(`${n}/${e}`,Dp).pathname)}return Qa(e)},jp=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const l=o.split("/").length-r.split("/").length;return l!==0?l:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Hp=/(#|\?)/,sc=e=>{const[t,...n]=e.split(Hp);return{pathname:t,hashAndQueries:n.join("")}},Vp=["link","meta","script","style","noscript","template"],Fp=["title","base"],Bp=([e,t,n])=>Fp.includes(e)?e:Vp.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,zp=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Bp(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Up=e=>e.startsWith("/")?e:`/${e}`,ic=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,zl=e=>e.endsWith("/")?e.slice(0,-1):e,cc=e=>e.startsWith("/")?e.slice(1):e,wn=e=>Object.prototype.toString.call(e)==="[object Object]",_e=e=>typeof e=="string";const Wp="modulepreload",qp=function(e){return"/"+e},Xa={},z=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let i=function(f){return Promise.all(f.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=a?.nonce||a?.getAttribute("nonce");o=i(n.map(f=>{if(f=qp(f),f in Xa)return;Xa[f]=!0;const c=f.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${d}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Wp,c||(p.as="script"),p.crossOrigin="",p.href=f,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((h,b)=>{p.addEventListener("load",h),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${f}`)))})}))}function l(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&l(s.reason);return t().catch(l)})},Gp=JSON.parse("{}"),Kp=Object.fromEntries([["/about.html",{loader:()=>z(()=>import("./about.html-BnEMLcqZ.js"),__vite__mapDeps([0,1])),meta:{title:"关于"}}],["/",{loader:()=>z(()=>import("./index.html-jPVMq3lp.js"),__vite__mapDeps([2,1])),meta:{title:""}}],["/blog/",{loader:()=>z(()=>import("./index.html-gMM-Tcqk.js"),__vite__mapDeps([3,1])),meta:{title:"我的文章"}}],["/note/",{loader:()=>z(()=>import("./index.html-BP5ZChLS.js"),__vite__mapDeps([4,1])),meta:{title:"读书笔记"}}],["/note/cryptography/flip_coin.html",{loader:()=>z(()=>import("./flip_coin.html-B2WEW5Us.js"),__vite__mapDeps([5,1])),meta:{title:"抛币协议"}}],["/note/cryptography/",{loader:()=>z(()=>import("./index.html-DjkAC4H8.js"),__vite__mapDeps([6,1])),meta:{title:"密码学"}}],["/note/cryptography/mental_poker.html",{loader:()=>z(()=>import("./mental_poker.html-NukViYhN.js"),__vite__mapDeps([7,1])),meta:{title:"智能扑克协议"}}],["/note/cryptography/rsa.html",{loader:()=>z(()=>import("./rsa.html-DkW71JZH.js"),__vite__mapDeps([8,1])),meta:{title:"RSA算法"}}],["/note/graphics/",{loader:()=>z(()=>import("./index.html-BOW7o10m.js"),__vite__mapDeps([9,1])),meta:{title:"图形学"}}],["/note/language/",{loader:()=>z(()=>import("./index.html-IbfWY_do.js"),__vite__mapDeps([10,1])),meta:{title:"编程语言"}}],["/note/math/group.html",{loader:()=>z(()=>import("./group.html-CpuVx9QA.js"),__vite__mapDeps([11,1])),meta:{title:"群(Group)"}}],["/note/math/",{loader:()=>z(()=>import("./index.html-BoggU2W0.js"),__vite__mapDeps([12,1])),meta:{title:"数学"}}],["/note/math/linear_algebra.html",{loader:()=>z(()=>import("./linear_algebra.html-D2rwkcWr.js"),__vite__mapDeps([13,1])),meta:{title:"线性代数(Linear Algebra)"}}],["/note/math/number_theory_1.html",{loader:()=>z(()=>import("./number_theory_1.html-DxR9wxh5.js"),__vite__mapDeps([14,1])),meta:{title:"数论(一)"}}],["/note/math/number_theory_2.html",{loader:()=>z(()=>import("./number_theory_2.html-D_7QOhMm.js"),__vite__mapDeps([15,1])),meta:{title:"数论(二)"}}],["/note/math/number_theory_3.html",{loader:()=>z(()=>import("./number_theory_3.html-DlPu_try.js"),__vite__mapDeps([16,1])),meta:{title:"数论(三)"}}],["/note/math/probability.html",{loader:()=>z(()=>import("./probability.html-CcUq30wr.js"),__vite__mapDeps([17,1])),meta:{title:"概率"}}],["/note/math/symbol.html",{loader:()=>z(()=>import("./symbol.html-B89a6TZU.js"),__vite__mapDeps([18,1])),meta:{title:"常用数学符号"}}],["/blog/2025/02/DH.html",{loader:()=>z(()=>import("./DH.html-XHTT2Dni.js"),__vite__mapDeps([19,1])),meta:{title:"一个简单的DH密钥协商算法的实现"}}],["/blog/2025/02/Ellipse.html",{loader:()=>z(()=>import("./Ellipse.html-jPnF-eHK.js"),__vite__mapDeps([20,1])),meta:{title:"一道数学趣题"}}],["/blog/2025/02/Fibonacci.html",{loader:()=>z(()=>import("./Fibonacci.html-Dfag1Tc5.js"),__vite__mapDeps([21,1])),meta:{title:"斐波那契数列和1/89"}}],["/blog/2025/02/JPEG001.html",{loader:()=>z(()=>import("./JPEG001.html-tWNO9VdD.js"),__vite__mapDeps([22,1])),meta:{title:"JPEG算法解密(一)"}}],["/blog/2025/02/JPEG002.html",{loader:()=>z(()=>import("./JPEG002.html-BEmu0vf2.js"),__vite__mapDeps([23,1])),meta:{title:"JPEG算法解密(二)"}}],["/blog/2025/02/JPEG003.html",{loader:()=>z(()=>import("./JPEG003.html-D9Ortpcj.js"),__vite__mapDeps([24,1])),meta:{title:"JPEG算法解密(三)"}}],["/blog/2025/02/JPEG004.html",{loader:()=>z(()=>import("./JPEG004.html-DcmzbaxE.js"),__vite__mapDeps([25,1])),meta:{title:"JPEG算法解密(四)"}}],["/blog/2025/02/JPEG005.html",{loader:()=>z(()=>import("./JPEG005.html-CrflKMjW.js"),__vite__mapDeps([26,1])),meta:{title:"JPEG算法解密(五)"}}],["/blog/2025/02/Martingle.html",{loader:()=>z(()=>import("./Martingle.html-CrN7W3v6.js"),__vite__mapDeps([27,1])),meta:{title:"赌博中的数学:Martingle策略"}}],["/blog/2025/02/MentalPoker01.html",{loader:()=>z(()=>import("./MentalPoker01.html-DQgCJzB7.js"),__vite__mapDeps([28,1])),meta:{title:"从抛币协议到智能合约(一)"}}],["/blog/2025/02/MentalPoker02.html",{loader:()=>z(()=>import("./MentalPoker02.html-COcBjpS-.js"),__vite__mapDeps([29,1])),meta:{title:"从抛币协议到智能合约(二)"}}],["/blog/2025/02/RandRound.html",{loader:()=>z(()=>import("./RandRound.html-C2MbgskP.js"),__vite__mapDeps([30,1])),meta:{title:"如何生成一个随机的圆形"}}],["/blog/2025/02/SPH001.html",{loader:()=>z(()=>import("./SPH001.html-D2MTcfUh.js"),__vite__mapDeps([31,1])),meta:{title:"SPH算法简介(一): 数学基础"}}],["/blog/2025/02/SPH002.html",{loader:()=>z(()=>import("./SPH002.html-zxw79sTo.js"),__vite__mapDeps([32,1])),meta:{title:"SPH算法简介(二): 粒子受力分析"}}],["/blog/2025/02/SPH003.html",{loader:()=>z(()=>import("./SPH003.html-_EEngzPo.js"),__vite__mapDeps([33,1])),meta:{title:"SPH算法简介(三): 光滑核函数"}}],["/blog/2025/02/SPH004.html",{loader:()=>z(()=>import("./SPH004.html-Cl8MDUJ-.js"),__vite__mapDeps([34,1])),meta:{title:" SPH算法简介(四): 算法实现"}}],["/blog/2025/02/SegmentCircle.html",{loader:()=>z(()=>import("./SegmentCircle.html-BmcqcBYE.js"),__vite__mapDeps([35,1])),meta:{title:"如何计算线段和圆的交点"}}],["/blog/2025/03/BezierLine01.html",{loader:()=>z(()=>import("./BezierLine01.html-CCv3Q06c.js"),__vite__mapDeps([36,1])),meta:{title:"匀速贝塞尔曲线运动的实现(一)"}}],["/blog/2025/03/BezierLine02.html",{loader:()=>z(()=>import("./BezierLine02.html-je2Sr2gz.js"),__vite__mapDeps([37,1])),meta:{title:"匀速贝塞尔曲线运动的实现(二)"}}],["/note/graphics/illumination_model/",{loader:()=>z(()=>import("./index.html-wTPaBKgF.js"),__vite__mapDeps([38,1])),meta:{title:"光照模型"}}],["/note/graphics/image_based_lighting/ibl_01.html",{loader:()=>z(()=>import("./ibl_01.html-9-g3WOr_.js"),__vite__mapDeps([39,1])),meta:{title:"环境光渲染(一)"}}],["/note/graphics/image_based_lighting/ibl_02.html",{loader:()=>z(()=>import("./ibl_02.html-B9w0S9ZM.js"),__vite__mapDeps([40,1])),meta:{title:"环境光渲染(二)"}}],["/note/graphics/image_based_lighting/",{loader:()=>z(()=>import("./index.html-DvOuOIj1.js"),__vite__mapDeps([41,1])),meta:{title:"环境光渲染"}}],["/note/graphics/math/",{loader:()=>z(()=>import("./index.html-CtAhYpjx.js"),__vite__mapDeps([42,1])),meta:{title:"数学基础"}}],["/note/graphics/math/math_01.html",{loader:()=>z(()=>import("./math_01.html-BiHpFlvW.js"),__vite__mapDeps([43,1])),meta:{title:"数学基础(一)"}}],["/note/graphics/math/math_02.html",{loader:()=>z(()=>import("./math_02.html-DU7nOJT4.js"),__vite__mapDeps([44,1])),meta:{title:"数学基础(二)"}}],["/note/graphics/math/math_03.html",{loader:()=>z(()=>import("./math_03.html-DPY6uVlX.js"),__vite__mapDeps([45,1])),meta:{title:"数学基础(三)"}}],["/note/graphics/math/transform_01.html",{loader:()=>z(()=>import("./transform_01.html-BWc2obRV.js"),__vite__mapDeps([46,1])),meta:{title:"几何变换(一)"}}],["/note/graphics/math/transform_02.html",{loader:()=>z(()=>import("./transform_02.html-BBme5AL7.js"),__vite__mapDeps([47,1])),meta:{title:"几何变换(二)"}}],["/note/graphics/math/transform_03.html",{loader:()=>z(()=>import("./transform_03.html-0Spljc9Z.js"),__vite__mapDeps([48,1])),meta:{title:"几何变换(三)"}}],["/note/graphics/math/transform_04.html",{loader:()=>z(()=>import("./transform_04.html-B91CMNsE.js"),__vite__mapDeps([49,1])),meta:{title:"几何变换(四)"}}],["/note/graphics/rasterization/",{loader:()=>z(()=>import("./index.html-Xf2P60os.js"),__vite__mapDeps([50,1])),meta:{title:"光栅化"}}],["/note/graphics/rasterization/raster01.html",{loader:()=>z(()=>import("./raster01.html-CiDi8IIr.js"),__vite__mapDeps([51,1])),meta:{title:"基础"}}],["/note/graphics/rasterization/raster02.html",{loader:()=>z(()=>import("./raster02.html-DaZmjPFr.js"),__vite__mapDeps([52,1])),meta:{title:"边界判定"}}],["/note/graphics/rasterization/raster03.html",{loader:()=>z(()=>import("./raster03.html-CZ6-ezPj.js"),__vite__mapDeps([53,1])),meta:{title:"像素遍历"}}],["/note/language/javascript/function.html",{loader:()=>z(()=>import("./function.html-BPDZyrA7.js"),__vite__mapDeps([54,1])),meta:{title:"JavaScript函数"}}],["/note/language/javascript/grammar.html",{loader:()=>z(()=>import("./grammar.html-JXO2EZb3.js"),__vite__mapDeps([55,1])),meta:{title:"JavaScript基本语法"}}],["/note/language/javascript/helloworld.html",{loader:()=>z(()=>import("./helloworld.html-DXN6yoiB.js"),__vite__mapDeps([56,1])),meta:{title:"环境搭建"}}],["/note/language/javascript/",{loader:()=>z(()=>import("./index.html-CkI9T8iX.js"),__vite__mapDeps([57,1])),meta:{title:"JavaScript"}}],["/note/language/javascript/object_and_class.html",{loader:()=>z(()=>import("./object_and_class.html-C8Sq9bvd.js"),__vite__mapDeps([58,1])),meta:{title:"对象和类"}}],["/note/graphics/illumination_model/BRDF/BRDF.html",{loader:()=>z(()=>import("./BRDF.html-BcMwSED8.js"),__vite__mapDeps([59,1])),meta:{title:"BRDF(双向反射分布函数)"}}],["/note/graphics/illumination_model/classic/illumination_model_01.html",{loader:()=>z(()=>import("./illumination_model_01.html-B8okaqnE.js"),__vite__mapDeps([60,1])),meta:{title:"传统光照模型(Illumination Model)"}}],["/note/graphics/illumination_model/luminosity/luminosity.html",{loader:()=>z(()=>import("./luminosity.html-QezvYI4b.js"),__vite__mapDeps([61,1])),meta:{title:"光度学"}}],["/note/graphics/illumination_model/microfacets/microfacets_1.html",{loader:()=>z(()=>import("./microfacets_1.html-DtDbnYGH.js"),__vite__mapDeps([62,1])),meta:{title:"微平面理论(一)"}}],["/note/graphics/illumination_model/microfacets/microfacets_2.html",{loader:()=>z(()=>import("./microfacets_2.html-C3jhKwje.js"),__vite__mapDeps([63,1])),meta:{title:"微平面理论(二)"}}],["/note/graphics/illumination_model/microfacets/microfacets_3.html",{loader:()=>z(()=>import("./microfacets_3.html-M4UREu0c.js"),__vite__mapDeps([64,1])),meta:{title:"微表面理论(三)"}}],["/note/graphics/illumination_model/render_function/render_function_1.html",{loader:()=>z(()=>import("./render_function_1.html-DfDAw2P3.js"),__vite__mapDeps([65,1])),meta:{title:"渲染方程(一)"}}],["/404.html",{loader:()=>z(()=>import("./404.html-DPwPvEI9.js"),__vite__mapDeps([66,1])),meta:{title:""}}],["/blog/2025/02/",{loader:()=>z(()=>import("./index.html-DoEtvOh-.js"),__vite__mapDeps([67,1])),meta:{title:"02"}}],["/blog/2025/",{loader:()=>z(()=>import("./index.html-BnSbgljJ.js"),__vite__mapDeps([68,1])),meta:{title:"2025"}}],["/blog/2025/03/",{loader:()=>z(()=>import("./index.html-CUvLlIy5.js"),__vite__mapDeps([69,1])),meta:{title:"03"}}],["/note/graphics/illumination_model/BRDF/",{loader:()=>z(()=>import("./index.html-B2GzXoS9.js"),__vite__mapDeps([70,1])),meta:{title:"BRDF"}}],["/note/graphics/illumination_model/classic/",{loader:()=>z(()=>import("./index.html-Xz77KHqc.js"),__vite__mapDeps([71,1])),meta:{title:"Classic"}}],["/note/graphics/illumination_model/luminosity/",{loader:()=>z(()=>import("./index.html-CHHuyI8G.js"),__vite__mapDeps([72,1])),meta:{title:"Luminosity"}}],["/note/graphics/illumination_model/microfacets/",{loader:()=>z(()=>import("./index.html-DS3csrkE.js"),__vite__mapDeps([73,1])),meta:{title:"Microfacets"}}],["/note/graphics/illumination_model/render_function/",{loader:()=>z(()=>import("./index.html-B4J2mk8T.js"),__vite__mapDeps([74,1])),meta:{title:"Render Function"}}]]);/*!
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const kn=typeof document<"u";function uc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Jp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&uc(e.default)}const pe=Object.assign;function No(e,t){const n={};for(const r in t){const o=t[r];n[r]=_t(o)?o.map(e):e(o)}return n}const cr=()=>{},_t=Array.isArray,fc=/#/g,Yp=/&/g,Qp=/\//g,Xp=/=/g,Zp=/\?/g,dc=/\+/g,eh=/%5B/g,th=/%5D/g,pc=/%5E/g,nh=/%60/g,hc=/%7B/g,rh=/%7C/g,vc=/%7D/g,oh=/%20/g;function Ul(e){return encodeURI(""+e).replace(rh,"|").replace(eh,"[").replace(th,"]")}function lh(e){return Ul(e).replace(hc,"{").replace(vc,"}").replace(pc,"^")}function sl(e){return Ul(e).replace(dc,"%2B").replace(oh,"+").replace(fc,"%23").replace(Yp,"%26").replace(nh,"`").replace(hc,"{").replace(vc,"}").replace(pc,"^")}function ah(e){return sl(e).replace(Xp,"%3D")}function sh(e){return Ul(e).replace(fc,"%23").replace(Zp,"%3F")}function ih(e){return e==null?"":sh(e).replace(Qp,"%2F")}function br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ch=/\/$/,uh=e=>e.replace(ch,"");function jo(e,t,n="/"){let r,o={},l="",a="";const s=t.indexOf("#");let i=t.indexOf("?");return s<i&&s>=0&&(i=-1),i>-1&&(r=t.slice(0,i),l=t.slice(i+1,s>-1?s:t.length),o=e(l)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=hh(r??t,n),{fullPath:r+(l&&"?")+l+a,path:r,query:o,hash:br(a)}}function fh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Za(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dh(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Wn(t.matched[r],n.matched[o])&&mc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Wn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ph(e[n],t[n]))return!1;return!0}function ph(e,t){return _t(e)?es(e,t):_t(t)?es(t,e):e===t}function es(e,t){return _t(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function hh(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 l=n.length-1,a,s;for(a=0;a<r.length;a++)if(s=r[a],s!==".")if(s==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(a).join("/")}const $t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var yr;(function(e){e.pop="pop",e.push="push"})(yr||(yr={}));var ur;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ur||(ur={}));function vh(e){if(!e)if(kn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),uh(e)}const mh=/^[^#]+#/;function gh(e,t){return e.replace(mh,"#")+t}function bh(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 _o=()=>({left:window.scrollX,top:window.scrollY});function yh(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=bh(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ts(e,t){return(history.state?history.state.position-t:-1)+e}const il=new Map;function _h(e,t){il.set(e,t)}function wh(e){const t=il.get(e);return il.delete(e),t}let Eh=()=>location.protocol+"//"+location.host;function gc(e,t){const{pathname:n,search:r,hash:o}=t,l=e.indexOf("#");if(l>-1){let s=o.includes(e.slice(l))?e.slice(l).length:1,i=o.slice(s);return i[0]!=="/"&&(i="/"+i),Za(i,"")}return Za(n,e)+r+o}function Sh(e,t,n,r){let o=[],l=[],a=null;const s=({state:p})=>{const h=gc(e,location),b=n.value,y=t.value;let E=0;if(p){if(n.value=h,t.value=p,a&&a===b){a=null;return}E=y?p.position-y.position:0}else r(h);o.forEach(x=>{x(n.value,b,{delta:E,type:yr.pop,direction:E?E>0?ur.forward:ur.back:ur.unknown})})};function i(){a=n.value}function f(p){o.push(p);const h=()=>{const b=o.indexOf(p);b>-1&&o.splice(b,1)};return l.push(h),h}function c(){const{history:p}=window;p.state&&p.replaceState(pe({},p.state,{scroll:_o()}),"")}function d(){for(const p of l)p();l=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:i,listen:f,destroy:d}}function ns(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_o():null}}function Th(e){const{history:t,location:n}=window,r={value:gc(e,n)},o={value:t.state};o.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(i,f,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:Eh()+e+i;try{t[c?"replaceState":"pushState"](f,"",p),o.value=f}catch(h){console.error(h),n[c?"replace":"assign"](p)}}function a(i,f){const c=pe({},t.state,ns(o.value.back,i,o.value.forward,!0),f,{position:o.value.position});l(i,c,!0),r.value=i}function s(i,f){const c=pe({},o.value,t.state,{forward:i,scroll:_o()});l(c.current,c,!0);const d=pe({},ns(r.value,i,null),{position:c.position+1},f);l(i,d,!1),r.value=i}return{location:r,state:o,push:s,replace:a}}function xh(e){e=vh(e);const t=Th(e),n=Sh(e,t.state,t.location,t.replace);function r(l,a=!0){a||n.pauseListeners(),history.go(l)}const o=pe({location:"",base:e,go:r,createHref:gh.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 Ch(e){return typeof e=="string"||e&&typeof e=="object"}function bc(e){return typeof e=="string"||typeof e=="symbol"}const yc=Symbol("");var rs;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(rs||(rs={}));function qn(e,t){return pe(new Error,{type:e,[yc]:!0},t)}function Ot(e,t){return e instanceof Error&&yc in e&&(t==null||!!(e.type&t))}const os="[^/]+?",kh={sensitive:!1,strict:!1,start:!0,end:!0},Ph=/[.+*?^${}()[\]/\\]/g;function Lh(e,t){const n=pe({},kh,t),r=[];let o=n.start?"^":"";const l=[];for(const f of e){const c=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let d=0;d<f.length;d++){const p=f[d];let h=40+(n.sensitive?.25:0);if(p.type===0)d||(o+="/"),o+=p.value.replace(Ph,"\\$&"),h+=40;else if(p.type===1){const{value:b,repeatable:y,optional:E,regexp:x}=p;l.push({name:b,repeatable:y,optional:E});const w=x||os;if(w!==os){h+=10;try{new RegExp(`(${w})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${b}" (${w}): `+_.message)}}let m=y?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(m=E&&f.length<2?`(?:/${m})`:"/"+m),E&&(m+="?"),o+=m,h+=20,E&&(h+=-8),y&&(h+=-20),w===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function s(f){const c=f.match(a),d={};if(!c)return null;for(let p=1;p<c.length;p++){const h=c[p]||"",b=l[p-1];d[b.name]=h&&b.repeatable?h.split("/"):h}return d}function i(f){let c="",d=!1;for(const p of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const h of p)if(h.type===0)c+=h.value;else if(h.type===1){const{value:b,repeatable:y,optional:E}=h,x=b in f?f[b]:"";if(_t(x)&&!y)throw new Error(`Provided param "${b}" is an array but it is not repeatable (* or + modifiers)`);const w=_t(x)?x.join("/"):x;if(!w)if(E)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${b}"`);c+=w}}return c||"/"}return{re:a,score:r,keys:l,parse:s,stringify:i}}function Ah(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 _c(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const l=Ah(r[n],o[n]);if(l)return l;n++}if(Math.abs(o.length-r.length)===1){if(ls(r))return 1;if(ls(o))return-1}return o.length-r.length}function ls(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Rh={type:0,value:""},Oh=/[a-zA-Z0-9_]/;function Ih(e){if(!e)return[[]];if(e==="/")return[[Rh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=0,r=n;const o=[];let l;function a(){l&&o.push(l),l=[]}let s=0,i,f="",c="";function d(){f&&(n===0?l.push({type:0,value:f}):n===1||n===2||n===3?(l.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:f,regexp:c,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=i}for(;s<e.length;){if(i=e[s++],i==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:i==="/"?(f&&d(),a()):i===":"?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:i==="("?n=2:Oh.test(i)?p():(d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&s--);break;case 2:i===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+i:n=3:c+=i;break;case 3:d(),n=0,i!=="*"&&i!=="?"&&i!=="+"&&s--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),d(),a(),o}function $h(e,t,n){const r=Lh(Ih(e.path),n),o=pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Mh(e,t){const n=[],r=new Map;t=cs({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function l(d,p,h){const b=!h,y=ss(d);y.aliasOf=h&&h.record;const E=cs(t,d),x=[y];if("alias"in d){const _=typeof d.alias=="string"?[d.alias]:d.alias;for(const L of _)x.push(ss(pe({},y,{components:h?h.record.components:y.components,path:L,aliasOf:h?h.record:y})))}let w,m;for(const _ of x){const{path:L}=_;if(p&&L[0]!=="/"){const V=p.record.path,M=V[V.length-1]==="/"?"":"/";_.path=p.record.path+(L&&M+L)}if(w=$h(_,p,E),h?h.alias.push(w):(m=m||w,m!==w&&m.alias.push(w),b&&d.name&&!is(w)&&a(d.name)),wc(w)&&i(w),y.children){const V=y.children;for(let M=0;M<V.length;M++)l(V[M],w,h&&h.children[M])}h=h||w}return m?()=>{a(m)}:cr}function a(d){if(bc(d)){const p=r.get(d);p&&(r.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function i(d){const p=jh(d,n);n.splice(p,0,d),d.record.name&&!is(d)&&r.set(d.record.name,d)}function f(d,p){let h,b={},y,E;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw qn(1,{location:d});E=h.record.name,b=pe(as(p.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),d.params&&as(d.params,h.keys.map(m=>m.name))),y=h.stringify(b)}else if(d.path!=null)y=d.path,h=n.find(m=>m.re.test(y)),h&&(b=h.parse(y),E=h.record.name);else{if(h=p.name?r.get(p.name):n.find(m=>m.re.test(p.path)),!h)throw qn(1,{location:d,currentLocation:p});E=h.record.name,b=pe({},p.params,d.params),y=h.stringify(b)}const x=[];let w=h;for(;w;)x.unshift(w.record),w=w.parent;return{name:E,path:y,params:b,matched:x,meta:Nh(x)}}e.forEach(d=>l(d));function c(){n.length=0,r.clear()}return{addRoute:l,resolve:f,removeRoute:a,clearRoutes:c,getRoutes:s,getRecordMatcher:o}}function as(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function ss(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Dh(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Dh(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 is(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Nh(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function cs(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function jh(e,t){let n=0,r=t.length;for(;n!==r;){const l=n+r>>1;_c(e,t[l])<0?r=l:n=l+1}const o=Hh(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function Hh(e){let t=e;for(;t=t.parent;)if(wc(t)&&_c(e,t)===0)return t}function wc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Vh(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 l=r[o].replace(dc," "),a=l.indexOf("="),s=br(a<0?l:l.slice(0,a)),i=a<0?null:br(l.slice(a+1));if(s in t){let f=t[s];_t(f)||(f=t[s]=[f]),f.push(i)}else t[s]=i}return t}function us(e){let t="";for(let n in e){const r=e[n];if(n=ah(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(_t(r)?r.map(l=>l&&sl(l)):[r&&sl(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function Fh(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=_t(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Bh=Symbol(""),fs=Symbol(""),wo=Symbol(""),Wl=Symbol(""),cl=Symbol("");function tr(){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 Xt(e,t,n,r,o,l=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,i)=>{const f=p=>{p===!1?i(qn(4,{from:n,to:t})):p instanceof Error?i(p):Ch(p)?i(qn(2,{from:t,to:p})):(a&&r.enterCallbacks[o]===a&&typeof p=="function"&&a.push(p),s())},c=l(()=>e.call(r&&r.instances[o],t,n,f));let d=Promise.resolve(c);e.length<3&&(d=d.then(f)),d.catch(p=>i(p))})}function Ho(e,t,n,r,o=l=>l()){const l=[];for(const a of e)for(const s in a.components){let i=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(uc(i)){const c=(i.__vccOpts||i)[t];c&&l.push(Xt(c,n,r,a,s,o))}else{let f=i();l.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${a.path}"`);const d=Jp(c)?c.default:c;a.mods[s]=c,a.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Xt(h,n,r,a,s,o)()}))}}return l}function ds(e){const t=Pe(wo),n=Pe(Wl),r=T(()=>{const i=tn(e.to);return t.resolve(i)}),o=T(()=>{const{matched:i}=r.value,{length:f}=i,c=i[f-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(Wn.bind(null,c));if(p>-1)return p;const h=ps(i[f-2]);return f>1&&ps(c)===h&&d[d.length-1].path!==h?d.findIndex(Wn.bind(null,i[f-2])):p}),l=T(()=>o.value>-1&&Gh(n.params,r.value.params)),a=T(()=>o.value>-1&&o.value===n.matched.length-1&&mc(n.params,r.value.params));function s(i={}){if(qh(i)){const f=t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(cr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:T(()=>r.value.href),isActive:l,isExactActive:a,navigate:s}}function zh(e){return e.length===1?e[0]:e}const Uh=J({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"},viewTransition:Boolean},useLink:ds,setup(e,{slots:t}){const n=mn(ds(e)),{options:r}=Pe(wo),o=T(()=>({[hs(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[hs(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&zh(t.default(n));return e.custom?l:u("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},l)}}}),Wh=Uh;function qh(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 Gh(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(!_t(o)||o.length!==r.length||r.some((l,a)=>l!==o[a]))return!1}return!0}function ps(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hs=(e,t,n)=>e??t??n,Kh=J({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Pe(cl),o=T(()=>e.route||r.value),l=Pe(fs,0),a=T(()=>{let f=tn(l);const{matched:c}=o.value;let d;for(;(d=c[f])&&!d.components;)f++;return f}),s=T(()=>o.value.matched[a.value]);Nn(fs,T(()=>a.value+1)),Nn(Bh,s),Nn(cl,o);const i=de();return Ce(()=>[i.value,s.value,e.name],([f,c,d],[p,h,b])=>{c&&(c.instances[d]=f,h&&h!==c&&f&&f===p&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),f&&c&&(!h||!Wn(c,h)||!p)&&(c.enterCallbacks[d]||[]).forEach(y=>y(f))},{flush:"post"}),()=>{const f=o.value,c=e.name,d=s.value,p=d&&d.components[c];if(!p)return vs(n.default,{Component:p,route:f});const h=d.props[c],b=h?h===!0?f.params:typeof h=="function"?h(f):h:null,E=u(p,pe({},b,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(d.instances[c]=null)},ref:i}));return vs(n.default,{Component:E,route:f})||E}}});function vs(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jh=Kh;function Yh(e){const t=Mh(e.routes,e),n=e.parseQuery||Vh,r=e.stringifyQuery||us,o=e.history,l=tr(),a=tr(),s=tr(),i=le($t);let f=$t;kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=No.bind(null,k=>""+k),d=No.bind(null,ih),p=No.bind(null,br);function h(k,q){let B,Y;return bc(k)?(B=t.getRecordMatcher(k),Y=q):Y=k,t.addRoute(Y,B)}function b(k){const q=t.getRecordMatcher(k);q&&t.removeRoute(q)}function y(){return t.getRoutes().map(k=>k.record)}function E(k){return!!t.getRecordMatcher(k)}function x(k,q){if(q=pe({},q||i.value),typeof k=="string"){const g=jo(n,k,q.path),S=t.resolve({path:g.path},q),A=o.createHref(g.fullPath);return pe(g,S,{params:p(S.params),hash:br(g.hash),redirectedFrom:void 0,href:A})}let B;if(k.path!=null)B=pe({},k,{path:jo(n,k.path,q.path).path});else{const g=pe({},k.params);for(const S in g)g[S]==null&&delete g[S];B=pe({},k,{params:d(g)}),q.params=d(q.params)}const Y=t.resolve(B,q),ue=k.hash||"";Y.params=c(p(Y.params));const me=fh(r,pe({},k,{hash:lh(ue),path:Y.path})),v=o.createHref(me);return pe({fullPath:me,hash:ue,query:r===us?Fh(k.query):k.query||{}},Y,{redirectedFrom:void 0,href:v})}function w(k){return typeof k=="string"?jo(n,k,i.value.path):pe({},k)}function m(k,q){if(f!==k)return qn(8,{from:q,to:k})}function _(k){return M(k)}function L(k){return _(pe(w(k),{replace:!0}))}function V(k){const q=k.matched[k.matched.length-1];if(q&&q.redirect){const{redirect:B}=q;let Y=typeof B=="function"?B(k):B;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=w(Y):{path:Y},Y.params={}),pe({query:k.query,hash:k.hash,params:Y.path!=null?{}:k.params},Y)}}function M(k,q){const B=f=x(k),Y=i.value,ue=k.state,me=k.force,v=k.replace===!0,g=V(B);if(g)return M(pe(w(g),{state:typeof g=="object"?pe({},ue,g.state):ue,force:me,replace:v}),q||B);const S=B;S.redirectedFrom=q;let A;return!me&&dh(r,Y,B)&&(A=qn(16,{to:S,from:Y}),Fe(Y,Y,!0,!1)),(A?Promise.resolve(A):I(S,Y)).catch(P=>Ot(P)?Ot(P,2)?P:Xe(P):K(P,S,Y)).then(P=>{if(P){if(Ot(P,2))return M(pe({replace:v},w(P.to),{state:typeof P.to=="object"?pe({},ue,P.to.state):ue,force:me}),q||S)}else P=O(S,Y,!0,v,ue);return H(S,Y,P),P})}function F(k,q){const B=m(k,q);return B?Promise.reject(B):Promise.resolve()}function C(k){const q=At.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(k):k()}function I(k,q){let B;const[Y,ue,me]=Qh(k,q);B=Ho(Y.reverse(),"beforeRouteLeave",k,q);for(const g of Y)g.leaveGuards.forEach(S=>{B.push(Xt(S,k,q))});const v=F.bind(null,k,q);return B.push(v),De(B).then(()=>{B=[];for(const g of l.list())B.push(Xt(g,k,q));return B.push(v),De(B)}).then(()=>{B=Ho(ue,"beforeRouteUpdate",k,q);for(const g of ue)g.updateGuards.forEach(S=>{B.push(Xt(S,k,q))});return B.push(v),De(B)}).then(()=>{B=[];for(const g of me)if(g.beforeEnter)if(_t(g.beforeEnter))for(const S of g.beforeEnter)B.push(Xt(S,k,q));else B.push(Xt(g.beforeEnter,k,q));return B.push(v),De(B)}).then(()=>(k.matched.forEach(g=>g.enterCallbacks={}),B=Ho(me,"beforeRouteEnter",k,q,C),B.push(v),De(B))).then(()=>{B=[];for(const g of a.list())B.push(Xt(g,k,q));return B.push(v),De(B)}).catch(g=>Ot(g,8)?g:Promise.reject(g))}function H(k,q,B){s.list().forEach(Y=>C(()=>Y(k,q,B)))}function O(k,q,B,Y,ue){const me=m(k,q);if(me)return me;const v=q===$t,g=kn?history.state:{};B&&(Y||v?o.replace(k.fullPath,pe({scroll:v&&g&&g.scroll},ue)):o.push(k.fullPath,ue)),i.value=k,Fe(k,q,B,v),Xe()}let Q;function W(){Q||(Q=o.listen((k,q,B)=>{if(!wt.listening)return;const Y=x(k),ue=V(Y);if(ue){M(pe(ue,{replace:!0,force:!0}),Y).catch(cr);return}f=Y;const me=i.value;kn&&_h(ts(me.fullPath,B.delta),_o()),I(Y,me).catch(v=>Ot(v,12)?v:Ot(v,2)?(M(pe(w(v.to),{force:!0}),Y).then(g=>{Ot(g,20)&&!B.delta&&B.type===yr.pop&&o.go(-1,!1)}).catch(cr),Promise.reject()):(B.delta&&o.go(-B.delta,!1),K(v,Y,me))).then(v=>{v=v||O(Y,me,!1),v&&(B.delta&&!Ot(v,8)?o.go(-B.delta,!1):B.type===yr.pop&&Ot(v,20)&&o.go(-1,!1)),H(Y,me,v)}).catch(cr)}))}let X=tr(),D=tr(),te;function K(k,q,B){Xe(k);const Y=D.list();return Y.length?Y.forEach(ue=>ue(k,q,B)):console.error(k),Promise.reject(k)}function ae(){return te&&i.value!==$t?Promise.resolve():new Promise((k,q)=>{X.add([k,q])})}function Xe(k){return te||(te=!k,W(),X.list().forEach(([q,B])=>k?B(k):q()),X.reset()),k}function Fe(k,q,B,Y){const{scrollBehavior:ue}=e;if(!kn||!ue)return Promise.resolve();const me=!B&&wh(ts(k.fullPath,0))||(Y||!B)&&history.state&&history.state.scroll||null;return rn().then(()=>ue(k,q,me)).then(v=>v&&yh(v)).catch(v=>K(v,k,q))}const Ie=k=>o.go(k);let Ze;const At=new Set,wt={currentRoute:i,listening:!0,addRoute:h,removeRoute:b,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:y,resolve:x,options:e,push:_,replace:L,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:l.add,beforeResolve:a.add,afterEach:s.add,onError:D.add,isReady:ae,install(k){const q=this;k.component("RouterLink",Wh),k.component("RouterView",Jh),k.config.globalProperties.$router=q,Object.defineProperty(k.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),kn&&!Ze&&i.value===$t&&(Ze=!0,_(o.location).catch(ue=>{}));const B={};for(const ue in $t)Object.defineProperty(B,ue,{get:()=>i.value[ue],enumerable:!0});k.provide(wo,q),k.provide(Wl,fi(B)),k.provide(cl,i);const Y=k.unmount;At.add(k),k.unmount=function(){At.delete(k),At.size<1&&(f=$t,Q&&Q(),Q=null,i.value=$t,Ze=!1,te=!1),Y()}}};function De(k){return k.reduce((q,B)=>q.then(()=>C(B)),Promise.resolve())}return wt}function Qh(e,t){const n=[],r=[],o=[],l=Math.max(t.matched.length,e.matched.length);for(let a=0;a<l;a++){const s=t.matched[a];s&&(e.matched.find(f=>Wn(f,s))?r.push(s):n.push(s));const i=e.matched[a];i&&(t.matched.find(f=>Wn(f,i))||o.push(i))}return[n,r,o]}function Kn(){return Pe(wo)}function Wt(e){return Pe(Wl)}var ql=Symbol(""),Pt=()=>{const e=Pe(ql);if(!e)throw new Error("useClientData() is called without provider.");return e},Xh=()=>Pt().pageComponent,Zh=()=>Pt().pageData,Ec=()=>Pt().pageFrontmatter,ev=()=>Pt().pageHead,Sc=()=>Pt().pageLang,tv=()=>Pt().pageLayout,Tc=()=>Pt().routeLocale,nv=()=>Pt().routePath,rv=()=>Pt().siteData,Lr=Pt,on=Ec,ov=Sc,lv=Zh,ul=new Set,qt=e=>{ul.add(e),_n(()=>{ul.delete(e)})},av=Symbol(""),fl=le(Gp),jn=le(Kp),xc=(e,t)=>{const n=Np(e,t);if(jn.value[n])return n;const r=encodeURI(n);if(jn.value[r])return r;const o=fl.value[n]||fl.value[r];return o||n},Vt=(e,t)=>{const{pathname:n,hashAndQueries:r}=sc(e),o=xc(n,t),l=o+r;return jn.value[o]?{...jn.value[o],path:l,notFound:!1}:{...jn.value["/404.html"],path:l,notFound:!0}},sv=(e,t)=>{const{pathname:n,hashAndQueries:r}=sc(e);return xc(n,t)+r},iv=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)&&!(e.currentTarget&&e.currentTarget.getAttribute("target")?.match(/\b_blank\b/i)))return e.preventDefault(),!0},ft=J({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const n=Kn(),r=Wt(),o=T(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/${sv(e.to,r.path).substring(1)}`);return()=>u("a",{class:["route-link",{[e.activeClass]:e.active}],href:o.value,onClick:(l={})=>{iv(l)&&n.push(e.to).catch()}},t.default())}}),cv=J({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=mo(e,"config"),r=Wt(),o=rv(),l=T(()=>kr(n.value.link)),a=T(()=>n.value.target||(l.value?"_blank":void 0)),s=T(()=>a.value==="_blank"),i=T(()=>!l.value&&!s.value),f=T(()=>n.value.rel||(s.value?"noopener noreferrer":null)),c=T(()=>n.value.ariaLabel??n.value.text),d=T(()=>{if(n.value.exact)return!1;const h=Object.keys(o.value.locales);return h.length?h.every(b=>b!==n.value.link):n.value.link!=="/"}),p=T(()=>i.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(r.path):d.value?r.path.startsWith(n.value.link):r.path===n.value.link:!1);return()=>{const{before:h,after:b,default:y}=t,E=y?.(n.value)??[h?.(n.value),n.value.text,b?.(n.value)];return i.value?u(ft,{class:"auto-link",to:n.value.link,active:p.value,"aria-label":c.value},()=>E):u("a",{class:"auto-link external-link",href:n.value.link,"aria-label":c.value,rel:f.value,target:a.value},E)}}}),Gl=J({name:"ClientOnly",setup(e,t){const n=de(!1);return Te(()=>{n.value=!0}),()=>n.value?t.slots.default?.():null}}),Fr=e=>{ul.forEach(t=>t(e))},Cc=J({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Xh(),n=T(()=>{if(!e.path)return t.value;const o=Vt(e.path);return rd(async()=>o.loader().then(({comp:l})=>l))}),r=Ec();return Ce(r,()=>{Fr("updated")},{deep:!0,flush:"post"}),()=>u(n.value,{onVnodeMounted:()=>{Fr("mounted")},onVnodeUpdated:()=>{Fr("updated")},onVnodeBeforeUnmount:()=>{Fr("beforeUnmount")}})}}),uv="Layout",fv="en-US",cn=mn({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=_e(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return zp(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||fv,resolvePageLayout:(e,t)=>{const n=_e(e.frontmatter.layout)?e.frontmatter.layout:uv;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>jp(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...n},r)=>({...n,...t[r],head:[...t[r]?.head??[],...n.head]})}),Lt=(e={})=>e,$e=e=>Pr(e)?e:`/${cc(e)}`,dv=Object.defineProperty,pv=(e,t)=>{for(var n in t)dv(e,n,{get:t[n],enumerable:!0})},hv={};pv(hv,{COMPONENT_STATE_TYPE:()=>vv,INSPECTOR_ID:()=>mv,INSPECTOR_LABEL:()=>gv,INSPECTOR_NODES:()=>bv,INSPECTOR_STATE_SECTION_NAME:()=>yv,PLUGIN_ID:()=>kc,PLUGIN_LABEL:()=>Kl});var kc="org.vuejs.vuepress",Kl="VuePress",vv=Kl,mv=kc,gv=Kl,ms={id:"INTERNAL",label:"Internal",keys:["layouts","routes","redirects"]},gs={id:"SITE",label:"Site",keys:["siteData","siteLocaleData"]},bs={id:"ROUTE",label:"Route",keys:["routePath","routeLocale"]},ys={id:"PAGE",label:"Page",keys:["pageData","pageFrontmatter","pageLang","pageHead","pageHeadTitle","pageLayout","pageComponent"]},bv={[ms.id]:ms,[gs.id]:gs,[bs.id]:bs,[ys.id]:ys},yv="State";const _s=e=>typeof e=="number"?`${e}px`:e,Pc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=u("span",{style:`--loading-icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='xMidYMid' viewBox='25 25 50 50'%3E%3CanimateTransform attributeName='transform' type='rotate' dur='2s' keyTimes='0;1' repeatCount='indefinite' values='0;360'%3E%3C/animateTransform%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='currentColor' stroke-width='${t}' stroke-linecap='round'%3E%3Canimate attributeName='stroke-dasharray' dur='1.5s' keyTimes='0;0.5;1' repeatCount='indefinite' values='1,200;90,200;1,200'%3E%3C/animate%3E%3Canimate attributeName='stroke-dashoffset' dur='1.5s' keyTimes='0;0.5;1' repeatCount='indefinite' values='0;-35px;-125px'%3E%3C/animate%3E%3C/circle%3E%3C/svg%3E");--icon-size: ${_s(e)};display: inline-block;width: var(--icon-size);height: var(--icon-size);background-color: currentcolor;-webkit-mask-image: var(--loading-icon);mask-image: var(--loading-icon)`});return n?u("div",{style:`display: flex;align-items: center;justify-content: center;height: ${_s(r)}`},o):o};Pc.displayName="LoadingIcon";const Jl=(e,{slots:t})=>t.default();var rt=Uint8Array,An=Uint16Array,_v=Int32Array,Lc=new rt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ac=new rt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),wv=new rt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Rc=function(e,t){for(var n=new An(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];for(var o=new _v(n[30]),r=1;r<30;++r)for(var l=n[r];l<n[r+1];++l)o[l]=l-n[r]<<5|r;return{b:n,r:o}},Oc=Rc(Lc,2),Ic=Oc.b,Ev=Oc.r;Ic[28]=258,Ev[258]=28;var Sv=Rc(Ac,0),Tv=Sv.b,dl=new An(32768);for(var we=0;we<32768;++we){var Kt=(we&43690)>>1|(we&21845)<<1;Kt=(Kt&52428)>>2|(Kt&13107)<<2,Kt=(Kt&61680)>>4|(Kt&3855)<<4,dl[we]=((Kt&65280)>>8|(Kt&255)<<8)>>1}var fr=(function(e,t,n){for(var r=e.length,o=0,l=new An(t);o<r;++o)e[o]&&++l[e[o]-1];var a=new An(t);for(o=1;o<t;++o)a[o]=a[o-1]+l[o-1]<<1;var s;if(n){s=new An(1<<t);var i=15-t;for(o=0;o<r;++o)if(e[o])for(var f=o<<4|e[o],c=t-e[o],d=a[e[o]-1]++<<c,p=d|(1<<c)-1;d<=p;++d)s[dl[d]>>i]=f}else for(s=new An(r),o=0;o<r;++o)e[o]&&(s[o]=dl[a[e[o]-1]++]>>15-e[o]);return s}),Ar=new rt(288);for(var we=0;we<144;++we)Ar[we]=8;for(var we=144;we<256;++we)Ar[we]=9;for(var we=256;we<280;++we)Ar[we]=7;for(var we=280;we<288;++we)Ar[we]=8;var $c=new rt(32);for(var we=0;we<32;++we)$c[we]=5;var xv=fr(Ar,9,1),Cv=fr($c,5,1),Vo=function(e){for(var t=e[0],n=1;n<e.length;++n)e[n]>t&&(t=e[n]);return t},vt=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Fo=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},kv=function(e){return(e+7)/8|0},Mc=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new rt(e.subarray(t,n))},Pv=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],it=function(e,t,n){var r=new Error(t||Pv[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,it),!n)throw r;return r},Lv=function(e,t,n,r){var o=e.length,l=0;if(!o||t.f&&!t.l)return n||new rt(0);var a=!n,s=a||t.i!=2,i=t.i;a&&(n=new rt(o*3));var f=function(ue){var me=n.length;if(ue>me){var v=new rt(Math.max(me*2,ue));v.set(n),n=v}},c=t.f||0,d=t.p||0,p=t.b||0,h=t.l,b=t.d,y=t.m,E=t.n,x=o*8;do{if(!h){c=vt(e,d,1);var w=vt(e,d+1,3);if(d+=3,w)if(w==1)h=xv,b=Cv,y=9,E=5;else if(w==2){var V=vt(e,d,31)+257,M=vt(e,d+10,15)+4,F=V+vt(e,d+5,31)+1;d+=14;for(var C=new rt(F),I=new rt(19),H=0;H<M;++H)I[wv[H]]=vt(e,d+H*3,7);d+=M*3;for(var O=Vo(I),Q=(1<<O)-1,W=fr(I,O,1),H=0;H<F;){var X=W[vt(e,d,Q)];d+=X&15;var m=X>>4;if(m<16)C[H++]=m;else{var D=0,te=0;for(m==16?(te=3+vt(e,d,3),d+=2,D=C[H-1]):m==17?(te=3+vt(e,d,7),d+=3):m==18&&(te=11+vt(e,d,127),d+=7);te--;)C[H++]=D}}var K=C.subarray(0,V),ae=C.subarray(V);y=Vo(K),E=Vo(ae),h=fr(K,y,1),b=fr(ae,E,1)}else it(1);else{var m=kv(d)+4,_=e[m-4]|e[m-3]<<8,L=m+_;if(L>o){i&&it(0);break}s&&f(p+_),n.set(e.subarray(m,L),p),t.b=p+=_,t.p=d=L*8,t.f=c;continue}if(d>x){i&&it(0);break}}s&&f(p+131072);for(var Xe=(1<<y)-1,Fe=(1<<E)-1,Ie=d;;Ie=d){var D=h[Fo(e,d)&Xe],Ze=D>>4;if(d+=D&15,d>x){i&&it(0);break}if(D||it(2),Ze<256)n[p++]=Ze;else if(Ze==256){Ie=d,h=null;break}else{var At=Ze-254;if(Ze>264){var H=Ze-257,wt=Lc[H];At=vt(e,d,(1<<wt)-1)+Ic[H],d+=wt}var De=b[Fo(e,d)&Fe],k=De>>4;De||it(3),d+=De&15;var ae=Tv[k];if(k>3){var wt=Ac[k];ae+=Fo(e,d)&(1<<wt)-1,d+=wt}if(d>x){i&&it(0);break}s&&f(p+131072);var q=p+At;if(p<ae){var B=l-ae,Y=Math.min(ae,q);for(B+p<0&&it(3);p<Y;++p)n[p]=r[B+p]}for(;p<q;++p)n[p]=n[p-ae]}}t.l=h,t.p=Ie,t.b=p,t.f=c,h&&(c=1,t.m=y,t.d=b,t.n=E)}while(!c);return p!=n.length&&a?Mc(n,0,p):n.subarray(0,p)},Av=new rt(0),Rv=function(e,t){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&it(6,"invalid zlib data"),(e[1]>>5&1)==1&&it(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Ov(e,t){return Lv(e.subarray(Rv(e),-4),{i:2},t,t)}var pl=typeof TextDecoder<"u"&&new TextDecoder,Iv=0;try{pl.decode(Av,{stream:!0}),Iv=1}catch{}var $v=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:Mc(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function Mv(e,t){{for(var n=new rt(e.length),r=0;r<e.length;++r)n[r]=e.charCodeAt(r);return n}for(var o=e.length,r=0;r<o;++r);}function Dv(e,t){var n;if(pl)return pl.decode(e);var r=$v(e),o=r.s,n=r.r;return n.length&&it(8),o}const ws=e=>{const t=atob(e);return Dv(Ov(Mv(t)))},Dc=[...new Array(6)].map((e,t)=>`[vp-content] h${t+1}`).join(","),Nv=(e,t=2)=>{if(t===!1)return[];const[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t,o=e.filter(a=>a.level>=n&&a.level<=r),l=[];e:for(let a=0;a<o.length;a++){const s=o[a];if(a===0)l.push(s);else{for(let i=a-1;i>=0;i--){const f=o[i];if(f.level<s.level){f.children.push(s);continue e}}l.push(s)}}return l},jv=(e,t=[])=>{let n;if(t.length){const r=e.cloneNode(!0);r.querySelectorAll(t.join(",")).forEach(o=>{o.remove()}),n=r.textContent||""}else n=e.textContent||"";return n.trim()},Hv=(e=Dc,t=[])=>Array.from(document.querySelectorAll(e)).filter(n=>n.id&&n.hasChildNodes()).map(n=>({element:n,title:jv(n,t),link:`#${n.id}`,slug:n.id,level:Number(n.tagName[1]),children:[]})),Vv=({selector:e=Dc,levels:t=2,ignore:n=[]}={})=>Nv(Hv(e,n),t),Yl=e=>typeof e<"u",Jr=e=>typeof e=="number",{isArray:Ft}=Array,ao=(e,t)=>_e(e)&&e.startsWith(t),Fv=(e,t)=>_e(e)&&e.endsWith(t),{entries:Nc}=Object,{keys:Rr}=Object,Bv=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},Ql=e=>ao(e,"/")&&e[1]!=="/",jc=e=>e.every(t=>t.type===We?!0:t.type===Je?t.children==null||Ft(t.children)&&jc(t.children):!1),Hn=e=>e==null?!0:Ft(e)?jc(e):!1,Qe=(e,t)=>{const n=(t?._instance??Ut())?.appContext.components;return n?e in n||Ye(e)in n||Er(Ye(e))in n:!1},zv=(e={})=>{const t=de([]);return qt(n=>{t.value=n==="beforeUnmount"?[]:Vv(ce(e))}),t},Uv=e=>{const t=Tc();return T(()=>ce(e)[t.value]??{})},Jn=Uv;function En(e){return Ks()?(pf(e),!0):!1}const Bo=new WeakMap,Wv=(...e)=>{var t;const n=e[0],r=(t=Ut())==null?void 0:t.proxy;if(r==null&&!Ri())throw new Error("injectLocal must be called in setup");return r&&Bo.has(r)&&n in Bo.get(r)?Bo.get(r)[n]:Pe(...e)},Or=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const qv=e=>e!=null,Gv=Object.prototype.toString,Kv=e=>Gv.call(e)==="[object Object]",Bt=()=>{},Es=Jv();function Jv(){var e,t;return Or&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Hc(...e){if(e.length!==1)return mo(...e);const t=e[0];return typeof t=="function"?ho(hi(()=>({get:t,set:Bt}))):de(t)}function Xl(e,t){function n(...r){return new Promise((o,l)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(l)})}return n}const Vc=e=>e();function Yv(e,t={}){let n,r,o=Bt;const l=i=>{clearTimeout(i),o(),o=Bt};let a;return i=>{const f=ce(e),c=ce(t.maxWait);return n&&l(n),f<=0||c!==void 0&&c<=0?(r&&(l(r),r=void 0),Promise.resolve(i())):new Promise((d,p)=>{o=t.rejectOnCancel?p:d,a=i,c&&!r&&(r=setTimeout(()=>{n&&l(n),r=void 0,d(a())},c)),n=setTimeout(()=>{r&&l(r),r=void 0,d(i())},f)})}}function Qv(...e){let t=0,n,r=!0,o=Bt,l,a,s,i,f;!ke(e[0])&&typeof e[0]=="object"?{delay:a,trailing:s=!0,leading:i=!0,rejectOnCancel:f=!1}=e[0]:[a,s=!0,i=!0,f=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Bt)};return p=>{const h=ce(a),b=Date.now()-t,y=()=>l=p();return c(),h<=0?(t=Date.now(),y()):(b>h&&(i||!r)?(t=Date.now(),y()):s&&(l=new Promise((E,x)=>{o=f?x:E,n=setTimeout(()=>{t=Date.now(),r=!0,E(y()),c()},Math.max(0,h-b))})),!i&&!n&&(n=setTimeout(()=>r=!0,h)),r=!1,l)}}function Xv(e=Vc,t={}){const{initialState:n="active"}=t,r=Hc(n==="active");function o(){r.value=!1}function l(){r.value=!0}const a=(...s)=>{r.value&&e(...s)};return{isActive:ho(r),pause:o,resume:l,eventFilter:a}}function Zv(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Ss(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function dr(e){return Array.isArray(e)?e:[e]}function Fc(e){return Ut()}function Bc(e,t=200,n={}){return Xl(Yv(t,n),e)}function zc(e,t=200,n=!1,r=!0,o=!1){return Xl(Qv(t,n,r,o),e)}function em(e,t,n={}){const{eventFilter:r=Vc,...o}=n;return Ce(e,Xl(r,t),o)}function tm(e,t,n={}){const{eventFilter:r,initialState:o="active",...l}=n,{eventFilter:a,pause:s,resume:i,isActive:f}=Xv(r,{initialState:o});return{stop:em(e,t,{...l,eventFilter:a}),pause:s,resume:i,isActive:f}}function Yn(e,t=!0,n){Fc()?Te(e,n):t?e():rn(e)}function nm(e,t){Fc()&&_n(e,t)}function rm(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,l=le(!1);let a;function s(){a&&(clearTimeout(a),a=void 0)}function i(){l.value=!1,s()}function f(...c){o&&e(),s(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=void 0,e(...c)},ce(t))}return r&&(l.value=!0,Or&&f()),En(i),{isPending:If(l),start:f,stop:i}}function _r(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=ke(e),l=le(e);function a(s){if(arguments.length)return l.value=s,l.value;{const i=ce(n);return l.value=l.value===i?ce(r):i,l.value}}return o?a:[l,a]}function kt(e,t,n){return Ce(e,t,{...n,immediate:!0})}const Ge=Or?window:void 0,Uc=Or?window.document:void 0,Wc=Or?window.navigator:void 0;function lt(e){var t;const n=ce(e);return(t=n?.$el)!=null?t:n}function fe(...e){const t=[],n=()=>{t.forEach(s=>s()),t.length=0},r=(s,i,f,c)=>(s.addEventListener(i,f,c),()=>s.removeEventListener(i,f,c)),o=T(()=>{const s=dr(ce(e[0])).filter(i=>i!=null);return s.every(i=>typeof i!="string")?s:void 0}),l=kt(()=>{var s,i;return[(i=(s=o.value)==null?void 0:s.map(f=>lt(f)))!=null?i:[Ge].filter(f=>f!=null),dr(ce(o.value?e[1]:e[0])),dr(tn(o.value?e[2]:e[1])),ce(o.value?e[3]:e[2])]},([s,i,f,c])=>{if(n(),!s?.length||!i?.length||!f?.length)return;const d=Kv(c)?{...c}:c;t.push(...s.flatMap(p=>i.flatMap(h=>f.map(b=>r(p,h,b,d)))))},{flush:"post"}),a=()=>{l(),n()};return En(n),a}function om(){const e=le(!1),t=Ut();return t&&Te(()=>{e.value=!0},t),e}function Qn(e){const t=om();return T(()=>(t.value,!!e()))}function qc(e,t,n={}){const{window:r=Ge,...o}=n;let l;const a=Qn(()=>r&&"MutationObserver"in r),s=()=>{l&&(l.disconnect(),l=void 0)},i=T(()=>{const p=ce(e),h=dr(p).map(lt).filter(qv);return new Set(h)}),f=Ce(i,p=>{s(),a.value&&p.size&&(l=new MutationObserver(t),p.forEach(h=>l.observe(h,o)))},{immediate:!0,flush:"post"}),c=()=>l?.takeRecords(),d=()=>{f(),s()};return En(d),{isSupported:a,stop:d,takeRecords:c}}function lm(e,t,n={}){const{window:r=Ge,document:o=r?.document,flush:l="sync"}=n;if(!r||!o)return Bt;let a;const s=c=>{a?.(),a=c},i=Hl(()=>{const c=lt(e);if(c){const{stop:d}=qc(o,p=>{p.map(b=>[...b.removedNodes]).flat().some(b=>b===c||b.contains(c))&&t(p)},{window:r,childList:!0,subtree:!0});s(d)}},{flush:l}),f=()=>{i(),s()};return En(f),f}const am=Symbol("vueuse-ssr-width");function sm(){const e=Ri()?Wv(am,null):null;return typeof e=="number"?e:void 0}function Zl(e,t={}){const{window:n=Ge,ssrWidth:r=sm()}=t,o=Qn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),l=le(typeof r=="number"),a=le(),s=le(!1),i=f=>{s.value=f.matches};return Hl(()=>{if(l.value){l.value=!o.value;const f=ce(e).split(",");s.value=f.some(c=>{const d=c.includes("not all"),p=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),h=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let b=!!(p||h);return p&&b&&(b=r>=Ss(p[1])),h&&b&&(b=r<=Ss(h[1])),d?!b:b});return}o.value&&(a.value=n.matchMedia(ce(e)),s.value=a.value.matches)}),fe(a,"change",i,{passive:!0}),T(()=>s.value)}function Ts(e,t={}){const{controls:n=!1,navigator:r=Wc}=t,o=Qn(()=>r&&"permissions"in r),l=le(),a=typeof e=="string"?{name:e}:e,s=le(),i=()=>{var c,d;s.value=(d=(c=l.value)==null?void 0:c.state)!=null?d:"prompt"};fe(l,"change",i,{passive:!0});const f=Zv(async()=>{if(o.value){if(!l.value)try{l.value=await r.permissions.query(a)}catch{l.value=void 0}finally{i()}if(n)return ie(l.value)}});return f(),n?{state:s,isSupported:o,query:f}:s}function im(e={}){const{navigator:t=Wc,read:n=!1,source:r,copiedDuring:o=1500,legacy:l=!1}=e,a=Qn(()=>t&&"clipboard"in t),s=Ts("clipboard-read"),i=Ts("clipboard-write"),f=T(()=>a.value||l),c=le(""),d=le(!1),p=rm(()=>d.value=!1,o,{immediate:!1});async function h(){let w=!(a.value&&x(s.value));if(!w)try{c.value=await t.clipboard.readText()}catch{w=!0}w&&(c.value=E())}f.value&&n&&fe(["copy","cut"],h,{passive:!0});async function b(w=ce(r)){if(f.value&&w!=null){let m=!(a.value&&x(i.value));if(!m)try{await t.clipboard.writeText(w)}catch{m=!0}m&&y(w),c.value=w,d.value=!0,p.start()}}function y(w){const m=document.createElement("textarea");m.value=w??"",m.style.position="absolute",m.style.opacity="0",document.body.appendChild(m),m.select(),document.execCommand("copy"),m.remove()}function E(){var w,m,_;return(_=(m=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:m.toString())!=null?_:""}function x(w){return w==="granted"||w==="prompt"}return{isSupported:f,text:c,copied:d,copy:b}}const Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zr="__vueuse_ssr_handlers__",cm=um();function um(){return zr in Br||(Br[zr]=Br[zr]||{}),Br[zr]}function fm(e,t){return cm[e]||t}function dm(e){return Zl("(prefers-color-scheme: dark)",e)}function pm(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 hm={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()}},xs="vueuse-storage";function Ir(e,t,n,r={}){var o;const{flush:l="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:f=!1,shallow:c,window:d=Ge,eventFilter:p,onError:h=W=>{console.error(W)},initOnMounted:b}=r,y=(c?le:de)(typeof t=="function"?t():t),E=T(()=>ce(e));if(!n)try{n=fm("getDefaultStorage",()=>{var W;return(W=Ge)==null?void 0:W.localStorage})()}catch(W){h(W)}if(!n)return y;const x=ce(t),w=pm(x),m=(o=r.serializer)!=null?o:hm[w],{pause:_,resume:L}=tm(y,W=>I(W),{flush:l,deep:a,eventFilter:p});Ce(E,()=>O(),{flush:l});let V=!1;const M=W=>{b&&!V||O(W)},F=W=>{b&&!V||Q(W)};d&&s&&(n instanceof Storage?fe(d,"storage",M,{passive:!0}):fe(d,xs,F)),b?Yn(()=>{V=!0,O()}):O();function C(W,X){if(d){const D={key:E.value,oldValue:W,newValue:X,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",D):new CustomEvent(xs,{detail:D}))}}function I(W){try{const X=n.getItem(E.value);if(W==null)C(X,null),n.removeItem(E.value);else{const D=m.write(W);X!==D&&(n.setItem(E.value,D),C(X,D))}}catch(X){h(X)}}function H(W){const X=W?W.newValue:n.getItem(E.value);if(X==null)return i&&x!=null&&n.setItem(E.value,m.write(x)),x;if(!W&&f){const D=m.read(X);return typeof f=="function"?f(D,x):w==="object"&&!Array.isArray(D)?{...x,...D}:D}else return typeof X!="string"?X:m.read(X)}function O(W){if(!(W&&W.storageArea!==n)){if(W&&W.key==null){y.value=x;return}if(!(W&&W.key!==E.value)){_();try{const X=m.write(y.value);(W===void 0||W?.newValue!==X)&&(y.value=H(W))}catch(X){h(X)}finally{W?rn(L):L()}}}}function Q(W){O(W.detail)}return y}function ea(e,t,n={}){const{window:r=Ge,...o}=n;let l;const a=Qn(()=>r&&"ResizeObserver"in r),s=()=>{l&&(l.disconnect(),l=void 0)},i=T(()=>{const d=ce(e);return Array.isArray(d)?d.map(p=>lt(p)):[lt(d)]}),f=Ce(i,d=>{if(s(),a.value&&r){l=new ResizeObserver(t);for(const p of d)p&&l.observe(p,o)}},{immediate:!0,flush:"post"}),c=()=>{s(),f()};return En(c),{isSupported:a,stop:c}}function vm(e,t={}){const{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:o=!1,window:l=Ge}=t,a=le(!1);let s;const i=f=>{const c=f?n:r;s&&(clearTimeout(s),s=void 0),c?s=setTimeout(()=>a.value=f,c):a.value=f};return l&&(fe(e,"mouseenter",()=>i(!0),{passive:!0}),fe(e,"mouseleave",()=>i(!1),{passive:!0}),o&&lm(T(()=>lt(e)),()=>i(!1))),a}function mm(e,t={width:0,height:0},n={}){const{window:r=Ge,box:o="content-box"}=n,l=T(()=>{var d,p;return(p=(d=lt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),a=le(t.width),s=le(t.height),{stop:i}=ea(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&l.value){const h=lt(e);if(h){const b=h.getBoundingClientRect();a.value=b.width,s.value=b.height}}else if(p){const h=dr(p);a.value=h.reduce((b,{inlineSize:y})=>b+y,0),s.value=h.reduce((b,{blockSize:y})=>b+y,0)}else a.value=d.contentRect.width,s.value=d.contentRect.height},n);Yn(()=>{const d=lt(e);d&&(a.value="offsetWidth"in d?d.offsetWidth:t.width,s.value="offsetHeight"in d?d.offsetHeight:t.height)});const f=Ce(()=>lt(e),d=>{a.value=d?t.width:0,s.value=d?t.height:0});function c(){i(),f()}return{width:a,height:s,stop:c}}const Cs=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Eo(e,t={}){const{document:n=Uc,autoExit:r=!1}=t,o=T(()=>{var w;return(w=lt(e))!=null?w:n?.documentElement}),l=le(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),s=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(w=>n&&w in n||o.value&&w in o.value)),i=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(w=>n&&w in n||o.value&&w in o.value)),f=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(w=>n&&w in n),c=Qn(()=>o.value&&n&&a.value!==void 0&&s.value!==void 0&&i.value!==void 0),d=()=>f?n?.[f]===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const w=o.value;if(w?.[i.value]!=null)return!!w[i.value]}}return!1};async function h(){if(!(!c.value||!l.value)){if(s.value)if(n?.[s.value]!=null)await n[s.value]();else{const w=o.value;w?.[s.value]!=null&&await w[s.value]()}l.value=!1}}async function b(){if(!c.value||l.value)return;p()&&await h();const w=o.value;a.value&&w?.[a.value]!=null&&(await w[a.value](),l.value=!0)}async function y(){await(l.value?h():b())}const E=()=>{const w=p();(!w||w&&d())&&(l.value=w)},x={capture:!1,passive:!0};return fe(n,Cs,E,x),fe(()=>lt(o),Cs,E,x),Yn(E,!1),r&&En(h),{isSupported:c,isFullscreen:l,enter:b,exit:h,toggle:y}}function zo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const ks=1;function gm(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=Bt,onScroll:l=Bt,offset:a={left:0,right:0,top:0,bottom:0},observe:s={mutation:!1},eventListenerOptions:i={capture:!1,passive:!0},behavior:f="auto",window:c=Ge,onError:d=C=>{console.error(C)}}=t,p=typeof s=="boolean"?{mutation:s}:s,h=le(0),b=le(0),y=T({get(){return h.value},set(C){x(C,void 0)}}),E=T({get(){return b.value},set(C){x(void 0,C)}});function x(C,I){var H,O,Q,W;if(!c)return;const X=ce(e);if(!X)return;(Q=X instanceof Document?c.document.body:X)==null||Q.scrollTo({top:(H=ce(I))!=null?H:E.value,left:(O=ce(C))!=null?O:y.value,behavior:ce(f)});const D=((W=X?.document)==null?void 0:W.documentElement)||X?.documentElement||X;y!=null&&(h.value=D.scrollLeft),E!=null&&(b.value=D.scrollTop)}const w=le(!1),m=mn({left:!0,right:!1,top:!0,bottom:!1}),_=mn({left:!1,right:!1,top:!1,bottom:!1}),L=C=>{w.value&&(w.value=!1,_.left=!1,_.right=!1,_.top=!1,_.bottom=!1,o(C))},V=Bc(L,n+r),M=C=>{var I;if(!c)return;const H=((I=C?.document)==null?void 0:I.documentElement)||C?.documentElement||lt(C),{display:O,flexDirection:Q,direction:W}=getComputedStyle(H),X=W==="rtl"?-1:1,D=H.scrollLeft;_.left=D<h.value,_.right=D>h.value;const te=Math.abs(D*X)<=(a.left||0),K=Math.abs(D*X)+H.clientWidth>=H.scrollWidth-(a.right||0)-ks;O==="flex"&&Q==="row-reverse"?(m.left=K,m.right=te):(m.left=te,m.right=K),h.value=D;let ae=H.scrollTop;C===c.document&&!ae&&(ae=c.document.body.scrollTop),_.top=ae<b.value,_.bottom=ae>b.value;const Xe=Math.abs(ae)<=(a.top||0),Fe=Math.abs(ae)+H.clientHeight>=H.scrollHeight-(a.bottom||0)-ks;O==="flex"&&Q==="column-reverse"?(m.top=Fe,m.bottom=Xe):(m.top=Xe,m.bottom=Fe),b.value=ae},F=C=>{var I;if(!c)return;const H=(I=C.target.documentElement)!=null?I:C.target;M(H),w.value=!0,V(C),l(C)};return fe(e,"scroll",n?zc(F,n,!0,!1):F,i),Yn(()=>{try{const C=ce(e);if(!C)return;M(C)}catch(C){d(C)}}),p?.mutation&&e!=null&&e!==c&&e!==document&&qc(e,()=>{const C=ce(e);C&&M(C)},{attributes:!0,childList:!0,subtree:!0}),fe(e,"scrollend",L,i),{x:y,y:E,isScrolling:w,arrivedState:m,directions:_,measure(){const C=ce(e);c&&C&&M(C)}}}function bm(e,t,n={}){const{window:r=Ge}=n;return Ir(e,t,r?.localStorage,n)}function ym(e={}){const{window:t=Ge}=e;if(!t)return le(["en"]);const n=t.navigator,r=le(n.languages);return fe(t,"languagechange",()=>{r.value=n.languages},{passive:!0}),r}function _m(e,t=Bt,n={}){const{immediate:r=!0,manual:o=!1,type:l="text/javascript",async:a=!0,crossOrigin:s,referrerPolicy:i,noModule:f,defer:c,document:d=Uc,attrs:p={},nonce:h=void 0}=n,b=le(null);let y=null;const E=m=>new Promise((_,L)=>{const V=I=>(b.value=I,_(I),I);if(!d){_(!1);return}let M=!1,F=d.querySelector(`script[src="${ce(e)}"]`);F?F.hasAttribute("data-loaded")&&V(F):(F=d.createElement("script"),F.type=l,F.async=a,F.src=ce(e),c&&(F.defer=c),s&&(F.crossOrigin=s),f&&(F.noModule=f),i&&(F.referrerPolicy=i),h&&(F.nonce=h),Object.entries(p).forEach(([I,H])=>F?.setAttribute(I,H)),M=!0);const C={passive:!0};fe(F,"error",I=>L(I),C),fe(F,"abort",I=>L(I),C),fe(F,"load",()=>{F.setAttribute("data-loaded","true"),t(F),V(F)},C),M&&(F=d.head.appendChild(F)),m||V(F)}),x=(m=!0)=>(y||(y=E(m)),y),w=()=>{if(!d)return;y=null,b.value&&(b.value=null);const m=d.querySelector(`script[src="${ce(e)}"]`);m&&d.head.removeChild(m)};return r&&!o&&Yn(x),o||nm(w),{scriptTag:b,load:x,unload:w}}function Gc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Gc(n)}}function wm(e){const t=e||window.event,n=t.target;return Gc(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Uo=new WeakMap;function ta(e,t=!1){const n=le(t);let r=null,o="";Ce(Hc(e),s=>{const i=zo(ce(s));if(i){const f=i;if(Uo.get(f)||Uo.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(o=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const l=()=>{const s=zo(ce(e));!s||n.value||(Es&&(r=fe(s,"touchmove",i=>{wm(i)},{passive:!1})),s.style.overflow="hidden",n.value=!0)},a=()=>{const s=zo(ce(e));!s||!n.value||(Es&&r?.(),s.style.overflow=o,Uo.delete(s),n.value=!1)};return En(a),T({get(){return n.value},set(s){s?l():a()}})}function Em(e,t,n={}){const{window:r=Ge}=n;return Ir(e,t,r?.sessionStorage,n)}function Sm(e={}){const{window:t=Ge,...n}=e;return gm(t,n)}function Tm(e={}){const{window:t=Ge,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:l=!0,type:a="inner"}=e,s=le(n),i=le(r),f=()=>{if(t)if(a==="outer")s.value=t.outerWidth,i.value=t.outerHeight;else if(a==="visual"&&t.visualViewport){const{width:d,height:p,scale:h}=t.visualViewport;s.value=Math.round(d*h),i.value=Math.round(p*h)}else l?(s.value=t.innerWidth,i.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,i.value=t.document.documentElement.clientHeight)};f(),Yn(f);const c={passive:!0};if(fe("resize",f,c),t&&a==="visual"&&t.visualViewport&&fe(t.visualViewport,"resize",f,c),o){const d=Zl("(orientation: portrait)");Ce(d,()=>f())}return{width:s,height:i}}const Kc=(e=!0)=>{const{frontmatter:t,page:n}=Lr();return T(()=>t.value.contributors===!1||!ce(e)?[]:n.value.git.contributors??[])};var Ps={"/":{contributors:"贡献者",changelog:"更新日志",timeOn:"于",viewChangelog:"查看所有更新日志",latestUpdateAt:"最近更新"}};const xm=typeof Ps>"u"?{}:Ps,Jc=()=>Jn(xm),Cm=(e=!0)=>{const{lang:t,page:n}=Lr(),r=Jc();return T(()=>{if(!ce(e))return null;const o=n.value.git?.updatedTime??n.value.git?.changelog?.[0].time;if(!o)return null;const l=new Date(o),a=new Intl.DateTimeFormat(t.value,{dateStyle:"short",timeStyle:"short"}).format(o);return{date:l,text:a,iso:l.toISOString(),locale:r.value.latestUpdateAt}})},km=({level:e=2,text:t,anchor:n})=>u(`h${e||2}`,{id:n,tabindex:"-1"},u("a",{href:`#${n}`,class:"header-anchor"},u("span",t))),Pm=({name:e,url:t,avatar:n})=>u(t?"a":"span",{href:t,target:"_blank",rel:"noreferrer",class:"vp-contributor"},[n?u("img",{src:n,alt:"",class:"vp-contributor-avatar"}):null,u("span",{class:"vp-contributor-name"},e)]),Lm=J({name:"GitContributors",props:{title:String,headerLevel:{type:Number,default:2}},setup(e){const t=Kc(),n=Jc();return()=>t.value.length?[u(km,{level:e.headerLevel,anchor:"doc-contributors",text:e.title||n.value.contributors}),u("div",{class:"vp-contributors"},t.value.map(r=>u(Pm,r)))]:null}}),Am={enhance:({app:e})=>{e.component("GitContributors",Lm)}},Rm=Object.freeze(Object.defineProperty({__proto__:null,default:Am},Symbol.toStringTag,{value:"Module"})),Om=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Im=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),$m=Lt({enhance:({app:e})=>{}}),Mm=Object.freeze(Object.defineProperty({__proto__:null,default:$m},Symbol.toStringTag,{value:"Module"})),Dm=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Nm=Lt({setup(){fe("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})},{passive:!0})}}),jm=Object.freeze(Object.defineProperty({__proto__:null,default:Nm},Symbol.toStringTag,{value:"Module"})),Hm=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Vm="VUEPRESS_CODE_TAB_STORE",Ur=Ir(Vm,{}),Fm=J({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},tabId:String},slots:Object,setup(e,{slots:t}){let n=e.data.map(()=>xi());const r=de(e.active),o=le([]),l=()=>{e.tabId&&(Ur.value[e.tabId]=e.data[r.value].id)},a=(c=r.value)=>{r.value=c<o.value.length-1?c+1:0,o.value[r.value].focus()},s=(c=r.value)=>{r.value=c>0?c-1:o.value.length-1,o.value[r.value].focus()},i=(c,d)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),r.value=d):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),e.tabId&&(Ur.value[e.tabId]=e.data[r.value].id)},f=()=>{if(e.tabId){const c=e.data.findIndex(({id:d})=>Ur.value[e.tabId]===d);if(c!==-1)return c}return e.active};return Te(()=>{r.value=f(),Ce(()=>e.tabId&&Ur.value[e.tabId],(c,d)=>{if(e.tabId&&c!==d){const p=e.data.findIndex(({id:h})=>h===c);p!==-1&&(r.value=p)}})}),()=>e.data.length?u("div",{class:"vp-code-tabs"},[u("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},d)=>{const p=d===r.value;return u("button",{type:"button",ref:h=>{h&&(o.value[d]=h)},class:["vp-code-tab-nav",{active:p}],role:"tab","aria-controls":n[d],"aria-selected":p,onClick:()=>{r.value=d,l()},onKeydown:h=>{i(h,d)}},t[`title${d}`]({value:c,isActive:p}))})),e.data.map(({id:c},d)=>{const p=d===r.value;return u("div",{class:["vp-code-tab",{active:p}],id:n[d],role:"tabpanel","aria-expanded":p},[u("div",{class:"vp-code-tab-title"},t[`title${d}`]({value:c,isActive:p})),t[`tab${d}`]({value:c,isActive:p})])})]):null}}),Bm="VUEPRESS_TAB_STORE",Wo=Ir(Bm,{}),zm=J({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},tabId:String},slots:Object,setup(e,{slots:t}){let n=e.data.map(()=>xi());const r=de(e.active),o=le([]),l=()=>{e.tabId&&(Wo.value[e.tabId]=e.data[r.value].id)},a=(c=r.value)=>{r.value=c<o.value.length-1?c+1:0,o.value[r.value].focus()},s=(c=r.value)=>{r.value=c>0?c-1:o.value.length-1,o.value[r.value].focus()},i=(c,d)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),r.value=d):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),s()),l()},f=()=>{if(e.tabId){const c=e.data.findIndex(({id:d})=>Wo.value[e.tabId]===d);if(c!==-1)return c}return e.active};return Te(()=>{r.value=f(),Ce(()=>e.tabId&&Wo.value[e.tabId],(c,d)=>{if(e.tabId&&c!==d){const p=e.data.findIndex(({id:h})=>h===c);p!==-1&&(r.value=p)}})}),()=>e.data.length?u("div",{class:"vp-tabs"},[u("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},d)=>{const p=d===r.value;return u("button",{type:"button",ref:h=>{h&&(o.value[d]=h)},class:["vp-tab-nav",{active:p}],role:"tab","aria-controls":n[d],"aria-selected":p,onClick:()=>{r.value=d,l()},onKeydown:h=>{i(h,d)}},t[`title${d}`]({value:c,isActive:p}))})),e.data.map(({id:c},d)=>{const p=d===r.value;return u("div",{class:["vp-tab",{active:p}],id:n[d],role:"tabpanel","aria-expanded":p},[u("div",{class:"vp-tab-title"},t[`title${d}`]({value:c,isActive:p})),t[`tab${d}`]({value:c,isActive:p})])})]):null}}),Um={enhance:({app:e})=>{e.component("CodeTabs",Fm),e.component("Tabs",zm)}},Wm=Object.freeze(Object.defineProperty({__proto__:null,default:Um},Symbol.toStringTag,{value:"Module"})),qm='<svg class="codepen-icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M123.429 668L468 897.714V692.571L277.143 565.143zM88 585.714L198.286 512 88 438.286v147.428zm468 312L900.571 668 746.857 565.143 556 692.57v205.143zM512 616l155.429-104L512 408 356.571 512zM277.143 458.857L468 331.43V126.286L123.429 356zM825.714 512L936 585.714V438.286zm-78.857-53.143L900.571 356 556 126.286v205.143zM1024 356v312q0 23.429-19.429 36.571l-468 312Q524.571 1024 512 1024t-24.571-7.429l-468-312Q0 691.43 0 668V356q0-23.429 19.429-36.571l468-312Q499.429 0 512 0t24.571 7.429l468 312Q1024 332.57 1024 356z"/></svg>',Gm='<svg class="jsfiddle-icon" viewBox="0 0 1170 1024" xmlns="http://www.w3.org/2000/svg"><path d="M1028.571 441.143q63.429 26.286 102.572 83.143t39.143 126.571q0 93.714-67.429 160.286T940 877.714q-2.286 0-6.571-.285t-6-.286H232q-97.143-5.714-164.571-71.714T0 645.143q0-62.857 31.429-116t84-84q-6.858-22.286-6.858-46.857 0-65.715 46.858-112T269.143 240q54.286 0 98.286 33.143 42.857-88 127.142-141.714t186.572-53.715q94.857 0 174.857 46t126.571 124.857 46.572 172q0 3.429-.286 10.286t-.286 10.286zm-761.142 152q0 69.714 48 110.286T434.286 744q78.285 0 137.143-56.571-9.143-11.429-27.143-32.286t-24.857-28.857q-38.286 37.143-82.286 37.143-31.429 0-53.429-19.143t-22-50q0-30.286 22-49.715T436 525.143q25.143 0 48.286 12T526 568.57t37.143 42.858 39.428 46.857 44 42.857T702 732.57t69.429 12q69.142 0 116.857-40.857T936 594.857q0-69.143-48-109.714T769.714 444.57Q688 444.571 632 500l53.143 61.714q37.714-36.571 81.143-36.571 29.714 0 52.571 18.857t22.857 48q0 32.571-21.143 52.286T766.857 664q-24.571 0-47.143-12t-41.143-31.429-37.428-42.857-39.714-46.857T557.143 488 502 456.571t-67.714-12q-69.715 0-118.286 40.286t-48.571 108.286z"/></svg>';var Km={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const qo=Km,Ls={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},Jm=(e,t,n)=>{const r=document.createElement(e);return wn(t)&&Rr(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const l=o.replace("data","");r.dataset[l]=t[o]}}),r},na=e=>({...qo,...e,jsLib:Array.from(new Set([qo.jsLib,e.jsLib??[]].flat())),cssLib:Array.from(new Set([qo.cssLib,e.cssLib??[]].flat()))}),Vn=(e,t)=>{if(Yl(e[t]))return e[t];const n=new Promise(r=>{const o=document.createElement("script");o.src=t,document.querySelector("body")?.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Ym=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Jm("style",{innerHTML:t.css});e.appendChild(n)}},Qm=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot;
${r}}`)),t.appendChild(o)}},Xm=["html","js","css"],Zm=e=>{const t=Rr(e),n={html:[],js:[],css:[],isLegal:!1};return Xm.forEach(r=>{const o=t.filter(l=>Ls[r].types.includes(l));if(o.length){const l=o[0];n[r]=[e[l].replace(/^\n|\n$/g,""),Ls[r].map[l]??l]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Yc=e=>e.replace(/<br \/>/g,"<br>").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1></$2>"),Qc=e=>`<div id="app">
${Yc(e)}
</div>`,eg=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")};
ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,tg=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Xc=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?exports.default:module.exports;})({})`,ng=(e,t)=>{const n=na(t),r=e.js[0]??"";return{...n,html:Yc(e.html[0]??""),js:r,css:e.css[0]??"",isLegal:e.isLegal,getScript:()=>n.useBabel?window.Babel?.transform(r,{presets:["es2015"]})?.code??"":r}},rg=/<template>([\s\S]+)<\/template>/u,og=/<script(\s*lang=(['"])(.*?)\2)?>([\s\S]+)<\/script>/u,lg=/<style(\s*lang=(['"])(.*?)\2)?\s*(?:scoped)?>([\s\S]+)<\/style>/u,ag=(e,t)=>{const n=na(t),r=e.html[0]??"",o=rg.exec(r),l=og.exec(r),a=lg.exec(r),s=o?.[1].replace(/^\n|\n$/g,"")??"",[i="",f=""]=l?[l[4].replace(/^\n|\n$/g,""),l[3]]:[],[c="",d=""]=a?[a[4].replace(/^\n|\n$/g,""),a[3]]:[],p=f===""&&(d===""||d==="css");return{...n,html:Qc(s),js:tg(i),css:c,isLegal:p,jsLib:[n.vue,...n.jsLib],getScript:()=>{const h=t.useBabel?window.Babel?.transform(i,{presets:["es2015"]})?.code??"":i.replace(/export\s+default/u,"return");return`const app=window.document.createElement('div');document.firstElementChild.appendChild(app);const appOptions=${Xc(h)};appOptions.template=\`${s.replace("`",'\\`"')}\`;window.Vue.createApp(appOptions).mount(app);`}}},sg=(e,t)=>{const n=na(t),r=e.js[0]??"";return{...n,html:Qc(""),js:eg(r),css:e.css[0]??e.js[0]?.replace(/App\.__style__(?:\s*)=(?:\s*)`([\s\S]*)?`/,"$1").trim()??"",isLegal:e.isLegal,jsLib:[n.react,n.reactDOM,...n.jsLib],jsx:!0,getScript:()=>{const o=window.Babel?.transform(r,{presets:["es2015","react"]})?.code??"";return`window.ReactDOM.createRoot(document.firstElementChild).render(window.React.createElement(${Xc(o)}))`}}},Fn={},ig=e=>Promise.all([Vn(Fn,e.babel),Vn(Fn,e.react),Vn(Fn,e.reactDOM)]),cg=e=>{const t=[Vn(Fn,e.vue)];return e.useBabel&&t.push(Vn(Fn,e.babel)),Promise.all(t)},ug=e=>e.useBabel?Vn(Fn,e.babel):Promise.resolve();var fg=J({name:"CodeDemo",props:{id:{type:String,required:!0},type:{type:String,default:"normal"},title:String,config:String,code:{type:String,required:!0}},slots:Object,setup(e,{slots:t}){const[n,r]=_r(!1),o=le(),l=le(),a=de("0"),s=de(!1),i=T(()=>JSON.parse(e.config?ws(e.config):"{}")),f=T(()=>{const y=JSON.parse(ws(e.code));return Zm(y)}),c=T(()=>e.type==="react"?sg(f.value,i.value):e.type==="vue"?ag(f.value,i.value):ng(f.value,i.value)),d=T(()=>c.value.isLegal),p=(y=!1)=>{const E=o.value.attachShadow({mode:"open"}),x=document.createElement("div");x.classList.add("code-demo-app"),E.appendChild(x),d.value?(y&&(x.innerHTML=c.value.html),Ym(E,c.value),Qm(e.id,E,c.value),a.value="0"):a.value="auto",s.value=!0},h=()=>{switch(e.type){case"react":return ig(c.value).then(()=>{p()});case"vue":return cg(c.value).then(()=>{p()});default:return ug(c.value).then(()=>{p(!0)})}};let b=null;return fe("beforeprint",()=>{r(!0)}),fe("afterprint",()=>{b!==null&&r(b),b=null}),ea(l,()=>{n.value&&(a.value=`${l.value.clientHeight+14}px`)}),Te(async()=>{await h()}),()=>u("div",{class:"vp-container vp-code-demo",id:e.id},[u("div",{class:"vp-container-header"},[c.value.isLegal?u("button",{type:"button",title:"toggle",class:["vp-code-demo-toggle-button",n.value?"down":"end"],onClick:()=>{a.value=n.value?"0":`${l.value.clientHeight+14}px`,r()}}):null,e.title?u("span",{class:"vp-container-title"},decodeURIComponent(e.title)):null,c.value.isLegal&&(c.value.jsfiddle??!0)?u("form",{class:"code-demo-jsfiddle",target:"_blank",action:"https://jsfiddle.net/api/post/library/pure/",method:"post"},[u("input",{type:"hidden",name:"html",value:c.value.html}),u("input",{type:"hidden",name:"js",value:c.value.js}),u("input",{type:"hidden",name:"css",value:c.value.css}),u("input",{type:"hidden",name:"wrap",value:"1"}),u("input",{type:"hidden",name:"panel_js",value:"3"}),u("input",{type:"hidden",name:"resources",value:[...c.value.cssLib,...c.value.jsLib].join(",")}),u("button",{type:"submit",class:"jsfiddle-button",innerHTML:Gm,"aria-label":"JSFiddle","data-balloon-pos":"down"})]):null,!c.value.isLegal||(c.value.codepen??!0)?u("form",{class:"code-demo-codepen",target:"_blank",action:"https://codepen.io/pen/define",method:"post"},[u("input",{type:"hidden",name:"data",value:JSON.stringify({html:c.value.html,js:c.value.js,css:c.value.css,js_external:c.value.jsLib.join(";"),css_external:c.value.cssLib.join(";"),layout:c.value.codepenLayout,html_pre_processor:f.value.html[1]??"none",js_pre_processor:f.value.js[1]??(c.value.jsx?"babel":"none"),css_pre_processor:f.value.css[1]??"none",editors:c.value.codepenEditors})}),u("button",{type:"submit",innerHTML:qm,class:"codepen-button","aria-label":"Codepen","data-balloon-pos":"down"})]):null]),s.value?null:u(Pc,{class:"vp-code-demo-loading"}),u("div",{ref:o,class:"vp-code-demo-display",style:{display:d.value&&s.value?"block":"none"}}),u("div",{class:"vp-code-demo-code-wrapper",style:{height:a.value}},u("div",{ref:l,class:"vp-code-demo-codes"},t.default()))])}}),dg=J({name:"MdDemo",props:{id:{type:String,required:!0},title:String},slots:Object,setup(e,{slots:t}){const[n,r]=_r(!1),o=le(),l=de("0");let a=null;return fe("beforeprint",()=>{r(!0)}),fe("afterprint",()=>{a!==null&&r(a),a=null}),ea(o,()=>{n.value&&(l.value=`${o.value.clientHeight+14}px`)}),()=>u("div",{class:"vp-container vp-md-demo",id:e.id},[u("div",{class:"vp-container-header"},[u("button",{type:"button",title:"toggle",class:["vp-md-demo-toggle-button",n.value?"down":"end"],onClick:()=>{l.value=n.value?"0":`${o.value.clientHeight+14}px`,r()}}),e.title?u("div",{class:"vp-container-title"},decodeURIComponent(e.title)):null]),u("div",{class:"vp-md-demo-display"},t.default()),u("div",{class:"vp-md-demo-code-wrapper",style:{height:l.value}},u("div",{ref:o,class:"vp-md-demo-codes"},t.code()))])}});const pg={enhance:({app:e})=>{e.component("CodeDemo",fg),e.component("MdDemo",dg)}},hg=Object.freeze(Object.defineProperty({__proto__:null,default:pg},Symbol.toStringTag,{value:"Module"})),vg=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),mg=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gg=JSON.parse('{"encrypt":{},"author":{"name":"JinChao","url":"https://thecodeway.com"},"logo":"favicon.png","repoDisplay":false,"editLink":false,"prevLink":false,"nextLink":false,"contributors":false,"lastUpdated":false,"docsDir":"docs","toc":false,"pageInfo":false,"footer":"使用 <a href=\\"https://theme-hope.vuejs.press/zh/\\" target=\\"_blank\\">VuePress Theme Hope</a> 主题 | <a href=\\"https://beian.miit.gov.cn/\\" target=\\"_blank\\">京ICP备16018986号-1</a>","displayFooter":true,"copyright":false,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"routerLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家"},"navbar":[{"text":"主页","icon":"house","link":"/"},{"text":"文章","icon":"book","link":"/blog/"},{"text":"开源项目","icon":"diagram-project","children":[{"text":"TurboLink","link":"https://github.com/thejinchao/turbolink"},{"text":"TinyEncrypt","link":"https://github.com/thejinchao/TinyEncrypt"},{"text":"UnrealStyleGuide","link":"https://github.com/thejinchao/ue5-style-guide"},{"text":"AxTrace","link":"https://github.com/thejinchao/AxTrace"},{"text":"Cyclone","link":"https://github.com/thejinchao/cyclone"}]},{"text":"个人笔记","icon":"lightbulb","children":[{"text":"数学相关","link":"/note/math/"},{"text":"图形学","link":"/note/graphics/"},{"text":"密码学","link":"/note/cryptography/"},{"text":"编程语言","link":"/note/language/"}]},{"text":"关于","icon":"user-astronaut","link":"/about"}],"sidebar":{"/":[{"text":"主页","icon":"house","link":"/"},{"text":"我的文章","prefix":"/blog/","collapsible":true,"icon":"book","expanded":true,"children":[{"text":"从抛币协议到智能合约","collapsible":true,"children":[{"text":"Part1","link":"2025/02/MentalPoker01.md"},{"text":"Part2","link":"2025/02/MentalPoker02.md"}]},{"text":"JPEG算法解密","collapsible":true,"children":[{"text":"Part1","link":"2025/02/JPEG001.md"},{"text":"Part2","link":"2025/02/JPEG002.md"},{"text":"Part3","link":"2025/02/JPEG003.md"},{"text":"Part4","link":"2025/02/JPEG004.md"},{"text":"Part5","link":"2025/02/JPEG005.md"},{"text":"Github","link":"http://github.com/thejinchao/jpeg_encoder"}]},{"text":"SPH算法简介","collapsible":true,"children":[{"text":"Part1","link":"2025/02/SPH001.md"},{"text":"Part2","link":"2025/02/SPH002.md"},{"text":"Part3","link":"2025/02/SPH003.md"},{"text":"Part4","link":"2025/02/SPH004.md"},{"text":"Github","link":"https://github.com/thejinchao/fluid"}]},"2025/02/Martingle.md","2025/02/RandRound.md","2025/02/DH.md","2025/02/SegmentCircle.md","2025/02/Ellipse.md","2025/02/Fibonacci.md",{"text":"匀速贝塞尔曲线运动的实现","collapsible":true,"children":[{"text":"Part1","link":"2025/03/BezierLine01.md"},{"text":"Part2","link":"2025/03/BezierLine02.md"}]}]},{"text":"开源项目","collapsible":true,"icon":"diagram-project","children":[{"text":"TurboLink","link":"https://github.com/thejinchao/turbolink"},{"text":"TinyEncrypt","link":"https://github.com/thejinchao/TinyEncrypt"},{"text":"UnrealStyleGuide","link":"https://github.com/thejinchao/ue5-style-guide"},{"text":"AxTrace","link":"https://github.com/thejinchao/AxTrace"},{"text":"Cyclone","link":"https://github.com/thejinchao/cyclone"}]},{"text":"学习笔记","collapsible":true,"icon":"lightbulb","expanded":true,"children":[{"text":"数学相关","collapsible":true,"children":[{"text":"常用数学符号","link":"/note/math/symbol.md"},{"text":"群","link":"/note/math/group.md"},{"text":"数论(一)","link":"/note/math/number_theory_1.md"},{"text":"数论(二)","link":"/note/math/number_theory_2.md"},{"text":"数论(三)","link":"/note/math/number_theory_3.md"},{"text":"概率","link":"/note/math/probability.md"},{"text":"线性代数","link":"/note/math/linear_algebra.md"}]},{"text":"密码学","collapsible":true,"children":[{"text":"RSA","link":"/note/cryptography/rsa"},{"text":"抛币协议","link":"/note/cryptography/flip_coin"},{"text":"智能扑克协议","link":"/note/cryptography/mental_poker"}]},{"text":"图形学","collapsible":true,"children":[{"text":"数学基础","collapsible":true,"children":[{"text":"矢量","link":"/note/graphics/math/math_01"},{"text":"矩阵","link":"/note/graphics/math/math_02"},{"text":"立体角","link":"/note/graphics/math/math_03"},{"text":"几何变换(一)","link":"/note/graphics/math/transform_01"},{"text":"几何变换(二)","link":"/note/graphics/math/transform_02"},{"text":"法线变换","link":"/note/graphics/math/transform_03"},{"text":"摄像机变换","link":"/note/graphics/math/transform_04"}]},{"text":"光栅化","collapsible":true,"children":[{"text":"基础","link":"/note/graphics/rasterization/raster01"},{"text":"边界判定","link":"/note/graphics/rasterization/raster02"},{"text":"像素遍历","link":"/note/graphics/rasterization/raster03"}]},{"text":"光照模型","collapsible":true,"children":[{"text":"传统光照模型","link":"/note/graphics/illumination_model/classic/illumination_model_01"},{"text":"光度学","link":"/note/graphics/illumination_model/luminosity/luminosity"},{"text":"双向反射分布函数(BRDF)","link":"/note/graphics/illumination_model/BRDF/BRDF"},{"text":"微平面理论(一)","link":"/note/graphics/illumination_model/microfacets/microfacets_1"},{"text":"微平面理论(二)","link":"/note/graphics/illumination_model/microfacets/microfacets_2"},{"text":"微平面理论(三)","link":"/note/graphics/illumination_model/microfacets/microfacets_3"},{"text":"光照方程","link":"/note/graphics/illumination_model/render_function/render_function_1"}]},{"text":"环境光渲染","collapsible":true,"children":[{"text":"环境光渲染(一)","link":"/note/graphics/image_based_lighting/ibl_01"},{"text":"环境光渲染(二)","link":"/note/graphics/image_based_lighting/ibl_02"}]}]},{"text":"编程语言","collapsible":true,"children":[{"text":"JavaScript","collapsible":true,"children":[{"text":"环境搭建","link":"/note/language/javascript/helloworld.md"},{"text":"基本语法","link":"/note/language/javascript/grammar.md"},{"text":"函数","link":"/note/language/javascript/function.md"},{"text":"对象和类","link":"/note/language/javascript/object_and_class.md"}]}]}]}]}}}}'),bg=de(gg),Zc=()=>bg,eu=Symbol(""),yg=()=>{const e=Pe(eu);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},_g=(e,t)=>{const{locales:n,...r}=e;return{...r,...n?.[t]}},wg=Lt({enhance({app:e}){const t=Zc(),n=e._context.provides[ql],r=T(()=>_g(t.value,n.routeLocale.value));e.provide(eu,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}}),Eg=Object.freeze(Object.defineProperty({__proto__:null,default:wg},Symbol.toStringTag,{value:"Module"}));var Sg={"/":{backToTop:"返回顶部"}};const Tg=J({name:"BackToTop",setup(){const e=on(),t=Jn(Sg),n=le(),{height:r}=mm(n),{height:o}=Tm(),{y:l}=Sm(),a=T(()=>(e.value.backToTop??!0)&&l.value>100),s=T(()=>l.value/(r.value-o.value)*100);return Te(()=>{n.value=document.body}),()=>u(Un,{name:"fade-in"},()=>a.value?u("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[u("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":s.value},u("svg",u("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*s.value*.48} ${Math.PI*(100-s.value)*.48}`}))),u("div",{class:"back-to-top-icon"})]):null)}}),xg=Lt({rootComponents:[Tg]}),Cg=Object.freeze(Object.defineProperty({__proto__:null,default:xg},Symbol.toStringTag,{value:"Module"})),kg=/language-(shellscript|shell|bash|sh|zsh)/,Pg=({selector:e,ignoreSelector:t,inlineSelector:n,duration:r=2e3,locales:o,showInMobile:l,transform:a})=>{const s=Zl("(max-width: 419px)"),i=T(()=>!s.value||l),f=Jn(o),c=y=>{if(y.hasAttribute("copy-code"))return;const E=document.createElement("button");E.type="button",E.classList.add("vp-copy-code-button"),E.setAttribute("aria-label",f.value.copy),E.setAttribute("data-copied",f.value.copied),y.parentElement?.insertBefore(E,y),y.setAttribute("copy-code","")},d=()=>{document.body.classList.toggle("no-copy-code",!i.value),i.value&&document.querySelectorAll(e).forEach(c)};kt(i,()=>rn(d),{flush:"post"}),qt(y=>{y!=="beforeUnmount"&&d()});const{copy:p}=im({legacy:!0}),h=new WeakMap,b=async(y,E,x)=>{const w=E.cloneNode(!0);a&&a(w);let m=w.textContent||"";if(kg.test(y.className)&&(m=m.replace(/^ *(\$|>) /gm,"")),await p(m),r<=0)return;x.classList.add("copied"),clearTimeout(h.get(x));const _=setTimeout(()=>{x.classList.remove("copied"),x.blur(),h.delete(x)},r);h.set(x,_)};fe("click",y=>{const E=y.target;if(i.value&&E.matches('div[class*="language-"] > button.vp-copy-code-button')){const x=E.parentElement,w=E.nextElementSibling;if(!x||!w)return;b(x,w,E)}},{passive:!0})};var Lg={"/":{copy:"复制代码",copied:"已复制"}};const Ag=Lt({setup:()=>{Pg({selector:'[vp-content] div[class*="language-"] pre',ignoreSelector:"",inlineSelector:"",locales:Lg,duration:2e3,showInMobile:!1})}}),Rg=Object.freeze(Object.defineProperty({__proto__:null,default:Ag},Symbol.toStringTag,{value:"Module"})),Og=J({name:"VPIcon",props:{type:{type:String,default:"unknown"},prefix:String,icon:String,color:String,size:[String,Number],verticalAlign:String,sizing:{type:String,default:"height"}},setup(e){const t=T(()=>e.icon?Pr(e.icon)?e.icon:Ql(e.icon)?$e(e.icon):null:null),n=T(()=>{const o={},{type:l,verticalAlign:a,size:s,sizing:i}=e,f={sizing:i};return e.color&&(o.color=e.color),s&&(o["--icon-size"]=Number.isNaN(Number(s))?s:`${s}px`),a&&(o["--icon-vertical-align"]=a),l==="iconify"&&(i!=="height"&&(f.width=e.size||"1em"),i!=="width"&&(f.height=e.size||"1em")),Rr(o).length&&(f.style=o),f}),r=o=>o.includes("fa-")||/^fa.$/.test(o)?o:`fa-${o}`;return()=>{const{type:o,icon:l,prefix:a="",sizing:s}=e;if(!l)return null;if(t.value)return u("img",{class:"vp-icon",src:t.value,alt:"","aria-hidden":"","no-view":"",...n.value});if(o==="iconify")return u("iconify-icon",{key:l,class:"vp-icon",icon:l.includes(":")?l:`${a}${l}`,...n.value});if(o==="fontawesome"){const[i,f]=l.includes(":")?l.split(":",2):["fas",l];return u("i",{key:l,class:["vp-icon",i.length===1?`fa${i}`:r(i),...f.split(" ").map(r),s==="height"?"":"fa-fw"],...n.value})}return u("i",{key:l,class:["vp-icon",l.includes(" ")?l:`${a}${l}`],...n.value})}}}),Ig={enhance:({app:e})=>{Qe("VPIcon")||e.component("VPIcon",t=>u(Og,{type:"iconify",prefix:"fa6-solid:",...t}))},setup:()=>{_m("https://cdn.jsdelivr.net/npm/iconify-icon@2")}},$g=Object.freeze(Object.defineProperty({__proto__:null,default:Ig},Symbol.toStringTag,{value:"Module"})),Mg=de({}),tu=Symbol(""),Dg=()=>Pe(tu),Ng=e=>{e.provide(tu,Mg)},nu=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>{t(nu(e))},e.onerror=()=>{n()})}),jg='<div class="photo-swipe-loading"><svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" preserveAspectRatio="xMidYMid" viewBox="25 25 50 50"><animateTransform attributeName="transform" type="rotate" dur="2s" keyTimes="0;1" repeatCount="indefinite" values="0;360"></animateTransform><circle cx="50" cy="50" r="20" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="1,200;90,200;1,200"></animate><animate attributeName="stroke-dashoffset" dur="1.5s" keyTimes="0;0.5;1" repeatCount="indefinite" values="0;-35px;-125px"></animate></circle></svg></div>',Hg=(e,{download:t=!0,fullscreen:n=!0}={})=>{e.on("uiRegister",()=>{if(e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:r=>{const o=[];let l=-1;for(let a=0;a<e.getNumItems();a++){const s=document.createElement("div");s.className="photo-swipe-bullet",s.onclick=i=>{e.goTo(o.indexOf(i.target))},o.push(s),r.appendChild(s)}e.on("change",()=>{l>=0&&o[l].classList.remove("active"),o[e.currIndex].classList.add("active"),l=e.currIndex})}}),n){const{isSupported:r,toggle:o}=Eo();r.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'<svg class="pswp__icn" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M249.5 270.833H437v-75H212a37.5 37.5 0 0 0-37.5 37.5v225h75v-187.5zm-37.5 600h225v-75H249.5v-187.5h-75v225a37.5 37.5 0 0 0 37.5 37.5zm637.5-37.5v-225h-75v187.5H587v75h225a37.5 37.5 0 0 0 37.5-37.5zM587 270.833h187.5v187.5h75v-225a37.5 37.5 0 0 0-37.5-37.5H587v75z"/></svg>',onClick:()=>{o()}})}t&&e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'<path d="M20.5 14.3 17.1 18V10h-2.2v7.9l-3.4-3.6L10 16l6 6.1 6-6.1-1.5-1.6ZM23 23H9v2h14" id="pswp__icn-download"/>',outlineID:"pswp__icn-download"},onInit:r=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),e.on("change",()=>{r.setAttribute("href",e.currSlide.data.src)})}})})},Vg=({selector:e,locales:t,download:n=!0,fullscreen:r=!0,scrollToClose:o=!0})=>{const l=Dg(),a=Jn(t),s=on(),i=T(()=>{const{photoSwipe:h}=s.value;return h===!1?null:_e(h)?h:Ft(e)?e.join(", "):e}),f=T(()=>({...l.value,...a.value,download:n,fullscreen:r,scrollToClose:o}));let c=null,d=0,p=null;fe("click",async h=>{const b=h.target;if(!i.value||!c||!b.matches(i.value))return;d!==0&&p.destroy();const y=Date.now(),E=await c,x=Array.from(document.querySelectorAll(i.value)),w=x.map(_=>({html:jg,element:_,msrc:_.src})),m=x.findIndex(_=>_===b);p=new E({preloaderDelay:0,showHideAnimationType:"zoom",...f.value,dataSource:w,index:m,...o?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),d=y,Hg(p,{download:n,fullscreen:r}),p.init(),p.on("destroy",()=>{p=null,d=0}),x.map((_,L)=>nu(_).then(V=>{d===y&&(w.splice(L,1,V),p?.refreshSlideContent(L))}))},{passive:!0}),fe("wheel",()=>{f.value.scrollToClose&&p?.close()}),Te(()=>{("requestIdleCallback"in window?window.requestIdleCallback:setTimeout)(()=>{c=z(async()=>{const{default:h}=await import("./photoswipe.esm-CKV1Bsxh.js");return{default:h}},[]).then(({default:h})=>h)})}),_n(()=>{p?.destroy()})};var Fg={"/":{closeTitle:"关闭",downloadTitle:"下载图片",fullscreenTitle:"切换全屏",zoomTitle:"缩放",arrowPrevTitle:"上一个 (左箭头)",arrowNextTitle:"下一个 (右箭头)"}};const Bg="[vp-content] :not(a) > img:not([no-view])",zg=Fg,Ug=!0,Wg=!0,qg=!0;var Gg=Lt({enhance:({app:e})=>{Ng(e)},setup:()=>{Vg({selector:Bg,locales:zg,download:Ug,fullscreen:Wg,scrollToClose:qg})}});const Kg=Object.freeze(Object.defineProperty({__proto__:null,default:Gg},Symbol.toStringTag,{value:"Module"})),ru=({type:e="info",text:t="",vertical:n,color:r,bgColor:o},{slots:l})=>u("span",{class:["vp-badge",e,{diy:!!(r||o)}],style:{backgroundColor:o??!1,color:r??!1,verticalAlign:n??!1}},l.default?.()??t);ru.displayName="Badge";const ou=({title:e,desc:t="",logo:n,background:r,color:o,link:l})=>{const a=[n?u("img",{class:"vp-card-logo",src:$e(n),loading:"lazy","no-view":""}):null,u("div",{class:"vp-card-content"},[u("div",{class:"vp-card-title",innerHTML:e}),u("hr"),u("div",{class:"vp-card-desc",innerHTML:t})])],s={};return r&&(s.background=r),o&&(s.color=o),l?yo(l)?u("a",{class:"vp-card",href:l,target:"_blank",style:s},a):u(ft,{to:l,class:"vp-card",style:s},()=>a):u("div",{class:"vp-card",style:s},a)};ou.displayName="VPCard";const Jg={enhance:({app:e})=>{Qe("Badge")||e.component("Badge",ru),Qe("VPCard")||e.component("VPCard",ou)},setup:()=>{},rootComponents:[]},Yg=Object.freeze(Object.defineProperty({__proto__:null,default:Jg},Symbol.toStringTag,{value:"Module"})),As=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},Qg=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Kn();fe("scroll",Bc(()=>{const a=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(a)<r){As(o,"");return}const i=window.innerHeight+a,f=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.abs(f-i)<r,d=Array.from(document.querySelectorAll(e)),h=Array.from(document.querySelectorAll(t)).filter(b=>d.some(y=>y.hash===b.hash));for(let b=0;b<h.length;b++){const y=h[b],E=h[b+1],x=a>=(y.parentElement?.offsetTop??0)-r,w=!E||a<(E.parentElement?.offsetTop??0)-r;if(!(x&&w))continue;const _=decodeURIComponent(o.currentRoute.value.hash),L=decodeURIComponent(y.hash);if(_===L)return;if(c){for(let V=b+1;V<h.length;V++)if(_===decodeURIComponent(h[V].hash))return}As(o,L);return}},n))},Xg=".vp-sidebar-link, .vp-toc-link",Zg=".header-anchor",e1=200,t1=5,n1=Lt({setup(){Qg({headerLinkSelector:Xg,headerAnchorSelector:Zg,delay:e1,offset:t1})}}),r1=Object.freeze(Object.defineProperty({__proto__:null,default:n1},Symbol.toStringTag,{value:"Module"}));let lu=e=>_e(e.title)?{title:e.title}:null;const au=Symbol(""),o1=e=>{lu=e},l1=()=>Pe(au),a1=e=>{e.provide(au,lu)};var s1={"/":{title:"目录",empty:"暂无目录"}},i1=J({name:"Catalog",props:{base:String,level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const{page:t,routes:n,site:r}=Lr(),o=l1(),l=Jn(s1),a=le(Nc(n.value).map(([i,{meta:f}])=>{const c=o(f);if(!c)return null;const d=i.split("/").length;return{level:Fv(i,"/")?d-2:d-1,base:i.replace(/\/[^/]+\/?$/,"/"),path:i,...c}}).filter(i=>wn(i)&&_e(i.title))),s=T(()=>{const i=e.base?Up(ic(e.base)):t.value.path.replace(/\/[^/]+$/,"/"),f=i.split("/").length-2,c=[];return a.value.filter(({level:d,path:p})=>{if(!ao(p,i)||p===i)return!1;if(i==="/"){const h=Rr(r.value.locales).filter(b=>b!=="/");if(p==="/404.html"||h.some(b=>ao(p,b)))return!1}return d-f<=e.level}).sort(({title:d,level:p,order:h},{title:b,level:y,order:E})=>p-y||(Jr(h)?Jr(E)?h>0?E>0?h-E:-1:E<0?h-E:1:h:Jr(E)?E:d.localeCompare(b))).forEach(d=>{const{base:p,level:h}=d;switch(h-f){case 1:{c.push(d);break}case 2:{const b=c.find(y=>y.path===p);b&&(b.children??=[]).push(d);break}default:{const b=c.find(y=>y.path===p.replace(/\/[^/]+\/$/,"/"));if(b){const y=b.children?.find(E=>E.path===p);y&&(y.children??=[]).push(d)}}}}),c});return()=>{const i=s.value.some(f=>f.children);return u("div",{class:["vp-catalog",{index:e.index}]},[e.hideHeading?null:u("h2",{class:"vp-catalog-main-title"},l.value.title),s.value.length?u(e.index?"ol":"ul",{class:["vp-catalog-list",{deep:i}]},s.value.map(({children:f=[],title:c,path:d,content:p})=>{const h=u(ft,{class:"vp-catalog-title",to:d},()=>p?u(p):c);return u("li",{class:"vp-catalog-item"},i?[u("h3",{id:c,class:["vp-catalog-child-title",{"has-children":f.length}]},[u("a",{href:`#${c}`,class:"vp-catalog-header-anchor","aria-hidden":!0}),h]),f.length?u(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:b=[],content:y,path:E,title:x})=>u("li",{class:"vp-child-catalog"},[u("div",{class:["vp-catalog-sub-title",{"has-children":b.length}]},[u("a",{href:`#${x}`,class:"vp-catalog-header-anchor"}),u(ft,{class:"vp-catalog-title",to:E},()=>y?u(y):x)]),b.length?u(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},b.map(({content:w,path:m,title:_})=>e.index?u("li",{class:"vp-sub-catalog"},u(ft,{to:m},()=>w?u(w):_)):u(ft,{class:"vp-sub-catalog-link",to:m},()=>w?u(w):_))):null]))):null]:u("div",{class:"vp-catalog-child-title"},h))})):u("p",{class:"vp-empty-catalog"},l.value.empty)])}}}),c1=Lt({enhance:({app:e})=>{a1(e),Qe("Catalog",e)||e.component("Catalog",i1)}});const u1=Object.freeze(Object.defineProperty({__proto__:null,default:c1},Symbol.toStringTag,{value:"Module"}));/**
* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT
*/const Rs=(e,t)=>{e.classList.add(t)},Os=(e,t)=>{e.classList.remove(t)},f1=e=>{e?.parentNode?.removeChild(e)},Go=(e,t,n)=>e<t?t:e>n?n:e,Is=e=>(-1+e)*100,d1=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),p1=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),Wr=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=l=>{const{style:a}=document.body;if(l in a)return l;const s=l.charAt(0).toUpperCase()+l.slice(1);let i=e.length;for(;i--;){const f=`${e[i]}${s}`;if(f in a)return f}return l},r=l=>{const a=p1(l);return t[a]??=n(a)},o=(l,a,s)=>{l.style[r(a)]=s};return(l,a)=>{for(const s in a){const i=a[s];Object.hasOwn(a,s)&&Yl(i)&&o(l,s,i)}}})(),It={minimum:.08,easing:"ease",speed:200,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'<div class="bar" role="bar"></div>'},xe={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=It,r=xe.isStarted(),o=Go(e,It.minimum,1);xe.percent=o===1?null:o;const l=xe.render(!r),a=l.querySelector(It.barSelector);return l.offsetWidth,d1(s=>{Wr(a,{transform:`translate3d(${Is(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(Wr(l,{transition:"none",opacity:"1"}),l.offsetWidth,setTimeout(()=>{Wr(l,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{xe.remove(),s()},t)},t)):setTimeout(()=>{s()},t)}),xe},isStarted:()=>typeof xe.percent=="number",start:()=>{xe.percent||xe.set(0);const e=()=>{setTimeout(()=>{xe.percent&&(xe.trickle(),e())},It.trickleSpeed)};return e(),xe},done:e=>!e&&!xe.percent?xe:xe.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=xe;return t?(t=Go(t+(typeof e=="number"?e:(1-t)*Go(Math.random()*t,.1,.95)),0,.994),xe.set(t)):xe.start()},trickle:()=>xe.increase(Math.random()*It.trickleRate),render:e=>{if(xe.isRendered())return document.getElementById("nprogress");Rs(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=It.template;const n=t.querySelector(It.barSelector),r=document.querySelector(It.parent),o=e?"-100":Is(xe.percent??0);return Wr(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&Rs(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{Os(document.documentElement,"nprogress-busy"),Os(document.querySelector(It.parent),"nprogress-custom-parent"),f1(document.getElementById("nprogress"))}},h1=()=>{Te(()=>{const e=Kn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||xe.start()}),e.afterEach(n=>{t.add(n.path),xe.done()})})},v1=Lt({setup(){h1()}}),m1=Object.freeze(Object.defineProperty({__proto__:null,default:v1},Symbol.toStringTag,{value:"Module"})),su="VUEPRESS_REDIRECT_STATUS",$s=bm(su,{}),Ms=Em(su,{}),g1=e=>{const t=ym(),n=Tc(),r=Nc(e.config);return T(()=>{if(r.some(([o])=>n.value===o)){for(const o of t.value)for(const[l,a]of r)if(a.includes(o))return l===n.value?null:{lang:o,localePath:l}}return null})};var b1=J({name:"RedirectModal",props:{config:{type:Object,required:!0},locales:{type:Object,required:!0}},setup(e){const t=Kn(),{routeLocale:n,routePath:r}=Lr(),o=g1(e.config),l=de(),a=ta(l),s=de(!1),i=T(()=>{if(!o.value)return null;const{lang:c,localePath:d}=o.value,p=[e.locales[d],e.locales[n.value]];return{hint:p.map(({hint:h})=>h.replace("$1",c)),switch:p.map(({switch:h})=>h.replace("$1",c)).join(" / "),cancel:p.map(({cancel:h})=>h).join(" / "),remember:p.map(({remember:h})=>h).join(" / ")}}),f=()=>{Ms.value[n.value]=!0,s.value&&($s.value[n.value]=!0),a.value=!1};return Ce(r,()=>{a.value=!1}),Te(async()=>{l.value=document.body,await rn(),o.value&&!Ms.value[n.value]&&!$s.value[n.value]&&(a.value=!0)}),Dl(()=>{a.value=!1}),()=>u(ac,{name:"fade-in-scale-up"},()=>a.value?u("div",{key:"mask",class:"redirect-modal-mask"},u("div",{key:"popup",class:"redirect-modal-wrapper"},[u("div",{class:"redirect-modal-content"},i.value?.hint.map(c=>u("p",c))),u("div",{class:"redirect-modal-hint"},[u("input",{id:"remember-redirect",type:"checkbox",value:s.value,onChange:()=>{s.value=!s.value}}),u("label",{for:"remember-redirect"},i.value?.remember)]),u("button",{type:"button",class:"redirect-modal-action primary",onClick:()=>{f(),t.replace(r.value.replace(n.value,o.value.localePath))}},i.value?.switch),u("button",{type:"button",class:"redirect-modal-action",onClick:()=>{f()}},i.value?.cancel)])):null)}}),y1={config:{},autoLocale:!1,localeFallback:!0,defaultBehavior:"defaultLocale"},_1={"/":{name:"简体中文",hint:"你的首选语言是 $1,是否切换到该语言?",switch:"切换到 $1",cancel:"取消",remember:"记住我的选择"}};const iu=y1;var w1=Lt({setup(){},rootComponents:[()=>u(b1,{config:iu,locales:_1})]});const E1=Object.freeze(Object.defineProperty({__proto__:null,config:iu,default:w1},Symbol.toStringTag,{value:"Module"}));var Ds={"/":{word:"约 $word 字",less1Minute:"小于 1 分钟",time:"大约 $time 分钟"}};const cu=()=>{const e=lv();return T(()=>e.value.readingTime??null)},S1=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:l,time:a}=t;return{time:n<1?o:a.replace("$time",Math.round(n).toString()),words:l.replace("$word",r.toString())}},Ns={words:"",time:""},hl=typeof Ds>"u"?null:Ds,T1=()=>hl?Jn(hl):T(()=>null),x1=()=>{if(hl===null)return T(()=>Ns);const e=cu(),t=T1();return T(()=>e.value&&t.value?S1(e.value,t.value):Ns)},Yr=()=>null,Le=({name:e="",color:t="currentColor",ariaLabel:n},{attrs:r,slots:o})=>u("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":n??`${e} icon`,...r},o.default());Le.displayName="IconBase";const C1=e=>Pr(e)?e:`https://github.com/${e}`,ra=(e="")=>!Pr(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,uu=()=>u(Le,{name:"github"},()=>u("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));uu.displayName="GitHubIcon";const fu=()=>u(Le,{name:"gitee"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));fu.displayName="GiteeIcon";const du=()=>u(Le,{name:"bitbucket"},()=>u("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));du.displayName="BitbucketIcon";const pu=()=>u(Le,{name:"source"},()=>u("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));pu.displayName="SourceIcon";const k1=({link:e,type:t=ra(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return u(n==="bitbucket"?du:n==="github"?uu:n==="gitlab"?"GitLab":n==="gitee"?fu:pu)},P1=(e,t=0)=>{let n=3735928559^t,r=1103547991^t;for(let o=0,l;o<e.length;o++)l=e.charCodeAt(o),n=Math.imul(n^l,2654435761),r=Math.imul(r^l,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&r)+(n>>>0)},hu=(e,t)=>P1(e)%t,vu=/#.*$/u,L1=e=>{const t=vu.exec(e);return t?t[0]:""},js=e=>decodeURI(e).replace(vu,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),mu=(e,t)=>{if(!Yl(t))return!1;const n=js(e.path),r=js(t),o=L1(t);return o?o===e.hash&&(!r||n===r):n===r},A1="719px",R1="1440px",O1="9",oa={mobileBreakPoint:A1,pcBreakPoint:R1,colorNumber:O1},Sn=()=>Zc(),ln=()=>yg(),Ve=()=>({...Lr(),theme:Sn(),themeLocale:ln()}),dt=()=>{const e=Sn();return T(()=>!!e.value.pure)},gu=()=>{const e=ln();return T(()=>e.value.author)},Hs=e=>wn(e)&&_e(e.name),Vs=(e,t=!1)=>e?Ft(e)?e.map(n=>_e(n)?{name:n}:Hs(n)?n:null).filter(n=>n!==null):_e(e)?[{name:e}]:Hs(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],bu=(e,t)=>{if(e){if(Ft(e)&&e.every(_e))return e;if(_e(e))return[e];console.error(`Expect ${t} to be \`string[] | string | undefined\`, but got`,e)}return[]},I1=e=>bu(e,"category"),$1=e=>bu(e,"tag"),yu=()=>{const e=on(),t=gu();return T(()=>{const{author:n}=e.value;return n?Vs(n):n===!1?[]:Vs(t.value,!1)})},M1=()=>{const e=on(),t=Pe(Symbol.for("categoryMap"),null);return T(()=>I1(e.value.category??e.value.categories).map(n=>({name:n,path:t?.value.map[n]?.path??""})))},D1=()=>{const e=on(),t=Pe(Symbol.for("tagMap"),null);return T(()=>$1(e.value.tag??e.value.tags).map(n=>({name:n,path:t?.value.map[n]?.path??""})))},N1=()=>{const{frontmatter:e,page:t}=Ve();return T(()=>{const n=Bv(e.value.date);if(n)return n;const{createdTime:r}=t.value.git??{};return r?new Date(r):null})},j1=()=>{const{frontmatter:e,themeLocale:t}=Ve(),n=yu(),r=M1(),o=D1(),l=N1(),a=cu(),s=x1(),i=T(()=>({author:n.value,category:r.value,date:l.value,tag:o.value,isOriginal:e.value.isOriginal??!1,readingTime:a.value,readingTimeLocale:s.value,pageview:e.value.pageview??!0})),f=T(()=>e.value.pageInfo??t.value.pageInfo??null);return{info:i,items:f}},pt=()=>{const e=ln();return T(()=>e.value.metaLocales)},H1="http://.",la=()=>{const e=Kn(),t=Wt();return n=>{if(!n)return;if(kr(n))return window.open(n);if(Ql(n))return t.fullPath===n?void 0:void e.push(n);const r=t.path.slice(0,t.path.lastIndexOf("/"));return void e.push(new URL(`${r}/${encodeURI(n)}`,H1).pathname)}},_u=()=>u(Le,{name:"author"},()=>u("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));_u.displayName="AuthorIcon";const wu=()=>u(Le,{name:"calendar"},()=>u("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));wu.displayName="CalendarIcon";const Eu=()=>u(Le,{name:"category"},()=>u("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Eu.displayName="CategoryIcon";const Su=()=>u(Le,{name:"print"},()=>u("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Su.displayName="PrintIcon";const Tu=()=>u(Le,{name:"tag"},()=>u("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));Tu.displayName="TagIcon";const xu=()=>u(Le,{name:"timer"},()=>u("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));xu.displayName="TimerIcon";const Cu=()=>u(Le,{name:"word"},()=>[u("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),u("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Cu.displayName="WordIcon";var V1=J({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0}},setup(e){const t=pt(),n=dt();return()=>e.author.length?u("span",{class:"page-author-info","aria-label":`${t.value.author}${n.value?"":"🖊"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u(_u),u("span",e.author.map(r=>r.url?u("a",{class:"page-author-item",href:r.url,target:"_blank",rel:"noopener noreferrer"},r.name):u("span",{class:"page-author-item"},r.name))),u("span",{property:"author",content:e.author.map(r=>r.name).join(", ")})]):null}}),F1=J({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0}},setup(e){const t=pt(),n=la(),r=dt();return()=>e.category.length?u("span",{class:"page-category-info","aria-label":`${t.value.category}${r.value?"":"🌈"}`,...r.value?{}:{"data-balloon-pos":"up"}},[u(Eu),e.category.map(({name:o,path:l})=>u("span",{class:["page-category-item",{[`color${hu(o,Number(oa.colorNumber))}`]:!r.value,clickable:l}],role:l?"navigation":"",onClick:()=>{l&&n(l)}},o)),u("meta",{property:"articleSection",content:e.category.map(({name:o})=>o).join(",")})]):null}}),B1=J({name:"DateInfo",inheritAttrs:!1,props:{date:Object},setup(e){const t=ov(),n=pt(),r=dt(),o=T(()=>new Intl.DateTimeFormat(t.value,{dateStyle:"short"})),l=T(()=>e.date?o.value.format(e.date):null);return()=>e.date?u("span",{class:"page-date-info","aria-label":`${n.value.date}${r.value?"":"📅"}`,...r.value?{}:{"data-balloon-pos":"up"}},[u(wu),u("span",{"data-allow-mismatch":"text"},l.value),u("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),z1=J({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=pt();return()=>e.isOriginal?u("span",{class:"page-original-info"},t.value.origin):null}}),U1=J({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:Object,readingTimeLocale:Object},setup(e){const t=pt(),n=dt(),r=T(()=>{if(!e.readingTime)return null;const{minutes:o}=e.readingTime;return o<1?"PT1M":`PT${Math.round(o)}M`});return()=>e.readingTimeLocale?.time?u("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${n.value?"":"⌛"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u(xu),u("span",e.readingTimeLocale.time),u("meta",{property:"timeRequired",content:r.value})]):null}}),W1=J({name:"TagInfo",inheritAttrs:!1,props:{tag:Array},setup(e){const t=pt(),n=la(),r=dt();return()=>e.tag?.length?u("span",{class:"page-tag-info","aria-label":`${t.value.tag}${r.value?"":"🏷"}`,...r.value?{}:{"data-balloon-pos":"up"}},[u(Tu),e.tag.map(({name:o,path:l})=>u("span",{class:["page-tag-item",{[`color${hu(o,Number(oa.colorNumber))}`]:!r.value,clickable:l}],role:l?"navigation":"",onClick:()=>{l&&n(l)}},o)),u("meta",{property:"keywords",content:e.tag.map(({name:o})=>o).join(",")})]):null}}),q1=J({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:Object,readingTimeLocale:Object},setup(e){const t=pt(),n=dt();return()=>e.readingTimeLocale?.words?u("span",{class:"page-word-info","aria-label":`${t.value.words}${n.value?"":"🔠"}`,...n.value?{}:{"data-balloon-pos":"up"}},[u(Cu),u("span",e.readingTimeLocale.words),u("meta",{property:"wordCount",content:e.readingTime?.words})]):null}}),G1=J({name:"PageInfo",components:{AuthorInfo:V1,CategoryInfo:F1,DateInfo:B1,OriginalInfo:z1,PageViewInfo:Yr,ReadingTimeInfo:U1,TagInfo:W1,WordInfo:q1},props:{items:[Boolean,Array],info:{type:Object,required:!0}},setup(e){const t=dt();return()=>{const n=e.items??["Author","Original","Date","PageView","ReadingTime","Category","Tag"];return n?u("div",{class:"page-info"},n.map(r=>u(Se(`${r}Info`),{...e.info,isPure:t.value}))):null}}});const aa={},ku=Symbol(""),$r=()=>{const e=Pe(ku);if(!e)throw new Error("useDarkMode() is called without provider.");return e},K1=e=>{const t=dm(),n=Sn(),r=T(()=>n.value.darkmode??"switch"),o=Ir("vuepress-theme-hope-scheme","auto"),l=T(()=>{const s=r.value;return s==="disable"?!1:s==="enable"?!0:s==="auto"?t.value:s==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&t.value}),a=T(()=>{const s=r.value;return s==="switch"||s==="toggle"});e.provide(ku,{canToggle:a,config:r,isDarkMode:l,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkMode:{get:()=>l.value}})},J1=()=>{const{config:e,isDarkMode:t,status:n}=$r();Hl(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),fe("beforeprint",()=>{t.value&&document.documentElement.setAttribute("data-theme","light")}),fe("afterprint",()=>{t.value&&document.documentElement.setAttribute("data-theme","dark")}),Te(()=>{kt(t,r=>{document.documentElement.setAttribute("data-theme",r?"dark":"light")})})},vl=e=>!kr(e)&&!yo(e),so=(e,t=!1,n)=>{const{meta:r,path:o,notFound:l}=Vt(e,n);return l?{text:o,link:o}:{text:!t&&r.shortTitle?r.shortTitle:r.title||o,link:o,icon:r.icon}},dn=(e="",t="")=>kr(t)||Ql(t)?t:`${ic(e)}${t}`,Pu=(e,t)=>{const n=_e(e)?so(dn(t,e)):_e(e.link)?{...e,link:vl(e.link)?Vt(dn(t,e.link)).path:e.link}:e;if("children"in n){const r=dn(t,n.prefix),o=n.children==="structure"?aa[r]:n.children;return{...n,prefix:r,children:o.map(l=>Pu(l,r))}}return{...n}},ml=({config:e,prefix:t=""})=>e.map(n=>Pu(n,t)),Y1=({config:e,routePath:t})=>{const n=Rr(e).sort((r,o)=>o.length-r.length);for(const r of n)if(ao(decodeURI(t),r)){const o=e[r];return ml({config:o==="structure"?aa[r]:o||[],prefix:r})}return console.warn(`${decodeURI(t)} is missing it's sidebar config.`),[]},Q1=({config:e,routeLocale:t,routePath:n})=>e==="structure"?ml({config:aa[t],prefix:t}):Ft(e)?ml({config:e}):wn(e)?Y1({config:e,routePath:n}):[],Lu=Symbol(""),X1=()=>{const{frontmatter:e,routeLocale:t,routePath:n,themeLocale:r}=Ve(),o=T(()=>e.value.home?!1:e.value.sidebar??r.value.sidebar??"structure"),l=T(()=>Q1({config:o.value,routeLocale:t.value,routePath:n.value}));Nn(Lu,l)},sa=()=>{const e=Pe(Lu);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var Z1=J({name:"PageFooter",setup(){const{frontmatter:e,theme:t,themeLocale:n}=Ve(),r=yu(),o=T(()=>{const{copyright:f,footer:c}=e.value;return c!==!1&&!!(f||c||n.value.displayFooter)}),l=T(()=>{const{footer:f}=e.value;return _e(f)?f:n.value.footer??""}),a=T(()=>r.value.map(({name:f})=>f).join(", ")),s=f=>`Copyright © ${new Date().getFullYear()} ${a.value} ${f?`${f} Licensed`:""}`,i=T(()=>{const{copyright:f,license:c=""}=e.value,{license:d}=t.value,{copyright:p}=n.value;return f??(c?s(c):p??(a.value||d?s(d):!1))});return()=>o.value?u("footer",{class:"vp-footer-wrapper","vp-footer":""},[l.value?u("div",{class:"vp-footer",innerHTML:l.value}):null,i.value?u("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}});const Au=()=>u(Le,{name:"outlook"},()=>[u("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Au.displayName="AppearanceIcon";const Ru=()=>u(Le,{name:"auto"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));Ru.displayName="AutoColorModeIcon";const Ou=()=>u(Le,{name:"light"},()=>u("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Ou.displayName="LightColorModeIcon";const Iu=()=>u(Le,{name:"dark"},()=>u("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));Iu.displayName="DarkColorModeIcon";var $u=J({name:"ColorModeSwitch",setup(){const{config:e,isDarkMode:t,status:n}=$r(),r=dt(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},l=async a=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)){o();return}const s=a.clientX,i=a.clientY,f=Math.hypot(Math.max(s,innerWidth-s),Math.max(i,innerHeight-i)),c=t.value;await document.startViewTransition(async()=>{o(),await rn()}).ready,t.value!==c&&document.documentElement.animate({clipPath:t.value?[`circle(${f}px at ${s}px ${i}px)`,`circle(0px at ${s}px ${i}px)`]:[`circle(0px at ${s}px ${i}px)`,`circle(${f}px at ${s}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>u("button",{type:"button",class:"vp-color-mode-switch",id:"color-mode-switch",onClick:l},[u(Ru,{style:{display:n.value==="auto"?"block":"none"}}),u(Iu,{style:{display:n.value==="dark"?"block":"none"}}),u(Ou,{style:{display:n.value==="light"?"block":"none"}})])}});const Mu=()=>{const e=ln();return T(()=>e.value.outlookLocales)};var e0=J({name:"ColorMode",setup(){const e=Mu(),{canToggle:t}=$r();return()=>t.value?u("div",{class:"vp-color-mode"},[u("label",{class:"vp-color-mode-title",for:"color-mode-switch"},e.value.darkmode),u($u)]):null}});const Du=()=>u(Le,{name:"cancel-fullscreen"},()=>u("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Du.displayName="CancelFullScreenIcon";const Nu=()=>u(Le,{name:"enter-fullscreen"},()=>u("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Nu.displayName="EnterFullScreenIcon";var ju=J({name:"ToggleFullScreenButton",setup(){const{isSupported:e,isFullscreen:t,toggle:n}=Eo();return()=>e.value?u("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:t.value,onClick:()=>n()},t.value?u(Du):u(Nu)):null}}),t0=J({name:"ToggleFullScreenButton",setup(){const e=Mu(),{isSupported:t}=Eo();return()=>t.value?u("div",{class:"full-screen-wrapper"},[u("label",{class:"full-screen-title",for:"full-screen-switch"},e.value.fullscreen),u(ju)]):null}}),Hu=J({name:"AppearanceSettings",setup(){const e=Sn(),t=dt(),n=T(()=>!t.value&&e.value.fullscreen);return()=>u(Gl,()=>[null,u(e0),n.value?u(t0):null])}}),n0=J({name:"AppearanceButton",setup(){const e=Sn(),{canToggle:t}=$r(),{isSupported:n}=Eo(),r=dt(),o=de(!1),l=T(()=>!r.value&&e.value.fullscreen&&n),a=T(()=>t.value||l.value);return qt(()=>{o.value=!1}),()=>a.value?u("div",{class:"vp-nav-item hide-in-mobile"},t.value&&!l.value?u($u):l.value&&!t.value?u(ju):u("button",{type:"button",class:["vp-appearance-button",{open:o.value}],tabindex:"-1","aria-hidden":!0},[u(Au),u("div",{class:"vp-appearance-dropdown"},u(Hu))])):null}});const qe=({config:e,iconSizing:t="both"},{emit:n,slots:r})=>{const{icon:o}=e;return u(cv,{config:e,onFocusout:()=>{n("focusout")}},{...r,before:r.before??(o?()=>u(Se("VPIcon"),{icon:o,sizing:t}):null)})};qe.displayName="AutoLink";var r0=J({name:"NavbarDropdown",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=mo(e,"config"),r=T(()=>n.value.ariaLabel??n.value.text),o=de(!1),l=a=>{a.detail===0&&(o.value=!o.value)};return qt(()=>{o.value=!1}),()=>u("div",{class:["vp-dropdown-wrapper",{open:o.value}]},[u("button",{type:"button",class:"vp-dropdown-title","aria-label":r.value,onClick:l},[t.title?.()??[u(Se("VPIcon"),{icon:n.value.icon}),e.config.text],u("span",{class:"arrow"}),u("ul",{class:"vp-dropdown"},n.value.children.map((a,s)=>{const i=s===n.value.children.length-1;return u("li",{class:"vp-dropdown-item"},"children"in a?[u("h4",{class:"vp-dropdown-subtitle"},a.link?u(qe,{config:a,onFocusout:()=>{a.children.length===0&&i&&(o.value=!1)}}):a.text),u("ul",{class:"vp-dropdown-subitems"},a.children.map((f,c)=>u("li",{class:"vp-dropdown-subitem"},u(qe,{config:f,onFocusout:()=>{c===a.children.length-1&&i&&(o.value=!1)}}))))]:u(qe,{config:a,onFocusout:()=>{i&&(o.value=!1)}}))}))])])}}),o0=J({name:"NavScreenMenu",props:{config:{type:Object,required:!0}},setup(e){const t=mo(e,"config"),n=Wt(),r=T(()=>t.value.ariaLabel??t.value.text),o=de(!1),l=(a,s)=>s[s.length-1]===a;return qt(()=>{o.value=!1}),Ce(()=>n.fullPath,()=>{o.value=!1}),()=>[u("button",{type:"button",class:["vp-nav-screen-menu-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[u("span",{class:"text"},[u(Se("VPIcon"),{icon:t.value.icon,sizing:"both"}),e.config.text]),u("span",{class:["arrow",o.value?"down":"end"]})]),u("ul",{class:["vp-nav-screen-menu",{hide:!o.value}]},t.value.children.map(a=>u("li",{class:"vp-nav-screen-menu-item"},"children"in a?[u("h4",{class:"vp-nav-screen-menu-subtitle"},a.link?u(qe,{config:a,onFocusout:()=>{l(a,t.value.children)&&a.children.length===0&&(o.value=!1)}}):a.text),u("ul",{class:"vp-nav-screen-menu-subitems"},a.children.map(s=>u("li",{class:"vp-nav-screen-menu-subitem"},u(qe,{config:s,onFocusout:()=>{l(s,a.children)&&l(a,t.value.children)&&(o.value=!1)}}))))]:u(qe,{config:a,onFocusout:()=>{l(a,t.value.children)&&(o.value=!1)}}))))]}});const Vu=(e,t="")=>_e(e)?so(dn(t,e)):"children"in e?{...e,...e.link&&vl(e.link)?{link:Vt(dn(t,e.link)).path}:{},children:e.children.map(n=>Vu(n,dn(t,e.prefix)))}:{...e,link:vl(e.link)?Vt(dn(t,e.link)).path:e.link},Fu=()=>{const e=ln();return T(()=>(e.value.navbar||[]).map(t=>Vu(t)))};var l0=J({name:"NavScreenLinks",setup(){const e=Fu();return()=>e.value.length?u("nav",{class:"nav-screen-links"},e.value.map(t=>u("div",{class:"navbar-links-item"},"children"in t?u(o0,{config:t}):u(qe,{config:t})))):null}});const{mobileBreakPoint:a0,pcBreakPoint:s0}=oa,Fs=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,ia=()=>{const e=de(!1),t=de(!1),n=()=>{e.value=window.innerWidth<=(Fs(a0)??719),t.value=window.innerWidth>=(Fs(s0)??1440)};return fe("resize",n,!1),fe("orientationchange",n,!1),Te(()=>{n()}),{isMobile:e,isPC:t}};var i0=J({name:"NavScreen",props:{show:Boolean},slots:Object,setup(e,{slots:t}){const{isMobile:n}=ia(),r=le(),o=ta(r);return qt(()=>{o.value=!1}),Ce(n,l=>{!l&&e.show&&(o.value=!1)}),Te(()=>{r.value=document.body}),_n(()=>{o.value=!1}),()=>u(Un,{name:"fade-in-down",onEnter:()=>{o.value=!0},onAfterLeave:()=>{o.value=!1}},()=>e.show?u("div",{id:"nav-screen",class:"vp-nav-screen"},u("div",{class:"vp-nav-screen-container"},[t.navScreenTop?.(),u(l0),u("div",{class:"vp-appearance-wrapper"},u(Hu)),t.navScreenBottom?.()])):null)}}),c0=J({name:"NavbarBrand",setup(){const{routeLocale:e,siteLocale:t,themeLocale:n}=Ve(),r=T(()=>n.value.home??e.value),o=T(()=>t.value.title),l=T(()=>n.value.navbarTitle??o.value),a=T(()=>n.value.logo?$e(n.value.logo):null),s=T(()=>n.value.logoDark?$e(n.value.logoDark):null);return()=>u(ft,{to:r.value,class:"vp-brand","aria-label":n.value.routerLocales.home},()=>[a.value?u("img",{class:["vp-nav-logo",{light:!!s.value}],src:a.value,alt:""}):null,s.value?u("img",{class:["vp-nav-logo dark"],src:s.value,alt:""}):null,l.value?u("span",{class:["vp-site-name",{"hide-in-pad":a.value&&(n.value.hideSiteNameOnMobile??!0)}]},l.value):null])}}),u0=J({name:"NavbarLinks",setup(){const e=Fu();return()=>e.value.length?u("nav",{class:"vp-nav-links"},e.value.map(t=>u("div",{class:"vp-nav-item hide-in-mobile"},"children"in t?u(r0,{config:t}):u(qe,{config:t,iconSizing:"height"})))):null}});const f0=()=>{const e=ln(),t=T(()=>e.value.repo),n=T(()=>t.value?C1(t.value):null),r=T(()=>t.value?ra(t.value):null),o=T(()=>n.value?e.value.repoLabel??r.value??"Source":null);return T(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value??"Source",label:o.value,link:n.value})};var d0=J({name:"RepoLink",setup(){const e=f0();return()=>e.value?u("div",{class:"vp-nav-item vp-action"},u("a",{class:"vp-action-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},u(k1,{type:e.value.type,style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Bu=({active:e=!1},{emit:t})=>u("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>{t("toggle")}},u("span",[u("span",{class:"vp-top"}),u("span",{class:"vp-middle"}),u("span",{class:"vp-bottom"})]));Bu.displayName="ToggleNavbarButton";const gl=(e,{emit:t})=>u("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>{t("toggle")}},u("span",{class:"icon"}));gl.displayName="ToggleSidebarButton",gl.emits=["toggle"];var p0=J({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=ln(),{isMobile:o}=ia(),l=de(!1),a=T(()=>{const{navbarAutoHide:c="mobile"}=r.value;return c!=="none"&&(c==="always"||o.value)}),s=T(()=>r.value.navbarLayout??{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:c0,Language:Yr,Links:u0,Repo:d0,Outlook:n0,Search:Qe("SearchBox")?Se("SearchBox"):Yr},f=c=>i[c]??(Qe(c)?Se(c):Yr);return qt(()=>{l.value=!1}),Ce(o,c=>{c||(l.value=!1)}),()=>[u("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":a.value}],"vp-navbar":""},[u("div",{class:"vp-navbar-start"},[u(gl,{onToggle:()=>{l.value&&(l.value=!1),t("toggleSidebar")}}),s.value.start?.map(c=>u(f(c)))]),u("div",{class:"vp-navbar-center"},[s.value.center?.map(c=>u(f(c)))]),u("div",{class:"vp-navbar-end"},[s.value.end?.map(c=>u(f(c))),u(Bu,{active:l.value,onToggle:()=>{l.value=!l.value}})])]),u(i0,{show:l.value},n)]}});const ca=(e,t)=>t.activeMatch?new RegExp(t.activeMatch,"u").test(e.path):mu(e,t.link);var h0=J({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=Wt();return()=>_e(e.config.link)?u(qe,{class:["vp-sidebar-link",{active:ca(t,e.config)}],config:{...e.config,exact:!0}}):u("p",e,[u(Se("VPIcon"),{icon:e.config.icon,sizing:"both"}),e.config.text])}});const ua=(e,t)=>"children"in t?!!t.prefix&&mu(e,t.prefix)||t.children.some(n=>ua(e,n)):ca(e,t);var v0=J({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=Wt(),r=de(!1),o=T(()=>ua(n,e.config)),l=T(()=>ca(n,e.config)),a=T(()=>e.open||e.config.expanded&&!r.value);return()=>{const{collapsible:s,children:i=[],icon:f,prefix:c,link:d,text:p}=e.config;return u("section",{class:"vp-sidebar-group"},[u(s?"button":"p",{class:["vp-sidebar-header",{clickable:s||d,exact:l.value,active:o.value}],...s?{type:"button",onClick:()=>{r.value=!0,t("toggle")}}:{}},[u(Se("VPIcon"),{icon:f,sizing:"both"}),d?u(qe,{class:"vp-sidebar-title no-external-link-icon",config:{text:p,link:d}}):u("span",{class:"vp-sidebar-title"},p),s?u("span",{class:["vp-arrow",a.value?"down":"end"]}):null]),a.value||!s?u(zu,{key:c,config:i}):null])}}}),zu=J({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=Wt(),n=nv(),r=de(-1),o=l=>{r.value=l===r.value?-1:l};return kt(n,()=>{const l=e.config.findIndex(a=>ua(t,a));r.value=l},{flush:"post"}),()=>u("ul",{class:"vp-sidebar-links"},e.config.map((l,a)=>u("li","children"in l?u(v0,{config:l,open:a===r.value,onToggle:()=>{o(a)}}):u(h0,{config:l}))))}}),m0=J({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=Wt(),r=sa(),o=le();return Te(()=>{kt(()=>n.hash,l=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!a)return;const{top:s,height:i}=o.value.getBoundingClientRect(),{top:f,height:c}=a.getBoundingClientRect();f<s?a.scrollIntoView(!0):f+c>s+i&&a.scrollIntoView(!1)})}),()=>u("aside",{ref:o,key:"sidebar",id:"sidebar",class:"vp-sidebar","vp-sidebar":""},[t.sidebarTop?.(),t.sidebarItems?.(r.value)??u(zu,{config:r.value}),t.sidebarBottom?.()])}}),Uu=J({name:"MainLayout",props:{containerClass:String,noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const{frontmatter:n,theme:r,themeLocale:o}=Ve(),{isMobile:l,isPC:a}=ia(),s=dt(),[i,f]=_r(!1),[c,d]=_r(!1),p=sa(),h=le(),b=ta(h),y=de(!1),E=T(()=>e.noNavbar||n.value.navbar===!1||o.value.navbar===!1?!1:!!(o.value.logo??o.value.repo??o.value.navbar)),x=T(()=>n.value.externalLinkIcon??r.value.externalLinkIcon??!0),w=T(()=>!e.noToc&&!n.value.home&&!!(n.value.toc??o.value.toc??!0)),m={x:0,y:0},_=M=>{m.x=M.changedTouches[0].clientX,m.y=M.changedTouches[0].clientY},L=M=>{const F=M.changedTouches[0].clientX-m.x,C=M.changedTouches[0].clientY-m.y;Math.abs(F)>Math.abs(C)*1.5&&Math.abs(F)>40&&(F>0&&m.x<=80?f(!0):f(!1))};let V=0;return fe("scroll",zc(()=>{const M=window.scrollY;M<=58||M<V?y.value=!1:V+200<M&&!i.value&&(y.value=!0),V=M},300,!0)),Ce(l,M=>{M||f(!1)}),Ce(i,M=>{b.value=M}),qt(()=>{f(!1)}),Te(()=>{h.value=document.body}),_n(()=>{b.value=!1}),()=>{const M=t.sidebarTop?.(),F=t.sidebarItems?.(p.value),C=t.sidebarBottom?.(),I=Hn(M)&&Hn(F)&&Hn(C),H=e.noSidebar||n.value.sidebar===!1||(n.value.home||p.value.length===0)&&I;return u(Qe("GlobalEncrypt")?Se("GlobalEncrypt"):Jl,()=>u("div",{class:["theme-container",{"hide-navbar":y.value,"no-navbar":!E.value,"sidebar-collapsed":!l.value&&!a.value&&c.value,"sidebar-open":l.value&&i.value,"no-sidebar":H,"external-link-icon":x.value,pure:s.value,"has-toc":w.value},e.containerClass??"",n.value.containerClass??""],"vp-container":"",onTouchStart:_,onTouchEnd:L},[E.value?u(p0,{onToggleSidebar:()=>f()},t):null,u(Un,{name:"fade-in"},()=>i.value?u("div",{class:"vp-sidebar-mask",onClick:()=>f(!1)}):null),u(Un,{name:"fade-in"},()=>l.value?null:u("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},u("span",{class:["arrow",c.value?"end":"start"]}))),H?null:u(m0,null,t),t.default(),u(Z1)]))}}});const Wu=()=>{const{frontmatter:e,themeLocale:t}=Ve(),n=T(()=>e.value.changelog??((t.value.changelog??!1)&&!e.value.home)),r=T(()=>{const{contributors:l,home:a}=e.value;return Ft(l)?a?!1:t.value.contributors??!0:l??(a?!1:t.value.contributors??!0)}),o=T(()=>e.value.lastUpdated??t.value.lastUpdated??!0);return{changelog:n,contributors:r,lastUpdated:o}};var fa=J({name:"MarkdownContent",props:{custom:Boolean},slots:Object,setup(e,{slots:t}){const n=Sn(),{changelog:r,contributors:o}=Wu(),l=de(),a=vm(l,{delayEnter:Jr(n.value.focus)?n.value.focus:1500,delayLeave:0}),s=T(()=>!!(n.value.focus??n.value.pure)&&a.value);return Te(()=>{const i=document.documentElement;kt(s,f=>{f?i.classList.add("is-focusing"):i.classList.remove("is-focusing")})}),()=>u("div",{class:{custom:e.custom},"vp-content":""},[t.contentBefore?.(),u(Cc,{ref:l,id:"markdown-content"}),t.contentAfter?.(),r.value&&Qe("GitChangelog")?u(Se("GitChangelog")):null,o.value==="content"&&Qe("GitContributors")?u(Se("GitContributors")):null])}}),qu=J({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=ln(),n=le(),r=({target:o})=>{const l=document.querySelector(o.hash);if(l){const a=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",a)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",a),l.focus(),window.scrollTo(0,0)}};return qt(()=>{n.value?.focus()}),()=>[u("span",{ref:n,tabindex:"-1"}),u("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:r},t.value.routerLocales.skipToContent)]}});const bl=()=>u(Le,{name:"slide-down"},()=>u("path",{d:"M108.775 312.23c13.553 0 27.106 3.734 39.153 11.806l375.205 250.338 363.641-252.808c32.587-21.624 76.499-12.83 98.123 19.757 21.685 32.467 12.95 76.56-19.576 98.184l-402.854 278.89c-23.733 15.901-54.694 15.962-78.547.12L69.501 442.097c-32.647-21.685-41.441-65.777-19.817-98.304 13.734-20.54 36.201-31.563 59.09-31.563Z"}));bl.displayName="SlideDownIcon";const Gu=(e,{emit:t})=>u("button",{type:"button",class:"vp-hero-slide-down-button",onClick:()=>t("click")},[u(bl),u(bl)]);Gu.displayName="HeroSlideDownButton";var ut=J({name:"DropTransition",props:{delay:{type:Number,default:0},duration:{type:Number,default:.25},group:Boolean,appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>{const o={name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n};return e.group?u(ac,o,t.default):u(Un,o,t.default)}}});let Ko=null,Jo=null;const yl={wait:()=>Ko,pending:()=>{Ko=new Promise(e=>{Jo=e})},resolve:()=>{Jo?.(),Ko=null,Jo=null}};var g0=J({name:"MainFadeInUpTransition",slots:Object,setup(e,{slots:t}){const n=dt();return()=>n.value?u(Jl,t.default):u(Un,{name:"fade-in-up",mode:"out-in",onBeforeEnter:yl.resolve,onBeforeLeave:yl.pending},t.default)}}),b0=J({name:"PageTitle",setup(){const{frontmatter:e,page:t,themeLocale:n}=Ve(),{info:r,items:o}=j1();return()=>u("div",{class:"vp-page-title"},[u("h1",[n.value.titleIcon===!1?null:u(Se("VPIcon"),{icon:e.value.icon}),t.value.title]),u(G1,{info:r.value,items:o.value}),u("hr")])}});const y0=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=zl(t);return n.forEach((l,a)=>{a!==n.length-1?(o+=`${l}/`,r.push({link:o,name:l||"Home"})):l!==""&&(o+=l,r.push({link:o,name:l}))}),r};var _0=J({name:"BreadCrumb",setup(){const{frontmatter:e,page:t,routeLocale:n,routePath:r,themeLocale:o}=Ve(),l=le([]),a=T(()=>(e.value.breadcrumb??o.value.breadcrumb??!0)&&l.value.length>1),s=T(()=>e.value.breadcrumbIcon??o.value.breadcrumbIcon??!0),i=()=>{const f=y0(t.value.path,n.value).map(({link:c,name:d})=>{const{path:p,meta:h,notFound:b}=Vt(c);return b||h.breadcrumbExclude?null:{title:h.shortTitle||h.title||d,icon:h.icon,path:p}}).filter(c=>c!==null);f.length>1&&(l.value=f)};return Te(()=>{kt(r,i)}),()=>u("nav",{class:["vp-breadcrumb",{disable:!a.value}]},a.value?u("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},l.value.map((f,c)=>u("li",{class:{"is-active":l.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[u(ft,{to:f.path,property:"item",typeof:"WebPage"},()=>[s.value?u(Se("VPIcon"),{icon:f.icon}):null,u("span",{property:"name"},f.title||"Unknown")]),u("meta",{property:"position",content:c+1})]))):[])}});const Bs=(e,t)=>e===!1?e:wn(e)?{...e,link:so(e.link,!0,t).link}:_e(e)?so(e,!0,t):null,_l=(e,t,n)=>{const r=e.findIndex(l=>l.link===t);if(r!==-1){if(!e[r+n])return null;const l=e[r+n];return l.link?l:"prefix"in l&&!Vt(l.prefix).notFound?{...l,link:l.prefix}:null}for(const l of e)if("children"in l){const a=_l(l.children,t,n);if(a)return a}const o=e.findIndex(l=>"prefix"in l&&l.prefix===t);if(o!==-1){if(!e[o+n])return null;const l=e[o+n];return l.link?l:"prefix"in l&&!Vt(l.prefix).notFound?{...l,link:l.prefix}:null}return null},w0=()=>{const{frontmatter:e,routePath:t,themeLocale:n}=Ve(),r=sa(),o=T(()=>{const a=Bs(e.value.prev,t.value);return a===!1?null:a??(n.value.prevLink===!1?null:_l(r.value,t.value,-1))}),l=T(()=>{const a=Bs(e.value.next,t.value);return a===!1?null:a??(n.value.nextLink===!1?null:_l(r.value,t.value,1))});return{prevLink:o,nextLink:l}};var E0=J({name:"PageNav",setup(){const e=pt(),t=la(),{prevLink:n,nextLink:r}=w0();return fe("keydown",o=>{o.altKey&&(o.key==="ArrowRight"?r.value&&(t(r.value.link),o.preventDefault()):o.key==="ArrowLeft"&&n.value&&(t(n.value.link),o.preventDefault()))}),()=>n.value||r.value?u("nav",{class:"vp-page-nav"},[n.value?u(qe,{class:"prev",config:n.value},()=>[u("div",{class:"hint"},[u("span",{class:"arrow start"}),e.value.prev]),u("div",{class:"link"},[u(Se("VPIcon"),{icon:n.value?.icon}),n.value?.text])]):null,r.value?u(qe,{class:"next",config:r.value},()=>[u("div",{class:"hint"},[e.value.next,u("span",{class:"arrow end"})]),u("div",{class:"link"},[r.value?.text,u(Se("VPIcon"),{icon:r.value?.icon})])]):null]):null}}),S0=J({name:"PrintButton",setup(){const e=pt(),t=Sn();return()=>t.value.print===!1?null:u("button",{type:"button",class:"print-button",title:e.value.print,onClick:()=>{window.print()}},u(Su))}});const zs={selector:[...Array.from({length:6}).map((e,t)=>`#markdown-content > h${t+1}`),"[vp-content] > h2"].join(", "),levels:"deep",ignore:[".vp-badge",".vp-icon"]};var T0=J({name:"TOC",props:{items:Array},slots:Object,setup(e,{slots:t}){const{frontmatter:n,themeLocale:r}=Ve(),o=T(()=>{const E=n.value.toc??r.value.toc;return wn(E)?{...zs,...E}:E??!0?zs:void 0}),l=zv(o),a=Wt(),s=pt(),[i,f]=_r(),c=le(),d=de("-2rem"),p=E=>{c.value?.scrollTo({top:E,behavior:"smooth"})},h=()=>{if(c.value){const E=document.querySelector(".vp-toc-item.active");E?d.value=`${E.getBoundingClientRect().top-c.value.getBoundingClientRect().top+c.value.scrollTop}px`:d.value="-2rem"}else d.value="-2rem"};Te(()=>{kt(()=>a.hash,E=>{if(c.value){const x=document.querySelector(`#toc a.vp-toc-link[href$="${E}"]`);if(!x)return;const{top:w,height:m}=c.value.getBoundingClientRect(),{top:_,height:L}=x.getBoundingClientRect();_<w?p(c.value.scrollTop+_-w):_+L>w+m&&p(c.value.scrollTop+_+L-w-m)}},{flush:"post"}),kt(()=>a.fullPath,h,{flush:"post"})});const b=({title:E,level:x,slug:w})=>u(ft,{to:`#${w}`,class:["vp-toc-link",`level${x}`],onClick:()=>{f()}},()=>E),y=E=>E.length?u("ul",{class:"vp-toc-list"},E.map(x=>{const w=y(x.children);return[u("li",{class:["vp-toc-item",{active:a.hash===`#${x.slug}`}]},b(x)),w?u("li",w):null]})):null;return()=>o.value||e.items?.length?u(Gl,()=>{const E=e.items?.length?y(e.items):y(l.value),x=t.toc?.(l.value)??(E?[u("div",{class:"vp-toc-header",onClick:()=>{f()}},[s.value.toc,u(S0),u("div",{class:["arrow",i.value?"down":"end"]})]),u("div",{class:["vp-toc-wrapper",i.value?"open":""],ref:c},[E,u("div",{class:"vp-toc-marker",style:{top:d.value}})])]:null),w=t.tocBefore?.(),m=t.tocAfter?.();return Hn(x)&&Hn(w)&&Hn(m)?null:u("div",{class:"vp-toc-placeholder"},[u("aside",{id:"toc","vp-toc":""},[w,x,m])])}):null}});const Ku=()=>u(Le,{name:"edit"},()=>[u("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),u("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Ku.displayName="EditIcon";const x0={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"},C0=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const l=ra(e);let a;return o?a=o:l!==null&&(a=x0[l]),a?a.replace(/:repo/u,Pr(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,cc(`${zl(n)}/${r}`)):null},k0=()=>{const{frontmatter:e,page:t,themeLocale:n}=Ve(),r=pt();return T(()=>{const{repo:o,docsRepo:l=o,docsBranch:a="main",docsDir:s="",editLink:i,editLinkPattern:f=""}=n.value;if(!(e.value.editLink??i??!0)||!l)return null;const c=C0({docsRepo:l,docsBranch:a,docsDir:s,editLinkPattern:f,filePathRelative:t.value.filePathRelative});return c?{text:r.value.editLink,link:c}:null})};var P0=J({name:"PageMeta",setup(){const e=Wu(),t=Kc(),n=k0(),r=Cm(e.lastUpdated),o=pt();return()=>u("footer",{class:"vp-page-meta"},[n.value?u("div",{class:"vp-meta-item edit-link"},u(qe,{class:"vp-meta-label",config:n.value},{before:()=>u(Ku)})):null,u("div",{class:"vp-meta-item git-info"},[(!e.changelog.value||!Qe("GitChangelog"))&&r.value?u("div",{class:"update-time"},[u("span",{class:"vp-meta-label"},r.value.locale),u("time",{class:"vp-meta-info",datetime:r.value.iso,"data-allow-mismatch":""},r.value.text)]):null,e.contributors.value&&e.contributors.value!=="content"&&t.value.length?u("div",{class:"contributors"},[u("span",{class:"vp-meta-label"},`${o.value.contributors}: `),t.value.map(({email:l,name:a},s,i)=>[u("span",{class:"vp-meta-info",title:`email: ${l}`},a),s!==i.length-1?",":""])]):null])])}}),L0=J({name:"PageContent",slots:Object,setup(e,{slots:t}){const{frontmatter:n}=Ve(),{isDarkMode:r}=$r();return()=>u("main",{id:"main-content",class:"vp-page"},u(Qe("LocalEncrypt")?Se("LocalEncrypt"):Jl,()=>[t.pageTop?.(),n.value.cover?u("div",{class:"page-cover"},u("img",{src:$e(n.value.cover),alt:"","no-view":""})):null,u(_0),u(b0),u(T0,null,t),t.content?.()??u(fa,null,t),u(P0),u(E0),Qe("CommentService")?u(Se("CommentService"),{darkmode:r.value}):null,t.pageBottom?.()]))}});const wl=(e,{slots:t})=>{const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:a,image:s,imageDark:i,header:f,features:c=[]}=e;return u("div",{class:"vp-feature-wrapper"},[n?u("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?u("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,u("div",{class:"vp-feature",style:l?{color:l}:{}},[t.image?.(e)??[s?u("img",{class:["vp-feature-image",{light:i}],src:$e(s),alt:""}):null,i?u("img",{class:"vp-feature-image dark",src:$e(i),alt:""}):null],t.info?.(e)??[f?u("h2",{class:"vp-feature-header"},f):null,a?u("div",{class:"vp-feature-description",innerHTML:a}):null],c.length?u("div",{class:"vp-features"},c.map(({icon:d,title:p,details:h,link:b})=>{const y=[u("h3",{class:"vp-feature-title"},[u(Se("VPIcon"),{icon:d}),u("span",{innerHTML:p})]),u("div",{class:"vp-feature-details",innerHTML:h})];return b?yo(b)?u("a",{class:"vp-feature-item link",href:b,"aria-label":p,target:"_blank"},y):u(ft,{class:"vp-feature-item link",to:b,"aria-label":p},()=>y):u("div",{class:"vp-feature-item"},y)})):null])])};wl.displayName="FeaturePanel";var A0=J({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const{frontmatter:n,siteLocale:r}=Ve(),o=T(()=>{const{heroText:i,tagline:f,heroStyle:c,heroFullScreen:d=!1}=n.value;return{text:i??(r.value.title||"Hello"),tagline:f??r.value.description,style:c??null,isFullScreen:d}}),l=T(()=>{const{heroImage:i,heroImageDark:f,heroAlt:c,heroImageStyle:d}=n.value;return{image:i?$e(i):null,imageDark:f?$e(f):null,style:d??null,alt:c??""}}),a=T(()=>{const{bgImage:i,bgImageDark:f,bgImageStyle:c}=n.value;return{image:_e(i)?$e(i):null,imageDark:_e(f)?$e(f):null,style:c??null}}),s=T(()=>n.value.actions??[]);return()=>u("header",{class:["vp-hero-info-wrapper",{"hero-fullscreen":o.value.isFullScreen}],style:o.value.style},[t.heroBg?.(a.value)??[a.value.image?u("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.style]}):null,a.value.imageDark?u("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.style]}):null],u("div",{class:"vp-hero-info"},[t.heroLogo?.(l.value)??u(ut,{appear:!0,group:!0},()=>{const{image:i,imageDark:f,style:c,alt:d}=l.value;return[i?u("img",{key:"light",class:["vp-hero-image",{light:f}],style:c,src:i,alt:d}):null,f?u("img",{key:"dark",class:"vp-hero-image dark",style:c,src:f,alt:d}):null]}),t.heroInfo?.(o.value)??u("div",{class:"vp-hero-infos"},[o.value.text?u(ut,{appear:!0,delay:.04},()=>u("h1",{id:"main-title",class:"vp-hero-title"},o.value.text)):null,o.value.tagline?u(ut,{appear:!0,delay:.08},()=>u("div",{id:"main-description",innerHTML:o.value.tagline})):null,s.value.length?u(ut,{appear:!0,delay:.12},()=>u("p",{class:"vp-hero-actions"},s.value.map(i=>u(qe,{class:["vp-hero-action",i.type??"default","no-external-link-icon"],config:i})))):null])]),o.value.isFullScreen?u(Gu,{onClick:()=>window.scrollTo({top:window.innerHeight-(document.querySelector("[vp-navbar]")?.clientHeight??0),behavior:"smooth"})}):null])}});const Ju=(e,{slots:t})=>{const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:l,description:a,image:s,imageDark:i,header:f,highlights:c=[],type:d="un-order"}=e;return u("div",{class:"vp-highlight-wrapper",style:l?{color:l}:{}},[n?u("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?u("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,u("div",{class:"vp-highlight"},[t.image?.(e)??[s?u("img",{class:["vp-highlight-image",{light:i}],src:$e(s),alt:""}):null,i?u("img",{class:"vp-highlight-image dark",src:$e(i),alt:""}):null],t.info?.(e)??[u("div",{class:"vp-highlight-info-wrapper"},u("div",{class:"vp-highlight-info"},[f?u("h2",{class:"vp-highlight-header",innerHTML:f}):null,a?u("div",{class:"vp-highlight-description",innerHTML:a}):null,t.highlights?.(c)??u(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},c.map(({icon:p,title:h,details:b,link:y})=>{const E=[u(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[p?u(Se("VPIcon"),{class:"vp-highlight-icon",icon:p}):null,u("span",{innerHTML:h})]),b?u(d==="no-order"?"dd":"div",{class:"vp-highlight-details",innerHTML:b}):null];return u(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:y}]},y?yo(y)?u("a",{class:"vp-highlight-item link",href:y,"aria-label":h,target:"_blank"},E):u(ft,{class:"vp-highlight-item link",to:y,"aria-label":h},()=>E):u("div",{class:"vp-highlight-item"},E))}))]))]])])};Ju.displayName="HighlightSection";var R0=J({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=on();return()=>{const{features:r,highlights:o}=n.value;return u("main",{id:"main-content",class:"vp-page vp-project-home","aria-labelledby":n.value.heroText===""?"":"main-title"},[t.heroBefore?.(),u(A0,null,t),t.heroAfter?.(),Ft(o)?o.map(l=>"features"in l?u(wl,l):u(Ju,l)):Ft(r)?u(ut,{appear:!0,delay:.24},()=>u(wl,{features:r})):null,t.content?.()??u(ut,{appear:!0,delay:.32},()=>u(fa,null,t))])}}}),O0=J({name:"PortfolioHero",slots:Object,setup(e,{slots:t}){const n=gu(),r=on(),o=de(0),l=T(()=>r.value.titles?.[o.value]??""),a=de(""),s=T(()=>{const{name:p,avatar:h,avatarDark:b,avatarAlt:y,avatarStyle:E}=r.value;return{name:p??n.value.name,avatar:h?$e(h):null,avatarDark:b?$e(b):null,alt:(y||p)??"",style:E??null}}),i=T(()=>{const{bgImage:p,bgImageDark:h,bgImageStyle:b}=r.value;return{image:_e(p)?$e(p):null,imageDark:_e(h)?$e(h):null,style:b??null}}),f=T(()=>{const{welcome:p,name:h,titles:b=[],medias:y}=r.value;return{name:h??n.value.name,welcome:p??"👋 Hi There, I'm",title:a.value,titles:b,medias:y??null}}),c=()=>{a.value="";let p=0,h=!1;const b=async()=>{if(!h)if(a.value+=l.value[p],p+=1,await rn(),p<l.value.length)setTimeout(()=>{b()},150);else{const y=f.value.titles.length;setTimeout(()=>{o.value=y<=1||o.value===f.value.titles.length-1?0:o.value+1},1e3)}};return b(),()=>{h=!0}};let d;return Te(()=>{kt(l,()=>{d?.(),d=c()})}),()=>u("section",{id:"portfolio",class:["vp-portfolio",{bg:i.value.image}]},[t.portfolioBg?.(i.value)??[i.value.image?u("div",{class:["vp-portfolio-mask",{light:i.value.imageDark}],style:[{background:`url(${i.value.image}) center/cover no-repeat`},i.value.style]}):null,i.value.imageDark?u("div",{class:"vp-portfolio-mask dark",style:[{background:`url(${i.value.imageDark}) center/cover no-repeat`},i.value.style]}):null],t.portfolioAvatar?.(s.value)??u("div",{class:"vp-portfolio-avatar"},[u(ut,{delay:.04},()=>{const{avatar:p,avatarDark:h,name:b,alt:y,style:E}=s.value;return[p?u("img",{key:"light",class:{light:h},src:p,title:b,alt:y,style:E}):null,h?u("img",{key:"dark",class:"dark",src:h,title:b,alt:y,style:E}):null]})]),u("div",{class:"vp-portfolio-container"},t.portfolioInfo?.(f.value)??u("div",{class:"vp-portfolio-info"},[u(ut,{appear:!0,delay:.08},()=>u("h6",{class:"vp-portfolio-welcome"},f.value.welcome)),u(ut,{appear:!0,delay:.12},()=>u("h1",{class:"vp-portfolio-name",id:"main-title"},f.value.name)),u(ut,{appear:!0,delay:.16},()=>u("h2",{class:"vp-portfolio-title"},a.value)),u(ut,{appear:!0,delay:.2},()=>f.value.medias?u("div",{class:"vp-portfolio-medias"},f.value.medias.map(({name:p,url:h,icon:b})=>u("a",{class:"vp-portfolio-media",href:h,rel:"noopener noreferrer",target:"_blank",title:p},u(Se("VPIcon"),{icon:b,sizing:"both"})))):Qe("SocialMedias")?u(Se("SocialMedias")):null)]))])}}),I0=J({name:"PortfolioHome",slots:Object,setup(e,{slots:t}){const n=on();return()=>{const r=n.value.content??"portfolio";return u("main",{id:"main-content",class:"vp-page vp-portfolio-home","aria-labelledby":"main-title"},[u(O0,null,t),r==="none"?null:t.content?.()??u("div",u(ut,{appear:!0,delay:.24},()=>u(fa,{class:{"vp-portfolio-content":r==="portfolio"}},t)))])}}}),$0=J({name:"Layout",slots:Object,setup(e,{slots:t}){const{frontmatter:n,page:r}=Ve();return()=>[u(qu),u(Uu,null,{...t,default:t.default??(()=>n.value.portfolio?u(I0,null,t):n.value.home?u(R0,null,t):u(g0,()=>u(L0,{key:r.value.path},t))),navScreenBottom:t.navScreenBottom??(Qe("BloggerInfo")?()=>u(Se("BloggerInfo")):null)})]}}),M0=J({name:"NotFound",slots:Object,setup(e,{slots:t}){const{routeLocale:n,theme:r,themeLocale:o}=Ve(),l=Kn(),a=de(!1),s=T(()=>r.value.locales[a.value?n.value:"/"].routerLocales),i=()=>{if(!a.value)return s.value.notFoundMsg[0];const f=s.value.notFoundMsg;return f[Math.floor(Math.random()*f.length)]};return Te(()=>{a.value=!0}),()=>[u(qu),u(Uu,{noSidebar:!0},{...t,default:()=>u("main",{id:"main-content",class:"vp-page not-found"},t.default?.()??[u("div",{class:"not-found-hint"},[u("p",{class:"error-code"},"404"),u("h1",{class:"error-title"},s.value.notFoundTitle),u("p",{class:"error-hint"},i())]),u("div",{class:"actions"},[u("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},s.value.back),u("button",{type:"button",class:"action-button",onClick:()=>{l.push(o.value.home??n.value)}},s.value.home)])])})]}});o1(e=>{const t=e.title,n=e.index??!0,r=e.icon;return n?{title:t,content:r?()=>[u(Se("VPIcon"),{icon:r,sizing:"both"}),t]:null,order:e.order,index:e.index}:null});const D0={enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await yl.wait(),n(...r)),K1(e)},setup:()=>{J1(),X1()},layouts:{Layout:$0,NotFound:M0}},N0=Object.freeze(Object.defineProperty({__proto__:null,default:D0},Symbol.toStringTag,{value:"Module"})),qr=[Rm,Om,Im,Mm,Dm,jm,Hm,Wm,hg,vg,mg,Eg,Cg,Rg,$g,Kg,Yg,r1,u1,m1,E1,N0].map(e=>e.default).filter(Boolean),j0=JSON.parse('{"base":"/","lang":"zh-CN","title":"我的博客和笔记","description":"理性派,数学,物理,程序","head":[],"locales":{}}');var Pn=le(j0),H0=xh,V0=()=>{const e=Yh({history:H0(zl("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===$t){const r=Vt(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},F0=e=>{e.component("ClientOnly",Gl),e.component("Content",Cc),e.component("RouteLink",ft)},B0=(e,t,n)=>{const r=T(()=>t.currentRoute.value.path),o=hi((E,x)=>({get(){return E(),t.currentRoute.value.meta._pageChunk},set(w){t.currentRoute.value.meta._pageChunk=w,x()}})),l=T(()=>cn.resolveLayouts(n)),a=T(()=>cn.resolveRouteLocale(Pn.value.locales,r.value)),s=T(()=>cn.resolveSiteLocaleData(Pn.value,a.value)),i=T(()=>o.value.comp),f=T(()=>o.value.data),c=T(()=>f.value.frontmatter),d=T(()=>cn.resolvePageHeadTitle(f.value,s.value)),p=T(()=>cn.resolvePageHead(d.value,c.value,s.value)),h=T(()=>cn.resolvePageLang(f.value,s.value)),b=T(()=>cn.resolvePageLayout(f.value,l.value)),y={layouts:l,pageData:f,pageComponent:i,pageFrontmatter:c,pageHead:p,pageHeadTitle:d,pageLang:h,pageLayout:b,redirects:fl,routeLocale:a,routePath:r,routes:jn,siteData:Pn,siteLocaleData:s,frontmatter:c,head:p,headTitle:d,lang:h,page:f,site:Pn,siteLocale:s};return e.provide(ql,y),Object.defineProperties(e.config.globalProperties,{$pageFrontmatter:{get:()=>c.value},$pageHead:{get:()=>p.value},$pageHeadTitle:{get:()=>d.value},$pageLang:{get:()=>h.value},$pageData:{get:()=>f.value},$routeLocale:{get:()=>a.value},$withBase:{get:()=>$e},$frontmatter:{get:()=>c.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>h.value},$page:{get:()=>f.value},$site:{get:()=>Pn.value},$siteLocale:{get:()=>s.value}}),y},z0=([e,t,n=""])=>{const r=Object.entries(t).map(([s,i])=>_e(i)?`[${s}=${JSON.stringify(i)}]`:i?`[${s}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(s=>s.innerText===n)??null},U0=([e,t,n])=>{if(!_e(e))return null;const r=document.createElement(e);return wn(t)&&Object.entries(t).forEach(([o,l])=>{_e(l)?r.setAttribute(o,l):l&&r.setAttribute(o,"")}),_e(n)&&r.appendChild(document.createTextNode(n)),r},W0=()=>{const e=ev(),t=Sc();let n=[];const r=()=>{e.value.forEach(a=>{const s=z0(a);s&&n.push(s)})},o=()=>{const a=[];return e.value.forEach(s=>{const i=U0(s);i&&a.push(i)}),a},l=()=>{document.documentElement.lang=t.value;const a=o();n.forEach((s,i)=>{const f=a.findIndex(c=>s.isEqualNode(c));f===-1?(s.remove(),delete n[i]):a.splice(f,1)}),a.forEach(s=>document.head.appendChild(s)),n=[...n.filter(s=>!!s),...a]};Nn(av,l),Te(()=>{r(),Ce(e,l,{immediate:!1})})},q0=Op,G0=async()=>{const e=q0({name:"Vuepress",setup(){W0();for(const o of qr)o.setup?.();const n=qr.flatMap(({rootComponents:o=[]})=>o.map(l=>u(l))),r=tv();return()=>[u(r.value),n]}}),t=V0();F0(e),B0(e,t,qr);for(const n of qr)await n.enhance?.({app:e,router:t,siteData:Pn});return e.use(t),{app:e,router:t}};G0().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Y0 as a,Ji as b,J0 as c,G0 as createVueApp,Ae as d,Yi as e,K0 as o,Se as r,Kf as w};