diff --git a/docs/404.html b/docs/404.html index 3495b02..475e8ef 100644 --- a/docs/404.html +++ b/docs/404.html @@ -5,8 +5,8 @@ - - + + diff --git a/docs/assets/DrawingControls.811bcaf8.js b/docs/assets/DrawingControls.24ce7d9e.js similarity index 99% rename from docs/assets/DrawingControls.811bcaf8.js rename to docs/assets/DrawingControls.24ce7d9e.js index e69a9e6..3bd1244 100644 --- a/docs/assets/DrawingControls.811bcaf8.js +++ b/docs/assets/DrawingControls.24ce7d9e.js @@ -1,3 +1,3 @@ -import{o as r,c as i,a as n,d as k,r as C,u as H,b as K,e as N,n as y,f as e,g as E,w as F,h as a,i as _,j as u,k as l,l as p,m as w,V as f,p as O,q as j,F as q,s as P,t as T,v as U,x as G,y as m,z as b,A as L,_ as I,B as x}from"./vendor.dde13fad.js";const J={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Q=n("path",{fill:"currentColor",d:"M16 2C8.2 2 2 8.2 2 16s6.2 14 14 14s14-6.2 14-14S23.8 2 16 2zm0 26C9.4 28 4 22.6 4 16S9.4 4 16 4s12 5.4 12 12s-5.4 12-12 12z"},null,-1),W=n("path",{fill:"currentColor",d:"M21.4 23L16 17.6L10.6 23L9 21.4l5.4-5.4L9 10.6L10.6 9l5.4 5.4L21.4 9l1.6 1.6l-5.4 5.4l5.4 5.4z"},null,-1),X=[Q,W];function ee(c,s){return r(),i("svg",J,X)}var ne={name:"carbon-close-outline",render:ee};const te={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},oe=n("path",{fill:"currentColor",d:"M2 16A14 14 0 1 0 16 2A14 14 0 0 0 2 16Zm23.15 7.75L8.25 6.85a12 12 0 0 1 16.9 16.9ZM8.24 25.16a12 12 0 0 1-1.4-16.89l16.89 16.89a12 12 0 0 1-15.49 0Z"},null,-1),se=[oe];function re(c,s){return r(),i("svg",te,se)}var le={name:"carbon-error",render:re};const ie={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},ae=n("path",{fill:"currentColor",d:"M28.59 13.31L30 11.9L20 2l-1.31 1.42l1.18 1.18l-11.49 9.72l-1.72-1.71L5.25 14l5.66 5.68L2 28.58L3.41 30l8.91-8.91L18 26.75l1.39-1.42l-1.71-1.71l9.72-11.49ZM16.26 22.2L9.8 15.74L21.29 6L26 10.71Z"},null,-1),ce=[ae];function de(c,s){return r(),i("svg",ie,ce)}var _e={name:"carbon-pin",render:de};const ue={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},he=n("path",{fill:"currentColor",d:"M28.586 13.314L30 11.9L20 2l-1.314 1.415l1.186 1.186L8.38 14.322l-1.716-1.715L5.25 14l5.657 5.677L2 28.583L3.41 30l8.911-8.909L18 26.748l1.393-1.414l-1.716-1.716l9.724-11.49Z"},null,-1),pe=[he];function ve(c,s){return r(),i("svg",ue,pe)}var me={name:"carbon-pin-filled",render:ve};const be={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},ge=n("path",{fill:"currentColor",d:"M12 12h2v12h-2zm6 0h2v12h-2z"},null,-1),$e=n("path",{fill:"currentColor",d:"M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z"},null,-1),we=[ge,$e];function fe(c,s){return r(),i("svg",be,we)}var xe={name:"carbon-delete",render:fe};const Me={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ce=n("path",{fill:"currentColor",d:"M12 10h12.185l-3.587-3.586L22 5l6 6l-6 6l-1.402-1.415L24.182 12H12a6 6 0 0 0 0 12h8v2h-8a8 8 0 0 1 0-16Z"},null,-1),Le=[Ce];function ke(c,s){return r(),i("svg",Me,Le)}var ye={name:"carbon-redo",render:ke};const Be={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ae=n("path",{fill:"currentColor",d:"M20 10H7.815l3.587-3.586L10 5l-6 6l6 6l1.402-1.415L7.818 12H20a6 6 0 0 1 0 12h-8v2h8a8 8 0 0 0 0-16Z"},null,-1),ze=[Ae];function Ve(c,s){return r(),i("svg",Be,ze)}var Re={name:"carbon-undo",render:Ve};const Ze={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ye=n("path",{fill:"currentColor",d:"M26 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM6 26V6h20v20Z"},null,-1),De=[Ye];function Se(c,s){return r(),i("svg",Ze,De)}var He={name:"carbon-checkbox",render:Se};const Ke={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ne=n("path",{fill:"currentColor",d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"},null,-1),Ee=[Ne];function Fe(c,s){return r(),i("svg",Ke,Ee)}var Oe={name:"carbon-radio-button",render:Fe};const je={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},qe=n("path",{fill:"currentColor",d:"M10 6v2h12.59L6 24.59L7.41 26L24 9.41V22h2V6H10z"},null,-1),Pe=[qe];function Te(c,s){return r(),i("svg",je,Pe)}var Ue={name:"carbon-arrow-up-right",render:Te};const Ge=k({props:{storageKey:null,initial:null},setup(c){var t;const s=c,v=C(null),d=(t=s.initial)!=null?t:{x:0,y:0},g=s.storageKey?H(s.storageKey,d):C(d),{style:h}=K(v,{initialValue:g});return($,M)=>(r(),i("div",{ref_key:"el",ref:v,class:"fixed",style:y(e(h))},[N($.$slots,"default")],4))}}),Ie=n("svg",{width:"1em",height:"1em",class:"-mt-0.5",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},[n("path",{d:"M21.71 3.29a1 1 0 0 0-1.42 0l-18 18a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l18-18a1 1 0 0 0 0-1.42z",fill:"currentColor"})],-1),Je=[Ie],Qe=["onClick"],en=k({setup(c){function s(){L.undo()}function v(){L.redo()}function d(h){p.value=h,_.value=!0}function g(h){x.color=h,_.value=!0}return(h,t)=>{const $=I,M=Ue,B=Oe,A=He,z=Re,V=ye,R=xe,Z=me,Y=_e,D=le,S=ne;return r(),E(Ge,{class:a(["flex flex-wrap text-xl p-2 gap-1 rounded-md bg-main shadow transition-opacity duration-200 dark:border dark:border-gray-400 dark:border-opacity-10",e(_)?"":e(u)?"opacity-40 hover:opacity-90":"opacity-0 pointer-events-none"]),"storage-key":"slidev-drawing-pos","initial-x":10,"initial-y":10},{default:F(()=>[n("button",{class:a(["icon-btn",{shallow:e(p)!="stylus"}]),onClick:t[0]||(t[0]=o=>d("stylus"))},[l($)],2),n("button",{class:a(["icon-btn",{shallow:e(p)!="line"}]),onClick:t[1]||(t[1]=o=>d("line"))},Je,2),n("button",{class:a(["icon-btn",{shallow:e(p)!="arrow"}]),onClick:t[2]||(t[2]=o=>d("arrow"))},[l(M)],2),n("button",{class:a(["icon-btn",{shallow:e(p)!="ellipse"}]),onClick:t[3]||(t[3]=o=>d("ellipse"))},[l(B)],2),n("button",{class:a(["icon-btn",{shallow:e(p)!="rectangle"}]),onClick:t[4]||(t[4]=o=>d("rectangle"))},[l(A)],2),w(" TODO: not sure why it's not working! "),w(` `),l(f),(r(!0),i(q,null,O(e(j),o=>(r(),i("button",{key:o,class:a(["icon-btn",e(x).color===o?"active":"shallow"]),onClick:We=>g(o)},[n("div",{class:a(["w-6 h-6 transition-all transform border border-gray-400/50",e(x).color!==o?"rounded-1/2 scale-85":"rounded-md"]),style:y(e(_)?{background:o}:{borderColor:o})},null,6)],10,Qe))),128)),l(f),n("button",{class:a(["icon-btn",{disabled:!e(P)}]),onClick:t[5]||(t[5]=o=>s())},[l(z)],2),n("button",{class:a(["icon-btn",{disabled:!e(T)}]),onClick:t[6]||(t[6]=o=>v())},[l(V)],2),n("button",{class:a(["icon-btn",{disabled:!e(U)}]),onClick:t[7]||(t[7]=o=>e(G)())},[l(R)],2),l(f),n("button",{class:a(["icon-btn",{shallow:!e(u)}]),onClick:t[8]||(t[8]=o=>u.value=!e(u))},[m(l(Z,{class:"transform -rotate-45"},null,512),[[b,e(u)]]),m(l(Y,null,null,512),[[b,!e(u)]])],2),e(_)?(r(),i("button",{key:0,class:a(["icon-btn",{shallow:!e(_)}]),onClick:t[9]||(t[9]=o=>_.value=!e(_))},[m(l(D,null,null,512),[[b,e(u)]]),m(l(S,null,null,512),[[b,!e(u)]])],2)):w("v-if",!0)]),_:1},8,["class"])}}});export{en as default}; diff --git a/docs/assets/DrawingLayer.70e23d22.js b/docs/assets/DrawingLayer.97908077.js similarity index 84% rename from docs/assets/DrawingLayer.70e23d22.js rename to docs/assets/DrawingLayer.97908077.js index 89437a6..b1cca77 100644 --- a/docs/assets/DrawingLayer.70e23d22.js +++ b/docs/assets/DrawingLayer.97908077.js @@ -1 +1 @@ -import{d as t,C as s,D as l,r as c,E as r,A as n,G as u,H as i,I as m,o as p,c as f}from"./vendor.dde13fad.js";const g=t({setup(d){const o=s(l),e=c();return r(()=>{n.mount(e.value,e.value.parentElement),u(o,a=>n.options.coordinateScale=1/a,{immediate:!0}),i()}),m(()=>{n.unmount()}),(a,v)=>(p(),f("svg",{ref_key:"svg",ref:e,class:"w-full h-full absolute top-0 pointer-events-none"},null,512))}});export{g as default}; +import{d as t,C as s,D as l,r as c,E as r,A as n,G as u,H as i,I as m,o as p,c as f}from"./vendor.bb794082.js";const g=t({setup(d){const o=s(l),e=c();return r(()=>{n.mount(e.value,e.value.parentElement),u(o,a=>n.options.coordinateScale=1/a,{immediate:!0}),i()}),m(()=>{n.unmount()}),(a,v)=>(p(),f("svg",{ref_key:"svg",ref:e,class:"w-full h-full absolute top-0 pointer-events-none"},null,512))}});export{g as default}; diff --git a/docs/assets/index.e3500fc1.js b/docs/assets/index.12e4454c.js similarity index 91% rename from docs/assets/index.e3500fc1.js rename to docs/assets/index.12e4454c.js index 914f66b..300517c 100644 --- a/docs/assets/index.e3500fc1.js +++ b/docs/assets/index.12e4454c.js @@ -1 +1 @@ -import"./vendor.dde13fad.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function i(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(e){if(e.ep)return;e.ep=!0;const r=i(e);fetch(e.href,r)}};s(); +import"./vendor.bb794082.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))n(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function i(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(e){if(e.ep)return;e.ep=!0;const r=i(e);fetch(e.href,r)}};s(); diff --git a/docs/assets/vendor.dde13fad.js b/docs/assets/vendor.bb794082.js similarity index 50% rename from docs/assets/vendor.dde13fad.js rename to docs/assets/vendor.bb794082.js index bb90bfd..abfa23c 100644 --- a/docs/assets/vendor.dde13fad.js +++ b/docs/assets/vendor.bb794082.js @@ -1,18 +1,18 @@ -var Rf=Object.defineProperty,Ff=Object.defineProperties;var Lf=Object.getOwnPropertyDescriptors;var Ws=Object.getOwnPropertySymbols;var ol=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable;var rl=(e,t,n)=>t in e?Rf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||(t={}))ol.call(t,n)&&rl(e,n,t[n]);if(Ws)for(var n of Ws(t))il.call(t,n)&&rl(e,n,t[n]);return e},qe=(e,t)=>Ff(e,Lf(t));var Kr=(e,t)=>{var n={};for(var s in e)ol.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Ws)for(var s of Ws(e))t.indexOf(s)<0&&il.call(e,s)&&(n[s]=e[s]);return n};function oi(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const If="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nf=oi(If);function Za(e){return!!e||e===""}function nt(e){if(Y(e)){const t={};for(let n=0;n{if(n){const s=n.split(Df);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Fe(e){let t="";if(ke(e))t=e;else if(Y(e))for(let n=0;nke(e)?e:e==null?"":Y(e)||Te(e)&&(e.toString===Xa||!ne(e.toString))?JSON.stringify(e,Ga,2):String(e),Ga=(e,t)=>t&&t.__v_isRef?Ga(e,t.value):Rn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Qa(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!Y(t)&&!ec(t)?String(t):t,_e={},Tn=[],mt=()=>{},Hf=()=>!1,Bf=/^on[^a-z]/,Ar=e=>Bf.test(e),ii=e=>e.startsWith("onUpdate:"),Be=Object.assign,li=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zf=Object.prototype.hasOwnProperty,ce=(e,t)=>zf.call(e,t),Y=Array.isArray,Rn=e=>Pr(e)==="[object Map]",Qa=e=>Pr(e)==="[object Set]",ne=e=>typeof e=="function",ke=e=>typeof e=="string",ai=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",Ja=e=>Te(e)&&ne(e.then)&&ne(e.catch),Xa=Object.prototype.toString,Pr=e=>Xa.call(e),Uf=e=>Pr(e).slice(8,-1),ec=e=>Pr(e)==="[object Object]",ci=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nr=oi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kf=/-(\w)/g,Ot=kr(e=>e.replace(Kf,(t,n)=>n?n.toUpperCase():"")),Wf=/\B([A-Z])/g,vn=kr(e=>e.replace(Wf,"-$1").toLowerCase()),Cr=kr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wr=kr(e=>e?`on${Cr(e)}`:""),$s=(e,t)=>!Object.is(e,t),Fn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ll;const qf=()=>ll||(ll=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ct;class Yf{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ct&&(this.parent=ct,this.index=(ct.scopes||(ct.scopes=[])).push(this)-1)}run(t){if(this.active)try{return ct=this,t()}finally{ct=this.parent}}on(){ct=this}off(){ct=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},sc=e=>(e.w&Zt)>0,rc=e=>(e.n&Zt)>0,Gf=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||c>=s)&&l.push(a)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Y(e)?ci(n)&&l.push(i.get("length")):(l.push(i.get(dn)),Rn(e)&&l.push(i.get(_o)));break;case"delete":Y(e)||(l.push(i.get(dn)),Rn(e)&&l.push(i.get(_o)));break;case"set":Rn(e)&&l.push(i.get(dn));break}if(l.length===1)l[0]&&yo(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);yo(ui(a))}}function yo(e,t){for(const n of Y(e)?e:[...e])(n!==$t||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Jf=oi("__proto__,__v_isRef,__isVue"),lc=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(ai)),Xf=di(),ed=di(!1,!0),td=di(!0),cl=nd();function nd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=de(this);for(let o=0,i=this.length;o{e[t]=function(...n){Kn();const s=de(this)[t].apply(this,n);return Wn(),s}}),e}function di(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?_d:dc:t?fc:uc).get(s))return s;const i=Y(s);if(!e&&i&&ce(cl,r))return Reflect.get(cl,r,o);const l=Reflect.get(s,r,o);return(ai(r)?lc.has(r):Jf(r))||(e||st(s,"get",r),t)?l:ye(l)?!i||!ci(r)?l.value:l:Te(l)?e?an(l):Le(l):l}}const sd=ac(),rd=ac(!0);function ac(e=!1){return function(n,s,r,o){let i=n[s];if(Ss(i)&&ye(i)&&!ye(r))return!1;if(!e&&!Ss(r)&&(hc(r)||(r=de(r),i=de(i)),!Y(n)&&ye(i)&&!ye(r)))return i.value=r,!0;const l=Y(n)&&ci(s)?Number(s)e,Mr=e=>Reflect.getPrototypeOf(e);function qs(e,t,n=!1,s=!1){e=e.__v_raw;const r=de(e),o=de(t);t!==o&&!n&&st(r,"get",t),!n&&st(r,"get",o);const{has:i}=Mr(r),l=s?hi:n?vi: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 Ys(e,t=!1){const n=this.__v_raw,s=de(n),r=de(e);return e!==r&&!t&&st(s,"has",e),!t&&st(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Zs(e,t=!1){return e=e.__v_raw,!t&&st(de(e),"iterate",dn),Reflect.get(e,"size",e)}function ul(e){e=de(e);const t=de(this);return Mr(t).has.call(t,e)||(t.add(e),Rt(t,"add",e,e)),this}function fl(e,t){t=de(t);const n=de(this),{has:s,get:r}=Mr(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?$s(t,i)&&Rt(n,"set",e,t):Rt(n,"add",e,t),this}function dl(e){const t=de(this),{has:n,get:s}=Mr(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&&Rt(t,"delete",e,void 0),o}function hl(){const e=de(this),t=e.size!==0,n=e.clear();return t&&Rt(e,"clear",void 0,void 0),n}function Gs(e,t){return function(s,r){const o=this,i=o.__v_raw,l=de(i),a=t?hi:e?vi:Os;return!e&&st(l,"iterate",dn),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function Qs(e,t,n){return function(...s){const r=this.__v_raw,o=de(r),i=Rn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?hi:t?vi:Os;return!t&&st(o,"iterate",a?_o:dn),{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 It(e){return function(...t){return e==="delete"?!1:this}}function ud(){const e={get(o){return qs(this,o)},get size(){return Zs(this)},has:Ys,add:ul,set:fl,delete:dl,clear:hl,forEach:Gs(!1,!1)},t={get(o){return qs(this,o,!1,!0)},get size(){return Zs(this)},has:Ys,add:ul,set:fl,delete:dl,clear:hl,forEach:Gs(!1,!0)},n={get(o){return qs(this,o,!0)},get size(){return Zs(this,!0)},has(o){return Ys.call(this,o,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Gs(!0,!1)},s={get(o){return qs(this,o,!0,!0)},get size(){return Zs(this,!0)},has(o){return Ys.call(this,o,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Gs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Qs(o,!1,!1),n[o]=Qs(o,!0,!1),t[o]=Qs(o,!1,!0),s[o]=Qs(o,!0,!0)}),[e,n,t,s]}const[fd,dd,hd,pd]=ud();function pi(e,t){const n=t?e?pd:hd:e?dd:fd;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ce(n,r)&&r in s?n:s,r,o)}const md={get:pi(!1,!1)},gd={get:pi(!1,!0)},vd={get:pi(!0,!1)},uc=new WeakMap,fc=new WeakMap,dc=new WeakMap,_d=new WeakMap;function yd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bd(e){return e.__v_skip||!Object.isExtensible(e)?0:yd(Uf(e))}function Le(e){return Ss(e)?e:mi(e,!1,cc,md,uc)}function wd(e){return mi(e,!1,cd,gd,fc)}function an(e){return mi(e,!0,ad,vd,dc)}function mi(e,t,n,s,r){if(!Te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=bd(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Ln(e){return Ss(e)?Ln(e.__v_raw):!!(e&&e.__v_isReactive)}function Ss(e){return!!(e&&e.__v_isReadonly)}function hc(e){return!!(e&&e.__v_isShallow)}function pc(e){return Ln(e)||Ss(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function gi(e){return hr(e,"__v_skip",!0),e}const Os=e=>Te(e)?Le(e):e,vi=e=>Te(e)?an(e):e;function _i(e){Kt&&$t&&(e=de(e),ic(e.dep||(e.dep=ui())))}function yi(e,t){e=de(e),e.dep&&yo(e.dep)}function ye(e){return!!(e&&e.__v_isRef===!0)}function q(e){return mc(e,!1)}function Ft(e){return mc(e,!0)}function mc(e,t){return ye(e)?e:new xd(e,t)}class xd{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 _i(this),this._value}set value(t){t=this.__v_isShallow?t:de(t),$s(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Os(t),yi(this))}}function x(e){return ye(e)?e.value:e}const Ed={get:(e,t,n)=>x(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function gc(e){return Ln(e)?e:new Proxy(e,Ed)}class $d{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>_i(this),()=>yi(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Sd(e){return new $d(e)}function Od(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=Pd(e,n);return t}class Ad{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 Pd(e,t,n){const s=e[t];return ye(s)?s:new Ad(e,t,n)}class kd{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new fi(t,()=>{this._dirty||(this._dirty=!0,yi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=de(this);return _i(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Cd(e,t,n=!1){let s,r;const o=ne(e);return o?(s=e,r=mt):(s=e.get,r=e.set),new kd(s,r,o||!r,n)}Promise.resolve();function Wt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Tr(o,t,n)}return r}function gt(e,t,n,s){if(ne(e)){const o=Wt(e,t,n,s);return o&&Ja(o)&&o.catch(i=>{Tr(i,t,n)}),o}const r=[];for(let o=0;o>>1;As(et[s])kt&&et.splice(t,1)}function bc(e,t,n,s){Y(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),yc()}function Fd(e){bc(e,is,cs,On)}function Ld(e){bc(e,Dt,us,An)}function wi(e,t=null){if(cs.length){for(wo=t,is=[...new Set(cs)],cs.length=0,On=0;OnAs(n)-As(s)),An=0;Ane.id==null?1/0:e.id;function xc(e){bo=!1,pr=!0,wi(e),et.sort((n,s)=>As(n)-As(s));const t=mt;try{for(kt=0;ktg.trim()):f&&(r=n.map(mo))}let l,a=s[l=Wr(t)]||s[l=Wr(Ot(t))];!a&&o&&(a=s[l=Wr(vn(t))]),a&>(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,gt(c,e,6,r)}}function Ec(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=Ec(c,t,!0);u&&(l=!0,Be(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):(Y(o)?o.forEach(a=>i[a]=null):Be(i,o),s.set(e,i),i)}function xi(e,t){return!e||!Ar(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,vn(t))||ce(e,t))}let tt=null,$c=null;function mr(e){const t=tt;return tt=e,$c=e&&e.type.__scopeId||null,t}function be(e,t=tt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&El(-1);const o=mr(t),i=e(...r);return mr(o),s._d&&El(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function qr(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:g,ctx:v,inheritAttrs:E}=e;let w,P;const y=mr(e);try{if(n.shapeFlag&4){const O=r||s;w=Et(u.call(O,O,f,o,g,d,v)),P=a}else{const O=t;w=Et(O.length>1?O(o,{attrs:a,slots:l,emit:c}):O(o,null)),P=t.props?a:Nd(a)}}catch(O){fs.length=0,Tr(O,e,1),w=J(Qt)}let b=w;if(P&&E!==!1){const O=Object.keys(P),{shapeFlag:F}=b;O.length&&F&7&&(i&&O.some(ii)&&(P=jd(P,i)),b=Vn(b,P))}return n.dirs&&(b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),w=b,mr(y),w}const Nd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ar(n))&&((t||(t={}))[n]=e[n]);return t},jd=(e,t)=>{const n={};for(const s in e)(!ii(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Dd(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?pl(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Bd(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Ld(e)}function Ct(e,t){if(Re){let n=Re.provides;const s=Re.parent&&Re.parent.provides;s===n&&(n=Re.provides=Object.create(s)),n[e]=t}}function Tt(e,t,n=!1){const s=Re||tt;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 Ei(e,t){return $i(e,null,t)}const ml={};function oe(e,t,n){return $i(e,t,n)}function $i(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=_e){const l=Re;let a,c=!1,u=!1;if(ye(e)?(a=()=>e.value,c=hc(e)):Ln(e)?(a=()=>e,s=!0):Y(e)?(u=!0,c=e.some(Ln),a=()=>e.map(P=>{if(ye(P))return P.value;if(Ln(P))return cn(P);if(ne(P))return Wt(P,l,2)})):ne(e)?t?a=()=>Wt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),gt(e,l,3,[d])}:a=mt,t&&s){const P=a;a=()=>cn(P())}let f,d=P=>{f=w.onStop=()=>{Wt(P,l,4)}};if(ks)return d=mt,t?n&>(t,l,3,[a(),u?[]:void 0,d]):a(),mt;let g=u?[]:ml;const v=()=>{if(!!w.active)if(t){const P=w.run();(s||c||(u?P.some((y,b)=>$s(y,g[b])):$s(P,g)))&&(f&&f(),gt(t,l,3,[P,g===ml?void 0:g,d]),g=P)}else w.run()};v.allowRecurse=!!t;let E;r==="sync"?E=v:r==="post"?E=()=>Ne(v,l&&l.suspense):E=()=>{!l||l.isMounted?Fd(v):v()};const w=new fi(a,E);return t?n?v():g=w.run():r==="post"?Ne(w.run.bind(w),l&&l.suspense):w.run(),()=>{w.stop(),l&&l.scope&&li(l.scope.effects,w)}}function zd(e,t,n){const s=this.proxy,r=ke(e)?e.includes(".")?Sc(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Re;Hn(this);const l=$i(r,o.bind(s),n);return i?Hn(i):pn(),l}function Sc(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{cn(n,t)});else if(ec(e))for(const n in e)cn(e[n],t);return e}function Oc(e,t){e.shapeFlag&6&&e.component?Oc(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 Me(e){return ne(e)?{setup:e,name:e.name}:e}const gr=e=>!!e.type.__asyncLoader,Ac=e=>e.type.__isKeepAlive,Ud={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Lr(),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=(y,b,O,F,j)=>{const Z=y.component;c(y,b,O,0,l),a(Z.vnode,y,b,O,Z,l,F,y.slotScopeIds,j),Ne(()=>{Z.isDeactivated=!1,Z.a&&Fn(Z.a);const ue=y.props&&y.props.onVnodeMounted;ue&&ot(ue,Z.parent,y)},l)},s.deactivate=y=>{const b=y.component;c(y,d,null,1,l),Ne(()=>{b.da&&Fn(b.da);const O=y.props&&y.props.onVnodeUnmounted;O&&ot(O,b.parent,y),b.isDeactivated=!0},l)};function g(y){Yr(y),u(y,n,l,!0)}function v(y){r.forEach((b,O)=>{const F=Po(b.type);F&&(!y||!y(F))&&E(O)})}function E(y){const b=r.get(y);!i||b.type!==i.type?g(b):i&&Yr(i),r.delete(y),o.delete(y)}oe(()=>[e.include,e.exclude],([y,b])=>{y&&v(O=>ls(y,O)),b&&v(O=>!ls(b,O))},{flush:"post",deep:!0});let w=null;const P=()=>{w!=null&&r.set(w,Zr(n.subTree))};return Si(P),Cc(P),Oi(()=>{r.forEach(y=>{const{subTree:b,suspense:O}=n,F=Zr(b);if(y.type===F.type){Yr(F);const j=F.component.da;j&&Ne(j,O);return}g(y)})}),()=>{if(w=null,!t.default)return null;const y=t.default(),b=y[0];if(y.length>1)return i=null,y;if(!Ps(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let O=Zr(b);const F=O.type,j=Po(gr(O)?O.type.__asyncResolved||{}:F),{include:Z,exclude:ue,max:fe}=e;if(Z&&(!j||!ls(Z,j))||ue&&j&&ls(ue,j))return i=O,b;const he=O.key==null?F:O.key,we=r.get(he);return O.el&&(O=Vn(O),b.shapeFlag&128&&(b.ssContent=O)),w=he,we?(O.el=we.el,O.component=we.component,O.transition&&Oc(O,O.transition),O.shapeFlag|=512,o.delete(he),o.add(he)):(o.add(he),fe&&o.size>parseInt(fe,10)&&E(o.values().next().value)),O.shapeFlag|=256,i=O,b}}},Pc=Ud;function ls(e,t){return Y(e)?e.some(n=>ls(n,t)):ke(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Kd(e,t){kc(e,"a",t)}function Wd(e,t){kc(e,"da",t)}function kc(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ac(r.parent.vnode)&&qd(s,t,n,r),r=r.parent}}function qd(e,t,n,s){const r=Rr(t,e,s,!0);Ai(()=>{li(s[t],r)},n)}function Yr(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Zr(e){return e.shapeFlag&128?e.ssContent:e}function Rr(e,t,n=Re,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kn(),Hn(n);const l=gt(t,n,e,i);return pn(),Wn(),l});return s?r.unshift(o):r.push(o),o}}const Lt=e=>(t,n=Re)=>(!ks||e==="sp")&&Rr(e,t,n),Yd=Lt("bm"),Si=Lt("m"),Zd=Lt("bu"),Cc=Lt("u"),Oi=Lt("bum"),Ai=Lt("um"),Gd=Lt("sp"),Qd=Lt("rtg"),Jd=Lt("rtc");function Xd(e,t=Re){Rr("ec",e,t)}let xo=!0;function eh(e){const t=Tc(e),n=e.proxy,s=e.ctx;xo=!1,t.beforeCreate&&gl(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:v,activated:E,deactivated:w,beforeDestroy:P,beforeUnmount:y,destroyed:b,unmounted:O,render:F,renderTracked:j,renderTriggered:Z,errorCaptured:ue,serverPrefetch:fe,expose:he,inheritAttrs:we,components:Pe,directives:Ie,filters:Ue}=t;if(c&&th(c,s,null,e.appContext.config.unwrapInjectedRef),i)for(const G in i){const U=i[G];ne(U)&&(s[G]=U.bind(n))}if(r){const G=r.call(n,n);Te(G)&&(e.data=Le(G))}if(xo=!0,o)for(const G in o){const U=o[G],ie=ne(U)?U.bind(n,n):ne(U.get)?U.get.bind(n,n):mt,bt=!ne(U)&&ne(U.set)?U.set.bind(n):mt,Ve=I({get:ie,set:bt});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:rt=>Ve.value=rt})}if(l)for(const G in l)Mc(l[G],s,n,G);if(a){const G=ne(a)?a.call(n):a;Reflect.ownKeys(G).forEach(U=>{Ct(U,G[U])})}u&&gl(u,e,"c");function W(G,U){Y(U)?U.forEach(ie=>G(ie.bind(n))):U&&G(U.bind(n))}if(W(Yd,f),W(Si,d),W(Zd,g),W(Cc,v),W(Kd,E),W(Wd,w),W(Xd,ue),W(Jd,j),W(Qd,Z),W(Oi,y),W(Ai,O),W(Gd,fe),Y(he))if(he.length){const G=e.exposed||(e.exposed={});he.forEach(U=>{Object.defineProperty(G,U,{get:()=>n[U],set:ie=>n[U]=ie})})}else e.exposed||(e.exposed={});F&&e.render===mt&&(e.render=F),we!=null&&(e.inheritAttrs=we),Pe&&(e.components=Pe),Ie&&(e.directives=Ie)}function th(e,t,n=mt,s=!1){Y(e)&&(e=Eo(e));for(const r in e){const o=e[r];let i;Te(o)?"default"in o?i=Tt(o.from||r,o.default,!0):i=Tt(o.from||r):i=Tt(o),ye(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function gl(e,t,n){gt(Y(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mc(e,t,n,s){const r=s.includes(".")?Sc(n,s):()=>n[s];if(ke(e)){const o=t[e];ne(o)&&oe(r,o)}else if(ne(e))oe(r,e.bind(n));else if(Te(e))if(Y(e))e.forEach(o=>Mc(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&oe(r,o,e)}}function Tc(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=nh[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const nh={data:vl,props:on,emits:on,methods:on,computed:on,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:on,directives:on,watch:rh,provide:vl,inject:sh};function vl(e,t){return t?e?function(){return Be(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function sh(e,t){return on(Eo(e),Eo(t))}function Eo(e){if(Y(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,g]=Fc(f,t,!0);Be(i,d),g&&l.push(...g)};!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,Tn),Tn;if(Y(o))for(let u=0;u-1,g[1]=E<0||v-1||ce(g,"default"))&&l.push(f)}}}const c=[i,l];return s.set(e,c),c}function _l(e){return e[0]!=="$"}function yl(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function bl(e,t){return yl(e)===yl(t)}function wl(e,t){return Y(t)?t.findIndex(n=>bl(n,e)):ne(t)&&bl(t,e)?0:-1}const Lc=e=>e[0]==="_"||e==="$stable",Pi=e=>Y(e)?e.map(Et):[Et(e)],lh=(e,t,n)=>{const s=be((...r)=>Pi(t(...r)),n);return s._c=!1,s},Ic=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Lc(r))continue;const o=e[r];if(ne(o))t[r]=lh(r,o,s);else if(o!=null){const i=Pi(o);t[r]=()=>i}}},Nc=(e,t)=>{const n=Pi(t);e.slots.default=()=>n},ah=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),hr(t,"_",n)):Ic(t,e.slots={})}else e.slots={},t&&Nc(e,t);hr(e.slots,Fr,1)},ch=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=_e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Be(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Ic(t,r)),i=t}else t&&(Nc(e,t),i={default:1});if(o)for(const l in r)!Lc(l)&&!(l in i)&&delete r[l]};function ki(e,t){const n=tt;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;oSo(d,t&&(Y(t)?t[g]:t),n,s,r));return}if(gr(s)&&!r)return;const o=s.shapeFlag&4?Ri(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===_e?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ke(c)?(u[c]=null,ce(f,c)&&(f[c]=null)):ye(c)&&(c.value=null)),ne(a))Wt(a,l,12,[i,u]);else{const d=ke(a),g=ye(a);if(d||g){const v=()=>{if(e.f){const E=d?u[a]:a.value;r?Y(E)&&li(E,o):Y(E)?E.includes(o)||E.push(o):d?u[a]=[o]:(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ce(f,a)&&(f[a]=i)):ye(a)&&(a.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Ne(v,n)):v()}}}const Ne=Bd;function dh(e){return hh(e)}function hh(e,t){const n=qf();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:g=mt,cloneNode:v,insertStaticContent:E}=e,w=(p,m,_,A=null,S=null,R=null,N=!1,T=null,L=!!m.dynamicChildren)=>{if(p===m)return;p&&!Qn(p,m)&&(A=H(p),We(p,S,R,!0),p=null),m.patchFlag===-2&&(L=!1,m.dynamicChildren=null);const{type:k,ref:B,shapeFlag:V}=m;switch(k){case Ci:P(p,m,_,A);break;case Qt:y(p,m,_,A);break;case Gr:p==null&&b(m,_,A,N);break;case Oe:Ie(p,m,_,A,S,R,N,T,L);break;default:V&1?j(p,m,_,A,S,R,N,T,L):V&6?Ue(p,m,_,A,S,R,N,T,L):(V&64||V&128)&&k.process(p,m,_,A,S,R,N,T,L,xe)}B!=null&&S&&So(B,p&&p.ref,R,m||p,!m)},P=(p,m,_,A)=>{if(p==null)s(m.el=l(m.children),_,A);else{const S=m.el=p.el;m.children!==p.children&&c(S,m.children)}},y=(p,m,_,A)=>{p==null?s(m.el=a(m.children||""),_,A):m.el=p.el},b=(p,m,_,A)=>{[p.el,p.anchor]=E(p.children,m,_,A,p.el,p.anchor)},O=({el:p,anchor:m},_,A)=>{let S;for(;p&&p!==m;)S=d(p),s(p,_,A),p=S;s(m,_,A)},F=({el:p,anchor:m})=>{let _;for(;p&&p!==m;)_=d(p),r(p),p=_;r(m)},j=(p,m,_,A,S,R,N,T,L)=>{N=N||m.type==="svg",p==null?Z(m,_,A,S,R,N,T,L):he(p,m,S,R,N,T,L)},Z=(p,m,_,A,S,R,N,T)=>{let L,k;const{type:B,props:V,shapeFlag:z,transition:Q,patchFlag:le,dirs:$e}=p;if(p.el&&v!==void 0&&le===-1)L=p.el=v(p.el);else{if(L=p.el=i(p.type,R,V&&V.is,V),z&8?u(L,p.children):z&16&&fe(p.children,L,null,A,S,R&&B!=="foreignObject",N,T),$e&&tn(p,null,A,"created"),V){for(const Ee in V)Ee!=="value"&&!nr(Ee)&&o(L,Ee,null,V[Ee],R,p.children,A,S,M);"value"in V&&o(L,"value",null,V.value),(k=V.onVnodeBeforeMount)&&ot(k,A,p)}ue(L,p,p.scopeId,N,A)}$e&&tn(p,null,A,"beforeMount");const pe=(!S||S&&!S.pendingBranch)&&Q&&!Q.persisted;pe&&Q.beforeEnter(L),s(L,m,_),((k=V&&V.onVnodeMounted)||pe||$e)&&Ne(()=>{k&&ot(k,A,p),pe&&Q.enter(L),$e&&tn(p,null,A,"mounted")},S)},ue=(p,m,_,A,S)=>{if(_&&g(p,_),A)for(let R=0;R{for(let k=L;k{const T=m.el=p.el;let{patchFlag:L,dynamicChildren:k,dirs:B}=m;L|=p.patchFlag&16;const V=p.props||_e,z=m.props||_e;let Q;_&&nn(_,!1),(Q=z.onVnodeBeforeUpdate)&&ot(Q,_,m,p),B&&tn(m,p,_,"beforeUpdate"),_&&nn(_,!0);const le=S&&m.type!=="foreignObject";if(k?we(p.dynamicChildren,k,T,_,A,le,R):N||ie(p,m,T,null,_,A,le,R,!1),L>0){if(L&16)Pe(T,m,V,z,_,A,S);else if(L&2&&V.class!==z.class&&o(T,"class",null,z.class,S),L&4&&o(T,"style",V.style,z.style,S),L&8){const $e=m.dynamicProps;for(let pe=0;pe<$e.length;pe++){const Ee=$e[pe],dt=V[Ee],xn=z[Ee];(xn!==dt||Ee==="value")&&o(T,Ee,dt,xn,S,p.children,_,A,M)}}L&1&&p.children!==m.children&&u(T,m.children)}else!N&&k==null&&Pe(T,m,V,z,_,A,S);((Q=z.onVnodeUpdated)||B)&&Ne(()=>{Q&&ot(Q,_,m,p),B&&tn(m,p,_,"updated")},A)},we=(p,m,_,A,S,R,N)=>{for(let T=0;T{if(_!==A){for(const T in A){if(nr(T))continue;const L=A[T],k=_[T];L!==k&&T!=="value"&&o(p,T,k,L,N,m.children,S,R,M)}if(_!==_e)for(const T in _)!nr(T)&&!(T in A)&&o(p,T,_[T],null,N,m.children,S,R,M);"value"in A&&o(p,"value",_.value,A.value)}},Ie=(p,m,_,A,S,R,N,T,L)=>{const k=m.el=p?p.el:l(""),B=m.anchor=p?p.anchor:l("");let{patchFlag:V,dynamicChildren:z,slotScopeIds:Q}=m;Q&&(T=T?T.concat(Q):Q),p==null?(s(k,_,A),s(B,_,A),fe(m.children,_,B,S,R,N,T,L)):V>0&&V&64&&z&&p.dynamicChildren?(we(p.dynamicChildren,z,_,S,R,N,T),(m.key!=null||S&&m===S.subTree)&&Dc(p,m,!0)):ie(p,m,_,B,S,R,N,T,L)},Ue=(p,m,_,A,S,R,N,T,L)=>{m.slotScopeIds=T,p==null?m.shapeFlag&512?S.ctx.activate(m,_,A,N,L):Ke(m,_,A,S,R,N,L):W(p,m,L)},Ke=(p,m,_,A,S,R,N)=>{const T=p.component=Eh(p,A,S);if(Ac(p)&&(T.ctx.renderer=xe),$h(T),T.asyncDep){if(S&&S.registerDep(T,G),!p.el){const L=T.subTree=J(Qt);y(null,L,m,_)}return}G(T,p,m,_,S,R,N)},W=(p,m,_)=>{const A=m.component=p.component;if(Dd(p,m,_))if(A.asyncDep&&!A.asyncResolved){U(A,m,_);return}else A.next=m,Rd(A.update),A.update();else m.component=p.component,m.el=p.el,A.vnode=m},G=(p,m,_,A,S,R,N)=>{const T=()=>{if(p.isMounted){let{next:B,bu:V,u:z,parent:Q,vnode:le}=p,$e=B,pe;nn(p,!1),B?(B.el=le.el,U(p,B,N)):B=le,V&&Fn(V),(pe=B.props&&B.props.onVnodeBeforeUpdate)&&ot(pe,Q,B,le),nn(p,!0);const Ee=qr(p),dt=p.subTree;p.subTree=Ee,w(dt,Ee,f(dt.el),H(dt),p,S,R),B.el=Ee.el,$e===null&&Vd(p,Ee.el),z&&Ne(z,S),(pe=B.props&&B.props.onVnodeUpdated)&&Ne(()=>ot(pe,Q,B,le),S)}else{let B;const{el:V,props:z}=m,{bm:Q,m:le,parent:$e}=p,pe=gr(m);if(nn(p,!1),Q&&Fn(Q),!pe&&(B=z&&z.onVnodeBeforeMount)&&ot(B,$e,m),nn(p,!0),V&&ee){const Ee=()=>{p.subTree=qr(p),ee(V,p.subTree,p,S,null)};pe?m.type.__asyncLoader().then(()=>!p.isUnmounted&&Ee()):Ee()}else{const Ee=p.subTree=qr(p);w(null,Ee,_,A,p,S,R),m.el=Ee.el}if(le&&Ne(le,S),!pe&&(B=z&&z.onVnodeMounted)){const Ee=m;Ne(()=>ot(B,$e,Ee),S)}m.shapeFlag&256&&p.a&&Ne(p.a,S),p.isMounted=!0,m=_=A=null}},L=p.effect=new fi(T,()=>_c(p.update),p.scope),k=p.update=L.run.bind(L);k.id=p.uid,nn(p,!0),k()},U=(p,m,_)=>{m.component=p;const A=p.vnode.props;p.vnode=m,p.next=null,ih(p,m.props,A,_),ch(p,m.children,_),Kn(),wi(void 0,p.update),Wn()},ie=(p,m,_,A,S,R,N,T,L=!1)=>{const k=p&&p.children,B=p?p.shapeFlag:0,V=m.children,{patchFlag:z,shapeFlag:Q}=m;if(z>0){if(z&128){Ve(k,V,_,A,S,R,N,T,L);return}else if(z&256){bt(k,V,_,A,S,R,N,T,L);return}}Q&8?(B&16&&M(k,S,R),V!==k&&u(_,V)):B&16?Q&16?Ve(k,V,_,A,S,R,N,T,L):M(k,S,R,!0):(B&8&&u(_,""),Q&16&&fe(V,_,A,S,R,N,T,L))},bt=(p,m,_,A,S,R,N,T,L)=>{p=p||Tn,m=m||Tn;const k=p.length,B=m.length,V=Math.min(k,B);let z;for(z=0;zB?M(p,S,R,!0,!1,V):fe(m,_,A,S,R,N,T,L,V)},Ve=(p,m,_,A,S,R,N,T,L)=>{let k=0;const B=m.length;let V=p.length-1,z=B-1;for(;k<=V&&k<=z;){const Q=p[k],le=m[k]=L?Vt(m[k]):Et(m[k]);if(Qn(Q,le))w(Q,le,_,null,S,R,N,T,L);else break;k++}for(;k<=V&&k<=z;){const Q=p[V],le=m[z]=L?Vt(m[z]):Et(m[z]);if(Qn(Q,le))w(Q,le,_,null,S,R,N,T,L);else break;V--,z--}if(k>V){if(k<=z){const Q=z+1,le=Qz)for(;k<=V;)We(p[k],S,R,!0),k++;else{const Q=k,le=k,$e=new Map;for(k=le;k<=z;k++){const Je=m[k]=L?Vt(m[k]):Et(m[k]);Je.key!=null&&$e.set(Je.key,k)}let pe,Ee=0;const dt=z-le+1;let xn=!1,tl=0;const Gn=new Array(dt);for(k=0;k=dt){We(Je,S,R,!0);continue}let wt;if(Je.key!=null)wt=$e.get(Je.key);else for(pe=le;pe<=z;pe++)if(Gn[pe-le]===0&&Qn(Je,m[pe])){wt=pe;break}wt===void 0?We(Je,S,R,!0):(Gn[wt-le]=k+1,wt>=tl?tl=wt:xn=!0,w(Je,m[wt],_,null,S,R,N,T,L),Ee++)}const nl=xn?ph(Gn):Tn;for(pe=nl.length-1,k=dt-1;k>=0;k--){const Je=le+k,wt=m[Je],sl=Je+1{const{el:R,type:N,transition:T,children:L,shapeFlag:k}=p;if(k&6){rt(p.component.subTree,m,_,A);return}if(k&128){p.suspense.move(m,_,A);return}if(k&64){N.move(p,m,_,xe);return}if(N===Oe){s(R,m,_);for(let V=0;VT.enter(R),S);else{const{leave:V,delayLeave:z,afterLeave:Q}=T,le=()=>s(R,m,_),$e=()=>{V(R,()=>{le(),Q&&Q()})};z?z(R,le,$e):$e()}else s(R,m,_)},We=(p,m,_,A=!1,S=!1)=>{const{type:R,props:N,ref:T,children:L,dynamicChildren:k,shapeFlag:B,patchFlag:V,dirs:z}=p;if(T!=null&&So(T,null,_,p,!0),B&256){m.ctx.deactivate(p);return}const Q=B&1&&z,le=!gr(p);let $e;if(le&&($e=N&&N.onVnodeBeforeUnmount)&&ot($e,m,p),B&6)D(p.component,_,A);else{if(B&128){p.suspense.unmount(_,A);return}Q&&tn(p,null,m,"beforeUnmount"),B&64?p.type.remove(p,m,_,S,xe,A):k&&(R!==Oe||V>0&&V&64)?M(k,m,_,!1,!0):(R===Oe&&V&384||!S&&B&16)&&M(L,m,_),A&&wn(p)}(le&&($e=N&&N.onVnodeUnmounted)||Q)&&Ne(()=>{$e&&ot($e,m,p),Q&&tn(p,null,m,"unmounted")},_)},wn=p=>{const{type:m,el:_,anchor:A,transition:S}=p;if(m===Oe){$(_,A);return}if(m===Gr){F(p);return}const R=()=>{r(_),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(p.shapeFlag&1&&S&&!S.persisted){const{leave:N,delayLeave:T}=S,L=()=>N(_,R);T?T(p.el,R,L):L()}else R()},$=(p,m)=>{let _;for(;p!==m;)_=d(p),r(p),p=_;r(m)},D=(p,m,_)=>{const{bum:A,scope:S,update:R,subTree:N,um:T}=p;A&&Fn(A),S.stop(),R&&(R.active=!1,We(N,p,m,_)),T&&Ne(T,m),Ne(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},M=(p,m,_,A=!1,S=!1,R=0)=>{for(let N=R;Np.shapeFlag&6?H(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),ae=(p,m,_)=>{p==null?m._vnode&&We(m._vnode,null,null,!0):w(m._vnode||null,p,m,null,null,null,_),wc(),m._vnode=p},xe={p:w,um:We,m:rt,r:wn,mt:Ke,mc:fe,pc:ie,pbc:we,n:H,o:e};let re,ee;return t&&([re,ee]=t(xe)),{render:ae,hydrate:re,createApp:fh(ae,re)}}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Dc(e,t,n=!1){const s=e.children,r=t.children;if(Y(s)&&Y(r))for(let o=0;o>1,e[n[l]]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 mh=e=>e.__isTeleport,Vc="components";function Hc(e,t){return vh(Vc,e,!0,t)||e}const gh=Symbol();function vh(e,t,n=!0,s=!1){const r=tt||Re;if(r){const o=r.type;if(e===Vc){const l=Po(o);if(l&&(l===t||l===Ot(t)||l===Cr(Ot(t))))return o}const i=xl(r[e]||o[e],t)||xl(r.appContext[e],t);return!i&&s?o:i}}function xl(e,t){return e&&(e[t]||e[Ot(t)]||e[Cr(Ot(t))])}const Oe=Symbol(void 0),Ci=Symbol(void 0),Qt=Symbol(void 0),Gr=Symbol(void 0),fs=[];let hn=null;function C(e=!1){fs.push(hn=e?null:[])}function _h(){fs.pop(),hn=fs[fs.length-1]||null}let _r=1;function El(e){_r+=e}function Bc(e){return e.dynamicChildren=_r>0?hn||Tn:null,_h(),_r>0&&hn&&hn.push(e),e}function K(e,t,n,s,r,o){return Bc(h(e,t,n,s,r,o,!0))}function se(e,t,n,s,r){return Bc(J(e,t,n,s,r,!0))}function Ps(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}const Fr="__vInternal",zc=({key:e})=>e!=null?e:null,sr=({ref:e,ref_key:t,ref_for:n})=>e!=null?ke(e)||ye(e)||ne(e)?{i:tt,r:e,k:t,f:!!n}:e:null;function h(e,t=null,n=null,s=0,r=null,o=e===Oe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zc(t),ref:t&&sr(t),scopeId:$c,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?(Mi(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ke(n)?8:16),_r>0&&!i&&hn&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&hn.push(a),a}const J=yh;function yh(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===gh)&&(e=Qt),Ps(e)){const l=Vn(e,t,!0);return n&&Mi(l,n),l}if(Ph(e)&&(e=e.__vccOpts),t){t=Ae(t);let{class:l,style:a}=t;l&&!ke(l)&&(t.class=Fe(l)),Te(a)&&(pc(a)&&!Y(a)&&(a=Be({},a)),t.style=nt(a))}const i=ke(e)?1:Hd(e)?128:mh(e)?64:Te(e)?4:ne(e)?2:0;return h(e,t,n,s,r,i,o,!0)}function Ae(e){return e?pc(e)||Fr in e?Be({},e):e:null}function Vn(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Oo(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&zc(l),ref:t&&t.ref?n&&r?Y(r)?r.concat(sr(t)):[r,sr(t)]:sr(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!==Oe?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 te(e=" ",t=0){return J(Ci,null,e,t)}function ve(e="",t=!1){return t?(C(),se(Qt,null,e)):J(Qt,null,e)}function Et(e){return e==null||typeof e=="boolean"?J(Qt):Y(e)?J(Oe,null,e.slice()):typeof e=="object"?Vt(e):J(Ci,null,String(e))}function Vt(e){return e.el===null||e.memo?e:Vn(e)}function Mi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Mi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Fr in t)?t._ctx=tt:r===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),s&64?(n=16,t=[te(t)]):n=8);e.children=t,e.shapeFlag|=n}function Oo(...e){const t={};for(let n=0;nt(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;lPs(t)?!(t.type===Qt||t.type===Oe&&!Uc(t.children)):!0)?e:null}const Ao=e=>e?Kc(e)?Ri(e)||e.proxy:Ao(e.parent):null,yr=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ao(e.parent),$root:e=>Ao(e.root),$emit:e=>e.emit,$options:e=>Tc(e),$forceUpdate:e=>()=>_c(e.update),$nextTick:e=>Gt.bind(e.proxy),$watch:e=>zd.bind(e)}),bh={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 g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==_e&&ce(s,t))return i[t]=1,s[t];if(r!==_e&&ce(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&ce(c,t))return i[t]=3,o[t];if(n!==_e&&ce(n,t))return i[t]=4,n[t];xo&&(i[t]=0)}}const u=yr[t];let f,d;if(u)return t==="$attrs"&&st(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==_e&&ce(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ce(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==_e&&ce(r,t)?(r[t]=n,!0):s!==_e&&ce(s,t)?(s[t]=n,!0):ce(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!==_e&&ce(e,i)||t!==_e&&ce(t,i)||(l=o[0])&&ce(l,i)||ce(s,i)||ce(yr,i)||ce(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)}},wh=jc();let xh=0;function Eh(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||wh,o={uid:xh++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Yf(!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:Fc(s,r),emitsOptions:Ec(s,r),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:s.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,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=Id.bind(null,o),e.ce&&e.ce(o),o}let Re=null;const Lr=()=>Re||tt,Hn=e=>{Re=e,e.scope.on()},pn=()=>{Re&&Re.scope.off(),Re=null};function Kc(e){return e.vnode.shapeFlag&4}let ks=!1;function $h(e,t=!1){ks=t;const{props:n,children:s}=e.vnode,r=Kc(e);oh(e,n,r,t),ah(e,s);const o=r?Sh(e,t):void 0;return ks=!1,o}function Sh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gi(new Proxy(e.ctx,bh));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ah(e):null;Hn(e),Kn();const o=Wt(s,e,0,[e.props,r]);if(Wn(),pn(),Ja(o)){if(o.then(pn,pn),t)return o.then(i=>{$l(e,i,t)}).catch(i=>{Tr(i,e,0)});e.asyncDep=o}else $l(e,o,t)}else Wc(e,t)}function $l(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Te(t)&&(e.setupState=gc(t)),Wc(e,n)}let Sl;function Wc(e,t,n){const s=e.type;if(!e.render){if(!t&&Sl&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Be(Be({isCustomElement:o,delimiters:l},i),a);s.render=Sl(r,c)}}e.render=s.render||mt}Hn(e),Kn(),eh(e),Wn(),pn()}function Oh(e){return new Proxy(e.attrs,{get(t,n){return st(e,"get","$attrs"),t[n]}})}function Ah(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Oh(e))},slots:e.slots,emit:e.emit,expose:t}}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gc(gi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yr)return yr[n](e)}}))}function Po(e){return ne(e)&&e.displayName||e.name}function Ph(e){return ne(e)&&"__vccOpts"in e}const I=(e,t)=>Cd(e,t,ks);function Fi(e,t,n){const s=arguments.length;return s===2?Te(t)&&!Y(t)?Ps(t)?J(e,null,[t]):J(e,t):J(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ps(n)&&(n=[n]),J(e,t,n))}const kh="3.2.31",Ch="http://www.w3.org/2000/svg",ln=typeof document!="undefined"?document:null,Ol=ln&&ln.createElement("template"),Mh={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?ln.createElementNS(Ch,e):ln.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ln.createTextNode(e),createComment:e=>ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ln.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{Ol.innerHTML=s?`${e}`:e;const l=Ol.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 Th(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 Rh(e,t,n){const s=e.style,r=ke(n);if(n&&!r){for(const o in n)ko(s,o,n[o]);if(t&&!ke(t))for(const o in t)n[o]==null&&ko(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const Al=/\s*!important$/;function ko(e,t,n){if(Y(n))n.forEach(s=>ko(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Fh(e,t);Al.test(n)?e.setProperty(vn(s),n.replace(Al,""),"important"):e[s]=n}}const Pl=["Webkit","Moz","ms"],Qr={};function Fh(e,t){const n=Qr[t];if(n)return n;let s=Ot(t);if(s!=="filter"&&s in e)return Qr[t]=s;s=Cr(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(br=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);qc=!!(e&&Number(e[1])<=53)}let Co=0;const Nh=Promise.resolve(),jh=()=>{Co=0},Dh=()=>Co||(Nh.then(jh),Co=br());function Pn(e,t,n,s){e.addEventListener(t,n,s)}function Vh(e,t,n,s){e.removeEventListener(t,n,s)}function Hh(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]=Bh(t);if(s){const c=o[t]=zh(s,r);Pn(e,l,c,a)}else i&&(Vh(e,l,i,a),o[t]=void 0)}}const Cl=/(?:Once|Passive|Capture)$/;function Bh(e){let t;if(Cl.test(e)){t={};let n;for(;n=e.match(Cl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[vn(e.slice(2)),t]}function zh(e,t){const n=s=>{const r=s.timeStamp||br();(qc||r>=n.attached-1)&>(Uh(s,n.value),t,5,[s])};return n.value=e,n.attached=Dh(),n}function Uh(e,t){if(Y(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 Ml=/^on[a-z]/,Kh=(e,t,n,s,r=!1,o,i,l,a)=>{t==="class"?Th(e,s,r):t==="style"?Rh(e,n,s):Ar(t)?ii(t)||Hh(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wh(e,t,s,r))?Ih(e,t,s,o,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Lh(e,t,s,r))};function Wh(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ml.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ml.test(t)&&ke(n)?!1:t in e}const Tl=e=>{const t=e.props["onUpdate:modelValue"];return Y(t)?n=>Fn(t,n):t};function qh(e){e.target.composing=!0}function Rl(e){const t=e.target;t.composing&&(t.composing=!1,Yh(t,"input"))}function Yh(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Zh={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Tl(r);const o=s||r.props&&r.props.type==="number";Pn(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n?l=l.trim():o&&(l=mo(l)),e._assign(l)}),n&&Pn(e,"change",()=>{e.value=e.value.trim()}),t||(Pn(e,"compositionstart",qh),Pn(e,"compositionend",Rl),Pn(e,"change",Rl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Tl(o),e.composing||document.activeElement===e&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&mo(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Gh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Fl=(e,t)=>n=>{if(!("key"in n))return;const s=vn(n.key);if(t.some(r=>r===s||Gh[r]===s))return e(n)},Yc={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 Qh=Be({patchProp:Kh},Mh);let Ll;function Jh(){return Ll||(Ll=dh(Qh))}const Xh=(...e)=>{const t=Jh().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ep(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 ep(e){return ke(e)?document.querySelector(e):e}var tp=Object.defineProperty,Il=Object.getOwnPropertySymbols,np=Object.prototype.hasOwnProperty,sp=Object.prototype.propertyIsEnumerable,Nl=(e,t,n)=>t in e?tp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rp=(e,t)=>{for(var n in t||(t={}))np.call(t,n)&&Nl(e,n,t[n]);if(Il)for(var n of Il(t))sp.call(t,n)&&Nl(e,n,t[n]);return e},Zc="usehead",jl="head:count",Jr="data-head-attrs",op=(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 ip(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 lp=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}}},ap=()=>{const e=Tt(Zc);if(!e)throw new Error("You may forget to apply app.use(head)");return e},cp=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],up=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:rp({key:"default"},e[n])});else if(cp.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},Dl=(e,t)=>{const n=e.getAttribute(Jr);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(Jr,s.join(",")):e.removeAttribute(Jr)},fp=(e=window.document,t,n)=>{var s;const r=e.head;let o=r.querySelector(`meta[name="${jl}"]`);const i=o?Number(o.getAttribute("content")):0,l=[];if(o)for(let c=0,u=o.previousElementSibling;cop(c.tag,c.props,e));a=a.filter(c=>{for(let u=0;u{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))},dp=()=>{let e=[];const t={install(n){n.config.globalProperties.$head=t,n.provide(Zc,t)},get headTags(){const n=[];return e.forEach(s=>{up(s.value).forEach(o=>{if(o.tag==="meta"||o.tag==="base"||o.tag==="script"){const i=lp(o.props);if(i){let l=-1;for(let a=0;as!==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),Dl(n.documentElement,r),Dl(n.body,o);for(const l of Object.keys(i))fp(n,l,i[l])}};return t},hp=typeof window!="undefined",pp=e=>{const t=q(e),n=ap();n.addHeadObjs(t),hp&&(Ei(()=>{n.updateDOM()}),Oi(()=>{n.removeHeadObjs(t),n.updateDOM()}))};function Ze(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 mp(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function it(...e){return I(()=>e.every(t=>x(t)))}function Ir(e){return tc()?(nc(e),!0):!1}const _n=typeof window!="undefined",Gc=e=>typeof e=="string",gp=()=>+Date.now(),rr=()=>{};function vp(e,t){function n(...s){e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})}return n}const _p=e=>e();function yp(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 Vl=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,wp=Object.prototype.propertyIsEnumerable,xp=(e,t)=>{var n={};for(var s in e)bp.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Vl)for(var s of Vl(e))t.indexOf(s)<0&&wp.call(e,s)&&(n[s]=e[s]);return n};function Ep(e,t,n={}){const s=n,{eventFilter:r=_p}=s,o=xp(s,["eventFilter"]);return oe(e,vp(r,t),o)}function At(e){return I(()=>!x(e))}function $p(e){if(!ye(e))return Le(e);const t=new Proxy({},{get(n,s,r){return x(Reflect.get(e.value,s,r))},set(n,s,r){return ye(e.value[s])&&!ye(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 Le(t)}var Sp=Object.defineProperty,Op=Object.defineProperties,Ap=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,Pp=Object.prototype.hasOwnProperty,kp=Object.prototype.propertyIsEnumerable,Bl=(e,t,n)=>t in e?Sp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cp=(e,t)=>{for(var n in t||(t={}))Pp.call(t,n)&&Bl(e,n,t[n]);if(Hl)for(var n of Hl(t))kp.call(t,n)&&Bl(e,n,t[n]);return e},Mp=(e,t)=>Op(e,Ap(t));function Tp(e){if(!ye(e))return Od(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Sd(()=>({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=Mp(Cp({},e.value),{[n]:s})}}));return t}function Qc(e,t=!0){Lr()?Si(e):t?e():Gt(e)}function Jc(e=!1){if(ye(e))return t=>(e.value=typeof t=="boolean"?t:!e.value,e.value);{const t=q(e);return[t,s=>(t.value=typeof s=="boolean"?s:!t.value,t.value)]}}function In(e){var t;const n=x(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ut=_n?window:void 0,Rp=_n?window.document:void 0;function De(...e){let t,n,s,r;if(Gc(e[0])?([n,s,r]=e,t=ut):[t,n,s,r]=e,!t)return rr;let o=rr;const i=oe(()=>x(t),a=>{o(),a&&(a.addEventListener(n,s,r),o=()=>{a.removeEventListener(n,s,r),o=rr})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Ir(l),l}function Fp(e,t,n={}){const{window:s=ut,ignore:r}=n;if(!s)return;const o=q(!0),l=[De(s,"click",c=>{const u=In(e),f=c.composedPath();!u||u===c.target||f.includes(u)||!o.value||r&&r.length>0&&r.some(d=>{const g=In(d);return g&&(c.target===g||f.includes(g))})||t(c)},{passive:!0,capture:!0}),De(s,"pointerdown",c=>{const u=In(e);o.value=!!u&&!c.composedPath().includes(u)},{passive:!0})];return()=>l.forEach(c=>c())}const Lp=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):e?()=>!0:()=>!1;function Ip(e,t,n={}){const{target:s=ut,eventName:r="keydown",passive:o=!1}=n,i=Lp(e);return De(s,r,a=>{i(a)&&t(a)},o)}function Np(e={}){const{window:t=ut}=e,n=q(0);return t&&(De(t,"blur",()=>n.value+=1,!0),De(t,"focus",()=>n.value+=1,!0)),I(()=>(n.value,t==null?void 0:t.document.activeElement))}function or(e,t={}){const{window:n=ut}=t;let s;const r=q(!1),o=()=>{!n||(s||(s=n.matchMedia(e)),r.value=s.matches)};return Qc(()=>{o(),s&&("addEventListener"in s?s.addEventListener("change",o):s.addListener(o),Ir(()=>{"removeEventListener"in o?s.removeEventListener("change",o):s.removeListener(o)}))}),r}const jp={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var Dp=Object.defineProperty,zl=Object.getOwnPropertySymbols,Vp=Object.prototype.hasOwnProperty,Hp=Object.prototype.propertyIsEnumerable,Ul=(e,t,n)=>t in e?Dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bp=(e,t)=>{for(var n in t||(t={}))Vp.call(t,n)&&Ul(e,n,t[n]);if(zl)for(var n of zl(t))Hp.call(t,n)&&Ul(e,n,t[n]);return e};function zp(e,t={}){function n(l,a){let c=e[l];return a!=null&&(c=yp(c,a)),typeof c=="number"&&(c=`${c}px`),c}const{window:s=ut}=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 Bp({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:{},To="__vueuse_ssr_handlers__";Mo[To]=Mo[To]||{};const Up=Mo[To];function Kp(e,t){return Up[e]||t}function Wp(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":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.entries()))}};function yt(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,shallow:c,window:u=ut,eventFilter:f,onError:d=y=>{console.error(y)}}=s,g=x(t),v=Wp(g),E=(c?Ft:q)(t),w=(r=s.serializer)!=null?r:qp[v];if(!n)try{n=Kp("getDefaultStorage",()=>{var y;return(y=ut)==null?void 0:y.localStorage})()}catch(y){d(y)}function P(y){if(!(!n||y&&y.key!==e))try{const b=y?y.newValue:n.getItem(e);b==null?(E.value=g,a&&g!==null&&n.setItem(e,w.write(g))):typeof b!="string"?E.value=b:E.value=w.read(b)}catch(b){d(b)}}return P(),u&&l&&De(u,"storage",y=>setTimeout(()=>P(y),0)),n&&Ep(E,()=>{try{E.value==null?n.removeItem(e):n.setItem(e,w.write(E.value))}catch(y){d(y)}},{flush:o,deep:i,eventFilter:f}),E}function Yp(e){return or("(prefers-color-scheme: dark)",e)}var Zp=Object.defineProperty,Gp=Object.defineProperties,Qp=Object.getOwnPropertyDescriptors,Kl=Object.getOwnPropertySymbols,Jp=Object.prototype.hasOwnProperty,Xp=Object.prototype.propertyIsEnumerable,Wl=(e,t,n)=>t in e?Zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,em=(e,t)=>{for(var n in t||(t={}))Jp.call(t,n)&&Wl(e,n,t[n]);if(Kl)for(var n of Kl(t))Xp.call(t,n)&&Wl(e,n,t[n]);return e},tm=(e,t)=>Gp(e,Qp(t));function Px(e,t={}){var n,s;const r=(n=t.draggingElement)!=null?n:ut,o=q((s=t.initialValue)!=null?s:{x:0,y:0}),i=q(),l=d=>t.pointerTypes?t.pointerTypes.includes(d.pointerType):!0,a=d=>{x(t.preventDefault)&&d.preventDefault()},c=d=>{var g;if(!l(d)||x(t.exact)&&d.target!==x(e))return;const v=x(e).getBoundingClientRect(),E={x:d.pageX-v.left,y:d.pageY-v.top};((g=t.onStart)==null?void 0:g.call(t,E,d))!==!1&&(i.value=E,a(d))},u=d=>{var g;!l(d)||!i.value||(o.value={x:d.pageX-i.value.x,y:d.pageY-i.value.y},(g=t.onMove)==null||g.call(t,o.value,d),a(d))},f=d=>{var g;!l(d)||!i.value||(i.value=void 0,(g=t.onEnd)==null||g.call(t,o.value,d),a(d))};return _n&&(De(e,"pointerdown",c,!0),De(r,"pointermove",u,!0),De(r,"pointerup",f,!0)),tm(em({},Tp(o)),{position:o,isDragging:I(()=>!!i.value),style:I(()=>`left:${o.value.x}px;top:${o.value.y}px;`)})}var ql=Object.getOwnPropertySymbols,nm=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable,rm=(e,t)=>{var n={};for(var s in e)nm.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ql)for(var s of ql(e))t.indexOf(s)<0&&sm.call(e,s)&&(n[s]=e[s]);return n};function om(e,t,n={}){const s=n,{window:r=ut}=s,o=rm(s,["window"]);let i;const l=r&&"ResizeObserver"in r,a=()=>{i&&(i.disconnect(),i=void 0)},c=oe(()=>In(e),f=>{a(),l&&r&&f&&(i=new r.ResizeObserver(t),i.observe(f,o))},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Ir(u),{isSupported:l,stop:u}}function im(e,t={width:0,height:0},n={}){const s=q(t.width),r=q(t.height);return om(e,([o])=>{s.value=o.contentRect.width,r.value=o.contentRect.height},n),oe(()=>In(e),o=>{s.value=o?t.width:0,r.value=o?t.height:0}),{width:s,height:r}}const Yl=[["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 lm(e,t={}){const{document:n=Rp,autoExit:s=!1}=t,r=e||(n==null?void 0:n.querySelector("html")),o=q(!1);let i=!1,l=Yl[0];if(!n)i=!1;else for(const E of Yl)if(E[1]in n){l=E,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 g(){if(!i)return;await d();const E=In(r);E&&(await E[a](),o.value=!0)}async function v(){o.value?await d():await g()}return n&&De(n,f,()=>{o.value=!!(n!=null&&n[u])},!1),s&&Ir(d),{isSupported:i,isFullscreen:o,enter:g,exit:d,toggle:v}}const am={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function cm(e={}){const{reactive:t=!1,target:n=ut,aliasMap:s=am,passive:r=!0,onEventFired:o=rr}=e,i=Le(new Set),l={toJSON(){return{}},current:i},a=t?Le(l):l;function c(f,d){var g,v;const E=(g=f.key)==null?void 0:g.toLowerCase(),w=(v=f.code)==null?void 0:v.toLowerCase(),P=[w,E].filter(Boolean);w&&(d?i.add(f.code):i.delete(f.code));for(const y of P)y in a&&(t?a[y]=d:a[y].value=d)}n&&(De(n,"keydown",f=>(c(f,!0),o(f)),{passive:r}),De(n,"keyup",f=>(c(f,!1),o(f)),{passive:r}));const u=new Proxy(a,{get(f,d,g){if(typeof d!="string")return Reflect.get(f,d,g);if(d=d.toLowerCase(),d in s&&(d=s[d]),!(d in a))if(/[+_-]/.test(d)){const E=d.split(/[+_-]/g).map(w=>w.trim());a[d]=I(()=>E.every(w=>x(u[w])))}else a[d]=q(!1);const v=Reflect.get(f,d,g);return t?x(v):v}});return u}var zt=(e=>(e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE",e))(zt||{});function um(e,t={}){const n=q(e),{threshold:s=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i}=t,l=Le({x:0,y:0}),a=(j,Z)=>{l.x=j,l.y=Z},c=Le({x:0,y:0}),u=(j,Z)=>{c.x=j,c.y=Z},f=I(()=>l.x-c.x),d=I(()=>l.y-c.y),{max:g,abs:v}=Math,E=I(()=>g(v(f.value),v(d.value))>=s),w=q(!1),P=q(!1),y=I(()=>E.value?v(f.value)>v(d.value)?f.value>0?zt.LEFT:zt.RIGHT:d.value>0?zt.UP:zt.DOWN:zt.NONE),b=j=>t.pointerTypes?t.pointerTypes.includes(j.pointerType):!0,O=[De(e,"pointerdown",j=>{var Z,ue;if(!b(j))return;P.value=!0,(ue=(Z=n.value)==null?void 0:Z.style)==null||ue.setProperty("touch-action","none");const fe=j.target;fe==null||fe.setPointerCapture(j.pointerId);const{clientX:he,clientY:we}=j;a(he,we),u(he,we),i==null||i(j)}),De(e,"pointermove",j=>{if(!b(j)||!P.value)return;const{clientX:Z,clientY:ue}=j;u(Z,ue),!w.value&&E.value&&(w.value=!0),w.value&&(r==null||r(j))}),De(e,"pointerup",j=>{var Z,ue;!b(j)||(w.value&&(o==null||o(j,y.value)),P.value=!1,w.value=!1,(ue=(Z=n.value)==null?void 0:Z.style)==null||ue.setProperty("touch-action","initial"))})],F=()=>O.forEach(j=>j());return{isSwiping:an(w),direction:an(y),posStart:an(l),posEnd:an(c),distanceX:f,distanceY:d,stop:F}}var Zl,Gl;_n&&(window==null?void 0:window.navigator)&&((Zl=window==null?void 0:window.navigator)==null?void 0:Zl.platform)&&/iP(ad|hone|od)/.test((Gl=window==null?void 0:window.navigator)==null?void 0:Gl.platform);var fm=Object.defineProperty,Ql=Object.getOwnPropertySymbols,dm=Object.prototype.hasOwnProperty,hm=Object.prototype.propertyIsEnumerable,Jl=(e,t,n)=>t in e?fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pm=(e,t)=>{for(var n in t||(t={}))dm.call(t,n)&&Jl(e,n,t[n]);if(Ql)for(var n of Ql(t))hm.call(t,n)&&Jl(e,n,t[n]);return e};const mm={top:0,left:0,bottom:0,right:0,height:0,width:0};pm({text:""},mm);function Mt(e,t,n,s={}){var r;const{passive:o=!1,eventName:i,deep:l=!1}=s,a=Lr(),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=q(e[t]);return oe(()=>e[t],d=>f.value=d),oe(f,d=>{(d!==e[t]||l)&&c(u,d)},{deep:l}),f}else return I({get(){return e[t]},set(f){c(u,f)}})}function gm({window:e=ut,initialWidth:t=1/0,initialHeight:n=1/0}={}){const s=q(t),r=q(n),o=()=>{e&&(s.value=e.innerWidth,r.value=e.innerHeight)};return o(),Qc(o),De("resize",o,{passive:!0}),{width:s,height:r}}/*! +var Rf=Object.defineProperty,Ff=Object.defineProperties;var Lf=Object.getOwnPropertyDescriptors;var Ws=Object.getOwnPropertySymbols;var ol=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable;var rl=(e,t,n)=>t in e?Rf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||(t={}))ol.call(t,n)&&rl(e,n,t[n]);if(Ws)for(var n of Ws(t))il.call(t,n)&&rl(e,n,t[n]);return e},qe=(e,t)=>Ff(e,Lf(t));var Kr=(e,t)=>{var n={};for(var s in e)ol.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Ws)for(var s of Ws(e))t.indexOf(s)<0&&il.call(e,s)&&(n[s]=e[s]);return n};function oi(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const If="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Nf=oi(If);function Za(e){return!!e||e===""}function nt(e){if(Y(e)){const t={};for(let n=0;n{if(n){const s=n.split(Df);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Fe(e){let t="";if(Pe(e))t=e;else if(Y(e))for(let n=0;nPe(e)?e:e==null?"":Y(e)||Te(e)&&(e.toString===Xa||!ne(e.toString))?JSON.stringify(e,Ga,2):String(e),Ga=(e,t)=>t&&t.__v_isRef?Ga(e,t.value):Rn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Qa(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!Y(t)&&!ec(t)?String(t):t,_e={},Tn=[],mt=()=>{},Hf=()=>!1,Bf=/^on[^a-z]/,kr=e=>Bf.test(e),ii=e=>e.startsWith("onUpdate:"),Be=Object.assign,li=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},zf=Object.prototype.hasOwnProperty,ce=(e,t)=>zf.call(e,t),Y=Array.isArray,Rn=e=>Ar(e)==="[object Map]",Qa=e=>Ar(e)==="[object Set]",ne=e=>typeof e=="function",Pe=e=>typeof e=="string",ai=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",Ja=e=>Te(e)&&ne(e.then)&&ne(e.catch),Xa=Object.prototype.toString,Ar=e=>Xa.call(e),Uf=e=>Ar(e).slice(8,-1),ec=e=>Ar(e)==="[object Object]",ci=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nr=oi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Kf=/-(\w)/g,Ot=Pr(e=>e.replace(Kf,(t,n)=>n?n.toUpperCase():"")),Wf=/\B([A-Z])/g,vn=Pr(e=>e.replace(Wf,"-$1").toLowerCase()),Cr=Pr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wr=Pr(e=>e?`on${Cr(e)}`:""),$s=(e,t)=>!Object.is(e,t),Fn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ll;const qf=()=>ll||(ll=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ct;class Yf{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ct&&(this.parent=ct,this.index=(ct.scopes||(ct.scopes=[])).push(this)-1)}run(t){if(this.active)try{return ct=this,t()}finally{ct=this.parent}}on(){ct=this}off(){ct=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},sc=e=>(e.w&Zt)>0,rc=e=>(e.n&Zt)>0,Gf=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(c==="length"||c>=s)&&l.push(a)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":Y(e)?ci(n)&&l.push(i.get("length")):(l.push(i.get(dn)),Rn(e)&&l.push(i.get(_o)));break;case"delete":Y(e)||(l.push(i.get(dn)),Rn(e)&&l.push(i.get(_o)));break;case"set":Rn(e)&&l.push(i.get(dn));break}if(l.length===1)l[0]&&yo(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);yo(ui(a))}}function yo(e,t){for(const n of Y(e)?e:[...e])(n!==$t||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const Jf=oi("__proto__,__v_isRef,__isVue"),lc=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(ai)),Xf=di(),ed=di(!1,!0),td=di(!0),cl=nd();function nd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=de(this);for(let o=0,i=this.length;o{e[t]=function(...n){Kn();const s=de(this)[t].apply(this,n);return Wn(),s}}),e}function di(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?_d:dc:t?fc:uc).get(s))return s;const i=Y(s);if(!e&&i&&ce(cl,r))return Reflect.get(cl,r,o);const l=Reflect.get(s,r,o);return(ai(r)?lc.has(r):Jf(r))||(e||st(s,"get",r),t)?l:ye(l)?!i||!ci(r)?l.value:l:Te(l)?e?an(l):Le(l):l}}const sd=ac(),rd=ac(!0);function ac(e=!1){return function(n,s,r,o){let i=n[s];if(Ss(i)&&ye(i)&&!ye(r))return!1;if(!e&&!Ss(r)&&(hc(r)||(r=de(r),i=de(i)),!Y(n)&&ye(i)&&!ye(r)))return i.value=r,!0;const l=Y(n)&&ci(s)?Number(s)e,Mr=e=>Reflect.getPrototypeOf(e);function qs(e,t,n=!1,s=!1){e=e.__v_raw;const r=de(e),o=de(t);t!==o&&!n&&st(r,"get",t),!n&&st(r,"get",o);const{has:i}=Mr(r),l=s?hi:n?vi: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 Ys(e,t=!1){const n=this.__v_raw,s=de(n),r=de(e);return e!==r&&!t&&st(s,"has",e),!t&&st(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Zs(e,t=!1){return e=e.__v_raw,!t&&st(de(e),"iterate",dn),Reflect.get(e,"size",e)}function ul(e){e=de(e);const t=de(this);return Mr(t).has.call(t,e)||(t.add(e),Rt(t,"add",e,e)),this}function fl(e,t){t=de(t);const n=de(this),{has:s,get:r}=Mr(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?$s(t,i)&&Rt(n,"set",e,t):Rt(n,"add",e,t),this}function dl(e){const t=de(this),{has:n,get:s}=Mr(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&&Rt(t,"delete",e,void 0),o}function hl(){const e=de(this),t=e.size!==0,n=e.clear();return t&&Rt(e,"clear",void 0,void 0),n}function Gs(e,t){return function(s,r){const o=this,i=o.__v_raw,l=de(i),a=t?hi:e?vi:Os;return!e&&st(l,"iterate",dn),i.forEach((c,u)=>s.call(r,a(c),a(u),o))}}function Qs(e,t,n){return function(...s){const r=this.__v_raw,o=de(r),i=Rn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?hi:t?vi:Os;return!t&&st(o,"iterate",a?_o:dn),{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 It(e){return function(...t){return e==="delete"?!1:this}}function ud(){const e={get(o){return qs(this,o)},get size(){return Zs(this)},has:Ys,add:ul,set:fl,delete:dl,clear:hl,forEach:Gs(!1,!1)},t={get(o){return qs(this,o,!1,!0)},get size(){return Zs(this)},has:Ys,add:ul,set:fl,delete:dl,clear:hl,forEach:Gs(!1,!0)},n={get(o){return qs(this,o,!0)},get size(){return Zs(this,!0)},has(o){return Ys.call(this,o,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Gs(!0,!1)},s={get(o){return qs(this,o,!0,!0)},get size(){return Zs(this,!0)},has(o){return Ys.call(this,o,!0)},add:It("add"),set:It("set"),delete:It("delete"),clear:It("clear"),forEach:Gs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Qs(o,!1,!1),n[o]=Qs(o,!0,!1),t[o]=Qs(o,!1,!0),s[o]=Qs(o,!0,!0)}),[e,n,t,s]}const[fd,dd,hd,pd]=ud();function pi(e,t){const n=t?e?pd:hd:e?dd:fd;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ce(n,r)&&r in s?n:s,r,o)}const md={get:pi(!1,!1)},gd={get:pi(!1,!0)},vd={get:pi(!0,!1)},uc=new WeakMap,fc=new WeakMap,dc=new WeakMap,_d=new WeakMap;function yd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bd(e){return e.__v_skip||!Object.isExtensible(e)?0:yd(Uf(e))}function Le(e){return Ss(e)?e:mi(e,!1,cc,md,uc)}function wd(e){return mi(e,!1,cd,gd,fc)}function an(e){return mi(e,!0,ad,vd,dc)}function mi(e,t,n,s,r){if(!Te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=bd(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Ln(e){return Ss(e)?Ln(e.__v_raw):!!(e&&e.__v_isReactive)}function Ss(e){return!!(e&&e.__v_isReadonly)}function hc(e){return!!(e&&e.__v_isShallow)}function pc(e){return Ln(e)||Ss(e)}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function gi(e){return hr(e,"__v_skip",!0),e}const Os=e=>Te(e)?Le(e):e,vi=e=>Te(e)?an(e):e;function _i(e){Kt&&$t&&(e=de(e),ic(e.dep||(e.dep=ui())))}function yi(e,t){e=de(e),e.dep&&yo(e.dep)}function ye(e){return!!(e&&e.__v_isRef===!0)}function q(e){return mc(e,!1)}function Ft(e){return mc(e,!0)}function mc(e,t){return ye(e)?e:new xd(e,t)}class xd{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 _i(this),this._value}set value(t){t=this.__v_isShallow?t:de(t),$s(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Os(t),yi(this))}}function x(e){return ye(e)?e.value:e}const Ed={get:(e,t,n)=>x(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function gc(e){return Ln(e)?e:new Proxy(e,Ed)}class $d{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>_i(this),()=>yi(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function Sd(e){return new $d(e)}function Od(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=Ad(e,n);return t}class kd{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 Ad(e,t,n){const s=e[t];return ye(s)?s:new kd(e,t,n)}class Pd{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new fi(t,()=>{this._dirty||(this._dirty=!0,yi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=de(this);return _i(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Cd(e,t,n=!1){let s,r;const o=ne(e);return o?(s=e,r=mt):(s=e.get,r=e.set),new Pd(s,r,o||!r,n)}Promise.resolve();function Wt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Tr(o,t,n)}return r}function gt(e,t,n,s){if(ne(e)){const o=Wt(e,t,n,s);return o&&Ja(o)&&o.catch(i=>{Tr(i,t,n)}),o}const r=[];for(let o=0;o>>1;ks(et[s])Pt&&et.splice(t,1)}function bc(e,t,n,s){Y(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),yc()}function Fd(e){bc(e,is,cs,On)}function Ld(e){bc(e,Dt,us,kn)}function wi(e,t=null){if(cs.length){for(wo=t,is=[...new Set(cs)],cs.length=0,On=0;Onks(n)-ks(s)),kn=0;kne.id==null?1/0:e.id;function xc(e){bo=!1,pr=!0,wi(e),et.sort((n,s)=>ks(n)-ks(s));const t=mt;try{for(Pt=0;Ptg.trim()):f&&(r=n.map(mo))}let l,a=s[l=Wr(t)]||s[l=Wr(Ot(t))];!a&&o&&(a=s[l=Wr(vn(t))]),a&>(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,gt(c,e,6,r)}}function Ec(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=Ec(c,t,!0);u&&(l=!0,Be(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):(Y(o)?o.forEach(a=>i[a]=null):Be(i,o),s.set(e,i),i)}function xi(e,t){return!e||!kr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,vn(t))||ce(e,t))}let tt=null,$c=null;function mr(e){const t=tt;return tt=e,$c=e&&e.type.__scopeId||null,t}function be(e,t=tt,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&El(-1);const o=mr(t),i=e(...r);return mr(o),s._d&&El(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function qr(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:g,ctx:v,inheritAttrs:E}=e;let w,A;const y=mr(e);try{if(n.shapeFlag&4){const O=r||s;w=Et(u.call(O,O,f,o,g,d,v)),A=a}else{const O=t;w=Et(O.length>1?O(o,{attrs:a,slots:l,emit:c}):O(o,null)),A=t.props?a:Nd(a)}}catch(O){fs.length=0,Tr(O,e,1),w=X(Qt)}let b=w;if(A&&E!==!1){const O=Object.keys(A),{shapeFlag:F}=b;O.length&&F&7&&(i&&O.some(ii)&&(A=jd(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(y),w}const Nd=e=>{let t;for(const n in e)(n==="class"||n==="style"||kr(n))&&((t||(t={}))[n]=e[n]);return t},jd=(e,t)=>{const n={};for(const s in e)(!ii(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Dd(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?pl(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Bd(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Ld(e)}function Ct(e,t){if(Re){let n=Re.provides;const s=Re.parent&&Re.parent.provides;s===n&&(n=Re.provides=Object.create(s)),n[e]=t}}function Tt(e,t,n=!1){const s=Re||tt;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 Ei(e,t){return $i(e,null,t)}const ml={};function oe(e,t,n){return $i(e,t,n)}function $i(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=_e){const l=Re;let a,c=!1,u=!1;if(ye(e)?(a=()=>e.value,c=hc(e)):Ln(e)?(a=()=>e,s=!0):Y(e)?(u=!0,c=e.some(Ln),a=()=>e.map(A=>{if(ye(A))return A.value;if(Ln(A))return cn(A);if(ne(A))return Wt(A,l,2)})):ne(e)?t?a=()=>Wt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),gt(e,l,3,[d])}:a=mt,t&&s){const A=a;a=()=>cn(A())}let f,d=A=>{f=w.onStop=()=>{Wt(A,l,4)}};if(Ps)return d=mt,t?n&>(t,l,3,[a(),u?[]:void 0,d]):a(),mt;let g=u?[]:ml;const v=()=>{if(!!w.active)if(t){const A=w.run();(s||c||(u?A.some((y,b)=>$s(y,g[b])):$s(A,g)))&&(f&&f(),gt(t,l,3,[A,g===ml?void 0:g,d]),g=A)}else w.run()};v.allowRecurse=!!t;let E;r==="sync"?E=v:r==="post"?E=()=>Ne(v,l&&l.suspense):E=()=>{!l||l.isMounted?Fd(v):v()};const w=new fi(a,E);return t?n?v():g=w.run():r==="post"?Ne(w.run.bind(w),l&&l.suspense):w.run(),()=>{w.stop(),l&&l.scope&&li(l.scope.effects,w)}}function zd(e,t,n){const s=this.proxy,r=Pe(e)?e.includes(".")?Sc(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Re;Hn(this);const l=$i(r,o.bind(s),n);return i?Hn(i):pn(),l}function Sc(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{cn(n,t)});else if(ec(e))for(const n in e)cn(e[n],t);return e}function Oc(e,t){e.shapeFlag&6&&e.component?Oc(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 Me(e){return ne(e)?{setup:e,name:e.name}:e}const gr=e=>!!e.type.__asyncLoader,kc=e=>e.type.__isKeepAlive,Ud={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Lr(),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=(y,b,O,F,j)=>{const Z=y.component;c(y,b,O,0,l),a(Z.vnode,y,b,O,Z,l,F,y.slotScopeIds,j),Ne(()=>{Z.isDeactivated=!1,Z.a&&Fn(Z.a);const ue=y.props&&y.props.onVnodeMounted;ue&&ot(ue,Z.parent,y)},l)},s.deactivate=y=>{const b=y.component;c(y,d,null,1,l),Ne(()=>{b.da&&Fn(b.da);const O=y.props&&y.props.onVnodeUnmounted;O&&ot(O,b.parent,y),b.isDeactivated=!0},l)};function g(y){Yr(y),u(y,n,l,!0)}function v(y){r.forEach((b,O)=>{const F=Ao(b.type);F&&(!y||!y(F))&&E(O)})}function E(y){const b=r.get(y);!i||b.type!==i.type?g(b):i&&Yr(i),r.delete(y),o.delete(y)}oe(()=>[e.include,e.exclude],([y,b])=>{y&&v(O=>ls(y,O)),b&&v(O=>!ls(b,O))},{flush:"post",deep:!0});let w=null;const A=()=>{w!=null&&r.set(w,Zr(n.subTree))};return Si(A),Cc(A),Oi(()=>{r.forEach(y=>{const{subTree:b,suspense:O}=n,F=Zr(b);if(y.type===F.type){Yr(F);const j=F.component.da;j&&Ne(j,O);return}g(y)})}),()=>{if(w=null,!t.default)return null;const y=t.default(),b=y[0];if(y.length>1)return i=null,y;if(!As(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let O=Zr(b);const F=O.type,j=Ao(gr(O)?O.type.__asyncResolved||{}:F),{include:Z,exclude:ue,max:fe}=e;if(Z&&(!j||!ls(Z,j))||ue&&j&&ls(ue,j))return i=O,b;const he=O.key==null?F:O.key,we=r.get(he);return O.el&&(O=Vn(O),b.shapeFlag&128&&(b.ssContent=O)),w=he,we?(O.el=we.el,O.component=we.component,O.transition&&Oc(O,O.transition),O.shapeFlag|=512,o.delete(he),o.add(he)):(o.add(he),fe&&o.size>parseInt(fe,10)&&E(o.values().next().value)),O.shapeFlag|=256,i=O,b}}},Ac=Ud;function ls(e,t){return Y(e)?e.some(n=>ls(n,t)):Pe(e)?e.split(",").includes(t):e.test?e.test(t):!1}function Kd(e,t){Pc(e,"a",t)}function Wd(e,t){Pc(e,"da",t)}function Pc(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)kc(r.parent.vnode)&&qd(s,t,n,r),r=r.parent}}function qd(e,t,n,s){const r=Rr(t,e,s,!0);ki(()=>{li(s[t],r)},n)}function Yr(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Zr(e){return e.shapeFlag&128?e.ssContent:e}function Rr(e,t,n=Re,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Kn(),Hn(n);const l=gt(t,n,e,i);return pn(),Wn(),l});return s?r.unshift(o):r.push(o),o}}const Lt=e=>(t,n=Re)=>(!Ps||e==="sp")&&Rr(e,t,n),Yd=Lt("bm"),Si=Lt("m"),Zd=Lt("bu"),Cc=Lt("u"),Oi=Lt("bum"),ki=Lt("um"),Gd=Lt("sp"),Qd=Lt("rtg"),Jd=Lt("rtc");function Xd(e,t=Re){Rr("ec",e,t)}let xo=!0;function eh(e){const t=Tc(e),n=e.proxy,s=e.ctx;xo=!1,t.beforeCreate&&gl(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:v,activated:E,deactivated:w,beforeDestroy:A,beforeUnmount:y,destroyed:b,unmounted:O,render:F,renderTracked:j,renderTriggered:Z,errorCaptured:ue,serverPrefetch:fe,expose:he,inheritAttrs:we,components:Ae,directives:Ie,filters:Ue}=t;if(c&&th(c,s,null,e.appContext.config.unwrapInjectedRef),i)for(const G in i){const U=i[G];ne(U)&&(s[G]=U.bind(n))}if(r){const G=r.call(n,n);Te(G)&&(e.data=Le(G))}if(xo=!0,o)for(const G in o){const U=o[G],ie=ne(U)?U.bind(n,n):ne(U.get)?U.get.bind(n,n):mt,bt=!ne(U)&&ne(U.set)?U.set.bind(n):mt,Ve=I({get:ie,set:bt});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:rt=>Ve.value=rt})}if(l)for(const G in l)Mc(l[G],s,n,G);if(a){const G=ne(a)?a.call(n):a;Reflect.ownKeys(G).forEach(U=>{Ct(U,G[U])})}u&&gl(u,e,"c");function W(G,U){Y(U)?U.forEach(ie=>G(ie.bind(n))):U&&G(U.bind(n))}if(W(Yd,f),W(Si,d),W(Zd,g),W(Cc,v),W(Kd,E),W(Wd,w),W(Xd,ue),W(Jd,j),W(Qd,Z),W(Oi,y),W(ki,O),W(Gd,fe),Y(he))if(he.length){const G=e.exposed||(e.exposed={});he.forEach(U=>{Object.defineProperty(G,U,{get:()=>n[U],set:ie=>n[U]=ie})})}else e.exposed||(e.exposed={});F&&e.render===mt&&(e.render=F),we!=null&&(e.inheritAttrs=we),Ae&&(e.components=Ae),Ie&&(e.directives=Ie)}function th(e,t,n=mt,s=!1){Y(e)&&(e=Eo(e));for(const r in e){const o=e[r];let i;Te(o)?"default"in o?i=Tt(o.from||r,o.default,!0):i=Tt(o.from||r):i=Tt(o),ye(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function gl(e,t,n){gt(Y(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mc(e,t,n,s){const r=s.includes(".")?Sc(n,s):()=>n[s];if(Pe(e)){const o=t[e];ne(o)&&oe(r,o)}else if(ne(e))oe(r,e.bind(n));else if(Te(e))if(Y(e))e.forEach(o=>Mc(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&oe(r,o,e)}}function Tc(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=nh[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const nh={data:vl,props:on,emits:on,methods:on,computed:on,beforeCreate:He,created:He,beforeMount:He,mounted:He,beforeUpdate:He,updated:He,beforeDestroy:He,beforeUnmount:He,destroyed:He,unmounted:He,activated:He,deactivated:He,errorCaptured:He,serverPrefetch:He,components:on,directives:on,watch:rh,provide:vl,inject:sh};function vl(e,t){return t?e?function(){return Be(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function sh(e,t){return on(Eo(e),Eo(t))}function Eo(e){if(Y(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,g]=Fc(f,t,!0);Be(i,d),g&&l.push(...g)};!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,Tn),Tn;if(Y(o))for(let u=0;u-1,g[1]=E<0||v-1||ce(g,"default"))&&l.push(f)}}}const c=[i,l];return s.set(e,c),c}function _l(e){return e[0]!=="$"}function yl(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function bl(e,t){return yl(e)===yl(t)}function wl(e,t){return Y(t)?t.findIndex(n=>bl(n,e)):ne(t)&&bl(t,e)?0:-1}const Lc=e=>e[0]==="_"||e==="$stable",Ai=e=>Y(e)?e.map(Et):[Et(e)],lh=(e,t,n)=>{const s=be((...r)=>Ai(t(...r)),n);return s._c=!1,s},Ic=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Lc(r))continue;const o=e[r];if(ne(o))t[r]=lh(r,o,s);else if(o!=null){const i=Ai(o);t[r]=()=>i}}},Nc=(e,t)=>{const n=Ai(t);e.slots.default=()=>n},ah=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=de(t),hr(t,"_",n)):Ic(t,e.slots={})}else e.slots={},t&&Nc(e,t);hr(e.slots,Fr,1)},ch=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=_e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Be(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Ic(t,r)),i=t}else t&&(Nc(e,t),i={default:1});if(o)for(const l in r)!Lc(l)&&!(l in i)&&delete r[l]};function Pi(e,t){const n=tt;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;oSo(d,t&&(Y(t)?t[g]:t),n,s,r));return}if(gr(s)&&!r)return;const o=s.shapeFlag&4?Ri(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===_e?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(Pe(c)?(u[c]=null,ce(f,c)&&(f[c]=null)):ye(c)&&(c.value=null)),ne(a))Wt(a,l,12,[i,u]);else{const d=Pe(a),g=ye(a);if(d||g){const v=()=>{if(e.f){const E=d?u[a]:a.value;r?Y(E)&&li(E,o):Y(E)?E.includes(o)||E.push(o):d?u[a]=[o]:(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ce(f,a)&&(f[a]=i)):ye(a)&&(a.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Ne(v,n)):v()}}}const Ne=Bd;function dh(e){return hh(e)}function hh(e,t){const n=qf();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:g=mt,cloneNode:v,insertStaticContent:E}=e,w=(p,m,_,k=null,S=null,R=null,N=!1,T=null,L=!!m.dynamicChildren)=>{if(p===m)return;p&&!Qn(p,m)&&(k=H(p),We(p,S,R,!0),p=null),m.patchFlag===-2&&(L=!1,m.dynamicChildren=null);const{type:P,ref:B,shapeFlag:V}=m;switch(P){case Ci:A(p,m,_,k);break;case Qt:y(p,m,_,k);break;case Gr:p==null&&b(m,_,k,N);break;case Oe:Ie(p,m,_,k,S,R,N,T,L);break;default:V&1?j(p,m,_,k,S,R,N,T,L):V&6?Ue(p,m,_,k,S,R,N,T,L):(V&64||V&128)&&P.process(p,m,_,k,S,R,N,T,L,xe)}B!=null&&S&&So(B,p&&p.ref,R,m||p,!m)},A=(p,m,_,k)=>{if(p==null)s(m.el=l(m.children),_,k);else{const S=m.el=p.el;m.children!==p.children&&c(S,m.children)}},y=(p,m,_,k)=>{p==null?s(m.el=a(m.children||""),_,k):m.el=p.el},b=(p,m,_,k)=>{[p.el,p.anchor]=E(p.children,m,_,k,p.el,p.anchor)},O=({el:p,anchor:m},_,k)=>{let S;for(;p&&p!==m;)S=d(p),s(p,_,k),p=S;s(m,_,k)},F=({el:p,anchor:m})=>{let _;for(;p&&p!==m;)_=d(p),r(p),p=_;r(m)},j=(p,m,_,k,S,R,N,T,L)=>{N=N||m.type==="svg",p==null?Z(m,_,k,S,R,N,T,L):he(p,m,S,R,N,T,L)},Z=(p,m,_,k,S,R,N,T)=>{let L,P;const{type:B,props:V,shapeFlag:z,transition:Q,patchFlag:le,dirs:$e}=p;if(p.el&&v!==void 0&&le===-1)L=p.el=v(p.el);else{if(L=p.el=i(p.type,R,V&&V.is,V),z&8?u(L,p.children):z&16&&fe(p.children,L,null,k,S,R&&B!=="foreignObject",N,T),$e&&tn(p,null,k,"created"),V){for(const Ee in V)Ee!=="value"&&!nr(Ee)&&o(L,Ee,null,V[Ee],R,p.children,k,S,M);"value"in V&&o(L,"value",null,V.value),(P=V.onVnodeBeforeMount)&&ot(P,k,p)}ue(L,p,p.scopeId,N,k)}$e&&tn(p,null,k,"beforeMount");const pe=(!S||S&&!S.pendingBranch)&&Q&&!Q.persisted;pe&&Q.beforeEnter(L),s(L,m,_),((P=V&&V.onVnodeMounted)||pe||$e)&&Ne(()=>{P&&ot(P,k,p),pe&&Q.enter(L),$e&&tn(p,null,k,"mounted")},S)},ue=(p,m,_,k,S)=>{if(_&&g(p,_),k)for(let R=0;R{for(let P=L;P{const T=m.el=p.el;let{patchFlag:L,dynamicChildren:P,dirs:B}=m;L|=p.patchFlag&16;const V=p.props||_e,z=m.props||_e;let Q;_&&nn(_,!1),(Q=z.onVnodeBeforeUpdate)&&ot(Q,_,m,p),B&&tn(m,p,_,"beforeUpdate"),_&&nn(_,!0);const le=S&&m.type!=="foreignObject";if(P?we(p.dynamicChildren,P,T,_,k,le,R):N||ie(p,m,T,null,_,k,le,R,!1),L>0){if(L&16)Ae(T,m,V,z,_,k,S);else if(L&2&&V.class!==z.class&&o(T,"class",null,z.class,S),L&4&&o(T,"style",V.style,z.style,S),L&8){const $e=m.dynamicProps;for(let pe=0;pe<$e.length;pe++){const Ee=$e[pe],dt=V[Ee],xn=z[Ee];(xn!==dt||Ee==="value")&&o(T,Ee,dt,xn,S,p.children,_,k,M)}}L&1&&p.children!==m.children&&u(T,m.children)}else!N&&P==null&&Ae(T,m,V,z,_,k,S);((Q=z.onVnodeUpdated)||B)&&Ne(()=>{Q&&ot(Q,_,m,p),B&&tn(m,p,_,"updated")},k)},we=(p,m,_,k,S,R,N)=>{for(let T=0;T{if(_!==k){for(const T in k){if(nr(T))continue;const L=k[T],P=_[T];L!==P&&T!=="value"&&o(p,T,P,L,N,m.children,S,R,M)}if(_!==_e)for(const T in _)!nr(T)&&!(T in k)&&o(p,T,_[T],null,N,m.children,S,R,M);"value"in k&&o(p,"value",_.value,k.value)}},Ie=(p,m,_,k,S,R,N,T,L)=>{const P=m.el=p?p.el:l(""),B=m.anchor=p?p.anchor:l("");let{patchFlag:V,dynamicChildren:z,slotScopeIds:Q}=m;Q&&(T=T?T.concat(Q):Q),p==null?(s(P,_,k),s(B,_,k),fe(m.children,_,B,S,R,N,T,L)):V>0&&V&64&&z&&p.dynamicChildren?(we(p.dynamicChildren,z,_,S,R,N,T),(m.key!=null||S&&m===S.subTree)&&Dc(p,m,!0)):ie(p,m,_,B,S,R,N,T,L)},Ue=(p,m,_,k,S,R,N,T,L)=>{m.slotScopeIds=T,p==null?m.shapeFlag&512?S.ctx.activate(m,_,k,N,L):Ke(m,_,k,S,R,N,L):W(p,m,L)},Ke=(p,m,_,k,S,R,N)=>{const T=p.component=Eh(p,k,S);if(kc(p)&&(T.ctx.renderer=xe),$h(T),T.asyncDep){if(S&&S.registerDep(T,G),!p.el){const L=T.subTree=X(Qt);y(null,L,m,_)}return}G(T,p,m,_,S,R,N)},W=(p,m,_)=>{const k=m.component=p.component;if(Dd(p,m,_))if(k.asyncDep&&!k.asyncResolved){U(k,m,_);return}else k.next=m,Rd(k.update),k.update();else m.component=p.component,m.el=p.el,k.vnode=m},G=(p,m,_,k,S,R,N)=>{const T=()=>{if(p.isMounted){let{next:B,bu:V,u:z,parent:Q,vnode:le}=p,$e=B,pe;nn(p,!1),B?(B.el=le.el,U(p,B,N)):B=le,V&&Fn(V),(pe=B.props&&B.props.onVnodeBeforeUpdate)&&ot(pe,Q,B,le),nn(p,!0);const Ee=qr(p),dt=p.subTree;p.subTree=Ee,w(dt,Ee,f(dt.el),H(dt),p,S,R),B.el=Ee.el,$e===null&&Vd(p,Ee.el),z&&Ne(z,S),(pe=B.props&&B.props.onVnodeUpdated)&&Ne(()=>ot(pe,Q,B,le),S)}else{let B;const{el:V,props:z}=m,{bm:Q,m:le,parent:$e}=p,pe=gr(m);if(nn(p,!1),Q&&Fn(Q),!pe&&(B=z&&z.onVnodeBeforeMount)&&ot(B,$e,m),nn(p,!0),V&&te){const Ee=()=>{p.subTree=qr(p),te(V,p.subTree,p,S,null)};pe?m.type.__asyncLoader().then(()=>!p.isUnmounted&&Ee()):Ee()}else{const Ee=p.subTree=qr(p);w(null,Ee,_,k,p,S,R),m.el=Ee.el}if(le&&Ne(le,S),!pe&&(B=z&&z.onVnodeMounted)){const Ee=m;Ne(()=>ot(B,$e,Ee),S)}m.shapeFlag&256&&p.a&&Ne(p.a,S),p.isMounted=!0,m=_=k=null}},L=p.effect=new fi(T,()=>_c(p.update),p.scope),P=p.update=L.run.bind(L);P.id=p.uid,nn(p,!0),P()},U=(p,m,_)=>{m.component=p;const k=p.vnode.props;p.vnode=m,p.next=null,ih(p,m.props,k,_),ch(p,m.children,_),Kn(),wi(void 0,p.update),Wn()},ie=(p,m,_,k,S,R,N,T,L=!1)=>{const P=p&&p.children,B=p?p.shapeFlag:0,V=m.children,{patchFlag:z,shapeFlag:Q}=m;if(z>0){if(z&128){Ve(P,V,_,k,S,R,N,T,L);return}else if(z&256){bt(P,V,_,k,S,R,N,T,L);return}}Q&8?(B&16&&M(P,S,R),V!==P&&u(_,V)):B&16?Q&16?Ve(P,V,_,k,S,R,N,T,L):M(P,S,R,!0):(B&8&&u(_,""),Q&16&&fe(V,_,k,S,R,N,T,L))},bt=(p,m,_,k,S,R,N,T,L)=>{p=p||Tn,m=m||Tn;const P=p.length,B=m.length,V=Math.min(P,B);let z;for(z=0;zB?M(p,S,R,!0,!1,V):fe(m,_,k,S,R,N,T,L,V)},Ve=(p,m,_,k,S,R,N,T,L)=>{let P=0;const B=m.length;let V=p.length-1,z=B-1;for(;P<=V&&P<=z;){const Q=p[P],le=m[P]=L?Vt(m[P]):Et(m[P]);if(Qn(Q,le))w(Q,le,_,null,S,R,N,T,L);else break;P++}for(;P<=V&&P<=z;){const Q=p[V],le=m[z]=L?Vt(m[z]):Et(m[z]);if(Qn(Q,le))w(Q,le,_,null,S,R,N,T,L);else break;V--,z--}if(P>V){if(P<=z){const Q=z+1,le=Qz)for(;P<=V;)We(p[P],S,R,!0),P++;else{const Q=P,le=P,$e=new Map;for(P=le;P<=z;P++){const Je=m[P]=L?Vt(m[P]):Et(m[P]);Je.key!=null&&$e.set(Je.key,P)}let pe,Ee=0;const dt=z-le+1;let xn=!1,tl=0;const Gn=new Array(dt);for(P=0;P=dt){We(Je,S,R,!0);continue}let wt;if(Je.key!=null)wt=$e.get(Je.key);else for(pe=le;pe<=z;pe++)if(Gn[pe-le]===0&&Qn(Je,m[pe])){wt=pe;break}wt===void 0?We(Je,S,R,!0):(Gn[wt-le]=P+1,wt>=tl?tl=wt:xn=!0,w(Je,m[wt],_,null,S,R,N,T,L),Ee++)}const nl=xn?ph(Gn):Tn;for(pe=nl.length-1,P=dt-1;P>=0;P--){const Je=le+P,wt=m[Je],sl=Je+1{const{el:R,type:N,transition:T,children:L,shapeFlag:P}=p;if(P&6){rt(p.component.subTree,m,_,k);return}if(P&128){p.suspense.move(m,_,k);return}if(P&64){N.move(p,m,_,xe);return}if(N===Oe){s(R,m,_);for(let V=0;VT.enter(R),S);else{const{leave:V,delayLeave:z,afterLeave:Q}=T,le=()=>s(R,m,_),$e=()=>{V(R,()=>{le(),Q&&Q()})};z?z(R,le,$e):$e()}else s(R,m,_)},We=(p,m,_,k=!1,S=!1)=>{const{type:R,props:N,ref:T,children:L,dynamicChildren:P,shapeFlag:B,patchFlag:V,dirs:z}=p;if(T!=null&&So(T,null,_,p,!0),B&256){m.ctx.deactivate(p);return}const Q=B&1&&z,le=!gr(p);let $e;if(le&&($e=N&&N.onVnodeBeforeUnmount)&&ot($e,m,p),B&6)D(p.component,_,k);else{if(B&128){p.suspense.unmount(_,k);return}Q&&tn(p,null,m,"beforeUnmount"),B&64?p.type.remove(p,m,_,S,xe,k):P&&(R!==Oe||V>0&&V&64)?M(P,m,_,!1,!0):(R===Oe&&V&384||!S&&B&16)&&M(L,m,_),k&&wn(p)}(le&&($e=N&&N.onVnodeUnmounted)||Q)&&Ne(()=>{$e&&ot($e,m,p),Q&&tn(p,null,m,"unmounted")},_)},wn=p=>{const{type:m,el:_,anchor:k,transition:S}=p;if(m===Oe){$(_,k);return}if(m===Gr){F(p);return}const R=()=>{r(_),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(p.shapeFlag&1&&S&&!S.persisted){const{leave:N,delayLeave:T}=S,L=()=>N(_,R);T?T(p.el,R,L):L()}else R()},$=(p,m)=>{let _;for(;p!==m;)_=d(p),r(p),p=_;r(m)},D=(p,m,_)=>{const{bum:k,scope:S,update:R,subTree:N,um:T}=p;k&&Fn(k),S.stop(),R&&(R.active=!1,We(N,p,m,_)),T&&Ne(T,m),Ne(()=>{p.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},M=(p,m,_,k=!1,S=!1,R=0)=>{for(let N=R;Np.shapeFlag&6?H(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),ae=(p,m,_)=>{p==null?m._vnode&&We(m._vnode,null,null,!0):w(m._vnode||null,p,m,null,null,null,_),wc(),m._vnode=p},xe={p:w,um:We,m:rt,r:wn,mt:Ke,mc:fe,pc:ie,pbc:we,n:H,o:e};let re,te;return t&&([re,te]=t(xe)),{render:ae,hydrate:re,createApp:fh(ae,re)}}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Dc(e,t,n=!1){const s=e.children,r=t.children;if(Y(s)&&Y(r))for(let o=0;o>1,e[n[l]]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 mh=e=>e.__isTeleport,Vc="components";function Hc(e,t){return vh(Vc,e,!0,t)||e}const gh=Symbol();function vh(e,t,n=!0,s=!1){const r=tt||Re;if(r){const o=r.type;if(e===Vc){const l=Ao(o);if(l&&(l===t||l===Ot(t)||l===Cr(Ot(t))))return o}const i=xl(r[e]||o[e],t)||xl(r.appContext[e],t);return!i&&s?o:i}}function xl(e,t){return e&&(e[t]||e[Ot(t)]||e[Cr(Ot(t))])}const Oe=Symbol(void 0),Ci=Symbol(void 0),Qt=Symbol(void 0),Gr=Symbol(void 0),fs=[];let hn=null;function C(e=!1){fs.push(hn=e?null:[])}function _h(){fs.pop(),hn=fs[fs.length-1]||null}let _r=1;function El(e){_r+=e}function Bc(e){return e.dynamicChildren=_r>0?hn||Tn:null,_h(),_r>0&&hn&&hn.push(e),e}function K(e,t,n,s,r,o){return Bc(h(e,t,n,s,r,o,!0))}function se(e,t,n,s,r){return Bc(X(e,t,n,s,r,!0))}function As(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}const Fr="__vInternal",zc=({key:e})=>e!=null?e:null,sr=({ref:e,ref_key:t,ref_for:n})=>e!=null?Pe(e)||ye(e)||ne(e)?{i:tt,r:e,k:t,f:!!n}:e:null;function h(e,t=null,n=null,s=0,r=null,o=e===Oe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zc(t),ref:t&&sr(t),scopeId:$c,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?(Mi(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Pe(n)?8:16),_r>0&&!i&&hn&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&hn.push(a),a}const X=yh;function yh(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===gh)&&(e=Qt),As(e)){const l=Vn(e,t,!0);return n&&Mi(l,n),l}if(Ah(e)&&(e=e.__vccOpts),t){t=ke(t);let{class:l,style:a}=t;l&&!Pe(l)&&(t.class=Fe(l)),Te(a)&&(pc(a)&&!Y(a)&&(a=Be({},a)),t.style=nt(a))}const i=Pe(e)?1:Hd(e)?128:mh(e)?64:Te(e)?4:ne(e)?2:0;return h(e,t,n,s,r,i,o,!0)}function ke(e){return e?pc(e)||Fr in e?Be({},e):e:null}function Vn(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Oo(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&zc(l),ref:t&&t.ref?n&&r?Y(r)?r.concat(sr(t)):[r,sr(t)]:sr(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!==Oe?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 J(e=" ",t=0){return X(Ci,null,e,t)}function ve(e="",t=!1){return t?(C(),se(Qt,null,e)):X(Qt,null,e)}function Et(e){return e==null||typeof e=="boolean"?X(Qt):Y(e)?X(Oe,null,e.slice()):typeof e=="object"?Vt(e):X(Ci,null,String(e))}function Vt(e){return e.el===null||e.memo?e:Vn(e)}function Mi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Mi(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Fr in t)?t._ctx=tt:r===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),s&64?(n=16,t=[J(t)]):n=8);e.children=t,e.shapeFlag|=n}function Oo(...e){const t={};for(let n=0;nt(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;lAs(t)?!(t.type===Qt||t.type===Oe&&!Uc(t.children)):!0)?e:null}const ko=e=>e?Kc(e)?Ri(e)||e.proxy:ko(e.parent):null,yr=Be(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=>ko(e.parent),$root:e=>ko(e.root),$emit:e=>e.emit,$options:e=>Tc(e),$forceUpdate:e=>()=>_c(e.update),$nextTick:e=>Gt.bind(e.proxy),$watch:e=>zd.bind(e)}),bh={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 g=i[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==_e&&ce(s,t))return i[t]=1,s[t];if(r!==_e&&ce(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&ce(c,t))return i[t]=3,o[t];if(n!==_e&&ce(n,t))return i[t]=4,n[t];xo&&(i[t]=0)}}const u=yr[t];let f,d;if(u)return t==="$attrs"&&st(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==_e&&ce(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ce(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==_e&&ce(r,t)?(r[t]=n,!0):s!==_e&&ce(s,t)?(s[t]=n,!0):ce(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!==_e&&ce(e,i)||t!==_e&&ce(t,i)||(l=o[0])&&ce(l,i)||ce(s,i)||ce(yr,i)||ce(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)}},wh=jc();let xh=0;function Eh(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||wh,o={uid:xh++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Yf(!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:Fc(s,r),emitsOptions:Ec(s,r),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:s.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,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=Id.bind(null,o),e.ce&&e.ce(o),o}let Re=null;const Lr=()=>Re||tt,Hn=e=>{Re=e,e.scope.on()},pn=()=>{Re&&Re.scope.off(),Re=null};function Kc(e){return e.vnode.shapeFlag&4}let Ps=!1;function $h(e,t=!1){Ps=t;const{props:n,children:s}=e.vnode,r=Kc(e);oh(e,n,r,t),ah(e,s);const o=r?Sh(e,t):void 0;return Ps=!1,o}function Sh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gi(new Proxy(e.ctx,bh));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?kh(e):null;Hn(e),Kn();const o=Wt(s,e,0,[e.props,r]);if(Wn(),pn(),Ja(o)){if(o.then(pn,pn),t)return o.then(i=>{$l(e,i,t)}).catch(i=>{Tr(i,e,0)});e.asyncDep=o}else $l(e,o,t)}else Wc(e,t)}function $l(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Te(t)&&(e.setupState=gc(t)),Wc(e,n)}let Sl;function Wc(e,t,n){const s=e.type;if(!e.render){if(!t&&Sl&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=Be(Be({isCustomElement:o,delimiters:l},i),a);s.render=Sl(r,c)}}e.render=s.render||mt}Hn(e),Kn(),eh(e),Wn(),pn()}function Oh(e){return new Proxy(e.attrs,{get(t,n){return st(e,"get","$attrs"),t[n]}})}function kh(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Oh(e))},slots:e.slots,emit:e.emit,expose:t}}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gc(gi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yr)return yr[n](e)}}))}function Ao(e){return ne(e)&&e.displayName||e.name}function Ah(e){return ne(e)&&"__vccOpts"in e}const I=(e,t)=>Cd(e,t,Ps);function Fi(e,t,n){const s=arguments.length;return s===2?Te(t)&&!Y(t)?As(t)?X(e,null,[t]):X(e,t):X(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&As(n)&&(n=[n]),X(e,t,n))}const Ph="3.2.31",Ch="http://www.w3.org/2000/svg",ln=typeof document!="undefined"?document:null,Ol=ln&&ln.createElement("template"),Mh={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?ln.createElementNS(Ch,e):ln.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ln.createTextNode(e),createComment:e=>ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ln.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{Ol.innerHTML=s?`${e}`:e;const l=Ol.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 Th(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 Rh(e,t,n){const s=e.style,r=Pe(n);if(n&&!r){for(const o in n)Po(s,o,n[o]);if(t&&!Pe(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 kl=/\s*!important$/;function Po(e,t,n){if(Y(n))n.forEach(s=>Po(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Fh(e,t);kl.test(n)?e.setProperty(vn(s),n.replace(kl,""),"important"):e[s]=n}}const Al=["Webkit","Moz","ms"],Qr={};function Fh(e,t){const n=Qr[t];if(n)return n;let s=Ot(t);if(s!=="filter"&&s in e)return Qr[t]=s;s=Cr(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(br=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);qc=!!(e&&Number(e[1])<=53)}let Co=0;const Nh=Promise.resolve(),jh=()=>{Co=0},Dh=()=>Co||(Nh.then(jh),Co=br());function An(e,t,n,s){e.addEventListener(t,n,s)}function Vh(e,t,n,s){e.removeEventListener(t,n,s)}function Hh(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]=Bh(t);if(s){const c=o[t]=zh(s,r);An(e,l,c,a)}else i&&(Vh(e,l,i,a),o[t]=void 0)}}const Cl=/(?:Once|Passive|Capture)$/;function Bh(e){let t;if(Cl.test(e)){t={};let n;for(;n=e.match(Cl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[vn(e.slice(2)),t]}function zh(e,t){const n=s=>{const r=s.timeStamp||br();(qc||r>=n.attached-1)&>(Uh(s,n.value),t,5,[s])};return n.value=e,n.attached=Dh(),n}function Uh(e,t){if(Y(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 Ml=/^on[a-z]/,Kh=(e,t,n,s,r=!1,o,i,l,a)=>{t==="class"?Th(e,s,r):t==="style"?Rh(e,n,s):kr(t)?ii(t)||Hh(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wh(e,t,s,r))?Ih(e,t,s,o,i,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Lh(e,t,s,r))};function Wh(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ml.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ml.test(t)&&Pe(n)?!1:t in e}const Tl=e=>{const t=e.props["onUpdate:modelValue"];return Y(t)?n=>Fn(t,n):t};function qh(e){e.target.composing=!0}function Rl(e){const t=e.target;t.composing&&(t.composing=!1,Yh(t,"input"))}function Yh(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const Zh={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=Tl(r);const o=s||r.props&&r.props.type==="number";An(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n?l=l.trim():o&&(l=mo(l)),e._assign(l)}),n&&An(e,"change",()=>{e.value=e.value.trim()}),t||(An(e,"compositionstart",qh),An(e,"compositionend",Rl),An(e,"change",Rl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=Tl(o),e.composing||document.activeElement===e&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&mo(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Gh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Fl=(e,t)=>n=>{if(!("key"in n))return;const s=vn(n.key);if(t.some(r=>r===s||Gh[r]===s))return e(n)},Yc={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 Qh=Be({patchProp:Kh},Mh);let Ll;function Jh(){return Ll||(Ll=dh(Qh))}const Xh=(...e)=>{const t=Jh().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ep(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 ep(e){return Pe(e)?document.querySelector(e):e}var tp=Object.defineProperty,Il=Object.getOwnPropertySymbols,np=Object.prototype.hasOwnProperty,sp=Object.prototype.propertyIsEnumerable,Nl=(e,t,n)=>t in e?tp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,rp=(e,t)=>{for(var n in t||(t={}))np.call(t,n)&&Nl(e,n,t[n]);if(Il)for(var n of Il(t))sp.call(t,n)&&Nl(e,n,t[n]);return e},Zc="usehead",jl="head:count",Jr="data-head-attrs",op=(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 ip(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 lp=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}}},ap=()=>{const e=Tt(Zc);if(!e)throw new Error("You may forget to apply app.use(head)");return e},cp=["title","meta","link","base","style","script","htmlAttrs","bodyAttrs"],up=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:rp({key:"default"},e[n])});else if(cp.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},Dl=(e,t)=>{const n=e.getAttribute(Jr);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(Jr,s.join(",")):e.removeAttribute(Jr)},fp=(e=window.document,t,n)=>{var s;const r=e.head;let o=r.querySelector(`meta[name="${jl}"]`);const i=o?Number(o.getAttribute("content")):0,l=[];if(o)for(let c=0,u=o.previousElementSibling;cop(c.tag,c.props,e));a=a.filter(c=>{for(let u=0;u{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))},dp=()=>{let e=[];const t={install(n){n.config.globalProperties.$head=t,n.provide(Zc,t)},get headTags(){const n=[];return e.forEach(s=>{up(s.value).forEach(o=>{if(o.tag==="meta"||o.tag==="base"||o.tag==="script"){const i=lp(o.props);if(i){let l=-1;for(let a=0;as!==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),Dl(n.documentElement,r),Dl(n.body,o);for(const l of Object.keys(i))fp(n,l,i[l])}};return t},hp=typeof window!="undefined",pp=e=>{const t=q(e),n=ap();n.addHeadObjs(t),hp&&(Ei(()=>{n.updateDOM()}),Oi(()=>{n.removeHeadObjs(t),n.updateDOM()}))};function Ze(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 mp(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function it(...e){return I(()=>e.every(t=>x(t)))}function Ir(e){return tc()?(nc(e),!0):!1}const _n=typeof window!="undefined",Gc=e=>typeof e=="string",gp=()=>+Date.now(),rr=()=>{};function vp(e,t){function n(...s){e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})}return n}const _p=e=>e();function yp(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 Vl=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,wp=Object.prototype.propertyIsEnumerable,xp=(e,t)=>{var n={};for(var s in e)bp.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Vl)for(var s of Vl(e))t.indexOf(s)<0&&wp.call(e,s)&&(n[s]=e[s]);return n};function Ep(e,t,n={}){const s=n,{eventFilter:r=_p}=s,o=xp(s,["eventFilter"]);return oe(e,vp(r,t),o)}function kt(e){return I(()=>!x(e))}function $p(e){if(!ye(e))return Le(e);const t=new Proxy({},{get(n,s,r){return x(Reflect.get(e.value,s,r))},set(n,s,r){return ye(e.value[s])&&!ye(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 Le(t)}var Sp=Object.defineProperty,Op=Object.defineProperties,kp=Object.getOwnPropertyDescriptors,Hl=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Pp=Object.prototype.propertyIsEnumerable,Bl=(e,t,n)=>t in e?Sp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cp=(e,t)=>{for(var n in t||(t={}))Ap.call(t,n)&&Bl(e,n,t[n]);if(Hl)for(var n of Hl(t))Pp.call(t,n)&&Bl(e,n,t[n]);return e},Mp=(e,t)=>Op(e,kp(t));function Tp(e){if(!ye(e))return Od(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Sd(()=>({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=Mp(Cp({},e.value),{[n]:s})}}));return t}function Qc(e,t=!0){Lr()?Si(e):t?e():Gt(e)}function Jc(e=!1){if(ye(e))return t=>(e.value=typeof t=="boolean"?t:!e.value,e.value);{const t=q(e);return[t,s=>(t.value=typeof s=="boolean"?s:!t.value,t.value)]}}function In(e){var t;const n=x(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ut=_n?window:void 0,Rp=_n?window.document:void 0;function De(...e){let t,n,s,r;if(Gc(e[0])?([n,s,r]=e,t=ut):[t,n,s,r]=e,!t)return rr;let o=rr;const i=oe(()=>x(t),a=>{o(),a&&(a.addEventListener(n,s,r),o=()=>{a.removeEventListener(n,s,r),o=rr})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Ir(l),l}function Fp(e,t,n={}){const{window:s=ut,ignore:r}=n;if(!s)return;const o=q(!0),l=[De(s,"click",c=>{const u=In(e),f=c.composedPath();!u||u===c.target||f.includes(u)||!o.value||r&&r.length>0&&r.some(d=>{const g=In(d);return g&&(c.target===g||f.includes(g))})||t(c)},{passive:!0,capture:!0}),De(s,"pointerdown",c=>{const u=In(e);o.value=!!u&&!c.composedPath().includes(u)},{passive:!0})];return()=>l.forEach(c=>c())}const Lp=e=>typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):e?()=>!0:()=>!1;function Ip(e,t,n={}){const{target:s=ut,eventName:r="keydown",passive:o=!1}=n,i=Lp(e);return De(s,r,a=>{i(a)&&t(a)},o)}function Np(e={}){const{window:t=ut}=e,n=q(0);return t&&(De(t,"blur",()=>n.value+=1,!0),De(t,"focus",()=>n.value+=1,!0)),I(()=>(n.value,t==null?void 0:t.document.activeElement))}function or(e,t={}){const{window:n=ut}=t;let s;const r=q(!1),o=()=>{!n||(s||(s=n.matchMedia(e)),r.value=s.matches)};return Qc(()=>{o(),s&&("addEventListener"in s?s.addEventListener("change",o):s.addListener(o),Ir(()=>{"removeEventListener"in o?s.removeEventListener("change",o):s.removeListener(o)}))}),r}const jp={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};var Dp=Object.defineProperty,zl=Object.getOwnPropertySymbols,Vp=Object.prototype.hasOwnProperty,Hp=Object.prototype.propertyIsEnumerable,Ul=(e,t,n)=>t in e?Dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bp=(e,t)=>{for(var n in t||(t={}))Vp.call(t,n)&&Ul(e,n,t[n]);if(zl)for(var n of zl(t))Hp.call(t,n)&&Ul(e,n,t[n]);return e};function zp(e,t={}){function n(l,a){let c=e[l];return a!=null&&(c=yp(c,a)),typeof c=="number"&&(c=`${c}px`),c}const{window:s=ut}=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 Bp({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:{},To="__vueuse_ssr_handlers__";Mo[To]=Mo[To]||{};const Up=Mo[To];function Kp(e,t){return Up[e]||t}function Wp(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":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.entries()))}};function yt(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,shallow:c,window:u=ut,eventFilter:f,onError:d=y=>{console.error(y)}}=s,g=x(t),v=Wp(g),E=(c?Ft:q)(t),w=(r=s.serializer)!=null?r:qp[v];if(!n)try{n=Kp("getDefaultStorage",()=>{var y;return(y=ut)==null?void 0:y.localStorage})()}catch(y){d(y)}function A(y){if(!(!n||y&&y.key!==e))try{const b=y?y.newValue:n.getItem(e);b==null?(E.value=g,a&&g!==null&&n.setItem(e,w.write(g))):typeof b!="string"?E.value=b:E.value=w.read(b)}catch(b){d(b)}}return A(),u&&l&&De(u,"storage",y=>setTimeout(()=>A(y),0)),n&&Ep(E,()=>{try{E.value==null?n.removeItem(e):n.setItem(e,w.write(E.value))}catch(y){d(y)}},{flush:o,deep:i,eventFilter:f}),E}function Yp(e){return or("(prefers-color-scheme: dark)",e)}var Zp=Object.defineProperty,Gp=Object.defineProperties,Qp=Object.getOwnPropertyDescriptors,Kl=Object.getOwnPropertySymbols,Jp=Object.prototype.hasOwnProperty,Xp=Object.prototype.propertyIsEnumerable,Wl=(e,t,n)=>t in e?Zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,em=(e,t)=>{for(var n in t||(t={}))Jp.call(t,n)&&Wl(e,n,t[n]);if(Kl)for(var n of Kl(t))Xp.call(t,n)&&Wl(e,n,t[n]);return e},tm=(e,t)=>Gp(e,Qp(t));function Ax(e,t={}){var n,s;const r=(n=t.draggingElement)!=null?n:ut,o=q((s=t.initialValue)!=null?s:{x:0,y:0}),i=q(),l=d=>t.pointerTypes?t.pointerTypes.includes(d.pointerType):!0,a=d=>{x(t.preventDefault)&&d.preventDefault()},c=d=>{var g;if(!l(d)||x(t.exact)&&d.target!==x(e))return;const v=x(e).getBoundingClientRect(),E={x:d.pageX-v.left,y:d.pageY-v.top};((g=t.onStart)==null?void 0:g.call(t,E,d))!==!1&&(i.value=E,a(d))},u=d=>{var g;!l(d)||!i.value||(o.value={x:d.pageX-i.value.x,y:d.pageY-i.value.y},(g=t.onMove)==null||g.call(t,o.value,d),a(d))},f=d=>{var g;!l(d)||!i.value||(i.value=void 0,(g=t.onEnd)==null||g.call(t,o.value,d),a(d))};return _n&&(De(e,"pointerdown",c,!0),De(r,"pointermove",u,!0),De(r,"pointerup",f,!0)),tm(em({},Tp(o)),{position:o,isDragging:I(()=>!!i.value),style:I(()=>`left:${o.value.x}px;top:${o.value.y}px;`)})}var ql=Object.getOwnPropertySymbols,nm=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable,rm=(e,t)=>{var n={};for(var s in e)nm.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ql)for(var s of ql(e))t.indexOf(s)<0&&sm.call(e,s)&&(n[s]=e[s]);return n};function om(e,t,n={}){const s=n,{window:r=ut}=s,o=rm(s,["window"]);let i;const l=r&&"ResizeObserver"in r,a=()=>{i&&(i.disconnect(),i=void 0)},c=oe(()=>In(e),f=>{a(),l&&r&&f&&(i=new r.ResizeObserver(t),i.observe(f,o))},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Ir(u),{isSupported:l,stop:u}}function im(e,t={width:0,height:0},n={}){const s=q(t.width),r=q(t.height);return om(e,([o])=>{s.value=o.contentRect.width,r.value=o.contentRect.height},n),oe(()=>In(e),o=>{s.value=o?t.width:0,r.value=o?t.height:0}),{width:s,height:r}}const Yl=[["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 lm(e,t={}){const{document:n=Rp,autoExit:s=!1}=t,r=e||(n==null?void 0:n.querySelector("html")),o=q(!1);let i=!1,l=Yl[0];if(!n)i=!1;else for(const E of Yl)if(E[1]in n){l=E,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 g(){if(!i)return;await d();const E=In(r);E&&(await E[a](),o.value=!0)}async function v(){o.value?await d():await g()}return n&&De(n,f,()=>{o.value=!!(n!=null&&n[u])},!1),s&&Ir(d),{isSupported:i,isFullscreen:o,enter:g,exit:d,toggle:v}}const am={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function cm(e={}){const{reactive:t=!1,target:n=ut,aliasMap:s=am,passive:r=!0,onEventFired:o=rr}=e,i=Le(new Set),l={toJSON(){return{}},current:i},a=t?Le(l):l;function c(f,d){var g,v;const E=(g=f.key)==null?void 0:g.toLowerCase(),w=(v=f.code)==null?void 0:v.toLowerCase(),A=[w,E].filter(Boolean);w&&(d?i.add(f.code):i.delete(f.code));for(const y of A)y in a&&(t?a[y]=d:a[y].value=d)}n&&(De(n,"keydown",f=>(c(f,!0),o(f)),{passive:r}),De(n,"keyup",f=>(c(f,!1),o(f)),{passive:r}));const u=new Proxy(a,{get(f,d,g){if(typeof d!="string")return Reflect.get(f,d,g);if(d=d.toLowerCase(),d in s&&(d=s[d]),!(d in a))if(/[+_-]/.test(d)){const E=d.split(/[+_-]/g).map(w=>w.trim());a[d]=I(()=>E.every(w=>x(u[w])))}else a[d]=q(!1);const v=Reflect.get(f,d,g);return t?x(v):v}});return u}var zt=(e=>(e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE",e))(zt||{});function um(e,t={}){const n=q(e),{threshold:s=50,onSwipe:r,onSwipeEnd:o,onSwipeStart:i}=t,l=Le({x:0,y:0}),a=(j,Z)=>{l.x=j,l.y=Z},c=Le({x:0,y:0}),u=(j,Z)=>{c.x=j,c.y=Z},f=I(()=>l.x-c.x),d=I(()=>l.y-c.y),{max:g,abs:v}=Math,E=I(()=>g(v(f.value),v(d.value))>=s),w=q(!1),A=q(!1),y=I(()=>E.value?v(f.value)>v(d.value)?f.value>0?zt.LEFT:zt.RIGHT:d.value>0?zt.UP:zt.DOWN:zt.NONE),b=j=>t.pointerTypes?t.pointerTypes.includes(j.pointerType):!0,O=[De(e,"pointerdown",j=>{var Z,ue;if(!b(j))return;A.value=!0,(ue=(Z=n.value)==null?void 0:Z.style)==null||ue.setProperty("touch-action","none");const fe=j.target;fe==null||fe.setPointerCapture(j.pointerId);const{clientX:he,clientY:we}=j;a(he,we),u(he,we),i==null||i(j)}),De(e,"pointermove",j=>{if(!b(j)||!A.value)return;const{clientX:Z,clientY:ue}=j;u(Z,ue),!w.value&&E.value&&(w.value=!0),w.value&&(r==null||r(j))}),De(e,"pointerup",j=>{var Z,ue;!b(j)||(w.value&&(o==null||o(j,y.value)),A.value=!1,w.value=!1,(ue=(Z=n.value)==null?void 0:Z.style)==null||ue.setProperty("touch-action","initial"))})],F=()=>O.forEach(j=>j());return{isSwiping:an(w),direction:an(y),posStart:an(l),posEnd:an(c),distanceX:f,distanceY:d,stop:F}}var Zl,Gl;_n&&(window==null?void 0:window.navigator)&&((Zl=window==null?void 0:window.navigator)==null?void 0:Zl.platform)&&/iP(ad|hone|od)/.test((Gl=window==null?void 0:window.navigator)==null?void 0:Gl.platform);var fm=Object.defineProperty,Ql=Object.getOwnPropertySymbols,dm=Object.prototype.hasOwnProperty,hm=Object.prototype.propertyIsEnumerable,Jl=(e,t,n)=>t in e?fm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pm=(e,t)=>{for(var n in t||(t={}))dm.call(t,n)&&Jl(e,n,t[n]);if(Ql)for(var n of Ql(t))hm.call(t,n)&&Jl(e,n,t[n]);return e};const mm={top:0,left:0,bottom:0,right:0,height:0,width:0};pm({text:""},mm);function Mt(e,t,n,s={}){var r;const{passive:o=!1,eventName:i,deep:l=!1}=s,a=Lr(),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=q(e[t]);return oe(()=>e[t],d=>f.value=d),oe(f,d=>{(d!==e[t]||l)&&c(u,d)},{deep:l}),f}else return I({get(){return e[t]},set(f){c(u,f)}})}function gm({window:e=ut,initialWidth:t=1/0,initialHeight:n=1/0}={}){const s=q(t),r=q(n),o=()=>{e&&(s.value=e.innerWidth,r.value=e.innerHeight)};return o(),Qc(o),De("resize",o,{passive:!0}),{width:s,height:r}}/*! * vue-router v4.0.14 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Xc=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",qn=e=>Xc?Symbol(e):"_vr_"+e,vm=qn("rvlm"),Xl=qn("rvd"),Li=qn("r"),eu=qn("rl"),Ro=qn("rvl"),kn=typeof window!="undefined";function _m(e){return e.__esModule||Xc&&e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Xr(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=()=>{},ym=/\/$/,bm=e=>e.replace(ym,"");function eo(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 wm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ea(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xm(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Bn(t.matched[s],n.matched[r])&&tu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Em(e[n],t[n]))return!1;return!0}function Em(e,t){return Array.isArray(e)?ta(e,t):Array.isArray(t)?ta(t,e):e===t}function ta(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({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=Pm(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 na(e,t){return(history.state?history.state.position-t:-1)+e}const Fo=new Map;function Cm(e,t){Fo.set(e,t)}function Mm(e){const t=Fo.get(e);return Fo.delete(e),t}let Tm=()=>location.protocol+"//"+location.host;function nu(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),ea(a,"")}return ea(n,e)+s+r}function Rm(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const g=nu(e,location),v=n.value,E=t.value;let w=0;if(d){if(n.value=g,t.value=d,i&&i===v){i=null;return}w=E?d.position-E.position:0}else s(g);r.forEach(P=>{P(n.value,v,{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 g=()=>{const v=r.indexOf(d);v>-1&&r.splice(v,1)};return o.push(g),g}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 sa(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 Fm(e){const{history:t,location:n}=window,s={value:nu(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:Tm()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function i(a,c){const u=ge({},t.state,sa(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({},sa(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 Lm(e){e=Sm(e);const t=Fm(e),n=Rm(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:Am.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 Im(e){return typeof e=="string"||e&&typeof e=="object"}function su(e){return typeof e=="string"||typeof e=="symbol"}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ru=qn("nf");var ra;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ra||(ra={}));function zn(e,t){return ge(new Error,{type:e,[ru]:!0},t)}function jt(e,t){return e instanceof Error&&ru in e&&(t==null||!!(e.type&t))}const oa="[^/]+?",Nm={sensitive:!1,strict:!1,start:!0,end:!0},jm=/[.+*?^${}()[\]/\\]/g;function Dm(e,t){const n=ge({},Nm,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;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Hm(e,t){let n=0;const s=e.score,r=t.score;for(;n1&&(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{i(y)}:ds}function i(u){if(su(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=0&&(u.record.path!==n[f].record.path||!ou(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ia(u)&&s.set(u.record.name,u)}function c(u,f){let d,g={},v,E;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw zn(1,{location:u});E=d.record.name,g=ge(qm(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),u.params),v=d.stringify(g)}else if("path"in u)v=u.path,d=n.find(y=>y.re.test(v)),d&&(g=d.parse(v),E=d.record.name);else{if(d=f.name?s.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw zn(1,{location:u,currentLocation:f});E=d.record.name,g=ge({},f.params,u.params),v=d.stringify(g)}const w=[];let P=d;for(;P;)w.unshift(P.record),P=P.parent;return{name:E,path:v,params:g,matched:w,meta:Gm(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function qm(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ym(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Zm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Zm(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 ia(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Gm(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function la(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function ou(e,t){return t.children.some(n=>n===e||ou(e,n))}const iu=/#/g,Qm=/&/g,Jm=/\//g,Xm=/=/g,eg=/\?/g,lu=/\+/g,tg=/%5B/g,ng=/%5D/g,au=/%5E/g,sg=/%60/g,cu=/%7B/g,rg=/%7C/g,uu=/%7D/g,og=/%20/g;function Ii(e){return encodeURI(""+e).replace(rg,"|").replace(tg,"[").replace(ng,"]")}function ig(e){return Ii(e).replace(cu,"{").replace(uu,"}").replace(au,"^")}function Lo(e){return Ii(e).replace(lu,"%2B").replace(og,"+").replace(iu,"%23").replace(Qm,"%26").replace(sg,"`").replace(cu,"{").replace(uu,"}").replace(au,"^")}function lg(e){return Lo(e).replace(Xm,"%3D")}function ag(e){return Ii(e).replace(iu,"%23").replace(eg,"%3F")}function cg(e){return e==null?"":ag(e).replace(Jm,"%2F")}function wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ug(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Lo(o)):[s&&Lo(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function fg(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 Xn(){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 Ht(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(zn(4,{from:n,to:t})):f instanceof Error?l(f):Im(f)?l(zn(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 to(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(dg(l)){const c=(l.__vccOpts||l)[t];c&&r.push(Ht(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=_m(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Ht(d,n,s,o,i)()}))}}return r}function dg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ca(e){const t=Tt(Li),n=Tt(eu),s=I(()=>t.resolve(x(e.to))),r=I(()=>{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(Bn.bind(null,u));if(d>-1)return d;const g=ua(a[c-2]);return c>1&&ua(u)===g&&f[f.length-1].path!==g?f.findIndex(Bn.bind(null,a[c-2])):d}),o=I(()=>r.value>-1&&gg(n.params,s.value.params)),i=I(()=>r.value>-1&&r.value===n.matched.length-1&&tu(n.params,s.value.params));function l(a={}){return mg(a)?t[x(e.replace)?"replace":"push"](x(e.to)).catch(ds):Promise.resolve()}return{route:s,href:I(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const hg=Me({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ca,setup(e,{slots:t}){const n=Le(ca(e)),{options:s}=Tt(Li),r=I(()=>({[fa(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[fa(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),pg=hg;function mg(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 gg(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 ua(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fa=(e,t,n)=>e!=null?e:t!=null?t:n,vg=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=Tt(Ro),r=I(()=>e.route||s.value),o=Tt(Xl,0),i=I(()=>r.value.matched[o]);Ct(Xl,o+1),Ct(vm,i),Ct(Ro,r);const l=q();return oe(()=>[l.value,i.value,e.name],([a,c,u],[f,d,g])=>{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||!Bn(c,d)||!f)&&(c.enterCallbacks[u]||[]).forEach(v=>v(a))},{flush:"post"}),()=>{const a=r.value,c=i.value,u=c&&c.components[e.name],f=e.name;if(!u)return da(n.default,{Component:u,route:a});const d=c.props[e.name],g=d?d===!0?a.params:typeof d=="function"?d(a):d:null,E=Fi(u,ge({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[f]=null)},ref:l}));return da(n.default,{Component:E,route:a})||E}}});function da(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const _g=vg;function yg(e){const t=Wm(e.routes,e),n=e.parseQuery||ug,s=e.stringifyQuery||aa,r=e.history,o=Xn(),i=Xn(),l=Xn(),a=Ft(Nt);let c=Nt;kn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xr.bind(null,$=>""+$),f=Xr.bind(null,cg),d=Xr.bind(null,wr);function g($,D){let M,H;return su($)?(M=t.getRecordMatcher($),H=D):H=$,t.addRoute(H,M)}function v($){const D=t.getRecordMatcher($);D&&t.removeRoute(D)}function E(){return t.getRoutes().map($=>$.record)}function w($){return!!t.getRecordMatcher($)}function P($,D){if(D=ge({},D||a.value),typeof $=="string"){const ee=eo(n,$,D.path),p=t.resolve({path:ee.path},D),m=r.createHref(ee.fullPath);return ge(ee,p,{params:d(p.params),hash:wr(ee.hash),redirectedFrom:void 0,href:m})}let M;if("path"in $)M=ge({},$,{path:eo(n,$.path,D.path).path});else{const ee=ge({},$.params);for(const p in ee)ee[p]==null&&delete ee[p];M=ge({},$,{params:f($.params)}),D.params=f(D.params)}const H=t.resolve(M,D),ae=$.hash||"";H.params=u(d(H.params));const xe=wm(s,ge({},$,{hash:ig(ae),path:H.path})),re=r.createHref(xe);return ge({fullPath:xe,hash:ae,query:s===aa?fg($.query):$.query||{}},H,{redirectedFrom:void 0,href:re})}function y($){return typeof $=="string"?eo(n,$,a.value.path):ge({},$)}function b($,D){if(c!==$)return zn(8,{from:D,to:$})}function O($){return Z($)}function F($){return O(ge(y($),{replace:!0}))}function j($){const D=$.matched[$.matched.length-1];if(D&&D.redirect){const{redirect:M}=D;let H=typeof M=="function"?M($):M;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=y(H):{path:H},H.params={}),ge({query:$.query,hash:$.hash,params:$.params},H)}}function Z($,D){const M=c=P($),H=a.value,ae=$.state,xe=$.force,re=$.replace===!0,ee=j(M);if(ee)return Z(ge(y(ee),{state:ae,force:xe,replace:re}),D||M);const p=M;p.redirectedFrom=D;let m;return!xe&&xm(s,H,M)&&(m=zn(16,{to:p,from:H}),bt(H,H,!0,!1)),(m?Promise.resolve(m):fe(p,H)).catch(_=>jt(_)?jt(_,2)?_:ie(_):G(_,p,H)).then(_=>{if(_){if(jt(_,2))return Z(ge(y(_.to),{state:ae,force:xe,replace:re}),D||p)}else _=we(p,H,!0,re,ae);return he(p,H,_),_})}function ue($,D){const M=b($,D);return M?Promise.reject(M):Promise.resolve()}function fe($,D){let M;const[H,ae,xe]=bg($,D);M=to(H.reverse(),"beforeRouteLeave",$,D);for(const ee of H)ee.leaveGuards.forEach(p=>{M.push(Ht(p,$,D))});const re=ue.bind(null,$,D);return M.push(re),En(M).then(()=>{M=[];for(const ee of o.list())M.push(Ht(ee,$,D));return M.push(re),En(M)}).then(()=>{M=to(ae,"beforeRouteUpdate",$,D);for(const ee of ae)ee.updateGuards.forEach(p=>{M.push(Ht(p,$,D))});return M.push(re),En(M)}).then(()=>{M=[];for(const ee of $.matched)if(ee.beforeEnter&&!D.matched.includes(ee))if(Array.isArray(ee.beforeEnter))for(const p of ee.beforeEnter)M.push(Ht(p,$,D));else M.push(Ht(ee.beforeEnter,$,D));return M.push(re),En(M)}).then(()=>($.matched.forEach(ee=>ee.enterCallbacks={}),M=to(xe,"beforeRouteEnter",$,D),M.push(re),En(M))).then(()=>{M=[];for(const ee of i.list())M.push(Ht(ee,$,D));return M.push(re),En(M)}).catch(ee=>jt(ee,8)?ee:Promise.reject(ee))}function he($,D,M){for(const H of l.list())H($,D,M)}function we($,D,M,H,ae){const xe=b($,D);if(xe)return xe;const re=D===Nt,ee=kn?history.state:{};M&&(H||re?r.replace($.fullPath,ge({scroll:re&&ee&&ee.scroll},ae)):r.push($.fullPath,ae)),a.value=$,bt($,D,M,re),ie()}let Pe;function Ie(){Pe=r.listen(($,D,M)=>{const H=P($),ae=j(H);if(ae){Z(ge(ae,{replace:!0}),H).catch(ds);return}c=H;const xe=a.value;kn&&Cm(na(xe.fullPath,M.delta),Nr()),fe(H,xe).catch(re=>jt(re,12)?re:jt(re,2)?(Z(re.to,H).then(ee=>{jt(ee,20)&&!M.delta&&M.type===Cs.pop&&r.go(-1,!1)}).catch(ds),Promise.reject()):(M.delta&&r.go(-M.delta,!1),G(re,H,xe))).then(re=>{re=re||we(H,xe,!1),re&&(M.delta?r.go(-M.delta,!1):M.type===Cs.pop&&jt(re,20)&&r.go(-1,!1)),he(H,xe,re)}).catch(ds)})}let Ue=Xn(),Ke=Xn(),W;function G($,D,M){ie($);const H=Ke.list();return H.length?H.forEach(ae=>ae($,D,M)):console.error($),Promise.reject($)}function U(){return W&&a.value!==Nt?Promise.resolve():new Promise(($,D)=>{Ue.add([$,D])})}function ie($){return W||(W=!$,Ie(),Ue.list().forEach(([D,M])=>$?M($):D()),Ue.reset()),$}function bt($,D,M,H){const{scrollBehavior:ae}=e;if(!kn||!ae)return Promise.resolve();const xe=!M&&Mm(na($.fullPath,0))||(H||!M)&&history.state&&history.state.scroll||null;return Gt().then(()=>ae($,D,xe)).then(re=>re&&km(re)).catch(re=>G(re,$,D))}const Ve=$=>r.go($);let rt;const We=new Set;return{currentRoute:a,addRoute:g,removeRoute:v,hasRoute:w,getRoutes:E,resolve:P,options:e,push:O,replace:F,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ke.add,isReady:U,install($){const D=this;$.component("RouterLink",pg),$.component("RouterView",_g),$.config.globalProperties.$router=D,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>x(a)}),kn&&!rt&&a.value===Nt&&(rt=!0,O(r.location).catch(ae=>{}));const M={};for(const ae in Nt)M[ae]=I(()=>a.value[ae]);$.provide(Li,D),$.provide(eu,Le(M)),$.provide(Ro,a);const H=$.unmount;We.add($),$.unmount=function(){We.delete($),We.size<1&&(c=Nt,Pe&&Pe(),a.value=Nt,rt=!1,W=!1),H()}}}}function En(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function bg(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iBn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>Bn(c,a))||r.push(a))}return[n,s,r]}function ha(e,t){if(!e)return!1;const n=e.indexOf(t);return n>=0?(e.splice(n,1),!0):!1}function wg(e){return e!=null}function xg(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(wg))}function Eg(e){return Object.keys(e)}var $g={theme:"seriph",title:"Correct Exam",titleTemplate:"%s - Slidev",remoteAssets:!1,monaco:"dev",download:!0,info:`

Official slides for CorrectExam

+ */const Xc=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",qn=e=>Xc?Symbol(e):"_vr_"+e,vm=qn("rvlm"),Xl=qn("rvd"),Li=qn("r"),eu=qn("rl"),Ro=qn("rvl"),Pn=typeof window!="undefined";function _m(e){return e.__esModule||Xc&&e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Xr(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=()=>{},ym=/\/$/,bm=e=>e.replace(ym,"");function eo(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 wm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ea(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xm(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Bn(t.matched[s],n.matched[r])&&tu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function tu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Em(e[n],t[n]))return!1;return!0}function Em(e,t){return Array.isArray(e)?ta(e,t):Array.isArray(t)?ta(t,e):e===t}function ta(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({left:window.pageXOffset,top:window.pageYOffset});function Pm(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=Am(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 na(e,t){return(history.state?history.state.position-t:-1)+e}const Fo=new Map;function Cm(e,t){Fo.set(e,t)}function Mm(e){const t=Fo.get(e);return Fo.delete(e),t}let Tm=()=>location.protocol+"//"+location.host;function nu(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),ea(a,"")}return ea(n,e)+s+r}function Rm(e,t,n,s){let r=[],o=[],i=null;const l=({state:d})=>{const g=nu(e,location),v=n.value,E=t.value;let w=0;if(d){if(n.value=g,t.value=d,i&&i===v){i=null;return}w=E?d.position-E.position:0}else s(g);r.forEach(A=>{A(n.value,v,{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 g=()=>{const v=r.indexOf(d);v>-1&&r.splice(v,1)};return o.push(g),g}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 sa(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 Fm(e){const{history:t,location:n}=window,s={value:nu(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:Tm()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),r.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function i(a,c){const u=ge({},t.state,sa(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({},sa(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 Lm(e){e=Sm(e);const t=Fm(e),n=Rm(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:km.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 Im(e){return typeof e=="string"||e&&typeof e=="object"}function su(e){return typeof e=="string"||typeof e=="symbol"}const Nt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ru=qn("nf");var ra;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ra||(ra={}));function zn(e,t){return ge(new Error,{type:e,[ru]:!0},t)}function jt(e,t){return e instanceof Error&&ru in e&&(t==null||!!(e.type&t))}const oa="[^/]+?",Nm={sensitive:!1,strict:!1,start:!0,end:!0},jm=/[.+*?^${}()[\]/\\]/g;function Dm(e,t){const n=ge({},Nm,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;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Hm(e,t){let n=0;const s=e.score,r=t.score;for(;n1&&(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{i(y)}:ds}function i(u){if(su(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=0&&(u.record.path!==n[f].record.path||!ou(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!ia(u)&&s.set(u.record.name,u)}function c(u,f){let d,g={},v,E;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw zn(1,{location:u});E=d.record.name,g=ge(qm(f.params,d.keys.filter(y=>!y.optional).map(y=>y.name)),u.params),v=d.stringify(g)}else if("path"in u)v=u.path,d=n.find(y=>y.re.test(v)),d&&(g=d.parse(v),E=d.record.name);else{if(d=f.name?s.get(f.name):n.find(y=>y.re.test(f.path)),!d)throw zn(1,{location:u,currentLocation:f});E=d.record.name,g=ge({},f.params,u.params),v=d.stringify(g)}const w=[];let A=d;for(;A;)w.unshift(A.record),A=A.parent;return{name:E,path:v,params:g,matched:w,meta:Gm(w)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function qm(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ym(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Zm(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Zm(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 ia(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Gm(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function la(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function ou(e,t){return t.children.some(n=>n===e||ou(e,n))}const iu=/#/g,Qm=/&/g,Jm=/\//g,Xm=/=/g,eg=/\?/g,lu=/\+/g,tg=/%5B/g,ng=/%5D/g,au=/%5E/g,sg=/%60/g,cu=/%7B/g,rg=/%7C/g,uu=/%7D/g,og=/%20/g;function Ii(e){return encodeURI(""+e).replace(rg,"|").replace(tg,"[").replace(ng,"]")}function ig(e){return Ii(e).replace(cu,"{").replace(uu,"}").replace(au,"^")}function Lo(e){return Ii(e).replace(lu,"%2B").replace(og,"+").replace(iu,"%23").replace(Qm,"%26").replace(sg,"`").replace(cu,"{").replace(uu,"}").replace(au,"^")}function lg(e){return Lo(e).replace(Xm,"%3D")}function ag(e){return Ii(e).replace(iu,"%23").replace(eg,"%3F")}function cg(e){return e==null?"":ag(e).replace(Jm,"%2F")}function wr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ug(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Lo(o)):[s&&Lo(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function fg(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 Xn(){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 Ht(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(zn(4,{from:n,to:t})):f instanceof Error?l(f):Im(f)?l(zn(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 to(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(dg(l)){const c=(l.__vccOpts||l)[t];c&&r.push(Ht(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=_m(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Ht(d,n,s,o,i)()}))}}return r}function dg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ca(e){const t=Tt(Li),n=Tt(eu),s=I(()=>t.resolve(x(e.to))),r=I(()=>{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(Bn.bind(null,u));if(d>-1)return d;const g=ua(a[c-2]);return c>1&&ua(u)===g&&f[f.length-1].path!==g?f.findIndex(Bn.bind(null,a[c-2])):d}),o=I(()=>r.value>-1&&gg(n.params,s.value.params)),i=I(()=>r.value>-1&&r.value===n.matched.length-1&&tu(n.params,s.value.params));function l(a={}){return mg(a)?t[x(e.replace)?"replace":"push"](x(e.to)).catch(ds):Promise.resolve()}return{route:s,href:I(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const hg=Me({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ca,setup(e,{slots:t}){const n=Le(ca(e)),{options:s}=Tt(Li),r=I(()=>({[fa(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[fa(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Fi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),pg=hg;function mg(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 gg(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 ua(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fa=(e,t,n)=>e!=null?e:t!=null?t:n,vg=Me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=Tt(Ro),r=I(()=>e.route||s.value),o=Tt(Xl,0),i=I(()=>r.value.matched[o]);Ct(Xl,o+1),Ct(vm,i),Ct(Ro,r);const l=q();return oe(()=>[l.value,i.value,e.name],([a,c,u],[f,d,g])=>{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||!Bn(c,d)||!f)&&(c.enterCallbacks[u]||[]).forEach(v=>v(a))},{flush:"post"}),()=>{const a=r.value,c=i.value,u=c&&c.components[e.name],f=e.name;if(!u)return da(n.default,{Component:u,route:a});const d=c.props[e.name],g=d?d===!0?a.params:typeof d=="function"?d(a):d:null,E=Fi(u,ge({},g,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(c.instances[f]=null)},ref:l}));return da(n.default,{Component:E,route:a})||E}}});function da(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const _g=vg;function yg(e){const t=Wm(e.routes,e),n=e.parseQuery||ug,s=e.stringifyQuery||aa,r=e.history,o=Xn(),i=Xn(),l=Xn(),a=Ft(Nt);let c=Nt;Pn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Xr.bind(null,$=>""+$),f=Xr.bind(null,cg),d=Xr.bind(null,wr);function g($,D){let M,H;return su($)?(M=t.getRecordMatcher($),H=D):H=$,t.addRoute(H,M)}function v($){const D=t.getRecordMatcher($);D&&t.removeRoute(D)}function E(){return t.getRoutes().map($=>$.record)}function w($){return!!t.getRecordMatcher($)}function A($,D){if(D=ge({},D||a.value),typeof $=="string"){const te=eo(n,$,D.path),p=t.resolve({path:te.path},D),m=r.createHref(te.fullPath);return ge(te,p,{params:d(p.params),hash:wr(te.hash),redirectedFrom:void 0,href:m})}let M;if("path"in $)M=ge({},$,{path:eo(n,$.path,D.path).path});else{const te=ge({},$.params);for(const p in te)te[p]==null&&delete te[p];M=ge({},$,{params:f($.params)}),D.params=f(D.params)}const H=t.resolve(M,D),ae=$.hash||"";H.params=u(d(H.params));const xe=wm(s,ge({},$,{hash:ig(ae),path:H.path})),re=r.createHref(xe);return ge({fullPath:xe,hash:ae,query:s===aa?fg($.query):$.query||{}},H,{redirectedFrom:void 0,href:re})}function y($){return typeof $=="string"?eo(n,$,a.value.path):ge({},$)}function b($,D){if(c!==$)return zn(8,{from:D,to:$})}function O($){return Z($)}function F($){return O(ge(y($),{replace:!0}))}function j($){const D=$.matched[$.matched.length-1];if(D&&D.redirect){const{redirect:M}=D;let H=typeof M=="function"?M($):M;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=y(H):{path:H},H.params={}),ge({query:$.query,hash:$.hash,params:$.params},H)}}function Z($,D){const M=c=A($),H=a.value,ae=$.state,xe=$.force,re=$.replace===!0,te=j(M);if(te)return Z(ge(y(te),{state:ae,force:xe,replace:re}),D||M);const p=M;p.redirectedFrom=D;let m;return!xe&&xm(s,H,M)&&(m=zn(16,{to:p,from:H}),bt(H,H,!0,!1)),(m?Promise.resolve(m):fe(p,H)).catch(_=>jt(_)?jt(_,2)?_:ie(_):G(_,p,H)).then(_=>{if(_){if(jt(_,2))return Z(ge(y(_.to),{state:ae,force:xe,replace:re}),D||p)}else _=we(p,H,!0,re,ae);return he(p,H,_),_})}function ue($,D){const M=b($,D);return M?Promise.reject(M):Promise.resolve()}function fe($,D){let M;const[H,ae,xe]=bg($,D);M=to(H.reverse(),"beforeRouteLeave",$,D);for(const te of H)te.leaveGuards.forEach(p=>{M.push(Ht(p,$,D))});const re=ue.bind(null,$,D);return M.push(re),En(M).then(()=>{M=[];for(const te of o.list())M.push(Ht(te,$,D));return M.push(re),En(M)}).then(()=>{M=to(ae,"beforeRouteUpdate",$,D);for(const te of ae)te.updateGuards.forEach(p=>{M.push(Ht(p,$,D))});return M.push(re),En(M)}).then(()=>{M=[];for(const te of $.matched)if(te.beforeEnter&&!D.matched.includes(te))if(Array.isArray(te.beforeEnter))for(const p of te.beforeEnter)M.push(Ht(p,$,D));else M.push(Ht(te.beforeEnter,$,D));return M.push(re),En(M)}).then(()=>($.matched.forEach(te=>te.enterCallbacks={}),M=to(xe,"beforeRouteEnter",$,D),M.push(re),En(M))).then(()=>{M=[];for(const te of i.list())M.push(Ht(te,$,D));return M.push(re),En(M)}).catch(te=>jt(te,8)?te:Promise.reject(te))}function he($,D,M){for(const H of l.list())H($,D,M)}function we($,D,M,H,ae){const xe=b($,D);if(xe)return xe;const re=D===Nt,te=Pn?history.state:{};M&&(H||re?r.replace($.fullPath,ge({scroll:re&&te&&te.scroll},ae)):r.push($.fullPath,ae)),a.value=$,bt($,D,M,re),ie()}let Ae;function Ie(){Ae=r.listen(($,D,M)=>{const H=A($),ae=j(H);if(ae){Z(ge(ae,{replace:!0}),H).catch(ds);return}c=H;const xe=a.value;Pn&&Cm(na(xe.fullPath,M.delta),Nr()),fe(H,xe).catch(re=>jt(re,12)?re:jt(re,2)?(Z(re.to,H).then(te=>{jt(te,20)&&!M.delta&&M.type===Cs.pop&&r.go(-1,!1)}).catch(ds),Promise.reject()):(M.delta&&r.go(-M.delta,!1),G(re,H,xe))).then(re=>{re=re||we(H,xe,!1),re&&(M.delta?r.go(-M.delta,!1):M.type===Cs.pop&&jt(re,20)&&r.go(-1,!1)),he(H,xe,re)}).catch(ds)})}let Ue=Xn(),Ke=Xn(),W;function G($,D,M){ie($);const H=Ke.list();return H.length?H.forEach(ae=>ae($,D,M)):console.error($),Promise.reject($)}function U(){return W&&a.value!==Nt?Promise.resolve():new Promise(($,D)=>{Ue.add([$,D])})}function ie($){return W||(W=!$,Ie(),Ue.list().forEach(([D,M])=>$?M($):D()),Ue.reset()),$}function bt($,D,M,H){const{scrollBehavior:ae}=e;if(!Pn||!ae)return Promise.resolve();const xe=!M&&Mm(na($.fullPath,0))||(H||!M)&&history.state&&history.state.scroll||null;return Gt().then(()=>ae($,D,xe)).then(re=>re&&Pm(re)).catch(re=>G(re,$,D))}const Ve=$=>r.go($);let rt;const We=new Set;return{currentRoute:a,addRoute:g,removeRoute:v,hasRoute:w,getRoutes:E,resolve:A,options:e,push:O,replace:F,go:Ve,back:()=>Ve(-1),forward:()=>Ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:Ke.add,isReady:U,install($){const D=this;$.component("RouterLink",pg),$.component("RouterView",_g),$.config.globalProperties.$router=D,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>x(a)}),Pn&&!rt&&a.value===Nt&&(rt=!0,O(r.location).catch(ae=>{}));const M={};for(const ae in Nt)M[ae]=I(()=>a.value[ae]);$.provide(Li,D),$.provide(eu,Le(M)),$.provide(Ro,a);const H=$.unmount;We.add($),$.unmount=function(){We.delete($),We.size<1&&(c=Nt,Ae&&Ae(),a.value=Nt,rt=!1,W=!1),H()}}}}function En(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function bg(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iBn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>Bn(c,a))||r.push(a))}return[n,s,r]}function ha(e,t){if(!e)return!1;const n=e.indexOf(t);return n>=0?(e.splice(n,1),!0):!1}function wg(e){return e!=null}function xg(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(wg))}function Eg(e){return Object.keys(e)}var $g={theme:"seriph",title:"Correct Exam",titleTemplate:"%s - Slidev",remoteAssets:!1,monaco:"dev",download:!0,info:`

Official slides for CorrectExam

Learn more at corrigeExamFront

-`,highlighter:"shiki",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,selectable:!1,themeConfig:{},fonts:{sans:['"PT Serif"',"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:['"PT Serif"',"ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"PT Mono"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["PT Serif","PT Mono"],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"};function ft(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const yn=Le({page:0,clicks:0});let Sg=[],Og=[];ft(yn,"$syncUp",!0);ft(yn,"$syncDown",!0);ft(yn,"$paused",!1);ft(yn,"$onSet",e=>Sg.push(e));ft(yn,"$onPatch",e=>Og.push(e));ft(yn,"$patch",async()=>!1);const bn=Le({});let Ag=[],Pg=[];ft(bn,"$syncUp",!0);ft(bn,"$syncDown",!0);ft(bn,"$paused",!1);ft(bn,"$onSet",e=>Ag.push(e));ft(bn,"$onPatch",e=>Pg.push(e));ft(bn,"$patch",async()=>!1);const xt=yn,gn=bn,Se=$g;var qa;const ps=(qa=Se.aspectRatio)!=null?qa:16/9;var Ya;const ir=(Ya=Se.canvasWidth)!=null?Ya:980,kg=Math.round(ir/ps),Cg=I(()=>xg(Se.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t]));q(!1);const ms=q(!1),Mn=q(!1),Mg=q(!0),Io=zp(me({xs:460},jp)),Ms=gm(),fu=cm(),Tg=I(()=>Ms.height.value-Ms.width.value/ps>180),du=lm(_n?document.body:null),Nn=Np(),Rg=I(()=>{var e,t;return["INPUT","TEXTAREA"].includes(((e=Nn.value)==null?void 0:e.tagName)||"")||((t=Nn.value)==null?void 0:t.classList.contains("CodeMirror-code"))}),Fg=I(()=>{var e;return["BUTTON","A"].includes(((e=Nn.value)==null?void 0:e.tagName)||"")});yt("slidev-camera","default");yt("slidev-mic","default");const lr=yt("slidev-scale",0),gs=yt("slidev-show-overview",!1);yt("slidev-presenter-cursor",!0);const pa=yt("slidev-show-editor",!1);yt("slidev-editor-width",_n?window.innerWidth*.4:100);const hu=Jc(gs);function ma(e,t,n,s=r=>r){return e*s(.5-t*(.5-n))}function Lg(e){return[-e[0],-e[1]]}function pt(e,t){return[e[0]+t[0],e[1]+t[1]]}function at(e,t){return[e[0]-t[0],e[1]-t[1]]}function ht(e,t){return[e[0]*t,e[1]*t]}function Ig(e,t){return[e[0]/t,e[1]/t]}function es(e){return[e[1],-e[0]]}function Ng(e,t){return e[0]*t[0]+e[1]*t[1]}function jg(e,t){return e[0]===t[0]&&e[1]===t[1]}function Dg(e){return Math.hypot(e[0],e[1])}function Vg(e){return e[0]*e[0]+e[1]*e[1]}function ga(e,t){return Vg(at(e,t))}function pu(e){return Ig(e,Dg(e))}function Hg(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 No(e,t,n){return pt(e,ht(at(t,e),n))}function va(e,t,n){return pt(e,ht(t,n))}var{min:$n,PI:Bg}=Math,_a=.275,ns=Bg+1e-4;function zg(e,t={}){let{size:n=16,smoothing:s=.5,thinning:r=.5,simulatePressure:o=!0,easing:i=W=>W,start:l={},end:a={},last:c=!1}=t,{cap:u=!0,taper:f=0,easing:d=W=>W*(2-W)}=l,{cap:g=!0,taper:v=0,easing:E=W=>--W*W*W+1}=a;if(e.length===0||n<=0)return[];let w=e[e.length-1].runningLength,P=Math.pow(n*s,2),y=[],b=[],O=e.slice(0,10).reduce((W,G)=>{let U=G.pressure;if(o){let ie=$n(1,G.distance/n),bt=$n(1,1-ie);U=$n(1,W+(bt-W)*(ie*_a))}return(W+U)/2},e[0].pressure),F=ma(n,r,e[e.length-1].pressure,i),j,Z=e[0].vector,ue=e[0].point,fe=ue,he=ue,we=fe;for(let W=0;WP)&&(y.push(he),ue=he),we=pt(U,D),(W<=1||ga(fe,we)>P)&&(b.push(we),fe=we),O=G,Z=ie}let Pe=e[0].point.slice(0,2),Ie=e.length>1?e[e.length-1].point.slice(0,2):pt(e[0].point,[1,1]),Ue=[],Ke=[];if(e.length===1){if(!(f||v)||c){let W=va(Pe,pu(es(at(Pe,Ie))),-(j||F)),G=[];for(let U=1/13,ie=U;ie<=1;ie+=U)G.push(ts(W,Pe,ns*2*ie));return G}}else{if(!(f||v&&e.length===1))if(u)for(let G=1/13,U=G;U<=1;U+=G){let ie=ts(b[0],Pe,ns*U);Ue.push(ie)}else{let G=at(y[0],b[0]),U=ht(G,.5),ie=ht(G,.51);Ue.push(at(Pe,U),at(Pe,ie),pt(Pe,ie),pt(Pe,U))}let W=es(Lg(e[e.length-1].vector));if(v||f&&e.length===1)Ke.push(Ie);else if(g){let G=va(Ie,W,F);for(let U=1/29,ie=U;ie<1;ie+=U)Ke.push(ts(G,Ie,ns*3*ie))}else Ke.push(pt(Ie,ht(W,F)),pt(Ie,ht(W,F*.99)),at(Ie,ht(W,F*.99)),at(Ie,ht(W,F)))}return y.concat(Ke,b.reverse(),Ue)}function Ug(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:g,y:v,pressure:E=.5})=>[g,v,E]);if(l.length===2){let g=l[1];l=l.slice(0,-1);for(let v=1;v<5;v++)l.push(No(l[0],g,v/4))}l.length===1&&(l=[...l,[...pt(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 g=1;g=0?l[g][2]:.5,vector:pu(at(f.point,v)),distance:E,runningLength:u},a.push(f)}return a[0].vector=((n=a[1])==null?void 0:n.vector)||[0,0],a}function Kg(e,t={}){return zg(Ug(e,t),t)}var Wg=Kg,qg=Object.defineProperty,ya=Object.getOwnPropertySymbols,Yg=Object.prototype.hasOwnProperty,Zg=Object.prototype.propertyIsEnumerable,ba=(e,t,n)=>t in e?qg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jo=(e,t)=>{for(var n in t||(t={}))Yg.call(t,n)&&ba(e,n,t[n]);if(ya)for(var n of ya(t))Zg.call(t,n)&&ba(e,n,t[n]);return e},Gg=()=>({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 xr(e,t){return e-t}function Qg(e){return e<0?-1:1}function Er(e){return[Math.abs(e),Qg(e)]}function mu(){const e=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}var Jg=2,Pt=Jg,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?jo(jo({},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(Pt))}_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)}},Xg=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=Wg(e,jo({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(" ")}},ev=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]=Er(e.x-this.start.x),[s,r]=Er(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(xr),[l,a]=[this.start.y,this.start.y+s*r].sort(xr);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 gu(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 tv=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=mu(),n=document.createElementNS("http://www.w3.org/2000/svg","g");return n.append(gu(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)}},nv=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]=Er(e.x-this.start.x),[s,r]=Er(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(xr),[l,a]=[this.start.y,this.start.y+s*r].sort(xr);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 sv(e,t){const n=e.x-t.x,s=e.y-t.y;return n*n+s*s}function rv(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 ov(e,t){let n=e[0];const s=[n];let r;for(let o=1,i=e.length;ot&&(s.push(r),n=r);return n!==r&&r&&s.push(r),s}function Do(e,t,n,s,r){let o=s,i=0;for(let l=t+1;lo&&(i=l,o=a)}o>s&&(i-t>1&&Do(e,t,i,s,r),r.push(e[i]),n-i>1&&Do(e,i,n,s,r))}function iv(e,t){const n=e.length-1,s=[e[0]];return Do(e,0,n,t,s),s.push(e[n]),s}function wa(e,t,n=!1){if(e.length<=2)return e;const s=t!==void 0?t*t:1;return e=n?e:ov(e,s),e=iv(e,s),e}var lv=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=mu();const t=gu(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=wa(this.points,1,!0),this.count=0),this.attr("d",Ea(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||(e.setAttribute("d",Ea(wa(this.points,1,!0))),!e.getTotalLength()))}};function av(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 xa(e,t,n,s){const r=t||e,o=n||e,i=.2,l=av(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 cv(e,t,n){const s=xa(n[t-1],n[t-2],e),r=xa(e,n[t-1],n[t+1],!0);return`C ${s.x.toFixed(Pt)},${s.y.toFixed(Pt)} ${r.x.toFixed(Pt)},${r.y.toFixed(Pt)} ${e.x.toFixed(Pt)},${e.y.toFixed(Pt)}`}function Ea(e){return e.reduce((t,n,s,r)=>s===0?`M ${n.x.toFixed(Pt)},${n.y.toFixed(Pt)}`:`${t} ${cv(n,s,r)}`,"")}var uv=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!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),g=(v,E,w)=>v>=E&&v<=w?!0:v>=w&&v<=E;if(u===0)return!1;{const v={x:f/u,y:d/u};return g(v.x,n,s)&&g(v.y,i,l)&&g(v.x,r,o)&&g(v.y,a,c)}}};function fv(e){return{draw:new lv(e),stylus:new Xg(e),line:new tv(e),rectangle:new nv(e),ellipse:new ev(e),eraseLine:new uv(e)}}var dv=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=Gg(),this._models=fv(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 hv(e){return new dv(e)}const Vo=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],St=yt("slidev-drawing-enabled",!1),kx=yt("slidev-drawing-pinned",!1),pv=q(!1),mv=q(!1),gv=q(!1),Ts=q(!1),un=$p(yt("slidev-drawing-brush",{color:Vo[0],size:4,mode:"stylus"})),$a=q("stylus");let Ho=!1;const ss=I({get(){return $a.value},set(e){$a.value=e,e==="arrow"?(un.mode="line",un.arrowEnd=!0):(un.mode=e,un.arrowEnd=!1)}}),vv=Le({brush:un,acceptsInputTypes:I(()=>St.value?void 0:["pen"]),coordinateTransform:!1}),Qe=gi(hv(vv));function _v(){Qe.clear(),gn.$patch({[je.value]:""})}function yv(){var e;mv.value=Qe.canRedo(),pv.value=Qe.canUndo(),gv.value=!!((e=Qe.el)!=null&&e.children.length)}function bv(){Ho=!0;const e=gn[je.value];e!=null?Qe.load(e):Qe.clear(),Ho=!1}Qe.on("changed",()=>{if(yv(),!Ho){const e=Qe.dump(),t=je.value;(gn[t]||"")!==e&&(gn[t]=Qe.dump())}});Gt(()=>{oe(je,()=>{!Qe.mounted||bv()},{immediate:!0}),Ei(()=>{gn.$syncUp=Se.drawings.syncAll||Xt.value})});Qe.on("start",()=>Ts.value=!0);Qe.on("end",()=>Ts.value=!1);window.addEventListener("keydown",e=>{if(!St.value)return;const t=!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey;let n=!0;e.code==="KeyZ"&&(e.ctrlKey||e.metaKey)?e.shiftKey?Qe.redo():Qe.undo():e.code==="Escape"?St.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?_v():e.code.startsWith("Digit")&&t&&+e.code[5]<=Vo.length?un.color=Vo[+e.code[5]-1]:n=!1,n&&(e.preventDefault(),e.stopPropagation())},!1);const Sa=Yp(),no=yt("slidev-color-schema","auto"),Bo=I(()=>Se.colorSchema!=="auto"),Ni=I({get(){return Bo.value?Se.colorSchema==="dark":no.value==="auto"?Sa.value:no.value==="dark"},set(e){Bo.value||(no.value=e===Sa.value?"auto":e?"dark":"light")}}),vu=Jc(Ni);_n&&oe(Ni,e=>{const t=document.querySelector("html");t.classList.toggle("dark",e),t.classList.toggle("light",!e)},{immediate:!0});function wv(){return[]}const _u=it(At(Rg),At(Fg),Mg);function xv(e,t,n=!1){typeof e=="string"&&(e=fu[e]);const s=it(e,_u);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 oe(s,i,{flush:"sync"})}function Ev(e,t){return Ip(e,n=>{!_u.value||n.repeat||t()})}function $v(){const e=wv(),{escape:t,space:n,shift:s,left:r,right:o,d:i,g:l,o:a}=fu;new Map([{key:it(n,At(s)),fn:qt,autoRepeat:!0},{key:it(n,s),fn:Yt,autoRepeat:!0},{key:it(o,At(s)),fn:qt,autoRepeat:!0},{key:it(r,At(s)),fn:Yt,autoRepeat:!0},{key:"pageDown",fn:qt,autoRepeat:!0},{key:"pageUp",fn:Yt,autoRepeat:!0},{key:"up",fn:()=>Ls(!1),autoRepeat:!0},{key:"down",fn:Fs,autoRepeat:!0},{key:it(r,s),fn:()=>Ls(!1),autoRepeat:!0},{key:it(o,s),fn:Fs,autoRepeat:!0},{key:it(i,At(St)),fn:vu},{key:it(a,At(St)),fn:hu},{key:it(t,At(St)),fn:()=>gs.value=!1},{key:it(l,At(St)),fn:()=>Mn.value=!Mn.value},...e].map(u=>[u.key,u])).forEach(u=>{u.fn&&xv(u.key,u.fn,u.autoRepeat)}),Ev("f",()=>du.toggle())}const Sv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ov=h("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),Av=[Ov];function Pv(e,t){return C(),K("svg",Sv,Av)}var kv={name:"carbon-close",render:Pv};function yu(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"),Cn=Symbol("v-click-clicks-elements"),zo=Symbol("v-click-clicks-order-map"),cr=Symbol("v-click-clicks-disabled"),Cv=Symbol("slidev-slide-scale"),Sn="slidev-vclick-target",so="slidev-vclick-hidden",Mv="slidev-vclick-fade",ro="slidev-vclick-hidden-explicitly",rs="slidev-vclick-current",Js="slidev-vclick-prior";const bu=Me({props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(e){const t=e,n=q(),s=im(n),r=I(()=>t.width?t.width:s.width.value),o=I(()=>t.width?t.width/ps:s.height.value);t.width&&Ei(()=>{n.value&&(n.value.style.width=`${r.value}px`,n.value.style.height=`${o.value}px`)});const i=I(()=>r.value/o.value),l=I(()=>t.scale?t.scale:i.value({height:`${kg}px`,width:`${ir}px`,transform:`translate(-50%, -50%) scale(${l.value})`})),c=I(()=>({"select-none":!Se.selectable,"slidev-code-line-numbers":Se.lineNumbers}));return Ct(Cv,l),(u,f)=>(C(),K("div",{id:"slide-container",ref_key:"root",ref:n,class:Fe(x(c))},[h("div",{id:"slide-content",style:nt(x(a))},[Jt(u.$slots,"default")],4),Jt(u.$slots,"controls")],2))}});var wu=Me({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=Mt(e,"clicks",t),s=Mt(e,"clicksElements",t),r=Mt(e,"clicksDisabled",t),o=Mt(e,"clicksOrderMap",t);s.value.length=0,Ct(ar,n),Ct(cr,r),Ct(Cn,s),Ct(zo,o)},render(){var e,t;return this.$props.is?Fi(this.$props.is):(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)}});const Tv=["innerHTML"],Rv=Me({props:{page:null},setup(e){return(t,n)=>x(gn)[e.page]?(C(),K("svg",{key:0,ref:"svg",class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:x(gn)[e.page]},null,8,Tv)):ve("v-if",!0)}});const Fv={class:"slides-overview bg-main !bg-opacity-75 p-16 overflow-y-auto"},Lv=["onClick"],Iv=Me({props:{modelValue:{type:Boolean}},emits:[],setup(e,{emit:t}){const s=Mt(e,"modelValue",t);function r(){s.value=!1}function o(f){Vs(f),r()}const i=Io.smaller("xs"),l=Io.smaller("sm"),a=4*16*2,c=2*16,u=I(()=>i.value?Ms.width.value-a:l.value?(Ms.width.value-a-c)/2:300);return(f,d)=>{const g=kv;return C(),K(Oe,null,[ki(h("div",Fv,[h("div",{class:"grid gap-y-4 gap-x-8 w-full",style:nt(`grid-template-columns: repeat(auto-fit,minmax(${x(u)}px,1fr))`)},[(C(!0),K(Oe,null,Ti(x(_t).slice(0,-1),(v,E)=>(C(),K("div",{key:v.path,class:"relative"},[h("div",{class:"inline-block border border-gray-400 rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary",onClick:w=>o(+v.path)},[(C(),se(bu,{key:v.path,width:x(u),"clicks-disabled":!0,class:"pointer-events-none"},{default:be(()=>[J(x(wu),{is:v==null?void 0:v.component,"clicks-disabled":!0,class:Fe(x(yu)(v))},null,8,["is","class"]),J(Rv,{page:+v.path},null,8,["page"])]),_:2},1032,["width"]))],8,Lv),h("div",{class:"absolute top-0 opacity-50",style:nt(`left: ${x(u)+5}px`)},Es(E+1),5)]))),128))],4)],512),[[Yc,x(s)]]),x(s)?(C(),K("button",{key:0,class:"fixed text-2xl top-4 right-4 icon-btn text-gray-400",onClick:r},[J(g)])):ve("v-if",!0)],64)}}});var Nv="/slides/assets/logo.b72bde5d.png";const jv={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},Dv=Me({props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(e,{emit:t}){const n=e,s=Mt(n,"modelValue",t);function r(){s.value=!1}return(o,i)=>(C(),se(Pc,null,[x(s)?(C(),K("div",jv,[h("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:i[0]||(i[0]=l=>r())}),h("div",{class:Fe(["m-auto rounded-md bg-main shadow",n.class]),"dark:border":"~ gray-400 opacity-10"},[Jt(o.$slots,"default")],2)])):ve("v-if",!0)],1024))}});const Vv={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},Hv=["innerHTML"],Bv=h("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[h("div",{class:"flex gap-1 children:my-auto"},[h("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),h("img",{class:"w-5 h-5",src:Nv,alt:"Slidev"}),h("div",{style:{color:"#2082A6"}},[h("b",null,"Sli"),te("dev ")])])],-1),zv=Me({props:{modelValue:{default:!1}},emits:["modelValue"],setup(e,{emit:t}){const s=Mt(e,"modelValue",t),r=I(()=>typeof Se.info=="string");return(o,i)=>(C(),se(Dv,{modelValue:x(s),"onUpdate:modelValue":i[0]||(i[0]=l=>ye(s)?s.value=l:null),class:"px-6 py-4"},{default:be(()=>[h("div",Vv,[x(r)?(C(),K("div",{key:0,class:"mb-4",innerHTML:x(Se).info},null,8,Hv)):ve("v-if",!0),Bv])]),_:1},8,["modelValue"]))}}),Uv=["disabled","onKeydown"],Kv=Me({setup(e){const t=q(),n=q(""),s=I(()=>+n.value),r=I(()=>!isNaN(s.value)&&s.value>0&&s.value<=Di.value);function o(){r.value&&Vs(s.value),i()}function i(){Mn.value=!1}return oe(Mn,async l=>{var a,c;l?(await Gt(),n.value="",(a=t.value)==null||a.focus()):(c=t.value)==null||c.blur()}),oe(n,l=>{l.match(/^[^0-9]/)&&(n.value=n.value.substr(1))}),(l,a)=>(C(),K("div",{id:"slidev-goto-dialog",class:Fe(["fixed right-5 bg-main transform transition-all",x(Mn)?"top-5":"-top-20"]),shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:gray-400 dark:opacity-25"},[ki(h("input",{ref_key:"input",ref:t,"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),type:"text",disabled:!x(Mn),class:Fe(["outline-none bg-transparent",{"text-red-400":!x(r)&&n.value}]),placeholder:"Goto...",onKeydown:[Fl(o,["enter"]),Fl(i,["escape"])],onBlur:i},null,42,Uv),[[Zh,n.value]])],2))}}),Wv=Me({setup(e){return Ft(),Ft(),(t,n)=>(C(),K(Oe,null,[J(Iv,{modelValue:x(gs),"onUpdate:modelValue":n[0]||(n[0]=s=>ye(gs)?gs.value=s:null)},null,8,["modelValue"]),J(Kv),ve("v-if",!0),x(Se).info?(C(),se(zv,{key:1,modelValue:x(ms),"onUpdate:modelValue":n[2]||(n[2]=s=>ye(ms)?ms.value=s:null)},null,8,["modelValue"])):ve("v-if",!0)],64))}}),qv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Yv=h("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),Zv=[Yv];function Gv(e,t){return C(),K("svg",qv,Zv)}var Qv={name:"carbon-settings-adjust",render:Gv};const Jv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Xv=h("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),e0=h("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),t0=[Xv,e0];function n0(e,t){return C(),K("svg",Jv,t0)}var s0={name:"carbon-information",render:n0};const r0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},o0=h("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),i0=[o0];function l0(e,t){return C(),K("svg",r0,i0)}var a0={name:"carbon-download",render:l0};const c0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},u0=h("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),f0=[u0];function d0(e,t){return C(),K("svg",c0,f0)}var h0={name:"carbon-pen",render:d0};const p0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},m0=h("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),g0=[m0];function v0(e,t){return C(),K("svg",p0,g0)}var _0={name:"ph-cursor-fill",render:v0};const y0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},b0=h("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),w0=[b0];function x0(e,t){return C(),K("svg",y0,w0)}var E0={name:"carbon-sun",render:x0};const $0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},S0=h("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),O0=[S0];function A0(e,t){return C(),K("svg",$0,O0)}var P0={name:"carbon-moon",render:A0};const k0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},C0=h("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),M0=[C0];function T0(e,t){return C(),K("svg",k0,M0)}var R0={name:"carbon-apps",render:T0};const F0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},L0=h("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z"},null,-1),I0=[L0];function N0(e,t){return C(),K("svg",F0,I0)}var xu={name:"carbon-arrow-right",render:N0};const j0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},D0=h("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16l10 10z"},null,-1),V0=[D0];function H0(e,t){return C(),K("svg",j0,V0)}var B0={name:"carbon-arrow-left",render:H0};const z0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},U0=h("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),K0=[U0];function W0(e,t){return C(),K("svg",z0,K0)}var q0={name:"carbon-maximize",render:W0};const Y0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Z0=h("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),G0=[Z0];function Q0(e,t){return C(),K("svg",Y0,G0)}var J0={name:"carbon-minimize",render:Q0};const X0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},e1=h("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9L13 24z"},null,-1),t1=[e1];function n1(e,t){return C(),K("svg",X0,t1)}var s1={name:"carbon-checkmark",render:n1};var Ds=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const r1={class:"select-list"},o1={class:"title"},i1={class:"items"},l1=["onClick"],a1=Me({props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){const s=Mt(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=s1;return C(),K("div",r1,[h("div",o1,Es(e.title),1),h("div",i1,[(C(!0),K(Oe,null,Ti(e.items,l=>(C(),K("div",{key:l.value,class:Fe(["item",{active:x(s)===l.value}]),onClick:()=>{var a;s.value=l.value,(a=l.onClick)==null||a.call(l)}},[J(i,{class:Fe(["text-green-500",{"opacity-0":x(s)!==l.value}])},null,8,["class"]),te(" "+Es(l.display||l.value),1)],10,l1))),128))])])}}});var c1=Ds(a1,[["__scopeId","data-v-00f5edb7"]]);const u1={class:"text-sm"},f1=Me({setup(e){const t=[{display:"Fit",value:0},{display:"1:1",value:1}];return(n,s)=>(C(),K("div",u1,[J(c1,{modelValue:x(lr),"onUpdate:modelValue":s[0]||(s[0]=r=>ye(lr)?lr.value=r:null),title:"Scale",items:t},null,8,["modelValue"])]))}}),d1={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ gray-400 opacity-10"},h1=Me({props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){const s=Mt(e,"modelValue",t,{passive:!0}),r=q();return Fp(r,()=>{s.value=!1}),(o,i)=>(C(),K("div",{ref_key:"el",ref:r,class:"flex relative"},[h("button",{class:Fe({disabled:e.disabled}),onClick:i[0]||(i[0]=l=>s.value=!x(s))},[Jt(o.$slots,"button",{class:Fe({disabled:e.disabled})})],2),(C(),se(Pc,null,[x(s)?(C(),K("div",d1,[Jt(o.$slots,"menu")])):ve("v-if",!0)],1024))],512))}}),p1={},m1={class:"w-1px m-2 opacity-10 bg-current"};function g1(e,t){return C(),K("div",m1)}var oo=Ds(p1,[["render",g1]]);const v1={class:"icon-btn"},_1={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},y1={class:"my-auto"},b1={class:"opacity-50"},w1=Me({props:{persist:{default:!1}},setup(e){const t=e;Io.smaller("md");const{isFullscreen:n,toggle:s}=du;I(()=>`/presenter/${je.value}`),I(()=>`/${je.value}`);const r=q(),o=()=>{r.value&&Nn.value&&r.value.contains(Nn.value)&&Nn.value.blur()},i=I(()=>t.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10");Ft();const l=Ft();return import("./DrawingControls.811bcaf8.js").then(a=>l.value=a.default),(a,c)=>{const u=J0,f=q0,d=B0,g=xu,v=R0,E=P0,w=E0,P=h0;Hc("RouterLink");const y=a0,b=s0,O=Qv;return C(),K("nav",{ref_key:"root",ref:r,class:"flex flex-col"},[h("div",{class:Fe(["flex flex-wrap-reverse text-xl p-2 gap-1",x(i)]),onMouseleave:o},[x(Bt)?ve("v-if",!0):(C(),K("button",{key:0,class:"icon-btn",onClick:c[0]||(c[0]=(...F)=>x(s)&&x(s)(...F))},[x(n)?(C(),se(u,{key:0})):(C(),se(f,{key:1}))])),h("button",{class:Fe(["icon-btn",{disabled:!x(Pu)}]),onClick:c[1]||(c[1]=(...F)=>x(Yt)&&x(Yt)(...F))},[J(d)],2),h("button",{class:Fe(["icon-btn",{disabled:!x(Au)}]),title:"Next",onClick:c[2]||(c[2]=(...F)=>x(qt)&&x(qt)(...F))},[J(g)],2),x(Bt)?ve("v-if",!0):(C(),K("button",{key:1,class:"icon-btn",title:"Slides overview",onClick:c[3]||(c[3]=F=>x(hu)())},[J(v)])),x(Bo)?ve("v-if",!0):(C(),K("button",{key:2,class:"icon-btn",title:"Toggle dark mode",onClick:c[4]||(c[4]=F=>x(vu)())},[x(Ni)?(C(),se(E,{key:0})):(C(),se(w,{key:1}))])),J(oo),ve("v-if",!0),!x(Se).drawings.presenterOnly&&!x(Bt)?(C(),K(Oe,{key:4},[h("button",{class:"icon-btn relative",title:"Drawing",onClick:c[6]||(c[6]=F=>St.value=!x(St))},[J(P),x(St)?(C(),K("div",{key:0,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:nt({background:x(un).color})},null,4)):ve("v-if",!0)]),J(oo)],64)):ve("v-if",!0),ve("v-if",!0),(C(),K(Oe,{key:6},[x(Se).download?(C(),K("button",{key:0,class:"icon-btn",onClick:c[8]||(c[8]=(...F)=>x(Ko)&&x(Ko)(...F))},[J(y)])):ve("v-if",!0)],2112)),!x(Xt)&&x(Se).info&&!x(Bt)?(C(),K("button",{key:7,class:"icon-btn",onClick:c[9]||(c[9]=F=>ms.value=!x(ms))},[J(b)])):ve("v-if",!0),!x(Xt)&&!x(Bt)?(C(),se(h1,{key:8},{button:be(()=>[h("button",v1,[J(O)])]),menu:be(()=>[J(f1)]),_:1})):ve("v-if",!0),x(Bt)?ve("v-if",!0):(C(),se(oo,{key:9})),h("div",_1,[h("div",y1,[te(Es(x(je))+" ",1),h("span",b1,"/ "+Es(x(Di)),1)])])],34)],512)}}});var x1={render(){return[]}},E1={render(){return[]}};const $1={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},S1=Me({setup(e){return(t,n)=>{const s=_0;return x(xt).cursor?(C(),K("div",$1,[J(s,{class:"absolute",style:nt({left:`${x(xt).cursor.x}%`,top:`${x(xt).cursor.y}%`})},null,8,["style"])])):ve("v-if",!0)}}}),O1=Me({setup(e){oe(Ye,()=>{var n,s;((n=Ye.value)==null?void 0:n.meta)&&Ye.value.meta.preload!==!1&&(Ye.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=Ft();return import("./DrawingLayer.70e23d22.js").then(n=>t.value=n.default),(n,s)=>(C(),K(Oe,null,[ve(" Global Bottom "),J(x(E1)),ve(" Slides "),(C(!0),K(Oe,null,Ti(x(_t),r=>{var o,i;return C(),K(Oe,{key:r.path},[((o=r.meta)==null?void 0:o.__preloaded)||r===x(Ye)?ki((C(),se(x(wu),{key:0,is:r==null?void 0:r.component,clicks:r===x(Ye)?x(vt):0,"clicks-elements":((i=r.meta)==null?void 0:i.__clicksElements)||[],"clicks-disabled":!1,class:Fe(x(yu)(r))},null,8,["is","clicks","clicks-elements","class"])),[[Yc,r===x(Ye)]]):ve("v-if",!0)],64)}),128)),ve(" Global Top "),J(x(x1)),x(t)?(C(),se(x(t),{key:0})):ve("v-if",!0),x(Xt)?ve("v-if",!0):(C(),se(S1,{key:1}))],64))}}),A1=Me({setup(e){$v();const t=q();function n(o){var i;pa.value||((i=o.target)==null?void 0:i.id)==="slide-container"&&(o.screenX/window.innerWidth>.6?qt():Yt())}Mu(t);const s=I(()=>Tg.value||pa.value);Ft();const r=Ft();return import("./DrawingControls.811bcaf8.js").then(o=>r.value=o.default),(o,i)=>(C(),K(Oe,null,[h("div",{id:"page-root",ref_key:"root",ref:t,class:"grid grid-cols-[1fr,max-content]",style:nt(x(Cg))},[J(bu,{class:"w-full h-full",style:nt({background:"var(--slidev-slide-container-background, black)"}),width:x(ji)?x(Ms).width.value:void 0,scale:x(lr),onPointerdown:n},{default:be(()=>[J(O1)]),controls:be(()=>[h("div",{class:Fe(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[x(s)?"opacity-100 right-0":"opacity-0 p-2",x(Ts)?"pointer-events-none":""]])},[J(w1,{class:"m-auto",persist:x(s)},null,8,["persist"])],2),!x(Se).drawings.presenterOnly&&!x(Bt)&&x(r)?(C(),se(x(r),{key:0,class:"ml-0"})):ve("v-if",!0)]),_:1},8,["style","width","scale"]),ve("v-if",!0)],4),J(Wv)],64))}});const P1={},k1={class:"slidev-layout end"};function C1(e,t){return C(),K("div",k1," END ")}var M1=Ds(P1,[["render",C1],["__scopeId","data-v-4bd85f04"]]);const T1={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},R1=h("path",{fill:"currentColor","fill-rule":"evenodd",d:"M16 2a14 14 0 0 0-4.43 27.28c.7.13 1-.3 1-.67v-2.38c-3.89.84-4.71-1.88-4.71-1.88a3.71 3.71 0 0 0-1.62-2.05c-1.27-.86.1-.85.1-.85a2.94 2.94 0 0 1 2.14 1.45a3 3 0 0 0 4.08 1.16a2.93 2.93 0 0 1 .88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4 5.4 0 0 1 1.44-3.76a5 5 0 0 1 .14-3.7s1.17-.38 3.85 1.43a13.3 13.3 0 0 1 7 0c2.67-1.81 3.84-1.43 3.84-1.43a5 5 0 0 1 .14 3.7a5.4 5.4 0 0 1 1.44 3.76c0 5.38-3.27 6.56-6.39 6.91a3.33 3.33 0 0 1 .95 2.59v3.84c0 .46.25.81 1 .67A14 14 0 0 0 16 2Z"},null,-1),F1=[R1];function L1(e,t){return C(),K("svg",T1,F1)}var I1={name:"carbon-logo-github",render:L1};const N1={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},j1=h("path",{fill:"currentColor",d:"M2 26h28v2H2zM25.4 9c.8-.8.8-2 0-2.8l-3.6-3.6c-.8-.8-2-.8-2.8 0l-15 15V24h6.4l15-15zm-5-5L24 7.6l-3 3L17.4 7l3-3zM6 22v-3.6l10-10l3.6 3.6l-10 10H6z"},null,-1),D1=[j1];function V1(e,t){return C(),K("svg",N1,D1)}var H1={name:"carbon-edit",render:V1};function Oa(e){return e.startsWith("/")?"/slides/"+e.slice(1):e}function B1(e,t=!1){const n=e&&["#","rgb","hsl"].some(r=>e.indexOf(r)===0),s={background:n?e:void 0,color:e&&!n?"white":void 0,backgroundImage:n?void 0:e?t?`linear-gradient(#0005, #0008), url(${Oa(e)})`:`url("${Oa(e)}")`:void 0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"};return s.background||delete s.background,s}const z1={class:"my-auto w-full"},U1=Me({props:{background:{default:"https://source.unsplash.com/collection/94734566/1920x1080"}},setup(e){const t=e,n=I(()=>B1(t.background,!0));return(s,r)=>(C(),K("div",{class:"slidev-layout cover text-center",style:nt(x(n))},[h("div",z1,[Jt(s.$slots,"default")])],4))}}),K1=h("h1",null,"Correct Exam",-1),W1=h("p",null,"Modern software architecture in practise",-1),q1={class:"pt-12"},Y1=te(" Press Space for next page "),Z1={class:"abs-br m-6 flex gap-2"},G1={href:"https://olivier.barais.fr/corrigeExamFront/",target:"_blank",alt:"GitHub",class:"text-xl icon-btn opacity-50 !border-none !hover:text-white"},Q1={setup(e){const t={theme:"seriph",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",download:!0,highlighter:"shiki",lineNumbers:!1,info:`## Official slides for CorrectExam +`,highlighter:"shiki",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,selectable:!1,themeConfig:{},fonts:{sans:['"PT Serif"',"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:['"PT Serif"',"ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"PT Mono"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["PT Serif","PT Mono"],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"};function ft(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const yn=Le({page:0,clicks:0});let Sg=[],Og=[];ft(yn,"$syncUp",!0);ft(yn,"$syncDown",!0);ft(yn,"$paused",!1);ft(yn,"$onSet",e=>Sg.push(e));ft(yn,"$onPatch",e=>Og.push(e));ft(yn,"$patch",async()=>!1);const bn=Le({});let kg=[],Ag=[];ft(bn,"$syncUp",!0);ft(bn,"$syncDown",!0);ft(bn,"$paused",!1);ft(bn,"$onSet",e=>kg.push(e));ft(bn,"$onPatch",e=>Ag.push(e));ft(bn,"$patch",async()=>!1);const xt=yn,gn=bn,Se=$g;var qa;const ps=(qa=Se.aspectRatio)!=null?qa:16/9;var Ya;const ir=(Ya=Se.canvasWidth)!=null?Ya:980,Pg=Math.round(ir/ps),Cg=I(()=>xg(Se.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t]));q(!1);const ms=q(!1),Mn=q(!1),Mg=q(!0),Io=zp(me({xs:460},jp)),Ms=gm(),fu=cm(),Tg=I(()=>Ms.height.value-Ms.width.value/ps>180),du=lm(_n?document.body:null),Nn=Np(),Rg=I(()=>{var e,t;return["INPUT","TEXTAREA"].includes(((e=Nn.value)==null?void 0:e.tagName)||"")||((t=Nn.value)==null?void 0:t.classList.contains("CodeMirror-code"))}),Fg=I(()=>{var e;return["BUTTON","A"].includes(((e=Nn.value)==null?void 0:e.tagName)||"")});yt("slidev-camera","default");yt("slidev-mic","default");const lr=yt("slidev-scale",0),gs=yt("slidev-show-overview",!1);yt("slidev-presenter-cursor",!0);const pa=yt("slidev-show-editor",!1);yt("slidev-editor-width",_n?window.innerWidth*.4:100);const hu=Jc(gs);function ma(e,t,n,s=r=>r){return e*s(.5-t*(.5-n))}function Lg(e){return[-e[0],-e[1]]}function pt(e,t){return[e[0]+t[0],e[1]+t[1]]}function at(e,t){return[e[0]-t[0],e[1]-t[1]]}function ht(e,t){return[e[0]*t,e[1]*t]}function Ig(e,t){return[e[0]/t,e[1]/t]}function es(e){return[e[1],-e[0]]}function Ng(e,t){return e[0]*t[0]+e[1]*t[1]}function jg(e,t){return e[0]===t[0]&&e[1]===t[1]}function Dg(e){return Math.hypot(e[0],e[1])}function Vg(e){return e[0]*e[0]+e[1]*e[1]}function ga(e,t){return Vg(at(e,t))}function pu(e){return Ig(e,Dg(e))}function Hg(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 No(e,t,n){return pt(e,ht(at(t,e),n))}function va(e,t,n){return pt(e,ht(t,n))}var{min:$n,PI:Bg}=Math,_a=.275,ns=Bg+1e-4;function zg(e,t={}){let{size:n=16,smoothing:s=.5,thinning:r=.5,simulatePressure:o=!0,easing:i=W=>W,start:l={},end:a={},last:c=!1}=t,{cap:u=!0,taper:f=0,easing:d=W=>W*(2-W)}=l,{cap:g=!0,taper:v=0,easing:E=W=>--W*W*W+1}=a;if(e.length===0||n<=0)return[];let w=e[e.length-1].runningLength,A=Math.pow(n*s,2),y=[],b=[],O=e.slice(0,10).reduce((W,G)=>{let U=G.pressure;if(o){let ie=$n(1,G.distance/n),bt=$n(1,1-ie);U=$n(1,W+(bt-W)*(ie*_a))}return(W+U)/2},e[0].pressure),F=ma(n,r,e[e.length-1].pressure,i),j,Z=e[0].vector,ue=e[0].point,fe=ue,he=ue,we=fe;for(let W=0;WA)&&(y.push(he),ue=he),we=pt(U,D),(W<=1||ga(fe,we)>A)&&(b.push(we),fe=we),O=G,Z=ie}let Ae=e[0].point.slice(0,2),Ie=e.length>1?e[e.length-1].point.slice(0,2):pt(e[0].point,[1,1]),Ue=[],Ke=[];if(e.length===1){if(!(f||v)||c){let W=va(Ae,pu(es(at(Ae,Ie))),-(j||F)),G=[];for(let U=1/13,ie=U;ie<=1;ie+=U)G.push(ts(W,Ae,ns*2*ie));return G}}else{if(!(f||v&&e.length===1))if(u)for(let G=1/13,U=G;U<=1;U+=G){let ie=ts(b[0],Ae,ns*U);Ue.push(ie)}else{let G=at(y[0],b[0]),U=ht(G,.5),ie=ht(G,.51);Ue.push(at(Ae,U),at(Ae,ie),pt(Ae,ie),pt(Ae,U))}let W=es(Lg(e[e.length-1].vector));if(v||f&&e.length===1)Ke.push(Ie);else if(g){let G=va(Ie,W,F);for(let U=1/29,ie=U;ie<1;ie+=U)Ke.push(ts(G,Ie,ns*3*ie))}else Ke.push(pt(Ie,ht(W,F)),pt(Ie,ht(W,F*.99)),at(Ie,ht(W,F*.99)),at(Ie,ht(W,F)))}return y.concat(Ke,b.reverse(),Ue)}function Ug(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:g,y:v,pressure:E=.5})=>[g,v,E]);if(l.length===2){let g=l[1];l=l.slice(0,-1);for(let v=1;v<5;v++)l.push(No(l[0],g,v/4))}l.length===1&&(l=[...l,[...pt(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 g=1;g=0?l[g][2]:.5,vector:pu(at(f.point,v)),distance:E,runningLength:u},a.push(f)}return a[0].vector=((n=a[1])==null?void 0:n.vector)||[0,0],a}function Kg(e,t={}){return zg(Ug(e,t),t)}var Wg=Kg,qg=Object.defineProperty,ya=Object.getOwnPropertySymbols,Yg=Object.prototype.hasOwnProperty,Zg=Object.prototype.propertyIsEnumerable,ba=(e,t,n)=>t in e?qg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jo=(e,t)=>{for(var n in t||(t={}))Yg.call(t,n)&&ba(e,n,t[n]);if(ya)for(var n of ya(t))Zg.call(t,n)&&ba(e,n,t[n]);return e},Gg=()=>({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 xr(e,t){return e-t}function Qg(e){return e<0?-1:1}function Er(e){return[Math.abs(e),Qg(e)]}function mu(){const e=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}var Jg=2,At=Jg,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?jo(jo({},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(At))}_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)}},Xg=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=Wg(e,jo({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(" ")}},ev=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]=Er(e.x-this.start.x),[s,r]=Er(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(xr),[l,a]=[this.start.y,this.start.y+s*r].sort(xr);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 gu(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 tv=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=mu(),n=document.createElementNS("http://www.w3.org/2000/svg","g");return n.append(gu(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)}},nv=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]=Er(e.x-this.start.x),[s,r]=Er(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(xr),[l,a]=[this.start.y,this.start.y+s*r].sort(xr);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 sv(e,t){const n=e.x-t.x,s=e.y-t.y;return n*n+s*s}function rv(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 ov(e,t){let n=e[0];const s=[n];let r;for(let o=1,i=e.length;ot&&(s.push(r),n=r);return n!==r&&r&&s.push(r),s}function Do(e,t,n,s,r){let o=s,i=0;for(let l=t+1;lo&&(i=l,o=a)}o>s&&(i-t>1&&Do(e,t,i,s,r),r.push(e[i]),n-i>1&&Do(e,i,n,s,r))}function iv(e,t){const n=e.length-1,s=[e[0]];return Do(e,0,n,t,s),s.push(e[n]),s}function wa(e,t,n=!1){if(e.length<=2)return e;const s=t!==void 0?t*t:1;return e=n?e:ov(e,s),e=iv(e,s),e}var lv=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=mu();const t=gu(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=wa(this.points,1,!0),this.count=0),this.attr("d",Ea(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||(e.setAttribute("d",Ea(wa(this.points,1,!0))),!e.getTotalLength()))}};function av(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 xa(e,t,n,s){const r=t||e,o=n||e,i=.2,l=av(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 cv(e,t,n){const s=xa(n[t-1],n[t-2],e),r=xa(e,n[t-1],n[t+1],!0);return`C ${s.x.toFixed(At)},${s.y.toFixed(At)} ${r.x.toFixed(At)},${r.y.toFixed(At)} ${e.x.toFixed(At)},${e.y.toFixed(At)}`}function Ea(e){return e.reduce((t,n,s,r)=>s===0?`M ${n.x.toFixed(At)},${n.y.toFixed(At)}`:`${t} ${cv(n,s,r)}`,"")}var uv=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!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),g=(v,E,w)=>v>=E&&v<=w?!0:v>=w&&v<=E;if(u===0)return!1;{const v={x:f/u,y:d/u};return g(v.x,n,s)&&g(v.y,i,l)&&g(v.x,r,o)&&g(v.y,a,c)}}};function fv(e){return{draw:new lv(e),stylus:new Xg(e),line:new tv(e),rectangle:new nv(e),ellipse:new ev(e),eraseLine:new uv(e)}}var dv=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=Gg(),this._models=fv(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 hv(e){return new dv(e)}const Vo=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],St=yt("slidev-drawing-enabled",!1),Px=yt("slidev-drawing-pinned",!1),pv=q(!1),mv=q(!1),gv=q(!1),Ts=q(!1),un=$p(yt("slidev-drawing-brush",{color:Vo[0],size:4,mode:"stylus"})),$a=q("stylus");let Ho=!1;const ss=I({get(){return $a.value},set(e){$a.value=e,e==="arrow"?(un.mode="line",un.arrowEnd=!0):(un.mode=e,un.arrowEnd=!1)}}),vv=Le({brush:un,acceptsInputTypes:I(()=>St.value?void 0:["pen"]),coordinateTransform:!1}),Qe=gi(hv(vv));function _v(){Qe.clear(),gn.$patch({[je.value]:""})}function yv(){var e;mv.value=Qe.canRedo(),pv.value=Qe.canUndo(),gv.value=!!((e=Qe.el)!=null&&e.children.length)}function bv(){Ho=!0;const e=gn[je.value];e!=null?Qe.load(e):Qe.clear(),Ho=!1}Qe.on("changed",()=>{if(yv(),!Ho){const e=Qe.dump(),t=je.value;(gn[t]||"")!==e&&(gn[t]=Qe.dump())}});Gt(()=>{oe(je,()=>{!Qe.mounted||bv()},{immediate:!0}),Ei(()=>{gn.$syncUp=Se.drawings.syncAll||Xt.value})});Qe.on("start",()=>Ts.value=!0);Qe.on("end",()=>Ts.value=!1);window.addEventListener("keydown",e=>{if(!St.value)return;const t=!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey;let n=!0;e.code==="KeyZ"&&(e.ctrlKey||e.metaKey)?e.shiftKey?Qe.redo():Qe.undo():e.code==="Escape"?St.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?_v():e.code.startsWith("Digit")&&t&&+e.code[5]<=Vo.length?un.color=Vo[+e.code[5]-1]:n=!1,n&&(e.preventDefault(),e.stopPropagation())},!1);const Sa=Yp(),no=yt("slidev-color-schema","auto"),Bo=I(()=>Se.colorSchema!=="auto"),Ni=I({get(){return Bo.value?Se.colorSchema==="dark":no.value==="auto"?Sa.value:no.value==="dark"},set(e){Bo.value||(no.value=e===Sa.value?"auto":e?"dark":"light")}}),vu=Jc(Ni);_n&&oe(Ni,e=>{const t=document.querySelector("html");t.classList.toggle("dark",e),t.classList.toggle("light",!e)},{immediate:!0});function wv(){return[]}const _u=it(kt(Rg),kt(Fg),Mg);function xv(e,t,n=!1){typeof e=="string"&&(e=fu[e]);const s=it(e,_u);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 oe(s,i,{flush:"sync"})}function Ev(e,t){return Ip(e,n=>{!_u.value||n.repeat||t()})}function $v(){const e=wv(),{escape:t,space:n,shift:s,left:r,right:o,d:i,g:l,o:a}=fu;new Map([{key:it(n,kt(s)),fn:qt,autoRepeat:!0},{key:it(n,s),fn:Yt,autoRepeat:!0},{key:it(o,kt(s)),fn:qt,autoRepeat:!0},{key:it(r,kt(s)),fn:Yt,autoRepeat:!0},{key:"pageDown",fn:qt,autoRepeat:!0},{key:"pageUp",fn:Yt,autoRepeat:!0},{key:"up",fn:()=>Ls(!1),autoRepeat:!0},{key:"down",fn:Fs,autoRepeat:!0},{key:it(r,s),fn:()=>Ls(!1),autoRepeat:!0},{key:it(o,s),fn:Fs,autoRepeat:!0},{key:it(i,kt(St)),fn:vu},{key:it(a,kt(St)),fn:hu},{key:it(t,kt(St)),fn:()=>gs.value=!1},{key:it(l,kt(St)),fn:()=>Mn.value=!Mn.value},...e].map(u=>[u.key,u])).forEach(u=>{u.fn&&xv(u.key,u.fn,u.autoRepeat)}),Ev("f",()=>du.toggle())}const Sv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Ov=h("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),kv=[Ov];function Av(e,t){return C(),K("svg",Sv,kv)}var Pv={name:"carbon-close",render:Av};function yu(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"),Cn=Symbol("v-click-clicks-elements"),zo=Symbol("v-click-clicks-order-map"),cr=Symbol("v-click-clicks-disabled"),Cv=Symbol("slidev-slide-scale"),Sn="slidev-vclick-target",so="slidev-vclick-hidden",Mv="slidev-vclick-fade",ro="slidev-vclick-hidden-explicitly",rs="slidev-vclick-current",Js="slidev-vclick-prior";const bu=Me({props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(e){const t=e,n=q(),s=im(n),r=I(()=>t.width?t.width:s.width.value),o=I(()=>t.width?t.width/ps:s.height.value);t.width&&Ei(()=>{n.value&&(n.value.style.width=`${r.value}px`,n.value.style.height=`${o.value}px`)});const i=I(()=>r.value/o.value),l=I(()=>t.scale?t.scale:i.value({height:`${Pg}px`,width:`${ir}px`,transform:`translate(-50%, -50%) scale(${l.value})`})),c=I(()=>({"select-none":!Se.selectable,"slidev-code-line-numbers":Se.lineNumbers}));return Ct(Cv,l),(u,f)=>(C(),K("div",{id:"slide-container",ref_key:"root",ref:n,class:Fe(x(c))},[h("div",{id:"slide-content",style:nt(x(a))},[Jt(u.$slots,"default")],4),Jt(u.$slots,"controls")],2))}});var wu=Me({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=Mt(e,"clicks",t),s=Mt(e,"clicksElements",t),r=Mt(e,"clicksDisabled",t),o=Mt(e,"clicksOrderMap",t);s.value.length=0,Ct(ar,n),Ct(cr,r),Ct(Cn,s),Ct(zo,o)},render(){var e,t;return this.$props.is?Fi(this.$props.is):(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)}});const Tv=["innerHTML"],Rv=Me({props:{page:null},setup(e){return(t,n)=>x(gn)[e.page]?(C(),K("svg",{key:0,ref:"svg",class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:x(gn)[e.page]},null,8,Tv)):ve("v-if",!0)}});const Fv={class:"slides-overview bg-main !bg-opacity-75 p-16 overflow-y-auto"},Lv=["onClick"],Iv=Me({props:{modelValue:{type:Boolean}},emits:[],setup(e,{emit:t}){const s=Mt(e,"modelValue",t);function r(){s.value=!1}function o(f){Vs(f),r()}const i=Io.smaller("xs"),l=Io.smaller("sm"),a=4*16*2,c=2*16,u=I(()=>i.value?Ms.width.value-a:l.value?(Ms.width.value-a-c)/2:300);return(f,d)=>{const g=Pv;return C(),K(Oe,null,[Pi(h("div",Fv,[h("div",{class:"grid gap-y-4 gap-x-8 w-full",style:nt(`grid-template-columns: repeat(auto-fit,minmax(${x(u)}px,1fr))`)},[(C(!0),K(Oe,null,Ti(x(_t).slice(0,-1),(v,E)=>(C(),K("div",{key:v.path,class:"relative"},[h("div",{class:"inline-block border border-gray-400 rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary",onClick:w=>o(+v.path)},[(C(),se(bu,{key:v.path,width:x(u),"clicks-disabled":!0,class:"pointer-events-none"},{default:be(()=>[X(x(wu),{is:v==null?void 0:v.component,"clicks-disabled":!0,class:Fe(x(yu)(v))},null,8,["is","class"]),X(Rv,{page:+v.path},null,8,["page"])]),_:2},1032,["width"]))],8,Lv),h("div",{class:"absolute top-0 opacity-50",style:nt(`left: ${x(u)+5}px`)},Es(E+1),5)]))),128))],4)],512),[[Yc,x(s)]]),x(s)?(C(),K("button",{key:0,class:"fixed text-2xl top-4 right-4 icon-btn text-gray-400",onClick:r},[X(g)])):ve("v-if",!0)],64)}}});var Nv="/slides/assets/logo.b72bde5d.png";const jv={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},Dv=Me({props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(e,{emit:t}){const n=e,s=Mt(n,"modelValue",t);function r(){s.value=!1}return(o,i)=>(C(),se(Ac,null,[x(s)?(C(),K("div",jv,[h("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:i[0]||(i[0]=l=>r())}),h("div",{class:Fe(["m-auto rounded-md bg-main shadow",n.class]),"dark:border":"~ gray-400 opacity-10"},[Jt(o.$slots,"default")],2)])):ve("v-if",!0)],1024))}});const Vv={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},Hv=["innerHTML"],Bv=h("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[h("div",{class:"flex gap-1 children:my-auto"},[h("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),h("img",{class:"w-5 h-5",src:Nv,alt:"Slidev"}),h("div",{style:{color:"#2082A6"}},[h("b",null,"Sli"),J("dev ")])])],-1),zv=Me({props:{modelValue:{default:!1}},emits:["modelValue"],setup(e,{emit:t}){const s=Mt(e,"modelValue",t),r=I(()=>typeof Se.info=="string");return(o,i)=>(C(),se(Dv,{modelValue:x(s),"onUpdate:modelValue":i[0]||(i[0]=l=>ye(s)?s.value=l:null),class:"px-6 py-4"},{default:be(()=>[h("div",Vv,[x(r)?(C(),K("div",{key:0,class:"mb-4",innerHTML:x(Se).info},null,8,Hv)):ve("v-if",!0),Bv])]),_:1},8,["modelValue"]))}}),Uv=["disabled","onKeydown"],Kv=Me({setup(e){const t=q(),n=q(""),s=I(()=>+n.value),r=I(()=>!isNaN(s.value)&&s.value>0&&s.value<=Di.value);function o(){r.value&&Vs(s.value),i()}function i(){Mn.value=!1}return oe(Mn,async l=>{var a,c;l?(await Gt(),n.value="",(a=t.value)==null||a.focus()):(c=t.value)==null||c.blur()}),oe(n,l=>{l.match(/^[^0-9]/)&&(n.value=n.value.substr(1))}),(l,a)=>(C(),K("div",{id:"slidev-goto-dialog",class:Fe(["fixed right-5 bg-main transform transition-all",x(Mn)?"top-5":"-top-20"]),shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:gray-400 dark:opacity-25"},[Pi(h("input",{ref_key:"input",ref:t,"onUpdate:modelValue":a[0]||(a[0]=c=>n.value=c),type:"text",disabled:!x(Mn),class:Fe(["outline-none bg-transparent",{"text-red-400":!x(r)&&n.value}]),placeholder:"Goto...",onKeydown:[Fl(o,["enter"]),Fl(i,["escape"])],onBlur:i},null,42,Uv),[[Zh,n.value]])],2))}}),Wv=Me({setup(e){return Ft(),Ft(),(t,n)=>(C(),K(Oe,null,[X(Iv,{modelValue:x(gs),"onUpdate:modelValue":n[0]||(n[0]=s=>ye(gs)?gs.value=s:null)},null,8,["modelValue"]),X(Kv),ve("v-if",!0),x(Se).info?(C(),se(zv,{key:1,modelValue:x(ms),"onUpdate:modelValue":n[2]||(n[2]=s=>ye(ms)?ms.value=s:null)},null,8,["modelValue"])):ve("v-if",!0)],64))}}),qv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Yv=h("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),Zv=[Yv];function Gv(e,t){return C(),K("svg",qv,Zv)}var Qv={name:"carbon-settings-adjust",render:Gv};const Jv={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Xv=h("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),e0=h("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),t0=[Xv,e0];function n0(e,t){return C(),K("svg",Jv,t0)}var s0={name:"carbon-information",render:n0};const r0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},o0=h("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),i0=[o0];function l0(e,t){return C(),K("svg",r0,i0)}var a0={name:"carbon-download",render:l0};const c0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},u0=h("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),f0=[u0];function d0(e,t){return C(),K("svg",c0,f0)}var h0={name:"carbon-pen",render:d0};const p0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},m0=h("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),g0=[m0];function v0(e,t){return C(),K("svg",p0,g0)}var _0={name:"ph-cursor-fill",render:v0};const y0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},b0=h("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),w0=[b0];function x0(e,t){return C(),K("svg",y0,w0)}var E0={name:"carbon-sun",render:x0};const $0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},S0=h("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),O0=[S0];function k0(e,t){return C(),K("svg",$0,O0)}var A0={name:"carbon-moon",render:k0};const P0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},C0=h("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),M0=[C0];function T0(e,t){return C(),K("svg",P0,M0)}var R0={name:"carbon-apps",render:T0};const F0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},L0=h("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z"},null,-1),I0=[L0];function N0(e,t){return C(),K("svg",F0,I0)}var xu={name:"carbon-arrow-right",render:N0};const j0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},D0=h("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16l10 10z"},null,-1),V0=[D0];function H0(e,t){return C(),K("svg",j0,V0)}var B0={name:"carbon-arrow-left",render:H0};const z0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},U0=h("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),K0=[U0];function W0(e,t){return C(),K("svg",z0,K0)}var q0={name:"carbon-maximize",render:W0};const Y0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},Z0=h("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),G0=[Z0];function Q0(e,t){return C(),K("svg",Y0,G0)}var J0={name:"carbon-minimize",render:Q0};const X0={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},e1=h("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9L13 24z"},null,-1),t1=[e1];function n1(e,t){return C(),K("svg",X0,t1)}var s1={name:"carbon-checkmark",render:n1};var Ds=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const r1={class:"select-list"},o1={class:"title"},i1={class:"items"},l1=["onClick"],a1=Me({props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){const s=Mt(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=s1;return C(),K("div",r1,[h("div",o1,Es(e.title),1),h("div",i1,[(C(!0),K(Oe,null,Ti(e.items,l=>(C(),K("div",{key:l.value,class:Fe(["item",{active:x(s)===l.value}]),onClick:()=>{var a;s.value=l.value,(a=l.onClick)==null||a.call(l)}},[X(i,{class:Fe(["text-green-500",{"opacity-0":x(s)!==l.value}])},null,8,["class"]),J(" "+Es(l.display||l.value),1)],10,l1))),128))])])}}});var c1=Ds(a1,[["__scopeId","data-v-00f5edb7"]]);const u1={class:"text-sm"},f1=Me({setup(e){const t=[{display:"Fit",value:0},{display:"1:1",value:1}];return(n,s)=>(C(),K("div",u1,[X(c1,{modelValue:x(lr),"onUpdate:modelValue":s[0]||(s[0]=r=>ye(lr)?lr.value=r:null),title:"Scale",items:t},null,8,["modelValue"])]))}}),d1={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ gray-400 opacity-10"},h1=Me({props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){const s=Mt(e,"modelValue",t,{passive:!0}),r=q();return Fp(r,()=>{s.value=!1}),(o,i)=>(C(),K("div",{ref_key:"el",ref:r,class:"flex relative"},[h("button",{class:Fe({disabled:e.disabled}),onClick:i[0]||(i[0]=l=>s.value=!x(s))},[Jt(o.$slots,"button",{class:Fe({disabled:e.disabled})})],2),(C(),se(Ac,null,[x(s)?(C(),K("div",d1,[Jt(o.$slots,"menu")])):ve("v-if",!0)],1024))],512))}}),p1={},m1={class:"w-1px m-2 opacity-10 bg-current"};function g1(e,t){return C(),K("div",m1)}var oo=Ds(p1,[["render",g1]]);const v1={class:"icon-btn"},_1={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},y1={class:"my-auto"},b1={class:"opacity-50"},w1=Me({props:{persist:{default:!1}},setup(e){const t=e;Io.smaller("md");const{isFullscreen:n,toggle:s}=du;I(()=>`/presenter/${je.value}`),I(()=>`/${je.value}`);const r=q(),o=()=>{r.value&&Nn.value&&r.value.contains(Nn.value)&&Nn.value.blur()},i=I(()=>t.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10");Ft();const l=Ft();return import("./DrawingControls.24ce7d9e.js").then(a=>l.value=a.default),(a,c)=>{const u=J0,f=q0,d=B0,g=xu,v=R0,E=A0,w=E0,A=h0;Hc("RouterLink");const y=a0,b=s0,O=Qv;return C(),K("nav",{ref_key:"root",ref:r,class:"flex flex-col"},[h("div",{class:Fe(["flex flex-wrap-reverse text-xl p-2 gap-1",x(i)]),onMouseleave:o},[x(Bt)?ve("v-if",!0):(C(),K("button",{key:0,class:"icon-btn",onClick:c[0]||(c[0]=(...F)=>x(s)&&x(s)(...F))},[x(n)?(C(),se(u,{key:0})):(C(),se(f,{key:1}))])),h("button",{class:Fe(["icon-btn",{disabled:!x(Au)}]),onClick:c[1]||(c[1]=(...F)=>x(Yt)&&x(Yt)(...F))},[X(d)],2),h("button",{class:Fe(["icon-btn",{disabled:!x(ku)}]),title:"Next",onClick:c[2]||(c[2]=(...F)=>x(qt)&&x(qt)(...F))},[X(g)],2),x(Bt)?ve("v-if",!0):(C(),K("button",{key:1,class:"icon-btn",title:"Slides overview",onClick:c[3]||(c[3]=F=>x(hu)())},[X(v)])),x(Bo)?ve("v-if",!0):(C(),K("button",{key:2,class:"icon-btn",title:"Toggle dark mode",onClick:c[4]||(c[4]=F=>x(vu)())},[x(Ni)?(C(),se(E,{key:0})):(C(),se(w,{key:1}))])),X(oo),ve("v-if",!0),!x(Se).drawings.presenterOnly&&!x(Bt)?(C(),K(Oe,{key:4},[h("button",{class:"icon-btn relative",title:"Drawing",onClick:c[6]||(c[6]=F=>St.value=!x(St))},[X(A),x(St)?(C(),K("div",{key:0,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:nt({background:x(un).color})},null,4)):ve("v-if",!0)]),X(oo)],64)):ve("v-if",!0),ve("v-if",!0),(C(),K(Oe,{key:6},[x(Se).download?(C(),K("button",{key:0,class:"icon-btn",onClick:c[8]||(c[8]=(...F)=>x(Ko)&&x(Ko)(...F))},[X(y)])):ve("v-if",!0)],2112)),!x(Xt)&&x(Se).info&&!x(Bt)?(C(),K("button",{key:7,class:"icon-btn",onClick:c[9]||(c[9]=F=>ms.value=!x(ms))},[X(b)])):ve("v-if",!0),!x(Xt)&&!x(Bt)?(C(),se(h1,{key:8},{button:be(()=>[h("button",v1,[X(O)])]),menu:be(()=>[X(f1)]),_:1})):ve("v-if",!0),x(Bt)?ve("v-if",!0):(C(),se(oo,{key:9})),h("div",_1,[h("div",y1,[J(Es(x(je))+" ",1),h("span",b1,"/ "+Es(x(Di)),1)])])],34)],512)}}});var x1={render(){return[]}},E1={render(){return[]}};const $1={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},S1=Me({setup(e){return(t,n)=>{const s=_0;return x(xt).cursor?(C(),K("div",$1,[X(s,{class:"absolute",style:nt({left:`${x(xt).cursor.x}%`,top:`${x(xt).cursor.y}%`})},null,8,["style"])])):ve("v-if",!0)}}}),O1=Me({setup(e){oe(Ye,()=>{var n,s;((n=Ye.value)==null?void 0:n.meta)&&Ye.value.meta.preload!==!1&&(Ye.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=Ft();return import("./DrawingLayer.97908077.js").then(n=>t.value=n.default),(n,s)=>(C(),K(Oe,null,[ve(" Global Bottom "),X(x(E1)),ve(" Slides "),(C(!0),K(Oe,null,Ti(x(_t),r=>{var o,i;return C(),K(Oe,{key:r.path},[((o=r.meta)==null?void 0:o.__preloaded)||r===x(Ye)?Pi((C(),se(x(wu),{key:0,is:r==null?void 0:r.component,clicks:r===x(Ye)?x(vt):0,"clicks-elements":((i=r.meta)==null?void 0:i.__clicksElements)||[],"clicks-disabled":!1,class:Fe(x(yu)(r))},null,8,["is","clicks","clicks-elements","class"])),[[Yc,r===x(Ye)]]):ve("v-if",!0)],64)}),128)),ve(" Global Top "),X(x(x1)),x(t)?(C(),se(x(t),{key:0})):ve("v-if",!0),x(Xt)?ve("v-if",!0):(C(),se(S1,{key:1}))],64))}}),k1=Me({setup(e){$v();const t=q();function n(o){var i;pa.value||((i=o.target)==null?void 0:i.id)==="slide-container"&&(o.screenX/window.innerWidth>.6?qt():Yt())}Mu(t);const s=I(()=>Tg.value||pa.value);Ft();const r=Ft();return import("./DrawingControls.24ce7d9e.js").then(o=>r.value=o.default),(o,i)=>(C(),K(Oe,null,[h("div",{id:"page-root",ref_key:"root",ref:t,class:"grid grid-cols-[1fr,max-content]",style:nt(x(Cg))},[X(bu,{class:"w-full h-full",style:nt({background:"var(--slidev-slide-container-background, black)"}),width:x(ji)?x(Ms).width.value:void 0,scale:x(lr),onPointerdown:n},{default:be(()=>[X(O1)]),controls:be(()=>[h("div",{class:Fe(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[x(s)?"opacity-100 right-0":"opacity-0 p-2",x(Ts)?"pointer-events-none":""]])},[X(w1,{class:"m-auto",persist:x(s)},null,8,["persist"])],2),!x(Se).drawings.presenterOnly&&!x(Bt)&&x(r)?(C(),se(x(r),{key:0,class:"ml-0"})):ve("v-if",!0)]),_:1},8,["style","width","scale"]),ve("v-if",!0)],4),X(Wv)],64))}});const A1={},P1={class:"slidev-layout end"};function C1(e,t){return C(),K("div",P1," END ")}var M1=Ds(A1,[["render",C1],["__scopeId","data-v-4bd85f04"]]);const T1={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},R1=h("path",{fill:"currentColor","fill-rule":"evenodd",d:"M16 2a14 14 0 0 0-4.43 27.28c.7.13 1-.3 1-.67v-2.38c-3.89.84-4.71-1.88-4.71-1.88a3.71 3.71 0 0 0-1.62-2.05c-1.27-.86.1-.85.1-.85a2.94 2.94 0 0 1 2.14 1.45a3 3 0 0 0 4.08 1.16a2.93 2.93 0 0 1 .88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4 5.4 0 0 1 1.44-3.76a5 5 0 0 1 .14-3.7s1.17-.38 3.85 1.43a13.3 13.3 0 0 1 7 0c2.67-1.81 3.84-1.43 3.84-1.43a5 5 0 0 1 .14 3.7a5.4 5.4 0 0 1 1.44 3.76c0 5.38-3.27 6.56-6.39 6.91a3.33 3.33 0 0 1 .95 2.59v3.84c0 .46.25.81 1 .67A14 14 0 0 0 16 2Z"},null,-1),F1=[R1];function L1(e,t){return C(),K("svg",T1,F1)}var I1={name:"carbon-logo-github",render:L1};const N1={class:"slidev-icon",width:"1.2em",height:"1.2em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},j1=h("path",{fill:"currentColor",d:"M2 26h28v2H2zM25.4 9c.8-.8.8-2 0-2.8l-3.6-3.6c-.8-.8-2-.8-2.8 0l-15 15V24h6.4l15-15zm-5-5L24 7.6l-3 3L17.4 7l3-3zM6 22v-3.6l10-10l3.6 3.6l-10 10H6z"},null,-1),D1=[j1];function V1(e,t){return C(),K("svg",N1,D1)}var H1={name:"carbon-edit",render:V1};function Oa(e){return e.startsWith("/")?"/slides/"+e.slice(1):e}function B1(e,t=!1){const n=e&&["#","rgb","hsl"].some(r=>e.indexOf(r)===0),s={background:n?e:void 0,color:e&&!n?"white":void 0,backgroundImage:n?void 0:e?t?`linear-gradient(#0005, #0008), url(${Oa(e)})`:`url("${Oa(e)}")`:void 0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"};return s.background||delete s.background,s}const z1={class:"my-auto w-full"},U1=Me({props:{background:{default:"https://source.unsplash.com/collection/94734566/1920x1080"}},setup(e){const t=e,n=I(()=>B1(t.background,!0));return(s,r)=>(C(),K("div",{class:"slidev-layout cover text-center",style:nt(x(n))},[h("div",z1,[Jt(s.$slots,"default")])],4))}}),K1=h("h1",null,"Correct Exam",-1),W1=h("p",null,"Modern software architecture in practise",-1),q1={class:"pt-12"},Y1=J(" Press Space for next page "),Z1={class:"abs-br m-6 flex gap-2"},G1={href:"https://olivier.barais.fr/corrigeExamFront/",target:"_blank",alt:"GitHub",class:"text-xl icon-btn opacity-50 !border-none !hover:text-white"},Q1={setup(e){const t={theme:"seriph",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",download:!0,highlighter:"shiki",lineNumbers:!1,info:`## Official slides for CorrectExam Learn more at [corrigeExamFront](https://olivier.barais.fr/corrigeExamFront/) -`,drawings:{persist:!1}};return(n,s)=>{const r=xu,o=H1,i=I1;return C(),se(U1,Ce(Ae(t)),{default:be(()=>[K1,W1,h("div",q1,[h("span",{onClick:s[0]||(s[0]=(...l)=>n.$slidev.nav.next&&n.$slidev.nav.next(...l)),class:"px-2 py-1 rounded cursor-pointer",hover:"bg-white bg-opacity-10"},[Y1,J(r,{class:"inline"})])]),h("div",Z1,[h("button",{onClick:s[1]||(s[1]=l=>n.$slidev.nav.openInEditor()),title:"Open in Editor",class:"text-xl icon-btn opacity-50 !border-none !hover:text-white"},[J(o)]),h("a",G1,[J(i)])])]),_:1},16)}}},J1={},X1={class:"slidev-layout default"};function e_(e,t){return C(),K("div",X1,[Jt(e.$slots,"default")])}var ze=Ds(J1,[["render",e_]]);const t_=h("h1",null,"My mojo",-1),n_=h("p",null,[h("a",{href:"https://www.linkedin.com/pulse/i-have-right-do-research-software-engineering-hafedh-mili/",target:"_blank",rel:"noopener"},"https://www.linkedin.com/pulse/i-have-right-do-research-software-engineering-hafedh-mili/")],-1),s_=h("blockquote",null,[h("p",null,'Parnas noted "I would never have realized the nature of the problem, unless I had been working on that project, reviewing development documents, and sitting at that lunch table". Well, minimally, I need to be able to understand the conversation at that lunch table!')],-1),r_=h("p",null,[te('So here is a practical definition of what "understanding the conversation" means in this context: '),h("strong",null,"You have no credibility to do software engineering research unless you have at least the development skills/vocabulary of your graduating bachelor students.")],-1),o_=h("h2",null,"That is why: I enjoy building real software, doing consultancy, working with students, \u2026",-1),i_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[t_,n_,s_,r_,o_]),_:1},16))}},l_={},a_={class:"slidev-layout center h-full grid place-content-center"},c_={class:"my-auto"};function u_(e,t){return C(),K("div",a_,[h("div",c_,[Jt(e.$slots,"default")])])}var jr=Ds(l_,[["render",u_]]);const f_=h("h1",null,"The project: correct exam",-1),d_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(Ae(t)),{default:be(()=>[f_]),_:1},16))}},h_=h("h2",null,"The need",-1),p_=h("p",null,"Encourage students to consult corrected copies more often to learn from their mistakes",-1),m_=h("ul",null,[h("li",null,[h("p",null,[h("em",null,"Fairer"),te(" correction")]),h("ul",null,[h("li",null,"a statistical view of results"),h("li",null,"anonymous, random correction\u2026"),h("li",null,"ability to modify the scale on the fly")])]),h("li",null,[h("p",null,"Correct more effectively"),h("ul",null,[h("li",null,"simultaneously"),h("li",null,"question by question / copy by copy"),h("li",null,"batch"),h("li",null,"automated correction for MCQs"),h("li",null,"on tablet or computer"),h("li",null,'avoiding "all MCQs')])])],-1),g_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[h_,p_,m_]),_:1},16))}},v_=h("h1",null,"Highly inspired by GradeScope Solution",-1),__=h("blockquote",null,[h("p",null,"Gradescope grading software allows students to receive faster and more detailed feedback on their work, and allows instructors to see detailed assignment and question analytics. It is an easy way to take submissions digitally in order to preserve the original work and allow for quick and easy viewing from anywhere.")],-1),y_=h("img",{src:"https://files.helpdocs.io/u7xiir5ze4/articles/5uxa8ht1a2/1592940278603/grading-page-overview.png",class:"absolute left-200px rounded shadow",style:{width:"60%"}},null,-1),b_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[v_,__,y_]),_:1},16))}},w_=h("h1",null,"Why building that piece of software ?",-1),x_=h("ul",null,[h("li",null,[te("Insufficient "),h("strong",null,"feedback"),te(" from evaluations to students")]),h("li",null,[h("strong",null,"ChatGPT"),te(" & consorts but also "),h("strong",null,"Github Copilot"),te(", \u2026 are here "),h("ul",null,[h("li",null,'They "trivialize" a lot of our homework, exams, projects, TPs, TDs\u2026'),h("li",null,"=> We need to evolve the way we teach / what we teach / what we assess / how we assess it \u2026 Paper/pencil still has a future for assessment")])]),h("li",null,"Allow exams to be corrected during meetings \u{1F600}"),h("li",null,"Save $5 per student copy"),h("li",null,[te("Create an open source implementation "),h("ul",null,[h("li",null,"to master privacy/teaching analytics issues"),h("li",null,[te("of real software with a complex architecture to provide a case study for : "),h("ul",null,[h("li",null,"explain modern software architecture to students"),h("li",null,"experience in software engineering research")])])])]),h("li",null,"Trying to keep credibility (in my vision) to do software engineering research")],-1),E_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[w_,x_]),_:1},16))}},$_=h("h1",null,"Architectural choices / Functionality",-1),S_=h("ul",null,[h("li",null,"Deport everything that requires computing power to the browser:"),h("li",null,"Image processing"),h("li",null,"Machine learning"),h("li",null,"Cache"),h("li",null,"Parallelization")],-1),O_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(Ae(t)),{default:be(()=>[$_,S_]),_:1},16))}},A_=h("h1",null,"The technical architecture",-1),P_=h("ul",null,[h("li",null,[h("a",{href:"https://quarkus.io/",target:"_blank",rel:"noopener"},[h("strong",null,"Quarkus")]),te(" for the back (Java + native compilation through GraalVM)")]),h("li",null,[h("a",{href:"https://angular.io/",target:"_blank",rel:"noopener"},[h("strong",null,"Angular")]),te(" for the front "),h("ul",null,[h("li",null,[h("a",{href:"https://mozilla.github.io/pdf.js/",target:"_blank",rel:"noopener"},[h("strong",null,"pdf.js")]),te(" to play with pdf (exam, scan exam, feedback for students)")]),h("li",null,[h("a",{href:"http://fabricjs.com/",target:"_blank",rel:"noopener"},[h("strong",null,"fabric.js")]),te(" to draw on top of a pdf")]),h("li",null,[h("a",{href:"https://opencv.org/",target:"_blank",rel:"noopener"},[h("strong",null,"opencv")]),te(" in wasm within a web worker to analyse the scan")]),h("li",null,[h("a",{href:"https://www.tensorflow.org/js",target:"_blank",rel:"noopener"},[h("strong",null,"tensorflow JS")]),te(" with the browser for digit and letter recognition")]),h("li",null,"\u2026")])]),h("li",null,[h("a",{href:"https://www.docker.com/",target:"_blank",rel:"noopener"},[h("strong",null,"Docker")]),te(" and "),h("a",{href:"https://kubernetes.io",target:"_blank",rel:"noopener"},"K8S"),te(" to deploy the back and the monitoring layer")]),h("li",null,[te("Front is hosted in a CDN to follow the "),h("a",{href:"https://jamstack.org/",target:"_blank",rel:"noopener"},"JamStack"),te(" architecture (currently github page, netifly and cloudfare)")]),h("li",null,[te("CI/CD using "),h("a",{href:"https://github.com/features/actions",target:"_blank",rel:"noopener"},[h("strong",null,"github action")]),te(", "),h("a",{href:"https://docs.docker.com/docker-hub/webhooks/",target:"_blank",rel:"noopener"},[h("strong",null,"dockerhub webhook")]),te(", and "),h("a",{href:"https://github.com/adnanh/webhook",target:"_blank",rel:"noopener"},[h("strong",null,"gowebhook")])]),h("li",null,[h("a",{href:"https://jestjs.io/",target:"_blank",rel:"noopener"},"jest"),te(" and "),h("a",{href:"https://www.cypress.io/",target:"_blank",rel:"noopener"},"cypress"),te(" for unit and system testing")])],-1),k_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[A_,P_]),_:1},16))}},C_=h("h1",null,"Architecture overview",-1),M_=h("img",{src:"https://olivier.barais.fr/webinria/resources/framework/img2.png",class:"absolute left-50px rounded shadow",style:{width:"90%"}},null,-1),T_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[C_,M_]),_:1},16))}},R_=["src"],F_=Me({props:{code:null,server:null,scale:null},setup(e){const t=e,n=I(()=>`${t.server}/svg/${t.code}`);return(s,r)=>(C(),K("img",{alt:"PlantUML diagram",src:x(n),style:nt({scale:e.scale})},null,12,R_))}}),L_=h("h1",null,"Diagrams",-1),I_={class:"grid grid-cols-2 gap-10 pt-4 -mb-6"},N_=h("h3",null,"Conceptual architecture",-1),j_=h("h3",null,"deployed architecture",-1),D_={setup(e){const t={};return(n,s)=>{const r=F_;return C(),se(ze,Ce(Ae(t)),{default:be(()=>[L_,h("div",I_,[h("div",null,[N_,J(r,Oo({code:"RP2v2eD048RxVOh1oXG6yWB18qSb8GYn48jHDn9STyqUa11yzwnkayDk-EURRuO9bKQfJSy88GFM7ROKl8CKN7lm8W1fTeoDWW2Ad5QG2zbH2Vvfe3ovG1vbwQgqL17nrZ2KC4-M5dTpPFpKnhPmrc8gmJyRb9rHwvkmbWbjK6E5ohBfCxip1ry5Q-nIBn5Iqbhl7zZluethMTLNF1qppgg_auBjujg5pB4_NX9ItjW_lG40",server:"https://www.plantuml.com/plantuml"},{scale:.7}),null,16,["server"])]),h("div",null,[j_,J(r,Oo({code:"SoWkIImgAStDuU9ApialJL5GSdRnKz18pop9A4rIA4XCJzLKKgZcKb28TYlApok9vQg5AGGBEYKcPoje19Oc5cMN5kjbvcl6WaITyukAKfDBN2iISrsS53HyAuiBSpJ1Mg6cAEZgsc7LZ4KCeXQ7aLmEgNafGDS30000",server:"https://www.plantuml.com/plantuml"},{scale:.7}),null,16,["server"])])])]),_:1},16)}}},V_=h("h1",null,"Project history",-1),H_=h("ul",null,[h("li",null,"March 2022: First discussion"),h("li",null,"April 2022: 2 first exams in test mode @UnivRennes"),h("li",null,"September 2022: new features (MCQs, translation, etc.), test extensions (IUT Toulouse, Universit\xE9 de Nice, INSA Rennes, etc.)."),h("li",null,"Spring 2023: Improvements based on user feedback (85 PR between January and May 2023)"),h("li",null,"Summer 2023: Batch correction, performance enhancement, identity federation integration, support for standalone mode to correct directly from your PC without data sharing)"),h("li",null,"Autumn 2023: Annotated pdf export, Performance improvement (Exam support for over 5000 copies)"),h("li",null,"377 + 131 PR since the start of the project"),h("li",null,[h("blockquote",null,[h("p",null,"250 corrected exams (120 users growing since September 2023)")])])],-1),B_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[V_,H_]),_:1},16))}},z_=h("h1",null,"Features 1/2",-1),U_=h("ul",null,[h("li",null,"Free-format exam template (word, libroffice, latex, asciidoc, markdown, \u2026) PDF input only required"),h("li",null,"Import and manipulate scans in pdf format (page order, rotation, deletion)"),h("li",null,"Copy sheet alignment (to correct scan defects)"),h("li",null,"Name recognition on copies (to assign copies to students)"),h("li",null,"Tag best/least correct answers (to generate a standard answer sheet on the fly)"),h("li",null,[te("Support for direct rating, positive, negative or "),h("strong",null,"hybrid")]),h("li",null,"Quick comparison of answers with the same comments / same question"),h("li",null,[te("MCQ support (not as good as AMC: Auto multiple Choice "),h("a",{href:"https://www.auto-multiple-choice.net/",target:"_blank",rel:"noopener"},"https://www.auto-multiple-choice.net/"),te(")")]),h("li",null,"Batch correction (to score a set of similar answers in a single step)"),h("li",null,"Annotate copies with a stylus during correction"),h("li",null,"Statistics by exam")],-1),K_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[z_,U_]),_:1},16))}},W_=h("h1",null,"Features 2/2",-1),q_=h("ul",null,[h("li",null,"Import/Export modules with or without student data"),h("li",null,"Import/Export comments"),h("li",null,"Email to students with their copy in the form of an annotated pdf and/or with a link for consultation on the platform"),h("li",null,"Export results in Excel format (to be sent to school)"),h("li",null,"Support for University identity federations"),h("li",null,"Zen mode \u2026")],-1),Y_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[W_,q_]),_:1},16))}},Z_=h("h1",null,"OpenHub identity card",-1),G_=h("ul",null,[h("li",null,[h("a",{href:"https://openhub.net/p/correctexam",target:"_blank",rel:"noopener"},"openhub")])],-1),Q_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[Z_,G_]),_:1},16))}},J_=h("h1",null,"Feedback/Community structuring",-1),X_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(Ae(t)),{default:be(()=>[J_]),_:1},16))}},ey=h("h1",null,"Some feedbacks",-1),ty=h("ul",null,[h("li",null,[te("171 issues by twenty users "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues/397",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues/397")])])])],-1),ny=h("blockquote",null,[h("p",null,[te('"I\u2019ve just finished correcting my first exam with CorrectExam, and I\u2019m pleasantly surprised by how easy it is to use, it\u2019s very functional, I couldn\u2019t say if I\u2019m saving time, but the feedback to the student seems very important to me, and that\u2019s what I prefer. And I can see that features are being added as we go along (text comments with text box!)."'),h("br"),te(" Julien Geandrot, 19/11/2023")])],-1),sy=h("ul",null,[h("li",null,"Many emails ~300 emails"),h("li",null,"Compliance for RGPD, Student Intellectual Property, \u2026 (discussion with University lawyers)."),h("li",null,"Setting up a mailing list, matrix channel, an operational committee, etc."),h("li",null,"GitHub as a collaboration platform")],-1),ry={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[ey,ty,ny,sy]),_:1},16))}},oy=h("h1",null,"Roadmap",-1),iy={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(Ae(t)),{default:be(()=>[oy]),_:1},16))}},ly=h("h1",null,"Roadmap",-1),ay=h("ul",null,[h("li",null,"Training of pedagogical engineers at the University of Rennes \u2705"),h("li",null,"Deployment of version 1.1 on an infrastructure managed by the DSI at the Universit\xE9 de Rennes \u2705"),h("li",null,"Beta testing with other curious users"),h("li",null,"Accessibility analysis"),h("li",null,[te("V1.2 A number of identified tasks \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.2",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.2")])])]),h("li",null,[te("V1.3 \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3")])])]),h("li",null,[te("V1.4 \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3")])])]),h("li",null,"Publicize the project / Attract users to improve the tool"),h("li",null,"Understand how other partners can join the adventure / Attract contributors"),h("li",null,[te("V1.5 \u2705 "),h("ul",null,[h("li",null,"Support Jupyter notebook correction")])])],-1),cy={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[ly,ay]),_:1},16))}},uy=h("h1",null,"Perspectives",-1),fy=h("ul",null,[h("li",null,[te("As a research project: "),h("ul",null,[h("li",null,[te("two DSLs to implements: "),h("ul",null,[h("li",null,"MCQ scale, DMOS (Intuidoc)")])]),h("li",null,"Variability analysis")])])],-1),dy={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[uy,fy]),_:1},16))}},hy=h("h1",null,"Learn More",-1),py=h("ul",null,[h("li",null,[h("a",{href:"https://correctexam.readthedocs.io/",target:"_blank",rel:"noopener"},"Documentations")]),h("li",null,[h("a",{href:"github.com/correctexam",target:"_blank",rel:"noopener"},"GitHub")]),h("li",null,[h("a",{href:"https://correctexam.pages.dev/",target:"_blank",rel:"noopener"},"Apps")])],-1),my={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(Ae(t)),{default:be(()=>[hy,py]),_:1},16))}};var gy=[{path:"1",name:"page-1",component:Q1,meta:{theme:"seriph",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",download:!0,highlighter:"shiki",lineNumbers:!1,info:`## Official slides for CorrectExam +`,drawings:{persist:!1}};return(n,s)=>{const r=xu,o=H1,i=I1;return C(),se(U1,Ce(ke(t)),{default:be(()=>[K1,W1,h("div",q1,[h("span",{onClick:s[0]||(s[0]=(...l)=>n.$slidev.nav.next&&n.$slidev.nav.next(...l)),class:"px-2 py-1 rounded cursor-pointer",hover:"bg-white bg-opacity-10"},[Y1,X(r,{class:"inline"})])]),h("div",Z1,[h("button",{onClick:s[1]||(s[1]=l=>n.$slidev.nav.openInEditor()),title:"Open in Editor",class:"text-xl icon-btn opacity-50 !border-none !hover:text-white"},[X(o)]),h("a",G1,[X(i)])])]),_:1},16)}}},J1={},X1={class:"slidev-layout default"};function e_(e,t){return C(),K("div",X1,[Jt(e.$slots,"default")])}var ze=Ds(J1,[["render",e_]]);const t_=h("h1",null,"My mojo",-1),n_=h("p",null,[h("a",{href:"https://www.linkedin.com/pulse/i-have-right-do-research-software-engineering-hafedh-mili/",target:"_blank",rel:"noopener"},"https://www.linkedin.com/pulse/i-have-right-do-research-software-engineering-hafedh-mili/")],-1),s_=h("blockquote",null,[h("p",null,'Parnas noted "I would never have realized the nature of the problem, unless I had been working on that project, reviewing development documents, and sitting at that lunch table". Well, minimally, I need to be able to understand the conversation at that lunch table!')],-1),r_=h("p",null,[J('So here is a practical definition of what "understanding the conversation" means in this context: '),h("strong",null,"You have no credibility to do software engineering research unless you have at least the development skills/vocabulary of your graduating bachelor students.")],-1),o_=h("h2",null,"That is why: I enjoy building real software, doing consultancy, working with students, \u2026",-1),i_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[t_,n_,s_,r_,o_]),_:1},16))}},l_={},a_={class:"slidev-layout center h-full grid place-content-center"},c_={class:"my-auto"};function u_(e,t){return C(),K("div",a_,[h("div",c_,[Jt(e.$slots,"default")])])}var jr=Ds(l_,[["render",u_]]);const f_=h("h1",null,"The project: CorrectExam",-1),d_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(ke(t)),{default:be(()=>[f_]),_:1},16))}},h_=h("h2",null,"Requirements",-1),p_=h("p",null,"Encourage students to look at corrected copies more often to learn from their mistakes",-1),m_=h("ul",null,[h("li",null,[h("p",null,[h("em",null,"Fairer"),J(" correction")]),h("ul",null,[h("li",null,"a statistical view of results"),h("li",null,"anonymous, random correction\u2026"),h("li",null,"ability to modify the scale on the fly")])]),h("li",null,[h("p",null,"Correct more effectively"),h("ul",null,[h("li",null,"simultaneously"),h("li",null,"question by question / copy by copy"),h("li",null,"batch"),h("li",null,"automated correction for MCQs"),h("li",null,"on tablet or computer"),h("li",null,'avoiding "all MCQs')])])],-1),g_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[h_,p_,m_]),_:1},16))}},v_=h("h1",null,"Highly inspired by GradeScope Solution",-1),__=h("blockquote",null,[h("p",null,"Gradescope grading software allows students to receive faster and more detailed feedback on their work, and allows instructors to see detailed assignment and question analytics. It is an easy way to take submissions digitally in order to preserve the original work and allow for quick and easy viewing from anywhere.")],-1),y_=h("img",{src:"https://files.helpdocs.io/u7xiir5ze4/articles/5uxa8ht1a2/1592940278603/grading-page-overview.png",class:"absolute left-200px rounded shadow",style:{width:"60%"}},null,-1),b_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[v_,__,y_]),_:1},16))}},w_=h("h1",null,"Why building that piece of software ?",-1),x_=h("ul",null,[h("li",null,[J("Insufficient "),h("strong",null,"feedback"),J(" from evaluations to students")]),h("li",null,[h("strong",null,"ChatGPT"),J(" & consorts but also "),h("strong",null,"Github Copilot"),J(", \u2026 are here "),h("ul",null,[h("li",null,'They "trivialize" a lot of our homework, exams, projects, TPs, TDs\u2026'),h("li",null,"=> We need to evolve the way we teach / what we teach / what we assess / how we assess it \u2026 Paper/pencil still has a future for assessment")])]),h("li",null,"Allow exams to be corrected during meetings \u{1F600}"),h("li",null,"Save $5 per student copy"),h("li",null,[J("Create an open source implementation "),h("ul",null,[h("li",null,"to master privacy/teaching analytics issues"),h("li",null,[J("of real software with a complex architecture to provide a case study for : "),h("ul",null,[h("li",null,"explain modern software architecture to students"),h("li",null,"experience in software engineering research")])])])]),h("li",null,"Trying to keep credibility (in my vision) to do software engineering research")],-1),E_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[w_,x_]),_:1},16))}},$_=h("h1",null,"Architectural choices / Functionality",-1),S_=h("ul",null,[h("li",null,"Deport everything that requires computing power to the browser:"),h("li",null,"Image processing"),h("li",null,"Machine learning"),h("li",null,"Cache"),h("li",null,"Parallelization")],-1),O_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(ke(t)),{default:be(()=>[$_,S_]),_:1},16))}},k_=h("h1",null,"The technical architecture",-1),A_=h("ul",null,[h("li",null,[h("a",{href:"https://quarkus.io/",target:"_blank",rel:"noopener"},[h("strong",null,"Quarkus")]),J(" for the back (Java + native compilation through GraalVM)")]),h("li",null,[h("a",{href:"https://angular.io/",target:"_blank",rel:"noopener"},[h("strong",null,"Angular")]),J(" for the front "),h("ul",null,[h("li",null,[h("a",{href:"https://mozilla.github.io/pdf.js/",target:"_blank",rel:"noopener"},[h("strong",null,"pdf.js")]),J(" to play with pdf (exam, scan exam, feedback for students)")]),h("li",null,[h("a",{href:"http://fabricjs.com/",target:"_blank",rel:"noopener"},[h("strong",null,"fabric.js")]),J(" to draw on top of a pdf")]),h("li",null,[h("a",{href:"https://opencv.org/",target:"_blank",rel:"noopener"},[h("strong",null,"opencv")]),J(" in wasm within a web worker to analyse the scan")]),h("li",null,[h("a",{href:"https://www.tensorflow.org/js",target:"_blank",rel:"noopener"},[h("strong",null,"tensorflow JS")]),J(" with the browser for digit and letter recognition")]),h("li",null,"\u2026")])]),h("li",null,[h("a",{href:"https://www.docker.com/",target:"_blank",rel:"noopener"},[h("strong",null,"Docker")]),J(" and "),h("a",{href:"https://kubernetes.io",target:"_blank",rel:"noopener"},"K8S"),J(" to deploy the back and the monitoring layer")]),h("li",null,[J("Front is hosted in a CDN to follow the "),h("a",{href:"https://jamstack.org/",target:"_blank",rel:"noopener"},"JamStack"),J(" architecture (currently github page, netifly and cloudfare)")]),h("li",null,[J("CI/CD using "),h("a",{href:"https://github.com/features/actions",target:"_blank",rel:"noopener"},[h("strong",null,"github action")]),J(", "),h("a",{href:"https://docs.docker.com/docker-hub/webhooks/",target:"_blank",rel:"noopener"},[h("strong",null,"dockerhub webhook")]),J(", and "),h("a",{href:"https://github.com/adnanh/webhook",target:"_blank",rel:"noopener"},[h("strong",null,"gowebhook")])]),h("li",null,[h("a",{href:"https://jestjs.io/",target:"_blank",rel:"noopener"},"jest"),J(" and "),h("a",{href:"https://www.cypress.io/",target:"_blank",rel:"noopener"},"cypress"),J(" for unit and system testing")])],-1),P_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[k_,A_]),_:1},16))}},C_=h("h1",null,"Architecture overview",-1),M_=h("img",{src:"https://olivier.barais.fr/webinria/resources/framework/img2.png",class:"absolute left-50px rounded shadow",style:{width:"90%"}},null,-1),T_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[C_,M_]),_:1},16))}},R_=["src"],F_=Me({props:{code:null,server:null,scale:null},setup(e){const t=e,n=I(()=>`${t.server}/svg/${t.code}`);return(s,r)=>(C(),K("img",{alt:"PlantUML diagram",src:x(n),style:nt({scale:e.scale})},null,12,R_))}}),L_=h("h1",null,"Diagrams",-1),I_={class:"grid grid-cols-2 gap-10 pt-4 -mb-6"},N_=h("h3",null,"Conceptual architecture",-1),j_=h("h3",null,"deployed architecture",-1),D_={setup(e){const t={};return(n,s)=>{const r=F_;return C(),se(ze,Ce(ke(t)),{default:be(()=>[L_,h("div",I_,[h("div",null,[N_,X(r,Oo({code:"RP2v2eD048RxVOh1oXG6yWB18qSb8GYn48jHDn9STyqUa11yzwnkayDk-EURRuO9bKQfJSy88GFM7ROKl8CKN7lm8W1fTeoDWW2Ad5QG2zbH2Vvfe3ovG1vbwQgqL17nrZ2KC4-M5dTpPFpKnhPmrc8gmJyRb9rHwvkmbWbjK6E5ohBfCxip1ry5Q-nIBn5Iqbhl7zZluethMTLNF1qppgg_auBjujg5pB4_NX9ItjW_lG40",server:"https://www.plantuml.com/plantuml"},{scale:.7}),null,16,["server"])]),h("div",null,[j_,X(r,Oo({code:"SoWkIImgAStDuU9ApialJL5GSdRnKz18pop9A4rIA4XCJzLKKgZcKb28TYlApok9vQg5AGGBEYKcPoje19Oc5cMN5kjbvcl6WaITyukAKfDBN2iISrsS53HyAuiBSpJ1Mg6cAEZgsc7LZ4KCeXQ7aLmEgNafGDS30000",server:"https://www.plantuml.com/plantuml"},{scale:.7}),null,16,["server"])])])]),_:1},16)}}},V_=h("h1",null,"Project history",-1),H_=h("ul",null,[h("li",null,"March 2022: First discussion"),h("li",null,"April 2022: 2 first exams in test mode @UnivRennes"),h("li",null,"September 2022: new features (MCQs, translation, etc.), test extensions (IUT Toulouse, Universit\xE9 de Nice, INSA Rennes, etc.)."),h("li",null,"Spring 2023: Improvements based on user feedback (85 PR between January and May 2023)"),h("li",null,"Summer 2023: Batch correction, performance enhancement, identity federation integration, support for standalone mode to correct directly from your PC without data sharing)"),h("li",null,"Autumn 2023: Annotated pdf export, Performance improvement (Exam support for over 5000 copies)"),h("li",null,[J("Christmas 2023: "),h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues/427",target:"_blank",rel:"noopener"},"New scoring mechanism (hybrid)"),J(", "),h("a",{href:"https://correctexam.github.io/hackmd.io2pdf/",target:"_blank",rel:"noopener"},"hackmd"),J(" and "),h("a",{href:"https://correctexam.github.io/asciidoclive2pdf/",target:"_blank",rel:"noopener"},"asciidoc templates"),J(", \u2026")]),h("li",null,"April 2024: New zen mode for correction, random correction, latex template evolution, improvements based on feedback from users\u2026"),h("li",null,"377 + 131 PR since the start of the project"),h("li",null,[h("blockquote",null,[h("p",null,"250 corrected exams (120 users growing since September 2023) \u{1F44F}\u{1F44F}\u{1F44F}\u{1F44F}")])])],-1),B_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[V_,H_]),_:1},16))}},z_=h("h1",null,"Features 1/2",-1),U_=h("ul",null,[h("li",null,"Free-format exam template (word, libroffice, latex, asciidoc, markdown, \u2026) PDF input only required"),h("li",null,"Import and manipulate scans in pdf format (page order, rotation, deletion)"),h("li",null,"Copy sheet alignment (to correct scan defects)"),h("li",null,"Name recognition on copies (to assign copies to students)"),h("li",null,"Tag best/least correct answers (to generate a standard answer sheet on the fly)"),h("li",null,[J("Support for direct rating, positive, negative or "),h("strong",null,"hybrid")]),h("li",null,"Quick comparison of answers with the same comments / same question"),h("li",null,[J("MCQ support (not as good as AMC: Auto multiple Choice "),h("a",{href:"https://www.auto-multiple-choice.net/",target:"_blank",rel:"noopener"},"https://www.auto-multiple-choice.net/"),J(")")]),h("li",null,"Batch correction (to score a set of similar answers in a single step)"),h("li",null,"Annotate copies with a stylus during correction"),h("li",null,"Statistics by exam")],-1),K_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[z_,U_]),_:1},16))}},W_=h("h1",null,"Features 2/2",-1),q_=h("ul",null,[h("li",null,"Import/Export modules with or without student data"),h("li",null,"Import/Export comments"),h("li",null,"Email to students with their copy in the form of an annotated pdf and/or with a link for consultation on the platform"),h("li",null,"Export results in Excel format (to be sent to school)"),h("li",null,"Support for University identity federations"),h("li",null,"Zen mode \u2026")],-1),Y_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[W_,q_]),_:1},16))}},Z_=h("h1",null,"OpenHub identity card",-1),G_=h("ul",null,[h("li",null,[h("a",{href:"https://openhub.net/p/correctexam",target:"_blank",rel:"noopener"},"openhub")])],-1),Q_={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[Z_,G_]),_:1},16))}},J_=h("h1",null,"Feedback/Community structuring",-1),X_={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(ke(t)),{default:be(()=>[J_]),_:1},16))}},ey=h("h1",null,"Some feedbacks",-1),ty=h("ul",null,[h("li",null,[J("171 issues by twenty users "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues/397",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues/397")])])])],-1),ny=h("blockquote",null,[h("p",null,[J('"I\u2019ve just finished correcting my first exam with CorrectExam, and I\u2019m pleasantly surprised by how easy it is to use, it\u2019s very functional, I couldn\u2019t say if I\u2019m saving time, but the feedback to the student seems very important to me, and that\u2019s what I prefer. And I can see that features are being added as we go along (text comments with text box!)."'),h("br"),J(" Julien Geandrot, 19/11/2023")])],-1),sy=h("ul",null,[h("li",null,"Many emails ~300 emails"),h("li",null,"Compliance for RGPD, Student Intellectual Property, \u2026 (discussion with University lawyers)."),h("li",null,"Setting up a mailing list, matrix channel, an operational committee, etc."),h("li",null,"GitHub as a collaboration platform")],-1),ry={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[ey,ty,ny,sy]),_:1},16))}},oy=h("h1",null,"Roadmap",-1),iy={setup(e){const t={layout:"center",class:"text-center"};return(n,s)=>(C(),se(jr,Ce(ke(t)),{default:be(()=>[oy]),_:1},16))}},ly=h("h1",null,"Roadmap",-1),ay=h("ul",null,[h("li",null,"Training of pedagogical engineers at the University of Rennes \u2705"),h("li",null,"Deployment of version 1.1 on an infrastructure managed by the DSI at the Universit\xE9 de Rennes \u2705"),h("li",null,"Beta testing with other curious users"),h("li",null,"Accessibility analysis"),h("li",null,[J("V1.2 A number of identified tasks \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.2",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.2")])])]),h("li",null,[J("V1.3 \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3")])])]),h("li",null,[J("V1.4 \u2705 "),h("ul",null,[h("li",null,[h("a",{href:"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3",target:"_blank",rel:"noopener"},"https://github.com/correctexam/corrigeExamFront/issues?q=is%3Aopen+is%3Aissue+milestone%3AV1.3")])])]),h("li",null,"Publicize the project / Attract users to improve the tool"),h("li",null,"Understand how other partners can join the adventure / Attract contributors"),h("li",null,[J("V1.5 \u2705 "),h("ul",null,[h("li",null,"Support Jupyter notebook correction")])])],-1),cy={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[ly,ay]),_:1},16))}},uy=h("h1",null,"Perspectives",-1),fy=h("ul",null,[h("li",null,[J("As a research project: "),h("ul",null,[h("li",null,[J("two DSLs to implements: "),h("ul",null,[h("li",null,"MCQ scale, DMOS (Intuidoc)")])]),h("li",null,"Variability analysis")])])],-1),dy={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[uy,fy]),_:1},16))}},hy=h("h1",null,"Learn More",-1),py=h("ul",null,[h("li",null,[h("a",{href:"https://correctexam.readthedocs.io/",target:"_blank",rel:"noopener"},"Documentations")]),h("li",null,[h("a",{href:"github.com/correctexam",target:"_blank",rel:"noopener"},"GitHub")]),h("li",null,[h("a",{href:"https://correctexam.pages.dev/",target:"_blank",rel:"noopener"},"Apps")])],-1),my={setup(e){const t={};return(n,s)=>(C(),se(ze,Ce(ke(t)),{default:be(()=>[hy,py]),_:1},16))}};var gy=[{path:"1",name:"page-1",component:Q1,meta:{theme:"seriph",background:"https://source.unsplash.com/collection/94734566/1920x1080",class:"text-center",download:!0,highlighter:"shiki",lineNumbers:!1,info:`## Official slides for CorrectExam Learn more at [corrigeExamFront](https://olivier.barais.fr/corrigeExamFront/) -`,drawings:{persist:!1},title:"Correct Exam",slide:{start:0,end:40,note:"The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes)",filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:0,no:1,title:"Correct Exam",level:1},__clicksElements:[],__preloaded:!1}},{path:"2",name:"page-2",component:i_,meta:{slide:{start:41,end:52,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:1,no:2,title:"My mojo",level:1},__clicksElements:[],__preloaded:!1}},{path:"3",name:"page-3",component:d_,meta:{layout:"center",class:"text-center",slide:{start:52,end:60,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:2,no:3,title:"The project: correct exam",level:1},__clicksElements:[],__preloaded:!1}},{path:"4",name:"page-4",component:g_,meta:{slide:{start:61,end:80,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:3,no:4,title:"The need",level:2},__clicksElements:[],__preloaded:!1}},{path:"5",name:"page-5",component:b_,meta:{slide:{start:81,end:92,note:`
+`,drawings:{persist:!1},title:"Correct Exam",slide:{start:0,end:40,note:"The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes)",filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:0,no:1,title:"Correct Exam",level:1},__clicksElements:[],__preloaded:!1}},{path:"2",name:"page-2",component:i_,meta:{slide:{start:41,end:52,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:1,no:2,title:"My mojo",level:1},__clicksElements:[],__preloaded:!1}},{path:"3",name:"page-3",component:d_,meta:{layout:"center",class:"text-center",slide:{start:52,end:60,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:2,no:3,title:"The project: CorrectExam",level:1},__clicksElements:[],__preloaded:!1}},{path:"4",name:"page-4",component:g_,meta:{slide:{start:61,end:80,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:3,no:4,title:"Requirements",level:2},__clicksElements:[],__preloaded:!1}},{path:"5",name:"page-5",component:b_,meta:{slide:{start:81,end:92,note:`
This is a left-bottom aligned footer -
`,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:4,no:5,title:"Highly inspired by GradeScope Solution",level:1},__clicksElements:[],__preloaded:!1}},{path:"6",name:"page-6",component:E_,meta:{slide:{start:93,end:109,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:5,no:6,title:"Why building that piece of software ?",level:1},__clicksElements:[],__preloaded:!1}},{path:"7",name:"page-7",component:O_,meta:{layout:"center",class:"text-center",slide:{start:109,end:121,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:6,no:7,title:"Architectural choices / Functionality",level:1},__clicksElements:[],__preloaded:!1}},{path:"8",name:"page-8",component:k_,meta:{slide:{start:122,end:139,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:7,no:8,title:"The technical architecture",level:1},__clicksElements:[],__preloaded:!1}},{path:"9",name:"page-9",component:T_,meta:{slide:{start:140,end:145,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:8,no:9,title:"Architecture overview",level:1},__clicksElements:[],__preloaded:!1}},{path:"10",name:"page-10",component:D_,meta:{slide:{start:146,end:210,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:9,no:10,title:"Diagrams",level:1},__clicksElements:[],__preloaded:!1}},{path:"11",name:"page-11",component:B_,meta:{slide:{start:211,end:224,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:10,no:11,title:"Project history",level:1},__clicksElements:[],__preloaded:!1}},{path:"12",name:"page-12",component:K_,meta:{slide:{start:225,end:240,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:11,no:12,title:"Features 1/2",level:1},__clicksElements:[],__preloaded:!1}},{path:"13",name:"page-13",component:Y_,meta:{slide:{start:241,end:253,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:12,no:13,title:"Features 2/2",level:1},__clicksElements:[],__preloaded:!1}},{path:"14",name:"page-14",component:Q_,meta:{slide:{start:254,end:260,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:13,no:14,title:"OpenHub identity card",level:1},__clicksElements:[],__preloaded:!1}},{path:"15",name:"page-15",component:X_,meta:{layout:"center",class:"text-center",slide:{start:260,end:268,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:14,no:15,title:"Feedback/Community structuring",level:1},__clicksElements:[],__preloaded:!1}},{path:"16",name:"page-16",component:ry,meta:{slide:{start:269,end:282,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:15,no:16,title:"Some feedbacks",level:1},__clicksElements:[],__preloaded:!1}},{path:"17",name:"page-17",component:iy,meta:{layout:"center",class:"text-center",slide:{start:282,end:288,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:16,no:17,title:"Roadmap",level:1},__clicksElements:[],__preloaded:!1}},{path:"18",name:"page-18",component:cy,meta:{slide:{start:289,end:307,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:17,no:18,title:"Roadmap",level:1},__clicksElements:[],__preloaded:!1}},{path:"19",name:"page-19",component:dy,meta:{slide:{start:307,end:324,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:18,no:19,title:"Perspectives",level:1},__clicksElements:[],__preloaded:!1}},{path:"20",name:"page-20",component:my,meta:{slide:{start:325,end:334,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:19,no:20,title:"Learn More",level:1},__clicksElements:[],__preloaded:!1}},{path:"21",component:M1,meta:{layout:"end"}}];const _t=gy,vy=[{name:"play",path:"/",component:A1,children:[..._t]},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}],Ge=yg({history:Lm("/slides/"),routes:vy});function _y(e,t,{mode:n="replace"}={}){return I({get(){const s=Ge.currentRoute.value.query[e];return s==null?t!=null?t:null:Array.isArray(s)?s.filter(Boolean):s},set(s){Gt(()=>{Ge[x(n)]({query:qe(me({},Ge.currentRoute.value.query),{[e]:s})})})}})}const Eu=q(0);Gt(()=>{Ge.afterEach(async()=>{await Gt(),Eu.value+=1})});const en=I(()=>Ge.currentRoute.value),ji=I(()=>en.value.query.print!==void 0),$u=I(()=>en.value.query.print==="clicks"),Bt=I(()=>en.value.query.embedded!==void 0),Xt=I(()=>en.value.path.startsWith("/presenter")),vs=I(()=>ji.value&&!$u.value),Uo=_y("clicks","0"),Di=I(()=>_t.length-1),Su=I(()=>en.value.path),je=I(()=>parseInt(Su.value.split(/\//g).slice(-1)[0])||1),yy=I(()=>Dr(je.value)),Ye=I(()=>_t.find(e=>e.path===`${je.value}`)),by=I(()=>{var e,t,n;return(n=(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.slide)==null?void 0:n.id}),wy=I(()=>{var e,t;return(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.layout}),ur=I(()=>_t.find(e=>e.path===`${Math.min(_t.length,je.value+1)}`)),Ou=I(()=>{var e,t;return Eu.value,((t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.__clicksElements)||[]}),vt=I({get(){if(vs.value)return 99999;let e=+(Uo.value||0);return isNaN(e)&&(e=0),e},set(e){Uo.value=e.toString()}}),Rs=I(()=>{var e,t,n;return+((n=(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.clicks)!=null?n:Ou.value.length)}),Au=I(()=>je.value<_t.length-1||vt.valueje.value>1||vt.value>0),ku=I(()=>_t.filter(e=>{var t,n;return(n=(t=e.meta)==null?void 0:t.slide)==null?void 0:n.title}).reduce((e,t)=>(Vi(e,t),e),[])),Cu=I(()=>Hi(ku.value)),xy=I(()=>Tu(Cu.value));function qt(){Rs.value<=vt.value?Fs():vt.value+=1}async function Yt(){vt.value<=0?await Ls():vt.value-=1}function Dr(e){return Xt.value?`/presenter/${e}`:`/${e}`}function Fs(){const e=Math.min(_t.length,je.value+1);return Vs(e)}async function Ls(e=!0){const t=Math.max(1,je.value-1);await Vs(t),e&&Rs.value&&Ge.replace({query:qe(me({},en.value.query),{clicks:Rs.value})})}function Vs(e,t){return Ge.push({path:Dr(e),query:qe(me({},en.value.query),{clicks:t})})}function Mu(e){const t=q(0),{direction:n,distanceX:s,distanceY:r}=um(e,{onSwipeStart(o){o.pointerType==="touch"&&(Ts.value||(t.value=gp()))},onSwipeEnd(o){if(o.pointerType!=="touch"||!t.value||Ts.value)return;const i=Math.abs(s.value),l=Math.abs(r.value);i/window.innerWidth>.3||i>100?n.value===zt.LEFT?qt():Yt():(l/window.innerHeight>.4||l>200)&&(n.value===zt.DOWN?Ls():Fs())}})}async function Ko(){const{saveAs:e}=await import("./FileSaver.min.4f92ed14.js").then(function(t){return t.F});e(Gc(Se.download)?Se.download:"/slides/slidev-exported.pdf",`${Se.title}.pdf`)}async function Ey(e){var t,n;if(e==null){const s=(n=(t=Ye.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 Vi(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?Vi(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 Hi(e,t=!1,n){return e.map(s=>{var o;const r=qe(me({},s),{active:s.path===((o=Ye.value)==null?void 0:o.path),hasActiveParent:t});return r.children.length>0&&(r.children=Hi(r.children,r.active||r.hasActiveParent,r)),n&&(r.active||r.activeParent)&&(n.activeParent=!0),r})}function Tu(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>qe(me({},n),{children:Tu(n.children,t+1)}))}var Aa=Object.freeze(Object.defineProperty({__proto__:null,rawRoutes:_t,router:Ge,route:en,isPrintMode:ji,isPrintWithClicks:$u,isEmbedded:Bt,isPresenter:Xt,isClicksDisabled:vs,queryClicks:Uo,total:Di,path:Su,currentPage:je,currentPath:yy,currentRoute:Ye,currentSlideId:by,currentLayout:wy,nextRoute:ur,clicksElements:Ou,clicks:vt,clicksTotal:Rs,hasNext:Au,hasPrev:Pu,rawTree:ku,treeWithActiveStatuses:Cu,tree:xy,next:qt,prev:Yt,getPath:Dr,nextSlide:Fs,prevSlide:Ls,go:Vs,useSwipeControls:Mu,downloadPDF:Ko,openInEditor:Ey,addToTree:Vi,getTreeWithActiveStatuses:Hi},Symbol.toStringTag,{value:"Module"}));function $y(){pp({title:Se.titleTemplate.replace("%s",Se.title||"Slidev")});function e(){Xt.value||(+xt.page!=+je.value||vt.value!==xt.clicks)&&Ge.replace({path:Dr(xt.page),query:qe(me({},Ge.currentRoute.value.query),{clicks:xt.clicks||0})})}function t(){Xt.value&&(xt.page=+je.value,xt.clicks=vt.value)}Ge.afterEach(t),oe(vt,t),Ge.isReady().then(()=>{oe(xt,e,{deep:!0})})}const Sy=Me({setup(e){return $y(),(t,n)=>{const s=Hc("RouterView");return C(),se(s)}}});function Ru(e){return tc()?(nc(e),!0):!1}const Fu=typeof window!="undefined",Oy=Object.prototype.toString,Ay=e=>typeof e=="number",Py=e=>typeof e=="string",Wo=e=>Oy.call(e)==="[object Object]",mn=()=>{};function Bi(e){Lr()&&Ai(e)}function Un(e){var t;const n=x(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Lu=Fu?window:void 0;function ky(...e){let t,n,s,r;if(Py(e[0])?([n,s,r]=e,t=Lu):[t,n,s,r]=e,!t)return mn;let o=mn;const i=oe(()=>Un(t),a=>{o(),a&&(a.addEventListener(n,s,r),o=()=>{a.removeEventListener(n,s,r),o=mn})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Ru(l),l}const qo=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yo="__vueuse_ssr_handlers__";qo[Yo]=qo[Yo]||{};qo[Yo];function Cy(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:o=.1,window:i=Lu}=n,l=i&&"IntersectionObserver"in i;let a=mn;const c=l?oe(()=>({el:Un(e),root:Un(s)}),({el:f,root:d})=>{if(a(),!f)return;const g=new IntersectionObserver(t,{root:d,rootMargin:r,threshold:o});g.observe(f),a=()=>{g.disconnect(),a=mn}},{immediate:!0,flush:"post"}):mn,u=()=>{a(),c()};return Ru(u),{isSupported:l,stop:u}}var Pa,ka;Fu&&(window==null?void 0:window.navigator)&&((Pa=window==null?void 0:window.navigator)==null?void 0:Pa.platform)&&/iP(ad|hone|od)/.test((ka=window==null?void 0:window.navigator)==null?void 0:ka.platform);const Iu=1/60*1e3,My=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Nu=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(My()),Iu);function Ty(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(e[t]=Ty(()=>Is=!0),e),{}),Ca=Hs.reduce((e,t)=>{const n=Vr[t];return e[t]=(s,r=!1,o=!1)=>(Is||Ly(),n.schedule(s,r,o)),e},{});Hs.reduce((e,t)=>(e[t]=Vr[t].cancel,e),{});Hs.reduce((e,t)=>(e[t]=()=>Vr[t].process(jn),e),{});const Fy=e=>Vr[e].process(jn),ju=e=>{Is=!1,jn.delta=Zo?Iu:Math.max(Math.min(e-jn.timestamp,Ry),1),jn.timestamp=e,Go=!0,Hs.forEach(Fy),Go=!1,Is&&(Zo=!1,Nu(ju))},Ly=()=>{Is=!0,Zo=!0,Go||Nu(ju)},Iy=()=>jn;/*! ***************************************************************************** +
`,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:4,no:5,title:"Highly inspired by GradeScope Solution",level:1},__clicksElements:[],__preloaded:!1}},{path:"6",name:"page-6",component:E_,meta:{slide:{start:93,end:109,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:5,no:6,title:"Why building that piece of software ?",level:1},__clicksElements:[],__preloaded:!1}},{path:"7",name:"page-7",component:O_,meta:{layout:"center",class:"text-center",slide:{start:109,end:121,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:6,no:7,title:"Architectural choices / Functionality",level:1},__clicksElements:[],__preloaded:!1}},{path:"8",name:"page-8",component:P_,meta:{slide:{start:122,end:139,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:7,no:8,title:"The technical architecture",level:1},__clicksElements:[],__preloaded:!1}},{path:"9",name:"page-9",component:T_,meta:{slide:{start:140,end:145,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:8,no:9,title:"Architecture overview",level:1},__clicksElements:[],__preloaded:!1}},{path:"10",name:"page-10",component:D_,meta:{slide:{start:146,end:210,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:9,no:10,title:"Diagrams",level:1},__clicksElements:[],__preloaded:!1}},{path:"11",name:"page-11",component:B_,meta:{slide:{start:211,end:226,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:10,no:11,title:"Project history",level:1},__clicksElements:[],__preloaded:!1}},{path:"12",name:"page-12",component:K_,meta:{slide:{start:227,end:242,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:11,no:12,title:"Features 1/2",level:1},__clicksElements:[],__preloaded:!1}},{path:"13",name:"page-13",component:Y_,meta:{slide:{start:243,end:255,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:12,no:13,title:"Features 2/2",level:1},__clicksElements:[],__preloaded:!1}},{path:"14",name:"page-14",component:Q_,meta:{slide:{start:256,end:262,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:13,no:14,title:"OpenHub identity card",level:1},__clicksElements:[],__preloaded:!1}},{path:"15",name:"page-15",component:X_,meta:{layout:"center",class:"text-center",slide:{start:262,end:270,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:14,no:15,title:"Feedback/Community structuring",level:1},__clicksElements:[],__preloaded:!1}},{path:"16",name:"page-16",component:ry,meta:{slide:{start:271,end:284,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:15,no:16,title:"Some feedbacks",level:1},__clicksElements:[],__preloaded:!1}},{path:"17",name:"page-17",component:iy,meta:{layout:"center",class:"text-center",slide:{start:284,end:290,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:16,no:17,title:"Roadmap",level:1},__clicksElements:[],__preloaded:!1}},{path:"18",name:"page-18",component:cy,meta:{slide:{start:291,end:309,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:17,no:18,title:"Roadmap",level:1},__clicksElements:[],__preloaded:!1}},{path:"19",name:"page-19",component:dy,meta:{slide:{start:309,end:326,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:18,no:19,title:"Perspectives",level:1},__clicksElements:[],__preloaded:!1}},{path:"20",name:"page-20",component:my,meta:{slide:{start:327,end:336,filepath:"/home/barais/git/gradeScope/slides/correctExam/slides.md",id:19,no:20,title:"Learn More",level:1},__clicksElements:[],__preloaded:!1}},{path:"21",component:M1,meta:{layout:"end"}}];const _t=gy,vy=[{name:"play",path:"/",component:k1,children:[..._t]},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}],Ge=yg({history:Lm("/slides/"),routes:vy});function _y(e,t,{mode:n="replace"}={}){return I({get(){const s=Ge.currentRoute.value.query[e];return s==null?t!=null?t:null:Array.isArray(s)?s.filter(Boolean):s},set(s){Gt(()=>{Ge[x(n)]({query:qe(me({},Ge.currentRoute.value.query),{[e]:s})})})}})}const Eu=q(0);Gt(()=>{Ge.afterEach(async()=>{await Gt(),Eu.value+=1})});const en=I(()=>Ge.currentRoute.value),ji=I(()=>en.value.query.print!==void 0),$u=I(()=>en.value.query.print==="clicks"),Bt=I(()=>en.value.query.embedded!==void 0),Xt=I(()=>en.value.path.startsWith("/presenter")),vs=I(()=>ji.value&&!$u.value),Uo=_y("clicks","0"),Di=I(()=>_t.length-1),Su=I(()=>en.value.path),je=I(()=>parseInt(Su.value.split(/\//g).slice(-1)[0])||1),yy=I(()=>Dr(je.value)),Ye=I(()=>_t.find(e=>e.path===`${je.value}`)),by=I(()=>{var e,t,n;return(n=(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.slide)==null?void 0:n.id}),wy=I(()=>{var e,t;return(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.layout}),ur=I(()=>_t.find(e=>e.path===`${Math.min(_t.length,je.value+1)}`)),Ou=I(()=>{var e,t;return Eu.value,((t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.__clicksElements)||[]}),vt=I({get(){if(vs.value)return 99999;let e=+(Uo.value||0);return isNaN(e)&&(e=0),e},set(e){Uo.value=e.toString()}}),Rs=I(()=>{var e,t,n;return+((n=(t=(e=Ye.value)==null?void 0:e.meta)==null?void 0:t.clicks)!=null?n:Ou.value.length)}),ku=I(()=>je.value<_t.length-1||vt.valueje.value>1||vt.value>0),Pu=I(()=>_t.filter(e=>{var t,n;return(n=(t=e.meta)==null?void 0:t.slide)==null?void 0:n.title}).reduce((e,t)=>(Vi(e,t),e),[])),Cu=I(()=>Hi(Pu.value)),xy=I(()=>Tu(Cu.value));function qt(){Rs.value<=vt.value?Fs():vt.value+=1}async function Yt(){vt.value<=0?await Ls():vt.value-=1}function Dr(e){return Xt.value?`/presenter/${e}`:`/${e}`}function Fs(){const e=Math.min(_t.length,je.value+1);return Vs(e)}async function Ls(e=!0){const t=Math.max(1,je.value-1);await Vs(t),e&&Rs.value&&Ge.replace({query:qe(me({},en.value.query),{clicks:Rs.value})})}function Vs(e,t){return Ge.push({path:Dr(e),query:qe(me({},en.value.query),{clicks:t})})}function Mu(e){const t=q(0),{direction:n,distanceX:s,distanceY:r}=um(e,{onSwipeStart(o){o.pointerType==="touch"&&(Ts.value||(t.value=gp()))},onSwipeEnd(o){if(o.pointerType!=="touch"||!t.value||Ts.value)return;const i=Math.abs(s.value),l=Math.abs(r.value);i/window.innerWidth>.3||i>100?n.value===zt.LEFT?qt():Yt():(l/window.innerHeight>.4||l>200)&&(n.value===zt.DOWN?Ls():Fs())}})}async function Ko(){const{saveAs:e}=await import("./FileSaver.min.4f92ed14.js").then(function(t){return t.F});e(Gc(Se.download)?Se.download:"/slides/slidev-exported.pdf",`${Se.title}.pdf`)}async function Ey(e){var t,n;if(e==null){const s=(n=(t=Ye.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 Vi(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?Vi(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 Hi(e,t=!1,n){return e.map(s=>{var o;const r=qe(me({},s),{active:s.path===((o=Ye.value)==null?void 0:o.path),hasActiveParent:t});return r.children.length>0&&(r.children=Hi(r.children,r.active||r.hasActiveParent,r)),n&&(r.active||r.activeParent)&&(n.activeParent=!0),r})}function Tu(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>qe(me({},n),{children:Tu(n.children,t+1)}))}var ka=Object.freeze(Object.defineProperty({__proto__:null,rawRoutes:_t,router:Ge,route:en,isPrintMode:ji,isPrintWithClicks:$u,isEmbedded:Bt,isPresenter:Xt,isClicksDisabled:vs,queryClicks:Uo,total:Di,path:Su,currentPage:je,currentPath:yy,currentRoute:Ye,currentSlideId:by,currentLayout:wy,nextRoute:ur,clicksElements:Ou,clicks:vt,clicksTotal:Rs,hasNext:ku,hasPrev:Au,rawTree:Pu,treeWithActiveStatuses:Cu,tree:xy,next:qt,prev:Yt,getPath:Dr,nextSlide:Fs,prevSlide:Ls,go:Vs,useSwipeControls:Mu,downloadPDF:Ko,openInEditor:Ey,addToTree:Vi,getTreeWithActiveStatuses:Hi},Symbol.toStringTag,{value:"Module"}));function $y(){pp({title:Se.titleTemplate.replace("%s",Se.title||"Slidev")});function e(){Xt.value||(+xt.page!=+je.value||vt.value!==xt.clicks)&&Ge.replace({path:Dr(xt.page),query:qe(me({},Ge.currentRoute.value.query),{clicks:xt.clicks||0})})}function t(){Xt.value&&(xt.page=+je.value,xt.clicks=vt.value)}Ge.afterEach(t),oe(vt,t),Ge.isReady().then(()=>{oe(xt,e,{deep:!0})})}const Sy=Me({setup(e){return $y(),(t,n)=>{const s=Hc("RouterView");return C(),se(s)}}});function Ru(e){return tc()?(nc(e),!0):!1}const Fu=typeof window!="undefined",Oy=Object.prototype.toString,ky=e=>typeof e=="number",Ay=e=>typeof e=="string",Wo=e=>Oy.call(e)==="[object Object]",mn=()=>{};function Bi(e){Lr()&&ki(e)}function Un(e){var t;const n=x(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Lu=Fu?window:void 0;function Py(...e){let t,n,s,r;if(Ay(e[0])?([n,s,r]=e,t=Lu):[t,n,s,r]=e,!t)return mn;let o=mn;const i=oe(()=>Un(t),a=>{o(),a&&(a.addEventListener(n,s,r),o=()=>{a.removeEventListener(n,s,r),o=mn})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Ru(l),l}const qo=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Yo="__vueuse_ssr_handlers__";qo[Yo]=qo[Yo]||{};qo[Yo];function Cy(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:o=.1,window:i=Lu}=n,l=i&&"IntersectionObserver"in i;let a=mn;const c=l?oe(()=>({el:Un(e),root:Un(s)}),({el:f,root:d})=>{if(a(),!f)return;const g=new IntersectionObserver(t,{root:d,rootMargin:r,threshold:o});g.observe(f),a=()=>{g.disconnect(),a=mn}},{immediate:!0,flush:"post"}):mn,u=()=>{a(),c()};return Ru(u),{isSupported:l,stop:u}}var Aa,Pa;Fu&&(window==null?void 0:window.navigator)&&((Aa=window==null?void 0:window.navigator)==null?void 0:Aa.platform)&&/iP(ad|hone|od)/.test((Pa=window==null?void 0:window.navigator)==null?void 0:Pa.platform);const Iu=1/60*1e3,My=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Nu=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(My()),Iu);function Ty(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(e[t]=Ty(()=>Is=!0),e),{}),Ca=Hs.reduce((e,t)=>{const n=Vr[t];return e[t]=(s,r=!1,o=!1)=>(Is||Ly(),n.schedule(s,r,o)),e},{});Hs.reduce((e,t)=>(e[t]=Vr[t].cancel,e),{});Hs.reduce((e,t)=>(e[t]=()=>Vr[t].process(jn),e),{});const Fy=e=>Vr[e].process(jn),ju=e=>{Is=!1,jn.delta=Zo?Iu:Math.max(Math.min(e-jn.timestamp,Ry),1),jn.timestamp=e,Go=!0,Hs.forEach(Fy),Go=!1,Is&&(Zo=!1,Nu(ju))},Ly=()=>{Is=!0,Zo=!0,Go||Nu(ju)},Iy=()=>jn;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -25,4 +25,4 @@ 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 Du(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);rMath.min(Math.max(n,e),t),io=.001,jy=.01,Ta=10,Dy=.05,Vy=1;function Hy({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,o;Ny(e<=Ta*1e3);let i=1-t;i=Qo(Dy,Vy,i),e=Qo(jy,Ta,e/1e3),i<1?(r=c=>{const u=c*i,f=u*e,d=u-n,g=Jo(c,i),v=Math.exp(-f);return io-d/g*v},o=c=>{const f=c*i*e,d=f*n+n,g=Math.pow(i,2)*Math.pow(c,2)*e,v=Math.exp(-f),E=Jo(Math.pow(c,2),i);return(-r(c)+io>0?-1:1)*((d-g)*v)/E}):(r=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-io+u*f},o=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const l=5/e,a=zy(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 By=12;function zy(e,t,n){let s=n;for(let r=1;re[n]!==void 0)}function Wy(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ra(e,Ky)&&Ra(e,Uy)){const n=Hy(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function zi(e){var{from:t=0,to:n=1,restSpeed:s=2,restDelta:r}=e,o=Du(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:a,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=Wy(o),g=Fa,v=Fa;function E(){const w=u?-(u/1e3):0,P=n-t,y=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)),y<1){const O=Jo(b,y);g=F=>{const j=Math.exp(-y*b*F);return n-j*((w+y*b*P)/O*Math.sin(O*F)+P*Math.cos(O*F))},v=F=>{const j=Math.exp(-y*b*F);return y*b*j*(Math.sin(O*F)*(w+y*b*P)/O+P*Math.cos(O*F))-j*(Math.cos(O*F)*(w+y*b*P)-O*P*Math.sin(O*F))}}else if(y===1)g=O=>n-Math.exp(-b*O)*(P+(w+b*P)*O);else{const O=b*Math.sqrt(y*y-1);g=F=>{const j=Math.exp(-y*b*F),Z=Math.min(O*F,300);return n-j*((w+y*b*P)*Math.sinh(Z)+O*P*Math.cosh(Z))/O}}}return E(),{next:w=>{const P=g(w);if(d)i.done=w>=f;else{const y=v(w)*1e3,b=Math.abs(y)<=s,O=Math.abs(n-P)<=r;i.done=b&&O}return i.value=i.done?n:P,i},flipTarget:()=>{u=-u,[t,n]=[n,t],E()}}}zi.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Fa=e=>0,Vu=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Ui=(e,t,n)=>-n*e+n*t+e,Hu=(e,t)=>n=>Math.max(Math.min(n,t),e),_s=e=>e%1?Number(e.toFixed(5)):e,$r=/(-)?([\d]*\.?[\d])+/g,Xo=/(#[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,qy=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Bs(e){return typeof e=="string"}const Hr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Bu=Object.assign(Object.assign({},Hr),{transform:Hu(0,1)});Object.assign(Object.assign({},Hr),{default:1});const Yy=e=>({test:t=>Bs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ys=Yy("%");Object.assign(Object.assign({},ys),{parse:e=>ys.parse(e)/100,transform:e=>ys.transform(e*100)});const Ki=(e,t)=>n=>Boolean(Bs(n)&&qy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),zu=(e,t,n)=>s=>{if(!Bs(s))return s;const[r,o,i,l]=s.match($r);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},fn={test:Ki("hsl","hue"),parse:zu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+ys.transform(_s(t))+", "+ys.transform(_s(n))+", "+_s(Bu.transform(s))+")"},Zy=Hu(0,255),lo=Object.assign(Object.assign({},Hr),{transform:e=>Math.round(Zy(e))}),Ut={test:Ki("rgb","red"),parse:zu("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+lo.transform(e)+", "+lo.transform(t)+", "+lo.transform(n)+", "+_s(Bu.transform(s))+")"};function Gy(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 ei={test:Ki("#"),parse:Gy,transform:Ut.transform},Br={test:e=>Ut.test(e)||ei.test(e)||fn.test(e),parse:e=>Ut.test(e)?Ut.parse(e):fn.test(e)?fn.parse(e):ei.parse(e),transform:e=>Bs(e)?e:e.hasOwnProperty("red")?Ut.transform(e):fn.transform(e)},Uu="${c}",Ku="${n}";function Qy(e){var t,n,s,r;return isNaN(e)&&Bs(e)&&((n=(t=e.match($r))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(Xo))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function Wu(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(Xo);s&&(n=s.length,e=e.replace(Xo,Uu),t.push(...s.map(Br.parse)));const r=e.match($r);return r&&(e=e.replace($r,Ku),t.push(...r.map(Hr.parse))),{values:t,numColors:n,tokenised:e}}function qu(e){return Wu(e).values}function Yu(e){const{values:t,numColors:n,tokenised:s}=Wu(e),r=t.length;return o=>{let i=s;for(let l=0;ltypeof e=="number"?0:e;function Xy(e){const t=qu(e);return Yu(e)(t.map(Jy))}const Zu={test:Qy,parse:qu,createTransformer:Yu,getAnimatableNone:Xy};function ao(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 La({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=ao(a,l,e+1/3),o=ao(a,l,e),i=ao(a,l,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:s}}const eb=(e,t,n)=>{const s=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-s)+s))},tb=[ei,Ut,fn],Ia=e=>tb.find(t=>t.test(e)),Gu=(e,t)=>{let n=Ia(e),s=Ia(t),r=n.parse(e),o=s.parse(t);n===fn&&(r=La(r),n=Ut),s===fn&&(o=La(o),s=Ut);const i=Object.assign({},r);return l=>{for(const a in i)a!=="alpha"&&(i[a]=eb(r[a],o[a],l));return i.alpha=Ui(r.alpha,o.alpha,l),n.transform(i)}},nb=e=>typeof e=="number",sb=(e,t)=>n=>t(e(n)),Qu=(...e)=>e.reduce(sb);function Ju(e,t){return nb(e)?n=>Ui(e,t,n):Br.test(e)?Gu(e,t):ef(e,t)}const Xu=(e,t)=>{const n=[...e],s=n.length,r=e.map((o,i)=>Ju(o,t[i]));return o=>{for(let i=0;i{const n=Object.assign(Object.assign({},e),t),s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=Ju(e[r],t[r]));return r=>{for(const o in s)n[o]=s[o](r);return n}};function Na(e){const t=Zu.parse(e),n=t.length;let s=0,r=0,o=0;for(let i=0;i{const n=Zu.createTransformer(t),s=Na(e),r=Na(t);return s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers?Qu(Xu(s.parsed,r.parsed),n):i=>`${i>0?t:e}`},ob=(e,t)=>n=>Ui(e,t,n);function ib(e){if(typeof e=="number")return ob;if(typeof e=="string")return Br.test(e)?Gu:ef;if(Array.isArray(e))return Xu;if(typeof e=="object")return rb}function lb(e,t,n){const s=[],r=n||ib(e[0]),o=e.length-1;for(let i=0;in(Vu(e,t,s))}function cb(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(;ar||a===s);a++);o=a-1}const l=Vu(e[o],e[o+1],r);return t[o](l)}}function tf(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const o=e.length;Ma(o===t.length),Ma(!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=lb(t,s,r),l=o===2?ab(e,i):cb(e,i);return n?a=>l(Qo(e[0],e[o-1],a)):l}const zr=e=>t=>1-e(1-t),Wi=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ub=e=>t=>Math.pow(t,e),nf=e=>t=>t*t*((e+1)*t-e),fb=e=>{const t=nf(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},sf=1.525,db=4/11,hb=8/11,pb=9/10,rf=e=>e,qi=ub(2),mb=zr(qi),of=Wi(qi),lf=e=>1-Math.sin(Math.acos(e)),af=zr(lf),gb=Wi(af),Yi=nf(sf),vb=zr(Yi),_b=Wi(Yi),yb=fb(sf),bb=4356/361,wb=35442/1805,xb=16061/1805,Sr=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-Sr(1-e*2)):.5*Sr(e*2-1)+.5;function Sb(e,t){return e.map(()=>t||of).splice(0,e.length-1)}function Ob(e){const t=e.length;return e.map((n,s)=>s!==0?s/(t-1):0)}function Ab(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=Ab(s&&s.length===i.length?s:Ob(i),r);function a(){return tf(l,i,{ease:Array.isArray(n)?n:Sb(i,n)})}let c=a();return{next:u=>(o.value=c(u),o.done=u>=r,o),flipTarget:()=>{i.reverse(),c=a()}}}function Pb({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 ja={keyframes:fr,spring:zi,decay:Pb};function kb(e){if(Array.isArray(e.to))return fr;if(ja[e.type])return ja[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")?zi:fr}const cf=1/60*1e3,Cb=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),uf=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Cb()),cf);function Mb(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(e[t]=Mb(()=>Ns=!0),e),{}),Rb=zs.reduce((e,t)=>{const n=Ur[t];return e[t]=(s,r=!1,o=!1)=>(Ns||Ib(),n.schedule(s,r,o)),e},{}),Fb=zs.reduce((e,t)=>(e[t]=Ur[t].cancel,e),{});zs.reduce((e,t)=>(e[t]=()=>Ur[t].process(Dn),e),{});const Lb=e=>Ur[e].process(Dn),ff=e=>{Ns=!1,Dn.delta=ti?cf:Math.max(Math.min(e-Dn.timestamp,Tb),1),Dn.timestamp=e,ni=!0,zs.forEach(Lb),ni=!1,Ns&&(ti=!1,uf(ff))},Ib=()=>{Ns=!0,ti=!0,ni||uf(ff)},Nb=()=>Dn;function df(e,t,n=0){return e-t-n}function jb(e,t,n=0,s=!0){return s?df(t+-e,t,n):t-(e-t)+n}function Db(e,t,n,s){return s?e>=t+n:e<=-n}const Vb=e=>{const t=({delta:n})=>e(n);return{start:()=>Rb.update(t,!0),stop:()=>Fb.update(t)}};function hf(e){var t,n,{from:s,autoplay:r=!0,driver:o=Vb,elapsed:i=0,repeat:l=0,repeatType:a="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:d,onRepeat:g,onUpdate:v}=e,E=Du(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=E,P,y=0,b=E.duration,O,F=!1,j=!0,Z;const ue=kb(E);!((n=(t=ue).needsInterpolation)===null||n===void 0)&&n.call(t,s,w)&&(Z=tf([0,100],[s,w],{clamp:!1}),s=0,w=100);const fe=ue(Object.assign(Object.assign({},E),{from:s,to:w}));function he(){y++,a==="reverse"?(j=y%2===0,i=jb(i,b,c,j)):(i=df(i,b,c),a==="mirror"&&fe.flipTarget()),F=!1,g&&g()}function we(){P.stop(),d&&d()}function Pe(Ue){if(j||(Ue=-Ue),i+=Ue,!F){const Ke=fe.next(Math.max(0,i));O=Ke.value,Z&&(O=Z(O)),F=j?Ke.done:i<=0}v==null||v(O),F&&(y===0&&(b!=null||(b=i)),y{f==null||f(),P.stop()}}}function pf(e,t){return t?e*(1e3/t):0}function Hb({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:g}){let v;function E(b){return n!==void 0&&bs}function w(b){return n===void 0?s:s===void 0||Math.abs(n-b){var F;f==null||f(O),(F=b.onUpdate)===null||F===void 0||F.call(b,O)},onComplete:d,onStop:g}))}function y(b){P(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:a},b))}if(E(e))y({from:e,velocity:t,to:w(e)});else{let b=r*t+e;typeof c!="undefined"&&(b=c(b));const O=w(b),F=O===n?-1:1;let j,Z;const ue=fe=>{j=Z,Z=fe,t=pf(fe-j,Nb().delta),(F===1&&fe>O||F===-1&&fev==null?void 0:v.stop()}}const mf=(e,t)=>1-3*t+3*e,gf=(e,t)=>3*t-6*e,vf=e=>3*e,Or=(e,t,n)=>((mf(t,n)*e+gf(t,n))*e+vf(t))*e,_f=(e,t,n)=>3*mf(t,n)*e*e+2*gf(t,n)*e+vf(t),Bb=1e-7,zb=10;function Ub(e,t,n,s,r){let o,i,l=0;do i=t+(n-t)/2,o=Or(i,s,r)-e,o>0?n=i:t=i;while(Math.abs(o)>Bb&&++l=Wb?qb(i,f,e,n):d===0?f:Ub(i,l,l+Xs,e,n)}return i=>i===0||i===1?i:Or(o(i),t,s)}const yf=(e,t)=>n=>Math.max(Math.min(n,t),e),bs=e=>e%1?Number(e.toFixed(5)):e,js=/(-)?([\d]*\.?[\d])+/g,si=/(#[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,Zb=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Us(e){return typeof e=="string"}const Ks={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ws=Object.assign(Object.assign({},Ks),{transform:yf(0,1)}),er=Object.assign(Object.assign({},Ks),{default:1}),Zi=e=>({test:t=>Us(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),sn=Zi("deg"),xs=Zi("%"),X=Zi("px"),Da=Object.assign(Object.assign({},xs),{parse:e=>xs.parse(e)/100,transform:e=>xs.transform(e*100)}),Gi=(e,t)=>n=>Boolean(Us(n)&&Zb.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),bf=(e,t,n)=>s=>{if(!Us(s))return s;const[r,o,i,l]=s.match(js);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},tr={test:Gi("hsl","hue"),parse:bf("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))+")"},Gb=yf(0,255),co=Object.assign(Object.assign({},Ks),{transform:e=>Math.round(Gb(e))}),as={test:Gi("rgb","red"),parse:bf("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+co.transform(e)+", "+co.transform(t)+", "+co.transform(n)+", "+bs(ws.transform(s))+")"};function Qb(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 Va={test:Gi("#"),parse:Qb,transform:as.transform},lt={test:e=>as.test(e)||Va.test(e)||tr.test(e),parse:e=>as.test(e)?as.parse(e):tr.test(e)?tr.parse(e):Va.parse(e),transform:e=>Us(e)?e:e.hasOwnProperty("red")?as.transform(e):tr.transform(e)},wf="${c}",xf="${n}";function Jb(e){var t,n,s,r;return isNaN(e)&&Us(e)&&((n=(t=e.match(js))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(si))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function Ef(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(si);s&&(n=s.length,e=e.replace(si,wf),t.push(...s.map(lt.parse)));const r=e.match(js);return r&&(e=e.replace(js,xf),t.push(...r.map(Ks.parse))),{values:t,numColors:n,tokenised:e}}function $f(e){return Ef(e).values}function Sf(e){const{values:t,numColors:n,tokenised:s}=Ef(e),r=t.length;return o=>{let i=s;for(let l=0;ltypeof e=="number"?0:e;function ew(e){const t=$f(e);return Sf(e)(t.map(Xb))}const Qi={test:Jb,parse:$f,createTransformer:Sf,getAnimatableNone:ew},tw=new Set(["brightness","contrast","saturate","opacity"]);function nw(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(js)||[];if(!s)return e;const r=n.replace(s,"");let o=tw.has(t)?1:0;return s!==n&&(o*=100),t+"("+o+r+")"}const sw=/([a-z-]*)\(.*?\)/g,ri=Object.assign(Object.assign({},Qi),{getAnimatableNone:e=>{const t=e.match(sw);return t?t.map(nw).join(" "):e}}),uo={};class rw{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 Ha=e=>!isNaN(parseFloat(e));class ow{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new rw,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:r}=Iy();this.lastUpdated!==r&&(this.timeDelta=s,this.lastUpdated=r),Ca.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Ca.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Ha(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Ha(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?pf(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 iw(e){return new ow(e)}const{isArray:lw}=Array;function aw(){const e=q({}),t=s=>{const r=o=>{!e.value[o]||(e.value[o].stop(),e.value[o].destroy(),mp(e.value,o))};s?lw(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=iw(r);return i.onChange(l=>{Ze(o,s,l)}),Ze(e.value,s,i),i};return Bi(t),{motionValues:e,get:n,stop:t}}const cw=e=>Array.isArray(e),rn=()=>({type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}),fo=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}),uw=e=>({type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}),ho=()=>({type:"keyframes",ease:"linear",duration:300}),fw=e=>({type:"keyframes",duration:800,values:e}),Ba={default:uw,x:rn,y:rn,z:rn,rotate:rn,rotateX:rn,rotateY:rn,rotateZ:rn,scaleX:fo,scaleY:fo,scale:fo,backgroundColor:ho,color:ho,opacity:ho},Of=(e,t)=>{let n;return cw(t)?n=fw:n=Ba[e]||Ba.default,me({to:t},n(t))},za=qe(me({},Ks),{transform:Math.round}),Af={color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,size:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,rotate:sn,rotateX:sn,rotateY:sn,rotateZ:sn,scale:er,scaleX:er,scaleY:er,scaleZ:er,skew:sn,skewX:sn,skewY:sn,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:ws,originX:Da,originY:Da,originZ:X,zIndex:za,filter:ri,WebkitFilter:ri,fillOpacity:ws,strokeOpacity:ws,numOctaves:za},Ji=e=>Af[e],Pf=(e,t)=>t&&typeof e=="number"&&t.transform?t.transform(e):e;function dw(e,t){let n=Ji(e);return n!==ri&&(n=Qi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const hw={linear:rf,easeIn:qi,easeInOut:of,easeOut:mb,circIn:lf,circInOut:gb,circOut:af,backIn:Yi,backInOut:_b,backOut:vb,anticipate:yb,bounceIn:Eb,bounceInOut:$b,bounceOut:Sr},Ua=e=>{if(Array.isArray(e)){const[t,n,s,r]=e;return Yb(t,n,s,r)}else if(typeof e=="string")return hw[e];return e},pw=e=>Array.isArray(e)&&typeof e[0]!="number",Ka=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Qi.test(t)&&!t.startsWith("url("));function mw(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function gw(r){var o=r,{ease:e,times:t,delay:n}=o,s=Kr(o,["ease","times","delay"]);const i=me({},s);return t&&(i.offset=t),e&&(i.ease=pw(e)?e.map(Ua):Ua(e)),n&&(i.elapsed=-n),i}function vw(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),mw(t),_w(e)||(e=me(me({},e),Of(n,t.to))),me(me({},t),gw(e))}function _w(i){var l=i,{delay:e,repeat:t,repeatType:n,repeatDelay:s,from:r}=l,o=Kr(l,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(o).length}function yw(e,t){return e[t]||e.default||e}function bw(e,t,n,s,r){const o=yw(s,e);let i=o.from===null||o.from===void 0?t.get():o.from;const l=Ka(e,n);i==="none"&&l&&typeof n=="string"&&(i=dw(e,n));const a=Ka(e,i);function c(f){const d={from:i,to:n,velocity:s.velocity?s.velocity:t.getVelocity(),onUpdate:g=>t.set(g)};return o.type==="inertia"||o.type==="decay"?Hb(me(me({},d),o)):hf(qe(me({},vw(o,d,e)),{onUpdate:g=>{d.onUpdate(g),o.onUpdate&&o.onUpdate(g)},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 ww(){const{motionValues:e,stop:t,get:n}=aw();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=bw(r,u,o,l,a);u.start(f)}}}function xw(e,t={},{motionValues:n,push:s,stop:r}=ww()){const o=x(t),i=q(!1),l=oe(n,d=>{i.value=Object.values(d).filter(g=>g.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(([g,v])=>{if(g!=="transition")return new Promise(E=>{s(g,v,e,d.transition||Of(g,d[g]),E)})}).filter(Boolean)));return{isAnimating:i,apply:c,set:d=>{const g=Wo(d)?d:a(d);Object.entries(g).forEach(([v,E])=>{v!=="transition"&&s(v,E,e,{immediate:!0})})},stopTransitions:()=>{l(),r()},leave:async d=>{let g;if(o&&(o.leave&&(g=o.leave),!o.leave&&o.initial&&(g=o.initial)),!g){d();return}await c(g),d()}}}const Xi=typeof window!="undefined",Ew=()=>Xi&&window.onpointerdown===null,$w=()=>Xi&&window.ontouchstart===null,Sw=()=>Xi&&window.onmousedown===null;function Ow({target:e,state:t,variants:n,apply:s}){const r=x(n),o=[],i=(...v)=>{const E=ky.apply(null,v);return o.push(E),E},l=q(!1),a=q(!1),c=q(!1),u=I(()=>{let v=[];return r&&(r.hovered&&(v=[...v,...Object.keys(r.hovered)]),r.tapped&&(v=[...v,...Object.keys(r.tapped)]),r.focused&&(v=[...v,...Object.keys(r.focused)])),v}),f=I(()=>{const v={};Object.assign(v,t.value),l.value&&r.hovered&&Object.assign(v,r.hovered),a.value&&r.tapped&&Object.assign(v,r.tapped),c.value&&r.focused&&Object.assign(v,r.focused);for(const E in v)u.value.includes(E)||delete v[E];return v});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&&(Sw()&&(i(e,"mousedown",()=>{a.value=!0}),i(e,"mouseup",()=>{a.value=!1})),Ew()&&(i(e,"pointerdown",()=>{a.value=!0}),i(e,"pointerup",()=>{a.value=!1})),$w()&&(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=oe(f,s);return{stop:()=>{o.forEach(v=>v()),d()}}}function Aw({set:e,target:t,variants:n,variant:s}){const r=x(n);return{stop:oe(()=>t,()=>{!r||(r.initial&&e("initial"),r.enter&&(s.value="enter"))},{immediate:!0,flush:"pre"})}}function Pw({state:e,apply:t}){return{stop:oe(e,s=>{s&&t(s)},{immediate:!0})}}function kw({target:e,variants:t,variant:n}){const s=x(t);let r=mn;if(s&&(s.visible||s.visibleOnce)){const{stop:o}=Cy(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 Cw(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){const n=q([]);if(t.lifeCycleHooks){const{stop:r}=Aw(e);n.value.push(r)}if(t.syncVariants){const{stop:r}=Pw(e);n.value.push(r)}if(t.visibilityHooks){const{stop:r}=kw(e);n.value.push(r)}if(t.eventListeners){const{stop:r}=Ow(e);n.value.push(r)}const s=()=>n.value.forEach(r=>r());return Bi(s),{stop:s}}function kf(e={}){const t=Le(me({},e)),n=q({});return oe(t,()=>{const s={};for(const[r,o]of Object.entries(t)){const i=Ji(r),l=Pf(o,i);s[r]=l}n.value=s},{immediate:!0,deep:!0}),{state:t,style:n}}const Mw=["","X","Y","Z"],Tw=["perspective","translate","scale","rotate","skew"],Cf=["transformPerspective","x","y","z"];Tw.forEach(e=>{Mw.forEach(t=>{const n=e+t;Cf.push(n)})});const Rw=new Set(Cf);function el(e){return Rw.has(e)}const Fw=new Set(["originX","originY","originZ"]);function Mf(e){return Fw.has(e)}function Lw(e){const t={},n={};return Object.entries(e).forEach(([s,r])=>{el(s)||Mf(s)?t[s]=r:n[s]=r}),{transform:t,style:n}}function Iw(e,t){let n,s;const{state:r,style:o}=kf(),i=oe(()=>Un(e),c=>{if(!!c){s=c;for(const u of Object.keys(Af))c.style[u]===null||c.style[u]===""||el(u)||Mf(u)||Ze(r,u,c.style[u]);n&&Object.entries(n).forEach(([u,f])=>Ze(c.style,u,f)),t&&t(r)}},{immediate:!0}),l=oe(o,c=>{if(!s){n=c;return}for(const u in c)Ze(s.style,u,c[u])},{immediate:!0});return{style:r,stop:()=>{s=void 0,n=void 0,i(),l()}}}const Nw={x:"translateX",y:"translateY",z:"translateZ"};function Tf(e={},t=!0){const n=Le(me({},e)),s=q("");return oe(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(X.transform).join(",")}) `,i=!0);for(const[l,a]of Object.entries(r)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const c=Ji(l),u=Pf(a,c);o+=`${Nw[l]||l}(${u}) `}t&&!i&&(o+="translateZ(0px) "),s.value=o.trim()},{immediate:!0,deep:!0}),{state:n,transform:s}}function jw(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 qe(me({},s),{[o]:c})},{})}function Dw(e,t){Object.entries(jw(t)).forEach(([n,s])=>{s=parseFloat(s);const r=["x","y","z"];if(n==="translate3d"){if(s===0){r.forEach(o=>{Ze(e,o,0)});return}s.forEach((o,i)=>{Ze(e,r[i],o)});return}if(n==="translateX"){Ze(e,"x",s);return}if(n==="translateY"){Ze(e,"y",s);return}if(n==="translateZ"){Ze(e,"z",s);return}Ze(e,n,s)})}function Vw(e,t){let n,s;const{state:r,transform:o}=Tf(),i=oe(()=>Un(e),c=>{!c||(s=c,c.style.transform&&Dw(r,c.style.transform),n&&(c.style.transform=n),t&&t(r))},{immediate:!0}),l=oe(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 Hw(e,t){const n=Le({}),s=f=>{Object.entries(f).forEach(([d,g])=>{Ze(n,d,g)})},{style:r,stop:o}=Iw(e,s),{transform:i,stop:l}=Vw(e,s),a=oe(n,f=>{Object.entries(f).forEach(([d,g])=>{const v=el(d)?i:r;v[d]&&v[d]===g||Ze(v,d,g)})},{immediate:!0,deep:!0}),c=oe(()=>Un(e),f=>{!f||t&&s(t)},{immediate:!0});return{motionProperties:n,style:r,transform:i,stop:()=>{o(),l(),a(),c()}}}function Bw(e={}){const t=x(e),n=q();return{state:I(()=>{if(!!n.value)return t[n.value]}),variant:n}}function zw(e,t={},n){const{motionProperties:s,stop:r}=Hw(e),{variant:o,state:i}=Bw(t),l=xw(s,t),a=qe(me({target:e,variant:o,variants:t,state:i,motionProperties:s},l),{stop:(u=!1)=>{}}),{stop:c}=Cw(a,n);return a.stop=(u=!1)=>{const f=()=>{a.stopTransitions(),r(),c()};if(!u&&t.value&&t.value.leave){const d=oe(a.isAnimating,g=>{g||(d(),f())})}else f()},Bi(()=>a.stop()),a}const Uw=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"],Kw=(e,t)=>{const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&Wo(n.variants)&&(t.value=me(me({},t.value),n.variants)),Uw.forEach(s=>{if(s==="delay"){if(n&&n[s]&&Ay(n[s])){const r=n[s];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition=qe(me({},t.value.enter.transition),{delay:r})),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition=qe(me({},t.value.visible.transition),{delay:r})),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition=qe(me({},t.value.visibleOnce.transition),{delay:r})))}return}s==="visible-once"&&(s="visibleOnce"),n&&n[s]&&Wo(n[s])&&(t.value[s]=n[s])}))},po=e=>{const t=(s,r,o)=>{const i=r.value&&typeof r.value=="string"?r.value:o.key;i&&uo[i]&&uo[i].stop();const l=q(e||{});typeof r.value=="object"&&(l.value=r.value),Kw(o,l);const a=zw(s,l);s.motionInstance=a,i&&Ze(uo,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}=Lw(o),{transform:a}=Tf(i),{style:c}=kf(l);return a.value&&(c.value.transform=a.value),{style:c.value}}}},Ww={initial:{opacity:0},enter:{opacity:1}},qw={initial:{opacity:0},visible:{opacity:1}},Yw={initial:{opacity:0},visibleOnce:{opacity:1}},Zw={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Gw={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Qw={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Jw={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xw={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ex={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},tx={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},nx={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},sx={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rx={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ox={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ix={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},lx={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ax={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},cx={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},ux={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},fx={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},dx={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},hx={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},px={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},mx={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},gx={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},vx={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},_x={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},yx={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},bx={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},wx={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Wa={__proto__:null,fade:Ww,fadeVisible:qw,fadeVisibleOnce:Yw,pop:Zw,popVisible:Gw,popVisibleOnce:Qw,rollBottom:lx,rollLeft:Jw,rollRight:tx,rollTop:rx,rollVisibleBottom:ax,rollVisibleLeft:Xw,rollVisibleRight:nx,rollVisibleTop:ox,rollVisibleOnceBottom:cx,rollVisibleOnceLeft:ex,rollVisibleOnceRight:sx,rollVisibleOnceTop:ix,slideBottom:yx,slideLeft:ux,slideRight:hx,slideTop:gx,slideVisibleBottom:bx,slideVisibleLeft:fx,slideVisibleRight:px,slideVisibleTop:vx,slideVisibleOnceBottom:wx,slideVisibleOnceLeft:dx,slideVisibleOnceRight:mx,slideVisibleOnceTop:_x};function xx(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 Ex={install(e,t){if(e.directive("motion",po()),!t||t&&!t.excludePresets)for(const n in Wa){const s=Wa[n];e.directive(`motion-${xx(n)}`,po(s))}if(t&&t.directives)for(const n in t.directives){const s=t.directives[n];s.initial,e.directive(`motion-${n}`,po(s))}}};function $x(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t),e.app.use(Ex)}function Xe(e,t,n){var s,r;return(r=((s=e.instance)==null?void 0:s.$).provides[t])!=null?r:n}function Sx(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){var u,f,d,g;if(vs.value||((u=Xe(n,cr))==null?void 0:u.value))return;const s=Xe(n,Cn),r=Xe(n,ar),o=Xe(n,zo),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?Mv:so;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(!((g=o==null?void 0:o.value.get(n.value))!=null&&g.includes(t))){const v=(o==null?void 0:o.value.get(n.value))||[];o==null||o.value.set(n.value,[t].concat(v))}t==null||t.classList.toggle(Sn,!0),r&&oe(r,()=>{var P;const v=(P=r==null?void 0:r.value)!=null?P:0,E=n.value!=null?v>=n.value:v>a;t.classList.contains(ro)||t.classList.toggle(c,!E),i!==!1&&i!==void 0&&t.classList.toggle(c,E),t.classList.toggle(rs,!1);const w=o==null?void 0:o.value.get(v);w==null||w.forEach((y,b)=>{y.classList.toggle(Js,!1),b===w.length-1?y.classList.toggle(rs,!0):y.classList.toggle(Js,!0)}),t.classList.contains(rs)||t.classList.toggle(Js,E)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Sn,!1);const s=Xe(n,Cn);s!=null&&s.value&&ha(s.value,t)}}),e.directive("after",{name:"v-after",mounted(t,n){var l,a;if(vs.value||((l=Xe(n,cr))==null?void 0:l.value))return;const s=Xe(n,Cn),r=Xe(n,ar),o=Xe(n,zo),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(Sn,!0),r&&oe(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(ro)||t.classList.toggle(so,!c),t.classList.toggle(rs,!1),t.classList.contains(rs)||t.classList.toggle(Js,c)},{immediate:!0})},unmounted(t){t==null||t.classList.toggle(Sn,!0)}}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){var i,l,a;if(vs.value||((i=Xe(n,cr))==null?void 0:i.value))return;const s=Xe(n,Cn),r=Xe(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(Sn,!0),r&&oe(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(so,u),t.classList.toggle(ro,u)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Sn,!1);const s=Xe(n,Cn);s!=null&&s.value&&ha(s.value,t)}})}}}function Ox(){return{install(e){const t={};for(const s of Eg(Aa))typeof s=="string"&&(t[s]=Aa[s]);const n=Le({nav:t,configs:Se,themeConfigs:I(()=>Se.themeConfig)});e.config.globalProperties.$slidev=an(n)}}}const Zn=Xh(Sy);Zn.use(Ge);Zn.use(dp());Zn.use(Sx());Zn.use(Ox());$x({app:Zn,router:Ge});Zn.mount("#app");export{Qe as A,un as B,Tt as C,Cv as D,Si as E,Oe as F,oe as G,bv as H,Oi as I,oo as V,h0 as _,h as a,Px as b,K as c,Me as d,Jt as e,x as f,se as g,Fe as h,St as i,kx as j,J as k,ss as l,ve as m,nt as n,C as o,Ti as p,Vo as q,q as r,pv as s,mv as t,yt as u,gv as v,be as w,_v as x,ki as y,Yc as z}; +***************************************************************************** */function Du(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);rMath.min(Math.max(n,e),t),io=.001,jy=.01,Ta=10,Dy=.05,Vy=1;function Hy({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,o;Ny(e<=Ta*1e3);let i=1-t;i=Qo(Dy,Vy,i),e=Qo(jy,Ta,e/1e3),i<1?(r=c=>{const u=c*i,f=u*e,d=u-n,g=Jo(c,i),v=Math.exp(-f);return io-d/g*v},o=c=>{const f=c*i*e,d=f*n+n,g=Math.pow(i,2)*Math.pow(c,2)*e,v=Math.exp(-f),E=Jo(Math.pow(c,2),i);return(-r(c)+io>0?-1:1)*((d-g)*v)/E}):(r=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-io+u*f},o=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const l=5/e,a=zy(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 By=12;function zy(e,t,n){let s=n;for(let r=1;re[n]!==void 0)}function Wy(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Ra(e,Ky)&&Ra(e,Uy)){const n=Hy(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function zi(e){var{from:t=0,to:n=1,restSpeed:s=2,restDelta:r}=e,o=Du(e,["from","to","restSpeed","restDelta"]);const i={done:!1,value:t};let{stiffness:l,damping:a,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=Wy(o),g=Fa,v=Fa;function E(){const w=u?-(u/1e3):0,A=n-t,y=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)),y<1){const O=Jo(b,y);g=F=>{const j=Math.exp(-y*b*F);return n-j*((w+y*b*A)/O*Math.sin(O*F)+A*Math.cos(O*F))},v=F=>{const j=Math.exp(-y*b*F);return y*b*j*(Math.sin(O*F)*(w+y*b*A)/O+A*Math.cos(O*F))-j*(Math.cos(O*F)*(w+y*b*A)-O*A*Math.sin(O*F))}}else if(y===1)g=O=>n-Math.exp(-b*O)*(A+(w+b*A)*O);else{const O=b*Math.sqrt(y*y-1);g=F=>{const j=Math.exp(-y*b*F),Z=Math.min(O*F,300);return n-j*((w+y*b*A)*Math.sinh(Z)+O*A*Math.cosh(Z))/O}}}return E(),{next:w=>{const A=g(w);if(d)i.done=w>=f;else{const y=v(w)*1e3,b=Math.abs(y)<=s,O=Math.abs(n-A)<=r;i.done=b&&O}return i.value=i.done?n:A,i},flipTarget:()=>{u=-u,[t,n]=[n,t],E()}}}zi.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Fa=e=>0,Vu=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Ui=(e,t,n)=>-n*e+n*t+e,Hu=(e,t)=>n=>Math.max(Math.min(n,t),e),_s=e=>e%1?Number(e.toFixed(5)):e,$r=/(-)?([\d]*\.?[\d])+/g,Xo=/(#[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,qy=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Bs(e){return typeof e=="string"}const Hr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Bu=Object.assign(Object.assign({},Hr),{transform:Hu(0,1)});Object.assign(Object.assign({},Hr),{default:1});const Yy=e=>({test:t=>Bs(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ys=Yy("%");Object.assign(Object.assign({},ys),{parse:e=>ys.parse(e)/100,transform:e=>ys.transform(e*100)});const Ki=(e,t)=>n=>Boolean(Bs(n)&&qy.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),zu=(e,t,n)=>s=>{if(!Bs(s))return s;const[r,o,i,l]=s.match($r);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},fn={test:Ki("hsl","hue"),parse:zu("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+ys.transform(_s(t))+", "+ys.transform(_s(n))+", "+_s(Bu.transform(s))+")"},Zy=Hu(0,255),lo=Object.assign(Object.assign({},Hr),{transform:e=>Math.round(Zy(e))}),Ut={test:Ki("rgb","red"),parse:zu("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+lo.transform(e)+", "+lo.transform(t)+", "+lo.transform(n)+", "+_s(Bu.transform(s))+")"};function Gy(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 ei={test:Ki("#"),parse:Gy,transform:Ut.transform},Br={test:e=>Ut.test(e)||ei.test(e)||fn.test(e),parse:e=>Ut.test(e)?Ut.parse(e):fn.test(e)?fn.parse(e):ei.parse(e),transform:e=>Bs(e)?e:e.hasOwnProperty("red")?Ut.transform(e):fn.transform(e)},Uu="${c}",Ku="${n}";function Qy(e){var t,n,s,r;return isNaN(e)&&Bs(e)&&((n=(t=e.match($r))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(Xo))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function Wu(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(Xo);s&&(n=s.length,e=e.replace(Xo,Uu),t.push(...s.map(Br.parse)));const r=e.match($r);return r&&(e=e.replace($r,Ku),t.push(...r.map(Hr.parse))),{values:t,numColors:n,tokenised:e}}function qu(e){return Wu(e).values}function Yu(e){const{values:t,numColors:n,tokenised:s}=Wu(e),r=t.length;return o=>{let i=s;for(let l=0;ltypeof e=="number"?0:e;function Xy(e){const t=qu(e);return Yu(e)(t.map(Jy))}const Zu={test:Qy,parse:qu,createTransformer:Yu,getAnimatableNone:Xy};function ao(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 La({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=ao(a,l,e+1/3),o=ao(a,l,e),i=ao(a,l,e-1/3)}return{red:Math.round(r*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:s}}const eb=(e,t,n)=>{const s=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-s)+s))},tb=[ei,Ut,fn],Ia=e=>tb.find(t=>t.test(e)),Gu=(e,t)=>{let n=Ia(e),s=Ia(t),r=n.parse(e),o=s.parse(t);n===fn&&(r=La(r),n=Ut),s===fn&&(o=La(o),s=Ut);const i=Object.assign({},r);return l=>{for(const a in i)a!=="alpha"&&(i[a]=eb(r[a],o[a],l));return i.alpha=Ui(r.alpha,o.alpha,l),n.transform(i)}},nb=e=>typeof e=="number",sb=(e,t)=>n=>t(e(n)),Qu=(...e)=>e.reduce(sb);function Ju(e,t){return nb(e)?n=>Ui(e,t,n):Br.test(e)?Gu(e,t):ef(e,t)}const Xu=(e,t)=>{const n=[...e],s=n.length,r=e.map((o,i)=>Ju(o,t[i]));return o=>{for(let i=0;i{const n=Object.assign(Object.assign({},e),t),s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=Ju(e[r],t[r]));return r=>{for(const o in s)n[o]=s[o](r);return n}};function Na(e){const t=Zu.parse(e),n=t.length;let s=0,r=0,o=0;for(let i=0;i{const n=Zu.createTransformer(t),s=Na(e),r=Na(t);return s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers?Qu(Xu(s.parsed,r.parsed),n):i=>`${i>0?t:e}`},ob=(e,t)=>n=>Ui(e,t,n);function ib(e){if(typeof e=="number")return ob;if(typeof e=="string")return Br.test(e)?Gu:ef;if(Array.isArray(e))return Xu;if(typeof e=="object")return rb}function lb(e,t,n){const s=[],r=n||ib(e[0]),o=e.length-1;for(let i=0;in(Vu(e,t,s))}function cb(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(;ar||a===s);a++);o=a-1}const l=Vu(e[o],e[o+1],r);return t[o](l)}}function tf(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const o=e.length;Ma(o===t.length),Ma(!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=lb(t,s,r),l=o===2?ab(e,i):cb(e,i);return n?a=>l(Qo(e[0],e[o-1],a)):l}const zr=e=>t=>1-e(1-t),Wi=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ub=e=>t=>Math.pow(t,e),nf=e=>t=>t*t*((e+1)*t-e),fb=e=>{const t=nf(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},sf=1.525,db=4/11,hb=8/11,pb=9/10,rf=e=>e,qi=ub(2),mb=zr(qi),of=Wi(qi),lf=e=>1-Math.sin(Math.acos(e)),af=zr(lf),gb=Wi(af),Yi=nf(sf),vb=zr(Yi),_b=Wi(Yi),yb=fb(sf),bb=4356/361,wb=35442/1805,xb=16061/1805,Sr=e=>{if(e===1||e===0)return e;const t=e*e;return ee<.5?.5*(1-Sr(1-e*2)):.5*Sr(e*2-1)+.5;function Sb(e,t){return e.map(()=>t||of).splice(0,e.length-1)}function Ob(e){const t=e.length;return e.map((n,s)=>s!==0?s/(t-1):0)}function kb(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=kb(s&&s.length===i.length?s:Ob(i),r);function a(){return tf(l,i,{ease:Array.isArray(n)?n:Sb(i,n)})}let c=a();return{next:u=>(o.value=c(u),o.done=u>=r,o),flipTarget:()=>{i.reverse(),c=a()}}}function Ab({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 ja={keyframes:fr,spring:zi,decay:Ab};function Pb(e){if(Array.isArray(e.to))return fr;if(ja[e.type])return ja[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")?zi:fr}const cf=1/60*1e3,Cb=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),uf=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(Cb()),cf);function Mb(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(e[t]=Mb(()=>Ns=!0),e),{}),Rb=zs.reduce((e,t)=>{const n=Ur[t];return e[t]=(s,r=!1,o=!1)=>(Ns||Ib(),n.schedule(s,r,o)),e},{}),Fb=zs.reduce((e,t)=>(e[t]=Ur[t].cancel,e),{});zs.reduce((e,t)=>(e[t]=()=>Ur[t].process(Dn),e),{});const Lb=e=>Ur[e].process(Dn),ff=e=>{Ns=!1,Dn.delta=ti?cf:Math.max(Math.min(e-Dn.timestamp,Tb),1),Dn.timestamp=e,ni=!0,zs.forEach(Lb),ni=!1,Ns&&(ti=!1,uf(ff))},Ib=()=>{Ns=!0,ti=!0,ni||uf(ff)},Nb=()=>Dn;function df(e,t,n=0){return e-t-n}function jb(e,t,n=0,s=!0){return s?df(t+-e,t,n):t-(e-t)+n}function Db(e,t,n,s){return s?e>=t+n:e<=-n}const Vb=e=>{const t=({delta:n})=>e(n);return{start:()=>Rb.update(t,!0),stop:()=>Fb.update(t)}};function hf(e){var t,n,{from:s,autoplay:r=!0,driver:o=Vb,elapsed:i=0,repeat:l=0,repeatType:a="loop",repeatDelay:c=0,onPlay:u,onStop:f,onComplete:d,onRepeat:g,onUpdate:v}=e,E=Du(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=E,A,y=0,b=E.duration,O,F=!1,j=!0,Z;const ue=Pb(E);!((n=(t=ue).needsInterpolation)===null||n===void 0)&&n.call(t,s,w)&&(Z=tf([0,100],[s,w],{clamp:!1}),s=0,w=100);const fe=ue(Object.assign(Object.assign({},E),{from:s,to:w}));function he(){y++,a==="reverse"?(j=y%2===0,i=jb(i,b,c,j)):(i=df(i,b,c),a==="mirror"&&fe.flipTarget()),F=!1,g&&g()}function we(){A.stop(),d&&d()}function Ae(Ue){if(j||(Ue=-Ue),i+=Ue,!F){const Ke=fe.next(Math.max(0,i));O=Ke.value,Z&&(O=Z(O)),F=j?Ke.done:i<=0}v==null||v(O),F&&(y===0&&(b!=null||(b=i)),y{f==null||f(),A.stop()}}}function pf(e,t){return t?e*(1e3/t):0}function Hb({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:g}){let v;function E(b){return n!==void 0&&bs}function w(b){return n===void 0?s:s===void 0||Math.abs(n-b){var F;f==null||f(O),(F=b.onUpdate)===null||F===void 0||F.call(b,O)},onComplete:d,onStop:g}))}function y(b){A(Object.assign({type:"spring",stiffness:i,damping:l,restDelta:a},b))}if(E(e))y({from:e,velocity:t,to:w(e)});else{let b=r*t+e;typeof c!="undefined"&&(b=c(b));const O=w(b),F=O===n?-1:1;let j,Z;const ue=fe=>{j=Z,Z=fe,t=pf(fe-j,Nb().delta),(F===1&&fe>O||F===-1&&fev==null?void 0:v.stop()}}const mf=(e,t)=>1-3*t+3*e,gf=(e,t)=>3*t-6*e,vf=e=>3*e,Or=(e,t,n)=>((mf(t,n)*e+gf(t,n))*e+vf(t))*e,_f=(e,t,n)=>3*mf(t,n)*e*e+2*gf(t,n)*e+vf(t),Bb=1e-7,zb=10;function Ub(e,t,n,s,r){let o,i,l=0;do i=t+(n-t)/2,o=Or(i,s,r)-e,o>0?n=i:t=i;while(Math.abs(o)>Bb&&++l=Wb?qb(i,f,e,n):d===0?f:Ub(i,l,l+Xs,e,n)}return i=>i===0||i===1?i:Or(o(i),t,s)}const yf=(e,t)=>n=>Math.max(Math.min(n,t),e),bs=e=>e%1?Number(e.toFixed(5)):e,js=/(-)?([\d]*\.?[\d])+/g,si=/(#[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,Zb=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Us(e){return typeof e=="string"}const Ks={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ws=Object.assign(Object.assign({},Ks),{transform:yf(0,1)}),er=Object.assign(Object.assign({},Ks),{default:1}),Zi=e=>({test:t=>Us(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),sn=Zi("deg"),xs=Zi("%"),ee=Zi("px"),Da=Object.assign(Object.assign({},xs),{parse:e=>xs.parse(e)/100,transform:e=>xs.transform(e*100)}),Gi=(e,t)=>n=>Boolean(Us(n)&&Zb.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),bf=(e,t,n)=>s=>{if(!Us(s))return s;const[r,o,i,l]=s.match(js);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},tr={test:Gi("hsl","hue"),parse:bf("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))+")"},Gb=yf(0,255),co=Object.assign(Object.assign({},Ks),{transform:e=>Math.round(Gb(e))}),as={test:Gi("rgb","red"),parse:bf("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+co.transform(e)+", "+co.transform(t)+", "+co.transform(n)+", "+bs(ws.transform(s))+")"};function Qb(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 Va={test:Gi("#"),parse:Qb,transform:as.transform},lt={test:e=>as.test(e)||Va.test(e)||tr.test(e),parse:e=>as.test(e)?as.parse(e):tr.test(e)?tr.parse(e):Va.parse(e),transform:e=>Us(e)?e:e.hasOwnProperty("red")?as.transform(e):tr.transform(e)},wf="${c}",xf="${n}";function Jb(e){var t,n,s,r;return isNaN(e)&&Us(e)&&((n=(t=e.match(js))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(si))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function Ef(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(si);s&&(n=s.length,e=e.replace(si,wf),t.push(...s.map(lt.parse)));const r=e.match(js);return r&&(e=e.replace(js,xf),t.push(...r.map(Ks.parse))),{values:t,numColors:n,tokenised:e}}function $f(e){return Ef(e).values}function Sf(e){const{values:t,numColors:n,tokenised:s}=Ef(e),r=t.length;return o=>{let i=s;for(let l=0;ltypeof e=="number"?0:e;function ew(e){const t=$f(e);return Sf(e)(t.map(Xb))}const Qi={test:Jb,parse:$f,createTransformer:Sf,getAnimatableNone:ew},tw=new Set(["brightness","contrast","saturate","opacity"]);function nw(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(js)||[];if(!s)return e;const r=n.replace(s,"");let o=tw.has(t)?1:0;return s!==n&&(o*=100),t+"("+o+r+")"}const sw=/([a-z-]*)\(.*?\)/g,ri=Object.assign(Object.assign({},Qi),{getAnimatableNone:e=>{const t=e.match(sw);return t?t.map(nw).join(" "):e}}),uo={};class rw{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 Ha=e=>!isNaN(parseFloat(e));class ow{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new rw,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:r}=Iy();this.lastUpdated!==r&&(this.timeDelta=s,this.lastUpdated=r),Ca.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>Ca.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Ha(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Ha(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?pf(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 iw(e){return new ow(e)}const{isArray:lw}=Array;function aw(){const e=q({}),t=s=>{const r=o=>{!e.value[o]||(e.value[o].stop(),e.value[o].destroy(),mp(e.value,o))};s?lw(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=iw(r);return i.onChange(l=>{Ze(o,s,l)}),Ze(e.value,s,i),i};return Bi(t),{motionValues:e,get:n,stop:t}}const cw=e=>Array.isArray(e),rn=()=>({type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}),fo=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}),uw=e=>({type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}),ho=()=>({type:"keyframes",ease:"linear",duration:300}),fw=e=>({type:"keyframes",duration:800,values:e}),Ba={default:uw,x:rn,y:rn,z:rn,rotate:rn,rotateX:rn,rotateY:rn,rotateZ:rn,scaleX:fo,scaleY:fo,scale:fo,backgroundColor:ho,color:ho,opacity:ho},Of=(e,t)=>{let n;return cw(t)?n=fw:n=Ba[e]||Ba.default,me({to:t},n(t))},za=qe(me({},Ks),{transform:Math.round}),kf={color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,size:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,rotate:sn,rotateX:sn,rotateY:sn,rotateZ:sn,scale:er,scaleX:er,scaleY:er,scaleZ:er,skew:sn,skewX:sn,skewY:sn,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:ws,originX:Da,originY:Da,originZ:ee,zIndex:za,filter:ri,WebkitFilter:ri,fillOpacity:ws,strokeOpacity:ws,numOctaves:za},Ji=e=>kf[e],Af=(e,t)=>t&&typeof e=="number"&&t.transform?t.transform(e):e;function dw(e,t){let n=Ji(e);return n!==ri&&(n=Qi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const hw={linear:rf,easeIn:qi,easeInOut:of,easeOut:mb,circIn:lf,circInOut:gb,circOut:af,backIn:Yi,backInOut:_b,backOut:vb,anticipate:yb,bounceIn:Eb,bounceInOut:$b,bounceOut:Sr},Ua=e=>{if(Array.isArray(e)){const[t,n,s,r]=e;return Yb(t,n,s,r)}else if(typeof e=="string")return hw[e];return e},pw=e=>Array.isArray(e)&&typeof e[0]!="number",Ka=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Qi.test(t)&&!t.startsWith("url("));function mw(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function gw(r){var o=r,{ease:e,times:t,delay:n}=o,s=Kr(o,["ease","times","delay"]);const i=me({},s);return t&&(i.offset=t),e&&(i.ease=pw(e)?e.map(Ua):Ua(e)),n&&(i.elapsed=-n),i}function vw(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),mw(t),_w(e)||(e=me(me({},e),Of(n,t.to))),me(me({},t),gw(e))}function _w(i){var l=i,{delay:e,repeat:t,repeatType:n,repeatDelay:s,from:r}=l,o=Kr(l,["delay","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(o).length}function yw(e,t){return e[t]||e.default||e}function bw(e,t,n,s,r){const o=yw(s,e);let i=o.from===null||o.from===void 0?t.get():o.from;const l=Ka(e,n);i==="none"&&l&&typeof n=="string"&&(i=dw(e,n));const a=Ka(e,i);function c(f){const d={from:i,to:n,velocity:s.velocity?s.velocity:t.getVelocity(),onUpdate:g=>t.set(g)};return o.type==="inertia"||o.type==="decay"?Hb(me(me({},d),o)):hf(qe(me({},vw(o,d,e)),{onUpdate:g=>{d.onUpdate(g),o.onUpdate&&o.onUpdate(g)},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 ww(){const{motionValues:e,stop:t,get:n}=aw();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=bw(r,u,o,l,a);u.start(f)}}}function xw(e,t={},{motionValues:n,push:s,stop:r}=ww()){const o=x(t),i=q(!1),l=oe(n,d=>{i.value=Object.values(d).filter(g=>g.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(([g,v])=>{if(g!=="transition")return new Promise(E=>{s(g,v,e,d.transition||Of(g,d[g]),E)})}).filter(Boolean)));return{isAnimating:i,apply:c,set:d=>{const g=Wo(d)?d:a(d);Object.entries(g).forEach(([v,E])=>{v!=="transition"&&s(v,E,e,{immediate:!0})})},stopTransitions:()=>{l(),r()},leave:async d=>{let g;if(o&&(o.leave&&(g=o.leave),!o.leave&&o.initial&&(g=o.initial)),!g){d();return}await c(g),d()}}}const Xi=typeof window!="undefined",Ew=()=>Xi&&window.onpointerdown===null,$w=()=>Xi&&window.ontouchstart===null,Sw=()=>Xi&&window.onmousedown===null;function Ow({target:e,state:t,variants:n,apply:s}){const r=x(n),o=[],i=(...v)=>{const E=Py.apply(null,v);return o.push(E),E},l=q(!1),a=q(!1),c=q(!1),u=I(()=>{let v=[];return r&&(r.hovered&&(v=[...v,...Object.keys(r.hovered)]),r.tapped&&(v=[...v,...Object.keys(r.tapped)]),r.focused&&(v=[...v,...Object.keys(r.focused)])),v}),f=I(()=>{const v={};Object.assign(v,t.value),l.value&&r.hovered&&Object.assign(v,r.hovered),a.value&&r.tapped&&Object.assign(v,r.tapped),c.value&&r.focused&&Object.assign(v,r.focused);for(const E in v)u.value.includes(E)||delete v[E];return v});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&&(Sw()&&(i(e,"mousedown",()=>{a.value=!0}),i(e,"mouseup",()=>{a.value=!1})),Ew()&&(i(e,"pointerdown",()=>{a.value=!0}),i(e,"pointerup",()=>{a.value=!1})),$w()&&(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=oe(f,s);return{stop:()=>{o.forEach(v=>v()),d()}}}function kw({set:e,target:t,variants:n,variant:s}){const r=x(n);return{stop:oe(()=>t,()=>{!r||(r.initial&&e("initial"),r.enter&&(s.value="enter"))},{immediate:!0,flush:"pre"})}}function Aw({state:e,apply:t}){return{stop:oe(e,s=>{s&&t(s)},{immediate:!0})}}function Pw({target:e,variants:t,variant:n}){const s=x(t);let r=mn;if(s&&(s.visible||s.visibleOnce)){const{stop:o}=Cy(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 Cw(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){const n=q([]);if(t.lifeCycleHooks){const{stop:r}=kw(e);n.value.push(r)}if(t.syncVariants){const{stop:r}=Aw(e);n.value.push(r)}if(t.visibilityHooks){const{stop:r}=Pw(e);n.value.push(r)}if(t.eventListeners){const{stop:r}=Ow(e);n.value.push(r)}const s=()=>n.value.forEach(r=>r());return Bi(s),{stop:s}}function Pf(e={}){const t=Le(me({},e)),n=q({});return oe(t,()=>{const s={};for(const[r,o]of Object.entries(t)){const i=Ji(r),l=Af(o,i);s[r]=l}n.value=s},{immediate:!0,deep:!0}),{state:t,style:n}}const Mw=["","X","Y","Z"],Tw=["perspective","translate","scale","rotate","skew"],Cf=["transformPerspective","x","y","z"];Tw.forEach(e=>{Mw.forEach(t=>{const n=e+t;Cf.push(n)})});const Rw=new Set(Cf);function el(e){return Rw.has(e)}const Fw=new Set(["originX","originY","originZ"]);function Mf(e){return Fw.has(e)}function Lw(e){const t={},n={};return Object.entries(e).forEach(([s,r])=>{el(s)||Mf(s)?t[s]=r:n[s]=r}),{transform:t,style:n}}function Iw(e,t){let n,s;const{state:r,style:o}=Pf(),i=oe(()=>Un(e),c=>{if(!!c){s=c;for(const u of Object.keys(kf))c.style[u]===null||c.style[u]===""||el(u)||Mf(u)||Ze(r,u,c.style[u]);n&&Object.entries(n).forEach(([u,f])=>Ze(c.style,u,f)),t&&t(r)}},{immediate:!0}),l=oe(o,c=>{if(!s){n=c;return}for(const u in c)Ze(s.style,u,c[u])},{immediate:!0});return{style:r,stop:()=>{s=void 0,n=void 0,i(),l()}}}const Nw={x:"translateX",y:"translateY",z:"translateZ"};function Tf(e={},t=!0){const n=Le(me({},e)),s=q("");return oe(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(ee.transform).join(",")}) `,i=!0);for(const[l,a]of Object.entries(r)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const c=Ji(l),u=Af(a,c);o+=`${Nw[l]||l}(${u}) `}t&&!i&&(o+="translateZ(0px) "),s.value=o.trim()},{immediate:!0,deep:!0}),{state:n,transform:s}}function jw(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 qe(me({},s),{[o]:c})},{})}function Dw(e,t){Object.entries(jw(t)).forEach(([n,s])=>{s=parseFloat(s);const r=["x","y","z"];if(n==="translate3d"){if(s===0){r.forEach(o=>{Ze(e,o,0)});return}s.forEach((o,i)=>{Ze(e,r[i],o)});return}if(n==="translateX"){Ze(e,"x",s);return}if(n==="translateY"){Ze(e,"y",s);return}if(n==="translateZ"){Ze(e,"z",s);return}Ze(e,n,s)})}function Vw(e,t){let n,s;const{state:r,transform:o}=Tf(),i=oe(()=>Un(e),c=>{!c||(s=c,c.style.transform&&Dw(r,c.style.transform),n&&(c.style.transform=n),t&&t(r))},{immediate:!0}),l=oe(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 Hw(e,t){const n=Le({}),s=f=>{Object.entries(f).forEach(([d,g])=>{Ze(n,d,g)})},{style:r,stop:o}=Iw(e,s),{transform:i,stop:l}=Vw(e,s),a=oe(n,f=>{Object.entries(f).forEach(([d,g])=>{const v=el(d)?i:r;v[d]&&v[d]===g||Ze(v,d,g)})},{immediate:!0,deep:!0}),c=oe(()=>Un(e),f=>{!f||t&&s(t)},{immediate:!0});return{motionProperties:n,style:r,transform:i,stop:()=>{o(),l(),a(),c()}}}function Bw(e={}){const t=x(e),n=q();return{state:I(()=>{if(!!n.value)return t[n.value]}),variant:n}}function zw(e,t={},n){const{motionProperties:s,stop:r}=Hw(e),{variant:o,state:i}=Bw(t),l=xw(s,t),a=qe(me({target:e,variant:o,variants:t,state:i,motionProperties:s},l),{stop:(u=!1)=>{}}),{stop:c}=Cw(a,n);return a.stop=(u=!1)=>{const f=()=>{a.stopTransitions(),r(),c()};if(!u&&t.value&&t.value.leave){const d=oe(a.isAnimating,g=>{g||(d(),f())})}else f()},Bi(()=>a.stop()),a}const Uw=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"],Kw=(e,t)=>{const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&Wo(n.variants)&&(t.value=me(me({},t.value),n.variants)),Uw.forEach(s=>{if(s==="delay"){if(n&&n[s]&&ky(n[s])){const r=n[s];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition=qe(me({},t.value.enter.transition),{delay:r})),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition=qe(me({},t.value.visible.transition),{delay:r})),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition=qe(me({},t.value.visibleOnce.transition),{delay:r})))}return}s==="visible-once"&&(s="visibleOnce"),n&&n[s]&&Wo(n[s])&&(t.value[s]=n[s])}))},po=e=>{const t=(s,r,o)=>{const i=r.value&&typeof r.value=="string"?r.value:o.key;i&&uo[i]&&uo[i].stop();const l=q(e||{});typeof r.value=="object"&&(l.value=r.value),Kw(o,l);const a=zw(s,l);s.motionInstance=a,i&&Ze(uo,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}=Lw(o),{transform:a}=Tf(i),{style:c}=Pf(l);return a.value&&(c.value.transform=a.value),{style:c.value}}}},Ww={initial:{opacity:0},enter:{opacity:1}},qw={initial:{opacity:0},visible:{opacity:1}},Yw={initial:{opacity:0},visibleOnce:{opacity:1}},Zw={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},Gw={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Qw={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Jw={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xw={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ex={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},tx={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},nx={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},sx={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},rx={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ox={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},ix={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},lx={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},ax={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},cx={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},ux={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},fx={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},dx={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},hx={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},px={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},mx={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},gx={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},vx={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},_x={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},yx={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},bx={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},wx={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Wa={__proto__:null,fade:Ww,fadeVisible:qw,fadeVisibleOnce:Yw,pop:Zw,popVisible:Gw,popVisibleOnce:Qw,rollBottom:lx,rollLeft:Jw,rollRight:tx,rollTop:rx,rollVisibleBottom:ax,rollVisibleLeft:Xw,rollVisibleRight:nx,rollVisibleTop:ox,rollVisibleOnceBottom:cx,rollVisibleOnceLeft:ex,rollVisibleOnceRight:sx,rollVisibleOnceTop:ix,slideBottom:yx,slideLeft:ux,slideRight:hx,slideTop:gx,slideVisibleBottom:bx,slideVisibleLeft:fx,slideVisibleRight:px,slideVisibleTop:vx,slideVisibleOnceBottom:wx,slideVisibleOnceLeft:dx,slideVisibleOnceRight:mx,slideVisibleOnceTop:_x};function xx(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 Ex={install(e,t){if(e.directive("motion",po()),!t||t&&!t.excludePresets)for(const n in Wa){const s=Wa[n];e.directive(`motion-${xx(n)}`,po(s))}if(t&&t.directives)for(const n in t.directives){const s=t.directives[n];s.initial,e.directive(`motion-${n}`,po(s))}}};function $x(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t),e.app.use(Ex)}function Xe(e,t,n){var s,r;return(r=((s=e.instance)==null?void 0:s.$).provides[t])!=null?r:n}function Sx(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){var u,f,d,g;if(vs.value||((u=Xe(n,cr))==null?void 0:u.value))return;const s=Xe(n,Cn),r=Xe(n,ar),o=Xe(n,zo),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?Mv:so;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(!((g=o==null?void 0:o.value.get(n.value))!=null&&g.includes(t))){const v=(o==null?void 0:o.value.get(n.value))||[];o==null||o.value.set(n.value,[t].concat(v))}t==null||t.classList.toggle(Sn,!0),r&&oe(r,()=>{var A;const v=(A=r==null?void 0:r.value)!=null?A:0,E=n.value!=null?v>=n.value:v>a;t.classList.contains(ro)||t.classList.toggle(c,!E),i!==!1&&i!==void 0&&t.classList.toggle(c,E),t.classList.toggle(rs,!1);const w=o==null?void 0:o.value.get(v);w==null||w.forEach((y,b)=>{y.classList.toggle(Js,!1),b===w.length-1?y.classList.toggle(rs,!0):y.classList.toggle(Js,!0)}),t.classList.contains(rs)||t.classList.toggle(Js,E)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Sn,!1);const s=Xe(n,Cn);s!=null&&s.value&&ha(s.value,t)}}),e.directive("after",{name:"v-after",mounted(t,n){var l,a;if(vs.value||((l=Xe(n,cr))==null?void 0:l.value))return;const s=Xe(n,Cn),r=Xe(n,ar),o=Xe(n,zo),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(Sn,!0),r&&oe(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(ro)||t.classList.toggle(so,!c),t.classList.toggle(rs,!1),t.classList.contains(rs)||t.classList.toggle(Js,c)},{immediate:!0})},unmounted(t){t==null||t.classList.toggle(Sn,!0)}}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){var i,l,a;if(vs.value||((i=Xe(n,cr))==null?void 0:i.value))return;const s=Xe(n,Cn),r=Xe(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(Sn,!0),r&&oe(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(so,u),t.classList.toggle(ro,u)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(Sn,!1);const s=Xe(n,Cn);s!=null&&s.value&&ha(s.value,t)}})}}}function Ox(){return{install(e){const t={};for(const s of Eg(ka))typeof s=="string"&&(t[s]=ka[s]);const n=Le({nav:t,configs:Se,themeConfigs:I(()=>Se.themeConfig)});e.config.globalProperties.$slidev=an(n)}}}const Zn=Xh(Sy);Zn.use(Ge);Zn.use(dp());Zn.use(Sx());Zn.use(Ox());$x({app:Zn,router:Ge});Zn.mount("#app");export{Qe as A,un as B,Tt as C,Cv as D,Si as E,Oe as F,oe as G,bv as H,Oi as I,oo as V,h0 as _,h as a,Ax as b,K as c,Me as d,Jt as e,x as f,se as g,Fe as h,St as i,Px as j,X as k,ss as l,ve as m,nt as n,C as o,Ti as p,Vo as q,q as r,pv as s,mv as t,yt as u,gv as v,be as w,_v as x,Pi as y,Yc as z}; diff --git a/docs/index.html b/docs/index.html index 3495b02..475e8ef 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,8 +5,8 @@ - - + + diff --git a/docs/slidev-exported.pdf b/docs/slidev-exported.pdf index 2fa1b19..b3c98eb 100644 Binary files a/docs/slidev-exported.pdf and b/docs/slidev-exported.pdf differ diff --git a/slides.md b/slides.md index 8818045..9931b5e 100644 --- a/slides.md +++ b/slides.md @@ -55,14 +55,14 @@ layout: center class: text-center --- -# The project: correct exam +# The project: CorrectExam --- -## The need +## Requirements -Encourage students to consult corrected copies more often to learn from their mistakes +Encourage students to look at corrected copies more often to learn from their mistakes - *Fairer* correction - a statistical view of results @@ -218,8 +218,10 @@ cloud { - Spring 2023: Improvements based on user feedback (85 PR between January and May 2023) - Summer 2023: Batch correction, performance enhancement, identity federation integration, support for standalone mode to correct directly from your PC without data sharing) - Autumn 2023: Annotated pdf export, Performance improvement (Exam support for over 5000 copies) +- Christmas 2023: [New scoring mechanism (hybrid)](https://github.com/correctexam/corrigeExamFront/issues/427), [hackmd](https://correctexam.github.io/hackmd.io2pdf/) and [asciidoc templates](https://correctexam.github.io/asciidoclive2pdf/), ... +- April 2024: New zen mode for correction, random correction, latex template evolution, improvements based on feedback from users... - 377 + 131 PR since the start of the project -- > 250 corrected exams (120 users growing since September 2023) +- > 250 corrected exams (120 users growing since September 2023) 👏👏👏👏 ---