Files
elect.xevion.dev/docs/assets/index.b5f88166.js
2022-04-06 01:44:28 -05:00

19 lines
189 KiB
JavaScript

var Of=Object.defineProperty,$f=Object.defineProperties;var Pf=Object.getOwnPropertyDescriptors;var qs=Object.getOwnPropertySymbols;var tl=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable;var el=(e,t,n)=>t in e?Of(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||(t={}))tl.call(t,n)&&el(e,n,t[n]);if(qs)for(var n of qs(t))nl.call(t,n)&&el(e,n,t[n]);return e},Ue=(e,t)=>$f(e,Pf(t));var Ur=(e,t)=>{var n={};for(var s in e)tl.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&qs)for(var s of qs(e))t.indexOf(s)<0&&nl.call(e,s)&&(n[s]=e[s]);return n};const Af=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}};Af();function ti(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Cf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Mf=ti(Cf);function za(e){return!!e||e===""}function mt(e){if(G(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Ae(s)?Tf(s):mt(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(Ae(e))return e;if(Ce(e))return e}}const kf=/;(?![^(]*\))/g,Rf=/:(.+)/;function Tf(e){const t={};return e.split(kf).forEach(n=>{if(n){const s=n.split(Rf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ke(e){let t="";if(Ae(e))t=e;else if(G(e))for(let n=0;n<e.length;n++){const s=ke(e[n]);s&&(t+=s+" ")}else if(Ce(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function en(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ae(t)&&(e.class=ke(t)),n&&(e.style=mt(n)),e}const gn=e=>Ae(e)?e:e==null?"":G(e)||Ce(e)&&(e.toString===qa||!ne(e.toString))?JSON.stringify(e,Ua,2):String(e),Ua=(e,t)=>t&&t.__v_isRef?Ua(e,t.value):Fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ka(t)?{[`Set(${t.size})`]:[...t.values()]}:Ce(t)&&!G(t)&&!Ya(t)?String(t):t,ve={},Ln=[],dt=()=>{},Lf=()=>!1,Ff=/^on[^a-z]/,Ar=e=>Ff.test(e),ni=e=>e.startsWith("onUpdate:"),He=Object.assign,si=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},If=Object.prototype.hasOwnProperty,ae=(e,t)=>If.call(e,t),G=Array.isArray,Fn=e=>Cr(e)==="[object Map]",Ka=e=>Cr(e)==="[object Set]",ne=e=>typeof e=="function",Ae=e=>typeof e=="string",ri=e=>typeof e=="symbol",Ce=e=>e!==null&&typeof e=="object",Wa=e=>Ce(e)&&ne(e.then)&&ne(e.catch),qa=Object.prototype.toString,Cr=e=>qa.call(e),Nf=e=>Cr(e).slice(8,-1),Ya=e=>Cr(e)==="[object Object]",oi=e=>Ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,sr=ti(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jf=/-(\w)/g,St=Mr(e=>e.replace(jf,(t,n)=>n?n.toUpperCase():"")),Df=/\B([A-Z])/g,_n=Mr(e=>e.replace(Df,"-$1").toLowerCase()),kr=Mr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kr=Mr(e=>e?`on${kr(e)}`:""),Es=(e,t)=>!Object.is(e,t),In=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},po=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let sl;const Hf=()=>sl||(sl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let it;class Vf{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&it&&(this.parent=it,this.index=(it.scopes||(it.scopes=[])).push(this)-1)}run(t){if(this.active)try{return it=this,t()}finally{it=this.parent}}on(){it=this}off(){it=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function Bf(e,t=it){t&&t.active&&t.effects.push(e)}function zf(){return it}function Uf(e){it&&it.cleanups.push(e)}const ii=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Za=e=>(e.w&Xt)>0,Ga=e=>(e.n&Xt)>0,Kf=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xt},Wf=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Za(r)&&!Ga(r)?r.delete(e):t[n++]=r,r.w&=~Xt,r.n&=~Xt}t.length=n}},mo=new WeakMap;let os=0,Xt=1;const go=30;let xt;const hn=Symbol(""),vo=Symbol("");class li{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Bf(this,s)}run(){if(!this.active)return this.fn();let t=xt,n=Wt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xt,xt=this,Wt=!0,Xt=1<<++os,os<=go?Kf(this):rl(this),this.fn()}finally{os<=go&&Wf(this),Xt=1<<--os,xt=this.parent,Wt=n,this.parent=void 0}}stop(){this.active&&(rl(this),this.onStop&&this.onStop(),this.active=!1)}}function rl(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Wt=!0;const Xa=[];function Kn(){Xa.push(Wt),Wt=!1}function Wn(){const e=Xa.pop();Wt=e===void 0?!0:e}function Qe(e,t,n){if(Wt&&xt){let s=mo.get(e);s||mo.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ii()),Ja(r)}}function Ja(e,t){let n=!1;os<=go?Ga(e)||(e.n|=Xt,n=!Za(e)):n=!e.has(xt),n&&(e.add(xt),xt.deps.push(e))}function kt(e,t,n,s,r,o){const i=mo.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&G(e))i.forEach((a,c)=>{(c==="length"||c>=s)&&l.push(a)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":G(e)?oi(n)&&l.push(i.get("length")):(l.push(i.get(hn)),Fn(e)&&l.push(i.get(vo)));break;case"delete":G(e)||(l.push(i.get(hn)),Fn(e)&&l.push(i.get(vo)));break;case"set":Fn(e)&&l.push(i.get(hn));break}if(l.length===1)l[0]&&yo(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);yo(ii(a))}}function yo(e,t){for(const n of G(e)?e:[...e])(n!==xt||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const qf=ti("__proto__,__v_isRef,__isVue"),Qa=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(ri)),Yf=ai(),Zf=ai(!1,!0),Gf=ai(!0),ol=Xf();function Xf(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=de(this);for(let o=0,i=this.length;o<i;o++)Qe(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(de)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Kn();const s=de(this)[t].apply(this,n);return Wn(),s}}),e}function ai(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?hd:rc:t?sc:nc).get(s))return s;const i=G(s);if(!e&&i&&ae(ol,r))return Reflect.get(ol,r,o);const l=Reflect.get(s,r,o);return(ri(r)?Qa.has(r):qf(r))||(e||Qe(s,"get",r),t)?l:_e(l)?!i||!oi(r)?l.value:l:Ce(l)?e?cn(l):Re(l):l}}const Jf=ec(),Qf=ec(!0);function ec(e=!1){return function(n,s,r,o){let i=n[s];if(Ss(i)&&_e(i)&&!_e(r))return!1;if(!e&&!Ss(r)&&(oc(r)||(r=de(r),i=de(i)),!G(n)&&_e(i)&&!_e(r)))return i.value=r,!0;const l=G(n)&&oi(s)?Number(s)<n.length:ae(n,s),a=Reflect.set(n,s,r,o);return n===de(o)&&(l?Es(r,i)&&kt(n,"set",s,r):kt(n,"add",s,r)),a}}function ed(e,t){const n=ae(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&kt(e,"delete",t,void 0),s}function td(e,t){const n=Reflect.has(e,t);return(!ri(t)||!Qa.has(t))&&Qe(e,"has",t),n}function nd(e){return Qe(e,"iterate",G(e)?"length":hn),Reflect.ownKeys(e)}const tc={get:Yf,set:Jf,deleteProperty:ed,has:td,ownKeys:nd},sd={get:Gf,set(e,t){return!0},deleteProperty(e,t){return!0}},rd=He({},tc,{get:Zf,set:Qf}),ci=e=>e,Rr=e=>Reflect.getPrototypeOf(e);function Ys(e,t,n=!1,s=!1){e=e.__v_raw;const r=de(e),o=de(t);t!==o&&!n&&Qe(r,"get",t),!n&&Qe(r,"get",o);const{has:i}=Rr(r),l=s?ci:n?hi:Os;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Zs(e,t=!1){const n=this.__v_raw,s=de(n),r=de(e);return e!==r&&!t&&Qe(s,"has",e),!t&&Qe(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Gs(e,t=!1){return e=e.__v_raw,!t&&Qe(de(e),"iterate",hn),Reflect.get(e,"size",e)}function il(e){e=de(e);const t=de(this);return Rr(t).has.call(t,e)||(t.add(e),kt(t,"add",e,e)),this}function ll(e,t){t=de(t);const n=de(this),{has:s,get:r}=Rr(n);let o=s.call(n,e);o||(e=de(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Es(t,i)&&kt(n,"set",e,t):kt(n,"add",e,t),this}function al(e){const t=de(this),{has:n,get:s}=Rr(t);let r=n.call(t,e);r||(e=de(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&kt(t,"delete",e,void 0),o}function cl(){const e=de(this),t=e.size!==0,n=e.clear();return t&&kt(e,"clear",void 0,void 0),n}function Xs(e,t){return function(s,r){const o=this,i=o.__v_raw,l=de(i),a=t?ci:e?hi:Os;return!e&&Qe(l,"iterate",hn),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function Js(e,t,n){return function(...s){const r=this.__v_raw,o=de(r),i=Fn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?ci:t?hi:Os;return!t&&Qe(o,"iterate",a?vo:hn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Nt(e){return function(...t){return e==="delete"?!1:this}}function od(){const e={get(o){return Ys(this,o)},get size(){return Gs(this)},has:Zs,add:il,set:ll,delete:al,clear:cl,forEach:Xs(!1,!1)},t={get(o){return Ys(this,o,!1,!0)},get size(){return Gs(this)},has:Zs,add:il,set:ll,delete:al,clear:cl,forEach:Xs(!1,!0)},n={get(o){return Ys(this,o,!0)},get size(){return Gs(this,!0)},has(o){return Zs.call(this,o,!0)},add:Nt("add"),set:Nt("set"),delete:Nt("delete"),clear:Nt("clear"),forEach:Xs(!0,!1)},s={get(o){return Ys(this,o,!0,!0)},get size(){return Gs(this,!0)},has(o){return Zs.call(this,o,!0)},add:Nt("add"),set:Nt("set"),delete:Nt("delete"),clear:Nt("clear"),forEach:Xs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Js(o,!1,!1),n[o]=Js(o,!0,!1),t[o]=Js(o,!1,!0),s[o]=Js(o,!0,!0)}),[e,n,t,s]}const[id,ld,ad,cd]=od();function ui(e,t){const n=t?e?cd:ad:e?ld:id;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ae(n,r)&&r in s?n:s,r,o)}const ud={get:ui(!1,!1)},fd={get:ui(!1,!0)},dd={get:ui(!0,!1)},nc=new WeakMap,sc=new WeakMap,rc=new WeakMap,hd=new WeakMap;function pd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function md(e){return e.__v_skip||!Object.isExtensible(e)?0:pd(Nf(e))}function Re(e){return Ss(e)?e:fi(e,!1,tc,ud,nc)}function gd(e){return fi(e,!1,rd,fd,sc)}function cn(e){return fi(e,!0,sd,dd,rc)}function fi(e,t,n,s,r){if(!Ce(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=md(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Nn(e){return Ss(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function Ss(e){return!!(e&&e.__v_isReadonly)}function oc(e){return!!(e&&e.__v_isShallow)}function ic(e){return Nn(e)||Ss(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function di(e){return hr(e,"__v_skip",!0),e}const Os=e=>Ce(e)?Re(e):e,hi=e=>Ce(e)?cn(e):e;function pi(e){Wt&&xt&&(e=de(e),Ja(e.dep||(e.dep=ii())))}function mi(e,t){e=de(e),e.dep&&yo(e.dep)}function _e(e){return!!(e&&e.__v_isRef===!0)}function Y(e){return lc(e,!1)}function Rt(e){return lc(e,!0)}function lc(e,t){return _e(e)?e:new vd(e,t)}class vd{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:de(t),this._value=n?t:Os(t)}get value(){return pi(this),this._value}set value(t){t=this.__v_isShallow?t:de(t),Es(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Os(t),mi(this))}}function x(e){return _e(e)?e.value:e}const yd={get:(e,t,n)=>x(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ac(e){return Nn(e)?e:new Proxy(e,yd)}class _d{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>pi(this),()=>mi(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function bd(e){return new _d(e)}function wd(e){const t=G(e)?new Array(e.length):{};for(const n in e)t[n]=Ed(e,n);return t}class xd{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ed(e,t,n){const s=e[t];return _e(s)?s:new xd(e,t,n)}class Sd{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new li(t,()=>{this._dirty||(this._dirty=!0,mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=de(this);return pi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Od(e,t,n=!1){let s,r;const o=ne(e);return o?(s=e,r=dt):(s=e.get,r=e.set),new Sd(s,r,o||!r,n)}Promise.resolve();function qt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Tr(o,t,n)}return r}function ht(e,t,n,s){if(ne(e)){const o=qt(e,t,n,s);return o&&Wa(o)&&o.catch(i=>{Tr(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(ht(e[o],t,n,s));return r}function Tr(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const c=o.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){qt(a,null,10,[e,i,l]);return}}$d(e,n,r,s)}function $d(e,t,n,s=!0){console.error(e)}let pr=!1,_o=!1;const Xe=[];let Pt=0;const cs=[];let is=null,An=0;const us=[];let Ht=null,Cn=0;const cc=Promise.resolve();let gi=null,bo=null;function Tt(e){const t=gi||cc;return e?t.then(this?e.bind(this):e):t}function Pd(e){let t=Pt+1,n=Xe.length;for(;t<n;){const s=t+n>>>1;$s(Xe[s])<e?t=s+1:n=s}return t}function uc(e){(!Xe.length||!Xe.includes(e,pr&&e.allowRecurse?Pt+1:Pt))&&e!==bo&&(e.id==null?Xe.push(e):Xe.splice(Pd(e.id),0,e),fc())}function fc(){!pr&&!_o&&(_o=!0,gi=cc.then(pc))}function Ad(e){const t=Xe.indexOf(e);t>Pt&&Xe.splice(t,1)}function dc(e,t,n,s){G(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),fc()}function Cd(e){dc(e,is,cs,An)}function Md(e){dc(e,Ht,us,Cn)}function vi(e,t=null){if(cs.length){for(bo=t,is=[...new Set(cs)],cs.length=0,An=0;An<is.length;An++)is[An]();is=null,An=0,bo=null,vi(e,t)}}function hc(e){if(us.length){const t=[...new Set(us)];if(us.length=0,Ht){Ht.push(...t);return}for(Ht=t,Ht.sort((n,s)=>$s(n)-$s(s)),Cn=0;Cn<Ht.length;Cn++)Ht[Cn]();Ht=null,Cn=0}}const $s=e=>e.id==null?1/0:e.id;function pc(e){_o=!1,pr=!0,vi(e),Xe.sort((n,s)=>$s(n)-$s(s));const t=dt;try{for(Pt=0;Pt<Xe.length;Pt++){const n=Xe[Pt];n&&n.active!==!1&&qt(n,null,14)}}finally{Pt=0,Xe.length=0,hc(),pr=!1,gi=null,(Xe.length||cs.length||us.length)&&pc(e)}}function kd(e,t,...n){const s=e.vnode.props||ve;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=s[u]||ve;d?r=n.map(m=>m.trim()):f&&(r=n.map(po))}let l,a=s[l=Kr(t)]||s[l=Kr(St(t))];!a&&o&&(a=s[l=Kr(_n(t))]),a&&ht(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ht(c,e,6,r)}}function mc(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!ne(e)){const a=c=>{const u=mc(c,t,!0);u&&(l=!0,He(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(s.set(e,null),null):(G(o)?o.forEach(a=>i[a]=null):He(i,o),s.set(e,i),i)}function yi(e,t){return!e||!Ar(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,_n(t))||ae(e,t))}let Je=null,Lr=null;function mr(e){const t=Je;return Je=e,Lr=e&&e.type.__scopeId||null,t}function gc(e){Lr=e}function vc(){Lr=null}function Ne(e,t=Je,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&_l(-1);const o=mr(t),i=e(...r);return mr(o),s._d&&_l(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Wr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:m,ctx:p,inheritAttrs:O}=e;let w,A;const _=mr(e);try{if(n.shapeFlag&4){const E=r||s;w=wt(u.call(E,E,f,o,m,d,p)),A=a}else{const E=t;w=wt(E.length>1?E(o,{attrs:a,slots:l,emit:c}):E(o,null)),A=t.props?a:Rd(a)}}catch(E){fs.length=0,Tr(E,e,1),w=ee(Jt)}let b=w;if(A&&O!==!1){const E=Object.keys(A),{shapeFlag:R}=b;E.length&&R&7&&(i&&E.some(ni)&&(A=Td(A,i)),b=Vn(b,A))}return n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),w=b,mr(_),w}const Rd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ar(n))&&((t||(t={}))[n]=e[n]);return t},Td=(e,t)=>{const n={};for(const s in e)(!ni(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ld(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?ul(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==s[d]&&!yi(c,d))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?ul(s,i,c):!0:!!i;return!1}function ul(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!yi(n,o))return!0}return!1}function Fd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Id=e=>e.__isSuspense;function Nd(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):Md(e)}function At(e,t){if(Me){let n=Me.provides;const s=Me.parent&&Me.parent.provides;s===n&&(n=Me.provides=Object.create(s)),n[e]=t}}function Mt(e,t,n=!1){const s=Me||Je;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ne(t)?t.call(s.proxy):t}}function _i(e,t){return bi(e,null,t)}const fl={};function re(e,t,n){return bi(e,t,n)}function bi(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ve){const l=Me;let a,c=!1,u=!1;if(_e(e)?(a=()=>e.value,c=oc(e)):Nn(e)?(a=()=>e,s=!0):G(e)?(u=!0,c=e.some(Nn),a=()=>e.map(A=>{if(_e(A))return A.value;if(Nn(A))return un(A);if(ne(A))return qt(A,l,2)})):ne(e)?t?a=()=>qt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),ht(e,l,3,[d])}:a=dt,t&&s){const A=a;a=()=>un(A())}let f,d=A=>{f=w.onStop=()=>{qt(A,l,4)}};if(As)return d=dt,t?n&&ht(t,l,3,[a(),u?[]:void 0,d]):a(),dt;let m=u?[]:fl;const p=()=>{if(!!w.active)if(t){const A=w.run();(s||c||(u?A.some((_,b)=>Es(_,m[b])):Es(A,m)))&&(f&&f(),ht(t,l,3,[A,m===fl?void 0:m,d]),m=A)}else w.run()};p.allowRecurse=!!t;let O;r==="sync"?O=p:r==="post"?O=()=>Le(p,l&&l.suspense):O=()=>{!l||l.isMounted?Cd(p):p()};const w=new li(a,O);return t?n?p():m=w.run():r==="post"?Le(w.run.bind(w),l&&l.suspense):w.run(),()=>{w.stop(),l&&l.scope&&si(l.scope.effects,w)}}function jd(e,t,n){const s=this.proxy,r=Ae(e)?e.includes(".")?yc(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Me;Bn(this);const l=bi(r,o.bind(s),n);return i?Bn(i):mn(),l}function yc(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function un(e,t){if(!Ce(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),_e(e))un(e.value,t);else if(G(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(Ka(e)||Fn(e))e.forEach(n=>{un(n,t)});else if(Ya(e))for(const n in e)un(e[n],t);return e}function _c(e,t){e.shapeFlag&6&&e.component?_c(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 Se(e){return ne(e)?{setup:e,name:e.name}:e}const gr=e=>!!e.type.__asyncLoader,bc=e=>e.type.__isKeepAlive,Dd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=js(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(_,b,E,R,T)=>{const B=_.component;c(_,b,E,0,l),a(B.vnode,_,b,E,B,l,R,_.slotScopeIds,T),Le(()=>{B.isDeactivated=!1,B.a&&In(B.a);const ce=_.props&&_.props.onVnodeMounted;ce&&nt(ce,B.parent,_)},l)},s.deactivate=_=>{const b=_.component;c(_,d,null,1,l),Le(()=>{b.da&&In(b.da);const E=_.props&&_.props.onVnodeUnmounted;E&&nt(E,b.parent,_),b.isDeactivated=!0},l)};function m(_){qr(_),u(_,n,l,!0)}function p(_){r.forEach((b,E)=>{const R=$o(b.type);R&&(!_||!_(R))&&O(E)})}function O(_){const b=r.get(_);!i||b.type!==i.type?m(b):i&&qr(i),r.delete(_),o.delete(_)}re(()=>[e.include,e.exclude],([_,b])=>{_&&p(E=>ls(_,E)),b&&p(E=>!ls(b,E))},{flush:"post",deep:!0});let w=null;const A=()=>{w!=null&&r.set(w,Yr(n.subTree))};return wi(A),Sc(A),xi(()=>{r.forEach(_=>{const{subTree:b,suspense:E}=n,R=Yr(b);if(_.type===R.type){qr(R);const T=R.component.da;T&&Le(T,E);return}m(_)})}),()=>{if(w=null,!t.default)return null;const _=t.default(),b=_[0];if(_.length>1)return i=null,_;if(!Ps(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let E=Yr(b);const R=E.type,T=$o(gr(E)?E.type.__asyncResolved||{}:R),{include:B,exclude:ce,max:fe}=e;if(B&&(!T||!ls(B,T))||ce&&T&&ls(ce,T))return i=E,b;const he=E.key==null?R:E.key,be=r.get(he);return E.el&&(E=Vn(E),b.shapeFlag&128&&(b.ssContent=E)),w=he,be?(E.el=be.el,E.component=be.component,E.transition&&_c(E,E.transition),E.shapeFlag|=512,o.delete(he),o.add(he)):(o.add(he),fe&&o.size>parseInt(fe,10)&&O(o.values().next().value)),E.shapeFlag|=256,i=E,b}}},wc=Dd;function ls(e,t){return G(e)?e.some(n=>ls(n,t)):Ae(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Hd(e,t){xc(e,"a",t)}function Vd(e,t){xc(e,"da",t)}function xc(e,t,n=Me){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Fr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)bc(r.parent.vnode)&&Bd(s,t,n,r),r=r.parent}}function Bd(e,t,n,s){const r=Fr(t,e,s,!0);Ei(()=>{si(s[t],r)},n)}function qr(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Yr(e){return e.shapeFlag&128?e.ssContent:e}function Fr(e,t,n=Me,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kn(),Bn(n);const l=ht(t,n,e,i);return mn(),Wn(),l});return s?r.unshift(o):r.push(o),o}}const Ft=e=>(t,n=Me)=>(!As||e==="sp")&&Fr(e,t,n),Ec=Ft("bm"),wi=Ft("m"),zd=Ft("bu"),Sc=Ft("u"),xi=Ft("bum"),Ei=Ft("um"),Ud=Ft("sp"),Kd=Ft("rtg"),Wd=Ft("rtc");function qd(e,t=Me){Fr("ec",e,t)}let wo=!0;function Yd(e){const t=$c(e),n=e.proxy,s=e.ctx;wo=!1,t.beforeCreate&&dl(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:m,updated:p,activated:O,deactivated:w,beforeDestroy:A,beforeUnmount:_,destroyed:b,unmounted:E,render:R,renderTracked:T,renderTriggered:B,errorCaptured:ce,serverPrefetch:fe,expose:he,inheritAttrs:be,components:Pe,directives:Te,filters:Ve}=t;if(c&&Zd(c,s,null,e.appContext.config.unwrapInjectedRef),i)for(const X in i){const K=i[X];ne(K)&&(s[X]=K.bind(n))}if(r){const X=r.call(n,n);Ce(X)&&(e.data=Re(X))}if(wo=!0,o)for(const X in o){const K=o[X],oe=ne(K)?K.bind(n,n):ne(K.get)?K.get.bind(n,n):dt,yt=!ne(K)&&ne(K.set)?K.set.bind(n):dt,je=j({get:oe,set:yt});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>je.value,set:tt=>je.value=tt})}if(l)for(const X in l)Oc(l[X],s,n,X);if(a){const X=ne(a)?a.call(n):a;Reflect.ownKeys(X).forEach(K=>{At(K,X[K])})}u&&dl(u,e,"c");function q(X,K){G(K)?K.forEach(oe=>X(oe.bind(n))):K&&X(K.bind(n))}if(q(Ec,f),q(wi,d),q(zd,m),q(Sc,p),q(Hd,O),q(Vd,w),q(qd,ce),q(Wd,T),q(Kd,B),q(xi,_),q(Ei,E),q(Ud,fe),G(he))if(he.length){const X=e.exposed||(e.exposed={});he.forEach(K=>{Object.defineProperty(X,K,{get:()=>n[K],set:oe=>n[K]=oe})})}else e.exposed||(e.exposed={});R&&e.render===dt&&(e.render=R),be!=null&&(e.inheritAttrs=be),Pe&&(e.components=Pe),Te&&(e.directives=Te)}function Zd(e,t,n=dt,s=!1){G(e)&&(e=xo(e));for(const r in e){const o=e[r];let i;Ce(o)?"default"in o?i=Mt(o.from||r,o.default,!0):i=Mt(o.from||r):i=Mt(o),_e(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function dl(e,t,n){ht(G(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oc(e,t,n,s){const r=s.includes(".")?yc(n,s):()=>n[s];if(Ae(e)){const o=t[e];ne(o)&&re(r,o)}else if(ne(e))re(r,e.bind(n));else if(Ce(e))if(G(e))e.forEach(o=>Oc(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&re(r,o,e)}}function $c(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>vr(a,c,i,!0)),vr(a,t,i)),o.set(t,a),a}function vr(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vr(e,o,n,!0),r&&r.forEach(i=>vr(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Gd[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Gd={data:hl,props:ln,emits:ln,methods:ln,computed:ln,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:ln,directives:ln,watch:Jd,provide:hl,inject:Xd};function hl(e,t){return t?e?function(){return He(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function Xd(e,t){return ln(xo(e),xo(t))}function xo(e){if(G(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function ln(e,t){return e?He(He(Object.create(null),e),t):t}function Jd(e,t){if(!e)return t;if(!t)return e;const n=He(Object.create(null),e);for(const s in t)n[s]=De(e[s],t[s]);return n}function Qd(e,t,n,s=!1){const r={},o={};hr(o,Ir,1),e.propsDefaults=Object.create(null),Pc(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:gd(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function eh(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=de(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];const m=t[d];if(a)if(ae(o,d))m!==o[d]&&(o[d]=m,c=!0);else{const p=St(d);r[p]=Eo(a,l,p,m,e,!1)}else m!==o[d]&&(o[d]=m,c=!0)}}}else{Pc(e,t,r,o)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=_n(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=Eo(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!ae(t,f)&&!0)&&(delete o[f],c=!0)}c&&kt(e,"set","$attrs")}function Pc(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(sr(a))continue;const c=t[a];let u;r&&ae(r,u=St(a))?!o||!o.includes(u)?n[u]=c:(l||(l={}))[u]=c:yi(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,i=!0)}if(o){const a=de(n),c=l||ve;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Eo(r,a,f,c[f],e,!ae(c,f))}}return i}function Eo(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ae(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&ne(a)){const{propsDefaults:c}=r;n in c?s=c[n]:(Bn(r),s=c[n]=a.call(null,t),mn())}else s=a}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===_n(n))&&(s=!0))}return s}function Ac(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!ne(e)){const u=f=>{a=!0;const[d,m]=Ac(f,t,!0);He(i,d),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return s.set(e,Ln),Ln;if(G(o))for(let u=0;u<o.length;u++){const f=St(o[u]);pl(f)&&(i[f]=ve)}else if(o)for(const u in o){const f=St(u);if(pl(f)){const d=o[u],m=i[f]=G(d)||ne(d)?{type:d}:d;if(m){const p=vl(Boolean,m.type),O=vl(String,m.type);m[0]=p>-1,m[1]=O<0||p<O,(p>-1||ae(m,"default"))&&l.push(f)}}}const c=[i,l];return s.set(e,c),c}function pl(e){return e[0]!=="$"}function ml(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function gl(e,t){return ml(e)===ml(t)}function vl(e,t){return G(t)?t.findIndex(n=>gl(n,e)):ne(t)&&gl(t,e)?0:-1}const Cc=e=>e[0]==="_"||e==="$stable",Si=e=>G(e)?e.map(wt):[wt(e)],th=(e,t,n)=>{const s=Ne((...r)=>Si(t(...r)),n);return s._c=!1,s},Mc=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Cc(r))continue;const o=e[r];if(ne(o))t[r]=th(r,o,s);else if(o!=null){const i=Si(o);t[r]=()=>i}}},kc=(e,t)=>{const n=Si(t);e.slots.default=()=>n},nh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),hr(t,"_",n)):Mc(t,e.slots={})}else e.slots={},t&&kc(e,t);hr(e.slots,Ir,1)},sh=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ve;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(He(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Mc(t,r)),i=t}else t&&(kc(e,t),i={default:1});if(o)for(const l in r)!Cc(l)&&!(l in i)&&delete r[l]};function Oi(e,t){const n=Je;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,a,c=ve]=t[o];ne(i)&&(i={mounted:i,updated:i}),i.deep&&un(l),r.push({dir:i,instance:s,value:l,oldValue:void 0,arg:a,modifiers:c})}return e}function nn(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Kn(),ht(a,n,8,[e.el,l,e,t]),Wn())}}function Rc(){return{app:null,config:{isNativeTag:Lf,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 rh=0;function oh(e,t){return function(s,r=null){r!=null&&!Ce(r)&&(r=null);const o=Rc(),i=new Set;let l=!1;const a=o.app={_uid:rh++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Sh,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&ne(c.install)?(i.add(c),c.install(a,...u)):ne(c)&&(i.add(c),c(a,...u))),a},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),a},component(c,u){return u?(o.components[c]=u,a):o.components[c]},directive(c,u){return u?(o.directives[c]=u,a):o.directives[c]},mount(c,u,f){if(!l){const d=ee(s,r);return d.appContext=o,u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,Ci(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return o.provides[c]=u,a}};return a}}function So(e,t,n,s,r=!1){if(G(e)){e.forEach((d,m)=>So(d,t&&(G(t)?t[m]:t),n,s,r));return}if(gr(s)&&!r)return;const o=s.shapeFlag&4?Ci(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ve?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Ae(c)?(u[c]=null,ae(f,c)&&(f[c]=null)):_e(c)&&(c.value=null)),ne(a))qt(a,l,12,[i,u]);else{const d=Ae(a),m=_e(a);if(d||m){const p=()=>{if(e.f){const O=d?u[a]:a.value;r?G(O)&&si(O,o):G(O)?O.includes(o)||O.push(o):d?u[a]=[o]:(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ae(f,a)&&(f[a]=i)):_e(a)&&(a.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,Le(p,n)):p()}}}const Le=Nd;function ih(e){return lh(e)}function lh(e,t){const n=Hf();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:m=dt,cloneNode:p,insertStaticContent:O}=e,w=(h,g,y,P=null,$=null,L=null,N=!1,k=null,F=!!g.dynamicChildren)=>{if(h===g)return;h&&!Xn(h,g)&&(P=V(h),ze(h,$,L,!0),h=null),g.patchFlag===-2&&(F=!1,g.dynamicChildren=null);const{type:C,ref:z,shapeFlag:H}=g;switch(C){case $i:A(h,g,y,P);break;case Jt:_(h,g,y,P);break;case Zr:h==null&&b(g,y,P,N);break;case $e:Te(h,g,y,P,$,L,N,k,F);break;default:H&1?T(h,g,y,P,$,L,N,k,F):H&6?Ve(h,g,y,P,$,L,N,k,F):(H&64||H&128)&&C.process(h,g,y,P,$,L,N,k,F,we)}z!=null&&$&&So(z,h&&h.ref,L,g||h,!g)},A=(h,g,y,P)=>{if(h==null)s(g.el=l(g.children),y,P);else{const $=g.el=h.el;g.children!==h.children&&c($,g.children)}},_=(h,g,y,P)=>{h==null?s(g.el=a(g.children||""),y,P):g.el=h.el},b=(h,g,y,P)=>{[h.el,h.anchor]=O(h.children,g,y,P,h.el,h.anchor)},E=({el:h,anchor:g},y,P)=>{let $;for(;h&&h!==g;)$=d(h),s(h,y,P),h=$;s(g,y,P)},R=({el:h,anchor:g})=>{let y;for(;h&&h!==g;)y=d(h),r(h),h=y;r(g)},T=(h,g,y,P,$,L,N,k,F)=>{N=N||g.type==="svg",h==null?B(g,y,P,$,L,N,k,F):he(h,g,$,L,N,k,F)},B=(h,g,y,P,$,L,N,k)=>{let F,C;const{type:z,props:H,shapeFlag:U,transition:J,patchFlag:ie,dirs:Ee}=h;if(h.el&&p!==void 0&&ie===-1)F=h.el=p(h.el);else{if(F=h.el=i(h.type,L,H&&H.is,H),U&8?u(F,h.children):U&16&&fe(h.children,F,null,P,$,L&&z!=="foreignObject",N,k),Ee&&nn(h,null,P,"created"),H){for(const xe in H)xe!=="value"&&!sr(xe)&&o(F,xe,null,H[xe],L,h.children,P,$,M);"value"in H&&o(F,"value",null,H.value),(C=H.onVnodeBeforeMount)&&nt(C,P,h)}ce(F,h,h.scopeId,N,P)}Ee&&nn(h,null,P,"beforeMount");const pe=(!$||$&&!$.pendingBranch)&&J&&!J.persisted;pe&&J.beforeEnter(F),s(F,g,y),((C=H&&H.onVnodeMounted)||pe||Ee)&&Le(()=>{C&&nt(C,P,h),pe&&J.enter(F),Ee&&nn(h,null,P,"mounted")},$)},ce=(h,g,y,P,$)=>{if(y&&m(h,y),P)for(let L=0;L<P.length;L++)m(h,P[L]);if($){let L=$.subTree;if(g===L){const N=$.vnode;ce(h,N,N.scopeId,N.slotScopeIds,$.parent)}}},fe=(h,g,y,P,$,L,N,k,F=0)=>{for(let C=F;C<h.length;C++){const z=h[C]=k?Vt(h[C]):wt(h[C]);w(null,z,g,y,P,$,L,N,k)}},he=(h,g,y,P,$,L,N)=>{const k=g.el=h.el;let{patchFlag:F,dynamicChildren:C,dirs:z}=g;F|=h.patchFlag&16;const H=h.props||ve,U=g.props||ve;let J;y&&sn(y,!1),(J=U.onVnodeBeforeUpdate)&&nt(J,y,g,h),z&&nn(g,h,y,"beforeUpdate"),y&&sn(y,!0);const ie=$&&g.type!=="foreignObject";if(C?be(h.dynamicChildren,C,k,y,P,ie,L):N||oe(h,g,k,null,y,P,ie,L,!1),F>0){if(F&16)Pe(k,g,H,U,y,P,$);else if(F&2&&H.class!==U.class&&o(k,"class",null,U.class,$),F&4&&o(k,"style",H.style,U.style,$),F&8){const Ee=g.dynamicProps;for(let pe=0;pe<Ee.length;pe++){const xe=Ee[pe],ct=H[xe],Sn=U[xe];(Sn!==ct||xe==="value")&&o(k,xe,ct,Sn,$,h.children,y,P,M)}}F&1&&h.children!==g.children&&u(k,g.children)}else!N&&C==null&&Pe(k,g,H,U,y,P,$);((J=U.onVnodeUpdated)||z)&&Le(()=>{J&&nt(J,y,g,h),z&&nn(g,h,y,"updated")},P)},be=(h,g,y,P,$,L,N)=>{for(let k=0;k<g.length;k++){const F=h[k],C=g[k],z=F.el&&(F.type===$e||!Xn(F,C)||F.shapeFlag&70)?f(F.el):y;w(F,C,z,null,P,$,L,N,!0)}},Pe=(h,g,y,P,$,L,N)=>{if(y!==P){for(const k in P){if(sr(k))continue;const F=P[k],C=y[k];F!==C&&k!=="value"&&o(h,k,C,F,N,g.children,$,L,M)}if(y!==ve)for(const k in y)!sr(k)&&!(k in P)&&o(h,k,y[k],null,N,g.children,$,L,M);"value"in P&&o(h,"value",y.value,P.value)}},Te=(h,g,y,P,$,L,N,k,F)=>{const C=g.el=h?h.el:l(""),z=g.anchor=h?h.anchor:l("");let{patchFlag:H,dynamicChildren:U,slotScopeIds:J}=g;J&&(k=k?k.concat(J):J),h==null?(s(C,y,P),s(z,y,P),fe(g.children,y,z,$,L,N,k,F)):H>0&&H&64&&U&&h.dynamicChildren?(be(h.dynamicChildren,U,y,$,L,N,k),(g.key!=null||$&&g===$.subTree)&&Tc(h,g,!0)):oe(h,g,y,z,$,L,N,k,F)},Ve=(h,g,y,P,$,L,N,k,F)=>{g.slotScopeIds=k,h==null?g.shapeFlag&512?$.ctx.activate(g,y,P,N,F):Be(g,y,P,$,L,N,F):q(h,g,F)},Be=(h,g,y,P,$,L,N)=>{const k=h.component=yh(h,P,$);if(bc(h)&&(k.ctx.renderer=we),_h(k),k.asyncDep){if($&&$.registerDep(k,X),!h.el){const F=k.subTree=ee(Jt);_(null,F,g,y)}return}X(k,h,g,y,$,L,N)},q=(h,g,y)=>{const P=g.component=h.component;if(Ld(h,g,y))if(P.asyncDep&&!P.asyncResolved){K(P,g,y);return}else P.next=g,Ad(P.update),P.update();else g.component=h.component,g.el=h.el,P.vnode=g},X=(h,g,y,P,$,L,N)=>{const k=()=>{if(h.isMounted){let{next:z,bu:H,u:U,parent:J,vnode:ie}=h,Ee=z,pe;sn(h,!1),z?(z.el=ie.el,K(h,z,N)):z=ie,H&&In(H),(pe=z.props&&z.props.onVnodeBeforeUpdate)&&nt(pe,J,z,ie),sn(h,!0);const xe=Wr(h),ct=h.subTree;h.subTree=xe,w(ct,xe,f(ct.el),V(ct),h,$,L),z.el=xe.el,Ee===null&&Fd(h,xe.el),U&&Le(U,$),(pe=z.props&&z.props.onVnodeUpdated)&&Le(()=>nt(pe,J,z,ie),$)}else{let z;const{el:H,props:U}=g,{bm:J,m:ie,parent:Ee}=h,pe=gr(g);if(sn(h,!1),J&&In(J),!pe&&(z=U&&U.onVnodeBeforeMount)&&nt(z,Ee,g),sn(h,!0),H&&te){const xe=()=>{h.subTree=Wr(h),te(H,h.subTree,h,$,null)};pe?g.type.__asyncLoader().then(()=>!h.isUnmounted&&xe()):xe()}else{const xe=h.subTree=Wr(h);w(null,xe,y,P,h,$,L),g.el=xe.el}if(ie&&Le(ie,$),!pe&&(z=U&&U.onVnodeMounted)){const xe=g;Le(()=>nt(z,Ee,xe),$)}g.shapeFlag&256&&h.a&&Le(h.a,$),h.isMounted=!0,g=y=P=null}},F=h.effect=new li(k,()=>uc(h.update),h.scope),C=h.update=F.run.bind(F);C.id=h.uid,sn(h,!0),C()},K=(h,g,y)=>{g.component=h;const P=h.vnode.props;h.vnode=g,h.next=null,eh(h,g.props,P,y),sh(h,g.children,y),Kn(),vi(void 0,h.update),Wn()},oe=(h,g,y,P,$,L,N,k,F=!1)=>{const C=h&&h.children,z=h?h.shapeFlag:0,H=g.children,{patchFlag:U,shapeFlag:J}=g;if(U>0){if(U&128){je(C,H,y,P,$,L,N,k,F);return}else if(U&256){yt(C,H,y,P,$,L,N,k,F);return}}J&8?(z&16&&M(C,$,L),H!==C&&u(y,H)):z&16?J&16?je(C,H,y,P,$,L,N,k,F):M(C,$,L,!0):(z&8&&u(y,""),J&16&&fe(H,y,P,$,L,N,k,F))},yt=(h,g,y,P,$,L,N,k,F)=>{h=h||Ln,g=g||Ln;const C=h.length,z=g.length,H=Math.min(C,z);let U;for(U=0;U<H;U++){const J=g[U]=F?Vt(g[U]):wt(g[U]);w(h[U],J,y,null,$,L,N,k,F)}C>z?M(h,$,L,!0,!1,H):fe(g,y,P,$,L,N,k,F,H)},je=(h,g,y,P,$,L,N,k,F)=>{let C=0;const z=g.length;let H=h.length-1,U=z-1;for(;C<=H&&C<=U;){const J=h[C],ie=g[C]=F?Vt(g[C]):wt(g[C]);if(Xn(J,ie))w(J,ie,y,null,$,L,N,k,F);else break;C++}for(;C<=H&&C<=U;){const J=h[H],ie=g[U]=F?Vt(g[U]):wt(g[U]);if(Xn(J,ie))w(J,ie,y,null,$,L,N,k,F);else break;H--,U--}if(C>H){if(C<=U){const J=U+1,ie=J<z?g[J].el:P;for(;C<=U;)w(null,g[C]=F?Vt(g[C]):wt(g[C]),y,ie,$,L,N,k,F),C++}}else if(C>U)for(;C<=H;)ze(h[C],$,L,!0),C++;else{const J=C,ie=C,Ee=new Map;for(C=ie;C<=U;C++){const Ze=g[C]=F?Vt(g[C]):wt(g[C]);Ze.key!=null&&Ee.set(Ze.key,C)}let pe,xe=0;const ct=U-ie+1;let Sn=!1,Xi=0;const Gn=new Array(ct);for(C=0;C<ct;C++)Gn[C]=0;for(C=J;C<=H;C++){const Ze=h[C];if(xe>=ct){ze(Ze,$,L,!0);continue}let _t;if(Ze.key!=null)_t=Ee.get(Ze.key);else for(pe=ie;pe<=U;pe++)if(Gn[pe-ie]===0&&Xn(Ze,g[pe])){_t=pe;break}_t===void 0?ze(Ze,$,L,!0):(Gn[_t-ie]=C+1,_t>=Xi?Xi=_t:Sn=!0,w(Ze,g[_t],y,null,$,L,N,k,F),xe++)}const Ji=Sn?ah(Gn):Ln;for(pe=Ji.length-1,C=ct-1;C>=0;C--){const Ze=ie+C,_t=g[Ze],Qi=Ze+1<z?g[Ze+1].el:P;Gn[C]===0?w(null,_t,y,Qi,$,L,N,k,F):Sn&&(pe<0||C!==Ji[pe]?tt(_t,y,Qi,2):pe--)}}},tt=(h,g,y,P,$=null)=>{const{el:L,type:N,transition:k,children:F,shapeFlag:C}=h;if(C&6){tt(h.component.subTree,g,y,P);return}if(C&128){h.suspense.move(g,y,P);return}if(C&64){N.move(h,g,y,we);return}if(N===$e){s(L,g,y);for(let H=0;H<F.length;H++)tt(F[H],g,y,P);s(h.anchor,g,y);return}if(N===Zr){E(h,g,y);return}if(P!==2&&C&1&&k)if(P===0)k.beforeEnter(L),s(L,g,y),Le(()=>k.enter(L),$);else{const{leave:H,delayLeave:U,afterLeave:J}=k,ie=()=>s(L,g,y),Ee=()=>{H(L,()=>{ie(),J&&J()})};U?U(L,ie,Ee):Ee()}else s(L,g,y)},ze=(h,g,y,P=!1,$=!1)=>{const{type:L,props:N,ref:k,children:F,dynamicChildren:C,shapeFlag:z,patchFlag:H,dirs:U}=h;if(k!=null&&So(k,null,y,h,!0),z&256){g.ctx.deactivate(h);return}const J=z&1&&U,ie=!gr(h);let Ee;if(ie&&(Ee=N&&N.onVnodeBeforeUnmount)&&nt(Ee,g,h),z&6)D(h.component,y,P);else{if(z&128){h.suspense.unmount(y,P);return}J&&nn(h,null,g,"beforeUnmount"),z&64?h.type.remove(h,g,y,$,we,P):C&&(L!==$e||H>0&&H&64)?M(C,g,y,!1,!0):(L===$e&&H&384||!$&&z&16)&&M(F,g,y),P&&En(h)}(ie&&(Ee=N&&N.onVnodeUnmounted)||J)&&Le(()=>{Ee&&nt(Ee,g,h),J&&nn(h,null,g,"unmounted")},y)},En=h=>{const{type:g,el:y,anchor:P,transition:$}=h;if(g===$e){S(y,P);return}if(g===Zr){R(h);return}const L=()=>{r(y),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(h.shapeFlag&1&&$&&!$.persisted){const{leave:N,delayLeave:k}=$,F=()=>N(y,L);k?k(h.el,L,F):F()}else L()},S=(h,g)=>{let y;for(;h!==g;)y=d(h),r(h),h=y;r(g)},D=(h,g,y)=>{const{bum:P,scope:$,update:L,subTree:N,um:k}=h;P&&In(P),$.stop(),L&&(L.active=!1,ze(N,h,g,y)),k&&Le(k,g),Le(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},M=(h,g,y,P=!1,$=!1,L=0)=>{for(let N=L;N<h.length;N++)ze(h[N],g,y,P,$)},V=h=>h.shapeFlag&6?V(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),le=(h,g,y)=>{h==null?g._vnode&&ze(g._vnode,null,null,!0):w(g._vnode||null,h,g,null,null,null,y),hc(),g._vnode=h},we={p:w,um:ze,m:tt,r:En,mt:Be,mc:fe,pc:oe,pbc:be,n:V,o:e};let se,te;return t&&([se,te]=t(we)),{render:le,hydrate:se,createApp:oh(le,se)}}function sn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Tc(e,t,n=!1){const s=e.children,r=t.children;if(G(s)&&G(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Vt(r[o]),l.el=i.el),n||Tc(i,l))}}function ah(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<c?o=l+1:i=l;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const ch=e=>e.__isTeleport,Lc="components";function Fc(e,t){return fh(Lc,e,!0,t)||e}const uh=Symbol();function fh(e,t,n=!0,s=!1){const r=Je||Me;if(r){const o=r.type;if(e===Lc){const l=$o(o);if(l&&(l===t||l===St(t)||l===kr(St(t))))return o}const i=yl(r[e]||o[e],t)||yl(r.appContext[e],t);return!i&&s?o:i}}function yl(e,t){return e&&(e[t]||e[St(t)]||e[kr(St(t))])}const $e=Symbol(void 0),$i=Symbol(void 0),Jt=Symbol(void 0),Zr=Symbol(void 0),fs=[];let pn=null;function I(e=!1){fs.push(pn=e?null:[])}function dh(){fs.pop(),pn=fs[fs.length-1]||null}let yr=1;function _l(e){yr+=e}function Ic(e){return e.dynamicChildren=yr>0?pn||Ln:null,dh(),yr>0&&pn&&pn.push(e),e}function W(e,t,n,s,r,o){return Ic(v(e,t,n,s,r,o,!0))}function ye(e,t,n,s,r){return Ic(ee(e,t,n,s,r,!0))}function Ps(e){return e?e.__v_isVNode===!0:!1}function Xn(e,t){return e.type===t.type&&e.key===t.key}const Ir="__vInternal",Nc=({key:e})=>e!=null?e:null,rr=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ae(e)||_e(e)||ne(e)?{i:Je,r:e,k:t,f:!!n}:e:null;function v(e,t=null,n=null,s=0,r=null,o=e===$e?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nc(t),ref:t&&rr(t),scopeId:Lr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Pi(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Ae(n)?8:16),yr>0&&!i&&pn&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&pn.push(a),a}const ee=hh;function hh(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===uh)&&(e=Jt),Ps(e)){const l=Vn(e,t,!0);return n&&Pi(l,n),l}if(Eh(e)&&(e=e.__vccOpts),t){t=It(t);let{class:l,style:a}=t;l&&!Ae(l)&&(t.class=ke(l)),Ce(a)&&(ic(a)&&!G(a)&&(a=He({},a)),t.style=mt(a))}const i=Ae(e)?1:Id(e)?128:ch(e)?64:Ce(e)?4:ne(e)?2:0;return v(e,t,n,s,r,i,o,!0)}function It(e){return e?ic(e)||Ir in e?He({},e):e:null}function Vn(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?ph(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Nc(l),ref:t&&t.ref?n&&r?G(r)?r.concat(rr(t)):[r,rr(t)]:rr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vn(e.ssContent),ssFallback:e.ssFallback&&Vn(e.ssFallback),el:e.el,anchor:e.anchor}}function Z(e=" ",t=0){return ee($i,null,e,t)}function ue(e="",t=!1){return t?(I(),ye(Jt,null,e)):ee(Jt,null,e)}function wt(e){return e==null||typeof e=="boolean"?ee(Jt):G(e)?ee($e,null,e.slice()):typeof e=="object"?Vt(e):ee($i,null,String(e))}function Vt(e){return e.el===null||e.memo?e:Vn(e)}function Pi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Pi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Ir in t)?t._ctx=Je:r===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),s&64?(n=16,t=[Z(t)]):n=8);e.children=t,e.shapeFlag|=n}function ph(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ke([t.class,s.class]));else if(r==="style")t.style=mt([t.style,s.style]);else if(Ar(r)){const o=t[r],i=s[r];i&&o!==i&&!(G(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function nt(e,t,n,s=null){ht(e,t,7,[n,s])}function Ai(e,t,n,s){let r;const o=n&&n[s];if(G(e)||Ae(e)){r=new Array(e.length);for(let i=0,l=e.length;i<l;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(Ce(e))if(e[Symbol.iterator])r=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];r[l]=t(e[c],c,l,o&&o[l])}}else r=[];return n&&(n[s]=r),r}function vn(e,t,n={},s,r){if(Je.isCE)return ee("slot",t==="default"?null:{name:t},s&&s());let o=e[t];o&&o._c&&(o._d=!1),I();const i=o&&jc(o(n)),l=ye($e,{key:n.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function jc(e){return e.some(t=>Ps(t)?!(t.type===Jt||t.type===$e&&!jc(t.children)):!0)?e:null}const Oo=e=>e?Dc(e)?Ci(e)||e.proxy:Oo(e.parent):null,_r=He(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=>Oo(e.parent),$root:e=>Oo(e.root),$emit:e=>e.emit,$options:e=>$c(e),$forceUpdate:e=>()=>uc(e.update),$nextTick:e=>Tt.bind(e.proxy),$watch:e=>jd.bind(e)}),mh={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==ve&&ae(s,t))return i[t]=1,s[t];if(r!==ve&&ae(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&ae(c,t))return i[t]=3,o[t];if(n!==ve&&ae(n,t))return i[t]=4,n[t];wo&&(i[t]=0)}}const u=_r[t];let f,d;if(u)return t==="$attrs"&&Qe(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ve&&ae(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==ve&&ae(r,t)?(r[t]=n,!0):s!==ve&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ve&&ae(e,i)||t!==ve&&ae(t,i)||(l=o[0])&&ae(l,i)||ae(s,i)||ae(_r,i)||ae(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},gh=Rc();let vh=0;function yh(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||gh,o={uid:vh++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Vf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ac(s,r),emitsOptions:mc(s,r),emit:null,emitted:null,propsDefaults:ve,inheritAttrs:s.inheritAttrs,ctx:ve,data:ve,props:ve,attrs:ve,slots:ve,refs:ve,setupState:ve,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=kd.bind(null,o),e.ce&&e.ce(o),o}let Me=null;const js=()=>Me||Je,Bn=e=>{Me=e,e.scope.on()},mn=()=>{Me&&Me.scope.off(),Me=null};function Dc(e){return e.vnode.shapeFlag&4}let As=!1;function _h(e,t=!1){As=t;const{props:n,children:s}=e.vnode,r=Dc(e);Qd(e,n,r,t),nh(e,s);const o=r?bh(e,t):void 0;return As=!1,o}function bh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=di(new Proxy(e.ctx,mh));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?xh(e):null;Bn(e),Kn();const o=qt(s,e,0,[e.props,r]);if(Wn(),mn(),Wa(o)){if(o.then(mn,mn),t)return o.then(i=>{bl(e,i,t)}).catch(i=>{Tr(i,e,0)});e.asyncDep=o}else bl(e,o,t)}else Hc(e,t)}function bl(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ce(t)&&(e.setupState=ac(t)),Hc(e,n)}let wl;function Hc(e,t,n){const s=e.type;if(!e.render){if(!t&&wl&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=He(He({isCustomElement:o,delimiters:l},i),a);s.render=wl(r,c)}}e.render=s.render||dt}Bn(e),Kn(),Yd(e),Wn(),mn()}function wh(e){return new Proxy(e.attrs,{get(t,n){return Qe(e,"get","$attrs"),t[n]}})}function xh(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=wh(e))},slots:e.slots,emit:e.emit,expose:t}}function Ci(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ac(di(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _r)return _r[n](e)}}))}function $o(e){return ne(e)&&e.displayName||e.name}function Eh(e){return ne(e)&&"__vccOpts"in e}const j=(e,t)=>Od(e,t,As);function Mi(e,t,n){const s=arguments.length;return s===2?Ce(t)&&!G(t)?Ps(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ps(n)&&(n=[n]),ee(e,t,n))}const Sh="3.2.31",Oh="http://www.w3.org/2000/svg",an=typeof document!="undefined"?document:null,xl=an&&an.createElement("template"),$h={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?an.createElementNS(Oh,e):an.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>an.createTextNode(e),createComment:e=>an.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>an.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{xl.innerHTML=s?`<svg>${e}</svg>`:e;const l=xl.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ph(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ah(e,t,n){const s=e.style,r=Ae(n);if(n&&!r){for(const o in n)Po(s,o,n[o]);if(t&&!Ae(t))for(const o in t)n[o]==null&&Po(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const El=/\s*!important$/;function Po(e,t,n){if(G(n))n.forEach(s=>Po(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Ch(e,t);El.test(n)?e.setProperty(_n(s),n.replace(El,""),"important"):e[s]=n}}const Sl=["Webkit","Moz","ms"],Gr={};function Ch(e,t){const n=Gr[t];if(n)return n;let s=St(t);if(s!=="filter"&&s in e)return Gr[t]=s;s=kr(s);for(let r=0;r<Sl.length;r++){const o=Sl[r]+s;if(o in e)return Gr[t]=o}return t}const Ol="http://www.w3.org/1999/xlink";function Mh(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ol,t.slice(6,t.length)):e.setAttributeNS(Ol,t,n);else{const o=Mf(t);n==null||o&&!za(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function kh(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const l=typeof e[t];if(l==="boolean"){e[t]=za(n);return}else if(n==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch{}}let br=Date.now,Vc=!1;if(typeof window!="undefined"){br()>document.createEvent("Event").timeStamp&&(br=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Vc=!!(e&&Number(e[1])<=53)}let Ao=0;const Rh=Promise.resolve(),Th=()=>{Ao=0},Lh=()=>Ao||(Rh.then(Th),Ao=br());function Mn(e,t,n,s){e.addEventListener(t,n,s)}function Fh(e,t,n,s){e.removeEventListener(t,n,s)}function Ih(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=Nh(t);if(s){const c=o[t]=jh(s,r);Mn(e,l,c,a)}else i&&(Fh(e,l,i,a),o[t]=void 0)}}const $l=/(?:Once|Passive|Capture)$/;function Nh(e){let t;if($l.test(e)){t={};let n;for(;n=e.match($l);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[_n(e.slice(2)),t]}function jh(e,t){const n=s=>{const r=s.timeStamp||br();(Vc||r>=n.attached-1)&&ht(Dh(s,n.value),t,5,[s])};return n.value=e,n.attached=Lh(),n}function Dh(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Pl=/^on[a-z]/,Hh=(e,t,n,s,r=!1,o,i,l,a)=>{t==="class"?Ph(e,s,r):t==="style"?Ah(e,n,s):Ar(t)?ni(t)||Ih(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vh(e,t,s,r))?kh(e,t,s,o,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Mh(e,t,s,r))};function Vh(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Pl.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Pl.test(t)&&Ae(n)?!1:t in e}const Al=e=>{const t=e.props["onUpdate:modelValue"];return G(t)?n=>In(t,n):t};function Bh(e){e.target.composing=!0}function Cl(e){const t=e.target;t.composing&&(t.composing=!1,zh(t,"input"))}function zh(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Uh={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Al(r);const o=s||r.props&&r.props.type==="number";Mn(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n?l=l.trim():o&&(l=po(l)),e._assign(l)}),n&&Mn(e,"change",()=>{e.value=e.value.trim()}),t||(Mn(e,"compositionstart",Bh),Mn(e,"compositionend",Cl),Mn(e,"change",Cl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Al(o),e.composing||document.activeElement===e&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&po(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Kh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ml=(e,t)=>n=>{if(!("key"in n))return;const s=_n(n.key);if(t.some(r=>r===s||Kh[r]===s))return e(n)},Bc={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Jn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Jn(e,!0),s.enter(e)):s.leave(e,()=>{Jn(e,!1)}):Jn(e,t))},beforeUnmount(e,{value:t}){Jn(e,t)}};function Jn(e,t){e.style.display=t?e._vod:"none"}const Wh=He({patchProp:Hh},$h);let kl;function qh(){return kl||(kl=ih(Wh))}const Yh=(...e)=>{const t=qh().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Zh(s);if(!r)return;const o=t._component;!ne(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Zh(e){return Ae(e)?document.querySelector(e):e}var Gh=Object.defineProperty,Rl=Object.getOwnPropertySymbols,Xh=Object.prototype.hasOwnProperty,Jh=Object.prototype.propertyIsEnumerable,Tl=(e,t,n)=>t in e?Gh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qh=(e,t)=>{for(var n in t||(t={}))Xh.call(t,n)&&Tl(e,n,t[n]);if(Rl)for(var n of Rl(t))Jh.call(t,n)&&Tl(e,n,t[n]);return e},zc="usehead",Ll="head:count",Xr="data-head-attrs",ep=(e,t,n)=>{const s=n.createElement(e);for(const r of Object.keys(t)){let o=t[r];r==="key"||o===!1||(r==="children"?s.textContent=o:s.setAttribute(r,o))}return s};function tp(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const s=t.cloneNode(!0);return s.setAttribute("nonce",""),s.nonce=n,n===e.nonce&&e.isEqualNode(s)}}return e.isEqualNode(t)}var np=e=>{const t=["key","id","name","property"];for(const n of t){const s=typeof e.getAttribute=="function"?e.hasAttribute(n)?e.getAttribute(n):void 0:e[n];if(s!==void 0)return{name:n,value:s}}},sp=()=>{const e=Mt(zc);if(!e)throw new Error("You may forget to apply app.use(head)");return e},rp=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],op=e=>{const t=[];for(const n of Object.keys(e))if(e[n]!=null){if(n==="title")t.push({tag:n,props:{children:e[n]}});else if(n==="base")t.push({tag:n,props:Qh({key:"default"},e[n])});else if(rp.includes(n)){const s=e[n];Array.isArray(s)?s.forEach(r=>{t.push({tag:n,props:r})}):s&&t.push({tag:n,props:s})}}return t},Fl=(e,t)=>{const n=e.getAttribute(Xr);if(n)for(const r of n.split(","))r in t||e.removeAttribute(r);const s=[];for(const r in t){const o=t[r];o!=null&&(o===!1?e.removeAttribute(r):e.setAttribute(r,o),s.push(r))}s.length?e.setAttribute(Xr,s.join(",")):e.removeAttribute(Xr)},ip=(e=window.document,t,n)=>{var s;const r=e.head;let o=r.querySelector(`meta[name="${Ll}"]`);const i=o?Number(o.getAttribute("content")):0,l=[];if(o)for(let c=0,u=o.previousElementSibling;c<i;c++,u=(u==null?void 0:u.previousElementSibling)||null)((s=u==null?void 0:u.tagName)==null?void 0:s.toLowerCase())===t&&l.push(u);else o=e.createElement("meta"),o.setAttribute("name",Ll),o.setAttribute("content","0"),r.append(o);let a=n.map(c=>ep(c.tag,c.props,e));a=a.filter(c=>{for(let u=0;u<l.length;u++){const f=l[u];if(tp(f,c))return l.splice(u,1),!1}return!0}),l.forEach(c=>{var u;return(u=c.parentNode)==null?void 0:u.removeChild(c)}),a.forEach(c=>{r.insertBefore(c,o)}),o.setAttribute("content",""+(i-l.length+a.length))},lp=()=>{let e=[];const t={install(n){n.config.globalProperties.$head=t,n.provide(zc,t)},get headTags(){const n=[];return e.forEach(s=>{op(s.value).forEach(o=>{if(o.tag==="meta"||o.tag==="base"||o.tag==="script"){const i=np(o.props);if(i){let l=-1;for(let a=0;a<n.length;a++){const c=n[a],u=c.props[i.name],f=o.props[i.name];if(c.tag===o.tag&&u===f){l=a;break}}l!==-1&&n.splice(l,1)}}n.push(o)})}),n},addHeadObjs(n){e.push(n)},removeHeadObjs(n){e=e.filter(s=>s!==n)},updateDOM(n=window.document){let s,r={},o={};const i={};for(const l of t.headTags){if(l.tag==="title"){s=l.props.children;continue}if(l.tag==="htmlAttrs"){Object.assign(r,l.props);continue}if(l.tag==="bodyAttrs"){Object.assign(o,l.props);continue}i[l.tag]=i[l.tag]||[],i[l.tag].push(l)}s!==void 0&&(n.title=s),Fl(n.documentElement,r),Fl(n.body,o);for(const l of Object.keys(i))ip(n,l,i[l])}};return t},ap=typeof window!="undefined",cp=e=>{const t=Y(e),n=sp();n.addHeadObjs(t),ap&&(_i(()=>{n.updateDOM()}),xi(()=>{n.removeHeadObjs(t),n.updateDOM()}))};function We(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function up(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function Ds(e){return zf()?(Uf(e),!0):!1}function st(...e){return j(()=>e.every(t=>x(t)))}function Ot(e){return j(()=>!x(e))}function fp(e){if(!_e(e))return Re(e);const t=new Proxy({},{get(n,s,r){return x(Reflect.get(e.value,s,r))},set(n,s,r){return _e(e.value[s])&&!_e(r)?e.value[s].value=r:e.value[s]=r,!0},deleteProperty(n,s){return Reflect.deleteProperty(e.value,s)},has(n,s){return Reflect.has(e.value,s)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Re(t)}const bn=typeof window!="undefined",dp=Object.prototype.toString,hp=e=>typeof e=="number",Uc=e=>typeof e=="string",Co=e=>dp.call(e)==="[object Object]",pp=()=>+Date.now(),Yt=()=>{};function mp(e,t){function n(...s){e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})}return n}const Kc=e=>e();function gp(e=Kc){const t=Y(!0);function n(){t.value=!1}function s(){t.value=!0}return{isActive:t,pause:n,resume:s,eventFilter:(...o)=>{t.value&&e(...o)}}}function vp(e,t){var n;if(typeof e=="number")return e+t;const s=((n=e.match(/^-?[0-9]+\.?[0-9]*/))==null?void 0:n[0])||"",r=e.slice(s.length),o=parseFloat(s)+t;return Number.isNaN(o)?e:o+r}var yp=Object.defineProperty,_p=Object.defineProperties,bp=Object.getOwnPropertyDescriptors,Il=Object.getOwnPropertySymbols,wp=Object.prototype.hasOwnProperty,xp=Object.prototype.propertyIsEnumerable,Nl=(e,t,n)=>t in e?yp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ep=(e,t)=>{for(var n in t||(t={}))wp.call(t,n)&&Nl(e,n,t[n]);if(Il)for(var n of Il(t))xp.call(t,n)&&Nl(e,n,t[n]);return e},Sp=(e,t)=>_p(e,bp(t));function Op(e){if(!_e(e))return wd(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=bd(()=>({get(){return e.value[n]},set(s){if(Array.isArray(e.value)){const r=[...e.value];r[n]=s,e.value=r}else e.value=Sp(Ep({},e.value),{[n]:s})}}));return t}function $p(e,t=!0){js()?Ec(e):t?e():Tt(e)}function Pp(e,t=!0){js()?wi(e):t?e():Tt(e)}function ki(e){js()&&Ei(e)}function Wc(e=!1){if(_e(e))return t=>(e.value=typeof t=="boolean"?t:!e.value,e.value);{const t=Y(e);return[t,s=>(t.value=typeof s=="boolean"?s:!t.value,t.value)]}}var jl=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Cp=Object.prototype.propertyIsEnumerable,Mp=(e,t)=>{var n={};for(var s in e)Ap.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&jl)for(var s of jl(e))t.indexOf(s)<0&&Cp.call(e,s)&&(n[s]=e[s]);return n};function kp(e,t,n={}){const s=n,{eventFilter:r=Kc}=s,o=Mp(s,["eventFilter"]);return re(e,mp(r,t),o)}var Rp=Object.defineProperty,Tp=Object.defineProperties,Lp=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,Yc=Object.prototype.propertyIsEnumerable,Dl=(e,t,n)=>t in e?Rp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fp=(e,t)=>{for(var n in t||(t={}))qc.call(t,n)&&Dl(e,n,t[n]);if(wr)for(var n of wr(t))Yc.call(t,n)&&Dl(e,n,t[n]);return e},Ip=(e,t)=>Tp(e,Lp(t)),Np=(e,t)=>{var n={};for(var s in e)qc.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&wr)for(var s of wr(e))t.indexOf(s)<0&&Yc.call(e,s)&&(n[s]=e[s]);return n};function jp(e,t,n={}){const s=n,{eventFilter:r}=s,o=Np(s,["eventFilter"]),{eventFilter:i,pause:l,resume:a,isActive:c}=gp(r);return{stop:kp(e,t,Ip(Fp({},o),{eventFilter:i})),pause:l,resume:a,isActive:c}}function lt(e){var t;const n=x(e);return(t=n==null?void 0:n.$el)!=null?t:n}const et=bn?window:void 0,Dp=bn?window.document:void 0;function Fe(...e){let t,n,s,r;if(Uc(e[0])?([n,s,r]=e,t=et):[t,n,s,r]=e,!t)return Yt;let o=Yt;const i=re(()=>lt(t),a=>{o(),a&&(a.addEventListener(n,s,r),o=()=>{a.removeEventListener(n,s,r),o=Yt})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Ds(l),l}function Hp(e,t,n={}){const{window:s=et,ignore:r,capture:o=!0}=n;if(!s)return;const i=Y(!0),a=[Fe(s,"click",u=>{const f=lt(e),d=u.composedPath();!f||f===u.target||d.includes(f)||!i.value||r&&r.length>0&&r.some(m=>{const p=lt(m);return p&&(u.target===p||d.includes(p))})||t(u)},{passive:!0,capture:o}),Fe(s,"pointerdown",u=>{const f=lt(e);i.value=!!f&&!u.composedPath().includes(f)},{passive:!0})];return()=>a.forEach(u=>u())}const Vp=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):e?()=>!0:()=>!1;function Bp(e,t,n={}){const{target:s=et,eventName:r="keydown",passive:o=!1}=n,i=Vp(e);return Fe(s,r,a=>{i(a)&&t(a)},o)}function zp(e={}){const{window:t=et}=e,n=Y(0);return t&&(Fe(t,"blur",()=>n.value+=1,!0),Fe(t,"focus",()=>n.value+=1,!0)),j(()=>(n.value,t==null?void 0:t.document.activeElement))}function or(e,t={}){const{window:n=et}=t;let s;const r=Y(!1),o=()=>{!n||(s||(s=n.matchMedia(e)),r.value=s.matches)};return $p(()=>{o(),s&&("addEventListener"in s?s.addEventListener("change",o):s.addListener(o),Ds(()=>{"removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o)}))}),r}const Up={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var Kp=Object.defineProperty,Hl=Object.getOwnPropertySymbols,Wp=Object.prototype.hasOwnProperty,qp=Object.prototype.propertyIsEnumerable,Vl=(e,t,n)=>t in e?Kp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yp=(e,t)=>{for(var n in t||(t={}))Wp.call(t,n)&&Vl(e,n,t[n]);if(Hl)for(var n of Hl(t))qp.call(t,n)&&Vl(e,n,t[n]);return e};function Zp(e,t={}){function n(l,a){let c=e[l];return a!=null&&(c=vp(c,a)),typeof c=="number"&&(c=`${c}px`),c}const{window:s=et}=t;function r(l){return s?s.matchMedia(l).matches:!1}const o=l=>or(`(min-width: ${n(l)})`,t),i=Object.keys(e).reduce((l,a)=>(Object.defineProperty(l,a,{get:()=>o(a),enumerable:!0,configurable:!0}),l),{});return Yp({greater:o,smaller(l){return or(`(max-width: ${n(l,-.1)})`,t)},between(l,a){return or(`(min-width: ${n(l)}) and (max-width: ${n(a,-.1)})`,t)},isGreater(l){return r(`(min-width: ${n(l)})`)},isSmaller(l){return r(`(max-width: ${n(l,-.1)})`)},isInBetween(l,a){return r(`(min-width: ${n(l)}) and (max-width: ${n(a,-.1)})`)}},i)}const Mo=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ko="__vueuse_ssr_handlers__";Mo[ko]=Mo[ko]||{};const Gp=Mo[ko];function Xp(e,t){return Gp[e]||t}function Jp(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"||Array.isArray(e)?"object":Number.isNaN(e)?"any":"number"}const Qp={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()}};function vt(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,shallow:c,window:u=et,eventFilter:f,onError:d=T=>{console.error(T)}}=s,m=(c?Rt:Y)(t);if(!n)try{n=Xp("getDefaultStorage",()=>{var T;return(T=et)==null?void 0:T.localStorage})()}catch(T){d(T)}if(!n)return m;const p=x(t),O=Jp(p),w=(r=s.serializer)!=null?r:Qp[O],{pause:A,resume:_}=jp(m,()=>b(m.value),{flush:o,deep:i,eventFilter:f});return u&&l&&Fe(u,"storage",R),R(),m;function b(T){try{T==null?n.removeItem(e):n.setItem(e,w.write(T))}catch(B){d(B)}}function E(T){if(!(T&&T.key!==e)){A();try{const B=T?T.newValue:n.getItem(e);return B==null?(a&&p!==null&&n.setItem(e,w.write(p)),p):typeof B!="string"?B:w.read(B)}catch(B){d(B)}finally{_()}}}function R(T){T&&T.key!==e||(m.value=E(T))}}function em(e){return or("(prefers-color-scheme: dark)",e)}var tm=Object.defineProperty,nm=Object.defineProperties,sm=Object.getOwnPropertyDescriptors,Bl=Object.getOwnPropertySymbols,rm=Object.prototype.hasOwnProperty,om=Object.prototype.propertyIsEnumerable,zl=(e,t,n)=>t in e?tm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,im=(e,t)=>{for(var n in t||(t={}))rm.call(t,n)&&zl(e,n,t[n]);if(Bl)for(var n of Bl(t))om.call(t,n)&&zl(e,n,t[n]);return e},lm=(e,t)=>nm(e,sm(t));function Dw(e,t={}){var n,s;const r=(n=t.draggingElement)!=null?n:et,o=Y((s=t.initialValue)!=null?s:{x:0,y:0}),i=Y(),l=d=>t.pointerTypes?t.pointerTypes.includes(d.pointerType):!0,a=d=>{x(t.preventDefault)&&d.preventDefault(),x(t.stopPropagation)&&d.stopPropagation()},c=d=>{var m;if(!l(d)||x(t.exact)&&d.target!==x(e))return;const p=x(e).getBoundingClientRect(),O={x:d.pageX-p.left,y:d.pageY-p.top};((m=t.onStart)==null?void 0:m.call(t,O,d))!==!1&&(i.value=O,a(d))},u=d=>{var m;!l(d)||!i.value||(o.value={x:d.pageX-i.value.x,y:d.pageY-i.value.y},(m=t.onMove)==null||m.call(t,o.value,d),a(d))},f=d=>{var m;!l(d)||!i.value||(i.value=void 0,(m=t.onEnd)==null||m.call(t,o.value,d),a(d))};return bn&&(Fe(e,"pointerdown",c,!0),Fe(r,"pointermove",u,!0),Fe(r,"pointerup",f,!0)),lm(im({},Op(o)),{position:o,isDragging:j(()=>!!i.value),style:j(()=>`left:${o.value.x}px;top:${o.value.y}px;`)})}var Ul=Object.getOwnPropertySymbols,am=Object.prototype.hasOwnProperty,cm=Object.prototype.propertyIsEnumerable,um=(e,t)=>{var n={};for(var s in e)am.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Ul)for(var s of Ul(e))t.indexOf(s)<0&&cm.call(e,s)&&(n[s]=e[s]);return n};function fm(e,t,n={}){const s=n,{window:r=et}=s,o=um(s,["window"]);let i;const l=r&&"ResizeObserver"in r,a=()=>{i&&(i.disconnect(),i=void 0)},c=re(()=>lt(e),f=>{a(),l&&r&&f&&(i=new ResizeObserver(t),i.observe(f,o))},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Ds(u),{isSupported:l,stop:u}}function dm(e,t={width:0,height:0},n={}){const s=Y(t.width),r=Y(t.height);return fm(e,([o])=>{s.value=o.contentRect.width,r.value=o.contentRect.height},n),re(()=>lt(e),o=>{s.value=o?t.width:0,r.value=o?t.height:0}),{width:s,height:r}}const Kl=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];function hm(e,t={}){const{document:n=Dp,autoExit:s=!1}=t,r=e||(n==null?void 0:n.querySelector("html")),o=Y(!1);let i=!1,l=Kl[0];if(!n)i=!1;else for(const O of Kl)if(O[1]in n){l=O,i=!0;break}const[a,c,u,,f]=l;async function d(){!i||(n!=null&&n[u]&&await n[c](),o.value=!1)}async function m(){if(!i)return;await d();const O=lt(r);O&&(await O[a](),o.value=!0)}async function p(){o.value?await d():await m()}return n&&Fe(n,f,()=>{o.value=!!(n!=null&&n[u])},!1),s&&Ds(d),{isSupported:i,isFullscreen:o,enter:m,exit:d,toggle:p}}function pm(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:o=.1,window:i=et}=n,l=i&&"IntersectionObserver"in i;let a=Yt;const c=l?re(()=>({el:lt(e),root:lt(s)}),({el:f,root:d})=>{if(a(),!f)return;const m=new IntersectionObserver(t,{root:d,rootMargin:r,threshold:o});m.observe(f),a=()=>{m.disconnect(),a=Yt}},{immediate:!0,flush:"post"}):Yt,u=()=>{a(),c()};return Ds(u),{isSupported:l,stop:u}}const mm={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function gm(e={}){const{reactive:t=!1,target:n=et,aliasMap:s=mm,passive:r=!0,onEventFired:o=Yt}=e,i=Re(new Set),l={toJSON(){return{}},current:i},a=t?Re(l):l,c=new Set;function u(m,p){m in a&&(t?a[m]=p:a[m].value=p)}function f(m,p){var O,w;const A=(O=m.key)==null?void 0:O.toLowerCase(),_=(w=m.code)==null?void 0:w.toLowerCase(),b=[_,A].filter(Boolean);_&&(p?i.add(m.code):i.delete(m.code));for(const E of b)u(E,p);A==="meta"&&!p?(c.forEach(E=>{i.delete(E),u(E,!1)}),c.clear()):m.getModifierState("Meta")&&p&&[...i,...b].forEach(E=>c.add(E))}n&&(Fe(n,"keydown",m=>(f(m,!0),o(m)),{passive:r}),Fe(n,"keyup",m=>(f(m,!1),o(m)),{passive:r}));const d=new Proxy(a,{get(m,p,O){if(typeof p!="string")return Reflect.get(m,p,O);if(p=p.toLowerCase(),p in s&&(p=s[p]),!(p in a))if(/[+_-]/.test(p)){const A=p.split(/[+_-]/g).map(_=>_.trim());a[p]=j(()=>A.every(_=>x(d[_])))}else a[p]=Y(!1);const w=Reflect.get(m,p,O);return t?x(w):w}});return d}var Ut=(e=>(e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE",e))(Ut||{});function vm(e,t={}){const n=Y(e),{threshold:s=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i}=t,l=Re({x:0,y:0}),a=(T,B)=>{l.x=T,l.y=B},c=Re({x:0,y:0}),u=(T,B)=>{c.x=T,c.y=B},f=j(()=>l.x-c.x),d=j(()=>l.y-c.y),{max:m,abs:p}=Math,O=j(()=>m(p(f.value),p(d.value))>=s),w=Y(!1),A=Y(!1),_=j(()=>O.value?p(f.value)>p(d.value)?f.value>0?Ut.LEFT:Ut.RIGHT:d.value>0?Ut.UP:Ut.DOWN:Ut.NONE),b=T=>t.pointerTypes?t.pointerTypes.includes(T.pointerType):!0,E=[Fe(e,"pointerdown",T=>{var B,ce;if(!b(T))return;A.value=!0,(ce=(B=n.value)==null?void 0:B.style)==null||ce.setProperty("touch-action","none");const fe=T.target;fe==null||fe.setPointerCapture(T.pointerId);const{clientX:he,clientY:be}=T;a(he,be),u(he,be),i==null||i(T)}),Fe(e,"pointermove",T=>{if(!b(T)||!A.value)return;const{clientX:B,clientY:ce}=T;u(B,ce),!w.value&&O.value&&(w.value=!0),w.value&&(r==null||r(T))}),Fe(e,"pointerup",T=>{var B,ce;!b(T)||(w.value&&(o==null||o(T,_.value)),A.value=!1,w.value=!1,(ce=(B=n.value)==null?void 0:B.style)==null||ce.setProperty("touch-action","initial"))})],R=()=>E.forEach(T=>T());return{isSwiping:cn(w),direction:cn(_),posStart:cn(l),posEnd:cn(c),distanceX:f,distanceY:d,stop:R}}var Wl,ql;bn&&(window==null?void 0:window.navigator)&&((Wl=window==null?void 0:window.navigator)==null?void 0:Wl.platform)&&/iP(ad|hone|od)/.test((ql=window==null?void 0:window.navigator)==null?void 0:ql.platform);function Ct(e,t,n,s={}){var r;const{passive:o=!1,eventName:i,deep:l=!1}=s,a=js(),c=n||(a==null?void 0:a.emit)||((r=a==null?void 0:a.$emit)==null?void 0:r.bind(a));let u=i;if(t||(t="modelValue"),u=i||u||`update:${t}`,o){const f=Y(e[t]);return re(()=>e[t],d=>f.value=d),re(f,d=>{(d!==e[t]||l)&&c(u,d)},{deep:l}),f}else return j({get(){return e[t]},set(f){c(u,f)}})}function ym({window:e=et,initialWidth:t=1/0,initialHeight:n=1/0}={}){const s=Y(t),r=Y(n),o=()=>{e&&(s.value=e.innerWidth,r.value=e.innerHeight)};return o(),Pp(o),Fe("resize",o,{passive:!0}),{width:s,height:r}}/*!
* vue-router v4.0.14
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const Zc=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",qn=e=>Zc?Symbol(e):"_vr_"+e,_m=qn("rvlm"),Yl=qn("rvd"),Ri=qn("r"),Gc=qn("rl"),Ro=qn("rvl"),kn=typeof window!="undefined";function bm(e){return e.__esModule||Zc&&e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Jr(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const ds=()=>{},wm=/\/$/,xm=e=>e.replace(wm,"");function Qr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("?"),a=t.indexOf("#",l>-1?l:0);return l>-1&&(s=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=$m(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Em(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sm(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&zn(t.matched[s],n.matched[r])&&Xc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Om(e[n],t[n]))return!1;return!0}function Om(e,t){return Array.isArray(e)?Gl(e,t):Array.isArray(t)?Gl(t,e):e===t}function Gl(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function $m(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o<s.length;o++)if(i=s[o],!(r===1||i==="."))if(i==="..")r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Cs;(function(e){e.pop="pop",e.push="push"})(Cs||(Cs={}));var hs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(hs||(hs={}));function Pm(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),xm(e)}const Am=/^[^#]+#/;function Cm(e,t){return e.replace(Am,"#")+t}function Mm(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Nr=()=>({left:window.pageXOffset,top:window.pageYOffset});function km(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Mm(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Xl(e,t){return(history.state?history.state.position-t:-1)+e}const To=new Map;function Rm(e,t){To.set(e,t)}function Tm(e){const t=To.get(e);return To.delete(e),t}let Lm=()=>location.protocol+"//"+location.host;function Jc(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Zl(a,"")}return Zl(n,e)+s+r}function Fm(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const m=Jc(e,location),p=n.value,O=t.value;let w=0;if(d){if(n.value=m,t.value=d,i&&i===p){i=null;return}w=O?d.position-O.position:0}else s(m);r.forEach(A=>{A(n.value,p,{delta:w,type:Cs.pop,direction:w?w>0?hs.forward:hs.back:hs.unknown})})};function a(){i=n.value}function c(d){r.push(d);const m=()=>{const p=r.indexOf(d);p>-1&&r.splice(p,1)};return o.push(m),m}function u(){const{history:d}=window;!d.state||d.replaceState(ge({},d.state,{scroll:Nr()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:c,destroy:f}}function Jl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Nr():null}}function Im(e){const{history:t,location:n}=window,s={value:Jc(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:Lm()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(m){console.error(m),n[u?"replace":"assign"](d)}}function i(a,c){const u=ge({},t.state,Jl(r.value.back,a,r.value.forward,!0),c,{position:r.value.position});o(a,u,!0),s.value=a}function l(a,c){const u=ge({},r.value,t.state,{forward:a,scroll:Nr()});o(u.current,u,!0);const f=ge({},Jl(s.value,a,null),{position:u.position+1},c);o(a,f,!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Nm(e){e=Pm(e);const t=Im(e),n=Fm(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ge({location:"",base:e,go:s,createHref:Cm.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function jm(e){return typeof e=="string"||e&&typeof e=="object"}function Qc(e){return typeof e=="string"||typeof e=="symbol"}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},eu=qn("nf");var Ql;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ql||(Ql={}));function Un(e,t){return ge(new Error,{type:e,[eu]:!0},t)}function Dt(e,t){return e instanceof Error&&eu in e&&(t==null||!!(e.type&t))}const ea="[^/]+?",Dm={sensitive:!1,strict:!1,start:!0,end:!0},Hm=/[.+*?^${}()[\]/\\]/g;function Vm(e,t){const n=ge({},Dm,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const d=c[f];let m=40+(n.sensitive?.25:0);if(d.type===0)f||(r+="/"),r+=d.value.replace(Hm,"\\$&"),m+=40;else if(d.type===1){const{value:p,repeatable:O,optional:w,regexp:A}=d;o.push({name:p,repeatable:O,optional:w});const _=A||ea;if(_!==ea){m+=10;try{new RegExp(`(${_})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+E.message)}}let b=O?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(b=w&&c.length<2?`(?:/${b})`:"/"+b),w&&(b+="?"),r+=b,m+=20,w&&(m+=-8),O&&(m+=-20),_===".*"&&(m+=-50)}u.push(m)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const m=u[d]||"",p=o[d-1];f[p.name]=m&&p.repeatable?m.split("/"):m}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const m of d)if(m.type===0)u+=m.value;else if(m.type===1){const{value:p,repeatable:O,optional:w}=m,A=p in c?c[p]:"";if(Array.isArray(A)&&!O)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Array.isArray(A)?A.join("/"):A;if(!_)if(w)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u}return{re:i,score:s,keys:o,parse:l,stringify:a}}function Bm(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function zm(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Bm(s[n],r[n]);if(o)return o;n++}return r.length-s.length}const Um={type:0,value:""},Km=/[a-zA-Z0-9_]/;function Wm(e){if(!e)return[[]];if(e==="/")return[[Um]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){!c||(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(c&&f(),i()):a===":"?(f(),n=1):d();break;case 4:d(),n=s;break;case 1:a==="("?n=2:Km.test(a)?d():(f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:f(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}function qm(e,t,n){const s=Vm(Wm(e.path),n),r=ge(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ym(e,t){const n=[],s=new Map;t=na({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function o(u,f,d){const m=!d,p=Gm(u);p.aliasOf=d&&d.record;const O=na(t,u),w=[p];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const E of b)w.push(ge({},p,{components:d?d.record.components:p.components,path:E,aliasOf:d?d.record:p}))}let A,_;for(const b of w){const{path:E}=b;if(f&&E[0]!=="/"){const R=f.record.path,T=R[R.length-1]==="/"?"":"/";b.path=f.record.path+(E&&T+E)}if(A=qm(b,f,O),d?d.alias.push(A):(_=_||A,_!==A&&_.alias.push(A),m&&u.name&&!ta(A)&&i(u.name)),"children"in p){const R=p.children;for(let T=0;T<R.length;T++)o(R[T],A,d&&d.children[T])}d=d||A,a(A)}return _?()=>{i(_)}:ds}function i(u){if(Qc(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let f=0;for(;f<n.length&&zm(u,n[f])>=0&&(u.record.path!==n[f].record.path||!tu(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ta(u)&&s.set(u.record.name,u)}function c(u,f){let d,m={},p,O;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw Un(1,{location:u});O=d.record.name,m=ge(Zm(f.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),u.params),p=d.stringify(m)}else if("path"in u)p=u.path,d=n.find(_=>_.re.test(p)),d&&(m=d.parse(p),O=d.record.name);else{if(d=f.name?s.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw Un(1,{location:u,currentLocation:f});O=d.record.name,m=ge({},f.params,u.params),p=d.stringify(m)}const w=[];let A=d;for(;A;)w.unshift(A.record),A=A.parent;return{name:O,path:p,params:m,matched:w,meta:Jm(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function Zm(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Gm(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Xm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Xm(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function ta(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Jm(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function na(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function tu(e,t){return t.children.some(n=>n===e||tu(e,n))}const nu=/#/g,Qm=/&/g,eg=/\//g,tg=/=/g,ng=/\?/g,su=/\+/g,sg=/%5B/g,rg=/%5D/g,ru=/%5E/g,og=/%60/g,ou=/%7B/g,ig=/%7C/g,iu=/%7D/g,lg=/%20/g;function Ti(e){return encodeURI(""+e).replace(ig,"|").replace(sg,"[").replace(rg,"]")}function ag(e){return Ti(e).replace(ou,"{").replace(iu,"}").replace(ru,"^")}function Lo(e){return Ti(e).replace(su,"%2B").replace(lg,"+").replace(nu,"%23").replace(Qm,"%26").replace(og,"`").replace(ou,"{").replace(iu,"}").replace(ru,"^")}function cg(e){return Lo(e).replace(tg,"%3D")}function ug(e){return Ti(e).replace(nu,"%23").replace(ng,"%3F")}function fg(e){return e==null?"":ug(e).replace(eg,"%2F")}function xr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function dg(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(su," "),i=o.indexOf("="),l=xr(i<0?o:o.slice(0,i)),a=i<0?null:xr(o.slice(i+1));if(l in t){let c=t[l];Array.isArray(c)||(c=t[l]=[c]),c.push(a)}else t[l]=a}return t}function sa(e){let t="";for(let n in e){const s=e[n];if(n=cg(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(s)?s.map(o=>o&&Lo(o)):[s&&Lo(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function hg(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Qn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Bt(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const a=f=>{f===!1?l(Un(4,{from:n,to:t})):f instanceof Error?l(f):jm(f)?l(Un(2,{from:t,to:f})):(o&&s.enterCallbacks[r]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(s&&s.instances[r],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function eo(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(pg(l)){const c=(l.__vccOpts||l)[t];c&&r.push(Bt(c,n,s,o,i))}else{let a=l();r.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=bm(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Bt(d,n,s,o,i)()}))}}return r}function pg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ra(e){const t=Mt(Ri),n=Mt(Gc),s=j(()=>t.resolve(x(e.to))),r=j(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(zn.bind(null,u));if(d>-1)return d;const m=oa(a[c-2]);return c>1&&oa(u)===m&&f[f.length-1].path!==m?f.findIndex(zn.bind(null,a[c-2])):d}),o=j(()=>r.value>-1&&yg(n.params,s.value.params)),i=j(()=>r.value>-1&&r.value===n.matched.length-1&&Xc(n.params,s.value.params));function l(a={}){return vg(a)?t[x(e.replace)?"replace":"push"](x(e.to)).catch(ds):Promise.resolve()}return{route:s,href:j(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const mg=Se({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ra,setup(e,{slots:t}){const n=Re(ra(e)),{options:s}=Mt(Ri),r=j(()=>({[ia(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ia(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Mi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),gg=mg;function vg(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 yg(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function oa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ia=(e,t,n)=>e!=null?e:t!=null?t:n,_g=Se({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=Mt(Ro),r=j(()=>e.route||s.value),o=Mt(Yl,0),i=j(()=>r.value.matched[o]);At(Yl,o+1),At(_m,i),At(Ro,r);const l=Y();return re(()=>[l.value,i.value,e.name],([a,c,u],[f,d,m])=>{c&&(c.instances[u]=a,d&&d!==c&&a&&a===f&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),a&&c&&(!d||!zn(c,d)||!f)&&(c.enterCallbacks[u]||[]).forEach(p=>p(a))},{flush:"post"}),()=>{const a=r.value,c=i.value,u=c&&c.components[e.name],f=e.name;if(!u)return la(n.default,{Component:u,route:a});const d=c.props[e.name],m=d?d===!0?a.params:typeof d=="function"?d(a):d:null,O=Mi(u,ge({},m,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[f]=null)},ref:l}));return la(n.default,{Component:O,route:a})||O}}});function la(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bg=_g;function wg(e){const t=Ym(e.routes,e),n=e.parseQuery||dg,s=e.stringifyQuery||sa,r=e.history,o=Qn(),i=Qn(),l=Qn(),a=Rt(jt);let c=jt;kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Jr.bind(null,S=>""+S),f=Jr.bind(null,fg),d=Jr.bind(null,xr);function m(S,D){let M,V;return Qc(S)?(M=t.getRecordMatcher(S),V=D):V=S,t.addRoute(V,M)}function p(S){const D=t.getRecordMatcher(S);D&&t.removeRoute(D)}function O(){return t.getRoutes().map(S=>S.record)}function w(S){return!!t.getRecordMatcher(S)}function A(S,D){if(D=ge({},D||a.value),typeof S=="string"){const te=Qr(n,S,D.path),h=t.resolve({path:te.path},D),g=r.createHref(te.fullPath);return ge(te,h,{params:d(h.params),hash:xr(te.hash),redirectedFrom:void 0,href:g})}let M;if("path"in S)M=ge({},S,{path:Qr(n,S.path,D.path).path});else{const te=ge({},S.params);for(const h in te)te[h]==null&&delete te[h];M=ge({},S,{params:f(S.params)}),D.params=f(D.params)}const V=t.resolve(M,D),le=S.hash||"";V.params=u(d(V.params));const we=Em(s,ge({},S,{hash:ag(le),path:V.path})),se=r.createHref(we);return ge({fullPath:we,hash:le,query:s===sa?hg(S.query):S.query||{}},V,{redirectedFrom:void 0,href:se})}function _(S){return typeof S=="string"?Qr(n,S,a.value.path):ge({},S)}function b(S,D){if(c!==S)return Un(8,{from:D,to:S})}function E(S){return B(S)}function R(S){return E(ge(_(S),{replace:!0}))}function T(S){const D=S.matched[S.matched.length-1];if(D&&D.redirect){const{redirect:M}=D;let V=typeof M=="function"?M(S):M;return typeof V=="string"&&(V=V.includes("?")||V.includes("#")?V=_(V):{path:V},V.params={}),ge({query:S.query,hash:S.hash,params:S.params},V)}}function B(S,D){const M=c=A(S),V=a.value,le=S.state,we=S.force,se=S.replace===!0,te=T(M);if(te)return B(ge(_(te),{state:le,force:we,replace:se}),D||M);const h=M;h.redirectedFrom=D;let g;return!we&&Sm(s,V,M)&&(g=Un(16,{to:h,from:V}),yt(V,V,!0,!1)),(g?Promise.resolve(g):fe(h,V)).catch(y=>Dt(y)?Dt(y,2)?y:oe(y):X(y,h,V)).then(y=>{if(y){if(Dt(y,2))return B(ge(_(y.to),{state:le,force:we,replace:se}),D||h)}else y=be(h,V,!0,se,le);return he(h,V,y),y})}function ce(S,D){const M=b(S,D);return M?Promise.reject(M):Promise.resolve()}function fe(S,D){let M;const[V,le,we]=xg(S,D);M=eo(V.reverse(),"beforeRouteLeave",S,D);for(const te of V)te.leaveGuards.forEach(h=>{M.push(Bt(h,S,D))});const se=ce.bind(null,S,D);return M.push(se),On(M).then(()=>{M=[];for(const te of o.list())M.push(Bt(te,S,D));return M.push(se),On(M)}).then(()=>{M=eo(le,"beforeRouteUpdate",S,D);for(const te of le)te.updateGuards.forEach(h=>{M.push(Bt(h,S,D))});return M.push(se),On(M)}).then(()=>{M=[];for(const te of S.matched)if(te.beforeEnter&&!D.matched.includes(te))if(Array.isArray(te.beforeEnter))for(const h of te.beforeEnter)M.push(Bt(h,S,D));else M.push(Bt(te.beforeEnter,S,D));return M.push(se),On(M)}).then(()=>(S.matched.forEach(te=>te.enterCallbacks={}),M=eo(we,"beforeRouteEnter",S,D),M.push(se),On(M))).then(()=>{M=[];for(const te of i.list())M.push(Bt(te,S,D));return M.push(se),On(M)}).catch(te=>Dt(te,8)?te:Promise.reject(te))}function he(S,D,M){for(const V of l.list())V(S,D,M)}function be(S,D,M,V,le){const we=b(S,D);if(we)return we;const se=D===jt,te=kn?history.state:{};M&&(V||se?r.replace(S.fullPath,ge({scroll:se&&te&&te.scroll},le)):r.push(S.fullPath,le)),a.value=S,yt(S,D,M,se),oe()}let Pe;function Te(){Pe=r.listen((S,D,M)=>{const V=A(S),le=T(V);if(le){B(ge(le,{replace:!0}),V).catch(ds);return}c=V;const we=a.value;kn&&Rm(Xl(we.fullPath,M.delta),Nr()),fe(V,we).catch(se=>Dt(se,12)?se:Dt(se,2)?(B(se.to,V).then(te=>{Dt(te,20)&&!M.delta&&M.type===Cs.pop&&r.go(-1,!1)}).catch(ds),Promise.reject()):(M.delta&&r.go(-M.delta,!1),X(se,V,we))).then(se=>{se=se||be(V,we,!1),se&&(M.delta?r.go(-M.delta,!1):M.type===Cs.pop&&Dt(se,20)&&r.go(-1,!1)),he(V,we,se)}).catch(ds)})}let Ve=Qn(),Be=Qn(),q;function X(S,D,M){oe(S);const V=Be.list();return V.length?V.forEach(le=>le(S,D,M)):console.error(S),Promise.reject(S)}function K(){return q&&a.value!==jt?Promise.resolve():new Promise((S,D)=>{Ve.add([S,D])})}function oe(S){return q||(q=!S,Te(),Ve.list().forEach(([D,M])=>S?M(S):D()),Ve.reset()),S}function yt(S,D,M,V){const{scrollBehavior:le}=e;if(!kn||!le)return Promise.resolve();const we=!M&&Tm(Xl(S.fullPath,0))||(V||!M)&&history.state&&history.state.scroll||null;return Tt().then(()=>le(S,D,we)).then(se=>se&&km(se)).catch(se=>X(se,S,D))}const je=S=>r.go(S);let tt;const ze=new Set;return{currentRoute:a,addRoute:m,removeRoute:p,hasRoute:w,getRoutes:O,resolve:A,options:e,push:E,replace:R,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Be.add,isReady:K,install(S){const D=this;S.component("RouterLink",gg),S.component("RouterView",bg),S.config.globalProperties.$router=D,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>x(a)}),kn&&!tt&&a.value===jt&&(tt=!0,E(r.location).catch(le=>{}));const M={};for(const le in jt)M[le]=j(()=>a.value[le]);S.provide(Ri,D),S.provide(Gc,Re(M)),S.provide(Ro,a);const V=S.unmount;ze.add(S),S.unmount=function(){ze.delete(S),ze.size<1&&(c=jt,Pe&&Pe(),a.value=jt,tt=!1,q=!1),V()}}}}function On(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function xg(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(c=>zn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>zn(c,a))||r.push(a))}return[n,s,r]}function aa(e,t){if(!e)return!1;const n=e.indexOf(t);return n>=0?(e.splice(n,1),!0):!1}function Eg(e){return e!=null}function Sg(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(Eg))}function Og(e){return Object.keys(e)}var $g={theme:"unicorn",titleTemplate:"%s - Slidev",remoteAssets:!1,monaco:"dev",download:!1,info:!1,highlighter:"shiki",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,selectable:!1,themeConfig:{},fonts:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:[],provider:"google",local:[],italic:!1,weights:["200","400","600"]},favicon:"https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png",drawings:{enabled:!0,persist:!1,presenterOnly:!1,syncAll:!0},plantUmlServer:"https://www.plantuml.com/plantuml",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",persist:!1};function at(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const wn=Re({page:0,clicks:0});let Pg=[],Ag=[];at(wn,"$syncUp",!0);at(wn,"$syncDown",!0);at(wn,"$paused",!1);at(wn,"$onSet",e=>Pg.push(e));at(wn,"$onPatch",e=>Ag.push(e));at(wn,"$patch",async()=>!1);const xn=Re({});let Cg=[],Mg=[];at(xn,"$syncUp",!0);at(xn,"$syncDown",!0);at(xn,"$paused",!1);at(xn,"$onSet",e=>Cg.push(e));at(xn,"$onPatch",e=>Mg.push(e));at(xn,"$patch",async()=>!1);const bt=wn,yn=xn,Oe=$g;var Va;const ps=(Va=Oe.aspectRatio)!=null?Va:16/9;var Ba;const ir=(Ba=Oe.canvasWidth)!=null?Ba:980,kg=Math.round(ir/ps),Rg=j(()=>Sg(Oe.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t]));Y(!1);const ms=Y(!1),Tn=Y(!1),Tg=Y(!0),Fo=Zp(me({xs:460},Up)),Ms=ym(),lu=gm(),Lg=j(()=>Ms.height.value-Ms.width.value/ps>180),au=hm(bn?document.body:null),jn=zp(),Fg=j(()=>{var e,t;return["INPUT","TEXTAREA"].includes(((e=jn.value)==null?void 0:e.tagName)||"")||((t=jn.value)==null?void 0:t.classList.contains("CodeMirror-code"))}),Ig=j(()=>{var e;return["BUTTON","A"].includes(((e=jn.value)==null?void 0:e.tagName)||"")});vt("slidev-camera","default");vt("slidev-mic","default");const lr=vt("slidev-scale",0),gs=vt("slidev-show-overview",!1);vt("slidev-presenter-cursor",!0);const ca=vt("slidev-show-editor",!1);vt("slidev-editor-width",bn?window.innerWidth*.4:100);const cu=Wc(gs);function ua(e,t,n,s=r=>r){return e*s(.5-t*(.5-n))}function Ng(e){return[-e[0],-e[1]]}function ft(e,t){return[e[0]+t[0],e[1]+t[1]]}function ot(e,t){return[e[0]-t[0],e[1]-t[1]]}function ut(e,t){return[e[0]*t,e[1]*t]}function jg(e,t){return[e[0]/t,e[1]/t]}function es(e){return[e[1],-e[0]]}function Dg(e,t){return e[0]*t[0]+e[1]*t[1]}function Hg(e,t){return e[0]===t[0]&&e[1]===t[1]}function Vg(e){return Math.hypot(e[0],e[1])}function Bg(e){return e[0]*e[0]+e[1]*e[1]}function fa(e,t){return Bg(ot(e,t))}function uu(e){return jg(e,Vg(e))}function zg(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function ts(e,t,n){let s=Math.sin(n),r=Math.cos(n),o=e[0]-t[0],i=e[1]-t[1],l=o*r-i*s,a=o*s+i*r;return[l+t[0],a+t[1]]}function Io(e,t,n){return ft(e,ut(ot(t,e),n))}function da(e,t,n){return ft(e,ut(t,n))}var{min:$n,PI:Ug}=Math,ha=.275,ns=Ug+1e-4;function Kg(e,t={}){let{size:n=16,smoothing:s=.5,thinning:r=.5,simulatePressure:o=!0,easing:i=q=>q,start:l={},end:a={},last:c=!1}=t,{cap:u=!0,taper:f=0,easing:d=q=>q*(2-q)}=l,{cap:m=!0,taper:p=0,easing:O=q=>--q*q*q+1}=a;if(e.length===0||n<=0)return[];let w=e[e.length-1].runningLength,A=Math.pow(n*s,2),_=[],b=[],E=e.slice(0,10).reduce((q,X)=>{let K=X.pressure;if(o){let oe=$n(1,X.distance/n),yt=$n(1,1-oe);K=$n(1,q+(yt-q)*(oe*ha))}return(q+K)/2},e[0].pressure),R=ua(n,r,e[e.length-1].pressure,i),T,B=e[0].vector,ce=e[0].point,fe=ce,he=ce,be=fe;for(let q=0;q<e.length;q++){let{pressure:X}=e[q],{point:K,vector:oe,distance:yt,runningLength:je}=e[q];if(q<e.length-1&&w-je<3)continue;if(r){if(o){let M=$n(1,yt/n),V=$n(1,1-M);X=$n(1,E+(V-E)*(M*ha))}R=ua(n,r,X,i)}else R=n/2;T===void 0&&(T=R);let tt=je<f?d(je/f):1,ze=w-je<p?O((w-je)/p):1;if(R=Math.max(.01,R*Math.min(tt,ze)),q===e.length-1){let M=ut(es(oe),R);_.push(ot(K,M)),b.push(ft(K,M));continue}let En=e[q+1].vector,S=Dg(oe,En);if(S<0){let M=ut(es(B),R);for(let V=1/13,le=0;le<=1;le+=V)he=ts(ot(K,M),K,ns*le),_.push(he),be=ts(ft(K,M),K,ns*-le),b.push(be);ce=he,fe=be;continue}let D=ut(es(Io(En,oe,S)),R);he=ot(K,D),(q<=1||fa(ce,he)>A)&&(_.push(he),ce=he),be=ft(K,D),(q<=1||fa(fe,be)>A)&&(b.push(be),fe=be),E=X,B=oe}let Pe=e[0].point.slice(0,2),Te=e.length>1?e[e.length-1].point.slice(0,2):ft(e[0].point,[1,1]),Ve=[],Be=[];if(e.length===1){if(!(f||p)||c){let q=da(Pe,uu(es(ot(Pe,Te))),-(T||R)),X=[];for(let K=1/13,oe=K;oe<=1;oe+=K)X.push(ts(q,Pe,ns*2*oe));return X}}else{if(!(f||p&&e.length===1))if(u)for(let X=1/13,K=X;K<=1;K+=X){let oe=ts(b[0],Pe,ns*K);Ve.push(oe)}else{let X=ot(_[0],b[0]),K=ut(X,.5),oe=ut(X,.51);Ve.push(ot(Pe,K),ot(Pe,oe),ft(Pe,oe),ft(Pe,K))}let q=es(Ng(e[e.length-1].vector));if(p||f&&e.length===1)Be.push(Te);else if(m){let X=da(Te,q,R);for(let K=1/29,oe=K;oe<1;oe+=K)Be.push(ts(X,Te,ns*3*oe))}else Be.push(ft(Te,ut(q,R)),ft(Te,ut(q,R*.99)),ot(Te,ut(q,R*.99)),ot(Te,ut(q,R)))}return _.concat(Be,b.reverse(),Ve)}function Wg(e,t={}){var n;let{streamline:s=.5,size:r=16,last:o=!1}=t;if(e.length===0)return[];let i=.15+(1-s)*.85,l=Array.isArray(e[0])?e:e.map(({x:m,y:p,pressure:O=.5})=>[m,p,O]);if(l.length===2){let m=l[1];l=l.slice(0,-1);for(let p=1;p<5;p++)l.push(Io(l[0],m,p/4))}l.length===1&&(l=[...l,[...ft(l[0],[1,1]),...l[0].slice(2)]]);let a=[{point:[l[0][0],l[0][1]],pressure:l[0][2]>=0?l[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],c=!1,u=0,f=a[0],d=l.length-1;for(let m=1;m<l.length;m++){let p=o&&m===d?l[m].slice(0,2):Io(f.point,l[m],i);if(Hg(f.point,p))continue;let O=zg(p,f.point);if(u+=O,m<d&&!c){if(u<r)continue;c=!0}f={point:p,pressure:l[m][2]>=0?l[m][2]:.5,vector:uu(ot(f.point,p)),distance:O,runningLength:u},a.push(f)}return a[0].vector=((n=a[1])==null?void 0:n.vector)||[0,0],a}function qg(e,t={}){return Kg(Wg(e,t),t)}var Yg=qg,Zg=Object.defineProperty,pa=Object.getOwnPropertySymbols,Gg=Object.prototype.hasOwnProperty,Xg=Object.prototype.propertyIsEnumerable,ma=(e,t,n)=>t in e?Zg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,No=(e,t)=>{for(var n in t||(t={}))Gg.call(t,n)&&ma(e,n,t[n]);if(pa)for(var n of pa(t))Xg.call(t,n)&&ma(e,n,t[n]);return e},Jg=()=>({events:{},emit(e,...t){(this.events[e]||[]).forEach(n=>n(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(n=>n!==t)}});function Er(e,t){return e-t}function Qg(e){return e<0?-1:1}function Sr(e){return[Math.abs(e),Qg(e)]}function fu(){const e=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}var ev=2,$t=ev,Yn=class{constructor(e){this.drauu=e,this.event=void 0,this.point=void 0,this.start=void 0,this.el=null}onSelected(e){}onUnselected(){}onStart(e){}onMove(e){return!1}onEnd(e){}get brush(){return this.drauu.brush}get shiftPressed(){return this.drauu.shiftPressed}get altPressed(){return this.drauu.altPressed}get svgElement(){return this.drauu.el}getMousePosition(e){var t,n;const s=this.drauu.el,r=(t=this.drauu.options.coordinateScale)!=null?t:1;if(this.drauu.options.coordinateTransform===!1){const o=this.drauu.el.getBoundingClientRect();return{x:(e.pageX-o.left)*r,y:(e.pageY-o.top)*r,pressure:e.pressure}}else{const o=this.drauu.svgPoint;o.x=e.clientX,o.y=e.clientY;const i=o.matrixTransform((n=s.getScreenCTM())==null?void 0:n.inverse());return{x:i.x*r,y:i.y*r,pressure:e.pressure}}}createElement(e,t){var n;const s=document.createElementNS("http://www.w3.org/2000/svg",e),r=t?No(No({},this.brush),t):this.brush;return s.setAttribute("fill",(n=r.fill)!=null?n:"transparent"),s.setAttribute("stroke",r.color),s.setAttribute("stroke-width",r.size.toString()),s.setAttribute("stroke-linecap","round"),r.dasharray&&s.setAttribute("stroke-dasharray",r.dasharray),s}attr(e,t){this.el.setAttribute(e,typeof t=="string"?t:t.toFixed($t))}_setEvent(e){this.event=e,this.point=this.getMousePosition(e)}_eventDown(e){return this._setEvent(e),this.start=this.point,this.onStart(this.point)}_eventMove(e){return this._setEvent(e),this.onMove(this.point)}_eventUp(e){return this._setEvent(e),this.onEnd(this.point)}},tv=class extends Yn{constructor(){super(...arguments),this.points=[]}onStart(e){return this.el=document.createElementNS("http://www.w3.org/2000/svg","path"),this.points=[e],this.attr("fill",this.brush.color),this.attr("d",this.getSvgData(this.points)),this.el}onMove(e){return this.el||this.onStart(e),this.points[this.points.length-1]!==e&&this.points.push(e),this.attr("d",this.getSvgData(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!!e}getSvgData(e){const t=Yg(e,No({size:this.brush.size*2,thinning:.9,simulatePressure:!1,start:{taper:5},end:{taper:5}},this.brush.stylusOptions));if(!t.length)return"";const n=t.reduce((s,[r,o],i,l)=>{const[a,c]=l[(i+1)%l.length];return s.push(r,o,(r+a)/2,(o+c)/2),s},["M",...t[0],"Q"]);return n.push("Z"),n.map(s=>typeof s=="number"?s.toFixed(2):s).join(" ")}},nv=class extends Yn{onStart(e){return this.el=this.createElement("ellipse"),this.attr("cx",e.x),this.attr("cy",e.y),this.el}onMove(e){if(!this.el||!this.start)return!1;let[t,n]=Sr(e.x-this.start.x),[s,r]=Sr(e.y-this.start.y);if(this.shiftPressed){const o=Math.min(t,s);t=o,s=o}if(this.altPressed)this.attr("cx",this.start.x),this.attr("cy",this.start.y),this.attr("rx",t),this.attr("ry",s);else{const[o,i]=[this.start.x,this.start.x+t*n].sort(Er),[l,a]=[this.start.y,this.start.y+s*r].sort(Er);this.attr("cx",(o+i)/2),this.attr("cy",(l+a)/2),this.attr("rx",(i-o)/2),this.attr("ry",(a-l)/2)}return!0}onEnd(){const e=this.el;return this.el=null,!(!e||!e.getTotalLength())}};function du(e,t){const n=document.createElementNS("http://www.w3.org/2000/svg","defs"),s=document.createElementNS("http://www.w3.org/2000/svg","marker"),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("fill",t),s.setAttribute("id",e),s.setAttribute("viewBox","0 -5 10 10"),s.setAttribute("refX","5"),s.setAttribute("refY","0"),s.setAttribute("markerWidth","4"),s.setAttribute("markerHeight","4"),s.setAttribute("orient","auto"),r.setAttribute("d","M0,-5L10,0L0,5"),s.appendChild(r),n.appendChild(s),n}var sv=class extends Yn{onStart(e){if(this.el=this.createElement("line",{fill:"transparent"}),this.attr("x1",e.x),this.attr("y1",e.y),this.attr("x2",e.x),this.attr("y2",e.y),this.brush.arrowEnd){const t=fu(),n=document.createElementNS("http://www.w3.org/2000/svg","g");return n.append(du(t,this.brush.color)),n.append(this.el),this.attr("marker-end",`url(#${t})`),n}return this.el}onMove(e){if(!this.el)return!1;let{x:t,y:n}=e;if(this.shiftPressed){const s=e.x-this.start.x,r=e.y-this.start.y;if(r!==0){let o=s/r;o=Math.round(o),Math.abs(o)<=1?(t=this.start.x+r*o,n=this.start.y+r):(t=this.start.x+s,n=this.start.y)}}return this.altPressed?(this.attr("x1",this.start.x*2-t),this.attr("y1",this.start.y*2-n),this.attr("x2",t),this.attr("y2",n)):(this.attr("x1",this.start.x),this.attr("y1",this.start.y),this.attr("x2",t),this.attr("y2",n)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||e.getTotalLength()<5)}},rv=class extends Yn{onStart(e){return this.el=this.createElement("rect"),this.brush.cornerRadius&&(this.attr("rx",this.brush.cornerRadius),this.attr("ry",this.brush.cornerRadius)),this.attr("x",e.x),this.attr("y",e.y),this.el}onMove(e){if(!this.el||!this.start)return!1;let[t,n]=Sr(e.x-this.start.x),[s,r]=Sr(e.y-this.start.y);if(this.shiftPressed){const o=Math.min(t,s);t=o,s=o}if(this.altPressed)this.attr("x",this.start.x-t),this.attr("y",this.start.y-s),this.attr("width",t*2),this.attr("height",s*2);else{const[o,i]=[this.start.x,this.start.x+t*n].sort(Er),[l,a]=[this.start.y,this.start.y+s*r].sort(Er);this.attr("x",o),this.attr("y",l),this.attr("width",i-o),this.attr("height",a-l)}return!0}onEnd(){const e=this.el;return this.el=null,!(!e||!e.getTotalLength())}};function ov(e,t){const n=e.x-t.x,s=e.y-t.y;return n*n+s*s}function iv(e,t,n){let s=t.x,r=t.y,o=n.x-s,i=n.y-r;if(o!==0||i!==0){const l=((e.x-s)*o+(e.y-r)*i)/(o*o+i*i);l>1?(s=n.x,r=n.y):l>0&&(s+=o*l,r+=i*l)}return o=e.x-s,i=e.y-r,o*o+i*i}function lv(e,t){let n=e[0];const s=[n];let r;for(let o=1,i=e.length;o<i;o++)r=e[o],ov(r,n)>t&&(s.push(r),n=r);return n!==r&&r&&s.push(r),s}function jo(e,t,n,s,r){let o=s,i=0;for(let l=t+1;l<n;l++){const a=iv(e[l],e[t],e[n]);a>o&&(i=l,o=a)}o>s&&(i-t>1&&jo(e,t,i,s,r),r.push(e[i]),n-i>1&&jo(e,i,n,s,r))}function av(e,t){const n=e.length-1,s=[e[0]];return jo(e,0,n,t,s),s.push(e[n]),s}function ga(e,t,n=!1){if(e.length<=2)return e;const s=t!==void 0?t*t:1;return e=n?e:lv(e,s),e=av(e,s),e}var cv=class extends Yn{constructor(){super(...arguments),this.points=[],this.count=0}onStart(e){if(this.el=this.createElement("path",{fill:"transparent"}),this.points=[e],this.brush.arrowEnd){this.arrowId=fu();const t=du(this.arrowId,this.brush.color);this.el.appendChild(t)}return this.el}onMove(e){return this.el||this.onStart(e),this.points[this.points.length-1]!==e&&(this.points.push(e),this.count+=1),this.count>5&&(this.points=ga(this.points,1,!0),this.count=0),this.attr("d",ya(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||(e.setAttribute("d",ya(ga(this.points,1,!0))),!e.getTotalLength()))}};function uv(e,t){const n=t.x-e.x,s=t.y-e.y;return{length:Math.sqrt(Math.pow(n,2)+Math.pow(s,2)),angle:Math.atan2(s,n)}}function va(e,t,n,s){const r=t||e,o=n||e,i=.2,l=uv(r,o),a=l.angle+(s?Math.PI:0),c=l.length*i,u=e.x+Math.cos(a)*c,f=e.y+Math.sin(a)*c;return{x:u,y:f}}function fv(e,t,n){const s=va(n[t-1],n[t-2],e),r=va(e,n[t-1],n[t+1],!0);return`C ${s.x.toFixed($t)},${s.y.toFixed($t)} ${r.x.toFixed($t)},${r.y.toFixed($t)} ${e.x.toFixed($t)},${e.y.toFixed($t)}`}function ya(e){return e.reduce((t,n,s,r)=>s===0?`M ${n.x.toFixed($t)},${n.y.toFixed($t)}`:`${t} ${fv(n,s,r)}`,"")}var dv=class extends Yn{constructor(){super(...arguments),this.pathSubFactor=20,this.pathFragments=[]}onSelected(e){const t=(n,s)=>{if(n&&n.length)for(let r=0;r<n.length;r++){const o=n[r];if(o.getTotalLength){const i=o.getTotalLength();for(let l=0;l<this.pathSubFactor;l++){const a=o.getPointAtLength(i*l/this.pathSubFactor),c=o.getPointAtLength(i*(l+1)/this.pathSubFactor);this.pathFragments.push({x1:a.x,x2:c.x,y1:a.y,y2:c.y,segment:l,element:s||o})}}else o.children&&t(o.children,o)}};e&&t(e.children)}onUnselected(){this.pathFragments=[]}onStart(e){this.svgPointPrevious=this.svgElement.createSVGPoint(),this.svgPointPrevious.x=e.x,this.svgPointPrevious.y=e.y}onMove(e){this.svgPointCurrent=this.svgElement.createSVGPoint(),this.svgPointCurrent.x=e.x,this.svgPointCurrent.y=e.y;const t=this.checkAndEraseElement();return this.svgPointPrevious=this.svgPointCurrent,t}onEnd(){return this.svgPointPrevious=void 0,this.svgPointCurrent=void 0,!0}checkAndEraseElement(){const e=[];if(this.pathFragments.length)for(let t=0;t<this.pathFragments.length;t++){const n=this.pathFragments[t],s={x1:this.svgPointPrevious.x,x2:this.svgPointCurrent.x,y1:this.svgPointPrevious.y,y2:this.svgPointCurrent.y};this.lineLineIntersect(n,s)&&(n.element.remove(),e.push(t))}return e.length&&(this.pathFragments=this.pathFragments.filter((t,n)=>!e.includes(n))),e.length>0}lineLineIntersect(e,t){const n=e.x1,s=e.x2,r=t.x1,o=t.x2,i=e.y1,l=e.y2,a=t.y1,c=t.y2,u=(n-s)*(a-c)-(i-l)*(r-o),f=(n*l-i*s)*(r-o)-(n-s)*(r*c-a*o),d=(n*l-i*s)*(a-c)-(i-l)*(r*c-a*o),m=(p,O,w)=>p>=O&&p<=w?!0:p>=w&&p<=O;if(u===0)return!1;{const p={x:f/u,y:d/u};return m(p.x,n,s)&&m(p.y,i,l)&&m(p.x,r,o)&&m(p.y,a,c)}}};function hv(e){return{draw:new cv(e),stylus:new tv(e),line:new sv(e),rectangle:new rv(e),ellipse:new nv(e),eraseLine:new dv(e)}}var pv=class{constructor(e={}){this.options=e,this.el=null,this.svgPoint=null,this.eventEl=null,this.shiftPressed=!1,this.altPressed=!1,this.drawing=!1,this._emitter=Jg(),this._models=hv(this),this._undoStack=[],this._disposables=[],this.options.brush||(this.options.brush={color:"black",size:3,mode:"stylus"}),e.el&&this.mount(e.el,e.eventTarget)}get model(){return this._models[this.mode]}get mounted(){return!!this.el}get mode(){return this.options.brush.mode||"stylus"}set mode(e){this._models[this.mode].onUnselected(),this.options.brush.mode=e,this.model.onSelected(this.el)}get brush(){return this.options.brush}set brush(e){this.options.brush=e}resolveSelector(e){return typeof e=="string"?document.querySelector(e):e||null}mount(e,t){if(this.el)throw new Error("[drauu] already mounted, unmount previous target first");if(this.el=this.resolveSelector(e),!this.el)throw new Error("[drauu] target element not found");if(this.el.tagName.toLocaleLowerCase()!=="svg")throw new Error("[drauu] can only mount to a SVG element");if(!this.el.createSVGPoint)throw new Error("[drauu] SVG element must be create by document.createElementNS('http://www.w3.org/2000/svg', 'svg')");this.svgPoint=this.el.createSVGPoint();const n=this.resolveSelector(t)||this.el,s=this.eventStart.bind(this),r=this.eventMove.bind(this),o=this.eventEnd.bind(this),i=this.eventKeyboard.bind(this);n.addEventListener("pointerdown",s,{passive:!1}),window.addEventListener("pointermove",r,{passive:!1}),window.addEventListener("pointerup",o,{passive:!1}),window.addEventListener("pointercancel",o,{passive:!1}),window.addEventListener("keydown",i,!1),window.addEventListener("keyup",i,!1),this._disposables.push(()=>{n.removeEventListener("pointerdown",s),window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),window.removeEventListener("keydown",i,!1),window.removeEventListener("keyup",i,!1)}),this._emitter.emit("mounted")}unmount(){this._disposables.forEach(e=>e()),this._disposables.length=0,this.el=null,this._emitter.emit("unmounted")}on(e,t){return this._emitter.on(e,t)}undo(){const e=this.el;return e.lastElementChild?(this._undoStack.push(e.lastElementChild.cloneNode(!0)),e.lastElementChild.remove(),this._emitter.emit("changed"),!0):!1}redo(){return this._undoStack.length?(this.el.appendChild(this._undoStack.pop()),this._emitter.emit("changed"),!0):!1}canRedo(){return!!this._undoStack.length}canUndo(){var e;return!!((e=this.el)!=null&&e.lastElementChild)}eventMove(e){!this.acceptsInput(e)||!this.drawing||this.model._eventMove(e)&&(e.stopPropagation(),e.preventDefault(),this._emitter.emit("changed"))}eventStart(e){!this.acceptsInput(e)||(e.stopPropagation(),e.preventDefault(),this._currentNode&&this.cancel(),this.drawing=!0,this._emitter.emit("start"),this._currentNode=this.model._eventDown(e),this._currentNode&&this.mode!=="eraseLine"&&this.el.appendChild(this._currentNode),this._emitter.emit("changed"))}eventEnd(e){if(!this.acceptsInput(e)||!this.drawing)return;const t=this.model._eventUp(e);t?(t instanceof Element&&t!==this._currentNode&&(this._currentNode=t),this.commit()):this.cancel(),this.drawing=!1,this._emitter.emit("end"),this._emitter.emit("changed")}acceptsInput(e){return!this.options.acceptsInputTypes||this.options.acceptsInputTypes.includes(e.pointerType)}eventKeyboard(e){this.shiftPressed===e.shiftKey&&this.altPressed===e.altKey||(this.shiftPressed=e.shiftKey,this.altPressed=e.altKey,this.model.point&&this.model.onMove(this.model.point)&&this._emitter.emit("changed"))}commit(){this._undoStack.length=0;const e=this._currentNode;this._currentNode=void 0,this._emitter.emit("committed",e)}clear(){this._undoStack.length=0,this.cancel(),this.el.innerHTML="",this._emitter.emit("changed")}cancel(){this._currentNode&&(this.el.removeChild(this._currentNode),this._currentNode=void 0,this._emitter.emit("canceled"))}dump(){return this.el.innerHTML}load(e){this.clear(),this.el.innerHTML=e}};function mv(e){return new pv(e)}const Do=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],Et=vt("slidev-drawing-enabled",!1),Hw=vt("slidev-drawing-pinned",!1),gv=Y(!1),vv=Y(!1),yv=Y(!1),ks=Y(!1),fn=fp(vt("slidev-drawing-brush",{color:Do[0],size:4,mode:"stylus"})),_a=Y("stylus");let Ho=!1;const ss=j({get(){return _a.value},set(e){_a.value=e,e==="arrow"?(fn.mode="line",fn.arrowEnd=!0):(fn.mode=e,fn.arrowEnd=!1)}}),_v=Re({brush:fn,acceptsInputTypes:j(()=>Et.value?void 0:["pen"]),coordinateTransform:!1}),Ye=di(mv(_v));function bv(){Ye.clear(),yn.$patch({[Ie.value]:""})}function wv(){var e;vv.value=Ye.canRedo(),gv.value=Ye.canUndo(),yv.value=!!((e=Ye.el)!=null&&e.children.length)}function xv(){Ho=!0;const e=yn[Ie.value];e!=null?Ye.load(e):Ye.clear(),Ho=!1}Ye.on("changed",()=>{if(wv(),!Ho){const e=Ye.dump(),t=Ie.value;(yn[t]||"")!==e&&(yn[t]=Ye.dump())}});Tt(()=>{re(Ie,()=>{!Ye.mounted||xv()},{immediate:!0}),_i(()=>{yn.$syncUp=Oe.drawings.syncAll||Qt.value})});Ye.on("start",()=>ks.value=!0);Ye.on("end",()=>ks.value=!1);window.addEventListener("keydown",e=>{if(!Et.value)return;const t=!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey;let n=!0;e.code==="KeyZ"&&(e.ctrlKey||e.metaKey)?e.shiftKey?Ye.redo():Ye.undo():e.code==="Escape"?Et.value=!1:e.code==="KeyL"&&t?ss.value="line":e.code==="KeyA"&&t?ss.value="arrow":e.code==="KeyS"&&t?ss.value="stylus":e.code==="KeyR"&&t?ss.value="rectangle":e.code==="KeyE"&&t?ss.value="ellipse":e.code==="KeyC"&&t?bv():e.code.startsWith("Digit")&&t&&+e.code[5]<=Do.length?fn.color=Do[+e.code[5]-1]:n=!1,n&&(e.preventDefault(),e.stopPropagation())},!1);const ba=em(),to=vt("slidev-color-schema","auto"),Vo=j(()=>Oe.colorSchema!=="auto"),Li=j({get(){return Vo.value?Oe.colorSchema==="dark":to.value==="auto"?ba.value:to.value==="dark"},set(e){Vo.value||(to.value=e===ba.value?"auto":e?"dark":"light")}}),hu=Wc(Li);bn&&re(Li,e=>{const t=document.querySelector("html");t.classList.toggle("dark",e),t.classList.toggle("light",!e)},{immediate:!0});function Ev(){return[]}const pu=st(Ot(Fg),Ot(Ig),Tg);function Sv(e,t,n=!1){typeof e=="string"&&(e=lu[e]);const s=st(e,pu);let r=0,o;const i=()=>{if(clearTimeout(o),!s.value){r=0;return}n&&(o=setTimeout(i,Math.max(1e3-r*250,150)),r++),t()};return re(s,i,{flush:"sync"})}function Ov(e,t){return Bp(e,n=>{!pu.value||n.repeat||t()})}function $v(){const e=Ev(),{escape:t,space:n,shift:s,left:r,right:o,d:i,g:l,o:a}=lu;new Map([{key:st(n,Ot(s)),fn:Zt,autoRepeat:!0},{key:st(n,s),fn:Gt,autoRepeat:!0},{key:st(o,Ot(s)),fn:Zt,autoRepeat:!0},{key:st(r,Ot(s)),fn:Gt,autoRepeat:!0},{key:"pageDown",fn:Zt,autoRepeat:!0},{key:"pageUp",fn:Gt,autoRepeat:!0},{key:"up",fn:()=>Ls(!1),autoRepeat:!0},{key:"down",fn:Ts,autoRepeat:!0},{key:st(r,s),fn:()=>Ls(!1),autoRepeat:!0},{key:st(o,s),fn:Ts,autoRepeat:!0},{key:st(i,Ot(Et)),fn:hu},{key:st(a,Ot(Et)),fn:cu},{key:st(t,Ot(Et)),fn:()=>gs.value=!1},{key:st(l,Ot(Et)),fn:()=>Tn.value=!Tn.value},...e].map(u=>[u.key,u])).forEach(u=>{u.fn&&Sv(u.key,u.fn,u.autoRepeat)}),Ov("f",()=>au.toggle())}const Pv={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Av=v("path",{fill:"currentColor",d:"M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z"},null,-1),Cv=[Av];function Mv(e,t){return I(),W("svg",Pv,Cv)}var kv={name:"carbon-close",render:Mv};function mu(e){var n,s;const t=(s=(n=e==null?void 0:e.meta)==null?void 0:n.slide)==null?void 0:s.no;return t!=null?`slidev-page-${t}`:""}const ar=Symbol("v-click-clicks"),Rn=Symbol("v-click-clicks-elements"),Bo=Symbol("v-click-clicks-order-map"),cr=Symbol("v-click-clicks-disabled"),Rv=Symbol("slidev-slide-scale"),Pn="slidev-vclick-target",no="slidev-vclick-hidden",Tv="slidev-vclick-fade",so="slidev-vclick-hidden-explicitly",rs="slidev-vclick-current",Qs="slidev-vclick-prior";const gu=Se({props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(e){const t=e,n=Y(),s=dm(n),r=j(()=>t.width?t.width:s.width.value),o=j(()=>t.width?t.width/ps:s.height.value);t.width&&_i(()=>{n.value&&(n.value.style.width=`${r.value}px`,n.value.style.height=`${o.value}px`)});const i=j(()=>r.value/o.value),l=j(()=>t.scale?t.scale:i.value<ps?r.value/ir:o.value*ps/ir),a=j(()=>({height:`${kg}px`,width:`${ir}px`,transform:`translate(-50%, -50%) scale(${l.value})`})),c=j(()=>({"select-none":!Oe.selectable,"slidev-code-line-numbers":Oe.lineNumbers}));return At(Rv,l),(u,f)=>(I(),W("div",{id:"slide-container",ref_key:"root",ref:n,class:ke(x(c))},[v("div",{id:"slide-content",style:mt(x(a))},[vn(u.$slots,"default")],4),vn(u.$slots,"controls")],2))}});var vu=Se({props:{clicks:{type:[Number,String],default:0},clicksElements:{type:Array,default:()=>[]},clicksOrderMap:{type:Map,default:()=>new Map},clicksDisabled:{type:Boolean,default:!1},is:{type:Object,default:void 0}},setup(e,{emit:t}){const n=Ct(e,"clicks",t),s=Ct(e,"clicksElements",t),r=Ct(e,"clicksDisabled",t),o=Ct(e,"clicksOrderMap",t);s.value.length=0,At(ar,n),At(cr,r),At(Rn,s),At(Bo,o)},render(){var e,t;return this.$props.is?Mi(this.$props.is):(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)}});const Lv=["innerHTML"],Fv=Se({props:{page:null},setup(e){return(t,n)=>x(yn)[e.page]?(I(),W("svg",{key:0,ref:"svg",class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:x(yn)[e.page]},null,8,Lv)):ue("v-if",!0)}});const Iv={class:"slides-overview bg-main !bg-opacity-75 p-16 overflow-y-auto"},Nv=["onClick"],jv=Se({props:{modelValue:{type:Boolean}},emits:[],setup(e,{emit:t}){const s=Ct(e,"modelValue",t);function r(){s.value=!1}function o(f){Vs(f),r()}const i=Fo.smaller("xs"),l=Fo.smaller("sm"),a=4*16*2,c=2*16,u=j(()=>i.value?Ms.width.value-a:l.value?(Ms.width.value-a-c)/2:300);return(f,d)=>{const m=kv;return I(),W($e,null,[Oi(v("div",Iv,[v("div",{class:"grid gap-y-4 gap-x-8 w-full",style:mt(`grid-template-columns: repeat(auto-fit,minmax(${x(u)}px,1fr))`)},[(I(!0),W($e,null,Ai(x(gt).slice(0,-1),(p,O)=>(I(),W("div",{key:p.path,class:"relative"},[v("div",{class:"inline-block border border-gray-400 rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary",onClick:w=>o(+p.path)},[(I(),ye(gu,{key:p.path,width:x(u),"clicks-disabled":!0,class:"pointer-events-none"},{default:Ne(()=>[ee(x(vu),{is:p==null?void 0:p.component,"clicks-disabled":!0,class:ke(x(mu)(p))},null,8,["is","class"]),ee(Fv,{page:+p.path},null,8,["page"])]),_:2},1032,["width"]))],8,Nv),v("div",{class:"absolute top-0 opacity-50",style:mt(`left: ${x(u)+5}px`)},gn(O+1),5)]))),128))],4)],512),[[Bc,x(s)]]),x(s)?(I(),W("button",{key:0,class:"fixed text-2xl top-4 right-4 icon-btn text-gray-400",onClick:r},[ee(m)])):ue("v-if",!0)],64)}}});var Dv="/assets/logo.b72bde5d.png";const Hv={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},Vv=Se({props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(e,{emit:t}){const n=e,s=Ct(n,"modelValue",t);function r(){s.value=!1}return(o,i)=>(I(),ye(wc,null,[x(s)?(I(),W("div",Hv,[v("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:i[0]||(i[0]=l=>r())}),v("div",{class:ke(["m-auto rounded-md bg-main shadow",n.class]),"dark:border":"~ gray-400 opacity-10"},[vn(o.$slots,"default")],2)])):ue("v-if",!0)],1024))}});const Bv={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},zv=["innerHTML"],Uv=v("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[v("div",{class:"flex gap-1 children:my-auto"},[v("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),v("img",{class:"w-5 h-5",src:Dv,alt:"Slidev"}),v("div",{style:{color:"#2082A6"}},[v("b",null,"Sli"),Z("dev ")])])],-1),Kv=Se({props:{modelValue:{default:!1}},emits:["modelValue"],setup(e,{emit:t}){const s=Ct(e,"modelValue",t),r=j(()=>typeof Oe.info=="string");return(o,i)=>(I(),ye(Vv,{modelValue:x(s),"onUpdate:modelValue":i[0]||(i[0]=l=>_e(s)?s.value=l:null),class:"px-6 py-4"},{default:Ne(()=>[v("div",Bv,[x(r)?(I(),W("div",{key:0,class:"mb-4",innerHTML:x(Oe).info},null,8,zv)):ue("v-if",!0),Uv])]),_:1},8,["modelValue"]))}}),Wv=["disabled","onKeydown"],qv=Se({setup(e){const t=Y(),n=Y(""),s=j(()=>+n.value),r=j(()=>!isNaN(s.value)&&s.value>0&&s.value<=Ii.value);function o(){r.value&&Vs(s.value),i()}function i(){Tn.value=!1}return re(Tn,async l=>{var a,c;l?(await Tt(),n.value="",(a=t.value)==null||a.focus()):(c=t.value)==null||c.blur()}),re(n,l=>{l.match(/^[^0-9]/)&&(n.value=n.value.substr(1))}),(l,a)=>(I(),W("div",{id:"slidev-goto-dialog",class:ke(["fixed right-5 bg-main transform transition-all",x(Tn)?"top-5":"-top-20"]),shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:gray-400 dark:opacity-25"},[Oi(v("input",{ref_key:"input",ref:t,"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),type:"text",disabled:!x(Tn),class:ke(["outline-none bg-transparent",{"text-red-400":!x(r)&&n.value}]),placeholder:"Goto...",onKeydown:[Ml(o,["enter"]),Ml(i,["escape"])],onBlur:i},null,42,Wv),[[Uh,n.value]])],2))}}),Yv=Se({setup(e){return Rt(),Rt(),(t,n)=>(I(),W($e,null,[ee(jv,{modelValue:x(gs),"onUpdate:modelValue":n[0]||(n[0]=s=>_e(gs)?gs.value=s:null)},null,8,["modelValue"]),ee(qv),ue("v-if",!0),x(Oe).info?(I(),ye(Kv,{key:1,modelValue:x(ms),"onUpdate:modelValue":n[2]||(n[2]=s=>_e(ms)?ms.value=s:null)},null,8,["modelValue"])):ue("v-if",!0)],64))}}),Zv={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},Gv=v("path",{fill:"currentColor",d:"M30 8h-4.1c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2h14.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30V8zm-9 4c-1.7 0-3-1.3-3-3s1.3-3 3-3s3 1.3 3 3s-1.3 3-3 3zM2 24h4.1c.5 2.3 2.5 4 4.9 4s4.4-1.7 4.9-4H30v-2H15.9c-.5-2.3-2.5-4-4.9-4s-4.4 1.7-4.9 4H2v2zm9-4c1.7 0 3 1.3 3 3s-1.3 3-3 3s-3-1.3-3-3s1.3-3 3-3z"},null,-1),Xv=[Gv];function Jv(e,t){return I(),W("svg",Zv,Xv)}var Qv={name:"carbon-settings-adjust",render:Jv};const e0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},t0=v("path",{fill:"currentColor",d:"M17 22v-8h-4v2h2v6h-3v2h8v-2h-3zM16 8a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 8z"},null,-1),n0=v("path",{fill:"currentColor",d:"M16 30a14 14 0 1 1 14-14a14 14 0 0 1-14 14Zm0-26a12 12 0 1 0 12 12A12 12 0 0 0 16 4Z"},null,-1),s0=[t0,n0];function r0(e,t){return I(),W("svg",e0,s0)}var o0={name:"carbon-information",render:r0};const i0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},l0=v("path",{fill:"currentColor",d:"M26 24v4H6v-4H4v4a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-4zm0-10l-1.41-1.41L17 20.17V2h-2v18.17l-7.59-7.58L6 14l10 10l10-10z"},null,-1),a0=[l0];function c0(e,t){return I(),W("svg",i0,a0)}var u0={name:"carbon-download",render:c0};const f0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},d0=v("path",{fill:"currentColor",d:"M27.307 6.107L30 3.414L28.586 2l-2.693 2.693L24.8 3.6a1.933 1.933 0 0 0-2.8 0l-18 18V28h6.4l18-18a1.933 1.933 0 0 0 0-2.8ZM9.6 26H6v-3.6L23.4 5L27 8.6ZM9 11.586L16.586 4L18 5.414L10.414 13z"},null,-1),h0=[d0];function p0(e,t){return I(),W("svg",f0,h0)}var m0={name:"carbon-pen",render:p0};const g0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},v0=v("path",{fill:"currentColor",d:"M213.7 202.3a8.1 8.1 0 0 1 0 11.4a8.3 8.3 0 0 1-5.7 2.3a8.5 8.5 0 0 1-5.7-2.3l-63.1-63.2l-20.3 55.9a15.9 15.9 0 0 1-14.9 10.5h-.1a15.9 15.9 0 0 1-15-10.4L30.7 51.3a16 16 0 0 1 20.6-20.6l155.2 58.2a16 16 0 0 1-.1 30l-55.9 20.3Z"},null,-1),y0=[v0];function _0(e,t){return I(),W("svg",g0,y0)}var b0={name:"ph-cursor-fill",render:_0};const w0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},x0=v("path",{fill:"currentColor",d:"M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6ZM5.394 6.813L6.81 5.399l3.505 3.506L8.9 10.319zM2 15.005h5v2H2zm3.394 10.193L8.9 21.692l1.414 1.414l-3.505 3.506zM15 25.005h2v5h-2zm6.687-1.9l1.414-1.414l3.506 3.506l-1.414 1.414zm3.313-8.1h5v2h-5zm-3.313-6.101l3.506-3.506l1.414 1.414l-3.506 3.506zM15 2.005h2v5h-2z"},null,-1),E0=[x0];function S0(e,t){return I(),W("svg",w0,E0)}var O0={name:"carbon-sun",render:S0};const $0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},P0=v("path",{fill:"currentColor",d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3Z"},null,-1),A0=[P0];function C0(e,t){return I(),W("svg",$0,A0)}var M0={name:"carbon-moon",render:C0};const k0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},R0=v("path",{fill:"currentColor",d:"M8 4v4H4V4Zm2-2H2v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8Zm8 2v4h-4V4Zm2-2h-8v8h8ZM8 14v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8ZM8 24v4H4v-4Zm2-2H2v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Zm8 2v4h-4v-4Zm2-2h-8v8h8Z"},null,-1),T0=[R0];function L0(e,t){return I(),W("svg",k0,T0)}var F0={name:"carbon-apps",render:L0};const I0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},N0=v("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z"},null,-1),j0=[N0];function D0(e,t){return I(),W("svg",I0,j0)}var H0={name:"carbon-arrow-right",render:D0};const V0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},B0=v("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16l10 10z"},null,-1),z0=[B0];function U0(e,t){return I(),W("svg",V0,z0)}var K0={name:"carbon-arrow-left",render:U0};const W0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},q0=v("path",{fill:"currentColor",d:"M20 2v2h6.586L18 12.582L19.414 14L28 5.414V12h2V2H20zm-6 17.416L12.592 18L4 26.586V20H2v10h10v-2H5.414L14 19.416z"},null,-1),Y0=[q0];function Z0(e,t){return I(),W("svg",W0,Y0)}var G0={name:"carbon-maximize",render:Z0};const X0={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},J0=v("path",{fill:"currentColor",d:"M4 18v2h6.586L2 28.582L3.414 30L12 21.414V28h2V18H4zM30 3.416L28.592 2L20 10.586V4h-2v10h10v-2h-6.586L30 3.416z"},null,-1),Q0=[J0];function ey(e,t){return I(),W("svg",X0,Q0)}var ty={name:"carbon-minimize",render:ey};const ny={class:"slidev-icon",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},sy=v("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9L13 24z"},null,-1),ry=[sy];function oy(e,t){return I(),W("svg",ny,ry)}var iy={name:"carbon-checkmark",render:oy};var Hs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const ly={class:"select-list"},ay={class:"title"},cy={class:"items"},uy=["onClick"],fy=Se({props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){const s=Ct(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=iy;return I(),W("div",ly,[v("div",ay,gn(e.title),1),v("div",cy,[(I(!0),W($e,null,Ai(e.items,l=>(I(),W("div",{key:l.value,class:ke(["item",{active:x(s)===l.value}]),onClick:()=>{var a;s.value=l.value,(a=l.onClick)==null||a.call(l)}},[ee(i,{class:ke(["text-green-500",{"opacity-0":x(s)!==l.value}])},null,8,["class"]),Z(" "+gn(l.display||l.value),1)],10,uy))),128))])])}}});var dy=Hs(fy,[["__scopeId","data-v-00f5edb7"]]);const hy={class:"text-sm"},py=Se({setup(e){const t=[{display:"Fit",value:0},{display:"1:1",value:1}];return(n,s)=>(I(),W("div",hy,[ee(dy,{modelValue:x(lr),"onUpdate:modelValue":s[0]||(s[0]=r=>_e(lr)?lr.value=r:null),title:"Scale",items:t},null,8,["modelValue"])]))}}),my={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ gray-400 opacity-10"},gy=Se({props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){const s=Ct(e,"modelValue",t,{passive:!0}),r=Y();return Hp(r,()=>{s.value=!1}),(o,i)=>(I(),W("div",{ref_key:"el",ref:r,class:"flex relative"},[v("button",{class:ke({disabled:e.disabled}),onClick:i[0]||(i[0]=l=>s.value=!x(s))},[vn(o.$slots,"button",{class:ke({disabled:e.disabled})})],2),(I(),ye(wc,null,[x(s)?(I(),W("div",my,[vn(o.$slots,"menu")])):ue("v-if",!0)],1024))],512))}}),vy={},yy={class:"w-1px m-2 opacity-10 bg-current"};function _y(e,t){return I(),W("div",yy)}var ro=Hs(vy,[["render",_y]]),by={render(){return[]}};const wy={class:"icon-btn"},xy={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},Ey={class:"my-auto"},Sy={class:"opacity-50"},Oy=Se({props:{persist:{default:!1}},setup(e){const t=e;Fo.smaller("md");const{isFullscreen:n,toggle:s}=au;j(()=>`/presenter/${Ie.value}`),j(()=>`/${Ie.value}`);const r=Y(),o=()=>{r.value&&jn.value&&r.value.contains(jn.value)&&jn.value.blur()},i=j(()=>t.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10");Rt();const l=Rt();return import("./DrawingControls.f96f444c.js").then(a=>l.value=a.default),(a,c)=>{const u=ty,f=G0,d=K0,m=H0,p=F0,O=M0,w=O0,A=m0;Fc("RouterLink");const _=u0,b=o0,E=Qv;return I(),W("nav",{ref_key:"root",ref:r,class:"flex flex-col"},[v("div",{class:ke(["flex flex-wrap-reverse text-xl p-2 gap-1",x(i)]),onMouseleave:o},[x(zt)?ue("v-if",!0):(I(),W("button",{key:0,class:"icon-btn",onClick:c[0]||(c[0]=(...R)=>x(s)&&x(s)(...R))},[x(n)?(I(),ye(u,{key:0})):(I(),ye(f,{key:1}))])),v("button",{class:ke(["icon-btn",{disabled:!x(Eu)}]),onClick:c[1]||(c[1]=(...R)=>x(Gt)&&x(Gt)(...R))},[ee(d)],2),v("button",{class:ke(["icon-btn",{disabled:!x(xu)}]),title:"Next",onClick:c[2]||(c[2]=(...R)=>x(Zt)&&x(Zt)(...R))},[ee(m)],2),x(zt)?ue("v-if",!0):(I(),W("button",{key:1,class:"icon-btn",title:"Slides overview",onClick:c[3]||(c[3]=R=>x(cu)())},[ee(p)])),x(Vo)?ue("v-if",!0):(I(),W("button",{key:2,class:"icon-btn",title:"Toggle dark mode",onClick:c[4]||(c[4]=R=>x(hu)())},[x(Li)?(I(),ye(O,{key:0})):(I(),ye(w,{key:1}))])),ee(ro),ue("v-if",!0),!x(Oe).drawings.presenterOnly&&!x(zt)?(I(),W($e,{key:4},[v("button",{class:"icon-btn relative",title:"Drawing",onClick:c[6]||(c[6]=R=>Et.value=!x(Et))},[ee(A),x(Et)?(I(),W("div",{key:0,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:mt({background:x(fn).color})},null,4)):ue("v-if",!0)]),ee(ro)],64)):ue("v-if",!0),ue("v-if",!0),(I(),W($e,{key:6},[x(Oe).download?(I(),W("button",{key:0,class:"icon-btn",onClick:c[8]||(c[8]=(...R)=>x(Uo)&&x(Uo)(...R))},[ee(_)])):ue("v-if",!0)],2112)),!x(Qt)&&x(Oe).info&&!x(zt)?(I(),W("button",{key:7,class:"icon-btn",onClick:c[9]||(c[9]=R=>ms.value=!x(ms))},[ee(b)])):ue("v-if",!0),!x(Qt)&&!x(zt)?(I(),ye(gy,{key:8},{button:Ne(()=>[v("button",wy,[ee(E)])]),menu:Ne(()=>[ee(py)]),_:1})):ue("v-if",!0),x(zt)?ue("v-if",!0):(I(),ye(ro,{key:9})),v("div",xy,[v("div",Ey,[Z(gn(x(Ie))+" ",1),v("span",Sy,"/ "+gn(x(Ii)),1)])]),ee(x(by))],34)],512)}}});var $y={render(){return[]}},Py={render(){return[]}};const Ay={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},Cy=Se({setup(e){return(t,n)=>{const s=b0;return x(bt).cursor?(I(),W("div",Ay,[ee(s,{class:"absolute",style:mt({left:`${x(bt).cursor.x}%`,top:`${x(bt).cursor.y}%`})},null,8,["style"])])):ue("v-if",!0)}}}),My=Se({setup(e){re(Ke,()=>{var n,s;((n=Ke.value)==null?void 0:n.meta)&&Ke.value.meta.preload!==!1&&(Ke.value.meta.__preloaded=!0),((s=ur.value)==null?void 0:s.meta)&&ur.value.meta.preload!==!1&&(ur.value.meta.__preloaded=!0)},{immediate:!0});const t=Rt();return import("./DrawingLayer.d20cc7c2.js").then(n=>t.value=n.default),(n,s)=>(I(),W($e,null,[ue(" Global Bottom "),ee(x(Py)),ue(" Slides "),(I(!0),W($e,null,Ai(x(gt),r=>{var o,i;return I(),W($e,{key:r.path},[((o=r.meta)==null?void 0:o.__preloaded)||r===x(Ke)?Oi((I(),ye(x(vu),{key:0,is:r==null?void 0:r.component,clicks:r===x(Ke)?x(pt):0,"clicks-elements":((i=r.meta)==null?void 0:i.__clicksElements)||[],"clicks-disabled":!1,class:ke(x(mu)(r))},null,8,["is","clicks","clicks-elements","class"])),[[Bc,r===x(Ke)]]):ue("v-if",!0)],64)}),128)),ue(" Global Top "),ee(x($y)),x(t)?(I(),ye(x(t),{key:0})):ue("v-if",!0),x(Qt)?ue("v-if",!0):(I(),ye(Cy,{key:1}))],64))}}),ky=Se({setup(e){$v();const t=Y();function n(o){var i;ca.value||((i=o.target)==null?void 0:i.id)==="slide-container"&&(o.screenX/window.innerWidth>.6?Zt():Gt())}$u(t);const s=j(()=>Lg.value||ca.value);Rt();const r=Rt();return import("./DrawingControls.f96f444c.js").then(o=>r.value=o.default),(o,i)=>(I(),W($e,null,[v("div",{id:"page-root",ref_key:"root",ref:t,class:"grid grid-cols-[1fr,max-content]",style:mt(x(Rg))},[ee(gu,{class:"w-full h-full",style:mt({background:"var(--slidev-slide-container-background, black)"}),width:x(Fi)?x(Ms).width.value:void 0,scale:x(lr),onPointerdown:n},{default:Ne(()=>[ee(My)]),controls:Ne(()=>[v("div",{class:ke(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[x(s)?"opacity-100 right-0":"opacity-0 p-2",x(ks)?"pointer-events-none":""]])},[ee(Oy,{class:"m-auto",persist:x(s)},null,8,["persist"])],2),!x(Oe).drawings.presenterOnly&&!x(zt)&&x(r)?(I(),ye(x(r),{key:0,class:"ml-0"})):ue("v-if",!0)]),_:1},8,["style","width","scale"]),ue("v-if",!0)],4),ee(Yv)],64))}});const Ry={},Ty={class:"slidev-layout end"};function Ly(e,t){return I(),W("div",Ty," END ")}var Fy=Hs(Ry,[["render",Ly],["__scopeId","data-v-4bd85f04"]]);const Iy={key:0},Ny=["src"],wa=Se({props:{logoHeader:{type:String}},setup(e){return(t,n)=>e.logoHeader?(I(),W("header",Iy,[v("img",{src:e.logoHeader,width:"60",height:"60",class:"object-contain"},null,8,Ny)])):ue("v-if",!0)}}),jy={key:0,class:"mt-auto flex justify-between w-full text-fuchsia-700 dark:text-white"},Dy={key:0,class:"mb-0"},Hy={key:1,class:"mb-0"},xa=Se({props:{website:{type:String},handle:{type:String}},setup(e){return(t,n)=>e.website||e.handle?(I(),W("footer",jy,[e.website?(I(),W("p",Dy,gn(e.website),1)):ue("v-if",!0),e.handle?(I(),W("p",Hy,"@"+gn(e.handle),1)):ue("v-if",!0)])):ue("v-if",!0)}}),Vy={class:"bg-main slidev-layout"},By={class:"my-auto"},Lt=Se({props:{logoHeader:{type:String},website:{type:String},handle:{type:String}},setup(e){return Se({LayoutHeader:wa,LayoutFooter:xa}),(t,n)=>(I(),W("div",Vy,[ee(wa,{logoHeader:e.logoHeader},null,8,["logoHeader"]),v("div",By,[vn(t.$slots,"default")]),ee(xa,{website:e.website,handle:e.handle},null,8,["website","handle"])]))}}),zy=Se({setup(e){return Se({Default:Lt}),(t,n)=>(I(),ye(Lt,{class:"cover"},{default:Ne(()=>[vn(t.$slots,"default")]),_:3}))}});const Uy=e=>(gc("data-v-15f47eb8"),e=e(),vc(),e),Ky=Uy(()=>v("div",{class:"section"},[v("h1",{class:"underline"},"Ryan Walters"),v("h3",{style:{}},[Z("for "),v("b",null,"Projects Officer")])],-1)),Wy={setup(e){const t={theme:"unicorn",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",highlighter:"shiki",lineNumbers:!1,persist:!1};return(n,s)=>(I(),ye(zy,en(It(t)),{default:Ne(()=>[Ky]),_:1},16))}};var qy=Hs(Wy,[["__scopeId","data-v-15f47eb8"]]);const Yy=v("h1",null,"About Me",-1),Zy=v("p",null,"Full Stack Software Engineering student experienced with a variety of development spheres in Python, C#, Kotlin, C and more\u2026",-1),Gy=v("h3",null,"Hobbies",-1),Xy=v("ul",null,[v("li",null,"\u{1F980} Software Development; because I actually find making projects really fun! \u263A\uFE0F"),v("li",null,[Z("\u{1F4F7} Photography - check me out: "),v("a",{href:"https://www.rcw.photos",target:"_blank",rel:"noopener"},"www.rcw.photos")]),v("li",null,"\u{1F50D} RTS - Planetary Annihilation : Titans \u{1F916}, \u{1F6E0}\uFE0F Modded Minecraft, \u{1F527} Factorio, \u{1F30C} RimWorld")],-1),Jy={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[Yy,Zy,Gy,Xy]),_:1},16))}},Qy=v("h1",null,"About Me",-1),e1=v("p",null,"Full Stack Software Engineering student experienced with a variety of development spheres in Python, C#, Kotlin, C and more\u2026",-1),t1=v("h3",null,"Hobbies",-1),n1=v("ul",null,[v("li",null,"\u{1F980} Software Development; because I actually find making projects really fun! \u263A\uFE0F"),v("li",null,[Z("\u{1F4F7} Photography - check me out: "),v("a",{href:"https://www.rcw.photos",target:"_blank",rel:"noopener"},"www.rcw.photos")]),v("li",null,"\u{1F50D} RTS - Planetary Annihilation : Titans \u{1F916}, \u{1F6E0}\uFE0F Modded Minecraft, \u{1F527} Factorio, \u{1F30C} RimWorld")],-1),s1=v("h3",null,"Skills",-1),r1=v("ul",null,[v("li",null,[Z("\u{1F4BB} "),v("strong",null,"Web Development"),Z(" - Using Django, Flask, Vue, Express.js")]),v("li",null,[Z("\u{1F531} "),v("strong",null,"Project Hosting"),Z(" - Hosting on GitHub Pages, DigitalOcean, Firebase, Heroku and more\u2026")]),v("li",null,[Z("\u2699\uFE0F "),v("strong",null,"Software Development"),Z(" - Using PyQt5, Tkinter, Unity and more. HLSL Shaders!")]),v("li",null,[Z("\u{1F680} "),v("strong",null,"Algorithms & Visuals"),Z(" - Algorithm simulations of "),v("strong",null,"A* Pathfinding"),Z(" and "),v("strong",null,"Boids")]),v("li",null,[Z("\u2728 "),v("strong",null,"Portfolio Management"),Z(" - Many projects with long-term development with Git on GitHub")]),v("li",null,[Z("\u2712\uFE0F "),v("strong",null,"Design"),Z(" - I design my websites myself and edit my own photos. I am CSS3 & Sass proficient.")]),v("li",null,[Z("\u{1F6F0}\uFE0F "),v("strong",null,"DevOps"),Z(" - Heroku CLI, DigitalOcean, GitHub Pages & NameCheap Domains")]),v("li",null,[Z("\u{1F3C6} "),v("strong",null,"Competition Programming"),Z(" - ICPC, Exercism Problems, /Contest/ problem & solutions repository")])],-1),o1={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[Qy,e1,t1,n1,s1,r1]),_:1},16))}},i1=v("h1",null,"Goals",-1),l1=v("p",null,"What are my goals until Spring 2023?",-1),a1=v("h2",null,"Website Revamping",-1),c1=v("p",null,[Z("If elected, I can help maintain and improve ACM UTSA\u2019s website with design improvements, code cleanup and new features. ACM\u2019s website is built with Jekyll, a static site generator I happen to be quite experienced with."),v("br"),Z(" Additionally, I\u2019ve built and shipped several sites with it of varying style and purpose; ACM\u2019s can be no different.")],-1),u1=v("h2",null,"Member Attendance Form",-1),f1=v("p",null,"I\u2019ve found the Member Attendance Form to be lacking in function, speed and overall features. Additionally, the Typeform it uses to host upon costs ACM hundreds of dollars every year.",-1),d1=v("p",null,"If elected, I plan to look into ways to seamlessly replace this specific form in order to reduce costs for ACM, make attendance marking faster and easier to verify for officers.",-1),h1={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[i1,l1,a1,c1,u1,f1,d1]),_:1},16))}},p1=v("h1",null,"Projects",-1),m1=v("h2",null,"Promotion",-1),g1=v("p",null,"Projects at ACM are sorely missing - those who wish to promote their projects at all have nearly nowhere to do it, and this makes feedback, discussion, collaboration and assistance nearly impossible.",-1),v1=v("p",null,"Wouldn\u2019t you like to show off what you\u2019ve worked on? Let\u2019s make it a new standard at ACM.",-1),y1=v("h2",null,"Collaboration",-1),_1=v("p",null,"ACM is missing a platform for collaborating on projects together - one is sorely needed to connect those with an idea to those with the skills. From small projects to grandiose far off ideas, everything is on the table.",-1),b1={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[p1,m1,g1,v1,y1,_1]),_:1},16))}},w1=v("h2",null,"Assistance",-1),x1=v("p",null,"With my experience and skillset, I believe I can help the members of ACM out with their projects from start to finish.",-1),E1=v("ul",null,[v("li",null,[v("strong",null,"Ideas"),Z(": I\u2019m full of ideas when it comes to projects; I can help you expand on your project or provide a viewpoint you hadn\u2019t thought of yet!")]),v("li",null,[v("strong",null,"Issues"),Z(": With my experience, I\u2019ve fallen into so many traps, flaws and issues with projects that I guarantee you I can help speculate what problems you\u2019ll encounter in development.")]),v("li",null,[v("strong",null,"Tech Stack"),Z(": I\u2019m knowledgeable on tech stacks, frameworks and technologies, but even if I don\u2019t know what you need yet, I can find out. Let me help you figure out what you need!")])],-1),S1={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[w1,x1,E1]),_:1},16))}},O1=v("h1",null,"Contact & Platforms",-1),$1=v("ul",null,[v("li",null,[Z("\u{1F4AF} "),v("strong",null,"Website"),Z(" - "),v("a",{href:"https://xevion.dev",target:"_blank",rel:"noopener"},"xevion.dev")]),v("li",null,[Z("\u{1F527} "),v("strong",null,"GitHub"),Z(" - Xevion or "),v("a",{href:"https://github.com/Xevion",target:"_blank",rel:"noopener"},"github.com/Xevion")]),v("li",null,[Z("\u{1F6F0}\uFE0F "),v("strong",null,"LinkedIn"),Z(" - Ryan Walters at "),v("strong",null,[v("a",{href:"https://www.linkedin.com/in/ryancwalters/",target:"_blank",rel:"noopener"},"linkedin.com/in/ryancwalters/")])]),v("li",null,[Z("\u{1F680} "),v("strong",null,"Discord"),Z(" - "),v("code",null,"Xevion#8506"),Z(", or "),v("code",null,"Ctrl+K"),Z(" then type "),v("code",null,"Xevion")]),v("li",null,[Z("\u{1F4E8} "),v("strong",null,"Email"),Z(" - "),v("code",null,"ryanchwalters@gmail.com"),Z(" or "),v("code",null,"xevioni@yandex.com")]),v("li",null,[v("strong",null,"Photography Website"),Z(" - "),v("a",{href:"https://www.rcw.photos/",target:"_blank",rel:"noopener"},"www.rcw.photos")])],-1),P1={setup(e){const t={class:null};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[O1,$1]),_:1},16))}};const A1=e=>(gc("data-v-2710cc8e"),e=e(),vc(),e),C1=A1(()=>v("div",{class:"section text-center"},[v("h2",null,[Z("Viewable "),v("em",null,"anytime"),Z(" at")]),v("h3",null,[v("a",{href:"https://elect.xevion.dev/"},"elect.xevion.dev")])],-1)),M1={setup(e){const t={};return(n,s)=>(I(),ye(Lt,en(It(t)),{default:Ne(()=>[C1]),_:1},16))}};var k1=Hs(M1,[["__scopeId","data-v-2710cc8e"]]),R1=[{path:"1",name:"page-1",component:qy,meta:{theme:"unicorn",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",highlighter:"shiki",lineNumbers:!1,persist:!1,slide:{start:0,end:34,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:0,no:1},__clicksElements:[],__preloaded:!1}},{path:"2",name:"page-2",component:Jy,meta:{slide:{start:35,end:46,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:1,no:2,title:"About Me",level:1},__clicksElements:[],__preloaded:!1}},{path:"3",name:"page-3",component:o1,meta:{slide:{start:47,end:69,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:2,no:3,title:"About Me",level:1},__clicksElements:[],__preloaded:!1}},{path:"4",name:"page-4",component:h1,meta:{slide:{start:70,end:89,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:3,no:4,title:"Goals",level:1},__clicksElements:[],__preloaded:!1}},{path:"5",name:"page-5",component:b1,meta:{slide:{start:90,end:105,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:4,no:5,title:"Projects",level:1},__clicksElements:[],__preloaded:!1}},{path:"6",name:"page-6",component:S1,meta:{slide:{start:106,end:116,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:5,no:6,title:"Assistance",level:2},__clicksElements:[],__preloaded:!1}},{path:"7",name:"page-7",component:P1,meta:{class:null,slide:{start:116,end:129,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:6,no:7,title:"Contact &amp; Platforms",level:1},__clicksElements:[],__preloaded:!1}},{path:"8",name:"page-8",component:k1,meta:{slide:{start:130,end:148,filepath:"F:\\Programming\\Languages\\static\\elect.xevion.dev\\slides.md",id:7,no:8},__clicksElements:[],__preloaded:!1}},{path:"9",component:Fy,meta:{layout:"end"}}];const gt=R1,T1=[{name:"play",path:"/",component:ky,children:[...gt]},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}],qe=wg({history:Nm("/"),routes:T1});function L1(e,t,{mode:n="replace"}={}){return j({get(){const s=qe.currentRoute.value.query[e];return s==null?t!=null?t:null:Array.isArray(s)?s.filter(Boolean):s},set(s){Tt(()=>{qe[x(n)]({query:Ue(me({},qe.currentRoute.value.query),{[e]:s})})})}})}const yu=Y(0);Tt(()=>{qe.afterEach(async()=>{await Tt(),yu.value+=1})});const tn=j(()=>qe.currentRoute.value),Fi=j(()=>tn.value.query.print!==void 0),_u=j(()=>tn.value.query.print==="clicks"),zt=j(()=>tn.value.query.embedded!==void 0),Qt=j(()=>tn.value.path.startsWith("/presenter")),vs=j(()=>Fi.value&&!_u.value),zo=L1("clicks","0"),Ii=j(()=>gt.length-1),bu=j(()=>tn.value.path),Ie=j(()=>parseInt(bu.value.split(/\//g).slice(-1)[0])||1),F1=j(()=>jr(Ie.value)),Ke=j(()=>gt.find(e=>e.path===`${Ie.value}`)),I1=j(()=>{var e,t,n;return(n=(t=(e=Ke.value)==null?void 0:e.meta)==null?void 0:t.slide)==null?void 0:n.id}),N1=j(()=>{var e,t;return(t=(e=Ke.value)==null?void 0:e.meta)==null?void 0:t.layout}),ur=j(()=>gt.find(e=>e.path===`${Math.min(gt.length,Ie.value+1)}`)),wu=j(()=>{var e,t;return yu.value,((t=(e=Ke.value)==null?void 0:e.meta)==null?void 0:t.__clicksElements)||[]}),pt=j({get(){if(vs.value)return 99999;let e=+(zo.value||0);return isNaN(e)&&(e=0),e},set(e){zo.value=e.toString()}}),Rs=j(()=>{var e,t,n;return+((n=(t=(e=Ke.value)==null?void 0:e.meta)==null?void 0:t.clicks)!=null?n:wu.value.length)}),xu=j(()=>Ie.value<gt.length-1||pt.value<Rs.value),Eu=j(()=>Ie.value>1||pt.value>0),Su=j(()=>gt.filter(e=>{var t,n;return(n=(t=e.meta)==null?void 0:t.slide)==null?void 0:n.title}).reduce((e,t)=>(Ni(e,t),e),[])),Ou=j(()=>ji(Su.value)),j1=j(()=>Pu(Ou.value));function Zt(){Rs.value<=pt.value?Ts():pt.value+=1}async function Gt(){pt.value<=0?await Ls():pt.value-=1}function jr(e){return Qt.value?`/presenter/${e}`:`/${e}`}function Ts(){const e=Math.min(gt.length,Ie.value+1);return Vs(e)}async function Ls(e=!0){const t=Math.max(1,Ie.value-1);await Vs(t),e&&Rs.value&&qe.replace({query:Ue(me({},tn.value.query),{clicks:Rs.value})})}function Vs(e,t){return qe.push({path:jr(e),query:Ue(me({},tn.value.query),{clicks:t})})}function $u(e){const t=Y(0),{direction:n,distanceX:s,distanceY:r}=vm(e,{onSwipeStart(o){o.pointerType==="touch"&&(ks.value||(t.value=pp()))},onSwipeEnd(o){if(o.pointerType!=="touch"||!t.value||ks.value)return;const i=Math.abs(s.value),l=Math.abs(r.value);i/window.innerWidth>.3||i>100?n.value===Ut.LEFT?Zt():Gt():(l/window.innerHeight>.4||l>200)&&(n.value===Ut.DOWN?Ls():Ts())}})}async function Uo(){const{saveAs:e}=await import("./FileSaver.min.4f92ed14.js").then(function(t){return t.F});e(Uc(Oe.download)?Oe.download:"/slidev-exported.pdf",`${Oe.title}.pdf`)}async function D1(e){var t,n;if(e==null){const s=(n=(t=Ke.value)==null?void 0:t.meta)==null?void 0:n.slide;if(!(s!=null&&s.filepath))return!1;e=`${s.filepath}:${s.start}`}return await fetch(`/__open-in-editor?file=${encodeURIComponent(e)}`),!0}function Ni(e,t,n=1){var r,o,i,l,a;const s=(o=(r=t.meta)==null?void 0:r.slide)==null?void 0:o.level;s&&s>n&&e.length>0?Ni(e[e.length-1].children,t,n+1):e.push({children:[],level:n,path:t.path,hideInToc:Boolean((i=t.meta)==null?void 0:i.hideInToc),title:(a=(l=t.meta)==null?void 0:l.slide)==null?void 0:a.title})}function ji(e,t=!1,n){return e.map(s=>{var o;const r=Ue(me({},s),{active:s.path===((o=Ke.value)==null?void 0:o.path),hasActiveParent:t});return r.children.length>0&&(r.children=ji(r.children,r.active||r.hasActiveParent,r)),n&&(r.active||r.activeParent)&&(n.activeParent=!0),r})}function Pu(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>Ue(me({},n),{children:Pu(n.children,t+1)}))}var Ea=Object.freeze(Object.defineProperty({__proto__:null,rawRoutes:gt,router:qe,route:tn,isPrintMode:Fi,isPrintWithClicks:_u,isEmbedded:zt,isPresenter:Qt,isClicksDisabled:vs,queryClicks:zo,total:Ii,path:bu,currentPage:Ie,currentPath:F1,currentRoute:Ke,currentSlideId:I1,currentLayout:N1,nextRoute:ur,clicksElements:wu,clicks:pt,clicksTotal:Rs,hasNext:xu,hasPrev:Eu,rawTree:Su,treeWithActiveStatuses:Ou,tree:j1,next:Zt,prev:Gt,getPath:jr,nextSlide:Ts,prevSlide:Ls,go:Vs,useSwipeControls:$u,downloadPDF:Uo,openInEditor:D1,addToTree:Ni,getTreeWithActiveStatuses:ji},Symbol.toStringTag,{value:"Module"}));function H1(){cp({title:Oe.titleTemplate.replace("%s",Oe.title||"Slidev")});function e(){Qt.value||(+bt.page!=+Ie.value||pt.value!==bt.clicks)&&qe.replace({path:jr(bt.page),query:Ue(me({},qe.currentRoute.value.query),{clicks:bt.clicks||0})})}function t(){Qt.value&&(bt.page=+Ie.value,bt.clicks=pt.value)}qe.afterEach(t),re(pt,t),qe.isReady().then(()=>{re(bt,e,{deep:!0})})}const V1=Se({setup(e){return H1(),(t,n)=>{const s=Fc("RouterView");return I(),ye(s)}}}),Au=1/60*1e3,B1=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Cu=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(B1()),Au);function z1(e){let t=[],n=[],s=0,r=!1,o=!1;const i=new WeakSet,l={schedule:(a,c=!1,u=!1)=>{const f=u&&r,d=f?t:n;return c&&i.add(a),d.indexOf(a)===-1&&(d.push(a),f&&r&&(s=t.length)),a},cancel:a=>{const c=n.indexOf(a);c!==-1&&n.splice(c,1),i.delete(a)},process:a=>{if(r){o=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,s=t.length,s)for(let c=0;c<s;c++){const u=t[c];u(a),i.has(u)&&(l.schedule(u),e())}r=!1,o&&(o=!1,l.process(a))}};return l}const U1=40;let Ko=!0,Fs=!1,Wo=!1;const Dn={delta:0,timestamp:0},Bs=["read","update","preRender","render","postRender"],Dr=Bs.reduce((e,t)=>(e[t]=z1(()=>Fs=!0),e),{}),Sa=Bs.reduce((e,t)=>{const n=Dr[t];return e[t]=(s,r=!1,o=!1)=>(Fs||W1(),n.schedule(s,r,o)),e},{});Bs.reduce((e,t)=>(e[t]=Dr[t].cancel,e),{});Bs.reduce((e,t)=>(e[t]=()=>Dr[t].process(Dn),e),{});const K1=e=>Dr[e].process(Dn),Mu=e=>{Fs=!1,Dn.delta=Ko?Au:Math.max(Math.min(e-Dn.timestamp,U1),1),Dn.timestamp=e,Wo=!0,Bs.forEach(K1),Wo=!1,Fs&&(Ko=!1,Cu(Mu))},W1=()=>{Fs=!0,Ko=!0,Wo||Cu(Mu)},q1=()=>Dn;/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function ku(e,t){var n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,s=Object.getOwnPropertySymbols(e);r<s.length;r++)t.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(e,s[r])&&(n[s[r]]=e[s[r]]);return n}var Y1=function(){},Oa=function(){};const qo=(e,t,n)=>Math.min(Math.max(n,e),t),oo=.001,Z1=.01,$a=10,G1=.05,X1=1;function J1({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,o;Y1(e<=$a*1e3);let i=1-t;i=qo(G1,X1,i),e=qo(Z1,$a,e/1e3),i<1?(r=c=>{const u=c*i,f=u*e,d=u-n,m=Yo(c,i),p=Math.exp(-f);return oo-d/m*p},o=c=>{const f=c*i*e,d=f*n+n,m=Math.pow(i,2)*Math.pow(c,2)*e,p=Math.exp(-f),O=Yo(Math.pow(c,2),i);return(-r(c)+oo>0?-1:1)*((d-m)*p)/O}):(r=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-oo+u*f},o=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const l=5/e,a=e_(r,o,l);if(e=e*1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(a,2)*s;return{stiffness:c,damping:i*2*Math.sqrt(s*c),duration:e}}}const Q1=12;function e_(e,t,n){let s=n;for(let r=1;r<Q1;r++)s=s-e(s)/t(s);return s}function Yo(e,t){return e*Math.sqrt(1-t*t)}const t_=["duration","bounce"],n_=["stiffness","damping","mass"];function Pa(e,t){return t.some(n=>e[n]!==void 0)}function s_(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Pa(e,n_)&&Pa(e,t_)){const n=J1(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Di(e){var{from:t=0,to:n=1,restSpeed:s=2,restDelta:r}=e,o=ku(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:a,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=s_(o),m=Aa,p=Aa;function O(){const w=u?-(u/1e3):0,A=n-t,_=a/(2*Math.sqrt(l*c)),b=Math.sqrt(l/c)/1e3;if(r===void 0&&(r=Math.min(Math.abs(n-t)/100,.4)),_<1){const E=Yo(b,_);m=R=>{const T=Math.exp(-_*b*R);return n-T*((w+_*b*A)/E*Math.sin(E*R)+A*Math.cos(E*R))},p=R=>{const T=Math.exp(-_*b*R);return _*b*T*(Math.sin(E*R)*(w+_*b*A)/E+A*Math.cos(E*R))-T*(Math.cos(E*R)*(w+_*b*A)-E*A*Math.sin(E*R))}}else if(_===1)m=E=>n-Math.exp(-b*E)*(A+(w+b*A)*E);else{const E=b*Math.sqrt(_*_-1);m=R=>{const T=Math.exp(-_*b*R),B=Math.min(E*R,300);return n-T*((w+_*b*A)*Math.sinh(B)+E*A*Math.cosh(B))/E}}}return O(),{next:w=>{const A=m(w);if(d)i.done=w>=f;else{const _=p(w)*1e3,b=Math.abs(_)<=s,E=Math.abs(n-A)<=r;i.done=b&&E}return i.value=i.done?n:A,i},flipTarget:()=>{u=-u,[t,n]=[n,t],O()}}}Di.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Aa=e=>0,Ru=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Hi=(e,t,n)=>-n*e+n*t+e,Tu=(e,t)=>n=>Math.max(Math.min(n,t),e),ys=e=>e%1?Number(e.toFixed(5)):e,Or=/(-)?([\d]*\.?[\d])+/g,Zo=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,r_=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function zs(e){return typeof e=="string"}const Hr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Lu=Object.assign(Object.assign({},Hr),{transform:Tu(0,1)});Object.assign(Object.assign({},Hr),{default:1});const o_=e=>({test:t=>zs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_s=o_("%");Object.assign(Object.assign({},_s),{parse:e=>_s.parse(e)/100,transform:e=>_s.transform(e*100)});const Vi=(e,t)=>n=>Boolean(zs(n)&&r_.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Fu=(e,t,n)=>s=>{if(!zs(s))return s;const[r,o,i,l]=s.match(Or);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},dn={test:Vi("hsl","hue"),parse:Fu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+_s.transform(ys(t))+", "+_s.transform(ys(n))+", "+ys(Lu.transform(s))+")"},i_=Tu(0,255),io=Object.assign(Object.assign({},Hr),{transform:e=>Math.round(i_(e))}),Kt={test:Vi("rgb","red"),parse:Fu("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+io.transform(e)+", "+io.transform(t)+", "+io.transform(n)+", "+ys(Lu.transform(s))+")"};function l_(e){let t="",n="",s="",r="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),s=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),s=e.substr(3,1),r=e.substr(4,1),t+=t,n+=n,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}}const Go={test:Vi("#"),parse:l_,transform:Kt.transform},Vr={test:e=>Kt.test(e)||Go.test(e)||dn.test(e),parse:e=>Kt.test(e)?Kt.parse(e):dn.test(e)?dn.parse(e):Go.parse(e),transform:e=>zs(e)?e:e.hasOwnProperty("red")?Kt.transform(e):dn.transform(e)},Iu="${c}",Nu="${n}";function a_(e){var t,n,s,r;return isNaN(e)&&zs(e)&&((n=(t=e.match(Or))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(Zo))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function ju(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(Zo);s&&(n=s.length,e=e.replace(Zo,Iu),t.push(...s.map(Vr.parse)));const r=e.match(Or);return r&&(e=e.replace(Or,Nu),t.push(...r.map(Hr.parse))),{values:t,numColors:n,tokenised:e}}function Du(e){return ju(e).values}function Hu(e){const{values:t,numColors:n,tokenised:s}=ju(e),r=t.length;return o=>{let i=s;for(let l=0;l<r;l++)i=i.replace(l<n?Iu:Nu,l<n?Vr.transform(o[l]):ys(o[l]));return i}}const c_=e=>typeof e=="number"?0:e;function u_(e){const t=Du(e);return Hu(e)(t.map(c_))}const Vu={test:a_,parse:Du,createTransformer:Hu,getAnimatableNone:u_};function lo(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ca({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let r=0,o=0,i=0;if(!t)r=o=i=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;r=lo(a,l,e+1/3),o=lo(a,l,e),i=lo(a,l,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:s}}const f_=(e,t,n)=>{const s=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-s)+s))},d_=[Go,Kt,dn],Ma=e=>d_.find(t=>t.test(e)),Bu=(e,t)=>{let n=Ma(e),s=Ma(t),r=n.parse(e),o=s.parse(t);n===dn&&(r=Ca(r),n=Kt),s===dn&&(o=Ca(o),s=Kt);const i=Object.assign({},r);return l=>{for(const a in i)a!=="alpha"&&(i[a]=f_(r[a],o[a],l));return i.alpha=Hi(r.alpha,o.alpha,l),n.transform(i)}},h_=e=>typeof e=="number",p_=(e,t)=>n=>t(e(n)),zu=(...e)=>e.reduce(p_);function Uu(e,t){return h_(e)?n=>Hi(e,t,n):Vr.test(e)?Bu(e,t):Wu(e,t)}const Ku=(e,t)=>{const n=[...e],s=n.length,r=e.map((o,i)=>Uu(o,t[i]));return o=>{for(let i=0;i<s;i++)n[i]=r[i](o);return n}},m_=(e,t)=>{const n=Object.assign(Object.assign({},e),t),s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=Uu(e[r],t[r]));return r=>{for(const o in s)n[o]=s[o](r);return n}};function ka(e){const t=Vu.parse(e),n=t.length;let s=0,r=0,o=0;for(let i=0;i<n;i++)s||typeof t[i]=="number"?s++:t[i].hue!==void 0?o++:r++;return{parsed:t,numNumbers:s,numRGB:r,numHSL:o}}const Wu=(e,t)=>{const n=Vu.createTransformer(t),s=ka(e),r=ka(t);return s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers?zu(Ku(s.parsed,r.parsed),n):i=>`${i>0?t:e}`},g_=(e,t)=>n=>Hi(e,t,n);function v_(e){if(typeof e=="number")return g_;if(typeof e=="string")return Vr.test(e)?Bu:Wu;if(Array.isArray(e))return Ku;if(typeof e=="object")return m_}function y_(e,t,n){const s=[],r=n||v_(e[0]),o=e.length-1;for(let i=0;i<o;i++){let l=r(e[i],e[i+1]);if(t){const a=Array.isArray(t)?t[i]:t;l=zu(a,l)}s.push(l)}return s}function __([e,t],[n]){return s=>n(Ru(e,t,s))}function b_(e,t){const n=e.length,s=n-1;return r=>{let o=0,i=!1;if(r<=e[0]?i=!0:r>=e[s]&&(o=s-1,i=!0),!i){let a=1;for(;a<n&&!(e[a]>r||a===s);a++);o=a-1}const l=Ru(e[o],e[o+1],r);return t[o](l)}}function qu(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const o=e.length;Oa(o===t.length),Oa(!s||!Array.isArray(s)||s.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const i=y_(t,s,r),l=o===2?__(e,i):b_(e,i);return n?a=>l(qo(e[0],e[o-1],a)):l}const Br=e=>t=>1-e(1-t),Bi=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,w_=e=>t=>Math.pow(t,e),Yu=e=>t=>t*t*((e+1)*t-e),x_=e=>{const t=Yu(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Zu=1.525,E_=4/11,S_=8/11,O_=9/10,Gu=e=>e,zi=w_(2),$_=Br(zi),Xu=Bi(zi),Ju=e=>1-Math.sin(Math.acos(e)),Qu=Br(Ju),P_=Bi(Qu),Ui=Yu(Zu),A_=Br(Ui),C_=Bi(Ui),M_=x_(Zu),k_=4356/361,R_=35442/1805,T_=16061/1805,$r=e=>{if(e===1||e===0)return e;const t=e*e;return e<E_?7.5625*t:e<S_?9.075*t-9.9*e+3.4:e<O_?k_*t-R_*e+T_:10.8*e*e-20.52*e+10.72},L_=Br($r),F_=e=>e<.5?.5*(1-$r(1-e*2)):.5*$r(e*2-1)+.5;function I_(e,t){return e.map(()=>t||Xu).splice(0,e.length-1)}function N_(e){const t=e.length;return e.map((n,s)=>s!==0?s/(t-1):0)}function j_(e,t){return e.map(n=>n*t)}function fr({from:e=0,to:t=1,ease:n,offset:s,duration:r=300}){const o={done:!1,value:e},i=Array.isArray(t)?t:[e,t],l=j_(s&&s.length===i.length?s:N_(i),r);function a(){return qu(l,i,{ease:Array.isArray(n)?n:I_(i,n)})}let c=a();return{next:u=>(o.value=c(u),o.done=u>=r,o),flipTarget:()=>{i.reverse(),c=a()}}}function D_({velocity:e=0,from:t=0,power:n=.8,timeConstant:s=350,restDelta:r=.5,modifyTarget:o}){const i={done:!1,value:t};let l=n*e;const a=t+l,c=o===void 0?a:o(a);return c!==a&&(l=c-t),{next:u=>{const f=-l*Math.exp(-u/s);return i.done=!(f>r||f<-r),i.value=i.done?c:c+f,i},flipTarget:()=>{}}}const Ra={keyframes:fr,spring:Di,decay:D_};function H_(e){if(Array.isArray(e.to))return fr;if(Ra[e.type])return Ra[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?fr:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Di:fr}const ef=1/60*1e3,V_=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),tf=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(V_()),ef);function B_(e){let t=[],n=[],s=0,r=!1,o=!1;const i=new WeakSet,l={schedule:(a,c=!1,u=!1)=>{const f=u&&r,d=f?t:n;return c&&i.add(a),d.indexOf(a)===-1&&(d.push(a),f&&r&&(s=t.length)),a},cancel:a=>{const c=n.indexOf(a);c!==-1&&n.splice(c,1),i.delete(a)},process:a=>{if(r){o=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,s=t.length,s)for(let c=0;c<s;c++){const u=t[c];u(a),i.has(u)&&(l.schedule(u),e())}r=!1,o&&(o=!1,l.process(a))}};return l}const z_=40;let Xo=!0,Is=!1,Jo=!1;const Hn={delta:0,timestamp:0},Us=["read","update","preRender","render","postRender"],zr=Us.reduce((e,t)=>(e[t]=B_(()=>Is=!0),e),{}),U_=Us.reduce((e,t)=>{const n=zr[t];return e[t]=(s,r=!1,o=!1)=>(Is||q_(),n.schedule(s,r,o)),e},{}),K_=Us.reduce((e,t)=>(e[t]=zr[t].cancel,e),{});Us.reduce((e,t)=>(e[t]=()=>zr[t].process(Hn),e),{});const W_=e=>zr[e].process(Hn),nf=e=>{Is=!1,Hn.delta=Xo?ef:Math.max(Math.min(e-Hn.timestamp,z_),1),Hn.timestamp=e,Jo=!0,Us.forEach(W_),Jo=!1,Is&&(Xo=!1,tf(nf))},q_=()=>{Is=!0,Xo=!0,Jo||tf(nf)},Y_=()=>Hn;function sf(e,t,n=0){return e-t-n}function Z_(e,t,n=0,s=!0){return s?sf(t+-e,t,n):t-(e-t)+n}function G_(e,t,n,s){return s?e>=t+n:e<=-n}const X_=e=>{const t=({delta:n})=>e(n);return{start:()=>U_.update(t,!0),stop:()=>K_.update(t)}};function rf(e){var t,n,{from:s,autoplay:r=!0,driver:o=X_,elapsed:i=0,repeat:l=0,repeatType:a="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:d,onRepeat:m,onUpdate:p}=e,O=ku(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=O,A,_=0,b=O.duration,E,R=!1,T=!0,B;const ce=H_(O);!((n=(t=ce).needsInterpolation)===null||n===void 0)&&n.call(t,s,w)&&(B=qu([0,100],[s,w],{clamp:!1}),s=0,w=100);const fe=ce(Object.assign(Object.assign({},O),{from:s,to:w}));function he(){_++,a==="reverse"?(T=_%2===0,i=Z_(i,b,c,T)):(i=sf(i,b,c),a==="mirror"&&fe.flipTarget()),R=!1,m&&m()}function be(){A.stop(),d&&d()}function Pe(Ve){if(T||(Ve=-Ve),i+=Ve,!R){const Be=fe.next(Math.max(0,i));E=Be.value,B&&(E=B(E)),R=T?Be.done:i<=0}p==null||p(E),R&&(_===0&&(b!=null||(b=i)),_<l?G_(i,b,c,T)&&he():be())}function Te(){u==null||u(),A=o(Pe),A.start()}return r&&Te(),{stop:()=>{f==null||f(),A.stop()}}}function of(e,t){return t?e*(1e3/t):0}function J_({from:e=0,velocity:t=0,min:n,max:s,power:r=.8,timeConstant:o=750,bounceStiffness:i=500,bounceDamping:l=10,restDelta:a=1,modifyTarget:c,driver:u,onUpdate:f,onComplete:d,onStop:m}){let p;function O(b){return n!==void 0&&b<n||s!==void 0&&b>s}function w(b){return n===void 0?s:s===void 0||Math.abs(n-b)<Math.abs(s-b)?n:s}function A(b){p==null||p.stop(),p=rf(Object.assign(Object.assign({},b),{driver:u,onUpdate:E=>{var R;f==null||f(E),(R=b.onUpdate)===null||R===void 0||R.call(b,E)},onComplete:d,onStop:m}))}function _(b){A(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:a},b))}if(O(e))_({from:e,velocity:t,to:w(e)});else{let b=r*t+e;typeof c!="undefined"&&(b=c(b));const E=w(b),R=E===n?-1:1;let T,B;const ce=fe=>{T=B,B=fe,t=of(fe-T,Y_().delta),(R===1&&fe>E||R===-1&&fe<E)&&_({from:fe,to:E,velocity:t})};A({type:"decay",from:e,velocity:t,timeConstant:o,power:r,restDelta:a,modifyTarget:c,onUpdate:O(b)?ce:void 0})}return{stop:()=>p==null?void 0:p.stop()}}const lf=(e,t)=>1-3*t+3*e,af=(e,t)=>3*t-6*e,cf=e=>3*e,Pr=(e,t,n)=>((lf(t,n)*e+af(t,n))*e+cf(t))*e,uf=(e,t,n)=>3*lf(t,n)*e*e+2*af(t,n)*e+cf(t),Q_=1e-7,eb=10;function tb(e,t,n,s,r){let o,i,l=0;do i=t+(n-t)/2,o=Pr(i,s,r)-e,o>0?n=i:t=i;while(Math.abs(o)>Q_&&++l<eb);return i}const nb=8,sb=.001;function rb(e,t,n,s){for(let r=0;r<nb;++r){const o=uf(t,n,s);if(o===0)return t;t-=(Pr(t,n,s)-e)/o}return t}const dr=11,er=1/(dr-1);function ob(e,t,n,s){if(e===t&&n===s)return Gu;const r=new Float32Array(dr);for(let i=0;i<dr;++i)r[i]=Pr(i*er,e,n);function o(i){let l=0,a=1;const c=dr-1;for(;a!==c&&r[a]<=i;++a)l+=er;--a;const u=(i-r[a])/(r[a+1]-r[a]),f=l+u*er,d=uf(f,e,n);return d>=sb?rb(i,f,e,n):d===0?f:tb(i,l,l+er,e,n)}return i=>i===0||i===1?i:Pr(o(i),t,s)}const ff=(e,t)=>n=>Math.max(Math.min(n,t),e),bs=e=>e%1?Number(e.toFixed(5)):e,Ns=/(-)?([\d]*\.?[\d])+/g,Qo=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,ib=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ks(e){return typeof e=="string"}const Ws={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ws=Object.assign(Object.assign({},Ws),{transform:ff(0,1)}),tr=Object.assign(Object.assign({},Ws),{default:1}),Ki=e=>({test:t=>Ks(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),rn=Ki("deg"),xs=Ki("%"),Q=Ki("px"),Ta=Object.assign(Object.assign({},xs),{parse:e=>xs.parse(e)/100,transform:e=>xs.transform(e*100)}),Wi=(e,t)=>n=>Boolean(Ks(n)&&ib.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),df=(e,t,n)=>s=>{if(!Ks(s))return s;const[r,o,i,l]=s.match(Ns);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},nr={test:Wi("hsl","hue"),parse:df("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+xs.transform(bs(t))+", "+xs.transform(bs(n))+", "+bs(ws.transform(s))+")"},lb=ff(0,255),ao=Object.assign(Object.assign({},Ws),{transform:e=>Math.round(lb(e))}),as={test:Wi("rgb","red"),parse:df("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+ao.transform(e)+", "+ao.transform(t)+", "+ao.transform(n)+", "+bs(ws.transform(s))+")"};function ab(e){let t="",n="",s="",r="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),s=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),s=e.substr(3,1),r=e.substr(4,1),t+=t,n+=n,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}}const La={test:Wi("#"),parse:ab,transform:as.transform},rt={test:e=>as.test(e)||La.test(e)||nr.test(e),parse:e=>as.test(e)?as.parse(e):nr.test(e)?nr.parse(e):La.parse(e),transform:e=>Ks(e)?e:e.hasOwnProperty("red")?as.transform(e):nr.transform(e)},hf="${c}",pf="${n}";function cb(e){var t,n,s,r;return isNaN(e)&&Ks(e)&&((n=(t=e.match(Ns))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(Qo))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function mf(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(Qo);s&&(n=s.length,e=e.replace(Qo,hf),t.push(...s.map(rt.parse)));const r=e.match(Ns);return r&&(e=e.replace(Ns,pf),t.push(...r.map(Ws.parse))),{values:t,numColors:n,tokenised:e}}function gf(e){return mf(e).values}function vf(e){const{values:t,numColors:n,tokenised:s}=mf(e),r=t.length;return o=>{let i=s;for(let l=0;l<r;l++)i=i.replace(l<n?hf:pf,l<n?rt.transform(o[l]):bs(o[l]));return i}}const ub=e=>typeof e=="number"?0:e;function fb(e){const t=gf(e);return vf(e)(t.map(ub))}const qi={test:cb,parse:gf,createTransformer:vf,getAnimatableNone:fb},db=new Set(["brightness","contrast","saturate","opacity"]);function hb(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Ns)||[];if(!s)return e;const r=n.replace(s,"");let o=db.has(t)?1:0;return s!==n&&(o*=100),t+"("+o+r+")"}const pb=/([a-z-]*)\(.*?\)/g,ei=Object.assign(Object.assign({},qi),{getAnimatableNone:e=>{const t=e.match(pb);return t?t.map(hb).join(" "):e}}),co={};class mb{constructor(){this.subscriptions=new Set}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,s){if(!!this.subscriptions.size)for(const r of this.subscriptions)r(t,n,s)}clear(){this.subscriptions.clear()}}const Fa=e=>!isNaN(parseFloat(e));class gb{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new mb,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:r}=q1();this.lastUpdated!==r&&(this.timeDelta=s,this.lastUpdated=r),Sa.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Sa.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Fa(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Fa(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?of(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:s}=t(n);this.stopAnimation=s}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function vb(e){return new gb(e)}const{isArray:yb}=Array;function _b(){const e=Y({}),t=s=>{const r=o=>{!e.value[o]||(e.value[o].stop(),e.value[o].destroy(),up(e.value,o))};s?yb(s)?s.forEach(r):r(s):Object.keys(e.value).forEach(r)},n=(s,r,o)=>{if(e.value[s])return e.value[s];const i=vb(r);return i.onChange(l=>{We(o,s,l)}),We(e.value,s,i),i};return ki(t),{motionValues:e,get:n,stop:t}}const bb=e=>Array.isArray(e),on=()=>({type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}),uo=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}),wb=e=>({type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}),fo=()=>({type:"keyframes",ease:"linear",duration:300}),xb=e=>({type:"keyframes",duration:800,values:e}),Ia={default:wb,x:on,y:on,z:on,rotate:on,rotateX:on,rotateY:on,rotateZ:on,scaleX:uo,scaleY:uo,scale:uo,backgroundColor:fo,color:fo,opacity:fo},yf=(e,t)=>{let n;return bb(t)?n=xb:n=Ia[e]||Ia.default,me({to:t},n(t))},Na=Ue(me({},Ws),{transform:Math.round}),_f={color:rt,backgroundColor:rt,outlineColor:rt,fill:rt,stroke:rt,borderColor:rt,borderTopColor:rt,borderRightColor:rt,borderBottomColor:rt,borderLeftColor:rt,borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:rn,rotateX:rn,rotateY:rn,rotateZ:rn,scale:tr,scaleX:tr,scaleY:tr,scaleZ:tr,skew:rn,skewX:rn,skewY:rn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:ws,originX:Ta,originY:Ta,originZ:Q,zIndex:Na,filter:ei,WebkitFilter:ei,fillOpacity:ws,strokeOpacity:ws,numOctaves:Na},Yi=e=>_f[e],bf=(e,t)=>t&&typeof e=="number"&&t.transform?t.transform(e):e;function Eb(e,t){let n=Yi(e);return n!==ei&&(n=qi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Sb={linear:Gu,easeIn:zi,easeInOut:Xu,easeOut:$_,circIn:Ju,circInOut:P_,circOut:Qu,backIn:Ui,backInOut:C_,backOut:A_,anticipate:M_,bounceIn:L_,bounceInOut:F_,bounceOut:$r},ja=e=>{if(Array.isArray(e)){const[t,n,s,r]=e;return ob(t,n,s,r)}else if(typeof e=="string")return Sb[e];return e},Ob=e=>Array.isArray(e)&&typeof e[0]!="number",Da=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&qi.test(t)&&!t.startsWith("url("));function $b(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function Pb(r){var o=r,{ease:e,times:t,delay:n}=o,s=Ur(o,["ease","times","delay"]);const i=me({},s);return t&&(i.offset=t),e&&(i.ease=Ob(e)?e.map(ja):ja(e)),n&&(i.elapsed=-n),i}function Ab(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),$b(t),Cb(e)||(e=me(me({},e),yf(n,t.to))),me(me({},t),Pb(e))}function Cb(i){var l=i,{delay:e,repeat:t,repeatType:n,repeatDelay:s,from:r}=l,o=Ur(l,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(o).length}function Mb(e,t){return e[t]||e.default||e}function kb(e,t,n,s,r){const o=Mb(s,e);let i=o.from===null||o.from===void 0?t.get():o.from;const l=Da(e,n);i==="none"&&l&&typeof n=="string"&&(i=Eb(e,n));const a=Da(e,i);function c(f){const d={from:i,to:n,velocity:s.velocity?s.velocity:t.getVelocity(),onUpdate:m=>t.set(m)};return o.type==="inertia"||o.type==="decay"?J_(me(me({},d),o)):rf(Ue(me({},Ab(o,d,e)),{onUpdate:m=>{d.onUpdate(m),o.onUpdate&&o.onUpdate(m)},onComplete:()=>{s.onComplete&&s.onComplete(),r&&r(),f&&f()}}))}function u(f){return t.set(n),s.onComplete&&s.onComplete(),r&&r(),f&&f(),{stop:()=>{}}}return!a||!l||o.type===!1?u:c}function Rb(){const{motionValues:e,stop:t,get:n}=_b();return{motionValues:e,stop:t,push:(r,o,i,l={},a)=>{const c=i[r],u=n(r,c,i);if(l&&l.immediate){u.set(o);return}const f=kb(r,u,o,l,a);u.start(f)}}}function Tb(e,t={},{motionValues:n,push:s,stop:r}=Rb()){const o=x(t),i=Y(!1),l=re(n,d=>{i.value=Object.values(d).filter(m=>m.isAnimating()).length>0},{immediate:!0,deep:!0}),a=d=>{if(!o||!o[d])throw new Error(`The variant ${d} does not exist.`);return o[d]},c=d=>(typeof d=="string"&&(d=a(d)),Promise.all(Object.entries(d).map(([m,p])=>{if(m!=="transition")return new Promise(O=>{s(m,p,e,d.transition||yf(m,d[m]),O)})}).filter(Boolean)));return{isAnimating:i,apply:c,set:d=>{const m=Co(d)?d:a(d);Object.entries(m).forEach(([p,O])=>{p!=="transition"&&s(p,O,e,{immediate:!0})})},stopTransitions:()=>{l(),r()},leave:async d=>{let m;if(o&&(o.leave&&(m=o.leave),!o.leave&&o.initial&&(m=o.initial)),!m){d();return}await c(m),d()}}}const Zi=typeof window!="undefined",Lb=()=>Zi&&window.onpointerdown===null,Fb=()=>Zi&&window.ontouchstart===null,Ib=()=>Zi&&window.onmousedown===null;function Nb({target:e,state:t,variants:n,apply:s}){const r=x(n),o=[],i=(...p)=>{const O=Fe.apply(null,p);return o.push(O),O},l=Y(!1),a=Y(!1),c=Y(!1),u=j(()=>{let p=[];return r&&(r.hovered&&(p=[...p,...Object.keys(r.hovered)]),r.tapped&&(p=[...p,...Object.keys(r.tapped)]),r.focused&&(p=[...p,...Object.keys(r.focused)])),p}),f=j(()=>{const p={};Object.assign(p,t.value),l.value&&r.hovered&&Object.assign(p,r.hovered),a.value&&r.tapped&&Object.assign(p,r.tapped),c.value&&r.focused&&Object.assign(p,r.focused);for(const O in p)u.value.includes(O)||delete p[O];return p});r.hovered&&(i(e,"mouseenter",()=>{l.value=!0}),i(e,"mouseleave",()=>{l.value=!1,a.value=!1}),i(e,"mouseout",()=>{l.value=!1,a.value=!1})),r.tapped&&(Ib()&&(i(e,"mousedown",()=>{a.value=!0}),i(e,"mouseup",()=>{a.value=!1})),Lb()&&(i(e,"pointerdown",()=>{a.value=!0}),i(e,"pointerup",()=>{a.value=!1})),Fb()&&(i(e,"touchstart",()=>{a.value=!0}),i(e,"touchend",()=>{a.value=!1}))),r.focused&&(i(e,"focus",()=>{c.value=!0}),i(e,"blur",()=>{c.value=!1}));const d=re(f,s);return{stop:()=>{o.forEach(p=>p()),d()}}}function jb({set:e,target:t,variants:n,variant:s}){const r=x(n);return{stop:re(()=>t,()=>{!r||(r.initial&&e("initial"),r.enter&&(s.value="enter"))},{immediate:!0,flush:"pre"})}}function Db({state:e,apply:t}){return{stop:re(e,s=>{s&&t(s)},{immediate:!0})}}function Hb({target:e,variants:t,variant:n}){const s=x(t);let r=Yt;if(s&&(s.visible||s.visibleOnce)){const{stop:o}=pm(e,([{isIntersecting:i}])=>{s.visible?i?n.value="visible":n.value="initial":s.visibleOnce&&(i?n.value!=="visibleOnce"&&(n.value="visibleOnce"):n.value||(n.value="initial"))});r=o}return{stop:r}}function Vb(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){const n=Y([]);if(t.lifeCycleHooks){const{stop:r}=jb(e);n.value.push(r)}if(t.syncVariants){const{stop:r}=Db(e);n.value.push(r)}if(t.visibilityHooks){const{stop:r}=Hb(e);n.value.push(r)}if(t.eventListeners){const{stop:r}=Nb(e);n.value.push(r)}const s=()=>n.value.forEach(r=>r());return ki(s),{stop:s}}function wf(e={}){const t=Re(me({},e)),n=Y({});return re(t,()=>{const s={};for(const[r,o]of Object.entries(t)){const i=Yi(r),l=bf(o,i);s[r]=l}n.value=s},{immediate:!0,deep:!0}),{state:t,style:n}}const Bb=["","X","Y","Z"],zb=["perspective","translate","scale","rotate","skew"],xf=["transformPerspective","x","y","z"];zb.forEach(e=>{Bb.forEach(t=>{const n=e+t;xf.push(n)})});const Ub=new Set(xf);function Gi(e){return Ub.has(e)}const Kb=new Set(["originX","originY","originZ"]);function Ef(e){return Kb.has(e)}function Wb(e){const t={},n={};return Object.entries(e).forEach(([s,r])=>{Gi(s)||Ef(s)?t[s]=r:n[s]=r}),{transform:t,style:n}}function qb(e,t){let n,s;const{state:r,style:o}=wf(),i=re(()=>lt(e),c=>{if(!!c){s=c;for(const u of Object.keys(_f))c.style[u]===null||c.style[u]===""||Gi(u)||Ef(u)||We(r,u,c.style[u]);n&&Object.entries(n).forEach(([u,f])=>We(c.style,u,f)),t&&t(r)}},{immediate:!0}),l=re(o,c=>{if(!s){n=c;return}for(const u in c)We(s.style,u,c[u])},{immediate:!0});return{style:r,stop:()=>{s=void 0,n=void 0,i(),l()}}}const Yb={x:"translateX",y:"translateY",z:"translateZ"};function Sf(e={},t=!0){const n=Re(me({},e)),s=Y("");return re(n,r=>{let o="",i=!1;t&&(r.x||r.y||r.z)&&(o+=`translate3d(${[r.x||0,r.y||0,r.z||0].map(Q.transform).join(",")}) `,i=!0);for(const[l,a]of Object.entries(r)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const c=Yi(l),u=bf(a,c);o+=`${Yb[l]||l}(${u}) `}t&&!i&&(o+="translateZ(0px) "),s.value=o.trim()},{immediate:!0,deep:!0}),{state:n,transform:s}}function Zb(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=s=>s.endsWith("px")||s.endsWith("deg")?parseFloat(s):isNaN(Number(s))?Number(s):s;return t.reduce((s,r)=>{if(!r)return s;const[o,i]=r.split("("),a=i.split(",").map(u=>n(u.endsWith(")")?u.replace(")",""):u.trim())),c=a.length===1?a[0]:a;return Ue(me({},s),{[o]:c})},{})}function Gb(e,t){Object.entries(Zb(t)).forEach(([n,s])=>{s=parseFloat(s);const r=["x","y","z"];if(n==="translate3d"){if(s===0){r.forEach(o=>{We(e,o,0)});return}s.forEach((o,i)=>{We(e,r[i],o)});return}if(n==="translateX"){We(e,"x",s);return}if(n==="translateY"){We(e,"y",s);return}if(n==="translateZ"){We(e,"z",s);return}We(e,n,s)})}function Xb(e,t){let n,s;const{state:r,transform:o}=Sf(),i=re(()=>lt(e),c=>{!c||(s=c,c.style.transform&&Gb(r,c.style.transform),n&&(c.style.transform=n),t&&t(r))},{immediate:!0}),l=re(o,c=>{if(!s){n=c;return}s.style.transform=c},{immediate:!0});return{transform:r,stop:()=>{n=void 0,s=void 0,i(),l()}}}function Jb(e,t){const n=Re({}),s=f=>{Object.entries(f).forEach(([d,m])=>{We(n,d,m)})},{style:r,stop:o}=qb(e,s),{transform:i,stop:l}=Xb(e,s),a=re(n,f=>{Object.entries(f).forEach(([d,m])=>{const p=Gi(d)?i:r;p[d]&&p[d]===m||We(p,d,m)})},{immediate:!0,deep:!0}),c=re(()=>lt(e),f=>{!f||t&&s(t)},{immediate:!0});return{motionProperties:n,style:r,transform:i,stop:()=>{o(),l(),a(),c()}}}function Qb(e={}){const t=x(e),n=Y();return{state:j(()=>{if(!!n.value)return t[n.value]}),variant:n}}function ew(e,t={},n){const{motionProperties:s,stop:r}=Jb(e),{variant:o,state:i}=Qb(t),l=Tb(s,t),a=Ue(me({target:e,variant:o,variants:t,state:i,motionProperties:s},l),{stop:(u=!1)=>{}}),{stop:c}=Vb(a,n);return a.stop=(u=!1)=>{const f=()=>{a.stopTransitions(),r(),c()};if(!u&&t.value&&t.value.leave){const d=re(a.isAnimating,m=>{m||(d(),f())})}else f()},ki(()=>a.stop()),a}const tw=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"],nw=(e,t)=>{const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&Co(n.variants)&&(t.value=me(me({},t.value),n.variants)),tw.forEach(s=>{if(s==="delay"){if(n&&n[s]&&hp(n[s])){const r=n[s];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition=Ue(me({},t.value.enter.transition),{delay:r})),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition=Ue(me({},t.value.visible.transition),{delay:r})),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition=Ue(me({},t.value.visibleOnce.transition),{delay:r})))}return}s==="visible-once"&&(s="visibleOnce"),n&&n[s]&&Co(n[s])&&(t.value[s]=n[s])}))},ho=e=>{const t=(s,r,o)=>{const i=r.value&&typeof r.value=="string"?r.value:o.key;i&&co[i]&&co[i].stop();const l=Y(e||{});typeof r.value=="object"&&(l.value=r.value),nw(o,l);const a=ew(s,l);s.motionInstance=a,i&&We(co,i,a)},n=s=>{s.motionInstance&&s.motionInstance.stop()};return{created:t,unmounted:n,bind:t,unbind:n,getSSRProps(s,r){const{initial:o}=s.value||r.props||{};if(!o||Object.keys(o).length===0)return;const{transform:i,style:l}=Wb(o),{transform:a}=Sf(i),{style:c}=wf(l);return a.value&&(c.value.transform=a.value),{style:c.value}}}},sw={initial:{opacity:0},enter:{opacity:1}},rw={initial:{opacity:0},visible:{opacity:1}},ow={initial:{opacity:0},visibleOnce:{opacity:1}},iw={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},lw={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},aw={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},cw={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},uw={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},fw={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},dw={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},hw={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},pw={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},mw={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},gw={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},vw={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},yw={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},_w={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},bw={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},ww={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},xw={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},Ew={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},Sw={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},Ow={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},$w={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},Pw={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},Aw={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},Cw={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},Mw={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},kw={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},Rw={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Ha={__proto__:null,fade:sw,fadeVisible:rw,fadeVisibleOnce:ow,pop:iw,popVisible:lw,popVisibleOnce:aw,rollBottom:yw,rollLeft:cw,rollRight:dw,rollTop:mw,rollVisibleBottom:_w,rollVisibleLeft:uw,rollVisibleRight:hw,rollVisibleTop:gw,rollVisibleOnceBottom:bw,rollVisibleOnceLeft:fw,rollVisibleOnceRight:pw,rollVisibleOnceTop:vw,slideBottom:Mw,slideLeft:ww,slideRight:Sw,slideTop:Pw,slideVisibleBottom:kw,slideVisibleLeft:xw,slideVisibleRight:Ow,slideVisibleTop:Aw,slideVisibleOnceBottom:Rw,slideVisibleOnceLeft:Ew,slideVisibleOnceRight:$w,slideVisibleOnceTop:Cw};function Tw(e){const t="\xE0\xE1\xE2\xE4\xE6\xE3\xE5\u0101\u0103\u0105\xE7\u0107\u010D\u0111\u010F\xE8\xE9\xEA\xEB\u0113\u0117\u0119\u011B\u011F\u01F5\u1E27\xEE\xEF\xED\u012B\u012F\xEC\u0142\u1E3F\xF1\u0144\u01F9\u0148\xF4\xF6\xF2\xF3\u0153\xF8\u014D\xF5\u0151\u1E55\u0155\u0159\xDF\u015B\u0161\u015F\u0219\u0165\u021B\xFB\xFC\xF9\xFA\u016B\u01D8\u016F\u0171\u0173\u1E83\u1E8D\xFF\xFD\u017E\u017A\u017C\xB7/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",s=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,r=>`-${r}`).toLowerCase().replace(/\s+/g,"-").replace(s,r=>n.charAt(t.indexOf(r))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const Lw={install(e,t){if(e.directive("motion",ho()),!t||t&&!t.excludePresets)for(const n in Ha){const s=Ha[n];e.directive(`motion-${Tw(n)}`,ho(s))}if(t&&t.directives)for(const n in t.directives){const s=t.directives[n];s.initial,e.directive(`motion-${n}`,ho(s))}}};function Fw(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t),e.app.use(Lw)}function Ge(e,t,n){var s,r;return(r=((s=e.instance)==null?void 0:s.$).provides[t])!=null?r:n}function Iw(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){var u,f,d,m;if(vs.value||((u=Ge(n,cr))==null?void 0:u.value))return;const s=Ge(n,Rn),r=Ge(n,ar),o=Ge(n,Bo),i=n.modifiers.hide!==!1&&n.modifiers.hide!=null,l=n.modifiers.fade!==!1&&n.modifiers.fade!=null,a=((f=s==null?void 0:s.value)==null?void 0:f.length)||0,c=l?Tv:no;if(s&&!((d=s==null?void 0:s.value)!=null&&d.includes(t))&&s.value.push(t),n.value===null&&(n.value=s==null?void 0:s.value.length),!(o!=null&&o.value.has(n.value)))o==null||o.value.set(n.value,[t]);else if(!((m=o==null?void 0:o.value.get(n.value))!=null&&m.includes(t))){const p=(o==null?void 0:o.value.get(n.value))||[];o==null||o.value.set(n.value,[t].concat(p))}t==null||t.classList.toggle(Pn,!0),r&&re(r,()=>{var A;const p=(A=r==null?void 0:r.value)!=null?A:0,O=n.value!=null?p>=n.value:p>a;t.classList.contains(so)||t.classList.toggle(c,!O),i!==!1&&i!==void 0&&t.classList.toggle(c,O),t.classList.toggle(rs,!1);const w=o==null?void 0:o.value.get(p);w==null||w.forEach((_,b)=>{_.classList.toggle(Qs,!1),b===w.length-1?_.classList.toggle(rs,!0):_.classList.toggle(Qs,!0)}),t.classList.contains(rs)||t.classList.toggle(Qs,O)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Pn,!1);const s=Ge(n,Rn);s!=null&&s.value&&aa(s.value,t)}}),e.directive("after",{name:"v-after",mounted(t,n){var l,a;if(vs.value||((l=Ge(n,cr))==null?void 0:l.value))return;const s=Ge(n,Rn),r=Ge(n,ar),o=Ge(n,Bo),i=s==null?void 0:s.value.length;n.value===void 0&&(n.value=s==null?void 0:s.value.length),o!=null&&o.value.has(n.value)?(a=o==null?void 0:o.value.get(n.value))==null||a.push(t):o==null||o.value.set(n.value,[t]),t==null||t.classList.toggle(Pn,!0),r&&re(r,()=>{var u,f,d;const c=((u=r.value)!=null?u:0)>=((d=(f=n.value)!=null?f:i)!=null?d:0);t.classList.contains(so)||t.classList.toggle(no,!c),t.classList.toggle(rs,!1),t.classList.contains(rs)||t.classList.toggle(Qs,c)},{immediate:!0})},unmounted(t){t==null||t.classList.toggle(Pn,!0)}}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){var i,l,a;if(vs.value||((i=Ge(n,cr))==null?void 0:i.value))return;const s=Ge(n,Rn),r=Ge(n,ar),o=((l=s==null?void 0:s.value)==null?void 0:l.length)||0;s&&!((a=s==null?void 0:s.value)!=null&&a.includes(t))&&s.value.push(t),t==null||t.classList.toggle(Pn,!0),r&&re(r,()=>{var f;const c=(f=r==null?void 0:r.value)!=null?f:0,u=n.value!=null?c>=n.value:c>o;t.classList.toggle(no,u),t.classList.toggle(so,u)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Pn,!1);const s=Ge(n,Rn);s!=null&&s.value&&aa(s.value,t)}})}}}function Nw(){return{install(e){const t={};for(const s of Og(Ea))typeof s=="string"&&(t[s]=Ea[s]);const n=Re({nav:t,configs:Oe,themeConfigs:j(()=>Oe.themeConfig)});e.config.globalProperties.$slidev=cn(n)}}}const Zn=Yh(V1);Zn.use(qe);Zn.use(lp());Zn.use(Iw());Zn.use(Nw());Fw({app:Zn,router:qe});Zn.mount("#app");export{Ye as A,fn as B,Mt as C,Rv as D,wi as E,$e as F,re as G,xv as H,xi as I,ro as V,m0 as _,v as a,Dw as b,W as c,Se as d,vn as e,x as f,ye as g,ke as h,Et as i,Hw as j,ee as k,ss as l,ue as m,mt as n,I as o,Ai as p,Do as q,Y as r,gv as s,vv as t,vt as u,yv as v,Ne as w,bv as x,Oi as y,Bc as z};