projet-fin-etude-rapport/assets/index-621d9fd0.js
2023-09-06 22:54:14 +02:00

1268 lines
414 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Dn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Re=Object.freeze({}),Ps=Object.freeze([]),ht=()=>{},vf=()=>!1,Km=/^on[^a-z]/,Nr=e=>Km.test(e),_i=e=>e.startsWith("onUpdate:"),De=Object.assign,Ba=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Wm=Object.prototype.hasOwnProperty,be=(e,t)=>Wm.call(e,t),se=Array.isArray,ns=e=>Rr(e)==="[object Map]",_f=e=>Rr(e)==="[object Set]",Gm=e=>Rr(e)==="[object RegExp]",ae=e=>typeof e=="function",He=e=>typeof e=="string",Ua=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",Ka=e=>Oe(e)&&ae(e.then)&&ae(e.catch),yf=Object.prototype.toString,Rr=e=>yf.call(e),Wa=e=>Rr(e).slice(8,-1),bf=e=>Rr(e)==="[object Object]",Ga=e=>He(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ii=Dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ym=Dn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ui=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Zm=/-(\w)/g,Jt=Ui(e=>e.replace(Zm,(t,n)=>n?n.toUpperCase():"")),Jm=/\B([A-Z])/g,un=Ui(e=>e.replace(Jm,"-$1").toLowerCase()),cs=Ui(e=>e.charAt(0).toUpperCase()+e.slice(1)),Kn=Ui(e=>e?`on${cs(e)}`:""),gr=(e,t)=>!Object.is(e,t),Wn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},yi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Xm=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Qm=e=>{const t=He(e)?Number(e):NaN;return isNaN(t)?e:t};let Ul;const bi=()=>Ul||(Ul=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nt(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=He(s)?sh(s):nt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(He(e))return e;if(Oe(e))return e}}const eh=/;(?![^(]*\))/g,th=/:([^]+)/,nh=/\/\*[^]*?\*\//g;function sh(e){const t={};return e.replace(nh,"").split(eh).forEach(n=>{if(n){const s=n.split(th);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function qe(e){let t="";if(He(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const s=qe(e[n]);s&&(t+=s+" ")}else if(Oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Le(e){if(!e)return null;let{class:t,style:n}=e;return t&&!He(t)&&(e.class=qe(t)),n&&(e.style=nt(n)),e}const rh="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",ih="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",wf=Dn(rh),oh=Dn(ih),ah="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",lh=Dn(ah);function xf(e){return!!e||e===""}const St=e=>He(e)?e:e==null?"":se(e)||Oe(e)&&(e.toString===yf||!ae(e.toString))?JSON.stringify(e,Ef,2):String(e),Ef=(e,t)=>t&&t.__v_isRef?Ef(e,t.value):ns(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:_f(t)?{[`Set(${t.size})`]:[...t.values()]}:Oe(t)&&!se(t)&&!bf(t)?String(t):t;function wi(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let bt;class Sf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bt,!t&&bt&&(this.index=(bt.scopes||(bt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=bt;try{return bt=this,t()}finally{bt=n}}else wi("cannot run an inactive effect scope.")}on(){bt=this}off(){bt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function ch(e){return new Sf(e)}function uh(e,t=bt){t&&t.active&&t.effects.push(e)}function Ya(){return bt}function $f(e){bt?bt.cleanups.push(e):wi("onScopeDispose() is called when there is no active effect scope to be associated with.")}const Za=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pf=e=>(e.w&In)>0,Cf=e=>(e.n&In)>0,fh=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=In},dh=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Pf(r)&&!Cf(r)?r.delete(e):t[n++]=r,r.w&=~In,r.n&=~In}t.length=n}},xi=new WeakMap;let Qs=0,In=1;const Bo=30;let ct;const ss=Symbol("iterate"),Uo=Symbol("Map key iterate");class Ja{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,uh(this,s)}run(){if(!this.active)return this.fn();let t=ct,n=Sn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ct,ct=this,Sn=!0,In=1<<++Qs,Qs<=Bo?fh(this):Kl(this),this.fn()}finally{Qs<=Bo&&dh(this),In=1<<--Qs,ct=this.parent,Sn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ct===this?this.deferStop=!0:this.active&&(Kl(this),this.onStop&&this.onStop(),this.active=!1)}}function Kl(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Sn=!0;const Of=[];function fs(){Of.push(Sn),Sn=!1}function ds(){const e=Of.pop();Sn=e===void 0?!0:e}function rt(e,t,n){if(Sn&&ct){let s=xi.get(e);s||xi.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Za()),kf(r,{effect:ct,target:e,type:t,key:n})}}function kf(e,t){let n=!1;Qs<=Bo?Cf(e)||(e.n|=In,n=!Pf(e)):n=!e.has(ct),n&&(e.add(ct),ct.deps.push(e),ct.onTrack&&ct.onTrack(De({effect:ct},t)))}function Xt(e,t,n,s,r,i){const a=xi.get(e);if(!a)return;let l=[];if(t==="clear")l=[...a.values()];else if(n==="length"&&se(e)){const u=Number(s);a.forEach((f,d)=>{(d==="length"||d>=u)&&l.push(f)})}else switch(n!==void 0&&l.push(a.get(n)),t){case"add":se(e)?Ga(n)&&l.push(a.get("length")):(l.push(a.get(ss)),ns(e)&&l.push(a.get(Uo)));break;case"delete":se(e)||(l.push(a.get(ss)),ns(e)&&l.push(a.get(Uo)));break;case"set":ns(e)&&l.push(a.get(ss));break}const c={target:e,type:t,key:n,newValue:s,oldValue:r,oldTarget:i};if(l.length===1)l[0]&&Ko(l[0],c);else{const u=[];for(const f of l)f&&u.push(...f);Ko(Za(u),c)}}function Ko(e,t){const n=se(e)?e:[...e];for(const s of n)s.computed&&Wl(s,t);for(const s of n)s.computed||Wl(s,t)}function Wl(e,t){(e!==ct||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(De({effect:e},t)),e.scheduler?e.scheduler():e.run())}function ph(e,t){var n;return(n=xi.get(e))==null?void 0:n.get(t)}const mh=Dn("__proto__,__v_isRef,__isVue"),Tf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ua)),hh=Ki(),gh=Ki(!1,!0),vh=Ki(!0),_h=Ki(!0,!0),Gl=yh();function yh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ue(this);for(let i=0,a=this.length;i<a;i++)rt(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(ue)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){fs();const s=ue(this)[t].apply(this,n);return ds(),s}}),e}function bh(e){const t=ue(this);return rt(t,"has",e),t.hasOwnProperty(e)}function Ki(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?Df:jf:t?Lf:Rf).get(s))return s;const a=se(s);if(!e){if(a&&be(Gl,r))return Reflect.get(Gl,r,i);if(r==="hasOwnProperty")return bh}const l=Reflect.get(s,r,i);return(Ua(r)?Tf.has(r):mh(r))||(e||rt(s,"get",r),t)?l:Se(l)?a&&Ga(r)?l:l.value:Oe(l)?e?Wt(l):Ve(l):l}}const wh=Af(),xh=Af(!0);function Af(e=!1){return function(n,s,r,i){let a=n[s];if(Nn(a)&&Se(a)&&!Se(r))return!1;if(!e&&(!Ei(r)&&!Nn(r)&&(a=ue(a),r=ue(r)),!se(n)&&Se(a)&&!Se(r)))return a.value=r,!0;const l=se(n)&&Ga(s)?Number(s)<n.length:be(n,s),c=Reflect.set(n,s,r,i);return n===ue(i)&&(l?gr(r,a)&&Xt(n,"set",s,r,a):Xt(n,"add",s,r)),c}}function Eh(e,t){const n=be(e,t),s=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&Xt(e,"delete",t,void 0,s),r}function Sh(e,t){const n=Reflect.has(e,t);return(!Ua(t)||!Tf.has(t))&&rt(e,"has",t),n}function $h(e){return rt(e,"iterate",se(e)?"length":ss),Reflect.ownKeys(e)}const Mf={get:hh,set:wh,deleteProperty:Eh,has:Sh,ownKeys:$h},If={get:vh,set(e,t){return wi(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return wi(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},Ph=De({},Mf,{get:gh,set:xh}),Ch=De({},If,{get:_h}),Xa=e=>e,Wi=e=>Reflect.getPrototypeOf(e);function zr(e,t,n=!1,s=!1){e=e.__v_raw;const r=ue(e),i=ue(t);n||(t!==i&&rt(r,"get",t),rt(r,"get",i));const{has:a}=Wi(r),l=s?Xa:n?Qa:vr;if(a.call(r,t))return l(e.get(t));if(a.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Br(e,t=!1){const n=this.__v_raw,s=ue(n),r=ue(e);return t||(e!==r&&rt(s,"has",e),rt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ur(e,t=!1){return e=e.__v_raw,!t&&rt(ue(e),"iterate",ss),Reflect.get(e,"size",e)}function Yl(e){e=ue(e);const t=ue(this);return Wi(t).has.call(t,e)||(t.add(e),Xt(t,"add",e,e)),this}function Zl(e,t){t=ue(t);const n=ue(this),{has:s,get:r}=Wi(n);let i=s.call(n,e);i?Nf(n,s,e):(e=ue(e),i=s.call(n,e));const a=r.call(n,e);return n.set(e,t),i?gr(t,a)&&Xt(n,"set",e,t,a):Xt(n,"add",e,t),this}function Jl(e){const t=ue(this),{has:n,get:s}=Wi(t);let r=n.call(t,e);r?Nf(t,n,e):(e=ue(e),r=n.call(t,e));const i=s?s.call(t,e):void 0,a=t.delete(e);return r&&Xt(t,"delete",e,void 0,i),a}function Xl(){const e=ue(this),t=e.size!==0,n=ns(e)?new Map(e):new Set(e),s=e.clear();return t&&Xt(e,"clear",void 0,void 0,n),s}function Kr(e,t){return function(s,r){const i=this,a=i.__v_raw,l=ue(a),c=t?Xa:e?Qa:vr;return!e&&rt(l,"iterate",ss),a.forEach((u,f)=>s.call(r,c(u),c(f),i))}}function Wr(e,t,n){return function(...s){const r=this.__v_raw,i=ue(r),a=ns(i),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,u=r[e](...s),f=n?Xa:t?Qa:vr;return!t&&rt(i,"iterate",c?Uo:ss),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:l?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${cs(e)} operation ${n}failed: target is readonly.`,ue(this))}return e==="delete"?!1:this}}function Oh(){const e={get(i){return zr(this,i)},get size(){return Ur(this)},has:Br,add:Yl,set:Zl,delete:Jl,clear:Xl,forEach:Kr(!1,!1)},t={get(i){return zr(this,i,!1,!0)},get size(){return Ur(this)},has:Br,add:Yl,set:Zl,delete:Jl,clear:Xl,forEach:Kr(!1,!0)},n={get(i){return zr(this,i,!0)},get size(){return Ur(this,!0)},has(i){return Br.call(this,i,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Kr(!0,!1)},s={get(i){return zr(this,i,!0,!0)},get size(){return Ur(this,!0)},has(i){return Br.call(this,i,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Kr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Wr(i,!1,!1),n[i]=Wr(i,!0,!1),t[i]=Wr(i,!1,!0),s[i]=Wr(i,!0,!0)}),[e,n,t,s]}const[kh,Th,Ah,Mh]=Oh();function Gi(e,t){const n=t?e?Mh:Ah:e?Th:kh;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(be(n,r)&&r in s?n:s,r,i)}const Ih={get:Gi(!1,!1)},Nh={get:Gi(!1,!0)},Rh={get:Gi(!0,!1)},Lh={get:Gi(!0,!0)};function Nf(e,t,n){const s=ue(n);if(s!==n&&t.call(e,s)){const r=Wa(e);console.warn(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Rf=new WeakMap,Lf=new WeakMap,jf=new WeakMap,Df=new WeakMap;function jh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Dh(e){return e.__v_skip||!Object.isExtensible(e)?0:jh(Wa(e))}function Ve(e){return Nn(e)?e:Yi(e,!1,Mf,Ih,Rf)}function Ff(e){return Yi(e,!1,Ph,Nh,Lf)}function Wt(e){return Yi(e,!0,If,Rh,jf)}function er(e){return Yi(e,!0,Ch,Lh,Df)}function Yi(e,t,n,s,r){if(!Oe(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=Dh(e);if(a===0)return e;const l=new Proxy(e,a===2?s:n);return r.set(e,l),l}function rs(e){return Nn(e)?rs(e.__v_raw):!!(e&&e.__v_isReactive)}function Nn(e){return!!(e&&e.__v_isReadonly)}function Ei(e){return!!(e&&e.__v_isShallow)}function Si(e){return rs(e)||Nn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function Zi(e){return yi(e,"__v_skip",!0),e}const vr=e=>Oe(e)?Ve(e):e,Qa=e=>Oe(e)?Wt(e):e;function el(e){Sn&&ct&&(e=ue(e),kf(e.dep||(e.dep=Za()),{target:e,type:"get",key:"value"}))}function tl(e,t){e=ue(e);const n=e.dep;n&&Ko(n,{target:e,type:"set",key:"value",newValue:t})}function Se(e){return!!(e&&e.__v_isRef===!0)}function z(e){return Hf(e,!1)}function Qt(e){return Hf(e,!0)}function Hf(e,t){return Se(e)?e:new Fh(e,t)}class Fh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:vr(t)}get value(){return el(this),this._value}set value(t){const n=this.__v_isShallow||Ei(t)||Nn(t);t=n?t:ue(t),gr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vr(t),tl(this,t))}}function C(e){return Se(e)?e.value:e}const Hh={get:(e,t,n)=>C(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Se(r)&&!Se(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function qf(e){return rs(e)?e:new Proxy(e,Hh)}class qh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>el(this),()=>tl(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function nl(e){return new qh(e)}function Vh(e){Si(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=se(e)?new Array(e.length):{};for(const n in e)t[n]=Vf(e,n);return t}class zh{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}get dep(){return ph(ue(this._object),this._key)}}class Bh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Uh(e,t,n){return Se(e)?e:ae(e)?new Bh(e):Oe(e)&&arguments.length>1?Vf(e,t,n):z(e)}function Vf(e,t,n){const s=e[t];return Se(s)?s:new zh(e,t,n)}class Kh{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Ja(t,()=>{this._dirty||(this._dirty=!0,tl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=ue(this);return el(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Wh(e,t,n=!1){let s,r;const i=ae(e);i?(s=e,r=()=>{console.warn("Write operation failed: computed value is readonly")}):(s=e.get,r=e.set);const a=new Kh(s,r,i||!r,n);return t&&!n&&(a.effect.onTrack=t.onTrack,a.effect.onTrigger=t.onTrigger),a}const is=[];function oi(e){is.push(e)}function ai(){is.pop()}function R(e,...t){fs();const n=is.length?is[is.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=Gh();if(s)cn(s,n,11,[e+t.join(""),n&&n.proxy,r.map(({vnode:i})=>`at <${io(n,i.type)}>`).join(`
`),r]);else{const i=[`[Vue warn]: ${e}`,...t];r.length&&i.push(`
`,...Yh(r)),console.warn(...i)}ds()}function Gh(){let e=is[is.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function Yh(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
`],...Zh(n))}),t}function Zh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${io(e.component,e.type,s)}`,i=">"+n;return e.props?[r,...Jh(e.props),i]:[r+i]}function Jh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...zf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function zf(e,t,n){return He(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Se(t)?(t=zf(e,ue(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ue(t),n?t:[`${e}=`,t])}function Xh(e,t){e!==void 0&&(typeof e!="number"?R(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&R(`${t} is NaN - the duration expression might be incorrect.`))}const sl={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function cn(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Ji(i,t,n)}return r}function Mt(e,t,n,s){if(ae(e)){const i=cn(e,t,n,s);return i&&Ka(i)&&i.catch(a=>{Ji(a,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Mt(e[i],t,n,s));return r}function Ji(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,l=sl[n];for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,l)===!1)return}i=i.parent}const c=t.appContext.config.errorHandler;if(c){cn(c,null,10,[e,a,l]);return}}Qh(e,n,r,s)}function Qh(e,t,n,s=!0){{const r=sl[t];if(n&&oi(n),R(`Unhandled error${r?` during execution of ${r}`:""}`),n&&ai(),s)throw e;console.error(e)}}let _r=!1,Wo=!1;const Qe=[];let Ut=0;const Cs=[];let Bt=null,yn=0;const Bf=Promise.resolve();let rl=null;const eg=100;function et(e){const t=rl||Bf;return e?t.then(this?e.bind(this):e):t}function tg(e){let t=Ut+1,n=Qe.length;for(;t<n;){const s=t+n>>>1;yr(Qe[s])<e?t=s+1:n=s}return t}function Xi(e){(!Qe.length||!Qe.includes(e,_r&&e.allowRecurse?Ut+1:Ut))&&(e.id==null?Qe.push(e):Qe.splice(tg(e.id),0,e),Uf())}function Uf(){!_r&&!Wo&&(Wo=!0,rl=Bf.then(Gf))}function ng(e){const t=Qe.indexOf(e);t>Ut&&Qe.splice(t,1)}function Kf(e){se(e)?Cs.push(...e):(!Bt||!Bt.includes(e,e.allowRecurse?yn+1:yn))&&Cs.push(e),Uf()}function Ql(e,t=_r?Ut+1:0){for(e=e||new Map;t<Qe.length;t++){const n=Qe[t];if(n&&n.pre){if(il(e,n))continue;Qe.splice(t,1),t--,n()}}}function Wf(e){if(Cs.length){const t=[...new Set(Cs)];if(Cs.length=0,Bt){Bt.push(...t);return}for(Bt=t,e=e||new Map,Bt.sort((n,s)=>yr(n)-yr(s)),yn=0;yn<Bt.length;yn++)il(e,Bt[yn])||Bt[yn]();Bt=null,yn=0}}const yr=e=>e.id==null?1/0:e.id,sg=(e,t)=>{const n=yr(e)-yr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Gf(e){Wo=!1,_r=!0,e=e||new Map,Qe.sort(sg);const t=n=>il(e,n);try{for(Ut=0;Ut<Qe.length;Ut++){const n=Qe[Ut];if(n&&n.active!==!1){if(t(n))continue;cn(n,null,14)}}}finally{Ut=0,Qe.length=0,Wf(e),_r=!1,rl=null,(Qe.length||Cs.length)&&Gf(e)}}function il(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>eg){const s=t.ownerInstance,r=s&&Er(s.type);return R(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let $n=!1;const Es=new Set;bi().__VUE_HMR_RUNTIME__={createRecord:po(Yf),rerender:po(og),reload:po(ag)};const us=new Map;function rg(e){const t=e.type.__hmrId;let n=us.get(t);n||(Yf(t,e.type),n=us.get(t)),n.instances.add(e)}function ig(e){us.get(e.type.__hmrId).instances.delete(e)}function Yf(e,t){return us.has(e)?!1:(us.set(e,{initialDef:or(t),instances:new Set}),!0)}function or(e){return kd(e)?e.__vccOpts:e}function og(e,t){const n=us.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,or(s.type).render=t),s.renderCache=[],$n=!0,s.update(),$n=!1}))}function ag(e,t){const n=us.get(e);if(!n)return;t=or(t),ec(n.initialDef,t);const s=[...n.instances];for(const r of s){const i=or(r.type);Es.has(i)||(i!==n.initialDef&&ec(i,t),Es.add(i)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(Es.add(i),r.ceReload(t.styles),Es.delete(i)):r.parent?Xi(r.parent.update):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Kf(()=>{for(const r of s)Es.delete(or(r.type))})}function ec(e,t){De(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function po(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Kt,tr=[],Go=!1;function Lr(e,...t){Kt?Kt.emit(e,...t):Go||tr.push({event:e,args:t})}function Zf(e,t){var n,s;Kt=e,Kt?(Kt.enabled=!0,tr.forEach(({event:r,args:i})=>Kt.emit(r,...i)),tr=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Zf(i,t)}),setTimeout(()=>{Kt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Go=!0,tr=[])},3e3)):(Go=!0,tr=[])}function lg(e,t){Lr("app:init",e,t,{Fragment:$e,Text:Dr,Comment:ut,Static:li})}function cg(e){Lr("app:unmount",e)}const Yo=ol("component:added"),Jf=ol("component:updated"),ug=ol("component:removed"),fg=e=>{Kt&&typeof Kt.cleanupBuffer=="function"&&!Kt.cleanupBuffer(e)&&ug(e)};function ol(e){return t=>{Lr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const dg=Xf("perf:start"),pg=Xf("perf:end");function Xf(e){return(t,n,s)=>{Lr(e,t.appContext.app,t.uid,t,n,s)}}function mg(e,t,n){Lr("component:emit",e.appContext.app,e,t,n)}function hg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Re;{const{emitsOptions:f,propsOptions:[d]}=e;if(f)if(!(t in f))(!d||!(Kn(t)in d))&&R(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Kn(t)}" prop.`);else{const p=f[t];ae(p)&&(p(...n)||R(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in s){const f=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:p}=s[f]||Re;p&&(r=n.map(m=>He(m)?m.trim():m)),d&&(r=n.map(Xm))}mg(e,t,r);{const f=t.toLowerCase();f!==t&&s[Kn(f)]&&R(`Event "${f}" is emitted in component ${io(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${un(t)}" instead of "${t}".`)}let l,c=s[l=Kn(t)]||s[l=Kn(Jt(t))];!c&&i&&(c=s[l=Kn(un(t))]),c&&Mt(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Mt(u,e,6,r)}}function Qf(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let a={},l=!1;if(!ae(e)){const c=u=>{const f=Qf(u,t,!0);f&&(l=!0,De(a,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Oe(e)&&s.set(e,null),null):(se(i)?i.forEach(c=>a[c]=null):De(a,i),Oe(e)&&s.set(e,a),a)}function Qi(e,t){return!e||!Nr(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,un(t))||be(e,t))}let Ye=null,eo=null;function $i(e){const t=Ye;return Ye=e,eo=e&&e.type.__scopeId||null,t}function ed(e){eo=e}function td(){eo=null}function _e(e,t=Ye,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&mc(-1);const i=$i(t);let a;try{a=e(...r)}finally{$i(i),s._d&&mc(1)}return Jf(t),a};return s._n=!0,s._c=!0,s._d=!0,s}let Zo=!1;function Pi(){Zo=!0}function mo(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[a],slots:l,attrs:c,emit:u,render:f,renderCache:d,data:p,setupState:m,ctx:g,inheritAttrs:b}=e;let w,y;const x=$i(e);Zo=!1;try{if(n.shapeFlag&4){const $=r||s;w=Ft(f.call($,$,d,i,m,p,g)),y=c}else{const $=t;c===i&&Pi(),w=Ft($.length>1?$(i,{get attrs(){return Pi(),c},slots:l,emit:u}):$(i,null)),y=t.props?c:vg(c)}}catch($){ar.length=0,Ji($,e,1),w=ne(ut)}let _=w,P;if(w.patchFlag>0&&w.patchFlag&2048&&([_,P]=gg(w)),y&&b!==!1){const $=Object.keys(y),{shapeFlag:k}=_;if($.length){if(k&7)a&&$.some(_i)&&(y=_g(y,a)),_=en(_,y);else if(!Zo&&_.type!==ut){const j=Object.keys(c),A=[],F=[];for(let Y=0,oe=j.length;Y<oe;Y++){const V=j[Y];Nr(V)?_i(V)||A.push(V[2].toLowerCase()+V.slice(3)):F.push(V)}F.length&&R(`Extraneous non-props attributes (${F.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),A.length&&R(`Extraneous non-emits event listeners (${A.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(tc(_)||R("Runtime directive used on component with non-element root node. The directives will not function as intended."),_=en(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(tc(_)||R("Component inside <Transition> renders non-element root node that cannot be animated."),_.transition=n.transition),P?P(_):w=_,$i(x),w}const gg=e=>{const t=e.children,n=e.dynamicChildren,s=nd(t);if(!s)return[e,void 0];const r=t.indexOf(s),i=n?n.indexOf(s):-1,a=l=>{t[r]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[Ft(s),a]};function nd(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Ln(s)){if(s.type!==ut||s.children==="v-if"){if(t)return;t=s}}else return}return t}const vg=e=>{let t;for(const n in e)(n==="class"||n==="style"||Nr(n))&&((t||(t={}))[n]=e[n]);return t},_g=(e,t)=>{const n={};for(const s in e)(!_i(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},tc=e=>e.shapeFlag&7||e.type===ut;function yg(e,t,n){const{props:s,children:r,component:i}=e,{props:a,children:l,patchFlag:c}=t,u=i.emitsOptions;if((r||l)&&$n||t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?nc(s,a,u):!!a;if(c&8){const f=t.dynamicProps;for(let d=0;d<f.length;d++){const p=f[d];if(a[p]!==s[p]&&!Qi(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===a?!1:s?a?nc(s,a,u):!0:!!a;return!1}function nc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Qi(n,i))return!0}return!1}function bg({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const sd=e=>e.__isSuspense;function wg(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Kf(e)}function Rs(e,t){return al(e,null,t)}const Gr={};function pe(e,t,n){return ae(t)||R("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),al(e,t,n)}function al(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:a}=Re){var l;t||(n!==void 0&&R('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&R('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=$=>{R("Invalid watch source: ",$,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=Ya()===((l=Ge)==null?void 0:l.scope)?Ge:null;let f,d=!1,p=!1;if(Se(e)?(f=()=>e.value,d=Ei(e)):rs(e)?(f=()=>e,s=!0):se(e)?(p=!0,d=e.some($=>rs($)||Ei($)),f=()=>e.map($=>{if(Se($))return $.value;if(rs($))return Qn($);if(ae($))return cn($,u,2);c($)})):ae(e)?t?f=()=>cn(e,u,2):f=()=>{if(!(u&&u.isUnmounted))return m&&m(),Mt(e,u,3,[g])}:(f=ht,c(e)),t&&s){const $=f;f=()=>Qn($())}let m,g=$=>{m=_.onStop=()=>{cn($,u,4)}},b;if(xr)if(g=ht,t?n&&Mt(t,u,3,[f(),p?[]:void 0,g]):f(),r==="sync"){const $=kv();b=$.__watcherHandles||($.__watcherHandles=[])}else return ht;let w=p?new Array(e.length).fill(Gr):Gr;const y=()=>{if(_.active)if(t){const $=_.run();(s||d||(p?$.some((k,j)=>gr(k,w[j])):gr($,w)))&&(m&&m(),Mt(t,u,3,[$,w===Gr?void 0:p&&w[0]===Gr?[]:w,g]),w=$)}else _.run()};y.allowRecurse=!!t;let x;r==="sync"?x=y:r==="post"?x=()=>Je(y,u&&u.suspense):(y.pre=!0,u&&(y.id=u.uid),x=()=>Xi(y));const _=new Ja(f,x);_.onTrack=i,_.onTrigger=a,t?n?y():w=_.run():r==="post"?Je(_.run.bind(_),u&&u.suspense):_.run();const P=()=>{_.stop(),u&&u.scope&&Ba(u.scope.effects,_)};return b&&b.push(P),P}function xg(e,t,n){const s=this.proxy,r=He(e)?e.includes(".")?rd(s,e):()=>s[e]:e.bind(s,s);let i;ae(t)?i=t:(i=t.handler,n=t);const a=Ge;As(this);const l=al(r,i.bind(s),n);return a?As(a):as(),l}function rd(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Qn(e,t){if(!Oe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Se(e))Qn(e.value,t);else if(se(e))for(let n=0;n<e.length;n++)Qn(e[n],t);else if(_f(e)||ns(e))e.forEach(n=>{Qn(n,t)});else if(bf(e))for(const n in e)Qn(e[n],t);return e}function id(e){Ym(e)&&R("Do not use built-in directive ids as custom directive id: "+e)}function od(e,t){const n=Ye;if(n===null)return R("withDirectives can only be used inside render functions."),e;const s=ro(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[a,l,c,u=Re]=t[i];a&&(ae(a)&&(a={mounted:a,updated:a}),a.deep&&Qn(l),r.push({dir:a,instance:s,value:l,oldValue:void 0,arg:c,modifiers:u}))}return e}function qn(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];i&&(l.oldValue=i[a].value);let c=l.dir[s];c&&(fs(),Mt(c,n,8,[e.el,l,e,t]),ds())}}function Eg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ps(()=>{e.isMounted=!0}),jr(()=>{e.isUnmounting=!0}),e}const Ot=[Function,Array],Sg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ot,onEnter:Ot,onAfterEnter:Ot,onEnterCancelled:Ot,onBeforeLeave:Ot,onLeave:Ot,onAfterLeave:Ot,onLeaveCancelled:Ot,onBeforeAppear:Ot,onAppear:Ot,onAfterAppear:Ot,onAppearCancelled:Ot};function $g(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Jo(e,t,n,s){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:b,onAppear:w,onAfterAppear:y,onAppearCancelled:x}=t,_=String(e.key),P=$g(n,e),$=(A,F)=>{A&&Mt(A,s,9,F)},k=(A,F)=>{const Y=F[1];$(A,F),se(A)?A.every(oe=>oe.length<=1)&&Y():A.length<=1&&Y()},j={mode:i,persisted:a,beforeEnter(A){let F=l;if(!n.isMounted)if(r)F=b||l;else return;A._leaveCb&&A._leaveCb(!0);const Y=P[_];Y&&Gn(e,Y)&&Y.el._leaveCb&&Y.el._leaveCb(),$(F,[A])},enter(A){let F=c,Y=u,oe=f;if(!n.isMounted)if(r)F=w||c,Y=y||u,oe=x||f;else return;let V=!1;const fe=A._enterCb=me=>{V||(V=!0,me?$(oe,[A]):$(Y,[A]),j.delayedLeave&&j.delayedLeave(),A._enterCb=void 0)};F?k(F,[A,fe]):fe()},leave(A,F){const Y=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return F();$(d,[A]);let oe=!1;const V=A._leaveCb=fe=>{oe||(oe=!0,F(),fe?$(g,[A]):$(m,[A]),A._leaveCb=void 0,P[Y]===e&&delete P[Y])};P[Y]=e,p?k(p,[A,V]):V()},clone(A){return Jo(A,t,n,s)}};return j}function Ci(e,t){e.shapeFlag&6&&e.component?Ci(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 ad(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===$e?(a.patchFlag&128&&r++,s=s.concat(ad(a.children,t,l))):(t||a.type!==ut)&&s.push(l!=null?en(a,{key:l}):a)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function Pe(e,t){return ae(e)?(()=>De({name:e.name},t,{setup:e}))():e}const Os=e=>!!e.type.__asyncLoader,ll=e=>e.type.__isKeepAlive,Pg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Nt(),s=n.ctx;if(!s.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const r=new Map,i=new Set;let a=null;n.__v_cache=r;const l=n.suspense,{renderer:{p:c,m:u,um:f,o:{createElement:d}}}=s,p=d("div");s.activate=(x,_,P,$,k)=>{const j=x.component;u(x,_,P,0,l),c(j.vnode,x,_,P,j,l,$,x.slotScopeIds,k),Je(()=>{j.isDeactivated=!1,j.a&&Wn(j.a);const A=x.props&&x.props.onVnodeMounted;A&&kt(A,j.parent,x)},l),Yo(j)},s.deactivate=x=>{const _=x.component;u(x,p,null,1,l),Je(()=>{_.da&&Wn(_.da);const P=x.props&&x.props.onVnodeUnmounted;P&&kt(P,_.parent,x),_.isDeactivated=!0},l),Yo(_)};function m(x){ho(x),f(x,n,l,!0)}function g(x){r.forEach((_,P)=>{const $=Er(_.type);$&&(!x||!x($))&&b(P)})}function b(x){const _=r.get(x);!a||!Gn(_,a)?m(_):a&&ho(a),r.delete(x),i.delete(x)}pe(()=>[e.include,e.exclude],([x,_])=>{x&&g(P=>nr(x,P)),_&&g(P=>!nr(_,P))},{flush:"post",deep:!0});let w=null;const y=()=>{w!=null&&r.set(w,go(n.subTree))};return ps(y),no(y),jr(()=>{r.forEach(x=>{const{subTree:_,suspense:P}=n,$=go(_);if(x.type===$.type&&x.key===$.key){ho($);const k=$.component.da;k&&Je(k,P);return}m(x)})}),()=>{if(w=null,!t.default)return null;const x=t.default(),_=x[0];if(x.length>1)return R("KeepAlive should contain exactly one component child."),a=null,x;if(!Ln(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return a=null,_;let P=go(_);const $=P.type,k=Er(Os(P)?P.type.__asyncResolved||{}:$),{include:j,exclude:A,max:F}=e;if(j&&(!k||!nr(j,k))||A&&k&&nr(A,k))return a=P,_;const Y=P.key==null?$:P.key,oe=r.get(Y);return P.el&&(P=en(P),_.shapeFlag&128&&(_.ssContent=P)),w=Y,oe?(P.el=oe.el,P.component=oe.component,P.transition&&Ci(P,P.transition),P.shapeFlag|=512,i.delete(Y),i.add(Y)):(i.add(Y),F&&i.size>parseInt(F,10)&&b(i.values().next().value)),P.shapeFlag|=256,a=P,sd(_.type)?_:P}}},ld=Pg;function nr(e,t){return se(e)?e.some(n=>nr(n,t)):He(e)?e.split(",").includes(t):Gm(e)?e.test(t):!1}function cd(e,t){fd(e,"a",t)}function ud(e,t){fd(e,"da",t)}function fd(e,t,n=Ge){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(to(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ll(r.parent.vnode)&&Cg(s,t,n,r),r=r.parent}}function Cg(e,t,n,s){const r=to(t,e,s,!0);cl(()=>{Ba(s[t],r)},n)}function ho(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function go(e){return e.shapeFlag&128?e.ssContent:e}function to(e,t,n=Ge,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;fs(),As(n);const l=Mt(t,n,e,a);return as(),ds(),l});return s?r.unshift(i):r.push(i),i}else{const r=Kn(sl[e].replace(/ hook$/,""));R(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const mn=e=>(t,n=Ge)=>(!xr||e==="sp")&&to(e,(...s)=>t(...s),n),Og=mn("bm"),ps=mn("m"),kg=mn("bu"),no=mn("u"),jr=mn("bum"),cl=mn("um"),Tg=mn("sp"),Ag=mn("rtg"),Mg=mn("rtc");function Ig(e,t=Ge){to("ec",e,t)}const Xo="components";function Oi(e,t){return Rg(Xo,e,!0,t)||e}const Ng=Symbol.for("v-ndc");function Rg(e,t,n=!0,s=!1){const r=Ye||Ge;if(r){const i=r.type;if(e===Xo){const l=Er(i,!1);if(l&&(l===t||l===Jt(t)||l===cs(Jt(t))))return i}const a=sc(r[e]||i[e],t)||sc(r.appContext[e],t);if(!a&&s)return i;if(n&&!a){const l=e===Xo?`
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";R(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return a}else R(`resolve${cs(e.slice(0,-1))} can only be used in render() or setup().`)}function sc(e,t){return e&&(e[t]||e[Jt(t)]||e[cs(Jt(t))])}function Ls(e,t,n,s){let r;const i=n&&n[s];if(se(e)||He(e)){r=new Array(e.length);for(let a=0,l=e.length;a<l;a++)r[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){Number.isInteger(e)||R(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(Oe(e))if(e[Symbol.iterator])r=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);r=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];r[l]=t(e[u],u,l,i&&i[l])}}else r=[];return n&&(n[s]=r),r}function Rn(e,t,n={},s,r){if(Ye.isCE||Ye.parent&&Os(Ye.parent)&&Ye.parent.isCE)return t!=="default"&&(n.name=t),ne("slot",n,s&&s());let i=e[t];i&&i.length>1&&(R("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),E();const a=i&&dd(i(n)),l=X($e,{key:n.key||a&&a.key||`_${t}`},a||(s?s():[]),a&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function dd(e){return e.some(t=>Ln(t)?!(t.type===ut||t.type===$e&&!dd(t.children)):!0)?e:null}const Qo=e=>e?Pd(e)?ro(e)||e.proxy:Qo(e.parent):null,os=De(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>er(e.props),$attrs:e=>er(e.attrs),$slots:e=>er(e.slots),$refs:e=>er(e.refs),$parent:e=>Qo(e.parent),$root:e=>Qo(e.root),$emit:e=>e.emit,$options:e=>fl(e),$forceUpdate:e=>e.f||(e.f=()=>Xi(e.update)),$nextTick:e=>e.n||(e.n=et.bind(e.proxy)),$watch:e=>xg.bind(e)}),ul=e=>e==="_"||e==="$",vo=(e,t)=>e!==Re&&!e.__isScriptSetup&&be(e,t),pd={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:a,type:l,appContext:c}=e;if(t==="__isVue")return!0;let u;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(vo(s,t))return a[t]=1,s[t];if(r!==Re&&be(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&be(u,t))return a[t]=3,i[t];if(n!==Re&&be(n,t))return a[t]=4,n[t];ea&&(a[t]=0)}}const f=os[t];let d,p;if(f)return t==="$attrs"?(rt(e,"get",t),Pi()):t==="$slots"&&rt(e,"get",t),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==Re&&be(n,t))return a[t]=4,n[t];if(p=c.config.globalProperties,be(p,t))return p[t];Ye&&(!He(t)||t.indexOf("__v")!==0)&&(r!==Re&&ul(t[0])&&be(r,t)?R(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===Ye&&R(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return vo(r,t)?(r[t]=n,!0):r.__isScriptSetup&&be(r,t)?(R(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==Re&&be(s,t)?(s[t]=n,!0):be(e.props,t)?(R(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(R(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},a){let l;return!!n[a]||e!==Re&&be(e,a)||vo(t,a)||(l=i[0])&&be(l,a)||be(s,a)||be(os,a)||be(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};pd.ownKeys=e=>(R("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));function Lg(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(os).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>os[n](e),set:ht})}),t}function jg(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ht})})}function Dg(e){const{ctx:t,setupState:n}=e;Object.keys(ue(n)).forEach(s=>{if(!n.__isScriptSetup){if(ul(s[0])){R(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ht})}})}function Fg(){return Hg().slots}function Hg(){const e=Nt();return e||R("useContext() called without active instance."),e.setupContext||(e.setupContext=Od(e))}function rc(e){return se(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function qg(){const e=Object.create(null);return(t,n)=>{e[n]?R(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let ea=!0;function Vg(e){const t=fl(e),n=e.proxy,s=e.ctx;ea=!1,t.beforeCreate&&ic(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:l,provide:c,inject:u,created:f,beforeMount:d,mounted:p,beforeUpdate:m,updated:g,activated:b,deactivated:w,beforeDestroy:y,beforeUnmount:x,destroyed:_,unmounted:P,render:$,renderTracked:k,renderTriggered:j,errorCaptured:A,serverPrefetch:F,expose:Y,inheritAttrs:oe,components:V,directives:fe,filters:me}=t,ge=qg();{const[W]=e.propsOptions;if(W)for(const re in W)ge("Props",re)}if(u&&zg(u,s,ge),a)for(const W in a){const re=a[W];ae(re)?(Object.defineProperty(s,W,{value:re.bind(n),configurable:!0,enumerable:!0,writable:!0}),ge("Methods",W)):R(`Method "${W}" has type "${typeof re}" in the component definition. Did you reference the function correctly?`)}if(r){ae(r)||R("The data option must be a function. Plain object usage is no longer supported.");const W=r.call(n,n);if(Ka(W)&&R("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Oe(W))R("data() should return an object.");else{e.data=Ve(W);for(const re in W)ge("Data",re),ul(re[0])||Object.defineProperty(s,re,{configurable:!0,enumerable:!0,get:()=>W[re],set:ht})}}if(ea=!0,i)for(const W in i){const re=i[W],ye=ae(re)?re.bind(n,n):ae(re.get)?re.get.bind(n,n):ht;ye===ht&&R(`Computed property "${W}" has no getter.`);const Te=!ae(re)&&ae(re.set)?re.set.bind(n):()=>{R(`Write operation failed: computed property "${W}" is readonly.`)},Pt=T({get:ye,set:Te});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>Pt.value,set:Xe=>Pt.value=Xe}),ge("Computed",W)}if(l)for(const W in l)md(l[W],s,n,W);if(c){const W=ae(c)?c.call(n):c;Reflect.ownKeys(W).forEach(re=>{wt(re,W[re])})}f&&ic(f,e,"c");function Ie(W,re){se(re)?re.forEach(ye=>W(ye.bind(n))):re&&W(re.bind(n))}if(Ie(Og,d),Ie(ps,p),Ie(kg,m),Ie(no,g),Ie(cd,b),Ie(ud,w),Ie(Ig,A),Ie(Mg,k),Ie(Ag,j),Ie(jr,x),Ie(cl,P),Ie(Tg,F),se(Y))if(Y.length){const W=e.exposed||(e.exposed={});Y.forEach(re=>{Object.defineProperty(W,re,{get:()=>n[re],set:ye=>n[re]=ye})})}else e.exposed||(e.exposed={});$&&e.render===ht&&(e.render=$),oe!=null&&(e.inheritAttrs=oe),V&&(e.components=V),fe&&(e.directives=fe)}function zg(e,t,n=ht){se(e)&&(e=ta(e));for(const s in e){const r=e[s];let i;Oe(r)?"default"in r?i=Z(r.from||s,r.default,!0):i=Z(r.from||s):i=Z(r),Se(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[s]=i,n("Inject",s)}}function ic(e,t,n){Mt(se(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function md(e,t,n,s){const r=s.includes(".")?rd(n,s):()=>n[s];if(He(e)){const i=t[e];ae(i)?pe(r,i):R(`Invalid watch handler specified by key "${e}"`,i)}else if(ae(e))pe(r,e.bind(n));else if(Oe(e))if(se(e))e.forEach(i=>md(i,t,n,s));else{const i=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(i)?pe(r,i,e):R(`Invalid watch handler specified by key "${e.handler}"`,i)}else R(`Invalid watch option: "${s}"`,e)}function fl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>ki(c,u,a,!0)),ki(c,t,a)),Oe(t)&&i.set(t,c),c}function ki(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&ki(e,i,n,!0),r&&r.forEach(a=>ki(e,a,n,!0));for(const a in t)if(s&&a==="expose")R('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Bg[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Bg={data:oc,props:ac,emits:ac,methods:sr,computed:sr,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:sr,directives:sr,watch:Kg,provide:oc,inject:Ug};function oc(e,t){return t?e?function(){return De(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Ug(e,t){return sr(ta(e),ta(t))}function ta(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ot(e,t){return e?[...new Set([].concat(e,t))]:t}function sr(e,t){return e?De(Object.create(null),e,t):t}function ac(e,t){return e?se(e)&&se(t)?[...new Set([...e,...t])]:De(Object.create(null),rc(e),rc(t??{})):t}function Kg(e,t){if(!e)return t;if(!t)return e;const n=De(Object.create(null),e);for(const s in t)n[s]=ot(e[s],t[s]);return n}function hd(){return{app:null,config:{isNativeTag:vf,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Wg=0;function Gg(e,t){return function(s,r=null){ae(s)||(s=De({},s)),r!=null&&!Oe(r)&&(R("root props passed to app.mount() must be an object."),r=null);const i=hd();Object.defineProperty(i.config,"unwrapInjectedRef",{get(){return!0},set(){R("app.config.unwrapInjectedRef has been deprecated. 3.3 now alawys unwraps injected refs in Options API.")}});const a=new Set;let l=!1;const c=i.app={_uid:Wg++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ii,get config(){return i.config},set config(u){R("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?R("Plugin has already been applied to target app."):u&&ae(u.install)?(a.add(u),u.install(c,...f)):ae(u)?(a.add(u),u(c,...f)):R('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return i.mixins.includes(u)?R("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):i.mixins.push(u),c},component(u,f){return oa(u,i.config),f?(i.components[u]&&R(`Component "${u}" has already been registered in target app.`),i.components[u]=f,c):i.components[u]},directive(u,f){return id(u),f?(i.directives[u]&&R(`Directive "${u}" has already been registered in target app.`),i.directives[u]=f,c):i.directives[u]},mount(u,f,d){if(l)R("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{u.__vue_app__&&R("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const p=ne(s,r);return p.appContext=i,i.reload=()=>{e(en(p),u,d)},f&&t?t(p,u):e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,c._instance=p.component,lg(c,Ii),ro(p.component)||p.component.proxy}},unmount(){l?(e(null,c._container),c._instance=null,cg(c),delete c._container.__vue_app__):R("Cannot unmount an app that is not mounted.")},provide(u,f){return u in i.provides&&R(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),i.provides[u]=f,c},runWithContext(u){Ti=c;try{return u()}finally{Ti=null}}};return c}}let Ti=null;function wt(e,t){if(!Ge)R("provide() can only be used inside setup().");else{let n=Ge.provides;const s=Ge.parent&&Ge.parent.provides;s===n&&(n=Ge.provides=Object.create(s)),n[e]=t}}function Z(e,t,n=!1){const s=Ge||Ye;if(s||Ti){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Ti._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ae(t)?t.call(s&&s.proxy):t;R(`injection "${String(e)}" not found.`)}else R("inject() can only be used inside setup() or functional components.")}function Yg(e,t,n,s=!1){const r={},i={};yi(i,so,1),e.propsDefaults=Object.create(null),gd(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);_d(t||{},r,e),n?e.props=s?r:Ff(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Zg(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Jg(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,l=ue(r),[c]=e.propsOptions;let u=!1;if(!Zg(e)&&(s||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let d=0;d<f.length;d++){let p=f[d];if(Qi(e.emitsOptions,p))continue;const m=t[p];if(c)if(be(i,p))m!==i[p]&&(i[p]=m,u=!0);else{const g=Jt(p);r[g]=na(c,l,g,m,e,!1)}else m!==i[p]&&(i[p]=m,u=!0)}}}else{gd(e,t,r,i)&&(u=!0);let f;for(const d in l)(!t||!be(t,d)&&((f=un(d))===d||!be(t,f)))&&(c?n&&(n[d]!==void 0||n[f]!==void 0)&&(r[d]=na(c,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!be(t,d))&&(delete i[d],u=!0)}u&&Xt(e,"set","$attrs"),_d(t||{},r,e)}function gd(e,t,n,s){const[r,i]=e.propsOptions;let a=!1,l;if(t)for(let c in t){if(ii(c))continue;const u=t[c];let f;r&&be(r,f=Jt(c))?!i||!i.includes(f)?n[f]=u:(l||(l={}))[f]=u:Qi(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,a=!0)}if(i){const c=ue(n),u=l||Re;for(let f=0;f<i.length;f++){const d=i[f];n[d]=na(r,c,d,u[d],e,!be(u,d))}}return a}function na(e,t,n,s,r,i){const a=e[n];if(a!=null){const l=be(a,"default");if(l&&s===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&ae(c)){const{propsDefaults:u}=r;n in u?s=u[n]:(As(r),s=u[n]=c.call(null,t),as())}else s=c}a[0]&&(i&&!l?s=!1:a[1]&&(s===""||s===un(n))&&(s=!0))}return s}function vd(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,a={},l=[];let c=!1;if(!ae(e)){const f=d=>{c=!0;const[p,m]=vd(d,t,!0);De(a,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return Oe(e)&&s.set(e,Ps),Ps;if(se(i))for(let f=0;f<i.length;f++){He(i[f])||R("props must be strings when using array syntax.",i[f]);const d=Jt(i[f]);lc(d)&&(a[d]=Re)}else if(i){Oe(i)||R("invalid props options",i);for(const f in i){const d=Jt(f);if(lc(d)){const p=i[f],m=a[d]=se(p)||ae(p)?{type:p}:De({},p);if(m){const g=uc(Boolean,m.type),b=uc(String,m.type);m[0]=g>-1,m[1]=b<0||g<b,(g>-1||be(m,"default"))&&l.push(d)}}}}const u=[a,l];return Oe(e)&&s.set(e,u),u}function lc(e){return e[0]!=="$"?!0:(R(`Invalid prop name: "${e}" is a reserved property.`),!1)}function sa(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function cc(e,t){return sa(e)===sa(t)}function uc(e,t){return se(t)?t.findIndex(n=>cc(n,e)):ae(t)&&cc(t,e)?0:-1}function _d(e,t,n){const s=ue(t),r=n.propsOptions[0];for(const i in r){let a=r[i];a!=null&&Xg(i,s[i],a,!be(e,i)&&!be(e,un(i)))}}function Xg(e,t,n,s){const{type:r,required:i,validator:a,skipCheck:l}=n;if(i&&s){R('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(r!=null&&r!==!0&&!l){let c=!1;const u=se(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:p,expectedType:m}=ev(t,u[d]);f.push(m||""),c=p}if(!c){R(tv(e,t,f));return}}a&&!a(t)&&R('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Qg=Dn("String,Number,Boolean,Function,Symbol,BigInt");function ev(e,t){let n;const s=sa(t);if(Qg(s)){const r=typeof e;n=r===s.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else s==="Object"?n=Oe(e):s==="Array"?n=se(e):s==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:s}}function tv(e,t,n){let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(cs).join(" | ")}`;const r=n[0],i=Wa(t),a=fc(t,r),l=fc(t,i);return n.length===1&&dc(r)&&!nv(r,i)&&(s+=` with value ${a}`),s+=`, got ${i} `,dc(i)&&(s+=`with value ${l}.`),s}function fc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function dc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function nv(...e){return e.some(t=>t.toLowerCase()==="boolean")}const yd=e=>e[0]==="_"||e==="$stable",dl=e=>se(e)?e.map(Ft):[Ft(e)],sv=(e,t,n)=>{if(t._n)return t;const s=_e((...r)=>(Ge&&R(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),dl(t(...r))),n);return s._c=!1,s},bd=(e,t,n)=>{const s=e._ctx;for(const r in e){if(yd(r))continue;const i=e[r];if(ae(i))t[r]=sv(r,i,s);else if(i!=null){R(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=dl(i);t[r]=()=>a}}},wd=(e,t)=>{ll(e.vnode)||R("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=dl(t);e.slots.default=()=>n},rv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),yi(t,"_",n)):bd(t,e.slots={})}else e.slots={},t&&wd(e,t);yi(e.slots,so,1)},iv=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,a=Re;if(s.shapeFlag&32){const l=t._;l?$n?(De(r,t),Xt(e,"set","$slots")):n&&l===1?i=!1:(De(r,t),!n&&l===1&&delete r._):(i=!t.$stable,bd(t,r)),a=t}else t&&(wd(e,t),a={default:1});if(i)for(const l in r)!yd(l)&&!(l in a)&&delete r[l]};function ra(e,t,n,s,r=!1){if(se(e)){e.forEach((p,m)=>ra(p,t&&(se(t)?t[m]:t),n,s,r));return}if(Os(s)&&!r)return;const i=s.shapeFlag&4?ro(s.component)||s.component.proxy:s.el,a=r?null:i,{i:l,r:c}=e;if(!l){R("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const u=t&&t.r,f=l.refs===Re?l.refs={}:l.refs,d=l.setupState;if(u!=null&&u!==c&&(He(u)?(f[u]=null,be(d,u)&&(d[u]=null)):Se(u)&&(u.value=null)),ae(c))cn(c,l,12,[a,f]);else{const p=He(c),m=Se(c);if(p||m){const g=()=>{if(e.f){const b=p?be(d,c)?d[c]:f[c]:c.value;r?se(b)&&Ba(b,i):se(b)?b.includes(i)||b.push(i):p?(f[c]=[i],be(d,c)&&(d[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else p?(f[c]=a,be(d,c)&&(d[c]=a)):m?(c.value=a,e.k&&(f[e.k]=a)):R("Invalid template ref type:",c,`(${typeof c})`)};a?(g.id=-1,Je(g,n)):g()}else R("Invalid template ref type:",c,`(${typeof c})`)}}let qs,xn;function nn(e,t){e.appContext.config.performance&&Ai()&&xn.mark(`vue-${t}-${e.uid}`),dg(e,t,Ai()?xn.now():Date.now())}function sn(e,t){if(e.appContext.config.performance&&Ai()){const n=`vue-${t}-${e.uid}`,s=n+":end";xn.mark(s),xn.measure(`<${io(e,e.type)}> ${t}`,n,s),xn.clearMarks(n),xn.clearMarks(s)}pg(e,t,Ai()?xn.now():Date.now())}function Ai(){return qs!==void 0||(typeof window<"u"&&window.performance?(qs=!0,xn=window.performance):qs=!1),qs}function ov(){const e=[];if(e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
For more details, see https://link.vuejs.org/feature-flags.`)}}const Je=wg;function av(e){return lv(e)}function lv(e,t){ov();const n=bi();n.__VUE__=!0,Zf(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:r,patchProp:i,createElement:a,createText:l,createComment:c,setText:u,setElementText:f,parentNode:d,nextSibling:p,setScopeId:m=ht,insertStaticContent:g}=e,b=(h,v,S,I=null,M=null,H=null,B=!1,D=null,q=$n?!1:!!v.dynamicChildren)=>{if(h===v)return;h&&!Gn(h,v)&&(I=U(h),dt(h,M,H,!0),h=null),v.patchFlag===-2&&(q=!1,v.dynamicChildren=null);const{type:L,ref:Q,shapeFlag:J}=v;switch(L){case Dr:w(h,v,S,I);break;case ut:y(h,v,S,I);break;case li:h==null?x(v,S,I,B):_(h,v,S,B);break;case $e:fe(h,v,S,I,M,H,B,D,q);break;default:J&1?k(h,v,S,I,M,H,B,D,q):J&6?me(h,v,S,I,M,H,B,D,q):J&64||J&128?L.process(h,v,S,I,M,H,B,D,q,G):R("Invalid VNode type:",L,`(${typeof L})`)}Q!=null&&M&&ra(Q,h&&h.ref,H,v||h,!v)},w=(h,v,S,I)=>{if(h==null)s(v.el=l(v.children),S,I);else{const M=v.el=h.el;v.children!==h.children&&u(M,v.children)}},y=(h,v,S,I)=>{h==null?s(v.el=c(v.children||""),S,I):v.el=h.el},x=(h,v,S,I)=>{[h.el,h.anchor]=g(h.children,v,S,I,h.el,h.anchor)},_=(h,v,S,I)=>{if(v.children!==h.children){const M=p(h.anchor);$(h),[v.el,v.anchor]=g(v.children,S,M,I)}else v.el=h.el,v.anchor=h.anchor},P=({el:h,anchor:v},S,I)=>{let M;for(;h&&h!==v;)M=p(h),s(h,S,I),h=M;s(v,S,I)},$=({el:h,anchor:v})=>{let S;for(;h&&h!==v;)S=p(h),r(h),h=S;r(v)},k=(h,v,S,I,M,H,B,D,q)=>{B=B||v.type==="svg",h==null?j(v,S,I,M,H,B,D,q):Y(h,v,M,H,B,D,q)},j=(h,v,S,I,M,H,B,D)=>{let q,L;const{type:Q,props:J,shapeFlag:ie,transition:ce,dirs:xe}=h;if(q=h.el=a(h.type,H,J&&J.is,J),ie&8?f(q,h.children):ie&16&&F(h.children,q,null,I,M,H&&Q!=="foreignObject",B,D),xe&&qn(h,null,I,"created"),A(q,h,h.scopeId,B,I),J){for(const Ne in J)Ne!=="value"&&!ii(Ne)&&i(q,Ne,null,J[Ne],H,h.children,I,M,O);"value"in J&&i(q,"value",null,J.value),(L=J.onVnodeBeforeMount)&&kt(L,I,h)}Object.defineProperty(q,"__vnode",{value:h,enumerable:!1}),Object.defineProperty(q,"__vueParentComponent",{value:I,enumerable:!1}),xe&&qn(h,null,I,"beforeMount");const je=(!M||M&&!M.pendingBranch)&&ce&&!ce.persisted;je&&ce.beforeEnter(q),s(q,v,S),((L=J&&J.onVnodeMounted)||je||xe)&&Je(()=>{L&&kt(L,I,h),je&&ce.enter(q),xe&&qn(h,null,I,"mounted")},M)},A=(h,v,S,I,M)=>{if(S&&m(h,S),I)for(let H=0;H<I.length;H++)m(h,I[H]);if(M){let H=M.subTree;if(H.patchFlag>0&&H.patchFlag&2048&&(H=nd(H.children)||H),v===H){const B=M.vnode;A(h,B,B.scopeId,B.slotScopeIds,M.parent)}}},F=(h,v,S,I,M,H,B,D,q=0)=>{for(let L=q;L<h.length;L++){const Q=h[L]=D?bn(h[L]):Ft(h[L]);b(null,Q,v,S,I,M,H,B,D)}},Y=(h,v,S,I,M,H,B)=>{const D=v.el=h.el;let{patchFlag:q,dynamicChildren:L,dirs:Q}=v;q|=h.patchFlag&16;const J=h.props||Re,ie=v.props||Re;let ce;S&&Vn(S,!1),(ce=ie.onVnodeBeforeUpdate)&&kt(ce,S,v,h),Q&&qn(v,h,S,"beforeUpdate"),S&&Vn(S,!0),$n&&(q=0,B=!1,L=null);const xe=M&&v.type!=="foreignObject";if(L?(oe(h.dynamicChildren,L,D,S,I,xe,H),Mi(h,v)):B||ye(h,v,D,null,S,I,xe,H,!1),q>0){if(q&16)V(D,v,J,ie,S,I,M);else if(q&2&&J.class!==ie.class&&i(D,"class",null,ie.class,M),q&4&&i(D,"style",J.style,ie.style,M),q&8){const je=v.dynamicProps;for(let Ne=0;Ne<je.length;Ne++){const Be=je[Ne],Lt=J[Be],vs=ie[Be];(vs!==Lt||Be==="value")&&i(D,Be,Lt,vs,M,h.children,S,I,O)}}q&1&&h.children!==v.children&&f(D,v.children)}else!B&&L==null&&V(D,v,J,ie,S,I,M);((ce=ie.onVnodeUpdated)||Q)&&Je(()=>{ce&&kt(ce,S,v,h),Q&&qn(v,h,S,"updated")},I)},oe=(h,v,S,I,M,H,B)=>{for(let D=0;D<v.length;D++){const q=h[D],L=v[D],Q=q.el&&(q.type===$e||!Gn(q,L)||q.shapeFlag&70)?d(q.el):S;b(q,L,Q,null,I,M,H,B,!0)}},V=(h,v,S,I,M,H,B)=>{if(S!==I){if(S!==Re)for(const D in S)!ii(D)&&!(D in I)&&i(h,D,S[D],null,B,v.children,M,H,O);for(const D in I){if(ii(D))continue;const q=I[D],L=S[D];q!==L&&D!=="value"&&i(h,D,L,q,B,v.children,M,H,O)}"value"in I&&i(h,"value",S.value,I.value)}},fe=(h,v,S,I,M,H,B,D,q)=>{const L=v.el=h?h.el:l(""),Q=v.anchor=h?h.anchor:l("");let{patchFlag:J,dynamicChildren:ie,slotScopeIds:ce}=v;($n||J&2048)&&(J=0,q=!1,ie=null),ce&&(D=D?D.concat(ce):ce),h==null?(s(L,S,I),s(Q,S,I),F(v.children,S,Q,M,H,B,D,q)):J>0&&J&64&&ie&&h.dynamicChildren?(oe(h.dynamicChildren,ie,S,M,H,B,D),Mi(h,v)):ye(h,v,S,Q,M,H,B,D,q)},me=(h,v,S,I,M,H,B,D,q)=>{v.slotScopeIds=D,h==null?v.shapeFlag&512?M.ctx.activate(v,S,I,B,q):ge(v,S,I,M,H,B,q):Ie(h,v,q)},ge=(h,v,S,I,M,H,B)=>{const D=h.component=yv(h,I,M);if(D.type.__hmrId&&rg(D),oi(h),nn(D,"mount"),ll(h)&&(D.ctx.renderer=G),nn(D,"init"),wv(D),sn(D,"init"),D.asyncDep){if(M&&M.registerDep(D,W),!h.el){const q=D.subTree=ne(ut);y(null,q,v,S)}return}W(D,h,v,S,M,H,B),ai(),sn(D,"mount")},Ie=(h,v,S)=>{const I=v.component=h.component;if(yg(h,v,S))if(I.asyncDep&&!I.asyncResolved){oi(v),re(I,v,S),ai();return}else I.next=v,ng(I.update),I.update();else v.el=h.el,I.vnode=v},W=(h,v,S,I,M,H,B)=>{const D=()=>{if(h.isMounted){let{next:Q,bu:J,u:ie,parent:ce,vnode:xe}=h,je=Q,Ne;oi(Q||h.vnode),Vn(h,!1),Q?(Q.el=xe.el,re(h,Q,B)):Q=xe,J&&Wn(J),(Ne=Q.props&&Q.props.onVnodeBeforeUpdate)&&kt(Ne,ce,Q,xe),Vn(h,!0),nn(h,"render");const Be=mo(h);sn(h,"render");const Lt=h.subTree;h.subTree=Be,nn(h,"patch"),b(Lt,Be,d(Lt.el),U(Lt),h,M,H),sn(h,"patch"),Q.el=Be.el,je===null&&bg(h,Be.el),ie&&Je(ie,M),(Ne=Q.props&&Q.props.onVnodeUpdated)&&Je(()=>kt(Ne,ce,Q,xe),M),Jf(h),ai()}else{let Q;const{el:J,props:ie}=v,{bm:ce,m:xe,parent:je}=h,Ne=Os(v);if(Vn(h,!1),ce&&Wn(ce),!Ne&&(Q=ie&&ie.onVnodeBeforeMount)&&kt(Q,je,v),Vn(h,!0),J&&Ae){const Be=()=>{nn(h,"render"),h.subTree=mo(h),sn(h,"render"),nn(h,"hydrate"),Ae(J,h.subTree,h,M,null),sn(h,"hydrate")};Ne?v.type.__asyncLoader().then(()=>!h.isUnmounted&&Be()):Be()}else{nn(h,"render");const Be=h.subTree=mo(h);sn(h,"render"),nn(h,"patch"),b(null,Be,S,I,h,M,H),sn(h,"patch"),v.el=Be.el}if(xe&&Je(xe,M),!Ne&&(Q=ie&&ie.onVnodeMounted)){const Be=v;Je(()=>kt(Q,je,Be),M)}(v.shapeFlag&256||je&&Os(je.vnode)&&je.vnode.shapeFlag&256)&&h.a&&Je(h.a,M),h.isMounted=!0,Yo(h),v=S=I=null}},q=h.effect=new Ja(D,()=>Xi(L),h.scope),L=h.update=()=>q.run();L.id=h.uid,Vn(h,!0),q.onTrack=h.rtc?Q=>Wn(h.rtc,Q):void 0,q.onTrigger=h.rtg?Q=>Wn(h.rtg,Q):void 0,L.ownerInstance=h,L()},re=(h,v,S)=>{v.component=h;const I=h.vnode.props;h.vnode=v,h.next=null,Jg(h,v.props,I,S),iv(h,v.children,S),fs(),Ql(),ds()},ye=(h,v,S,I,M,H,B,D,q=!1)=>{const L=h&&h.children,Q=h?h.shapeFlag:0,J=v.children,{patchFlag:ie,shapeFlag:ce}=v;if(ie>0){if(ie&128){Pt(L,J,S,I,M,H,B,D,q);return}else if(ie&256){Te(L,J,S,I,M,H,B,D,q);return}}ce&8?(Q&16&&O(L,M,H),J!==L&&f(S,J)):Q&16?ce&16?Pt(L,J,S,I,M,H,B,D,q):O(L,M,H,!0):(Q&8&&f(S,""),ce&16&&F(J,S,I,M,H,B,D,q))},Te=(h,v,S,I,M,H,B,D,q)=>{h=h||Ps,v=v||Ps;const L=h.length,Q=v.length,J=Math.min(L,Q);let ie;for(ie=0;ie<J;ie++){const ce=v[ie]=q?bn(v[ie]):Ft(v[ie]);b(h[ie],ce,S,null,M,H,B,D,q)}L>Q?O(h,M,H,!0,!1,J):F(v,S,I,M,H,B,D,q,J)},Pt=(h,v,S,I,M,H,B,D,q)=>{let L=0;const Q=v.length;let J=h.length-1,ie=Q-1;for(;L<=J&&L<=ie;){const ce=h[L],xe=v[L]=q?bn(v[L]):Ft(v[L]);if(Gn(ce,xe))b(ce,xe,S,null,M,H,B,D,q);else break;L++}for(;L<=J&&L<=ie;){const ce=h[J],xe=v[ie]=q?bn(v[ie]):Ft(v[ie]);if(Gn(ce,xe))b(ce,xe,S,null,M,H,B,D,q);else break;J--,ie--}if(L>J){if(L<=ie){const ce=ie+1,xe=ce<Q?v[ce].el:I;for(;L<=ie;)b(null,v[L]=q?bn(v[L]):Ft(v[L]),S,xe,M,H,B,D,q),L++}}else if(L>ie)for(;L<=J;)dt(h[L],M,H,!0),L++;else{const ce=L,xe=L,je=new Map;for(L=xe;L<=ie;L++){const it=v[L]=q?bn(v[L]):Ft(v[L]);it.key!=null&&(je.has(it.key)&&R("Duplicate keys found during update:",JSON.stringify(it.key),"Make sure keys are unique."),je.set(it.key,L))}let Ne,Be=0;const Lt=ie-xe+1;let vs=!1,Vl=0;const Hs=new Array(Lt);for(L=0;L<Lt;L++)Hs[L]=0;for(L=ce;L<=J;L++){const it=h[L];if(Be>=Lt){dt(it,M,H,!0);continue}let zt;if(it.key!=null)zt=je.get(it.key);else for(Ne=xe;Ne<=ie;Ne++)if(Hs[Ne-xe]===0&&Gn(it,v[Ne])){zt=Ne;break}zt===void 0?dt(it,M,H,!0):(Hs[zt-xe]=L+1,zt>=Vl?Vl=zt:vs=!0,b(it,v[zt],S,null,M,H,B,D,q),Be++)}const zl=vs?cv(Hs):Ps;for(Ne=zl.length-1,L=Lt-1;L>=0;L--){const it=xe+L,zt=v[it],Bl=it+1<Q?v[it+1].el:I;Hs[L]===0?b(null,zt,S,Bl,M,H,B,D,q):vs&&(Ne<0||L!==zl[Ne]?Xe(zt,S,Bl,2):Ne--)}}},Xe=(h,v,S,I,M=null)=>{const{el:H,type:B,transition:D,children:q,shapeFlag:L}=h;if(L&6){Xe(h.component.subTree,v,S,I);return}if(L&128){h.suspense.move(v,S,I);return}if(L&64){B.move(h,v,S,G);return}if(B===$e){s(H,v,S);for(let J=0;J<q.length;J++)Xe(q[J],v,S,I);s(h.anchor,v,S);return}if(B===li){P(h,v,S);return}if(I!==2&&L&1&&D)if(I===0)D.beforeEnter(H),s(H,v,S),Je(()=>D.enter(H),M);else{const{leave:J,delayLeave:ie,afterLeave:ce}=D,xe=()=>s(H,v,S),je=()=>{J(H,()=>{xe(),ce&&ce()})};ie?ie(H,xe,je):je()}else s(H,v,S)},dt=(h,v,S,I=!1,M=!1)=>{const{type:H,props:B,ref:D,children:q,dynamicChildren:L,shapeFlag:Q,patchFlag:J,dirs:ie}=h;if(D!=null&&ra(D,null,S,h,!0),Q&256){v.ctx.deactivate(h);return}const ce=Q&1&&ie,xe=!Os(h);let je;if(xe&&(je=B&&B.onVnodeBeforeUnmount)&&kt(je,v,h),Q&6)Ct(h.component,S,I);else{if(Q&128){h.suspense.unmount(S,I);return}ce&&qn(h,null,v,"beforeUnmount"),Q&64?h.type.remove(h,v,S,M,G,I):L&&(H!==$e||J>0&&J&64)?O(L,v,S,!1,!0):(H===$e&&J&384||!M&&Q&16)&&O(q,v,S),I&&Vt(h)}(xe&&(je=B&&B.onVnodeUnmounted)||ce)&&Je(()=>{je&&kt(je,v,h),ce&&qn(h,null,v,"unmounted")},S)},Vt=h=>{const{type:v,el:S,anchor:I,transition:M}=h;if(v===$e){h.patchFlag>0&&h.patchFlag&2048&&M&&!M.persisted?h.children.forEach(B=>{B.type===ut?r(B.el):Vt(B)}):Hn(S,I);return}if(v===li){$(h);return}const H=()=>{r(S),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(h.shapeFlag&1&&M&&!M.persisted){const{leave:B,delayLeave:D}=M,q=()=>B(S,H);D?D(h.el,H,q):q()}else H()},Hn=(h,v)=>{let S;for(;h!==v;)S=p(h),r(h),h=S;r(v)},Ct=(h,v,S)=>{h.type.__hmrId&&ig(h);const{bum:I,scope:M,update:H,subTree:B,um:D}=h;I&&Wn(I),M.stop(),H&&(H.active=!1,dt(B,h,v,S)),D&&Je(D,v),Je(()=>{h.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve()),fg(h)},O=(h,v,S,I=!1,M=!1,H=0)=>{for(let B=H;B<h.length;B++)dt(h[B],v,S,I,M)},U=h=>h.shapeFlag&6?U(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el),K=(h,v,S)=>{h==null?v._vnode&&dt(v._vnode,null,null,!0):b(v._vnode||null,h,v,null,null,null,S),Ql(),Wf(),v._vnode=h},G={p:b,um:dt,m:Xe,r:Vt,mt:ge,mc:F,pc:ye,pbc:oe,n:U,o:e};let ve,Ae;return t&&([ve,Ae]=t(G)),{render:K,hydrate:ve,createApp:Gg(K,ve)}}function Vn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Mi(e,t,n=!1){const s=e.children,r=t.children;if(se(s)&&se(r))for(let i=0;i<s.length;i++){const a=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=bn(r[i]),l.el=a.el),n||Mi(a,l)),l.type===Dr&&(l.el=a.el),l.type===ut&&!l.el&&(l.el=a.el)}}function cv(e){const t=e.slice(),n=[0];let s,r,i,a,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<u?i=l+1:a=l;u<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const uv=e=>e.__isTeleport,ks=e=>e&&(e.disabled||e.disabled===""),pc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ia=(e,t)=>{const n=e&&e.to;if(He(n))if(t){const s=t(n);return s||R(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return R("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!n&&!ks(e)&&R(`Invalid Teleport target: ${n}`),n},fv={__isTeleport:!0,process(e,t,n,s,r,i,a,l,c,u){const{mc:f,pc:d,pbc:p,o:{insert:m,querySelector:g,createText:b,createComment:w}}=u,y=ks(t.props);let{shapeFlag:x,children:_,dynamicChildren:P}=t;if($n&&(c=!1,P=null),e==null){const $=t.el=w("teleport start"),k=t.anchor=w("teleport end");m($,n,s),m(k,n,s);const j=t.target=ia(t.props,g),A=t.targetAnchor=b("");j?(m(A,j),a=a||pc(j)):y||R("Invalid Teleport target on mount:",j,`(${typeof j})`);const F=(Y,oe)=>{x&16&&f(_,Y,oe,r,i,a,l,c)};y?F(n,k):j&&F(j,A)}else{t.el=e.el;const $=t.anchor=e.anchor,k=t.target=e.target,j=t.targetAnchor=e.targetAnchor,A=ks(e.props),F=A?n:k,Y=A?$:j;if(a=a||pc(k),P?(p(e.dynamicChildren,P,F,r,i,a,l),Mi(e,t,!0)):c||d(e,t,F,Y,r,i,a,l,!1),y)A||Yr(t,n,$,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const oe=t.target=ia(t.props,g);oe?Yr(t,oe,null,u,0):R("Invalid Teleport target on update:",k,`(${typeof k})`)}else A&&Yr(t,k,j,u,1)}xd(t)},remove(e,t,n,s,{um:r,o:{remove:i}},a){const{shapeFlag:l,children:c,anchor:u,targetAnchor:f,target:d,props:p}=e;if(d&&i(f),(a||!ks(p))&&(i(u),l&16))for(let m=0;m<c.length;m++){const g=c[m];r(g,t,n,!0,!!g.dynamicChildren)}},move:Yr,hydrate:dv};function Yr(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:c,children:u,props:f}=e,d=i===2;if(d&&s(a,t,n),(!d||ks(f))&&c&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);d&&s(l,t,n)}function dv(e,t,n,s,r,i,{o:{nextSibling:a,parentNode:l,querySelector:c}},u){const f=t.target=ia(t.props,c);if(f){const d=f._lpa||f.firstChild;if(t.shapeFlag&16)if(ks(t.props))t.anchor=u(a(e),t,l(e),n,s,r,i),t.targetAnchor=d;else{t.anchor=a(e);let p=d;for(;p;)if(p=a(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&a(t.targetAnchor);break}u(d,t,f,n,s,r,i)}xd(t)}return t.anchor&&a(t.anchor)}const pv=fv;function xd(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const $e=Symbol.for("v-fgt"),Dr=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),li=Symbol.for("v-stc"),ar=[];let Ht=null;function E(e=!1){ar.push(Ht=e?null:[])}function mv(){ar.pop(),Ht=ar[ar.length-1]||null}let br=1;function mc(e){br+=e}function Ed(e){return e.dynamicChildren=br>0?Ht||Ps:null,mv(),br>0&&Ht&&Ht.push(e),e}function N(e,t,n,s,r,i){return Ed(o(e,t,n,s,r,i,!0))}function X(e,t,n,s,r){return Ed(ne(e,t,n,s,r,!0))}function Ln(e){return e?e.__v_isVNode===!0:!1}function Gn(e,t){return t.shapeFlag&6&&Es.has(t.type)?(e.shapeFlag&=-257,t.shapeFlag&=-513,!1):e.type===t.type&&e.key===t.key}const hv=(...e)=>gv(...e),so="__vInternal",Sd=({key:e})=>e??null,ci=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?He(e)||Se(e)||ae(e)?{i:Ye,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,s=0,r=null,i=e===$e?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Sd(t),ref:t&&ci(t),scopeId:eo,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ye};return l?(pl(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=He(n)?8:16),c.key!==c.key&&R("VNode created with invalid key (NaN). VNode type:",c.type),br>0&&!a&&Ht&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ht.push(c),c}const ne=hv;function gv(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ng)&&(e||R(`Invalid vnode type when creating vnode: ${e}.`),e=ut),Ln(e)){const l=en(e,t,!0);return n&&pl(l,n),br>0&&!i&&Ht&&(l.shapeFlag&6?Ht[Ht.indexOf(e)]=l:Ht.push(l)),l.patchFlag|=-2,l}if(kd(e)&&(e=e.__vccOpts),t){t=Me(t);let{class:l,style:c}=t;l&&!He(l)&&(t.class=qe(l)),Oe(c)&&(Si(c)&&!se(c)&&(c=De({},c)),t.style=nt(c))}const a=He(e)?1:sd(e)?128:uv(e)?64:Oe(e)?4:ae(e)?2:0;return a&4&&Si(e)&&(e=ue(e),R("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
Component that was made reactive: `,e)),o(e,t,n,s,r,a,i,!0)}function Me(e){return e?Si(e)||so in e?De({},e):e:null}function en(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:a}=e,l=t?wr(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Sd(l),ref:t&&t.ref?n&&r?se(r)?r.concat(ci(t)):[r,ci(t)]:ci(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i===-1&&se(a)?a.map($d):a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $d(e){const t=en(e);return se(e.children)&&(t.children=e.children.map($d)),t}function ms(e=" ",t=0){return ne(Dr,null,e,t)}function de(e="",t=!1){return t?(E(),X(ut,null,e)):ne(ut,null,e)}function Ft(e){return e==null||typeof e=="boolean"?ne(ut):se(e)?ne($e,null,e.slice()):typeof e=="object"?bn(e):ne(Dr,null,String(e))}function bn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function pl(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),pl(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(so in t)?t._ctx=Ye:r===3&&Ye&&(Ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:Ye},n=32):(t=String(t),s&64?(n=16,t=[ms(t)]):n=8);e.children=t,e.shapeFlag|=n}function wr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=qe([t.class,s.class]));else if(r==="style")t.style=nt([t.style,s.style]);else if(Nr(r)){const i=t[r],a=s[r];a&&i!==a&&!(se(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=s[r])}return t}function kt(e,t,n,s=null){Mt(e,t,7,[n,s])}const vv=hd();let _v=0;function yv(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||vv,i={uid:_v++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Sf(!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:vd(s,r),emitsOptions:Qf(s,r),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:s.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx=Lg(i),i.root=t?t.root:i,i.emit=hg.bind(null,i),e.ce&&e.ce(i),i}let Ge=null;const Nt=()=>Ge||Ye;let ml,_s,hc="__VUE_INSTANCE_SETTERS__";(_s=bi()[hc])||(_s=bi()[hc]=[]),_s.push(e=>Ge=e),ml=e=>{_s.length>1?_s.forEach(t=>t(e)):_s[0](e)};const As=e=>{ml(e),e.scope.on()},as=()=>{Ge&&Ge.scope.off(),ml(null)},bv=Dn("slot,component");function oa(e,t){const n=t.isNativeTag||vf;(bv(e)||n(e))&&R("Do not use built-in or reserved HTML elements as component id: "+e)}function Pd(e){return e.vnode.shapeFlag&4}let xr=!1;function wv(e,t=!1){xr=t;const{props:n,children:s}=e.vnode,r=Pd(e);Yg(e,n,r,t),rv(e,s);const i=r?xv(e,t):void 0;return xr=!1,i}function xv(e,t){var n;const s=e.type;{if(s.name&&oa(s.name,e.appContext.config),s.components){const i=Object.keys(s.components);for(let a=0;a<i.length;a++)oa(i[a],e.appContext.config)}if(s.directives){const i=Object.keys(s.directives);for(let a=0;a<i.length;a++)id(i[a])}s.compilerOptions&&Ev()&&R('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=Zi(new Proxy(e.ctx,pd)),jg(e);const{setup:r}=s;if(r){const i=e.setupContext=r.length>1?Od(e):null;As(e),fs();const a=cn(r,e,0,[er(e.props),i]);if(ds(),as(),Ka(a)){if(a.then(as,as),t)return a.then(l=>{gc(e,l,t)}).catch(l=>{Ji(l,e,0)});if(e.asyncDep=a,!e.suspense){const l=(n=s.name)!=null?n:"Anonymous";R(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else gc(e,a,t)}else Cd(e,t)}function gc(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)?(Ln(t)&&R("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=qf(t),Dg(e)):t!==void 0&&R(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Cd(e,n)}let aa;const Ev=()=>!aa;function Cd(e,t,n){const s=e.type;if(!e.render){if(!t&&aa&&!s.render){const r=s.template||fl(e).template;if(r){nn(e,"compile");const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=De(De({isCustomElement:i,delimiters:l},a),c);s.render=aa(r,u),sn(e,"compile")}}e.render=s.render||ht}As(e),fs(),Vg(e),ds(),as(),!s.render&&e.render===ht&&!t&&(s.template?R('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):R("Component is missing template or render function."))}function Sv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Pi(),rt(e,"get","$attrs"),t[n]},set(){return R("setupContext.attrs is readonly."),!1},deleteProperty(){return R("setupContext.attrs is readonly."),!1}}))}function $v(e){return e.slotsProxy||(e.slotsProxy=new Proxy(e.slots,{get(t,n){return rt(e,"get","$slots"),t[n]}}))}function Od(e){return Object.freeze({get attrs(){return Sv(e)},get slots(){return $v(e)},get emit(){return(n,...s)=>e.emit(n,...s)},expose:n=>{if(e.exposed&&R("expose() should be called only once per setup()."),n!=null){let s=typeof n;s==="object"&&(se(n)?s="array":Se(n)&&(s="ref")),s!=="object"&&R(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}}})}function ro(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qf(Zi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in os)return os[n](e)},has(t,n){return n in t||n in os}}))}const Pv=/(?:^|[-_])(\w)/g,Cv=e=>e.replace(Pv,t=>t.toUpperCase()).replace(/[-_]/g,"");function Er(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function io(e,t,n=!1){let s=Er(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=i=>{for(const a in i)if(i[a]===t)return a};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?Cv(s):n?"App":"Anonymous"}function kd(e){return ae(e)&&"__vccOpts"in e}const T=(e,t)=>Wh(e,t,xr);function vt(e,t,n){const s=arguments.length;return s===2?Oe(t)&&!se(t)?Ln(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ln(n)&&(n=[n]),ne(e,t,n))}const Ov=Symbol.for("v-scx"),kv=()=>{{const e=Z(Ov);return e||R("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function _o(e){return!!(e&&e.__v_isShallow)}function Tv(){if(typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},s={style:"color:#9d288c"},r={header(d){return Oe(d)?d.__isVue?["div",e,"VueInstance"]:Se(d)?["div",{},["span",e,f(d)],"<",l(d.value),">"]:rs(d)?["div",{},["span",e,_o(d)?"ShallowReactive":"Reactive"],"<",l(d),`>${Nn(d)?" (readonly)":""}`]:Nn(d)?["div",{},["span",e,_o(d)?"ShallowReadonly":"Readonly"],"<",l(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...i(d.$)]}};function i(d){const p=[];d.type.props&&d.props&&p.push(a("props",ue(d.props))),d.setupState!==Re&&p.push(a("setup",d.setupState)),d.data!==Re&&p.push(a("data",ue(d.data)));const m=c(d,"computed");m&&p.push(a("computed",m));const g=c(d,"inject");return g&&p.push(a("injected",g)),p.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),p}function a(d,p){return p=De({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(m=>["div",{},["span",s,m+": "],l(p[m],!1)])]]:["span",{}]}function l(d,p=!0){return typeof d=="number"?["span",t,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",s,d]:Oe(d)?["object",{object:p?ue(d):d}]:["span",n,String(d)]}function c(d,p){const m=d.type;if(ae(m))return;const g={};for(const b in d.ctx)u(m,b,p)&&(g[b]=d.ctx[b]);return g}function u(d,p,m){const g=d[m];if(se(g)&&g.includes(p)||Oe(g)&&p in g||d.extends&&u(d.extends,p,m)||d.mixins&&d.mixins.some(b=>u(b,p,m)))return!0}function f(d){return _o(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Ii="3.3.4",Av="http://www.w3.org/2000/svg",Yn=typeof document<"u"?document:null,vc=Yn&&Yn.createElement("template"),Mv={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?Yn.createElementNS(Av,e):Yn.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Yn.createTextNode(e),createComment:e=>Yn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Yn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{vc.innerHTML=s?`<svg>${e}</svg>`:e;const l=vc.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Iv(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 Nv(e,t,n){const s=e.style,r=He(n);if(n&&!r){if(t&&!He(t))for(const i in t)n[i]==null&&la(s,i,"");for(const i in n)la(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Rv=/[^\\];\s*$/,_c=/\s*!important$/;function la(e,t,n){if(se(n))n.forEach(s=>la(e,t,s));else if(n==null&&(n=""),Rv.test(n)&&R(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Lv(e,t);_c.test(n)?e.setProperty(un(s),n.replace(_c,""),"important"):e[s]=n}}const yc=["Webkit","Moz","ms"],yo={};function Lv(e,t){const n=yo[t];if(n)return n;let s=Jt(t);if(s!=="filter"&&s in e)return yo[t]=s;s=cs(s);for(let r=0;r<yc.length;r++){const i=yc[r]+s;if(i in e)return yo[t]=i}return t}const bc="http://www.w3.org/1999/xlink";function jv(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(bc,t.slice(6,t.length)):e.setAttributeNS(bc,t,n);else{const i=lh(t);n==null||i&&!xf(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Dv(e,t,n,s,r,i,a){if(t==="innerHTML"||t==="textContent"){s&&a(s,r,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const u=l==="OPTION"?e.getAttribute("value"):e.value,f=n??"";u!==f&&(e.value=f),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=xf(n):n==null&&u==="string"?(n="",c=!0):u==="number"&&(n=0,c=!0)}try{e[t]=n}catch(u){c||R(`Failed setting prop "${t}" on <${l.toLowerCase()}>: value ${n} is invalid.`,u)}c&&e.removeAttribute(t)}function Fv(e,t,n,s){e.addEventListener(t,n,s)}function Hv(e,t,n,s){e.removeEventListener(t,n,s)}function qv(e,t,n,s,r=null){const i=e._vei||(e._vei={}),a=i[t];if(s&&a)a.value=s;else{const[l,c]=Vv(t);if(s){const u=i[t]=Uv(s,r);Fv(e,l,u,c)}else a&&(Hv(e,l,a,c),i[t]=void 0)}}const wc=/(?:Once|Passive|Capture)$/;function Vv(e){let t;if(wc.test(e)){t={};let s;for(;s=e.match(wc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):un(e.slice(2)),t]}let bo=0;const zv=Promise.resolve(),Bv=()=>bo||(zv.then(()=>bo=0),bo=Date.now());function Uv(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Mt(Kv(s,n.value),t,5,[s])};return n.value=e,n.attached=Bv(),n}function Kv(e,t){if(se(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 xc=/^on[a-z]/,Wv=(e,t,n,s,r=!1,i,a,l,c)=>{t==="class"?Iv(e,s,r):t==="style"?Nv(e,n,s):Nr(t)?_i(t)||qv(e,t,n,s,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gv(e,t,s,r))?Dv(e,t,s,i,a,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jv(e,t,s,r))};function Gv(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&xc.test(t)&&ae(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||xc.test(t)&&He(n)?!1:t in e}const gn="transition",Vs="animation",Td={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Yv=De({},Sg,Td),zn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ec=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Zv(e){const t={};for(const V in e)V in Td||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=a,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=Jv(r),b=g&&g[0],w=g&&g[1],{onBeforeEnter:y,onEnter:x,onEnterCancelled:_,onLeave:P,onLeaveCancelled:$,onBeforeAppear:k=y,onAppear:j=x,onAppearCancelled:A=_}=t,F=(V,fe,me)=>{_n(V,fe?f:l),_n(V,fe?u:a),me&&me()},Y=(V,fe)=>{V._isLeaving=!1,_n(V,d),_n(V,m),_n(V,p),fe&&fe()},oe=V=>(fe,me)=>{const ge=V?j:x,Ie=()=>F(fe,V,me);zn(ge,[fe,Ie]),Sc(()=>{_n(fe,V?c:i),rn(fe,V?f:l),Ec(ge)||$c(fe,s,b,Ie)})};return De(t,{onBeforeEnter(V){zn(y,[V]),rn(V,i),rn(V,a)},onBeforeAppear(V){zn(k,[V]),rn(V,c),rn(V,u)},onEnter:oe(!1),onAppear:oe(!0),onLeave(V,fe){V._isLeaving=!0;const me=()=>Y(V,fe);rn(V,d),Md(),rn(V,p),Sc(()=>{V._isLeaving&&(_n(V,d),rn(V,m),Ec(P)||$c(V,s,w,me))}),zn(P,[V,me])},onEnterCancelled(V){F(V,!1),zn(_,[V])},onAppearCancelled(V){F(V,!0),zn(A,[V])},onLeaveCancelled(V){Y(V),zn($,[V])}})}function Jv(e){if(e==null)return null;if(Oe(e))return[wo(e.enter),wo(e.leave)];{const t=wo(e);return[t,t]}}function wo(e){const t=Qm(e);return Xh(t,"<transition> explicit duration"),t}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function _n(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Sc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xv=0;function $c(e,t,n,s){const r=e._endId=++Xv,i=()=>{r===e._endId&&s()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:c}=Ad(e,t);if(!a)return s();const u=a+"end";let f=0;const d=()=>{e.removeEventListener(u,p),i()},p=m=>{m.target===e&&++f>=c&&d()};setTimeout(()=>{f<c&&d()},l+1),e.addEventListener(u,p)}function Ad(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),r=s(`${gn}Delay`),i=s(`${gn}Duration`),a=Pc(r,i),l=s(`${Vs}Delay`),c=s(`${Vs}Duration`),u=Pc(l,c);let f=null,d=0,p=0;t===gn?a>0&&(f=gn,d=a,p=i.length):t===Vs?u>0&&(f=Vs,d=u,p=c.length):(d=Math.max(a,u),f=d>0?a>u?gn:Vs:null,p=f?f===gn?i.length:c.length:0);const m=f===gn&&/\b(transform|all)(,|$)/.test(s(`${gn}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:m}}function Pc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Cc(n)+Cc(e[s])))}function Cc(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Md(){return document.body.offsetHeight}const Id=new WeakMap,Nd=new WeakMap,Rd={name:"TransitionGroup",props:De({},Yv,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Nt(),s=Eg();let r,i;return no(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!r0(r[0].el,n.vnode.el,a))return;r.forEach(t0),r.forEach(n0);const l=r.filter(s0);Md(),l.forEach(c=>{const u=c.el,f=u.style;rn(u,a),f.transform=f.webkitTransform=f.transitionDuration="";const d=u._moveCb=p=>{p&&p.target!==u||(!p||/transform$/.test(p.propertyName))&&(u.removeEventListener("transitionend",d),u._moveCb=null,_n(u,a))};u.addEventListener("transitionend",d)})}),()=>{const a=ue(e),l=Zv(a);let c=a.tag||$e;r=i,i=t.default?ad(t.default()):[];for(let u=0;u<i.length;u++){const f=i[u];f.key!=null?Ci(f,Jo(f,l,s,n)):R("<TransitionGroup> children must be keyed.")}if(r)for(let u=0;u<r.length;u++){const f=r[u];Ci(f,Jo(f,l,s,n)),Id.set(f,f.el.getBoundingClientRect())}return ne(c,null,i)}}},Qv=e=>delete e.mode;Rd.props;const e0=Rd;function t0(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function n0(e){Nd.set(e,e.el.getBoundingClientRect())}function s0(e){const t=Id.get(e),n=Nd.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function r0(e,t,n){const s=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Ad(s);return r.removeChild(s),i}const i0=["ctrl","shift","alt","meta"],o0={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>i0.some(n=>e[`${n}Key`]&&!t.includes(n))},a0=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const i=o0[t[r]];if(i&&i(n,t))return}return e(n,...s)},l0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zr=(e,t)=>n=>{if(!("key"in n))return;const s=un(n.key);if(t.some(r=>r===s||l0[r]===s))return e(n)},Ld={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zs(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),zs(e,!0),s.enter(e)):s.leave(e,()=>{zs(e,!1)}):zs(e,t))},beforeUnmount(e,{value:t}){zs(e,t)}};function zs(e,t){e.style.display=t?e._vod:"none"}const c0=De({patchProp:Wv},Mv);let Oc;function u0(){return Oc||(Oc=av(c0))}const f0=(...e)=>{const t=u0().createApp(...e);d0(t),p0(t);const{mount:n}=t;return t.mount=s=>{const r=m0(s);if(!r)return;const i=t._component;!ae(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function d0(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>wf(t)||oh(t),writable:!1})}function p0(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){R("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return R(s),n},set(){R(s)}})}}function m0(e){if(He(e)){const t=document.querySelector(e);return t||R(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&R('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}function h0(){Tv()}h0();function ca(e,t={},n){for(const s in e){const r=e[s],i=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?ca(r,t,i):typeof r=="function"&&(t[i]=r)}return t}const g0={run:e=>e()},v0=()=>g0,jd=typeof console.createTask<"u"?console.createTask:v0;function _0(e,t){const n=t.shift(),s=jd(n);return e.reduce((r,i)=>r.then(()=>s.run(()=>i(...t))),Promise.resolve())}function y0(e,t){const n=t.shift(),s=jd(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function xo(e,t){for(const n of[...e])n(t)}class b0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!s.allowDeprecated){let a=i.message;a||(a=`${r} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,r=(...i)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...i));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ca(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=ca(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(_0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(y0,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&xo(this._before,r);const i=t(n in this._hooks?[...this._hooks[n]]:[],s);return i instanceof Promise?i.finally(()=>{this._after&&r&&xo(this._after,r)}):(this._after&&r&&xo(this._after,r),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function w0(){return new b0}function x0(e){return Array.isArray(e)?e:[e]}const E0=["title","script","style","noscript"],ui=["base","meta","link","style","script","noscript"],S0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],$0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],kc=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],P0=typeof window<"u";function Dd(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Tc(e){return e._h||Dd(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Fd(e,t){const{props:n,tag:s}=e;if($0.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];s==="meta"&&r.push("name","property","http-equiv");for(const i of r)if(typeof n[i]<"u"){const a=String(n[i]);return t&&!t(a)?!1:`${s}:${i}:${a}`}return!1}function Ac(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function C0(e,t,n){const s={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(s.props=t,s):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(s.textContent=t.textContent,t.tagPriority&&(s.tagPriority=t.tagPriority)):s.textContent=t,s):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?s.props.src=t:s.innerHTML=t,s):!1:(t.body&&(t.tagPosition="bodyClose",delete t.body),t.children&&(t.innerHTML=t.children,delete t.children),s.props=await k0({...t}),Object.keys(s.props).filter(r=>kc.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||E0.includes(s.tag))&&(s[r]=s.props[r]),delete s.props[r]}),kc.forEach(r=>{!s[r]&&n[r]&&(s[r]=n[r])}),["innerHTML","textContent"].forEach(r=>{if(s.tag==="script"&&typeof s[r]=="string"&&["application/ld+json","application/json"].includes(s.props.type))try{s[r]=JSON.parse(s[r])}catch{s[r]=""}typeof s[r]=="object"&&(s[r]=JSON.stringify(s[r]))}),s.props.class&&(s.props.class=O0(s.props.class)),s.props.content&&Array.isArray(s.props.content)?s.props.content.map(r=>({...s,props:{...s.props,content:r}})):s)}function O0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function k0(e){for(const t of Object.keys(e)){const n=t.startsWith("data-");e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]=n?"true":"":String(e[t])==="false"&&(n?e[t]="false":delete e[t])}return e}const T0=10;async function A0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&S0.includes(n)).forEach(([n,s])=>{const r=x0(s);t.push(...r.map(i=>C0(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<T0)+s,n))}const Mc={base:-1,title:1},Ic={critical:-8,high:-1,low:2};function Ni(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag==="link"&&e.props.rel==="preconnect"?t=2:e.tag in Mc&&(t=Mc[e.tag]),typeof n=="string"&&n in Ic?t+Ic[n]:t)}const M0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function Bs(e,t){if(typeof e!="string")return e;function n(a){if(["s","pageTitle"].includes(a))return t.pageTitle;let l;return a.includes(".")?l=a.split(".").reduce((c,u)=>c&&c[u]||void 0,t):l=t[a],typeof l<"u"?l||"":!1}let s=e;try{s=decodeURI(e)}catch{}(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(a=>{const l=n(a.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${a}(\\W|$)`,"g"),(c,u)=>`${l}${u}`).trim())});const i=t.separator;return e.includes(i)&&(e.endsWith(i)&&(e=e.slice(0,-i.length).trim()),e.startsWith(i)&&(e=e.slice(i.length).trim()),e=e.replace(new RegExp(`\\${i}\\s*\\${i}`,"g"),i)),e}function I0(e){const t={tag:e.tagName.toLowerCase(),props:e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{}),innerHTML:e.innerHTML};return t._d=Fd(t),t}async function Hd(e,t={}){var f;const n=t.document||e.resolvedOptions.document;if(!n)return;const s=(await e.resolveTags()).map(d=>({tag:d,id:ui.includes(d.tag)?Tc(d):d.tag,shouldRender:!0})),r={shouldRender:!0,tags:s};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const d of["body","head"]){const p=(f=n==null?void 0:n[d])==null?void 0:f.children;for(const m of[...p].filter(g=>ui.includes(g.tagName.toLowerCase())))i.elMap[m.getAttribute("data-hid")||Tc(I0(m))]=m}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function a(d,p,m){const g=`${d}:${p}`;i.sideEffects[g]=m,delete i.pendingSideEffects[g]}function l({id:d,$el:p,tag:m}){const g=m.tag.endsWith("Attrs");i.elMap[d]=p,g||(["textContent","innerHTML"].forEach(b=>{m[b]&&m[b]!==p[b]&&(p[b]=m[b])}),a(d,"el",()=>{i.elMap[d].remove(),delete i.elMap[d]})),Object.entries(m.props).forEach(([b,w])=>{w=String(w);const y=`attr:${b}`;if(b==="class")for(const x of(w||"").split(" ").filter(Boolean))g&&a(d,`${y}:${x}`,()=>p.classList.remove(x)),!p.classList.contains(x)&&p.classList.add(x);else p.getAttribute(b)!==w&&p.setAttribute(b,w),g&&a(d,y,()=>p.removeAttribute(b))})}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of s){const{tag:p,shouldRender:m,id:g}=d;if(m){if(p.tag==="title"){n.title=p.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):ui.includes(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(d.$el)}for(const d of s)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose),Object.values(i.pendingSideEffects).forEach(d=>d()),e._dom=i,await e.hooks.callHook("dom:rendered",{renders:s})}async function qd(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await Hd(e,t),delete e._domUpdatePromise,s()}))}function N0(e){return t=>{var s,r;const n=((r=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(i){qd(i,e)}}}}}const R0=["templateParams","htmlAttrs","bodyAttrs"],L0={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=Fd(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const r=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,i=t[r];if(i){let l=s==null?void 0:s.tagDuplicateStrategy;if(!l&&R0.includes(s.tag)&&(l="merge"),l==="merge"){const c=i.props;["class","style"].forEach(u=>{s.props[u]&&c[u]&&(u==="style"&&!c[u].endsWith(";")&&(c[u]+=";"),s.props[u]=`${c[u]} ${s.props[u]}`)}),t[r].props={...c,...s.props};return}else if(s._e===i._e){i._duped=i._duped||[],s._d=`${i._d}:${i._duped.length+1}`,i._duped.push(s);return}else if(Ni(s)>Ni(i))return}const a=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(ui.includes(s.tag)&&a===0){delete t[r];return}t[r]=s});const n=[];Object.values(t).forEach(s=>{const r=s._duped;delete s._duped,n.push(s),r&&n.push(...r)}),e.tags=n}}},j0=e=>({mode:"server",hooks:{"tags:resolve":function(t){const n={};t.tags.filter(s=>["titleTemplate","templateParams"].includes(s.tag)&&s._m==="server").forEach(s=>{n[s.tag]=s.tag==="titleTemplate"?s.textContent:s.props}),Object.keys(n).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(n),props:{type:"text/javascript",id:"unhead:payload"}})}}}),Nc=["script","link","bodyAttrs"];function Rc(e){const t={},n={};return Object.entries(e.props).forEach(([s,r])=>{s.startsWith("on")&&typeof r=="function"?n[s]=r:t[s]=r}),{props:t,eventHandlers:n}}const D0={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!Nc.includes(t.tag)||!Object.entries(t.props).find(([n,s])=>n.startsWith("on")&&typeof s=="function")||(t.props=Rc(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!Nc.includes(t.tag))return t;const{props:n,eventHandlers:s}=Rc(t);return Object.keys(s).length&&(t.props=n,t._eventHandlers=s),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const s=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([r,i])=>{const a=`${e.tag._d||e.tag._p}:${r}`,l=r.slice(2).toLowerCase(),c=`data-h-${l}`;if(n(e.id,a,()=>{}),e.$el.hasAttribute(c))return;const u=i;e.$el.setAttribute(c,""),s.addEventListener(l,u),e.entry&&n(e.id,a,()=>{s.removeEventListener(l,u),e.$el.removeAttribute(c)})})}}},F0=["link","style","script","noscript"],H0={hooks:{"tag:normalise":({tag:e})=>{e.key&&F0.includes(e.tag)&&(e.props["data-hid"]=e._h=Dd(e.key))}}},q0={hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(r=>r._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of M0)for(const r of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(r.tagPriority.replace(n,""));typeof i<"u"&&(r._p=i+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>Ni(n)-Ni(s))}}},V0={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(a=>a.tag==="title"))==null?void 0:i.textContent,s=t.findIndex(a=>a.tag==="templateParams"),r=s!==-1?t[s].props:{};r.separator=r.separator||"|",r.pageTitle=Bs(r.pageTitle||n||"",r);for(const a of t)if(["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string")a.textContent=Bs(a.textContent,r);else if(a.tag==="meta"&&typeof a.props.content=="string")a.props.content=Bs(a.props.content,r);else if(a.tag==="link"&&typeof a.props.href=="string")a.props.href=Bs(a.props.href,r);else if(a.tag==="script"&&["application/json","application/ld+json"].includes(a.props.type)&&typeof a.innerHTML=="string")try{a.innerHTML=JSON.stringify(JSON.parse(a.innerHTML),(l,c)=>typeof c=="string"?Bs(c,r):c)}catch{}e.tags=t.filter(a=>a.tag!=="templateParams")}}},z0={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const s=t.findIndex(r=>r.tag==="title");if(s!==-1&&n!==-1){const r=Ac(t[n].textContent,t[s].textContent);r!==null?t[s].textContent=r||t[s].textContent:delete t[s]}else if(n!==-1){const r=Ac(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let Vd;function B0(e={}){const t=U0(e);return t.use(N0()),Vd=t}function Lc(e,t){return!e||e==="server"&&t||e==="client"&&!t}function U0(e={}){const t=w0();t.addHooks(e.hooks||{}),e.document=e.document||(P0?document:void 0);const n=!e.document;e.plugins=[L0,j0,D0,H0,q0,V0,z0,...(e==null?void 0:e.plugins)||[]];const s=()=>t.callHook("entries:updated",a);let r=0,i=[];const a={resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;Lc(c.mode,n)&&t.addHooks(c.hooks||{})},push(l,c){const u={_i:r++,input:l,...c};return Lc(u.mode,n)&&(i.push(u),s()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),s()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),s()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await A0(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),l.tags},ssr:n};return e.plugins.forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function K0(){return Vd}const W0=Ii.startsWith("3");function G0(e){return typeof e=="function"?e():C(e)}function Ri(e,t=""){if(e instanceof Promise)return e;const n=G0(e);return!e||!n?n:Array.isArray(n)?n.map(s=>Ri(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,r])=>s==="titleTemplate"||s.startsWith("on")?[s,C(r)]:[s,Ri(r,s)])):n}const Y0={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ri(t.input)}}},zd="usehead";function Z0(e){return{install(n){W0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(zd,e))}}.install}function J0(e={}){e.domDelayFn=e.domDelayFn||(n=>et(()=>n()));const t=B0(e);return t.use(Y0),t.install=Z0(t),t}function X0(){return Nt()&&Z(zd)||K0()}function Bd(e,t={}){const n=X0();if(n)return n.ssr?n.push(e,t):Q0(n,e,t)}function Q0(e,t,n={}){const s=z(!1),r=z({});Rs(()=>{r.value=s.value?{}:Ri(t)});const i=e.push(r.value,n);return pe(r,l=>{i.patch(l)}),Nt()&&(jr(()=>{i.dispose()}),ud(()=>{s.value=!0}),cd(()=>{s.value=!1})),i}function e_(e,t){const n=J0(t||{}),s={unhead:n,install(r){Ii.startsWith("3")&&(r.config.globalProperties.$head=n,r.provide("usehead",n))},use(r){n.use(r)},resolveTags(){return n.resolveTags()},headEntries(){return n.headEntries()},headTags(){return n.resolveTags()},push(r,i){return n.push(r,i)},addEntry(r,i){return n.push(r,i)},addHeadObjs(r,i){return n.push(r,i)},addReactiveEntry(r,i){const a=Bd(r,i);return typeof a<"u"?a.dispose:()=>{}},removeHeadObjs(){},updateDOM(r,i){i?Hd(n,{document:r}):qd(n,{delayFn:a=>setTimeout(()=>a(),50),document:r})},internalHooks:n.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return n.addHeadObjs=s.addHeadObjs,n.updateDOM=s.updateDOM,n.hooks.hook("dom:beforeRender",r=>{for(const i of s.hooks["before:dom"])i()===!1&&(r.shouldRender=!1)}),e&&s.addHeadObjs(e),s}const fi=Symbol("v-click-clicks"),Ss=Symbol("v-click-clicks-elements"),ua=Symbol("v-click-clicks-order-map"),di=Symbol("v-click-clicks-disabled"),Ud=Symbol("slidev-slide-scale"),ee=Symbol("slidev-slidev-context"),t_=Symbol("slidev-route"),n_=Symbol("slidev-slide-context"),ys="slidev-vclick-target",Eo="slidev-vclick-hidden",s_="slidev-vclick-fade",So="slidev-vclick-hidden-explicitly",Us="slidev-vclick-current",Jr="slidev-vclick-prior",r_=["localhost","127.0.0.1"];let i_=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");function jc(e,t){if(!e)return!1;const n=e.indexOf(t);return n>=0?(e.splice(n,1),!0):!1}function o_(e){return e!=null}function a_(e,t){return Object.fromEntries(Object.entries(e).map(([n,s])=>t(n,s)).filter(o_))}const rr={theme:"academic",title:"Projet de fin d'étude",titleTemplate:"%s - Slidev",addons:[],remoteAssets:!1,monaco:"dev",download:!1,export:{},info:!1,highlighter:"prism",lineNumbers:!1,colorSchema:"auto",routerMode:"history",aspectRatio:1.7777777777777777,canvasWidth:980,exportFilename:"",selectable:!1,themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},fonts:{sans:['"Montserrat"',"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:['"Roboto Slab"',"ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:['"Roboto Mono"',"ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"],webfonts:["Montserrat","Roboto Slab","Roboto 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",codeCopy:!0,record:"dev",css:"unocss",presenter:!0,htmlAttrs:{},hightlighter:"prism",class:"text-white",coverAuthor:"Laurent Fainsin",coverBackgroundUrl:"https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/aube.jpg",coverBackgroundSource:"Safran Media Library",coverBackgroundSourceUrl:"https://medialibrary.safran-group.com/Photos/media/179440",coverDate:"2023-09-07"},Ce=rr,Pn=Ce.aspectRatio??16/9,Cn=Ce.canvasWidth??980,hl=Math.ceil(Cn/Pn),gl=T(()=>a_(Ce.themeConfig||{},(e,t)=>[`--slidev-theme-${e}`,t]));function Kd(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(2,10)}function Rt(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1})}const hs=Ve({page:0,clicks:0});let l_=[],c_=[];Rt(hs,"$syncUp",!0);Rt(hs,"$syncDown",!0);Rt(hs,"$paused",!1);Rt(hs,"$onSet",e=>l_.push(e));Rt(hs,"$onPatch",e=>c_.push(e));Kd();Rt(hs,"$patch",async()=>!1);function Wd(e,t,n=!1){const s=[];let r=!1,i=!1,a,l;const c=Ve(t);function u(m){s.push(m)}function f(m,g){c[m]!==g&&(clearTimeout(a),r=!0,c[m]=g,a=setTimeout(()=>r=!1,0))}function d(m){r||(clearTimeout(l),i=!0,Object.entries(m).forEach(([g,b])=>{c[g]=b}),l=setTimeout(()=>i=!1,0))}function p(m){let g;n?n&&window.addEventListener("storage",w=>{w&&w.key===m&&w.newValue&&d(JSON.parse(w.newValue))}):(g=new BroadcastChannel(m),g.addEventListener("message",w=>d(w.data)));function b(){!n&&g&&!i?g.postMessage(ue(c)):n&&!i&&window.localStorage.setItem(m,JSON.stringify(c)),r||s.forEach(w=>w(c))}if(pe(c,b,{deep:!0,flush:"sync"}),n){const w=window.localStorage.getItem(m);w&&d(JSON.parse(w))}}return{init:p,onPatch:u,patch:f,state:c}}const{init:u_,onPatch:f_,patch:Ks,state:$o}=Wd(hs,{page:1,clicks:0,viewerPage:1,viewerClicks:0}),gs=Ve({});let d_=[],p_=[];Rt(gs,"$syncUp",!0);Rt(gs,"$syncDown",!0);Rt(gs,"$paused",!1);Rt(gs,"$onSet",e=>d_.push(e));Rt(gs,"$onPatch",e=>p_.push(e));Kd();Rt(gs,"$patch",async()=>!1);const{init:m_,onPatch:h_,patch:Gd,state:Li}=Wd(gs,{},!1),g_="modulepreload",v_=function(e){return"/projet-fin-etude/"+e},Dc={},On=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=v_(i),i in Dc)return;Dc[i]=!0;const a=i.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!s)for(let f=r.length-1;f>=0;f--){const d=r[f];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const u=document.createElement("link");if(u.rel=a?"stylesheet":g_,a||(u.as="script",u.crossOrigin=""),u.href=i,document.head.appendChild(u),a)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})};function __(e,t){let n,s,r;const i=z(!0),a=()=>{i.value=!0,r()};pe(e,a,{flush:"sync"});const l=typeof t=="function"?t:t.get,c=typeof t=="function"?void 0:t.set,u=nl((f,d)=>(s=f,r=d,{get(){return i.value&&(n=l(),i.value=!1),s(),n},set(p){c==null||c(p)}}));return Object.isExtensible(u)&&(u.trigger=a),u}function fn(e){return Ya()?($f(e),!0):!1}function Ue(e){return typeof e=="function"?e():C(e)}function y_(e){if(!Se(e))return Ve(e);const t=new Proxy({},{get(n,s,r){return C(Reflect.get(e.value,s,r))},set(n,s,r){return Se(e.value[s])&&!Se(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 Ve(t)}const dn=typeof window<"u",b_=e=>typeof e<"u",w_=e=>e!=null,x_=Object.prototype.toString,fa=e=>x_.call(e)==="[object Object]",da=()=>+Date.now(),kn=()=>{},E_=S_();function S_(){var e;return dn&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function $_(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Yd=e=>e();function P_(e=Yd){const t=z(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Wt(t),pause:n,resume:s,eventFilter:r}}function C_(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),i=Number.parseFloat(s)+t;return Number.isNaN(i)?e:i+r}function O_(...e){if(e.length!==1)return Uh(...e);const t=e[0];return typeof t=="function"?Wt(nl(()=>({get:t,set:kn}))):z(t)}var k_=Object.defineProperty,T_=Object.defineProperties,A_=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,M_=Object.prototype.hasOwnProperty,I_=Object.prototype.propertyIsEnumerable,Hc=(e,t,n)=>t in e?k_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,N_=(e,t)=>{for(var n in t||(t={}))M_.call(t,n)&&Hc(e,n,t[n]);if(Fc)for(var n of Fc(t))I_.call(t,n)&&Hc(e,n,t[n]);return e},R_=(e,t)=>T_(e,A_(t));function L_(e,t={}){if(!Se(e))return Vh(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const s in e.value)n[s]=nl(()=>({get(){return e.value[s]},set(r){var i;if((i=Ue(t.replaceRef))!=null?i:!0)if(Array.isArray(e.value)){const l=[...e.value];l[s]=r,e.value=l}else{const l=R_(N_({},e.value),{[s]:r});Object.setPrototypeOf(l,Object.getPrototypeOf(e.value)),e.value=l}else e.value[s]=r}}));return n}function Zd(e,t=!0){Nt()?ps(e):t?e():et(e)}function j_(e){Nt()&&cl(e)}function D_(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let i=null;const a=z(!1);function l(){i&&(clearInterval(i),i=null)}function c(){a.value=!1,l()}function u(){const f=Ue(t);f<=0||(a.value=!0,r&&e(),l(),i=setInterval(e,f))}if(s&&dn&&u(),Se(t)||typeof t=="function"){const f=pe(t,()=>{a.value&&dn&&u()});fn(f)}return fn(c),{isActive:a,pause:c,resume:u}}function Jd(e=!1,t={}){const{truthyValue:n=!0,falsyValue:s=!1}=t,r=Se(e),i=z(e);function a(l){if(arguments.length)return i.value=l,i.value;{const c=Ue(n);return i.value=i.value===c?Ue(s):c,i.value}}return r?a:[i,a]}var qc=Object.getOwnPropertySymbols,F_=Object.prototype.hasOwnProperty,H_=Object.prototype.propertyIsEnumerable,q_=(e,t)=>{var n={};for(var s in e)F_.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&qc)for(var s of qc(e))t.indexOf(s)<0&&H_.call(e,s)&&(n[s]=e[s]);return n};function V_(e,t,n={}){const s=n,{eventFilter:r=Yd}=s,i=q_(s,["eventFilter"]);return pe(e,$_(r,t),i)}var z_=Object.defineProperty,B_=Object.defineProperties,U_=Object.getOwnPropertyDescriptors,ji=Object.getOwnPropertySymbols,Xd=Object.prototype.hasOwnProperty,Qd=Object.prototype.propertyIsEnumerable,Vc=(e,t,n)=>t in e?z_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,K_=(e,t)=>{for(var n in t||(t={}))Xd.call(t,n)&&Vc(e,n,t[n]);if(ji)for(var n of ji(t))Qd.call(t,n)&&Vc(e,n,t[n]);return e},W_=(e,t)=>B_(e,U_(t)),G_=(e,t)=>{var n={};for(var s in e)Xd.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ji)for(var s of ji(e))t.indexOf(s)<0&&Qd.call(e,s)&&(n[s]=e[s]);return n};function Y_(e,t,n={}){const s=n,{eventFilter:r}=s,i=G_(s,["eventFilter"]),{eventFilter:a,pause:l,resume:c,isActive:u}=P_(r);return{stop:V_(e,t,W_(K_({},i),{eventFilter:a})),pause:l,resume:c,isActive:u}}function tt(e){var t;const n=Ue(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ze=dn?window:void 0,ep=dn?window.document:void 0;function we(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ze):[t,n,s,r]=e,!t)return kn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],a=()=>{i.forEach(f=>f()),i.length=0},l=(f,d,p,m)=>(f.addEventListener(d,p,m),()=>f.removeEventListener(d,p,m)),c=pe(()=>[tt(t),Ue(r)],([f,d])=>{a(),f&&i.push(...n.flatMap(p=>s.map(m=>l(f,p,m,d))))},{immediate:!0,flush:"post"}),u=()=>{c(),a()};return fn(u),u}let zc=!1;function Z_(e,t,n={}){const{window:s=Ze,ignore:r=[],capture:i=!0,detectIframe:a=!1}=n;if(!s)return;E_&&!zc&&(zc=!0,Array.from(s.document.body.children).forEach(p=>p.addEventListener("click",kn)),s.document.documentElement.addEventListener("click",kn));let l=!0;const c=p=>r.some(m=>{if(typeof m=="string")return Array.from(s.document.querySelectorAll(m)).some(g=>g===p.target||p.composedPath().includes(g));{const g=tt(m);return g&&(p.target===g||p.composedPath().includes(g))}}),f=[we(s,"click",p=>{const m=tt(e);if(!(!m||m===p.target||p.composedPath().includes(m))){if(p.detail===0&&(l=!c(p)),!l){l=!0;return}t(p)}},{passive:!0,capture:i}),we(s,"pointerdown",p=>{const m=tt(e);m&&(l=!p.composedPath().includes(m)&&!c(p))},{passive:!0}),a&&we(s,"blur",p=>{setTimeout(()=>{var m;const g=tt(e);((m=s.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(g!=null&&g.contains(s.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>f.forEach(p=>p())}function J_(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function X_(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Ze,eventName:i="keydown",passive:a=!1,dedupe:l=!1}=s,c=J_(t);return we(r,i,f=>{f.repeat&&Ue(l)||c(f)&&n(f)},a)}function Q_(e={}){var t;const{window:n=Ze,deep:s=!0}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,i=()=>{var l;let c=r==null?void 0:r.activeElement;if(s)for(;c!=null&&c.shadowRoot;)c=(l=c==null?void 0:c.shadowRoot)==null?void 0:l.activeElement;return c},a=__(()=>null,()=>i());return n&&(we(n,"blur",l=>{l.relatedTarget===null&&a.trigger()},!0),we(n,"focus",a.trigger,!0)),a}function ey(){const e=z(!1);return Nt()&&ps(()=>{e.value=!0}),e}function oo(e){const t=ey();return T(()=>(t.value,!!e()))}function ty(e,t={}){const{immediate:n=!0,window:s=Ze}=t,r=z(!1);let i=0,a=null;function l(f){if(!r.value||!s)return;const d=f-(i||f);e({delta:d,timestamp:f}),i=f,a=s.requestAnimationFrame(l)}function c(){!r.value&&s&&(r.value=!0,a=s.requestAnimationFrame(l))}function u(){r.value=!1,a!=null&&s&&(s.cancelAnimationFrame(a),a=null)}return n&&c(),fn(u),{isActive:Wt(r),pause:u,resume:c}}function Zn(e,t={}){const{window:n=Ze}=t,s=oo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=z(!1),a=u=>{i.value=u.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},c=Rs(()=>{s.value&&(l(),r=n.matchMedia(Ue(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return fn(()=>{c(),l(),r=void 0}),i}const ny={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function sy(e,t={}){function n(l,c){let u=e[l];return c!=null&&(u=C_(u,c)),typeof u=="number"&&(u=`${u}px`),u}const{window:s=Ze}=t;function r(l){return s?s.matchMedia(l).matches:!1}const i=l=>Zn(`(min-width: ${n(l)})`,t),a=Object.keys(e).reduce((l,c)=>(Object.defineProperty(l,c,{get:()=>i(c),enumerable:!0,configurable:!0}),l),{});return Object.assign(a,{greater(l){return Zn(`(min-width: ${n(l,.1)})`,t)},greaterOrEqual:i,smaller(l){return Zn(`(max-width: ${n(l,-.1)})`,t)},smallerOrEqual(l){return Zn(`(max-width: ${n(l)})`,t)},between(l,c){return Zn(`(min-width: ${n(l)}) and (max-width: ${n(c,-.1)})`,t)},isGreater(l){return r(`(min-width: ${n(l,.1)})`)},isGreaterOrEqual(l){return r(`(min-width: ${n(l)})`)},isSmaller(l){return r(`(max-width: ${n(l,-.1)})`)},isSmallerOrEqual(l){return r(`(max-width: ${n(l)})`)},isInBetween(l,c){return r(`(min-width: ${n(l)}) and (max-width: ${n(c,-.1)})`)},current(){const l=Object.keys(e).map(c=>[c,i(c)]);return T(()=>l.filter(([,c])=>c.value).map(([c])=>c))}})}function ry(e){return JSON.parse(JSON.stringify(e))}const Xr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qr="__vueuse_ssr_handlers__",iy=oy();function oy(){return Qr in Xr||(Xr[Qr]=Xr[Qr]||{}),Xr[Qr]}function ay(e,t){return iy[e]||t}function ly(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var cy=Object.defineProperty,Bc=Object.getOwnPropertySymbols,uy=Object.prototype.hasOwnProperty,fy=Object.prototype.propertyIsEnumerable,Uc=(e,t,n)=>t in e?cy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kc=(e,t)=>{for(var n in t||(t={}))uy.call(t,n)&&Uc(e,n,t[n]);if(Bc)for(var n of Bc(t))fy.call(t,n)&&Uc(e,n,t[n]);return e};const dy={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Wc="vueuse-storage";function py(e,t,n,s={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:d=Ze,eventFilter:p,onError:m=A=>{console.error(A)}}=s,g=(f?Qt:z)(t);if(!n)try{n=ay("getDefaultStorage",()=>{var A;return(A=Ze)==null?void 0:A.localStorage})()}catch(A){m(A)}if(!n)return g;const b=Ue(t),w=ly(b),y=(r=s.serializer)!=null?r:dy[w],{pause:x,resume:_}=Y_(g,()=>P(g.value),{flush:i,deep:a,eventFilter:p});return d&&l&&(we(d,"storage",j),we(d,Wc,k)),j(),g;function P(A){try{if(A==null)n.removeItem(e);else{const F=y.write(A),Y=n.getItem(e);Y!==F&&(n.setItem(e,F),d&&d.dispatchEvent(new CustomEvent(Wc,{detail:{key:e,oldValue:Y,newValue:F,storageArea:n}})))}}catch(F){m(F)}}function $(A){const F=A?A.newValue:n.getItem(e);if(F==null)return c&&b!==null&&n.setItem(e,y.write(b)),b;if(!A&&u){const Y=y.read(F);return typeof u=="function"?u(Y,b):w==="object"&&!Array.isArray(Y)?Kc(Kc({},b),Y):Y}else return typeof F!="string"?F:y.read(F)}function k(A){j(A.detail)}function j(A){if(!(A&&A.storageArea!==n)){if(A&&A.key==null){g.value=b;return}if(!(A&&A.key!==e)){x();try{g.value=$(A)}catch(F){m(F)}finally{A?et(_):_()}}}}}function my(e){return Zn("(prefers-color-scheme: dark)",e)}var hy=Object.defineProperty,gy=Object.defineProperties,vy=Object.getOwnPropertyDescriptors,Gc=Object.getOwnPropertySymbols,_y=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,Yc=(e,t,n)=>t in e?hy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,by=(e,t)=>{for(var n in t||(t={}))_y.call(t,n)&&Yc(e,n,t[n]);if(Gc)for(var n of Gc(t))yy.call(t,n)&&Yc(e,n,t[n]);return e},wy=(e,t)=>gy(e,vy(t));function MA(e,t={}){var n,s;const{pointerTypes:r,preventDefault:i,stopPropagation:a,exact:l,onMove:c,onEnd:u,onStart:f,initialValue:d,axis:p="both",draggingElement:m=Ze,handle:g=e}=t,b=z((n=Ue(d))!=null?n:{x:0,y:0}),w=z(),y=k=>r?r.includes(k.pointerType):!0,x=k=>{Ue(i)&&k.preventDefault(),Ue(a)&&k.stopPropagation()},_=k=>{if(!y(k)||Ue(l)&&k.target!==Ue(e))return;const j=Ue(e).getBoundingClientRect(),A={x:k.clientX-j.left,y:k.clientY-j.top};(f==null?void 0:f(A,k))!==!1&&(w.value=A,x(k))},P=k=>{if(!y(k)||!w.value)return;let{x:j,y:A}=b.value;(p==="x"||p==="both")&&(j=k.clientX-w.value.x),(p==="y"||p==="both")&&(A=k.clientY-w.value.y),b.value={x:j,y:A},c==null||c(b.value,k),x(k)},$=k=>{y(k)&&w.value&&(w.value=void 0,u==null||u(b.value,k),x(k))};if(dn){const k={capture:(s=t.capture)!=null?s:!0};we(g,"pointerdown",_,k),we(m,"pointermove",P,k),we(m,"pointerup",$,k)}return wy(by({},L_(b)),{position:b,isDragging:T(()=>!!w.value),style:T(()=>`left:${b.value.x}px;top:${b.value.y}px;`)})}var Zc=Object.getOwnPropertySymbols,xy=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,Sy=(e,t)=>{var n={};for(var s in e)xy.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Zc)for(var s of Zc(e))t.indexOf(s)<0&&Ey.call(e,s)&&(n[s]=e[s]);return n};function $y(e,t,n={}){const s=n,{window:r=Ze}=s,i=Sy(s,["window"]);let a;const l=oo(()=>r&&"ResizeObserver"in r),c=()=>{a&&(a.disconnect(),a=void 0)},u=T(()=>Array.isArray(e)?e.map(p=>tt(p)):[tt(e)]),f=pe(u,p=>{if(c(),l.value&&r){a=new ResizeObserver(t);for(const m of p)m&&a.observe(m,i)}},{immediate:!0,flush:"post",deep:!0}),d=()=>{c(),f()};return fn(d),{isSupported:l,stop:d}}function Py(e,t={width:0,height:0},n={}){const{window:s=Ze,box:r="content-box"}=n,i=T(()=>{var c,u;return(u=(c=tt(e))==null?void 0:c.namespaceURI)==null?void 0:u.includes("svg")}),a=z(t.width),l=z(t.height);return $y(e,([c])=>{const u=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(s&&i.value){const f=tt(e);if(f){const d=s.getComputedStyle(f);a.value=Number.parseFloat(d.width),l.value=Number.parseFloat(d.height)}}else if(u){const f=Array.isArray(u)?u:[u];a.value=f.reduce((d,{inlineSize:p})=>d+p,0),l.value=f.reduce((d,{blockSize:p})=>d+p,0)}else a.value=c.contentRect.width,l.value=c.contentRect.height},n),pe(()=>tt(e),c=>{a.value=c?t.width:0,l.value=c?t.height:0}),{width:a,height:l}}function Cy(e,t,n={}){const{root:s,rootMargin:r="0px",threshold:i=.1,window:a=Ze,immediate:l=!0}=n,c=oo(()=>a&&"IntersectionObserver"in a),u=T(()=>{const g=Ue(e);return(Array.isArray(g)?g:[g]).map(tt).filter(w_)});let f=kn;const d=z(l),p=c.value?pe(()=>[u.value,tt(s),d.value],([g,b])=>{if(f(),!d.value||!g.length)return;const w=new IntersectionObserver(t,{root:tt(b),rootMargin:r,threshold:i});g.forEach(y=>y&&w.observe(y)),f=()=>{w.disconnect(),f=kn}},{immediate:l,flush:"post"}):kn,m=()=>{f(),p(),d.value=!1};return fn(m),{isSupported:c,isActive:d,pause(){f(),d.value=!1},resume(){d.value=!0},stop:m}}const Jc=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Oy(e,t={}){const{document:n=ep,autoExit:s=!1}=t,r=T(()=>{var y;return(y=tt(e))!=null?y:n==null?void 0:n.querySelector("html")}),i=z(!1),a=T(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||r.value&&y in r.value)),l=T(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||r.value&&y in r.value)),c=T(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||r.value&&y in r.value)),u=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),f=oo(()=>r.value&&n&&a.value!==void 0&&l.value!==void 0&&c.value!==void 0),d=()=>u?(n==null?void 0:n[u])===r.value:!1,p=()=>{if(c.value){if(n&&n[c.value]!=null)return n[c.value];{const y=r.value;if((y==null?void 0:y[c.value])!=null)return!!y[c.value]}}return!1};async function m(){if(!(!f.value||!i.value)){if(l.value)if((n==null?void 0:n[l.value])!=null)await n[l.value]();else{const y=r.value;(y==null?void 0:y[l.value])!=null&&await y[l.value]()}i.value=!1}}async function g(){if(!f.value||i.value)return;p()&&await m();const y=r.value;a.value&&(y==null?void 0:y[a.value])!=null&&(await y[a.value](),i.value=!0)}async function b(){await(i.value?m():g())}const w=()=>{const y=p();(!y||y&&d())&&(i.value=y)};return we(n,Jc,w,!1),we(()=>tt(r),Jc,w,!1),s&&fn(m),{isSupported:f,isFullscreen:i,enter:g,exit:m,toggle:b}}function qt(e,t,n={}){const{window:s=Ze}=n;return py(e,t,s==null?void 0:s.localStorage,n)}const ky={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Ty(e={}){const{reactive:t=!1,target:n=Ze,aliasMap:s=ky,passive:r=!0,onEventFired:i=kn}=e,a=Ve(new Set),l={toJSON(){return{}},current:a},c=t?Ve(l):l,u=new Set,f=new Set;function d(b,w){b in c&&(t?c[b]=w:c[b].value=w)}function p(){a.clear();for(const b of f)d(b,!1)}function m(b,w){var y,x;const _=(y=b.key)==null?void 0:y.toLowerCase(),$=[(x=b.code)==null?void 0:x.toLowerCase(),_].filter(Boolean);_&&(w?a.add(_):a.delete(_));for(const k of $)f.add(k),d(k,w);_==="meta"&&!w?(u.forEach(k=>{a.delete(k),d(k,!1)}),u.clear()):typeof b.getModifierState=="function"&&b.getModifierState("Meta")&&w&&[...a,...$].forEach(k=>u.add(k))}we(n,"keydown",b=>(m(b,!0),i(b)),{passive:r}),we(n,"keyup",b=>(m(b,!1),i(b)),{passive:r}),we("blur",p,{passive:!0}),we("focus",p,{passive:!0});const g=new Proxy(c,{get(b,w,y){if(typeof w!="string")return Reflect.get(b,w,y);if(w=w.toLowerCase(),w in s&&(w=s[w]),!(w in c))if(/[+_-]/.test(w)){const _=w.split(/[+_-]/g).map(P=>P.trim());c[w]=T(()=>_.every(P=>Ue(g[P])))}else c[w]=z(!1);const x=Reflect.get(b,w,y);return t?Ue(x):x}});return g}const Ay={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function IA(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:s=!1,initialValue:r={x:0,y:0},window:i=Ze,target:a=i,eventFilter:l}=e,c=z(r.x),u=z(r.y),f=z(null),d=typeof t=="function"?t:Ay[t],p=y=>{const x=d(y);x&&([c.value,u.value]=x,f.value="mouse")},m=y=>{if(y.touches.length>0){const x=d(y.touches[0]);x&&([c.value,u.value]=x,f.value="touch")}},g=()=>{c.value=r.x,u.value=r.y},b=l?y=>l(()=>p(y),{}):y=>p(y),w=l?y=>l(()=>m(y),{}):y=>m(y);if(a){const y={passive:!0};we(a,["mousemove","dragover"],b,y),n&&t!=="movement"&&(we(a,["touchstart","touchmove"],w,y),s&&we(a,"touchend",g,y))}return{x:c,y:u,sourceType:f}}function My(e,t={}){const n=O_(e),{threshold:s=50,onSwipe:r,onSwipeEnd:i,onSwipeStart:a}=t,l=Ve({x:0,y:0}),c=(k,j)=>{l.x=k,l.y=j},u=Ve({x:0,y:0}),f=(k,j)=>{u.x=k,u.y=j},d=T(()=>l.x-u.x),p=T(()=>l.y-u.y),{max:m,abs:g}=Math,b=T(()=>m(g(d.value),g(p.value))>=s),w=z(!1),y=z(!1),x=T(()=>b.value?g(d.value)>g(p.value)?d.value>0?"left":"right":p.value>0?"up":"down":"none"),_=k=>{var j,A,F;const Y=k.buttons===0,oe=k.buttons===1;return(F=(A=(j=t.pointerTypes)==null?void 0:j.includes(k.pointerType))!=null?A:Y||oe)!=null?F:!0},P=[we(e,"pointerdown",k=>{var j,A;if(!_(k))return;y.value=!0,(A=(j=n.value)==null?void 0:j.style)==null||A.setProperty("touch-action","none");const F=k.target;F==null||F.setPointerCapture(k.pointerId);const{clientX:Y,clientY:oe}=k;c(Y,oe),f(Y,oe),a==null||a(k)}),we(e,"pointermove",k=>{if(!_(k)||!y.value)return;const{clientX:j,clientY:A}=k;f(j,A),!w.value&&b.value&&(w.value=!0),w.value&&(r==null||r(k))}),we(e,"pointerup",k=>{var j,A;_(k)&&(w.value&&(i==null||i(k,x.value)),y.value=!1,w.value=!1,(A=(j=n.value)==null?void 0:j.style)==null||A.setProperty("touch-action","initial"))})],$=()=>P.forEach(k=>k());return{isSwiping:Wt(w),direction:Wt(x),posStart:Wt(l),posEnd:Wt(u),distanceX:d,distanceY:p,stop:$}}let Iy=0;function NA(e,t={}){const n=z(!1),{document:s=ep,immediate:r=!0,manual:i=!1,id:a=`vueuse_styletag_${++Iy}`}=t,l=z(e);let c=()=>{};const u=()=>{if(!s)return;const d=s.getElementById(a)||s.createElement("style");d.isConnected||(d.id=a,t.media&&(d.media=t.media),s.head.appendChild(d)),!n.value&&(c=pe(l,p=>{d.textContent=p},{immediate:!0}),n.value=!0)},f=()=>{!s||!n.value||(c(),s.head.removeChild(s.getElementById(a)),n.value=!1)};return r&&!i&&Zd(u),i||fn(f),{id:a,css:l,unload:f,load:u,isLoaded:Wt(n)}}var Ny=Object.defineProperty,Xc=Object.getOwnPropertySymbols,Ry=Object.prototype.hasOwnProperty,Ly=Object.prototype.propertyIsEnumerable,Qc=(e,t,n)=>t in e?Ny(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,jy=(e,t)=>{for(var n in t||(t={}))Ry.call(t,n)&&Qc(e,n,t[n]);if(Xc)for(var n of Xc(t))Ly.call(t,n)&&Qc(e,n,t[n]);return e};function RA(e={}){const{controls:t=!1,offset:n=0,immediate:s=!0,interval:r="requestAnimationFrame",callback:i}=e,a=z(da()+n),l=()=>a.value=da()+n,c=i?()=>{l(),i(a.value)}:l,u=r==="requestAnimationFrame"?ty(c,{immediate:s}):D_(c,r,{immediate:s});return t?jy({timestamp:a},u):a}function Gt(e,t,n,s={}){var r,i,a;const{clone:l=!1,passive:c=!1,eventName:u,deep:f=!1,defaultValue:d,shouldEmit:p}=s,m=Nt(),g=n||(m==null?void 0:m.emit)||((r=m==null?void 0:m.$emit)==null?void 0:r.bind(m))||((a=(i=m==null?void 0:m.proxy)==null?void 0:i.$emit)==null?void 0:a.bind(m==null?void 0:m.proxy));let b=u;t||(t="modelValue"),b=b||`update:${t.toString()}`;const w=_=>l?typeof l=="function"?l(_):ry(_):_,y=()=>b_(e[t])?w(e[t]):d,x=_=>{p?p(_)&&g(b,_):g(b,_)};if(c){const _=y(),P=z(_);return pe(()=>e[t],$=>P.value=w($)),pe(P,$=>{($!==e[t]||f)&&x($)},{deep:f}),P}else return T({get(){return y()},set(_){x(_)}})}function LA({window:e=Ze}={}){if(!e)return z(!1);const t=z(e.document.hasFocus());return we(e,"blur",()=>{t.value=!1}),we(e,"focus",()=>{t.value=!0}),t}function Dy(e={}){const{window:t=Ze,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0}=e,a=z(n),l=z(s),c=()=>{t&&(i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Zd(c),we("resize",c,{passive:!0}),r){const u=Zn("(orientation: portrait)");pe(u,()=>c())}return{width:a,height:l}}function Fy(){return tp().__VUE_DEVTOOLS_GLOBAL_HOOK__}function tp(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const Hy=typeof Proxy=="function",qy="devtools-plugin:setup",Vy="plugin:settings:set";let bs,pa;function zy(){var e;return bs!==void 0||(typeof window<"u"&&window.performance?(bs=!0,pa=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(bs=!0,pa=global.perf_hooks.performance):bs=!1),bs}function By(){return zy()?pa.now():Date.now()}class Uy{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const a in t.settings){const l=t.settings[a];s[a]=l.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},s);try{const a=localStorage.getItem(r),l=JSON.parse(a);Object.assign(i,l)}catch{}this.fallbacks={getSettings(){return i},setSettings(a){try{localStorage.setItem(r,JSON.stringify(a))}catch{}i=a},now(){return By()}},n&&n.on(Vy,(a,l)=>{a===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(a,l)=>this.target?this.target.on[l]:(...c)=>{this.onQueue.push({method:l,args:c})}}),this.proxiedTarget=new Proxy({},{get:(a,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...c)=>(this.targetQueue.push({method:l,args:c,resolve:()=>{}}),this.fallbacks[l](...c)):(...c)=>new Promise(u=>{this.targetQueue.push({method:l,args:c,resolve:u})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Ky(e,t){const n=e,s=tp(),r=Fy(),i=Hy&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))r.emit(qy,e,t);else{const a=i?new Uy(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
* vue-router v4.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const an=typeof window<"u";function Wy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ke=Object.assign;function Po(e,t){const n={};for(const s in t){const r=t[s];n[s]=$t(r)?r.map(e):e(r)}return n}const lr=()=>{},$t=Array.isArray;function Ee(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Gy=/\/$/,Yy=e=>e.replace(Gy,"");function Co(e,t,n="/"){let s,r={},i="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(s=t.slice(0,c),i=t.slice(c+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=Xy(s??t,n),{fullPath:s+(i&&"?")+i+a,path:s,query:r,hash:a}}function Zy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function eu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&jn(t.matched[s],n.matched[r])&&np(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function jn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function np(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Jy(e[n],t[n]))return!1;return!0}function Jy(e,t){return $t(e)?nu(e,t):$t(t)?nu(t,e):e===t}function nu(e,t){return $t(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Xy(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return Ee(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(a-(a===s.length?1:0)).join("/")}var Sr;(function(e){e.pop="pop",e.push="push"})(Sr||(Sr={}));var cr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cr||(cr={}));function Qy(e){if(!e)if(an){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Yy(e)}const eb=/^[^#]+#/;function tb(e,t){return e.replace(eb,"#")+t}function nb(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ao=()=>({left:window.pageXOffset,top:window.pageYOffset});function sb(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#");if(typeof e.el=="string"&&(!s||!document.getElementById(e.el.slice(1))))try{const i=document.querySelector(e.el);if(s&&i){Ee(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{Ee(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r){Ee(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=nb(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 su(e,t){return(history.state?history.state.position-t:-1)+e}const ma=new Map;function rb(e,t){ma.set(e,t)}function ib(e){const t=ma.get(e);return ma.delete(e),t}let ob=()=>location.protocol+"//"+location.host;function sp(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let l=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),eu(c,"")}return eu(n,e)+s+r}function ab(e,t,n,s){let r=[],i=[],a=null;const l=({state:p})=>{const m=sp(e,location),g=n.value,b=t.value;let w=0;if(p){if(n.value=m,t.value=p,a&&a===g){a=null;return}w=b?p.position-b.position:0}else s(m);r.forEach(y=>{y(n.value,g,{delta:w,type:Sr.pop,direction:w?w>0?cr.forward:cr.back:cr.unknown})})};function c(){a=n.value}function u(p){r.push(p);const m=()=>{const g=r.indexOf(p);g>-1&&r.splice(g,1)};return i.push(m),m}function f(){const{history:p}=window;p.state&&p.replaceState(ke({},p.state,{scroll:ao()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:u,destroy:d}}function ru(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ao():null}}function lb(e){const{history:t,location:n}=window,s={value:sp(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(c,u,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:ob()+e+c;try{t[f?"replaceState":"pushState"](u,"",p),r.value=u}catch(m){Ee("Error with push/replace State",m),n[f?"replace":"assign"](p)}}function a(c,u){const f=ke({},t.state,ru(r.value.back,c,r.value.forward,!0),u,{position:r.value.position});i(c,f,!0),s.value=c}function l(c,u){const f=ke({},r.value,t.state,{forward:c,scroll:ao()});t.state||Ee(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
history.replaceState(history.state, '', url)
You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`),i(f.current,f,!0);const d=ke({},ru(s.value,c,null),{position:f.position+1},u);i(c,d,!1),s.value=c}return{location:s,state:r,push:l,replace:a}}function cb(e){e=Qy(e);const t=lb(e),n=ab(e,t.state,t.location,t.replace);function s(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=ke({location:"",base:e,go:s,createHref:tb.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 ub(e){return typeof e=="string"||e&&typeof e=="object"}function rp(e){return typeof e=="string"||typeof e=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ip=Symbol("navigation failure");var iu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(iu||(iu={}));const fb={1({location:e,currentLocation:t}){return`No match for
${JSON.stringify(e)}${t?`
while being at
`+JSON.stringify(t):""}`},2({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${pb(t)}" via a navigation guard.`},4({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function Ms(e,t){return ke(new Error(fb[e](t)),{type:e,[ip]:!0},t)}function tn(e,t){return e instanceof Error&&ip in e&&(t==null||!!(e.type&t))}const db=["params","query","hash"];function pb(e){if(typeof e=="string")return e;if("path"in e)return e.path;const t={};for(const n of db)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const ou="[^/]+?",mb={sensitive:!1,strict:!1,start:!0,end:!0},hb=/[.+*?^${}()[\]/\\]/g;function gb(e,t){const n=ke({},mb,t),s=[];let r=n.start?"^":"";const i=[];for(const u of e){const f=u.length?[]:[90];n.strict&&!u.length&&(r+="/");for(let d=0;d<u.length;d++){const p=u[d];let m=40+(n.sensitive?.25:0);if(p.type===0)d||(r+="/"),r+=p.value.replace(hb,"\\$&"),m+=40;else if(p.type===1){const{value:g,repeatable:b,optional:w,regexp:y}=p;i.push({name:g,repeatable:b,optional:w});const x=y||ou;if(x!==ou){m+=10;try{new RegExp(`(${x})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${g}" (${x}): `+P.message)}}let _=b?`((?:${x})(?:/(?:${x}))*)`:`(${x})`;d||(_=w&&u.length<2?`(?:/${_})`:"/"+_),w&&(_+="?"),r+=_,m+=20,w&&(m+=-8),b&&(m+=-20),x===".*"&&(m+=-50)}f.push(m)}s.push(f)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function l(u){const f=u.match(a),d={};if(!f)return null;for(let p=1;p<f.length;p++){const m=f[p]||"",g=i[p-1];d[g.name]=m&&g.repeatable?m.split("/"):m}return d}function c(u){let f="",d=!1;for(const p of e){(!d||!f.endsWith("/"))&&(f+="/"),d=!1;for(const m of p)if(m.type===0)f+=m.value;else if(m.type===1){const{value:g,repeatable:b,optional:w}=m,y=g in u?u[g]:"";if($t(y)&&!b)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const x=$t(y)?y.join("/"):y;if(!x)if(w)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);f+=x}}return f||"/"}return{re:a,score:s,keys:i,parse:l,stringify:c}}function vb(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function _b(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=vb(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(au(s))return 1;if(au(r))return-1}return r.length-s.length}function au(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yb={type:0,value:""},bb=/[a-zA-Z0-9_]/;function wb(e){if(!e)return[[]];if(e==="/")return[[yb]];if(!e.startsWith("/"))throw new Error(`Route paths should start with a "/": "${e}" should be "/${e}".`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,s=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let l=0,c,u="",f="";function d(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(u&&d(),a()):c===":"?(d(),n=1):p();break;case 4:p(),n=s;break;case 1:c==="("?n=2:bb.test(c)?p():(d(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case 2:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=3:f+=c;break;case 3:d(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),a(),r}function xb(e,t,n){const s=gb(wb(e.path),n);{const i=new Set;for(const a of s.keys)i.has(a.name)&&Ee(`Found duplicated params with name "${a.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),i.add(a.name)}const r=ke(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Eb(e,t){const n=[],s=new Map;t=uu({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function i(f,d,p){const m=!p,g=Sb(f);Ob(g,d),g.aliasOf=p&&p.record;const b=uu(t,f),w=[g];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const P of _)w.push(ke({},g,{components:p?p.record.components:g.components,path:P,aliasOf:p?p.record:g}))}let y,x;for(const _ of w){const{path:P}=_;if(d&&P[0]!=="/"){const $=d.record.path,k=$[$.length-1]==="/"?"":"/";_.path=d.record.path+(P&&k+P)}if(_.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);if(y=xb(_,d,b),d&&P[0]==="/"&&kb(y,d),p?(p.alias.push(y),Cb(p,y)):(x=x||y,x!==y&&x.alias.push(y),m&&f.name&&!cu(y)&&a(f.name)),g.children){const $=g.children;for(let k=0;k<$.length;k++)i($[k],y,p&&p.children[k])}p=p||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&c(y)}return x?()=>{a(x)}:lr}function a(f){if(rp(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(a),f.alias.forEach(a))}}function l(){return n}function c(f){let d=0;for(;d<n.length&&_b(f,n[d])>=0&&(f.record.path!==n[d].record.path||!op(f,n[d]));)d++;n.splice(d,0,f),f.record.name&&!cu(f)&&s.set(f.record.name,f)}function u(f,d){let p,m={},g,b;if("name"in f&&f.name){if(p=s.get(f.name),!p)throw Ms(1,{location:f});{const x=Object.keys(f.params||{}).filter(_=>!p.keys.find(P=>P.name===_));x.length&&Ee(`Discarded invalid param(s) "${x.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}b=p.record.name,m=ke(lu(d.params,p.keys.filter(x=>!x.optional).map(x=>x.name)),f.params&&lu(f.params,p.keys.map(x=>x.name))),g=p.stringify(m)}else if("path"in f)g=f.path,g.startsWith("/")||Ee(`The Matcher cannot resolve relative paths but received "${g}". Unless you directly called \`matcher.resolve("${g}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),p=n.find(x=>x.re.test(g)),p&&(m=p.parse(g),b=p.record.name);else{if(p=d.name?s.get(d.name):n.find(x=>x.re.test(d.path)),!p)throw Ms(1,{location:f,currentLocation:d});b=p.record.name,m=ke({},d.params,f.params),g=p.stringify(m)}const w=[];let y=p;for(;y;)w.unshift(y.record),y=y.parent;return{name:b,path:g,params:m,matched:w,meta:Pb(w)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:l,getRecordMatcher:r}}function lu(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Sb(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:$b(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function $b(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=="object"?n[s]:n;return t}function cu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pb(e){return e.reduce((t,n)=>ke(t,n.meta),{})}function uu(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function ha(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function Cb(e,t){for(const n of e.keys)if(!n.optional&&!t.keys.find(ha.bind(null,n)))return Ee(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);for(const n of t.keys)if(!n.optional&&!e.keys.find(ha.bind(null,n)))return Ee(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}function Ob(e,t){t&&t.record.name&&!e.name&&!e.path&&Ee(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function kb(e,t){for(const n of t.keys)if(!e.keys.find(ha.bind(null,n)))return Ee(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}function op(e,t){return t.children.some(n=>n===e||op(e,n))}const ap=/#/g,Tb=/&/g,Ab=/\//g,Mb=/=/g,Ib=/\?/g,lp=/\+/g,Nb=/%5B/g,Rb=/%5D/g,cp=/%5E/g,Lb=/%60/g,up=/%7B/g,jb=/%7C/g,fp=/%7D/g,Db=/%20/g;function vl(e){return encodeURI(""+e).replace(jb,"|").replace(Nb,"[").replace(Rb,"]")}function Fb(e){return vl(e).replace(up,"{").replace(fp,"}").replace(cp,"^")}function ga(e){return vl(e).replace(lp,"%2B").replace(Db,"+").replace(ap,"%23").replace(Tb,"%26").replace(Lb,"`").replace(up,"{").replace(fp,"}").replace(cp,"^")}function Hb(e){return ga(e).replace(Mb,"%3D")}function qb(e){return vl(e).replace(ap,"%23").replace(Ib,"%3F")}function Vb(e){return e==null?"":qb(e).replace(Ab,"%2F")}function $r(e){try{return decodeURIComponent(""+e)}catch{Ee(`Error decoding "${e}". Using original value`)}return""+e}function zb(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(lp," "),a=i.indexOf("="),l=$r(a<0?i:i.slice(0,a)),c=a<0?null:$r(i.slice(a+1));if(l in t){let u=t[l];$t(u)||(u=t[l]=[u]),u.push(c)}else t[l]=c}return t}function fu(e){let t="";for(let n in e){const s=e[n];if(n=Hb(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($t(s)?s.map(i=>i&&ga(i)):[s&&ga(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Bb(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$t(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ub=Symbol("router view location matched"),du=Symbol("router view depth"),_l=Symbol("router"),dp=Symbol("route location"),va=Symbol("router view location");function Ws(){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.slice(),reset:n}}function wn(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(Ms(4,{from:n,to:t})):d instanceof Error?l(d):ub(d)?l(Ms(2,{from:t,to:d})):(i&&s.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},u=e.call(s&&s.instances[r],t,n,Kb(c,t,n));let f=Promise.resolve(u);if(e.length<3&&(f=f.then(c)),e.length>2){const d=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
${e.toString()}
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)f=f.then(p=>c._called?p:(Ee(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!c._called){Ee(d),l(new Error("Invalid navigation guard"));return}}f.catch(d=>l(d))})}function Kb(e,t,n){let s=0;return function(){s++===1&&Ee(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,s===1&&e.apply(null,arguments)}}function Oo(e,t,n,s){const r=[];for(const i of e){!i.components&&!i.children.length&&Ee(`Record with path "${i.path}" is either missing a "component(s)" or "children" property.`);for(const a in i.components){let l=i.components[a];{if(!l||typeof l!="object"&&typeof l!="function")throw Ee(`Component "${a}" in record with path "${i.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){Ee(`Component "${a}" in record with path "${i.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,Ee(`Component "${a}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Wb(l)){const u=(l.__vccOpts||l)[t];u&&r.push(wn(u,n,s,i,a))}else{let c=l();"catch"in c||(Ee(`Component "${a}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),c=Promise.resolve(c)),r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=Wy(u)?u.default:u;i.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&wn(p,n,s,i,a)()}))}}}return r}function Wb(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function pu(e){const t=Z(_l),n=Z(dp),s=T(()=>t.resolve(C(e.to))),r=T(()=>{const{matched:c}=s.value,{length:u}=c,f=c[u-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(jn.bind(null,f));if(p>-1)return p;const m=mu(c[u-2]);return u>1&&mu(f)===m&&d[d.length-1].path!==m?d.findIndex(jn.bind(null,c[u-2])):p}),i=T(()=>r.value>-1&&Jb(n.params,s.value.params)),a=T(()=>r.value>-1&&r.value===n.matched.length-1&&np(n.params,s.value.params));function l(c={}){return Zb(c)?t[C(e.replace)?"replace":"push"](C(e.to)).catch(lr):Promise.resolve()}if(an){const c=Nt();if(c){const u={route:s.value,isActive:i.value,isExactActive:a.value};c.__vrl_devtools=c.__vrl_devtools||[],c.__vrl_devtools.push(u),Rs(()=>{u.route=s.value,u.isActive=i.value,u.isExactActive=a.value},{flush:"post"})}}return{route:s,href:T(()=>s.value.href),isActive:i,isExactActive:a,navigate:l}}const Gb=Pe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:pu,setup(e,{slots:t}){const n=Ve(pu(e)),{options:s}=Z(_l),r=T(()=>({[hu(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[hu(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:vt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Yb=Gb;function Zb(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 Jb(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(!$t(r)||r.length!==s.length||s.some((i,a)=>i!==r[a]))return!1}return!0}function mu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const hu=(e,t,n)=>e??t??n,Xb=Pe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){e1();const s=Z(va),r=T(()=>e.route||s.value),i=Z(du,0),a=T(()=>{let u=C(i);const{matched:f}=r.value;let d;for(;(d=f[u])&&!d.components;)u++;return u}),l=T(()=>r.value.matched[a.value]);wt(du,T(()=>a.value+1)),wt(Ub,l),wt(va,r);const c=z();return pe(()=>[c.value,l.value,e.name],([u,f,d],[p,m,g])=>{f&&(f.instances[d]=u,m&&m!==f&&u&&u===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),u&&f&&(!m||!jn(f,m)||!p)&&(f.enterCallbacks[d]||[]).forEach(b=>b(u))},{flush:"post"}),()=>{const u=r.value,f=e.name,d=l.value,p=d&&d.components[f];if(!p)return gu(n.default,{Component:p,route:u});const m=d.props[f],g=m?m===!0?u.params:typeof m=="function"?m(u):m:null,w=vt(p,ke({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[f]=null)},ref:c}));if(an&&w.ref){const y={depth:a.value,name:d.name,path:d.path,meta:d.meta};($t(w.ref)?w.ref.map(_=>_.i):[w.ref.i]).forEach(_=>{_.__vrv_devtools=y})}return gu(n.default,{Component:w,route:u})||w}}});function gu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Qb=Xb;function e1(){const e=Nt(),t=e.parent&&e.parent.type.name,n=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof n=="object"&&n.name==="RouterView"){const s=t==="KeepAlive"?"keep-alive":"transition";Ee(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
Use slot props instead:
<router-view v-slot="{ Component }">
<${s}>
<component :is="Component" />
</${s}>
</router-view>`)}}function Gs(e,t){const n=ke({},e,{matched:e.matched.map(s=>c1(s,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function ei(e){return{_custom:{display:e}}}let t1=0;function n1(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const s=t1++;Ky({id:"org.vuejs.router"+(s?"."+s:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},r=>{typeof r.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),r.on.inspectComponent((f,d)=>{f.instanceData&&f.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Gs(t.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:f,componentInstance:d})=>{if(d.__vrv_devtools){const p=d.__vrv_devtools;f.tags.push({label:(p.name?`${p.name.toString()}: `:"")+p.path,textColor:0,tooltip:"This component is rendered by &lt;router-view&gt;",backgroundColor:pp})}$t(d.__vrl_devtools)&&(d.__devtoolsApi=r,d.__vrl_devtools.forEach(p=>{let m=gp,g="";p.isExactActive?(m=hp,g="This is exactly active"):p.isActive&&(m=mp,g="This link is active"),f.tags.push({label:p.route.path,textColor:0,tooltip:g,backgroundColor:m})}))}),pe(t.currentRoute,()=>{c(),r.notifyComponentUpdate(),r.sendInspectorTree(l),r.sendInspectorState(l)});const i="router:navigations:"+s;r.addTimelineLayer({id:i,label:`Router${s?" "+s:""} Navigations`,color:4237508}),t.onError((f,d)=>{r.addTimelineEvent({layerId:i,event:{title:"Error during Navigation",subtitle:d.fullPath,logType:"error",time:r.now(),data:{error:f},groupId:d.meta.__navigationId}})});let a=0;t.beforeEach((f,d)=>{const p={guard:ei("beforeEach"),from:Gs(d,"Current Location during this navigation"),to:Gs(f,"Target location")};Object.defineProperty(f.meta,"__navigationId",{value:a++}),r.addTimelineEvent({layerId:i,event:{time:r.now(),title:"Start of navigation",subtitle:f.fullPath,data:p,groupId:f.meta.__navigationId}})}),t.afterEach((f,d,p)=>{const m={guard:ei("afterEach")};p?(m.failure={_custom:{type:Error,readOnly:!0,display:p?p.message:"",tooltip:"Navigation Failure",value:p}},m.status=ei("❌")):m.status=ei("✅"),m.from=Gs(d,"Current Location during this navigation"),m.to=Gs(f,"Target location"),r.addTimelineEvent({layerId:i,event:{title:"End of navigation",subtitle:f.fullPath,time:r.now(),data:m,logType:p?"warning":"default",groupId:f.meta.__navigationId}})});const l="router-inspector:"+s;r.addInspector({id:l,label:"Routes"+(s?" "+s:""),icon:"book",treeFilterPlaceholder:"Search routes"});function c(){if(!u)return;const f=u;let d=n.getRoutes().filter(p=>!p.parent);d.forEach(yp),f.filter&&(d=d.filter(p=>_a(p,f.filter.toLowerCase()))),d.forEach(p=>_p(p,t.currentRoute.value)),f.rootNodes=d.map(vp)}let u;r.on.getInspectorTree(f=>{u=f,f.app===e&&f.inspectorId===l&&c()}),r.on.getInspectorState(f=>{if(f.app===e&&f.inspectorId===l){const p=n.getRoutes().find(m=>m.record.__vd_id===f.nodeId);p&&(f.state={options:r1(p)})}}),r.sendInspectorTree(l),r.sendInspectorState(l)})}function s1(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function r1(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(s=>`${s.name}${s1(s)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(s=>s.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(s=>s.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const pp=15485081,mp=2450411,hp=8702998,i1=2282478,gp=16486972,o1=6710886;function vp(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:i1}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:gp}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:pp}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:hp}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:mp}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:o1});let s=n.__vd_id;return s==null&&(s=String(a1++),n.__vd_id=s),{id:s,label:n.path,tags:t,children:e.children.map(vp)}}let a1=0;const l1=/^\/(.*)\/([a-z]*)$/;function _p(e,t){const n=t.matched.length&&jn(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(s=>jn(s,e.record))),e.children.forEach(s=>_p(s,t))}function yp(e){e.__vd_match=!1,e.children.forEach(yp)}function _a(e,t){const n=String(e.re).match(l1);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(a=>_a(a,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),i=$r(r);return!t.startsWith("/")&&(i.includes(t)||r.includes(t))||i.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(a=>_a(a,t))}function c1(e,t){const n={};for(const s in e)t.includes(s)||(n[s]=e[s]);return n}function u1(e){const t=Eb(e.routes,e),n=e.parseQuery||zb,s=e.stringifyQuery||fu,r=e.history;if(!r)throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.');const i=Ws(),a=Ws(),l=Ws(),c=Qt(vn);let u=vn;an&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Po.bind(null,O=>""+O),d=Po.bind(null,Vb),p=Po.bind(null,$r);function m(O,U){let K,G;return rp(O)?(K=t.getRecordMatcher(O),G=U):G=O,t.addRoute(G,K)}function g(O){const U=t.getRecordMatcher(O);U?t.removeRoute(U):Ee(`Cannot remove non-existent route "${String(O)}"`)}function b(){return t.getRoutes().map(O=>O.record)}function w(O){return!!t.getRecordMatcher(O)}function y(O,U){if(U=ke({},U||c.value),typeof O=="string"){const v=Co(n,O,U.path),S=t.resolve({path:v.path},U),I=r.createHref(v.fullPath);return I.startsWith("//")?Ee(`Location "${O}" resolved to "${I}". A resolved location cannot start with multiple slashes.`):S.matched.length||Ee(`No match found for location with path "${O}"`),ke(v,S,{params:p(S.params),hash:$r(v.hash),redirectedFrom:void 0,href:I})}let K;if("path"in O)"params"in O&&!("name"in O)&&Object.keys(O.params).length&&Ee(`Path "${O.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),K=ke({},O,{path:Co(n,O.path,U.path).path});else{const v=ke({},O.params);for(const S in v)v[S]==null&&delete v[S];K=ke({},O,{params:d(v)}),U.params=d(U.params)}const G=t.resolve(K,U),ve=O.hash||"";ve&&!ve.startsWith("#")&&Ee(`A \`hash\` should always start with the character "#". Replace "${ve}" with "#${ve}".`),G.params=f(p(G.params));const Ae=Zy(s,ke({},O,{hash:Fb(ve),path:G.path})),h=r.createHref(Ae);return h.startsWith("//")?Ee(`Location "${O}" resolved to "${h}". A resolved location cannot start with multiple slashes.`):G.matched.length||Ee(`No match found for location with path "${"path"in O?O.path:O}"`),ke({fullPath:Ae,hash:ve,query:s===fu?Bb(O.query):O.query||{}},G,{redirectedFrom:void 0,href:h})}function x(O){return typeof O=="string"?Co(n,O,c.value.path):ke({},O)}function _(O,U){if(u!==O)return Ms(8,{from:U,to:O})}function P(O){return j(O)}function $(O){return P(ke(x(O),{replace:!0}))}function k(O){const U=O.matched[O.matched.length-1];if(U&&U.redirect){const{redirect:K}=U;let G=typeof K=="function"?K(O):K;if(typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=x(G):{path:G},G.params={}),!("path"in G)&&!("name"in G))throw Ee(`Invalid redirect found:
${JSON.stringify(G,null,2)}
when navigating to "${O.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return ke({query:O.query,hash:O.hash,params:"path"in G?{}:O.params},G)}}function j(O,U){const K=u=y(O),G=c.value,ve=O.state,Ae=O.force,h=O.replace===!0,v=k(K);if(v)return j(ke(x(v),{state:typeof v=="object"?ke({},ve,v.state):ve,force:Ae,replace:h}),U||K);const S=K;S.redirectedFrom=U;let I;return!Ae&&tu(s,G,K)&&(I=Ms(16,{to:S,from:G}),Pt(G,G,!0,!1)),(I?Promise.resolve(I):Y(S,G)).catch(M=>tn(M)?tn(M,2)?M:Te(M):re(M,S,G)).then(M=>{if(M){if(tn(M,2))return tu(s,y(M.to),S)&&U&&(U._count=U._count?U._count+1:1)>30?(Ee(`Detected a possibly infinite redirection in a navigation guard when going from "${G.fullPath}" to "${S.fullPath}". Aborting to avoid a Stack Overflow.
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):j(ke({replace:h},x(M.to),{state:typeof M.to=="object"?ke({},ve,M.to.state):ve,force:Ae}),U||S)}else M=V(S,G,!0,h,ve);return oe(S,G,M),M})}function A(O,U){const K=_(O,U);return K?Promise.reject(K):Promise.resolve()}function F(O){const U=Vt.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(O):O()}function Y(O,U){let K;const[G,ve,Ae]=f1(O,U);K=Oo(G.reverse(),"beforeRouteLeave",O,U);for(const v of G)v.leaveGuards.forEach(S=>{K.push(wn(S,O,U))});const h=A.bind(null,O,U);return K.push(h),Ct(K).then(()=>{K=[];for(const v of i.list())K.push(wn(v,O,U));return K.push(h),Ct(K)}).then(()=>{K=Oo(ve,"beforeRouteUpdate",O,U);for(const v of ve)v.updateGuards.forEach(S=>{K.push(wn(S,O,U))});return K.push(h),Ct(K)}).then(()=>{K=[];for(const v of Ae)if(v.beforeEnter)if($t(v.beforeEnter))for(const S of v.beforeEnter)K.push(wn(S,O,U));else K.push(wn(v.beforeEnter,O,U));return K.push(h),Ct(K)}).then(()=>(O.matched.forEach(v=>v.enterCallbacks={}),K=Oo(Ae,"beforeRouteEnter",O,U),K.push(h),Ct(K))).then(()=>{K=[];for(const v of a.list())K.push(wn(v,O,U));return K.push(h),Ct(K)}).catch(v=>tn(v,8)?v:Promise.reject(v))}function oe(O,U,K){l.list().forEach(G=>F(()=>G(O,U,K)))}function V(O,U,K,G,ve){const Ae=_(O,U);if(Ae)return Ae;const h=U===vn,v=an?history.state:{};K&&(G||h?r.replace(O.fullPath,ke({scroll:h&&v&&v.scroll},ve)):r.push(O.fullPath,ve)),c.value=O,Pt(O,U,K,h),Te()}let fe;function me(){fe||(fe=r.listen((O,U,K)=>{if(!Hn.listening)return;const G=y(O),ve=k(G);if(ve){j(ke(ve,{replace:!0}),G).catch(lr);return}u=G;const Ae=c.value;an&&rb(su(Ae.fullPath,K.delta),ao()),Y(G,Ae).catch(h=>tn(h,12)?h:tn(h,2)?(j(h.to,G).then(v=>{tn(v,20)&&!K.delta&&K.type===Sr.pop&&r.go(-1,!1)}).catch(lr),Promise.reject()):(K.delta&&r.go(-K.delta,!1),re(h,G,Ae))).then(h=>{h=h||V(G,Ae,!1),h&&(K.delta&&!tn(h,8)?r.go(-K.delta,!1):K.type===Sr.pop&&tn(h,20)&&r.go(-1,!1)),oe(G,Ae,h)}).catch(lr)}))}let ge=Ws(),Ie=Ws(),W;function re(O,U,K){Te(O);const G=Ie.list();return G.length?G.forEach(ve=>ve(O,U,K)):(Ee("uncaught error during route navigation:"),console.error(O)),Promise.reject(O)}function ye(){return W&&c.value!==vn?Promise.resolve():new Promise((O,U)=>{ge.add([O,U])})}function Te(O){return W||(W=!O,me(),ge.list().forEach(([U,K])=>O?K(O):U()),ge.reset()),O}function Pt(O,U,K,G){const{scrollBehavior:ve}=e;if(!an||!ve)return Promise.resolve();const Ae=!K&&ib(su(O.fullPath,0))||(G||!K)&&history.state&&history.state.scroll||null;return et().then(()=>ve(O,U,Ae)).then(h=>h&&sb(h)).catch(h=>re(h,O,U))}const Xe=O=>r.go(O);let dt;const Vt=new Set,Hn={currentRoute:c,listening:!0,addRoute:m,removeRoute:g,hasRoute:w,getRoutes:b,resolve:y,options:e,push:P,replace:$,go:Xe,back:()=>Xe(-1),forward:()=>Xe(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:Ie.add,isReady:ye,install(O){const U=this;O.component("RouterLink",Yb),O.component("RouterView",Qb),O.config.globalProperties.$router=U,Object.defineProperty(O.config.globalProperties,"$route",{enumerable:!0,get:()=>C(c)}),an&&!dt&&c.value===vn&&(dt=!0,P(r.location).catch(ve=>{Ee("Unexpected error when starting the router:",ve)}));const K={};for(const ve in vn)Object.defineProperty(K,ve,{get:()=>c.value[ve],enumerable:!0});O.provide(_l,U),O.provide(dp,Ff(K)),O.provide(va,c);const G=O.unmount;Vt.add(O),O.unmount=function(){Vt.delete(O),Vt.size<1&&(u=vn,fe&&fe(),fe=null,c.value=vn,dt=!1,W=!1),G()},an&&n1(O,U,t)}};function Ct(O){return O.reduce((U,K)=>U.then(()=>F(K)),Promise.resolve())}return Hn}function f1(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const l=t.matched[a];l&&(e.matched.find(u=>jn(u,l))?s.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(u=>jn(u,c))||r.push(c))}return[n,s,r]}const ko=z(!1),ur=z(!1),$s=z(!1),d1=z(!0),ya=sy({xs:460,...ny}),ls=Dy(),bp=Ty(),p1=T(()=>ls.height.value-ls.width.value/Pn>180),wp=Oy(dn?document.body:null),Tn=Q_(),m1=T(()=>{var e,t;return["INPUT","TEXTAREA"].includes(((e=Tn.value)==null?void 0:e.tagName)||"")||((t=Tn.value)==null?void 0:t.classList.contains("CodeMirror-code"))}),h1=T(()=>{var e;return["BUTTON","A"].includes(((e=Tn.value)==null?void 0:e.tagName)||"")});qt("slidev-camera","default");qt("slidev-mic","default");const pi=qt("slidev-scale",0),at=qt("slidev-show-overview",!1),To=qt("slidev-presenter-cursor",!0),vu=qt("slidev-show-editor",!1);qt("slidev-editor-width",dn?window.innerWidth*.4:100);const xp=Jd(at);var g1=Object.defineProperty,_u=Object.getOwnPropertySymbols,v1=Object.prototype.hasOwnProperty,_1=Object.prototype.propertyIsEnumerable,yu=(e,t,n)=>t in e?g1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ba=(e,t)=>{for(var n in t||(t={}))v1.call(t,n)&&yu(e,n,t[n]);if(_u)for(var n of _u(t))_1.call(t,n)&&yu(e,n,t[n]);return e},y1=()=>({emit(e,...t){let n=this.events[e]||[];for(let s=0,r=n.length;s<r;s++)n[s](...t)},events:{},on(e,t){var n;return(n=this.events[e])!=null&&n.push(t)||(this.events[e]=[t]),()=>{var s;this.events[e]=(s=this.events[e])==null?void 0:s.filter(r=>t!==r)}}});function bu(e,t,n,s=r=>r){return e*s(.5-t*(.5-n))}function b1(e){return[-e[0],-e[1]]}function Dt(e,t){return[e[0]+t[0],e[1]+t[1]]}function Tt(e,t){return[e[0]-t[0],e[1]-t[1]]}function jt(e,t){return[e[0]*t,e[1]*t]}function w1(e,t){return[e[0]/t,e[1]/t]}function Ys(e){return[e[1],-e[0]]}function wu(e,t){return e[0]*t[0]+e[1]*t[1]}function x1(e,t){return e[0]===t[0]&&e[1]===t[1]}function E1(e){return Math.hypot(e[0],e[1])}function S1(e){return e[0]*e[0]+e[1]*e[1]}function xu(e,t){return S1(Tt(e,t))}function Ep(e){return w1(e,E1(e))}function $1(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function Zs(e,t,n){let s=Math.sin(n),r=Math.cos(n),i=e[0]-t[0],a=e[1]-t[1],l=i*r-a*s,c=i*s+a*r;return[l+t[0],c+t[1]]}function wa(e,t,n){return Dt(e,jt(Tt(t,e),n))}function Eu(e,t,n){return Dt(e,jt(t,n))}var{min:ws,PI:P1}=Math,Su=.275,Js=P1+1e-4;function C1(e,t={}){let{size:n=16,smoothing:s=.5,thinning:r=.5,simulatePressure:i=!0,easing:a=W=>W,start:l={},end:c={},last:u=!1}=t,{cap:f=!0,easing:d=W=>W*(2-W)}=l,{cap:p=!0,easing:m=W=>--W*W*W+1}=c;if(e.length===0||n<=0)return[];let g=e[e.length-1].runningLength,b=l.taper===!1?0:l.taper===!0?Math.max(n,g):l.taper,w=c.taper===!1?0:c.taper===!0?Math.max(n,g):c.taper,y=Math.pow(n*s,2),x=[],_=[],P=e.slice(0,10).reduce((W,re)=>{let ye=re.pressure;if(i){let Te=ws(1,re.distance/n),Pt=ws(1,1-Te);ye=ws(1,W+(Pt-W)*(Te*Su))}return(W+ye)/2},e[0].pressure),$=bu(n,r,e[e.length-1].pressure,a),k,j=e[0].vector,A=e[0].point,F=A,Y=A,oe=F,V=!1;for(let W=0;W<e.length;W++){let{pressure:re}=e[W],{point:ye,vector:Te,distance:Pt,runningLength:Xe}=e[W];if(W<e.length-1&&g-Xe<3)continue;if(r){if(i){let G=ws(1,Pt/n),ve=ws(1,1-G);re=ws(1,P+(ve-P)*(G*Su))}$=bu(n,r,re,a)}else $=n/2;k===void 0&&(k=$);let dt=Xe<b?d(Xe/b):1,Vt=g-Xe<w?m((g-Xe)/w):1;$=Math.max(.01,$*Math.min(dt,Vt));let Hn=(W<e.length-1?e[W+1]:e[W]).vector,Ct=W<e.length-1?wu(Te,Hn):1,O=wu(Te,j)<0&&!V,U=Ct!==null&&Ct<0;if(O||U){let G=jt(Ys(j),$);for(let ve=1/13,Ae=0;Ae<=1;Ae+=ve)Y=Zs(Tt(ye,G),ye,Js*Ae),x.push(Y),oe=Zs(Dt(ye,G),ye,Js*-Ae),_.push(oe);A=Y,F=oe,U&&(V=!0);continue}if(V=!1,W===e.length-1){let G=jt(Ys(Te),$);x.push(Tt(ye,G)),_.push(Dt(ye,G));continue}let K=jt(Ys(wa(Hn,Te,Ct)),$);Y=Tt(ye,K),(W<=1||xu(A,Y)>y)&&(x.push(Y),A=Y),oe=Dt(ye,K),(W<=1||xu(F,oe)>y)&&(_.push(oe),F=oe),P=re,j=Te}let fe=e[0].point.slice(0,2),me=e.length>1?e[e.length-1].point.slice(0,2):Dt(e[0].point,[1,1]),ge=[],Ie=[];if(e.length===1){if(!(b||w)||u){let W=Eu(fe,Ep(Ys(Tt(fe,me))),-(k||$)),re=[];for(let ye=1/13,Te=ye;Te<=1;Te+=ye)re.push(Zs(W,fe,Js*2*Te));return re}}else{if(!(b||w&&e.length===1))if(f)for(let re=1/13,ye=re;ye<=1;ye+=re){let Te=Zs(_[0],fe,Js*ye);ge.push(Te)}else{let re=Tt(x[0],_[0]),ye=jt(re,.5),Te=jt(re,.51);ge.push(Tt(fe,ye),Tt(fe,Te),Dt(fe,Te),Dt(fe,ye))}let W=Ys(b1(e[e.length-1].vector));if(w||b&&e.length===1)Ie.push(me);else if(p){let re=Eu(me,W,$);for(let ye=1/29,Te=ye;Te<1;Te+=ye)Ie.push(Zs(re,me,Js*3*Te))}else Ie.push(Dt(me,jt(W,$)),Dt(me,jt(W,$*.99)),Tt(me,jt(W,$*.99)),Tt(me,jt(W,$)))}return x.concat(Ie,_.reverse(),ge)}function O1(e,t={}){var n;let{streamline:s=.5,size:r=16,last:i=!1}=t;if(e.length===0)return[];let a=.15+(1-s)*.85,l=Array.isArray(e[0])?e:e.map(({x:m,y:g,pressure:b=.5})=>[m,g,b]);if(l.length===2){let m=l[1];l=l.slice(0,-1);for(let g=1;g<5;g++)l.push(wa(l[0],m,g/4))}l.length===1&&(l=[...l,[...Dt(l[0],[1,1]),...l[0].slice(2)]]);let c=[{point:[l[0][0],l[0][1]],pressure:l[0][2]>=0?l[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],u=!1,f=0,d=c[0],p=l.length-1;for(let m=1;m<l.length;m++){let g=i&&m===p?l[m].slice(0,2):wa(d.point,l[m],a);if(x1(d.point,g))continue;let b=$1(g,d.point);if(f+=b,m<p&&!u){if(f<r)continue;u=!0}d={point:g,pressure:l[m][2]>=0?l[m][2]:.5,vector:Ep(Tt(d.point,g)),distance:b,runningLength:f},c.push(d)}return c[0].vector=((n=c[1])==null?void 0:n.vector)||[0,0],c}function k1(e,t={}){return C1(O1(e,t),t)}function Di(e,t){return e-t}function T1(e){return e<0?-1:1}function Fi(e){return[Math.abs(e),T1(e)]}function Sp(){const e=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${e()+e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}var A1=2,ln=A1,js=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 i=this.drauu.el.getBoundingClientRect();return{x:(e.pageX-i.left)*r,y:(e.pageY-i.top)*r,pressure:e.pressure}}else{const i=this.drauu.svgPoint;i.x=e.clientX,i.y=e.clientY;const a=i.matrixTransform((n=s.getScreenCTM())==null?void 0:n.inverse());return{x:a.x*r,y:a.y*r,pressure:e.pressure}}}createElement(e,t){var n;const s=document.createElementNS("http://www.w3.org/2000/svg",e),r=t?ba(ba({},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(ln))}_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)}},M1=class extends js{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=k1(e,ba({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,i],a,l)=>{const[c,u]=l[(a+1)%l.length];return s.push(r,i,(r+c)/2,(i+u)/2),s},["M",...t[0],"Q"]);return n.push("Z"),n.map(s=>typeof s=="number"?s.toFixed(2):s).join(" ")}},I1=class extends js{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]=Fi(e.x-this.start.x),[s,r]=Fi(e.y-this.start.y);if(this.shiftPressed){const i=Math.min(t,s);t=i,s=i}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[i,a]=[this.start.x,this.start.x+t*n].sort(Di),[l,c]=[this.start.y,this.start.y+s*r].sort(Di);this.attr("cx",(i+a)/2),this.attr("cy",(l+c)/2),this.attr("rx",(a-i)/2),this.attr("ry",(c-l)/2)}return!0}onEnd(){const e=this.el;return this.el=null,!(!e||!e.getTotalLength())}};function $p(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 N1=class extends js{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=Sp(),n=document.createElementNS("http://www.w3.org/2000/svg","g");return n.append($p(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 i=s/r;i=Math.round(i),Math.abs(i)<=1?(t=this.start.x+r*i,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)}},R1=class extends js{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]=Fi(e.x-this.start.x),[s,r]=Fi(e.y-this.start.y);if(this.shiftPressed){const i=Math.min(t,s);t=i,s=i}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[i,a]=[this.start.x,this.start.x+t*n].sort(Di),[l,c]=[this.start.y,this.start.y+s*r].sort(Di);this.attr("x",i),this.attr("y",l),this.attr("width",a-i),this.attr("height",c-l)}return!0}onEnd(){const e=this.el;return this.el=null,!(!e||!e.getTotalLength())}};function L1(e,t){const n=e.x-t.x,s=e.y-t.y;return n*n+s*s}function j1(e,t,n){let s=t.x,r=t.y,i=n.x-s,a=n.y-r;if(i!==0||a!==0){const l=((e.x-s)*i+(e.y-r)*a)/(i*i+a*a);l>1?(s=n.x,r=n.y):l>0&&(s+=i*l,r+=a*l)}return i=e.x-s,a=e.y-r,i*i+a*a}function D1(e,t){let n=e[0];const s=[n];let r;for(let i=1,a=e.length;i<a;i++)r=e[i],L1(r,n)>t&&(s.push(r),n=r);return n!==r&&r&&s.push(r),s}function xa(e,t,n,s,r){let i=s,a=0;for(let l=t+1;l<n;l++){const c=j1(e[l],e[t],e[n]);c>i&&(a=l,i=c)}i>s&&(a-t>1&&xa(e,t,a,s,r),r.push(e[a]),n-a>1&&xa(e,a,n,s,r))}function F1(e,t){const n=e.length-1,s=[e[0]];return xa(e,0,n,t,s),s.push(e[n]),s}function $u(e,t,n=!1){if(e.length<=2)return e;const s=t!==void 0?t*t:1;return e=n?e:D1(e,s),e=F1(e,s),e}var H1=class extends js{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=Sp();const t=$p(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=$u(this.points,1,!0),this.count=0),this.attr("d",Cu(this.points)),!0}onEnd(){const e=this.el;return this.el=null,!(!e||(e.setAttribute("d",Cu($u(this.points,1,!0))),!e.getTotalLength()))}};function q1(e,t){const n=t.x-e.x,s=t.y-e.y;return{length:Math.sqrt(n**2+s**2),angle:Math.atan2(s,n)}}function Pu(e,t,n,s){const r=t||e,i=n||e,a=.2,l=q1(r,i),c=l.angle+(s?Math.PI:0),u=l.length*a,f=e.x+Math.cos(c)*u,d=e.y+Math.sin(c)*u;return{x:f,y:d}}function V1(e,t,n){const s=Pu(n[t-1],n[t-2],e),r=Pu(e,n[t-1],n[t+1],!0);return`C ${s.x.toFixed(ln)},${s.y.toFixed(ln)} ${r.x.toFixed(ln)},${r.y.toFixed(ln)} ${e.x.toFixed(ln)},${e.y.toFixed(ln)}`}function Cu(e){return e.reduce((t,n,s,r)=>s===0?`M ${n.x.toFixed(ln)},${n.y.toFixed(ln)}`:`${t} ${V1(n,s,r)}`,"")}var z1=class extends js{constructor(){super(...arguments),this.pathSubFactor=20,this.pathFragments=[]}onSelected(e){const t=(n,s)=>{if(n&&n.length)for(let r=0;r<n.length;r++){const i=n[r];if(i.getTotalLength){const a=i.getTotalLength();for(let l=0;l<this.pathSubFactor;l++){const c=i.getPointAtLength(a*l/this.pathSubFactor),u=i.getPointAtLength(a*(l+1)/this.pathSubFactor);this.pathFragments.push({x1:c.x,x2:u.x,y1:c.y,y2:u.y,segment:l,element:s||i})}}else i.children&&t(i.children,i)}};e&&t(e.children)}onUnselected(){this.pathFragments=[]}onStart(e){this.svgPointPrevious=this.svgElement.createSVGPoint(),this.svgPointPrevious.x=e.x,this.svgPointPrevious.y=e.y}onMove(e){this.svgPointCurrent=this.svgElement.createSVGPoint(),this.svgPointCurrent.x=e.x,this.svgPointCurrent.y=e.y;const t=this.checkAndEraseElement();return this.svgPointPrevious=this.svgPointCurrent,t}onEnd(){return this.svgPointPrevious=void 0,this.svgPointCurrent=void 0,!0}checkAndEraseElement(){const e=[];if(this.pathFragments.length)for(let t=0;t<this.pathFragments.length;t++){const n=this.pathFragments[t],s={x1:this.svgPointPrevious.x,x2:this.svgPointCurrent.x,y1:this.svgPointPrevious.y,y2:this.svgPointCurrent.y};this.lineLineIntersect(n,s)&&(n.element.remove(),e.push(t))}return e.length&&(this.pathFragments=this.pathFragments.filter((t,n)=>!e.includes(n))),e.length>0}lineLineIntersect(e,t){const n=e.x1,s=e.x2,r=t.x1,i=t.x2,a=e.y1,l=e.y2,c=t.y1,u=t.y2,f=(n-s)*(c-u)-(a-l)*(r-i),d=(n*l-a*s)*(r-i)-(n-s)*(r*u-c*i),p=(n*l-a*s)*(c-u)-(a-l)*(r*u-c*i),m=(g,b,w)=>g>=b&&g<=w?!0:g>=w&&g<=b;if(f===0)return!1;{const g={x:d/f,y:p/f};return m(g.x,n,s)&&m(g.y,a,l)&&m(g.x,r,i)&&m(g.y,c,u)}}};function B1(e){return{draw:new H1(e),stylus:new M1(e),line:new N1(e),rectangle:new R1(e),ellipse:new I1(e),eraseLine:new z1(e)}}var U1=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=y1(),this._models=B1(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),i=this.eventEnd.bind(this),a=this.eventKeyboard.bind(this);n.addEventListener("pointerdown",s,{passive:!1}),window.addEventListener("pointermove",r,{passive:!1}),window.addEventListener("pointerup",i,{passive:!1}),window.addEventListener("pointercancel",i,{passive:!1}),window.addEventListener("keydown",a,!1),window.addEventListener("keyup",a,!1),this._disposables.push(()=>{n.removeEventListener("pointerdown",s),window.removeEventListener("pointermove",r),window.removeEventListener("pointerup",i),window.removeEventListener("pointercancel",i),window.removeEventListener("keydown",a,!1),window.removeEventListener("keyup",a,!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 K1(e){return new U1(e)}const Ea=["#ff595e","#ffca3a","#8ac926","#1982c4","#6a4c93","#ffffff","#000000"],Yt=qt("slidev-drawing-enabled",!1),jA=qt("slidev-drawing-pinned",!1),W1=z(!1),G1=z(!1),Y1=z(!1),Pr=z(!1),es=y_(qt("slidev-drawing-brush",{color:Ea[0],size:4,mode:"stylus"})),Ou=z("stylus"),Pp=T(()=>Ce.drawings.syncAll||mt.value);let Cr=!1;const Xs=T({get(){return Ou.value},set(e){Ou.value=e,e==="arrow"?(es.mode="line",es.arrowEnd=!0):(es.mode=e,es.arrowEnd=!1)}}),Z1=Ve({brush:es,acceptsInputTypes:T(()=>Yt.value&&(!Ce.drawings.presenterOnly||mt.value)?void 0:["pen"]),coordinateTransform:!1}),ft=Zi(K1(Z1));function J1(){ft.clear(),Pp.value&&Gd(ze.value,"")}function yl(){var e;G1.value=ft.canRedo(),W1.value=ft.canUndo(),Y1.value=!!((e=ft.el)!=null&&e.children.length)}function X1(e){Cr=!0;const t=Li[e||ze.value];t!=null?ft.load(t):ft.clear(),yl(),Cr=!1}ft.on("changed",()=>{if(yl(),!Cr){const e=ft.dump(),t=ze.value;(Li[t]||"")!==e&&Pp.value&&Gd(t,ft.dump())}});h_(e=>{Cr=!0,e[ze.value]!=null&&ft.load(e[ze.value]||""),Cr=!1,yl()});et(()=>{pe(ze,()=>{ft.mounted&&X1()},{immediate:!0})});ft.on("start",()=>Pr.value=!0);ft.on("end",()=>Pr.value=!1);window.addEventListener("keydown",e=>{if(!Yt.value)return;const t=!e.ctrlKey&&!e.altKey&&!e.shiftKey&&!e.metaKey;let n=!0;e.code==="KeyZ"&&(e.ctrlKey||e.metaKey)?e.shiftKey?ft.redo():ft.undo():e.code==="Escape"?Yt.value=!1:e.code==="KeyL"&&t?Xs.value="line":e.code==="KeyA"&&t?Xs.value="arrow":e.code==="KeyS"&&t?Xs.value="stylus":e.code==="KeyR"&&t?Xs.value="rectangle":e.code==="KeyE"&&t?Xs.value="ellipse":e.code==="KeyC"&&t?J1():e.code.startsWith("Digit")&&t&&+e.code[5]<=Ea.length?es.color=Ea[+e.code[5]-1]:n=!1,n&&(e.preventDefault(),e.stopPropagation())},!1);function We(...e){return T(()=>e.every(t=>Ue(t)))}function yt(e){return T(()=>!Ue(e))}const ku=my(),Ao=qt("slidev-color-schema","auto"),Sa=T(()=>Ce.colorSchema!=="auto"),bl=T({get(){return Sa.value?Ce.colorSchema==="dark":Ao.value==="auto"?ku.value:Ao.value==="dark"},set(e){Sa.value||(Ao.value=e===ku.value?"auto":e?"dark":"light")}}),Cp=Jd(bl);dn&&pe(bl,e=>{const t=document.querySelector("html");t.classList.toggle("dark",e),t.classList.toggle("light",!e)},{immediate:!0});const mi=z(1),hi=T(()=>Ke.length),Et=z(0),wl=z(0);function Q1(){Et.value>mi.value&&(Et.value-=1)}function ew(){Et.value<hi.value&&(Et.value+=1)}function tw(){if(Et.value>mi.value){let e=Et.value-wl.value;e<mi.value&&(e=mi.value),Et.value=e}}function nw(){if(Et.value<hi.value){let e=Et.value+wl.value;e>hi.value&&(e=hi.value),Et.value=e}}function sw(){const{escape:e,space:t,shift:n,left:s,right:r,up:i,down:a,enter:l,d:c,g:u,o:f}=bp;let d=[{name:"next_space",key:We(t,yt(n)),fn:An,autoRepeat:!0},{name:"prev_space",key:We(t,n),fn:Mn,autoRepeat:!0},{name:"next_right",key:We(r,yt(n),yt(at)),fn:An,autoRepeat:!0},{name:"prev_left",key:We(s,yt(n),yt(at)),fn:Mn,autoRepeat:!0},{name:"next_page_key",key:"pageDown",fn:An,autoRepeat:!0},{name:"prev_page_key",key:"pageUp",fn:Mn,autoRepeat:!0},{name:"next_down",key:We(a,yt(at)),fn:kr,autoRepeat:!0},{name:"prev_up",key:We(i,yt(at)),fn:()=>Tr(!1),autoRepeat:!0},{name:"next_shift",key:We(r,n),fn:kr,autoRepeat:!0},{name:"prev_shift",key:We(s,n),fn:()=>Tr(!1),autoRepeat:!0},{name:"toggle_dark",key:We(c,yt(Yt)),fn:Cp},{name:"toggle_overview",key:We(f,yt(Yt)),fn:xp},{name:"hide_overview",key:We(e,yt(Yt)),fn:()=>at.value=!1},{name:"goto",key:We(u,yt(Yt)),fn:()=>$s.value=!$s.value},{name:"next_overview",key:We(r,at),fn:ew},{name:"prev_overview",key:We(s,at),fn:Q1},{name:"up_overview",key:We(i,at),fn:tw},{name:"down_overview",key:We(a,at),fn:nw},{name:"goto_from_overview",key:We(l,at),fn:()=>{Ns(Et.value),at.value=!1}}];const p=new Set(d.map(g=>g.name));if(d.filter(g=>g.name&&p.has(g.name)).length===0){const g=["========== WARNING ==========","defineShortcutsSetup did not return any of the base shortcuts.","See https://sli.dev/custom/config-shortcuts.html for migration.",'If it is intentional, return at least one shortcut with one of the base names (e.g. name:"goto").'].join(`
`);alert(g),console.warn(g)}return d}const Op=We(yt(m1),yt(h1),d1);function rw(e,t,n=!1){typeof e=="string"&&(e=bp[e]);const s=We(e,Op);let r=0,i;const a=()=>{if(clearTimeout(i),!s.value){r=0;return}n&&(i=setTimeout(a,Math.max(1e3-r*250,150)),r++),t()};return pe(s,a,{flush:"sync"})}function iw(e,t){return X_(e,n=>{Op.value&&(n.repeat||t())})}function ow(){const e=sw();new Map(e.map(n=>[n.key,n])).forEach(n=>{n.fn&&rw(n.key,n.fn,n.autoRepeat)}),iw("f",()=>wp.toggle())}const aw={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},lw=o("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),cw=[lw];function uw(e,t){return E(),N("svg",aw,cw)}const fw={name:"carbon-close",render:uw};function xl(e,t=""){var r,i;const n=["slidev-page",t],s=(i=(r=e==null?void 0:e.meta)==null?void 0:r.slide)==null?void 0:i.no;return s!=null&&n.push(`slidev-page-${s}`),n.filter(Boolean).join(" ")}const dw=Pe({__name:"SlideContainer",props:{width:{type:Number},meta:{default:()=>({})},scale:{type:[Number,String]}},setup(e){const t=e;Z(ee);const n=z(),s=Py(n),r=T(()=>t.width?t.width:s.width.value),i=T(()=>t.width?t.width/Pn:s.height.value);t.width&&Rs(()=>{n.value&&(n.value.style.width=`${r.value}px`,n.value.style.height=`${i.value}px`)});const a=T(()=>r.value/i.value),l=T(()=>t.scale&&!Is.value?t.scale:a.value<Pn?r.value/Cn:i.value*Pn/Cn),c=T(()=>({height:`${hl}px`,width:`${Cn}px`,transform:`translate(-50%, -50%) scale(${l.value})`})),u=T(()=>({"select-none":!Ce.selectable}));return wt(Ud,l),(f,d)=>(E(),N("div",{id:"slide-container",ref_key:"root",ref:n,class:qe(u.value)},[o("div",{id:"slide-content",style:nt(c.value)},[Rn(f.$slots,"default")],4),Rn(f.$slots,"controls")],2))}});const te=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},kp=te(dw,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/SlideContainer.vue"]]),El=Pe({name:"SlideWrapper",props:{clicks:{type:[Number,String],default:0},clicksElements:{type:Array,default:()=>[]},clicksOrderMap:{type:Map,default:()=>new Map},clicksDisabled:{type:Boolean,default:!1},context:{type:String,default:"main"},is:{type:Object,default:void 0},route:{type:Object,default:void 0}},setup(e,{emit:t}){const n=Gt(e,"clicks",t),s=Gt(e,"clicksElements",t),r=Gt(e,"clicksDisabled",t),i=Gt(e,"clicksOrderMap",t);s.value.length=0,wt(t_,e.route),wt(n_,e.context),wt(fi,n),wt(di,r),wt(Ss,s),wt(ua,i)},render(){var e,t;return this.$props.is?vt(this.$props.is):(t=(e=this.$slots)==null?void 0:e.default)==null?void 0:t.call(e)}}),pw=["innerHTML"],mw=Pe({__name:"DrawingPreview",props:{page:{type:Number,required:!0}},setup(e){return Z(ee),(t,n)=>C(Li)[t.page]?(E(),N("svg",{key:0,class:"w-full h-full absolute top-0 pointer-events-none",innerHTML:C(Li)[t.page]},null,8,pw)):de("v-if",!0)}}),Tp=te(mw,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/DrawingPreview.vue"]]),hw=Object.freeze(Object.defineProperty({__proto__:null,default:Tp},Symbol.toStringTag,{value:"Module"})),gw={class:"slides-overview bg-main !bg-opacity-75 p-16 overflow-y-auto"},vw=["onClick"],Mo=4*16*2,Tu=2*16,_w=Pe({__name:"SlidesOverview",props:{modelValue:{type:Boolean,required:!0}},emits:[],setup(e,{emit:t}){const n=e;Z(ee);const s=Gt(n,"modelValue",t);function r(){s.value=!1}function i(d){Ns(d),r()}function a(d){return d===Et.value}const l=ya.smaller("xs"),c=ya.smaller("sm"),u=T(()=>l.value?ls.width.value-Mo:c.value?(ls.width.value-Mo-Tu)/2:300),f=T(()=>Math.floor((ls.width.value-Mo)/(u.value+Tu)));return Rs(()=>{Et.value=ze.value,wl.value=f.value}),(d,p)=>{const m=fw;return E(),N($e,null,[od(o("div",gw,[o("div",{class:"grid gap-y-4 gap-x-8 w-full",style:nt(`grid-template-columns: repeat(auto-fit,minmax(${u.value}px,1fr))`)},[(E(!0),N($e,null,Ls(C(Ke),(g,b)=>(E(),N("div",{key:g.path,class:"relative"},[o("div",{class:qe(["inline-block border rounded border-opacity-50 overflow-hidden bg-main hover:border-$slidev-theme-primary",{"border-$slidev-theme-primary":a(b+1),"border-gray-400":!a(b+1)}]),style:nt(C(gl)),onClick:w=>i(+g.path)},[(E(),X(kp,{key:g.path,width:u.value,"clicks-disabled":!0,class:"pointer-events-none"},{default:_e(()=>[g!=null&&g.component?(E(),X(C(El),{key:0,is:g.component,"clicks-disabled":!0,class:qe(C(xl)(g)),route:g,context:"overview"},null,8,["is","class","route"])):de("v-if",!0),ne(Tp,{page:+g.path},null,8,["page"])]),_:2},1032,["width"]))],14,vw),o("div",{class:"absolute top-0 opacity-50",style:nt(`left: ${u.value+5}px`)},St(b+1),5)]))),128))],4)],512),[[Ld,C(s)]]),C(s)?(E(),N("button",{key:0,class:"fixed text-2xl top-4 right-4 slidev-icon-btn text-gray-400",onClick:r},[ne(m)])):de("v-if",!0)],64)}}});const yw=te(_w,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/SlidesOverview.vue"]]),bw="/projet-fin-etude/assets/logo-b72bde5d.png",ww={key:0,class:"fixed top-0 bottom-0 left-0 right-0 grid z-20"},xw=Pe({__name:"Modal",props:{modelValue:{default:!1},class:{default:""}},emits:["modelValue"],setup(e,{emit:t}){const n=e;Z(ee);const s=Gt(n,"modelValue",t);function r(){s.value=!1}return(i,a)=>(E(),X(ld,null,[C(s)?(E(),N("div",ww,[o("div",{bg:"black opacity-80",class:"absolute top-0 bottom-0 left-0 right-0 -z-1",onClick:a[0]||(a[0]=l=>r())}),o("div",{class:qe(["m-auto rounded-md bg-main shadow",n.class]),"dark:border":"~ main"},[Rn(i.$slots,"default")],2)])):de("v-if",!0)],1024))}}),Ew=te(xw,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Modal.vue"]]),Sw={class:"slidev-info-dialog slidev-layout flex flex-col gap-4 text-base"},$w=["innerHTML"],Pw=o("a",{href:"https://github.com/slidevjs/slidev",target:"_blank",class:"!opacity-100 !border-none !text-current"},[o("div",{class:"flex gap-1 children:my-auto"},[o("div",{class:"opacity-50 text-sm mr-2"},"Powered by"),o("img",{class:"w-5 h-5",src:bw,alt:"Slidev"}),o("div",{style:{color:"#2082A6"}},[o("b",null,"Sli"),ms("dev ")])])],-1),Cw=Pe({__name:"InfoDialog",props:{modelValue:{default:!1}},emits:["modelValue"],setup(e,{emit:t}){const n=e;Z(ee);const s=Gt(n,"modelValue",t),r=T(()=>typeof Ce.info=="string");return(i,a)=>(E(),X(Ew,{modelValue:C(s),"onUpdate:modelValue":a[0]||(a[0]=l=>Se(s)?s.value=l:null),class:"px-6 py-4"},{default:_e(()=>[o("div",Sw,[r.value?(E(),N("div",{key:0,class:"mb-4",innerHTML:C(Ce).info},null,8,$w)):de("v-if",!0),Pw])]),_:1},8,["modelValue"]))}});const Ow=te(Cw,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/InfoDialog.vue"]]);function pn(e){return Array.isArray?Array.isArray(e):Ip(e)==="[object Array]"}const kw=1/0;function Tw(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-kw?"-0":t}function Aw(e){return e==null?"":Tw(e)}function Zt(e){return typeof e=="string"}function Ap(e){return typeof e=="number"}function Mw(e){return e===!0||e===!1||Iw(e)&&Ip(e)=="[object Boolean]"}function Mp(e){return typeof e=="object"}function Iw(e){return Mp(e)&&e!==null}function xt(e){return e!=null}function Io(e){return!e.trim().length}function Ip(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Nw="Incorrect 'index' type",Rw=e=>`Invalid value for key ${e}`,Lw=e=>`Pattern length exceeds max of ${e}.`,jw=e=>`Missing ${e} property in key`,Dw=e=>`Property 'weight' in key '${e}' must be a positive integer`,Au=Object.prototype.hasOwnProperty;class Fw{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let r=Np(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Np(e){let t=null,n=null,s=null,r=1,i=null;if(Zt(e)||pn(e))s=e,t=Mu(e),n=$a(e);else{if(!Au.call(e,"name"))throw new Error(jw("name"));const a=e.name;if(s=a,Au.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(Dw(a));t=Mu(a),n=$a(a),i=e.getFn}return{path:t,id:n,weight:r,src:s,getFn:i}}function Mu(e){return pn(e)?e:e.split(".")}function $a(e){return pn(e)?e.join("."):e}function Hw(e,t){let n=[],s=!1;const r=(i,a,l)=>{if(xt(i))if(!a[l])n.push(i);else{let c=a[l];const u=i[c];if(!xt(u))return;if(l===a.length-1&&(Zt(u)||Ap(u)||Mw(u)))n.push(Aw(u));else if(pn(u)){s=!0;for(let f=0,d=u.length;f<d;f+=1)r(u[f],a,l+1)}else a.length&&r(u,a,l+1)}};return r(e,Zt(t)?t.split("."):t,0),s?n:n[0]}const qw={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Vw={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},zw={location:0,threshold:.6,distance:100},Bw={useExtendedSearch:!1,getFn:Hw,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var le={...Vw,...qw,...zw,...Bw};const Uw=/[^ ]+/g;function Kw(e=1,t=3){const n=new Map,s=Math.pow(10,t);return{get(r){const i=r.match(Uw).length;if(n.has(i))return n.get(i);const a=1/Math.pow(i,.5*e),l=parseFloat(Math.round(a*s)/s);return n.set(i,l),l},clear(){n.clear()}}}class Sl{constructor({getFn:t=le.getFn,fieldNormWeight:n=le.fieldNormWeight}={}){this.norm=Kw(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,s)=>{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Zt(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Zt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n<s;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!xt(t)||Io(t))return;let s={v:t,i:n,n:this.norm.get(t)};this.records.push(s)}_addObject(t,n){let s={i:n,$:{}};this.keys.forEach((r,i)=>{let a=r.getFn?r.getFn(t):this.getFn(t,r.path);if(xt(a)){if(pn(a)){let l=[];const c=[{nestedArrIndex:-1,value:a}];for(;c.length;){const{nestedArrIndex:u,value:f}=c.pop();if(xt(f))if(Zt(f)&&!Io(f)){let d={v:f,i:u,n:this.norm.get(f)};l.push(d)}else pn(f)&&f.forEach((d,p)=>{c.push({nestedArrIndex:p,value:d})})}s.$[i]=l}else if(Zt(a)&&!Io(a)){let l={v:a,n:this.norm.get(a)};s.$[i]=l}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function Rp(e,t,{getFn:n=le.getFn,fieldNormWeight:s=le.fieldNormWeight}={}){const r=new Sl({getFn:n,fieldNormWeight:s});return r.setKeys(e.map(Np)),r.setSources(t),r.create(),r}function Ww(e,{getFn:t=le.getFn,fieldNormWeight:n=le.fieldNormWeight}={}){const{keys:s,records:r}=e,i=new Sl({getFn:t,fieldNormWeight:n});return i.setKeys(s),i.setIndexRecords(r),i}function ti(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:r=le.distance,ignoreLocation:i=le.ignoreLocation}={}){const a=t/e.length;if(i)return a;const l=Math.abs(s-n);return r?a+l/r:l?1:a}function Gw(e=[],t=le.minMatchCharLength){let n=[],s=-1,r=-1,i=0;for(let a=e.length;i<a;i+=1){let l=e[i];l&&s===-1?s=i:!l&&s!==-1&&(r=i-1,r-s+1>=t&&n.push([s,r]),s=-1)}return e[i-1]&&i-s>=t&&n.push([s,i-1]),n}const Jn=32;function Yw(e,t,n,{location:s=le.location,distance:r=le.distance,threshold:i=le.threshold,findAllMatches:a=le.findAllMatches,minMatchCharLength:l=le.minMatchCharLength,includeMatches:c=le.includeMatches,ignoreLocation:u=le.ignoreLocation}={}){if(t.length>Jn)throw new Error(Lw(Jn));const f=t.length,d=e.length,p=Math.max(0,Math.min(s,d));let m=i,g=p;const b=l>1||c,w=b?Array(d):[];let y;for(;(y=e.indexOf(t,g))>-1;){let j=ti(t,{currentLocation:y,expectedLocation:p,distance:r,ignoreLocation:u});if(m=Math.min(j,m),g=y+f,b){let A=0;for(;A<f;)w[y+A]=1,A+=1}}g=-1;let x=[],_=1,P=f+d;const $=1<<f-1;for(let j=0;j<f;j+=1){let A=0,F=P;for(;A<F;)ti(t,{errors:j,currentLocation:p+F,expectedLocation:p,distance:r,ignoreLocation:u})<=m?A=F:P=F,F=Math.floor((P-A)/2+A);P=F;let Y=Math.max(1,p-F+1),oe=a?d:Math.min(p+F,d)+f,V=Array(oe+2);V[oe+1]=(1<<j)-1;for(let me=oe;me>=Y;me-=1){let ge=me-1,Ie=n[e.charAt(ge)];if(b&&(w[ge]=+!!Ie),V[me]=(V[me+1]<<1|1)&Ie,j&&(V[me]|=(x[me+1]|x[me])<<1|1|x[me+1]),V[me]&$&&(_=ti(t,{errors:j,currentLocation:ge,expectedLocation:p,distance:r,ignoreLocation:u}),_<=m)){if(m=_,g=ge,g<=p)break;Y=Math.max(1,2*p-g)}}if(ti(t,{errors:j+1,currentLocation:p,expectedLocation:p,distance:r,ignoreLocation:u})>m)break;x=V}const k={isMatch:g>=0,score:Math.max(.001,_)};if(b){const j=Gw(w,l);j.length?c&&(k.indices=j):k.isMatch=!1}return k}function Zw(e){let t={};for(let n=0,s=e.length;n<s;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<s-n-1}return t}class Lp{constructor(t,{location:n=le.location,threshold:s=le.threshold,distance:r=le.distance,includeMatches:i=le.includeMatches,findAllMatches:a=le.findAllMatches,minMatchCharLength:l=le.minMatchCharLength,isCaseSensitive:c=le.isCaseSensitive,ignoreLocation:u=le.ignoreLocation}={}){if(this.options={location:n,threshold:s,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:u},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const f=(p,m)=>{this.chunks.push({pattern:p,alphabet:Zw(p),startIndex:m})},d=this.pattern.length;if(d>Jn){let p=0;const m=d%Jn,g=d-m;for(;p<g;)f(this.pattern.substr(p,Jn),p),p+=Jn;if(m){const b=d-Jn;f(this.pattern.substr(b),b)}}else f(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let g={isMatch:!0,score:0};return s&&(g.indices=[[0,t.length-1]]),g}const{location:r,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:c,ignoreLocation:u}=this.options;let f=[],d=0,p=!1;this.chunks.forEach(({pattern:g,alphabet:b,startIndex:w})=>{const{isMatch:y,score:x,indices:_}=Yw(t,g,b,{location:r+w,distance:i,threshold:a,findAllMatches:l,minMatchCharLength:c,includeMatches:s,ignoreLocation:u});y&&(p=!0),d+=x,y&&_&&(f=[...f,..._])});let m={isMatch:p,score:p?d/this.chunks.length:1};return p&&s&&(m.indices=f),m}}class Fn{constructor(t){this.pattern=t}static isMultiMatch(t){return Iu(t,this.multiRegex)}static isSingleMatch(t){return Iu(t,this.singleRegex)}search(){}}function Iu(e,t){const n=e.match(t);return n?n[1]:null}class Jw extends Fn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class Xw extends Fn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class Qw extends Fn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ex extends Fn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class tx extends Fn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class nx extends Fn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class jp extends Fn{constructor(t,{location:n=le.location,threshold:s=le.threshold,distance:r=le.distance,includeMatches:i=le.includeMatches,findAllMatches:a=le.findAllMatches,minMatchCharLength:l=le.minMatchCharLength,isCaseSensitive:c=le.isCaseSensitive,ignoreLocation:u=le.ignoreLocation}={}){super(t),this._bitapSearch=new Lp(t,{location:n,threshold:s,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Dp extends Fn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const r=[],i=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+i,r.push([s,n-1]);const a=!!r.length;return{isMatch:a,score:a?0:1,indices:r}}}const Pa=[Jw,Dp,Qw,ex,nx,tx,Xw,jp],Nu=Pa.length,sx=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,rx="|";function ix(e,t={}){return e.split(rx).map(n=>{let s=n.trim().split(sx).filter(i=>i&&!!i.trim()),r=[];for(let i=0,a=s.length;i<a;i+=1){const l=s[i];let c=!1,u=-1;for(;!c&&++u<Nu;){const f=Pa[u];let d=f.isMultiMatch(l);d&&(r.push(new f(d,t)),c=!0)}if(!c)for(u=-1;++u<Nu;){const f=Pa[u];let d=f.isSingleMatch(l);if(d){r.push(new f(d,t));break}}}return r})}const ox=new Set([jp.type,Dp.type]);class ax{constructor(t,{isCaseSensitive:n=le.isCaseSensitive,includeMatches:s=le.includeMatches,minMatchCharLength:r=le.minMatchCharLength,ignoreLocation:i=le.ignoreLocation,findAllMatches:a=le.findAllMatches,location:l=le.location,threshold:c=le.threshold,distance:u=le.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:s,minMatchCharLength:r,findAllMatches:a,ignoreLocation:i,location:l,threshold:c,distance:u},this.pattern=n?t:t.toLowerCase(),this.query=ix(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:s,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let i=0,a=[],l=0;for(let c=0,u=n.length;c<u;c+=1){const f=n[c];a.length=0,i=0;for(let d=0,p=f.length;d<p;d+=1){const m=f[d],{isMatch:g,indices:b,score:w}=m.search(t);if(g){if(i+=1,l+=w,s){const y=m.constructor.type;ox.has(y)?a=[...a,...b]:a.push(b)}}else{l=0,i=0,a.length=0;break}}if(i){let d={isMatch:!0,score:l/i};return s&&(d.indices=a),d}}return{isMatch:!1,score:1}}}const Ca=[];function lx(...e){Ca.push(...e)}function Oa(e,t){for(let n=0,s=Ca.length;n<s;n+=1){let r=Ca[n];if(r.condition(e,t))return new r(e,t)}return new Lp(e,t)}const Hi={AND:"$and",OR:"$or"},ka={PATH:"$path",PATTERN:"$val"},Ta=e=>!!(e[Hi.AND]||e[Hi.OR]),cx=e=>!!e[ka.PATH],ux=e=>!pn(e)&&Mp(e)&&!Ta(e),Ru=e=>({[Hi.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Fp(e,t,{auto:n=!0}={}){const s=r=>{let i=Object.keys(r);const a=cx(r);if(!a&&i.length>1&&!Ta(r))return s(Ru(r));if(ux(r)){const c=a?r[ka.PATH]:i[0],u=a?r[ka.PATTERN]:r[c];if(!Zt(u))throw new Error(Rw(c));const f={keyId:$a(c),pattern:u};return n&&(f.searcher=Oa(u,t)),f}let l={children:[],operator:i[0]};return i.forEach(c=>{const u=r[c];pn(u)&&u.forEach(f=>{l.children.push(s(f))})}),l};return Ta(e)||(e=Ru(e)),s(e)}function fx(e,{ignoreFieldNorm:t=le.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:i,score:a})=>{const l=r?r.weight:null;s*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(t?1:i))}),n.score=s})}function dx(e,t){const n=e.matches;t.matches=[],xt(n)&&n.forEach(s=>{if(!xt(s.indices)||!s.indices.length)return;const{indices:r,value:i}=s;let a={indices:r,value:i};s.key&&(a.key=s.key.src),s.idx>-1&&(a.refIndex=s.idx),t.matches.push(a)})}function px(e,t){t.score=e.score}function mx(e,t,{includeMatches:n=le.includeMatches,includeScore:s=le.includeScore}={}){const r=[];return n&&r.push(dx),s&&r.push(px),e.map(i=>{const{idx:a}=i,l={item:t[a],refIndex:a};return r.length&&r.forEach(c=>{c(i,l)}),l})}class Ds{constructor(t,n={},s){this.options={...le,...n},this.options.useExtendedSearch,this._keyStore=new Fw(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof Sl))throw new Error(Nw);this._myIndex=n||Rp(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){xt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,r=this._docs.length;s<r;s+=1){const i=this._docs[s];t(i,s)&&(this.removeAt(s),s-=1,r-=1,n.push(i))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:s,includeScore:r,shouldSort:i,sortFn:a,ignoreFieldNorm:l}=this.options;let c=Zt(t)?Zt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return fx(c,{ignoreFieldNorm:l}),i&&c.sort(a),Ap(n)&&n>-1&&(c=c.slice(0,n)),mx(c,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(t){const n=Oa(t,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:i,i:a,n:l})=>{if(!xt(i))return;const{isMatch:c,score:u,indices:f}=n.searchIn(i);c&&r.push({item:i,idx:a,matches:[{score:u,value:i,norm:l,indices:f}]})}),r}_searchLogical(t){const n=Fp(t,this.options),s=(l,c,u)=>{if(!l.children){const{keyId:d,searcher:p}=l,m=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(c,d),searcher:p});return m&&m.length?[{idx:u,item:c,matches:m}]:[]}const f=[];for(let d=0,p=l.children.length;d<p;d+=1){const m=l.children[d],g=s(m,c,u);if(g.length)f.push(...g);else if(l.operator===Hi.AND)return[]}return f},r=this._myIndex.records,i={},a=[];return r.forEach(({$:l,i:c})=>{if(xt(l)){let u=s(n,l,c);u.length&&(i[c]||(i[c]={idx:c,item:l,matches:[]},a.push(i[c])),u.forEach(({matches:f})=>{i[c].matches.push(...f)}))}}),a}_searchObjectList(t){const n=Oa(t,this.options),{keys:s,records:r}=this._myIndex,i=[];return r.forEach(({$:a,i:l})=>{if(!xt(a))return;let c=[];s.forEach((u,f)=>{c.push(...this._findMatches({key:u,value:a[f],searcher:n}))}),c.length&&i.push({idx:l,item:a,matches:c})}),i}_findMatches({key:t,value:n,searcher:s}){if(!xt(n))return[];let r=[];if(pn(n))n.forEach(({v:i,i:a,n:l})=>{if(!xt(i))return;const{isMatch:c,score:u,indices:f}=s.searchIn(i);c&&r.push({score:u,key:t,value:i,idx:a,norm:l,indices:f})});else{const{v:i,n:a}=n,{isMatch:l,score:c,indices:u}=s.searchIn(i);l&&r.push({score:c,key:t,value:i,norm:a,indices:u})}return r}}Ds.version="6.6.2";Ds.createIndex=Rp;Ds.parseIndex=Ww;Ds.config=le;Ds.parseQuery=Fp;lx(ax);const hx={key:0},gx={key:1},vx={key:2},_x={key:3},yx={key:4},bx={key:5},wx={key:6},xx={key:7},Ex={key:8},Sx={key:9},$x={key:10},Px={key:11},Cx={key:12},Ox={key:13},kx={key:14},Tx={key:15},Ax={key:16},Mx={key:17},Ix={key:18},Nx={key:19},Rx={key:20},Lx={key:21},jx={key:22},Dx={key:23},Fx={key:24},Hx={key:25},qx={key:26},Vx={key:27},zx=Pe({__name:"titles",props:{no:{type:[Number,String],required:!0}},setup(e){return(t,n)=>(E(),N("div",null,[+t.no==1?(E(),N("p",hx,"Projet de fin détude")):+t.no==2?(E(),N("p",gx,"Sommaire")):+t.no==3?(E(),N("p",vx,"Présentation (rapide) de Safran")):+t.no==4?(E(),N("p",_x,"Détails dun moteur davion")):+t.no==5?(E(),N("p",yx,"Dataset Rotor37_1200")):+t.no==6?(E(),N("p",bx,"Problème direct")):+t.no==7?(E(),N("p",wx,"Problème inverse, Modèles génératifs")):+t.no==8?(E(),N("p",xx,"Denoising Diffusion Probabilistic Model (DDPM)")):+t.no==9?(E(),N("p",Ex,"Diffusion forward process")):+t.no==10?(E(),N("p",Sx,"Diffusion reverse process")):+t.no==11?(E(),N("p",$x,"Latent Diffusion Model (LDM)")):+t.no==12?(E(),N("p",Px,"Générations par diffusion latente (non conditionnée)")):+t.no==13?(E(),N("p",Cx,"Classifier-free Guidance (CFG)")):+t.no==14?(E(),N("p",Ox,"Générations par diffusion latente (conditionnée)")):+t.no==15?(E(),N("p",kx,"Gaussian Process (GP)")):+t.no==16?(E(),N("p",Tx,'"Entrainement" dun GP sur Rotor37_1200')):+t.no==17?(E(),N("p",Ax,"Analyse de générations non conditionnées")):+t.no==18?(E(),N("p",Mx,"Analyse de générations progressivement conditionnées")):+t.no==19?(E(),N("p",Ix,"Analyse de générations conditionnées (massflow)")):+t.no==20?(E(),N("p",Nx,"Analyse de générations conditionnées (efficiency)")):+t.no==21?(E(),N("p",Rx,"Analyse de générations conditionnées (double)")):+t.no==22?(E(),N("p",Lx,"Conclusion")):+t.no==23?(E(),N("p",jx,"Conclusion")):+t.no==24?(E(),N("p",Dx,"Annexes")):+t.no==25?(E(),N("p",Fx,"GraphVAE")):+t.no==26?(E(),N("p",Hx,"PVD")):+t.no==27?(E(),N("p",qx,"undefined")):+t.no==28?(E(),N("p",Vx,"undefined")):de("v-if",!0)]))}}),Bx=te(zx,[["__file","/@slidev/titles.md"]]),Ux={class:"bg-main transform",shadow:"~",p:"x-4 y-2",border:"~ transparent rounded dark:main"},Kx=["value","disabled","onKeydown"],Wx=["border","onClick"],Gx={"w-4":"","text-right":"",op50:"","text-sm":""},Yx=Pe({__name:"Goto",setup(e){Z(ee);const t=z(),n=z(),s=z(),r=z(),i=z(""),a=z(0);function l(_){return _!=null}const c=T(()=>new Ds(Ke.map(_=>{var P;return(P=_.meta)==null?void 0:P.slide}).filter(l),{keys:["no","title"],threshold:.3,shouldSort:!0,minMatchCharLength:1})),u=T(()=>i.value.startsWith("/")?i.value.substring(1):i.value),f=T(()=>c.value.search(u.value).map(_=>_.item)),d=T(()=>!!f.value.length);function p(){if(d.value){const _=f.value.at(a.value||0);_&&Ns(_.no)}m()}function m(){i.value="",$s.value=!1}function g(_){_.preventDefault(),a.value++,a.value>=f.value.length&&(a.value=0),w()}function b(_){_.preventDefault(),a.value--,a.value<=-2&&(a.value=f.value.length-1),w()}function w(){var P;const _=(P=r.value)==null?void 0:P[a.value];_&&s.value&&(_.offsetTop+_.offsetHeight>s.value.offsetHeight+s.value.scrollTop?s.value.scrollTo({behavior:"smooth",top:_.offsetTop+_.offsetHeight-s.value.offsetHeight+1}):_.offsetTop<s.value.scrollTop&&s.value.scrollTo({behavior:"smooth",top:_.offsetTop}))}function y(_){a.value=0,i.value=_.target.value}function x(_){Ns(_),m()}return pe($s,async _=>{var P;_?(i.value="",a.value=0,setTimeout(()=>{var $;return($=n.value)==null?void 0:$.focus()},0)):(P=n.value)==null||P.blur()}),pe(Tn,()=>{var _;(_=t.value)!=null&&_.contains(Tn.value)||m()}),(_,P)=>(E(),N("div",{id:"slidev-goto-dialog",ref_key:"container",ref:t,class:qe(["fixed right-5 transition-all",C($s)?"top-5":"-top-20"]),"w-90":"","max-w-90":"","min-w-90":""},[o("div",Ux,[o("input",{id:"slidev-goto-input",ref_key:"input",ref:n,value:i.value,type:"text",disabled:!C($s),class:qe(["outline-none bg-transparent",{"text-red-400":!d.value&&i.value}]),placeholder:"Goto...",onKeydown:[Zr(p,["enter"]),Zr(m,["escape"]),Zr(g,["down"]),Zr(b,["up"])],onInput:y},null,42,Kx)]),f.value.length>0?(E(),N("ul",{key:0,ref_key:"list",ref:s,class:"autocomplete-list",shadow:"~",border:"~ transparent rounded dark:main"},[(E(!0),N($e,null,Ls(f.value,($,k)=>(E(),N("li",{ref_for:!0,ref_key:"items",ref:r,key:$.id,role:"button",tabindex:"0",p:"x-4 y-2","cursor-pointer":"",hover:"op100",flex:"~ gap-2","w-90":"","items-center":"",border:k===0?"":"t main",class:qe(a.value===k?"bg-active op100":"op80"),onClick:a0(j=>x($.no),["stop","prevent"])},[o("div",Gx,St($.no),1),ne(C(Bx),{no:$.no},null,8,["no"])],10,Wx))),128))],512)):de("v-if",!0)],2))}});const Zx=te(Yx,[["__scopeId","data-v-f5ee02a7"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Goto.vue"]]),Jx=Pe({__name:"Controls",setup(e){Z(ee);const t=Qt(),n=Qt();return(s,r)=>(E(),N($e,null,[ne(yw,{modelValue:C(at),"onUpdate:modelValue":r[0]||(r[0]=i=>Se(at)?at.value=i:null)},null,8,["modelValue"]),ne(Zx),t.value?(E(),X(C(t),{key:0})):de("v-if",!0),n.value?(E(),X(C(n),{key:1,modelValue:C(ko),"onUpdate:modelValue":r[1]||(r[1]=i=>Se(ko)?ko.value=i:null)},null,8,["modelValue"])):de("v-if",!0),C(Ce).info?(E(),X(Ow,{key:2,modelValue:C(ur),"onUpdate:modelValue":r[2]||(r[2]=i=>Se(ur)?ur.value=i:null)},null,8,["modelValue"])):de("v-if",!0)],64))}}),Xx=te(Jx,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Controls.vue"]]),Qx={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},e2=o("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),t2=[e2];function n2(e,t){return E(),N("svg",Qx,t2)}const s2={name:"carbon-settings-adjust",render:n2},r2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},i2=o("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),o2=o("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),a2=[i2,o2];function l2(e,t){return E(),N("svg",r2,a2)}const c2={name:"carbon-information",render:l2},u2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},f2=o("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),d2=[f2];function p2(e,t){return E(),N("svg",u2,d2)}const m2={name:"carbon-download",render:p2},h2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},g2=o("path",{fill:"currentColor",d:"M29.415 19L27.7 17.285A2.97 2.97 0 0 0 28 16a3 3 0 1 0-3 3a2.97 2.97 0 0 0 1.286-.3L28 20.414V28h-6v-3a7.008 7.008 0 0 0-7-7H9a7.008 7.008 0 0 0-7 7v5h28v-9.586A1.988 1.988 0 0 0 29.415 19ZM4 25a5.006 5.006 0 0 1 5-5h6a5.006 5.006 0 0 1 5 5v3H4Z"},null,-1),v2=o("path",{fill:"currentColor",d:"M12 4a5 5 0 1 1-5 5a5 5 0 0 1 5-5m0-2a7 7 0 1 0 7 7a7 7 0 0 0-7-7Z"},null,-1),_2=[g2,v2];function y2(e,t){return E(),N("svg",h2,_2)}const b2={name:"carbon-user-speaker",render:y2},w2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},x2=o("path",{fill:"currentColor",d:"M15 10h2v8h-2zm5 4h2v4h-2zm-10-2h2v6h-2z"},null,-1),E2=o("path",{fill:"currentColor",d:"M25 4h-8V2h-2v2H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8v6h-4v2h10v-2h-4v-6h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 16H7V6h18Z"},null,-1),S2=[x2,E2];function $2(e,t){return E(),N("svg",w2,S2)}const P2={name:"carbon-presentation-file",render:$2},C2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},O2=o("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),k2=[O2];function T2(e,t){return E(),N("svg",C2,k2)}const A2={name:"carbon-pen",render:T2},M2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},I2=o("g",{fill:"currentColor"},[o("path",{d:"M213.66 201L201 213.66a8 8 0 0 1-11.31 0L140 164a8 8 0 0 0-13 2.46l-19.46 44.77a8 8 0 0 1-14.85-.71L40.41 50.44a8 8 0 0 1 10-10l160.1 52.24a8 8 0 0 1 .71 14.85L166.45 127a8 8 0 0 0-2.45 13l49.67 49.67a8 8 0 0 1-.01 11.33Z",opacity:".2"}),o("path",{d:"m169.64 134.33l44.77-19.46a16 16 0 0 0-1.41-29.8L52.92 32.8A16 16 0 0 0 32.8 52.92L85.07 213a15.83 15.83 0 0 0 14.41 11h.78a15.83 15.83 0 0 0 14.61-9.59l19.46-44.77L184 219.31a16 16 0 0 0 22.63 0l12.68-12.68a16 16 0 0 0 0-22.63Zm-69.48 73.76l.06-.05Zm95.15-.09l-49.67-49.67a16 16 0 0 0-26 4.94l-19.42 44.65L48 48l159.87 52.21l-44.64 19.41a16 16 0 0 0-4.94 26L208 195.31Z"})],-1),N2=[I2];function R2(e,t){return E(),N("svg",M2,N2)}const L2={name:"ph-cursor-duotone",render:R2},j2={class:"slidev-icon",viewBox:"0 0 256 256",width:"1.2em",height:"1.2em"},D2=o("path",{fill:"currentColor",d:"M219.31 192a16 16 0 0 1 0 22.63l-4.68 4.68a16 16 0 0 1-22.63 0l-55.25-55.24l-21.88 50.34a15.84 15.84 0 0 1-14.61 9.59h-.78a15.82 15.82 0 0 1-14.41-11L32.8 52.92A15.95 15.95 0 0 1 52.92 32.8L213 85.07a16 16 0 0 1 1.41 29.8l-50.34 21.88Z"},null,-1),F2=[D2];function H2(e,t){return E(),N("svg",j2,F2)}const Hp={name:"ph-cursor-fill",render:H2},q2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},V2=o("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),z2=[V2];function B2(e,t){return E(),N("svg",q2,z2)}const U2={name:"carbon-sun",render:B2},K2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},W2=o("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),G2=[W2];function Y2(e,t){return E(),N("svg",K2,G2)}const Z2={name:"carbon-moon",render:Y2},J2={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},X2=o("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),Q2=[X2];function eE(e,t){return E(),N("svg",J2,Q2)}const tE={name:"carbon-apps",render:eE},nE={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},sE=o("path",{fill:"currentColor",d:"m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10L18 6z"},null,-1),rE=[sE];function iE(e,t){return E(),N("svg",nE,rE)}const oE={name:"carbon-arrow-right",render:iE},aE={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},lE=o("path",{fill:"currentColor",d:"m14 26l1.41-1.41L7.83 17H28v-2H7.83l7.58-7.59L14 6L4 16l10 10z"},null,-1),cE=[lE];function uE(e,t){return E(),N("svg",aE,cE)}const fE={name:"carbon-arrow-left",render:uE},dE={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},pE=o("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),mE=[pE];function hE(e,t){return E(),N("svg",dE,mE)}const gE={name:"carbon-maximize",render:hE},vE={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},_E=o("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),yE=[_E];function bE(e,t){return E(),N("svg",vE,yE)}const wE={name:"carbon-minimize",render:bE},xE={class:"slidev-icon",viewBox:"0 0 32 32",width:"1.2em",height:"1.2em"},EE=o("path",{fill:"currentColor",d:"m13 24l-9-9l1.414-1.414L13 21.171L26.586 7.586L28 9L13 24z"},null,-1),SE=[EE];function $E(e,t){return E(),N("svg",xE,SE)}const PE={name:"carbon-checkmark",render:$E},CE={class:"select-list"},OE={class:"title"},kE={class:"items"},TE=["onClick"],AE=Pe({__name:"SelectList",props:{modelValue:{type:[Object,String,Number]},title:{type:String},items:{type:Array}},setup(e,{emit:t}){const n=e;Z(ee);const s=Gt(n,"modelValue",t,{passive:!0});return(r,i)=>{const a=PE;return E(),N("div",CE,[o("div",OE,St(e.title),1),o("div",kE,[(E(!0),N($e,null,Ls(e.items,l=>(E(),N("div",{key:l.value,class:qe(["item",{active:C(s)===l.value}]),onClick:()=>{var c;s.value=l.value,(c=l.onClick)==null||c.call(l)}},[ne(a,{class:qe(["text-green-500",{"opacity-0":C(s)!==l.value}])},null,8,["class"]),ms(" "+St(l.display||l.value),1)],10,TE))),128))])])}}});const ME=te(AE,[["__scopeId","data-v-3f89fa11"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/SelectList.vue"]]),IE={class:"text-sm"},NE=Pe({__name:"Settings",setup(e){Z(ee);const t=[{display:"Fit",value:0},{display:"1:1",value:1}];return(n,s)=>(E(),N("div",IE,[ne(ME,{modelValue:C(pi),"onUpdate:modelValue":s[0]||(s[0]=r=>Se(pi)?pi.value=r:null),title:"Scale",items:t},null,8,["modelValue"])]))}}),RE=te(NE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Settings.vue"]]),LE={key:0,class:"rounded-md bg-main shadow absolute bottom-10 left-0 z-20","dark:border":"~ main"},jE=Pe({__name:"MenuButton",props:{modelValue:{default:!1},disabled:{default:!1}},setup(e,{emit:t}){const n=e;Z(ee);const s=Gt(n,"modelValue",t,{passive:!0}),r=z();return Z_(r,()=>{s.value=!1}),(i,a)=>(E(),N("div",{ref_key:"el",ref:r,class:"flex relative"},[o("button",{class:qe({disabled:e.disabled}),onClick:a[0]||(a[0]=l=>s.value=!C(s))},[Rn(i.$slots,"button",{class:qe({disabled:e.disabled})})],2),(E(),X(ld,null,[C(s)?(E(),N("div",LE,[Rn(i.$slots,"menu")])):de("v-if",!0)],1024))],512))}}),DE=te(jE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/MenuButton.vue"]]),FE={class:"w-1px opacity-10 bg-current m-1 lg:m-2"},HE={__name:"VerticalDivider",setup(e){return Z(ee),(t,n)=>(E(),N("div",FE))}},ni=te(HE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/VerticalDivider.vue"]]),qE={render(){return[]}},VE={class:"slidev-icon-btn"},zE={class:"h-40px flex",p:"l-1 t-0.5 r-2",text:"sm leading-2"},BE={class:"my-auto"},UE={class:"opacity-50"},KE=Pe({__name:"NavControls",props:{persist:{default:!1}},setup(e){const t=e;Z(ee);const n=ya.smaller("md"),{isFullscreen:s,toggle:r}=wp,i=T(()=>Ma.value?`?password=${Ma.value}`:""),a=T(()=>`/presenter/${ze.value}${i.value}`),l=T(()=>`/${ze.value}${i.value}`),c=z();function u(){c.value&&Tn.value&&c.value.contains(Tn.value)&&Tn.value.blur()}const f=T(()=>t.persist?"text-$slidev-controls-foreground bg-transparent":"rounded-md bg-main shadow dark:border dark:border-gray-400 dark:border-opacity-10"),d=Qt(),p=Qt();return On(()=>import("./DrawingControls-b71ecd01.js"),[]).then(m=>p.value=m.default),(m,g)=>{const b=wE,w=gE,y=fE,x=oE,_=tE,P=Z2,$=U2,k=Hp,j=L2,A=A2,F=P2,Y=Oi("RouterLink"),oe=b2,V=m2,fe=c2,me=s2;return E(),N("nav",{ref_key:"root",ref:c,class:"flex flex-col"},[o("div",{class:qe(["flex flex-wrap-reverse text-xl gap-0.5 p-1 lg:gap-1 lg:p-2",f.value]),onMouseleave:u},[C(on)?de("v-if",!0):(E(),N("button",{key:0,class:"slidev-icon-btn",onClick:g[0]||(g[0]=(...ge)=>C(r)&&C(r)(...ge))},[C(s)?(E(),X(b,{key:0})):(E(),X(w,{key:1}))])),o("button",{class:qe(["slidev-icon-btn",{disabled:!C(tk)}]),onClick:g[1]||(g[1]=(...ge)=>C(Mn)&&C(Mn)(...ge))},[ne(y)],2),o("button",{class:qe(["slidev-icon-btn",{disabled:!C(ek)}]),title:"Next",onClick:g[2]||(g[2]=(...ge)=>C(An)&&C(An)(...ge))},[ne(x)],2),C(on)?de("v-if",!0):(E(),N("button",{key:1,class:"slidev-icon-btn",title:"Slides overview",onClick:g[3]||(g[3]=ge=>C(xp)())},[ne(_)])),C(Sa)?de("v-if",!0):(E(),N("button",{key:2,class:"slidev-icon-btn",title:"Toggle dark mode",onClick:g[4]||(g[4]=ge=>C(Cp)())},[C(bl)?(E(),X(P,{key:0})):(E(),X($,{key:1}))])),ne(ni),C(on)?de("v-if",!0):(E(),N($e,{key:3},[!C(mt)&&!C(n)&&d.value?(E(),N($e,{key:0},[ne(C(d)),ne(ni)],64)):de("v-if",!0),C(mt)?(E(),N("button",{key:1,class:"slidev-icon-btn",title:"Show presenter cursor",onClick:g[5]||(g[5]=ge=>To.value=!C(To))},[C(To)?(E(),X(k,{key:0})):(E(),X(j,{key:1,class:"opacity-50"}))])):de("v-if",!0)],64)),(!C(Ce).drawings.presenterOnly||C(mt))&&!C(on)?(E(),N($e,{key:4},[o("button",{class:"slidev-icon-btn relative",title:"Drawing",onClick:g[6]||(g[6]=ge=>Yt.value=!C(Yt))},[ne(A),C(Yt)?(E(),N("div",{key:0,class:"absolute left-1 right-1 bottom-0 h-0.7 rounded-full",style:nt({background:C(es).color})},null,4)):de("v-if",!0)]),ne(ni)],64)):de("v-if",!0),C(on)?de("v-if",!0):(E(),N($e,{key:5},[C(mt)?(E(),X(Y,{key:0,to:l.value,class:"slidev-icon-btn",title:"Play Mode"},{default:_e(()=>[ne(F)]),_:1},8,["to"])):de("v-if",!0),C(YO)?(E(),X(Y,{key:1,to:a.value,class:"slidev-icon-btn",title:"Presenter Mode"},{default:_e(()=>[ne(oe)]),_:1},8,["to"])):de("v-if",!0),de("v-if",!0)],64)),(E(),N($e,{key:6},[C(Ce).download?(E(),N("button",{key:0,class:"slidev-icon-btn",onClick:g[8]||(g[8]=(...ge)=>C(Ia)&&C(Ia)(...ge))},[ne(V)])):de("v-if",!0)],64)),!C(mt)&&C(Ce).info&&!C(on)?(E(),N("button",{key:7,class:"slidev-icon-btn",onClick:g[9]||(g[9]=ge=>ur.value=!C(ur))},[ne(fe)])):de("v-if",!0),!C(mt)&&!C(on)?(E(),X(DE,{key:8},{button:_e(()=>[o("button",VE,[ne(me)])]),menu:_e(()=>[ne(RE)]),_:1})):de("v-if",!0),C(on)?de("v-if",!0):(E(),X(ni,{key:9})),o("div",zE,[o("div",BE,[ms(St(C(ze))+" ",1),o("span",UE,"/ "+St(C(ZO)),1)])]),ne(C(qE))],34)],512)}}}),WE=te(KE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/NavControls.vue"]]),GE={__name:"SlidesTotal",setup(e){const t=Z(ee);return(n,s)=>(E(),N("span",null,St(C(t).nav.total),1))}},YE=te(GE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/builtin/SlidesTotal.vue"]]),ZE={__name:"SlideCurrentNo",setup(e){const t=Z(ee);return(n,s)=>(E(),N("span",null,St(C(t).nav.currentPage),1))}},JE=te(ZE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/builtin/SlideCurrentNo.vue"]]),XE=Pe({__name:"Pagination",props:{classNames:{type:[Array,String]},x:{default:"r",type:String,validator:e=>e==="l"||e==="r"},y:{default:"t",type:String,validator:e=>e==="b"||e==="t"}},setup(e){const{classNames:t,x:n,y:s}=e;Z(ee);const r=T(()=>[...t?Array.isArray(t)?t:[t]:[],n==="l"&&"left-0",n==="r"&&"right-0",s==="t"&&"top-0",s==="b"&&"bottom-0"]);return(i,a)=>{const l=JE,c=YE;return E(),N("div",{class:qe(["absolute p-2 text-xs",r.value])},[ne(l),ms(" / "),ne(c)],2)}}}),QE=te(XE,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/slidev-theme-academic/components/Pagination.vue"]]),eS={__name:"global-top",setup(e){const t=Z(ee);return(n,s)=>{var i;const r=QE;return C(t).nav.currentPage!==C(t).nav.total+1&&!((i=C(t).themeConfigs.paginationPagesDisabled)!=null&&i.includes(C(t).nav.currentPage))&&(C(t).themeConfigs.paginationX||C(t).themeConfigs.paginationY)?(E(),X(r,{key:0,x:C(t).themeConfigs.paginationX,y:C(t).themeConfigs.paginationY},null,8,["x","y"])):de("v-if",!0)}}},tS=te(eS,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/slidev-theme-academic/global-top.vue"]]),qp={render(){return[vt(tS)]}},Vp={render(){return[]}},nS={key:0,class:"absolute top-0 left-0 right-0 bottom-0 pointer-events-none text-xl"},sS=Pe({__name:"PresenterMouse",setup(e){return Z(ee),(t,n)=>{const s=Hp;return C($o).cursor?(E(),N("div",nS,[ne(s,{class:"absolute",style:nt({left:`${C($o).cursor.x}%`,top:`${C($o).cursor.y}%`})},null,8,["style"])])):de("v-if",!0)}}}),rS=te(sS,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/PresenterMouse.vue"]]),iS=Pe({__name:"SlidesShow",props:{context:{type:String,required:!0}},setup(e){Z(ee),pe(lt,()=>{var s,r;(s=lt.value)!=null&&s.meta&&lt.value.meta.preload!==!1&&(lt.value.meta.__preloaded=!0),(r=No.value)!=null&&r.meta&&No.value.meta.preload!==!1&&(No.value.meta.__preloaded=!0)},{immediate:!0});const t=Qt();On(()=>import("./DrawingLayer-63aaf918.js"),[]).then(s=>t.value=s.default);const n=T(()=>Ke.filter(s=>{var r;return((r=s.meta)==null?void 0:r.__preloaded)||s===lt.value}));return(s,r)=>(E(),N($e,null,[de(" Global Bottom "),ne(C(Vp)),de(" Slides "),ne(e0,wr(C(rk),{id:"slideshow",tag:"div"}),{default:_e(()=>[(E(!0),N($e,null,Ls(n.value,i=>{var a;return od((E(),X(C(El),{key:i.path,is:i==null?void 0:i.component,clicks:i===C(lt)?C(At):0,"clicks-elements":((a=i.meta)==null?void 0:a.__clicksElements)||[],"clicks-disabled":!1,class:qe(C(xl)(i)),route:i,context:s.context},null,8,["is","clicks","clicks-elements","class","route","context"])),[[Ld,i===C(lt)]])}),128))]),_:1},16),de(" Global Top "),ne(C(qp)),t.value?(E(),X(C(t),{key:0})):de("v-if",!0),C(mt)?de("v-if",!0):(E(),X(rS,{key:1}))],64))}});const oS=te(iS,[["__scopeId","data-v-afb4231e"],["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/SlidesShow.vue"]]),aS=Pe({__name:"PrintStyle",setup(e){Z(ee);function t(n,{slots:s}){if(s.default)return vt("style",s.default())}return(n,s)=>(E(),X(t,null,{default:_e(()=>[ms(" @page { size: "+St(C(Cn))+"px "+St(C(hl))+"px; margin: 0px; } ",1)]),_:1}))}}),zp=te(aS,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/PrintStyle.vue"]]),lS=Pe({__name:"Play",setup(e){Z(ee),ow();const t=z();function n(i){var a;vu.value||((a=i.target)==null?void 0:a.id)==="slide-container"&&(i.screenX/window.innerWidth>.6?An():Mn())}ik(t);const s=T(()=>p1.value||vu.value);Qt();const r=Qt();return On(()=>import("./DrawingControls-b71ecd01.js"),[]).then(i=>r.value=i.default),(i,a)=>(E(),N($e,null,[C(Is)?(E(),X(zp,{key:0})):de("v-if",!0),o("div",{id:"page-root",ref_key:"root",ref:t,class:"grid grid-cols-[1fr_max-content]",style:nt(C(gl))},[ne(kp,{class:"w-full h-full",style:nt({background:"var(--slidev-slide-container-background, black)"}),width:C(Is)?C(ls).width.value:void 0,scale:C(pi),onPointerdown:n},{default:_e(()=>[ne(oS,{context:"slide"})]),controls:_e(()=>[o("div",{class:qe(["absolute bottom-0 left-0 transition duration-300 opacity-0 hover:opacity-100",[s.value?"opacity-100 right-0":"opacity-0 p-2",C(Pr)?"pointer-events-none":""]])},[ne(WE,{class:"m-auto",persist:s.value},null,8,["persist"])],2),!C(Ce).drawings.presenterOnly&&!C(on)&&r.value?(E(),X(C(r),{key:0,class:"ml-0"})):de("v-if",!0)]),_:1},8,["style","width","scale"]),de("v-if",!0)],4),ne(Xx)],64))}}),cS=te(lS,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Play.vue"]]);/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function Bp(e){return typeof e>"u"||e===null}function uS(e){return typeof e=="object"&&e!==null}function fS(e){return Array.isArray(e)?e:Bp(e)?[]:[e]}function dS(e,t){var n,s,r,i;if(t)for(i=Object.keys(t),n=0,s=i.length;n<s;n+=1)r=i[n],e[r]=t[r];return e}function pS(e,t){var n="",s;for(s=0;s<t;s+=1)n+=e;return n}function mS(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var hS=Bp,gS=uS,vS=fS,_S=pS,yS=mS,bS=dS,$l={isNothing:hS,isObject:gS,toArray:vS,repeat:_S,isNegativeZero:yS,extend:bS};function Up(e,t){var n="",s=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+=`
`+e.mark.snippet),s+" "+n):s}function Or(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Up(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Or.prototype=Object.create(Error.prototype);Or.prototype.constructor=Or;Or.prototype.toString=function(t){return this.name+": "+Up(this,t)};var Xn=Or,wS=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],xS=["scalar","sequence","mapping"];function ES(e){var t={};return e!==null&&Object.keys(e).forEach(function(n){e[n].forEach(function(s){t[String(s)]=n})}),t}function SS(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(wS.indexOf(n)===-1)throw new Xn('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(n){return n},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=ES(t.styleAliases||null),xS.indexOf(this.kind)===-1)throw new Xn('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var st=SS;function Lu(e,t){var n=[];return e[t].forEach(function(s){var r=n.length;n.forEach(function(i,a){i.tag===s.tag&&i.kind===s.kind&&i.multi===s.multi&&(r=a)}),n[r]=s}),n}function $S(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,n;function s(r){r.multi?(e.multi[r.kind].push(r),e.multi.fallback.push(r)):e[r.kind][r.tag]=e.fallback[r.tag]=r}for(t=0,n=arguments.length;t<n;t+=1)arguments[t].forEach(s);return e}function Aa(e){return this.extend(e)}Aa.prototype.extend=function(t){var n=[],s=[];if(t instanceof st)s.push(t);else if(Array.isArray(t))s=s.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(n=n.concat(t.implicit)),t.explicit&&(s=s.concat(t.explicit));else throw new Xn("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");n.forEach(function(i){if(!(i instanceof st))throw new Xn("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new Xn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new Xn("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),s.forEach(function(i){if(!(i instanceof st))throw new Xn("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(Aa.prototype);return r.implicit=(this.implicit||[]).concat(n),r.explicit=(this.explicit||[]).concat(s),r.compiledImplicit=Lu(r,"implicit"),r.compiledExplicit=Lu(r,"explicit"),r.compiledTypeMap=$S(r.compiledImplicit,r.compiledExplicit),r};var PS=Aa,CS=new st("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),OS=new st("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),kS=new st("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),TS=new PS({explicit:[CS,OS,kS]});function AS(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function MS(){return null}function IS(e){return e===null}var NS=new st("tag:yaml.org,2002:null",{kind:"scalar",resolve:AS,construct:MS,predicate:IS,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function RS(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function LS(e){return e==="true"||e==="True"||e==="TRUE"}function jS(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var DS=new st("tag:yaml.org,2002:bool",{kind:"scalar",resolve:RS,construct:LS,predicate:jS,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function FS(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function HS(e){return 48<=e&&e<=55}function qS(e){return 48<=e&&e<=57}function VS(e){if(e===null)return!1;var t=e.length,n=0,s=!1,r;if(!t)return!1;if(r=e[n],(r==="-"||r==="+")&&(r=e[++n]),r==="0"){if(n+1===t)return!0;if(r=e[++n],r==="b"){for(n++;n<t;n++)if(r=e[n],r!=="_"){if(r!=="0"&&r!=="1")return!1;s=!0}return s&&r!=="_"}if(r==="x"){for(n++;n<t;n++)if(r=e[n],r!=="_"){if(!FS(e.charCodeAt(n)))return!1;s=!0}return s&&r!=="_"}if(r==="o"){for(n++;n<t;n++)if(r=e[n],r!=="_"){if(!HS(e.charCodeAt(n)))return!1;s=!0}return s&&r!=="_"}}if(r==="_")return!1;for(;n<t;n++)if(r=e[n],r!=="_"){if(!qS(e.charCodeAt(n)))return!1;s=!0}return!(!s||r==="_")}function zS(e){var t=e,n=1,s;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),s=t[0],(s==="-"||s==="+")&&(s==="-"&&(n=-1),t=t.slice(1),s=t[0]),t==="0")return 0;if(s==="0"){if(t[1]==="b")return n*parseInt(t.slice(2),2);if(t[1]==="x")return n*parseInt(t.slice(2),16);if(t[1]==="o")return n*parseInt(t.slice(2),8)}return n*parseInt(t,10)}function BS(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!$l.isNegativeZero(e)}var US=new st("tag:yaml.org,2002:int",{kind:"scalar",resolve:VS,construct:zS,predicate:BS,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),KS=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function WS(e){return!(e===null||!KS.test(e)||e[e.length-1]==="_")}function GS(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:n*parseFloat(t,10)}var YS=/^[-+]?[0-9]+e/;function ZS(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if($l.isNegativeZero(e))return"-0.0";return n=e.toString(10),YS.test(n)?n.replace("e",".e"):n}function JS(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||$l.isNegativeZero(e))}var XS=new st("tag:yaml.org,2002:float",{kind:"scalar",resolve:WS,construct:GS,predicate:JS,represent:ZS,defaultStyle:"lowercase"}),QS=TS.extend({implicit:[NS,DS,US,XS]}),e$=QS,Kp=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Wp=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function t$(e){return e===null?!1:Kp.exec(e)!==null||Wp.exec(e)!==null}function n$(e){var t,n,s,r,i,a,l,c=0,u=null,f,d,p;if(t=Kp.exec(e),t===null&&(t=Wp.exec(e)),t===null)throw new Error("Date resolve error");if(n=+t[1],s=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,s,r));if(i=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(f=+t[10],d=+(t[11]||0),u=(f*60+d)*6e4,t[9]==="-"&&(u=-u)),p=new Date(Date.UTC(n,s,r,i,a,l,c)),u&&p.setTime(p.getTime()-u),p}function s$(e){return e.toISOString()}var r$=new st("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:t$,construct:n$,instanceOf:Date,represent:s$});function i$(e){return e==="<<"||e===null}var o$=new st("tag:yaml.org,2002:merge",{kind:"scalar",resolve:i$}),Pl=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
\r`;function a$(e){if(e===null)return!1;var t,n,s=0,r=e.length,i=Pl;for(n=0;n<r;n++)if(t=i.indexOf(e.charAt(n)),!(t>64)){if(t<0)return!1;s+=6}return s%8===0}function l$(e){var t,n,s=e.replace(/[\r\n=]/g,""),r=s.length,i=Pl,a=0,l=[];for(t=0;t<r;t++)t%4===0&&t&&(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)),a=a<<6|i.indexOf(s.charAt(t));return n=r%4*6,n===0?(l.push(a>>16&255),l.push(a>>8&255),l.push(a&255)):n===18?(l.push(a>>10&255),l.push(a>>2&255)):n===12&&l.push(a>>4&255),new Uint8Array(l)}function c$(e){var t="",n=0,s,r,i=e.length,a=Pl;for(s=0;s<i;s++)s%3===0&&s&&(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]),n=(n<<8)+e[s];return r=i%3,r===0?(t+=a[n>>18&63],t+=a[n>>12&63],t+=a[n>>6&63],t+=a[n&63]):r===2?(t+=a[n>>10&63],t+=a[n>>4&63],t+=a[n<<2&63],t+=a[64]):r===1&&(t+=a[n>>2&63],t+=a[n<<4&63],t+=a[64],t+=a[64]),t}function u$(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var f$=new st("tag:yaml.org,2002:binary",{kind:"scalar",resolve:a$,construct:l$,predicate:u$,represent:c$}),d$=Object.prototype.hasOwnProperty,p$=Object.prototype.toString;function m$(e){if(e===null)return!0;var t=[],n,s,r,i,a,l=e;for(n=0,s=l.length;n<s;n+=1){if(r=l[n],a=!1,p$.call(r)!=="[object Object]")return!1;for(i in r)if(d$.call(r,i))if(!a)a=!0;else return!1;if(!a)return!1;if(t.indexOf(i)===-1)t.push(i);else return!1}return!0}function h$(e){return e!==null?e:[]}var g$=new st("tag:yaml.org,2002:omap",{kind:"sequence",resolve:m$,construct:h$}),v$=Object.prototype.toString;function _$(e){if(e===null)return!0;var t,n,s,r,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1){if(s=a[t],v$.call(s)!=="[object Object]"||(r=Object.keys(s),r.length!==1))return!1;i[t]=[r[0],s[r[0]]]}return!0}function y$(e){if(e===null)return[];var t,n,s,r,i,a=e;for(i=new Array(a.length),t=0,n=a.length;t<n;t+=1)s=a[t],r=Object.keys(s),i[t]=[r[0],s[r[0]]];return i}var b$=new st("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:_$,construct:y$}),w$=Object.prototype.hasOwnProperty;function x$(e){if(e===null)return!0;var t,n=e;for(t in n)if(w$.call(n,t)&&n[t]!==null)return!1;return!0}function E$(e){return e!==null?e:{}}var S$=new st("tag:yaml.org,2002:set",{kind:"mapping",resolve:x$,construct:E$});e$.extend({implicit:[r$,o$],explicit:[f$,g$,b$,S$]});function ju(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}var $$=new Array(256),P$=new Array(256);for(var xs=0;xs<256;xs++)$$[xs]=ju(xs)?1:0,P$[xs]=ju(xs);function C$(e){return Array.from(new Set(e))}function Du(...e){let t,n,s;e.length===1?(t=0,s=1,[n]=e):[t,n,s=1]=e;const r=[];let i=t;for(;i<n;)r.push(i),i+=s||1;return r}function O$(e,t){if(!t||t==="all"||t==="*")return Du(1,e+1);const n=[];for(const s of t.split(/[,;]/g))if(!s.includes("-"))n.push(+s);else{const[r,i]=s.split("-",2);n.push(...Du(+r,i?+i+1:e+1))}return C$(n).filter(s=>s<=e).sort((s,r)=>s-r)}function Gp(e){const t=T(()=>e.value.path),n=T(()=>Ke.length),s=T(()=>Number.parseInt(t.value.split(/\//g).slice(-1)[0])||1),r=T(()=>lo(s.value)),i=T(()=>Ke.find(p=>p.path===`${s.value}`)),a=T(()=>{var p,m,g;return(g=(m=(p=i.value)==null?void 0:p.meta)==null?void 0:m.slide)==null?void 0:g.id}),l=T(()=>{var p,m;return((m=(p=i.value)==null?void 0:p.meta)==null?void 0:m.layout)||(s.value===1?"cover":"default")}),c=T(()=>Ke.find(p=>p.path===`${Math.min(Ke.length,s.value+1)}`)),u=T(()=>Ke.filter(p=>{var m,g;return(g=(m=p.meta)==null?void 0:m.slide)==null?void 0:g.title}).reduce((p,m)=>(Cl(p,m),p),[])),f=T(()=>Ol(u.value,i.value)),d=T(()=>kl(f.value));return{route:e,path:t,total:n,currentPage:s,currentPath:r,currentRoute:i,currentSlideId:a,currentLayout:l,nextRoute:c,rawTree:u,treeWithActiveStatuses:f,tree:d,downloadPDF:Ia,next:An,nextSlide:kr,openInEditor:ok,prev:Mn,prevSlide:Tr}}function Yp(e,t,n){const s=z(0);et(()=>{gt.afterEach(async()=>{await et(),s.value+=1})});const r=T(()=>{var c,u;return s.value,((u=(c=t.value)==null?void 0:c.meta)==null?void 0:u.__clicksElements)||[]}),i=T(()=>{var c,u;return+(((u=(c=t.value)==null?void 0:c.meta)==null?void 0:u.clicks)??r.value.length)}),a=T(()=>n.value<Ke.length-1||e.value<i.value),l=T(()=>n.value>1||e.value>0);return{clicks:e,clicksElements:r,clicksTotal:i,hasNext:a,hasPrev:l}}const k$=["id"],T$=Pe({__name:"PrintSlideClick",props:{clicks:{type:Number,required:!0},clicksElements:{type:Array,required:!1},nav:{type:null,required:!0},route:{type:null,required:!0}},emits:["update:clicksElements"],setup(e,{emit:t}){const n=e,s=Gt(n,"clicksElements",t),r=T(()=>({height:`${hl}px`,width:`${Cn}px`})),i=Qt();On(()=>Promise.resolve().then(()=>hw),void 0).then(u=>i.value=u.default);const a=T(()=>n.clicks),l=Yp(a,n.nav.currentRoute,n.nav.currentPage),c=T(()=>`${n.route.path.toString().padStart(3,"0")}-${(a.value+1).toString().padStart(2,"0")}`);return wt(ee,Ve({nav:{...n.nav,...l},configs:Ce,themeConfigs:T(()=>Ce.themeConfig)})),(u,f)=>{var d;return E(),N("div",{id:c.value,class:"print-slide-container",style:nt(r.value)},[ne(C(Vp)),ne(C(El),{is:(d=u.route)==null?void 0:d.component,"clicks-elements":C(s),"onUpdate:clicksElements":f[0]||(f[0]=p=>Se(s)?s.value=p:null),clicks:a.value,"clicks-disabled":!1,class:qe(C(xl)(u.route)),route:u.route},null,8,["is","clicks-elements","clicks","class","route"]),i.value?(E(),X(C(i),{key:0,page:+u.route.path},null,8,["page"])):de("v-if",!0),ne(C(qp))],12,k$)}}}),Fu=te(T$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/PrintSlideClick.vue"]]),A$=Pe({__name:"PrintSlide",props:{route:{type:null,required:!0}},setup(e){var i;const t=e;Z(ee);const n=z(((i=t.route.meta)==null?void 0:i.__clicksElements)||[]),s=T(()=>t.route),r=Gp(s);return(a,l)=>(E(),N($e,null,[ne(Fu,{"clicks-elements":n.value,"onUpdate:clicksElements":l[0]||(l[0]=c=>n.value=c),clicks:0,nav:C(r),route:s.value},null,8,["clicks-elements","nav","route"]),C(fr)?de("v-if",!0):(E(!0),N($e,{key:0},Ls(n.value.length,c=>(E(),X(Fu,{key:c,clicks:c,nav:C(r),route:s.value},null,8,["clicks","nav","route"]))),128))],64))}}),M$=te(A$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/PrintSlide.vue"]]),I$={id:"print-content"},N$=Pe({__name:"PrintContainer",props:{width:{type:Number,required:!0}},setup(e){const t=e;Z(ee);const n=T(()=>t.width),s=T(()=>t.width/Pn),r=T(()=>n.value/s.value),i=T(()=>r.value<Pn?n.value/Cn:s.value*Pn/Cn);let a=Ke;It.value.query.range&&(a=O$(a.length,It.value.query.range).map(u=>a[u-1]));const l=T(()=>({"select-none":!Ce.selectable}));return wt(Ud,i),(c,u)=>(E(),N("div",{id:"print-container",class:qe(l.value)},[o("div",I$,[(E(!0),N($e,null,Ls(C(a),f=>(E(),X(M$,{key:f.path,route:f},null,8,["route"]))),128))]),Rn(c.$slots,"controls")],2))}});const R$=te(N$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/PrintContainer.vue"]]),L$=Pe({__name:"Print",setup(e){return Z(ee),Rs(()=>{Is?document.body.parentNode.classList.add("print"):document.body.parentNode.classList.remove("print")}),(t,n)=>(E(),N($e,null,[C(Is)?(E(),X(zp,{key:0})):de("v-if",!0),o("div",{id:"page-root",class:"grid grid-cols-[1fr_max-content]",style:nt(C(gl))},[ne(R$,{class:"w-full h-full",style:nt({background:"var(--slidev-slide-container-background, black)"}),width:C(ls).width.value},null,8,["style","width"])],4)],64))}});const j$=te(L$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/internals/Print.vue"]]);const D$={key:0},F$=["href"],H$=Pe({__name:"TextWithOptionalLink",props:{link:{type:String,required:!1},text:{type:String,required:!0}},setup(e){return Z(ee),(t,n)=>t.link?(E(),N("a",{key:1,href:t.link,rel:"noreferrer",target:"_blank"},St(t.text),9,F$)):(E(),N("span",D$,St(t.text),1))}}),q$=te(H$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/slidev-theme-academic/components/TextWithOptionalLink.vue"]]);function Hu(e){return e.startsWith("/")?"/projet-fin-etude/"+e.slice(1):e}function V$(e,t=!1){const n=e&&["#","rgb","hsl"].some(r=>e.indexOf(r)===0),s={background:n?e:void 0,backgroundImage:n?void 0:e?t?`linear-gradient(#0009, #0009), url(${Hu(e)})`:`url("${Hu(e)}")`:void 0,backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover"};return s.background||delete s.background,s}const z$={class:"my-auto w-full"},B$={key:0,class:"absolute bottom-12"},U$={key:0},K$={key:1,class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},W$=Pe({__name:"cover",props:{coverAuthor:{type:String,required:!1},coverAuthorUrl:{type:String,required:!1},coverBackgroundUrl:{type:String,required:!1},coverBackgroundSource:{type:String,required:!1},coverBackgroundSourceUrl:{type:String,required:!1},coverDate:{type:[String,Date],required:!1,default:new Date().toLocaleDateString()}},setup(e){const{coverBackgroundUrl:t}=e;Z(ee);const n=T(()=>V$(t,!0));return(s,r)=>{const i=q$;return E(),N("div",{class:"slidev-layout cover",style:nt(n.value)},[o("div",z$,[Rn(s.$slots,"default"),s.coverAuthor||s.coverDate?(E(),N("div",B$,[ne(i,{link:s.coverAuthorUrl,text:s.coverAuthor},null,8,["link","text"]),s.coverDate?(E(),N("span",U$,St(s.coverAuthor&&s.coverDate?`, ${s.coverDate}`:s.coverDate),1)):de("v-if",!0)])):de("v-if",!0),s.coverBackgroundSource?(E(),N("div",K$,[ne(i,{link:s.coverBackgroundSourceUrl,text:s.coverBackgroundSource},null,8,["link","text"])])):de("v-if",!0)])],4)}}}),G$=te(W$,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/slidev-theme-academic/layouts/cover.vue"]]),Y$=o("h2",{class:"opacity-50",style:{"font-size":"2rem"}},"Projet de Fin d'Étude",-1),Z$=o("h1",{style:{"font-size":"2.4rem","line-height":"normal"}},"Modèles génératifs pour la représentation latente d'aubes 3D sous forme de maillages non structurés",-1),J$={__name:"1",setup(e){const t={theme:"academic",class:"text-white",coverAuthor:"Laurent Fainsin",coverBackgroundUrl:"https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/aube.jpg",coverBackgroundSource:"Safran Media Library",coverBackgroundSourceUrl:"https://medialibrary.safran-group.com/Photos/media/179440",coverDate:"2023-09-07",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]}};return Z(ee),(n,s)=>(E(),X(G$,Le(Me(t)),{default:_e(()=>[Y$,Z$]),_:1},16))}},X$=te(J$,[["__file","/@slidev/slides/1.md"]]),Q$={class:"slidev-layout default"},eP={__name:"default",setup(e){return Z(ee),(t,n)=>(E(),N("div",Q$,[Rn(t.$slots,"default")]))}},Fe=te(eP,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/layouts/default.vue"]]),tP=o("h2",null,"Sommaire",-1),nP=o("div",{class:"h-100 flex items-center text-2xl"},[o("ul",null,[o("li",null,"Présentation de Safran"),o("li",null,"Présentation du dataset"),o("li",null,"Modèles génératifs"),o("li",null,"Génération par diffusion"),o("li",null,"Résultats"),o("li",null,"Vérifications"),o("li",null,"Conclusion")])],-1),sP={__name:"2",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[tP,nP]),_:1},16))}},rP=te(sP,[["__file","/@slidev/slides/2.md"]]),iP="/projet-fin-etude/assets/SAF2012_0009786-1-ffce5672.jpg",oP="/projet-fin-etude/assets/SAF2013_0105143-1-8cd24698.jpg",aP=o("h2",null,"Présentation (rapide) de Safran",-1),lP=o("div",{class:"flex items-center h-full"},[o("figure",null,[o("img",{src:iP,class:"h-81"}),o("figcaption",{class:"text-center"},"CFM56-7B")]),o("figure",null,[o("img",{src:oP,class:"h-81"}),o("figcaption",{class:"text-center"},"M88")])],-1),cP=o("p",null,[o("a",{href:"https://medialibrary.safran-group.com/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Safran Media Library")],-1),uP={__name:"3",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[aP,lP,cP]),_:1},16))}},fP=te(uP,[["__file","/@slidev/slides/3.md"]]),dP=o("h2",null,"Détails dun moteur davion",-1),pP=o("div",{class:"flex items-center h-full"},[o("img",{src:"https://avr-global.com/wp-content/uploads/2019/06/03-b-moteur-turbine-gaz-2-2.png",class:"ml-20 h-full"})],-1),mP=o("p",null,[o("a",{href:"https://avr-global.com/aerospace/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"AV&R Global")],-1),hP={__name:"4",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[dP,pP,mP]),_:1},16))}},gP=te(hP,[["__file","/@slidev/slides/4.md"]]),vP="/projet-fin-etude/assets/rotor37_surface-0ea482f1.gif",_P="/projet-fin-etude/assets/rotor37_points-434f71bd.gif";const Zp=e=>(ed("data-v-368e0f00"),e=e(),td(),e),yP=Zp(()=>o("h2",null,"Dataset Rotor37_1200",-1)),bP=Zp(()=>o("div",{class:"flex items-center w-full h-110"},[o("div",{class:"w-65"},[o("p",null,"1200 échantillons"),o("ul",null,[o("li",null,"1000 train (87%)"),o("li",null,"200 validation (13%)")]),o("p",null,"Maillages"),o("ul",null,[o("li",null,"29773 nœuds"),o("li",null,"59328 triangles"),o("li",null,"89100 arêtes")]),o("p",null,"Champs physiques"),o("ul",null,[o("li",null,"Température"),o("li",null,"Pression"),o("li",null,"Énergie"),o("li",null,"Densité")])]),o("div",{class:"w-65"},[o("p",null,"40 paramètres de déformations"),o("p",null,"Input CFD"),o("ul",null,[o("li",null,"Vitesse de rotation"),o("li",null,"Vitesse du vent")]),o("p",null,"Output CFD"),o("ul",null,[o("li",null,"Input Massflow"),o("li",null,"Output Massflow"),o("li",null,"Compression Rate"),o("li",null,"Isentropic efficiency"),o("li",null,"Polytropic efficiency")])]),o("div",{class:"flex items-center flex-col bg-black h-full w-60 ml-auto"},[o("img",{src:vP,class:"m-auto h-full"}),o("img",{src:_P,class:"m-auto h-full"})])],-1)),wP={__name:"5",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[yP,bP]),_:1},16))}},xP=te(wP,[["__scopeId","data-v-368e0f00"],["__file","/@slidev/slides/5.md"]]),EP=o("h2",null,"Problème direct",-1),SP=o("img",{src:"https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/online_adaptative_sampling_DOE.png",class:"m-auto h-100 mt-10"},null,-1),$P={__name:"6",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[EP,SP]),_:1},16))}},PP=te($P,[["__file","/@slidev/slides/6.md"]]),CP="/projet-fin-etude/assets/generative-overview-b5df8a4b.png",OP=o("h2",null,"Problème inverse, Modèles génératifs",-1),kP=o("img",{src:CP,class:"m-auto h-110"},null,-1),TP=o("p",null,[o("a",{href:"https://lilianweng.github.io/posts/2021-07-11-diffusion-models/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Lilian Weng, 2021")],-1),AP={__name:"7",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[OP,kP,TP]),_:1},16))}},MP=te(AP,[["__file","/@slidev/slides/7.md"]]),IP="/projet-fin-etude/assets/ddpm_algo-dcb8a910.png",NP="/projet-fin-etude/assets/ddpm_example-e69cd1a2.png",RP=o("h2",null,"Denoising Diffusion Probabilistic Model (DDPM)",-1),LP=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:IP,class:"m-auto w-9/10"}),o("img",{src:NP,class:"m-auto w-full"})],-1),jP=o("p",{class:"absolute bottom-0 font-extralight !my-0 mr-2 right-0 text-xs"},[o("a",{href:"https://arxiv.org/abs/2006.11239"},"arxiv:2006.11239"),ms(", "),o("a",{href:"https://cvpr2022-tutorial-diffusion-models.github.io/"},"CVPR 2022 Diffusion Tutorial")],-1),DP={__name:"8",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[RP,LP,jP]),_:1},16))}},FP=te(DP,[["__file","/@slidev/slides/8.md"]]),HP="/projet-fin-etude/assets/aube_rotation-beee8d55.gif",qP="/projet-fin-etude/assets/aube_forward_front-3a5429dd.gif",VP="/projet-fin-etude/assets/aube_forward_side-bebeb8cc.gif",zP=o("h2",null,"Diffusion forward process",-1),BP=o("div",{class:"flex items-center h-100"},[o("figure",null,[o("div",{class:"flex items-center w-full bg-black"},[o("img",{src:HP,class:"m-auto w-full"}),o("img",{src:qP,class:"m-auto w-full"}),o("img",{src:VP,class:"m-auto w-full"})]),o("figcaption",{class:"text-center"},"Corruption progressive d'un échantillon, via un bruit gaussien (cf. algorithm 1)")])],-1),UP={__name:"9",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[zP,BP]),_:1},16))}},KP=te(UP,[["__file","/@slidev/slides/9.md"]]),WP="/projet-fin-etude/assets/sample_rotation-dcca7315.gif",GP="/projet-fin-etude/assets/sample_reverse_front-4940c38f.gif",YP="/projet-fin-etude/assets/sample_reverse_side-1e40ecde.gif",ZP=o("h2",null,"Diffusion reverse process",-1),JP=o("div",{class:"flex items-center h-100"},[o("figure",null,[o("div",{class:"flex items-center w-full bg-black"},[o("img",{src:WP,class:"m-auto w-full"}),o("img",{src:GP,class:"m-auto w-full"}),o("img",{src:YP,class:"m-auto w-full"})]),o("figcaption",{class:"text-center"},"Débruitage itératif d'un nuage gaussien (cf. algorithm 2)")])],-1),XP={__name:"10",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[ZP,JP]),_:1},16))}},QP=te(XP,[["__file","/@slidev/slides/10.md"]]),eC="/projet-fin-etude/assets/ldm-simplified-042d300e.png",tC=o("h2",null,"Latent Diffusion Model (LDM)",-1),nC=o("div",{class:"flex items-center w-full h-full flex-col justify-evenly"},[o("div",{class:"flex items-center w-full h-72 justify-evenly"},[o("figure",null,[o("img",{src:"https://ar5iv.labs.arxiv.org/html/2112.10752/assets/img/generativevscompressive4.jpg",class:"m-auto h-70"})]),o("div",null,[o("p",null,[o("span",{class:"katex"},[o("span",{class:"katex-mathml"},[o("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[o("semantics",null,[o("mrow",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("msub",null,[o("mi",null,"x"),o("mn",null,"0")]),o("mo",null,"≈"),o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"x"),o("mo",null,"^")]),o("mn",null,"0")]),o("mo",null,"="),o("mfrac",null,[o("mrow",null,[o("msub",null,[o("mi",null,"x"),o("mi",null,"t")]),o("mo",null,""),o("msqrt",null,[o("mrow",null,[o("mn",null,"1"),o("mo",null,""),o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"α"),o("mo",{stretchy:"true"},"‾")]),o("mi",null,"t")])])]),o("msub",null,[o("mi",null,"ϵ"),o("mi",null,"θ")]),o("mo",{stretchy:"false"},"("),o("msub",null,[o("mi",null,"x"),o("mi",null,"t")]),o("mo",{stretchy:"false"},")")]),o("msqrt",null,[o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"α"),o("mo",{stretchy:"true"},"‾")]),o("mi",null,"t")])])])])]),o("annotation",{encoding:"application/x-tex"},"\\displaystyle x_0 \\approx \\hat{x}_0 = \\frac{ x_t - \\sqrt{1 - \\overline\\alpha_t} \\epsilon_\\theta(x_t) }{ \\sqrt{\\overline\\alpha_t} }")])])]),o("span",{class:"katex-html","aria-hidden":"true"},[o("span",{class:"base"},[o("span",{class:"strut",style:{height:"0.6331em","vertical-align":"-0.15em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mrel"},"≈"),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),o("span",{class:"base"},[o("span",{class:"strut",style:{height:"0.8444em","vertical-align":"-0.15em"}}),o("span",{class:"mord"},[o("span",{class:"mord accent"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6944em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord mathnormal"},"x")]),o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"accent-body",style:{left:"-0.2222em"}},[o("span",{class:"mord"},"^")])])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mrel"},"="),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),o("span",{class:"base"},[o("span",{class:"strut",style:{height:"2.4392em","vertical-align":"-0.93em"}}),o("span",{class:"mord"},[o("span",{class:"mopen nulldelimiter"}),o("span",{class:"mfrac"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.5092em"}},[o("span",{style:{top:"-2.2847em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord sqrt"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.8253em"}},[o("span",{class:"svg-align",style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord",style:{"padding-left":"0.833em"}},[o("span",{class:"mord"},[o("span",{class:"mord overline"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6306em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.0037em"}},"α")])]),o("span",{style:{top:"-3.5506em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"overline-line",style:{"border-bottom-width":"0.04em"}})])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])])])]),o("span",{style:{top:"-2.7853em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"hide-tail",style:{"min-width":"0.853em",height:"1.08em"}},[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"400em",height:"1.08em",viewBox:"0 0 400000 1080",preserveAspectRatio:"xMinYMin slice"},[o("path",{d:`M95,702
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l0 -0
c5.3,-9.3,12,-14,20,-14
H400000v40H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M834 80h400000v40h-400000z`})])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2147em"}},[o("span")])])])])])]),o("span",{style:{top:"-3.23em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"frac-line",style:{"border-bottom-width":"0.04em"}})]),o("span",{style:{top:"-3.677em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord sqrt"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.8322em"}},[o("span",{class:"svg-align",style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord",style:{"padding-left":"0.833em"}},[o("span",{class:"mord"},"1"),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord"},[o("span",{class:"mord overline"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6306em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.0037em"}},"α")])]),o("span",{style:{top:"-3.5506em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"overline-line",style:{"border-bottom-width":"0.04em"}})])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])])])]),o("span",{style:{top:"-2.7922em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"hide-tail",style:{"min-width":"0.853em",height:"1.08em"}},[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"400em",height:"1.08em",viewBox:"0 0 400000 1080",preserveAspectRatio:"xMinYMin slice"},[o("path",{d:`M95,702
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l0 -0
c5.3,-9.3,12,-14,20,-14
H400000v40H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M834 80h400000v40h-400000z`})])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2078em"}},[o("span")])])])]),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"ϵ"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3361em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.02778em"}},"θ")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mopen"},"("),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mclose"},")")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.93em"}},[o("span")])])])]),o("span",{class:"mclose nulldelimiter"})])])])])]),o("p",null,[o("span",{class:"katex"},[o("span",{class:"katex-mathml"},[o("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[o("semantics",null,[o("mrow",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("mtext",null,"RMSE"),o("mo",null,"="),o("msqrt",null,[o("mfrac",null,[o("mrow",null,[o("mi",{mathvariant:"normal"},"∥"),o("msub",null,[o("mi",null,"x"),o("mn",null,"0")]),o("mo",null,""),o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"x"),o("mo",null,"^")]),o("mn",null,"0")]),o("msubsup",null,[o("mi",{mathvariant:"normal"},"∥"),o("mn",null,"2"),o("mn",null,"2")])]),o("mi",null,"D")])])])]),o("annotation",{encoding:"application/x-tex"},"\\displaystyle \\text{RMSE} = \\sqrt{ \\frac{ \\| x_0 - \\hat{x}_0 \\|^2_2 }{ D } }")])])]),o("span",{class:"katex-html","aria-hidden":"true"},[o("span",{class:"base"},[o("span",{class:"strut",style:{height:"0.6833em"}}),o("span",{class:"mord text"},[o("span",{class:"mord"},"RMSE")]),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mrel"},"="),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}})]),o("span",{class:"base"},[o("span",{class:"strut",style:{height:"2.44em","vertical-align":"-0.7127em"}}),o("span",{class:"mord sqrt"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.7273em"}},[o("span",{class:"svg-align",style:{top:"-4.4em"}},[o("span",{class:"pstrut",style:{height:"4.4em"}}),o("span",{class:"mord",style:{"padding-left":"1em"}},[o("span",{class:"mord"},[o("span",{class:"mopen nulldelimiter"}),o("span",{class:"mfrac"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.4729em"}},[o("span",{style:{top:"-2.314em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.02778em"}},"D")])]),o("span",{style:{top:"-3.23em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"frac-line",style:{"border-bottom-width":"0.04em"}})]),o("span",{style:{top:"-3.677em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord"},"∥"),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord"},[o("span",{class:"mord accent"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6944em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord mathnormal"},"x")]),o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"accent-body",style:{left:"-0.2222em"}},[o("span",{class:"mord"},"^")])])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mord"},[o("span",{class:"mord"},"∥"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.7959em"}},[o("span",{style:{top:"-2.4337em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])]),o("span",{style:{top:"-3.0448em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2663em"}},[o("span")])])])])])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.686em"}},[o("span")])])])]),o("span",{class:"mclose nulldelimiter"})])])]),o("span",{style:{top:"-3.6873em"}},[o("span",{class:"pstrut",style:{height:"4.4em"}}),o("span",{class:"hide-tail",style:{"min-width":"1.02em",height:"2.48em"}},[o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"400em",height:"2.48em",viewBox:"0 0 400000 2592",preserveAspectRatio:"xMinYMin slice"},[o("path",{d:`M424,2478
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l0 -0c4,-6.7,10,-10,18,-10 H400000
v40H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M1001 80
h400000v40h-400000z`})])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.7127em"}},[o("span")])])])])])])])]),o("p",null,[o("span",{class:"katex-display"},[o("span",{class:"katex"},[o("span",{class:"katex-mathml"},[o("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[o("semantics",null,[o("mtable",{rowspacing:"0.25em",columnalign:"right left",columnspacing:"0em"},[o("mtr",null,[o("mtd",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("mtext",null,"Rate")])]),o("mtd",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("mrow",null,[o("mrow"),o("mo",null,"="),o("mfrac",null,[o("mn",null,"1"),o("mrow",null,[o("mn",null,"2"),o("msubsup",null,[o("mi",null,"σ"),o("mi",null,"q"),o("mn",null,"2")]),o("mo",{stretchy:"false"},"("),o("mi",null,"t"),o("mo",{stretchy:"false"},")")])]),o("mfrac",null,[o("mrow",null,[o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"α"),o("mo",{stretchy:"true"},"‾")]),o("mrow",null,[o("mi",null,"t"),o("mo",null,""),o("mn",null,"1")])]),o("mo",{stretchy:"false"},"("),o("mn",null,"1"),o("mo",null,""),o("msub",null,[o("mi",null,"α"),o("mi",null,"t")]),o("msup",null,[o("mo",{stretchy:"false"},")"),o("mn",null,"2")])]),o("mrow",null,[o("mo",{stretchy:"false"},"("),o("mn",null,"1"),o("mo",null,""),o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"α"),o("mo",{stretchy:"true"},"‾")]),o("mi",null,"t")]),o("msup",null,[o("mo",{stretchy:"false"},")"),o("mn",null,"2")])])]),o("mi",{mathvariant:"normal"},"∥"),o("msub",null,[o("mi",null,"x"),o("mn",null,"0")]),o("mo",null,""),o("msub",null,[o("mover",{accent:"true"},[o("mi",null,"x"),o("mo",null,"^")]),o("mn",null,"0")]),o("msubsup",null,[o("mi",{mathvariant:"normal"},"∥"),o("mn",null,"2"),o("mn",null,"2")])])])])]),o("mtr",null,[o("mtd",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("mrow")])]),o("mtd",null,[o("mstyle",{scriptlevel:"0",displaystyle:"true"},[o("mrow",null,[o("mrow"),o("mo",null,"="),o("msub",null,[o("mtext",null,"D"),o("mtext",null,"KL")]),o("mrow",null,[o("mo",{fence:"true"},"["),o("mi",null,"q"),o("mo",{stretchy:"false"},"("),o("msub",null,[o("mi",null,"x"),o("mrow",null,[o("mi",null,"t"),o("mo",null,""),o("mn",null,"1")])]),o("mi",{mathvariant:"normal"},""),o("msub",null,[o("mi",null,"x"),o("mi",null,"t")]),o("mo",{separator:"true"},","),o("msub",null,[o("mi",null,"x"),o("mn",null,"0")]),o("mo",{stretchy:"false"},")"),o("mi",{mathvariant:"normal"},"∥"),o("msub",null,[o("mi",null,"p"),o("mi",null,"θ")]),o("mo",{stretchy:"false"},"("),o("msub",null,[o("mi",null,"x"),o("mrow",null,[o("mi",null,"t"),o("mo",null,""),o("mn",null,"1")])]),o("mi",{mathvariant:"normal"},""),o("msub",null,[o("mi",null,"x"),o("mi",null,"t")]),o("mo",{stretchy:"false"},")"),o("mo",{fence:"true"},"]")])])])])])]),o("annotation",{encoding:"application/x-tex"},"\\begin{align*} \\text{Rate} &= \\frac{1}{2 \\sigma^2_q(t)} \\frac{ \\overline\\alpha_{t-1} ( 1 - \\alpha_t )^2 }{ (1 - \\overline\\alpha_t)^2 } \\| x_0 - \\hat{x}_0 \\|^2_2 \\\\ &= \\text{D}_{\\text{KL}} \\left[ q(x_{t-1} | x_t, x_0) \\| p_\\theta(x_{t-1} | x_t) \\right] \\end{align*}")])])]),o("span",{class:"katex-html","aria-hidden":"true"},[o("span",{class:"base"},[o("span",{class:"strut",style:{height:"4.3602em","vertical-align":"-1.9301em"}}),o("span",{class:"mord"},[o("span",{class:"mtable"},[o("span",{class:"col-align-r"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"2.4301em"}},[o("span",{style:{top:"-4.4301em"}},[o("span",{class:"pstrut",style:{height:"3.4911em"}}),o("span",{class:"mord"},[o("span",{class:"mord text"},[o("span",{class:"mord"},"Rate")])])]),o("span",{style:{top:"-2.221em"}},[o("span",{class:"pstrut",style:{height:"3.4911em"}}),o("span",{class:"mord"})])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.9301em"}},[o("span")])])])]),o("span",{class:"col-align-l"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"2.4301em"}},[o("span",{style:{top:"-4.4301em"}},[o("span",{class:"pstrut",style:{height:"3.4911em"}}),o("span",{class:"mord"},[o("span",{class:"mord"}),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mrel"},"="),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mord"},[o("span",{class:"mopen nulldelimiter"}),o("span",{class:"mfrac"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.3214em"}},[o("span",{style:{top:"-2.314em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord"},"2"),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.03588em"}},"σ"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.7401em"}},[o("span",{style:{top:"-2.453em","margin-left":"-0.0359em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.03588em"}},"q")])]),o("span",{style:{top:"-2.989em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3831em"}},[o("span")])])])])]),o("span",{class:"mopen"},"("),o("span",{class:"mord mathnormal"},"t"),o("span",{class:"mclose"},")")])]),o("span",{style:{top:"-3.23em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"frac-line",style:{"border-bottom-width":"0.04em"}})]),o("span",{style:{top:"-3.677em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord"},"1")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.0691em"}},[o("span")])])])]),o("span",{class:"mclose nulldelimiter"})]),o("span",{class:"mord"},[o("span",{class:"mopen nulldelimiter"}),o("span",{class:"mfrac"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.4911em"}},[o("span",{style:{top:"-2.314em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mopen"},"("),o("span",{class:"mord"},"1"),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord"},[o("span",{class:"mord overline"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6306em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.0037em"}},"α")])]),o("span",{style:{top:"-3.5506em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"overline-line",style:{"border-bottom-width":"0.04em"}})])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mclose"},[o("span",{class:"mclose"},")"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.7401em"}},[o("span",{style:{top:"-2.989em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])])])])])])])])]),o("span",{style:{top:"-3.23em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"frac-line",style:{"border-bottom-width":"0.04em"}})]),o("span",{style:{top:"-3.677em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord"},[o("span",{class:"mord overline"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6306em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.0037em"}},"α")])]),o("span",{style:{top:"-3.5506em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"overline-line",style:{"border-bottom-width":"0.04em"}})])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},[o("span",{class:"mord mathnormal mtight"},"t"),o("span",{class:"mbin mtight"},""),o("span",{class:"mord mtight"},"1")])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2083em"}},[o("span")])])])])]),o("span",{class:"mopen"},"("),o("span",{class:"mord"},"1"),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal",style:{"margin-right":"0.0037em"}},"α"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-left":"-0.0037em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mclose"},[o("span",{class:"mclose"},")"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.8141em"}},[o("span",{style:{top:"-3.063em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])])])])])])])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.936em"}},[o("span")])])])]),o("span",{class:"mclose nulldelimiter"})]),o("span",{class:"mord"},"∥"),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mbin"},""),o("span",{class:"mspace",style:{"margin-right":"0.2222em"}}),o("span",{class:"mord"},[o("span",{class:"mord accent"},[o("span",{class:"vlist-t"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.6944em"}},[o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"mord mathnormal"},"x")]),o("span",{style:{top:"-3em"}},[o("span",{class:"pstrut",style:{height:"3em"}}),o("span",{class:"accent-body",style:{left:"-0.2222em"}},[o("span",{class:"mord"},"^")])])])])])]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mord"},[o("span",{class:"mord"},"∥"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.8641em"}},[o("span",{style:{top:"-2.453em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])]),o("span",{style:{top:"-3.113em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"2")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.247em"}},[o("span")])])])])])])]),o("span",{style:{top:"-2.221em"}},[o("span",{class:"pstrut",style:{height:"3.4911em"}}),o("span",{class:"mord"},[o("span",{class:"mord"}),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mrel"},"="),o("span",{class:"mspace",style:{"margin-right":"0.2778em"}}),o("span",{class:"mord"},[o("span",{class:"mord text"},[o("span",{class:"mord"},"D")]),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3283em"}},[o("span",{style:{top:"-2.55em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},[o("span",{class:"mord text mtight"},[o("span",{class:"mord mtight"},"KL")])])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),o("span",{class:"minner"},[o("span",{class:"mopen delimcenter",style:{top:"0em"}},"["),o("span",{class:"mord mathnormal",style:{"margin-right":"0.03588em"}},"q"),o("span",{class:"mopen"},"("),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},[o("span",{class:"mord mathnormal mtight"},"t"),o("span",{class:"mbin mtight"},""),o("span",{class:"mord mtight"},"1")])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2083em"}},[o("span")])])])])]),o("span",{class:"mord"},""),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mpunct"},","),o("span",{class:"mspace",style:{"margin-right":"0.1667em"}}),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},"0")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mclose"},")"),o("span",{class:"mord"},"∥"),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"p"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3361em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight",style:{"margin-right":"0.02778em"}},"θ")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mopen"},"("),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.3011em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mtight"},[o("span",{class:"mord mathnormal mtight"},"t"),o("span",{class:"mbin mtight"},""),o("span",{class:"mord mtight"},"1")])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2083em"}},[o("span")])])])])]),o("span",{class:"mord"},""),o("span",{class:"mord"},[o("span",{class:"mord mathnormal"},"x"),o("span",{class:"msupsub"},[o("span",{class:"vlist-t vlist-t2"},[o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.2806em"}},[o("span",{style:{top:"-2.55em","margin-left":"0em","margin-right":"0.05em"}},[o("span",{class:"pstrut",style:{height:"2.7em"}}),o("span",{class:"sizing reset-size6 size3 mtight"},[o("span",{class:"mord mathnormal mtight"},"t")])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"0.15em"}},[o("span")])])])])]),o("span",{class:"mclose"},")"),o("span",{class:"mclose delimcenter",style:{top:"0em"}},"]")])])])]),o("span",{class:"vlist-s"},"")]),o("span",{class:"vlist-r"},[o("span",{class:"vlist",style:{height:"1.9301em"}},[o("span")])])])])])])])])])])])])]),o("figure",null,[o("img",{src:eC,class:"w-160"}),o("figcaption",{class:"text-center"},"Nouvelle pipeline, ajout d'une transformation en amont")])],-1),sC=o("p",null,[o("a",{href:"https://arxiv.org/abs/2112.10752",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"arxiv:2112.10752")],-1),rC={__name:"11",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[tC,nC,sC]),_:1},16))}},iC=te(rC,[["__file","/@slidev/slides/11.md"]]),oC="/projet-fin-etude/assets/gen_points_1-24c897f0.gif",aC="/projet-fin-etude/assets/gen_points_2-ac7a1266.gif",lC="/projet-fin-etude/assets/gen_points_3-ad1ce112.gif",cC="/projet-fin-etude/assets/gen_points_4-80217a66.gif",uC="/projet-fin-etude/assets/gen_points_5-849477ac.gif",fC="/projet-fin-etude/assets/gen_points_6-fc06a7f3.gif",dC="/projet-fin-etude/assets/gen_points_7-be7b1206.gif",Jp="/projet-fin-etude/assets/gen_surface_1-ffdbf5fc.gif",pC=o("h2",null,"Générations par diffusion latente (non conditionnée)",-1),mC=o("div",{class:"grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black"},[o("img",{src:oC,class:"w-50"}),o("img",{src:aC,class:"w-50"}),o("img",{src:lC,class:"w-50"}),o("img",{src:cC,class:"w-50"}),o("img",{src:uC,class:"w-50"}),o("img",{src:fC,class:"w-50"}),o("img",{src:dC,class:"w-50"}),o("img",{src:Jp,class:"w-50"})],-1),hC={__name:"12",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[pC,mC]),_:1},16))}},gC=te(hC,[["__file","/@slidev/slides/12.md"]]),vC=o("h2",null,"Classifier-free Guidance (CFG)",-1),_C=o("img",{src:"https://perceptron.blog/assets/images/diffusion_models/diffusion_gradients_free.gif",class:"m-auto h-55"},null,-1),yC=o("img",{src:"https://perceptron.blog/assets/images/diffusion_models/diffusion_free_guided_results.gif",class:"m-auto h-55"},null,-1),bC=o("p",null,[o("a",{href:"https://perceptron.blog/defusing-diffusion/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Paweł Pierzchlewicz")],-1),wC={__name:"13",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[vC,_C,yC,bC]),_:1},16))}},xC=te(wC,[["__file","/@slidev/slides/13.md"]]),EC="/projet-fin-etude/assets/gen_surface_2-9915ef08.gif",SC="/projet-fin-etude/assets/gen_surface_3-dac10a7b.gif",$C="/projet-fin-etude/assets/gen_surface_4-047bc0d8.gif",PC="/projet-fin-etude/assets/gen_surface_5-9fb0970e.gif",CC="/projet-fin-etude/assets/gen_surface_6-be980f3a.gif",OC="/projet-fin-etude/assets/gen_surface_7-c5263272.gif",kC="/projet-fin-etude/assets/gen_surface_8-2f03666c.gif",TC=o("h2",null,"Générations par diffusion latente (conditionnée)",-1),AC=o("div",{class:"grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black"},[o("img",{src:Jp,class:"w-50"}),o("img",{src:EC,class:"w-50"}),o("img",{src:SC,class:"w-50"}),o("img",{src:$C,class:"w-50"}),o("img",{src:PC,class:"w-50"}),o("img",{src:CC,class:"w-50"}),o("img",{src:OC,class:"w-50"}),o("img",{src:kC,class:"w-50"})],-1),MC={__name:"14",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[TC,AC]),_:1},16))}},IC=te(MC,[["__file","/@slidev/slides/14.md"]]),NC=o("h2",null,"Gaussian Process (GP)",-1),RC=o("div",{class:"flex items-center h-100",style:{overflow:"hidden"}},[o("div",{style:{overflow:"hidden"}},[o("iframe",{scrolling:"no",style:{height:"50rem","margin-top":"-18rem",width:"75rem","margin-left":"-10rem"},src:"https://distill.pub/2019/visual-exploration-gaussian-processes/"},`
`)])],-1),LC=o("p",null,[o("a",{href:"https://distill.pub/2019/visual-exploration-gaussian-processes/",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Distill")],-1),jC={__name:"15",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[NC,RC,LC]),_:1},16))}},DC=te(jC,[["__file","/@slidev/slides/15.md"]]),FC="/projet-fin-etude/assets/gp_train_30_pca-ad1e3633.png",HC=o("h2",null,'"Entrainement" dun GP sur Rotor37_1200',-1),qC=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:FC,class:"m-auto w-full"})],-1),VC={__name:"16",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[HC,qC]),_:1},16))}},zC=te(VC,[["__file","/@slidev/slides/16.md"]]),BC="/projet-fin-etude/assets/gp_unconditional-aeebcb2b.png",UC=o("h2",null,"Analyse de générations non conditionnées",-1),KC=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:BC,class:"m-auto w-full"})],-1),WC={__name:"17",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[UC,KC]),_:1},16))}},GC=te(WC,[["__file","/@slidev/slides/17.md"]]),YC="/projet-fin-etude/assets/gp_guidance-50904295.gif",ZC=o("h2",null,"Analyse de générations progressivement conditionnées",-1),JC=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:YC,class:"m-auto w-full"})],-1),XC={__name:"18",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[ZC,JC]),_:1},16))}},QC=te(XC,[["__file","/@slidev/slides/18.md"]]),eO="/projet-fin-etude/assets/gp_massflow-b6526bc6.gif",tO=o("h2",null,"Analyse de générations conditionnées (massflow)",-1),nO=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:eO,class:"m-auto w-full"})],-1),sO={__name:"19",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[tO,nO]),_:1},16))}},rO=te(sO,[["__file","/@slidev/slides/19.md"]]),iO="/projet-fin-etude/assets/gp_efficiency-1aa8da9d.gif",oO=o("h2",null,"Analyse de générations conditionnées (efficiency)",-1),aO=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:iO,class:"m-auto w-full"})],-1),lO={__name:"20",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[oO,aO]),_:1},16))}},cO=te(lO,[["__file","/@slidev/slides/20.md"]]),uO="/projet-fin-etude/assets/gp_double-8c3dc61f.gif",fO=o("h2",null,"Analyse de générations conditionnées (double)",-1),dO=o("div",{class:"flex flex-col items-center h-100"},[o("img",{src:uO,class:"m-auto w-full"})],-1),pO={__name:"21",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[fO,dO]),_:1},16))}},mO=te(pO,[["__file","/@slidev/slides/21.md"]]),hO=o("h2",null,"Conclusion",-1),gO=o("div",{class:"h-100 flex flex-col text-2xl justify-center"},[o("h3",null,"Travail réalisé"),o("ul",null,[o("li",null,"Génération conditionnée daubes par diffusion"),o("li",null,"Release dun code réutilisable en interne"),o("li",null,"Rédaction dune déclaration dinvention")])],-1),vO={__name:"22",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[hO,gO]),_:1},16))}},_O=te(vO,[["__file","/@slidev/slides/22.md"]]),yO=o("h2",null,"Conclusion",-1),bO=o("div",{class:"h-100 flex flex-col text-2xl justify-center"},[o("h3",null,"Perspectives"),o("ul",null,[o("li",null,"Vérifier le conditionnement par simulation CFD"),o("li",null,"Remplacer la PCA par une méthode paramétrique"),o("li",null,"Travailler directement sur les CAOs"),o("li",null,"Tester des méthodes par RL")])],-1),wO={__name:"23",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[yO,bO]),_:1},16))}},xO=te(wO,[["__file","/@slidev/slides/23.md"]]),EO=o("div",{class:"h-full w-full flex justify-center items-center"},[o("h1",null,"Annexes")],-1),SO={__name:"24",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[EO]),_:1},16))}},$O=te(SO,[["__file","/@slidev/slides/24.md"]]),PO="/projet-fin-etude/assets/graphvae_surface-1361cbd5.gif",CO="/projet-fin-etude/assets/graphvae_points-98280873.gif",OO=o("h2",null,"GraphVAE",-1),kO=o("div",{class:"flex items-center w-full bg-black"},[o("img",{src:PO,class:"m-auto w-full"}),o("img",{src:CO,class:"m-auto w-full"})],-1),TO={__name:"25",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[OO,kO]),_:1},16))}},AO=te(TO,[["__file","/@slidev/slides/25.md"]]),MO="/projet-fin-etude/assets/pvd_points-1bc50a0f.gif",IO=o("h2",null,"PVD",-1),NO=o("div",{class:"flex items-center w-full bg-black"},[o("img",{src:MO,class:"m-auto h-100"})],-1),RO={__name:"26",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[IO,NO]),_:1},16))}},LO=te(RO,[["__file","/@slidev/slides/26.md"]]),jO=o("iframe",{scrolling:"yes",src:"https://distill.pub/2017/feature-visualization/",class:"h-full w-full"},`
`,-1),DO={__name:"27",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[jO]),_:1},16))}},FO=te(DO,[["__file","/@slidev/slides/27.md"]]);const Xp=e=>(ed("data-v-0d97e068"),e=e(),td(),e),HO=Xp(()=>o("p",null,[o("embed",{src:"/projet-fin-etude/rapport.pdf",type:"application/pdf",width:"100%",height:"100%"})],-1)),qO=Xp(()=>o("p",null,[o("a",{href:"/projet-fin-etude/rapport.pdf",class:"absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs"},"Link to PDF")],-1)),VO={__name:"28",setup(e){const t={};return Z(ee),(n,s)=>(E(),X(Fe,Le(Me(t)),{default:_e(()=>[HO,qO]),_:1},16))}},zO=te(VO,[["__scopeId","data-v-0d97e068"],["__file","/@slidev/slides/28.md"]]),BO=[{path:"1",name:"page-1",component:X$,meta:{theme:"academic",class:"text-white",coverAuthor:"Laurent Fainsin",coverBackgroundUrl:"https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/aube.jpg",coverBackgroundSource:"Safran Media Library",coverBackgroundSourceUrl:"https://medialibrary.safran-group.com/Photos/media/179440",coverDate:"2023-09-07",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},title:"Projet de fin d'étude",slide:{raw:`---
theme: academic
class: text-white
coverAuthor: Laurent Fainsin
coverBackgroundUrl: >-
https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/aube.jpg
coverBackgroundSource: Safran Media Library
coverBackgroundSourceUrl: https://medialibrary.safran-group.com/Photos/media/179440
coverDate: '2023-09-07'
themeConfig:
paginationX: r
paginationY: t
paginationPagesDisabled:
- 1
title: Projet de fin d'étude
---
<h2 class="opacity-50" style="font-size: 2rem;">Projet de Fin d'Étude</h2>
<h1 style="font-size: 2.4rem; line-height: normal;">Modèles génératifs pour la représentation latente d'aubes 3D sous forme de maillages non structurés</h1>
<!--
Hello, \\
aujourd'hui prez pfe, \\
dont sujet porte sur... \\
mon but aujourd'hui, expliquer ces 3 lignes
-->
`,title:"Projet de fin d'étude",content:`<h2 class="opacity-50" style="font-size: 2rem;">Projet de Fin d'Étude</h2>
<h1 style="font-size: 2.4rem; line-height: normal;">Modèles génératifs pour la représentation latente d'aubes 3D sous forme de maillages non structurés</h1>`,frontmatter:{theme:"academic",class:"text-white",coverAuthor:"Laurent Fainsin",coverBackgroundUrl:"https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/aube.jpg",coverBackgroundSource:"Safran Media Library",coverBackgroundSourceUrl:"https://medialibrary.safran-group.com/Photos/media/179440",coverDate:"2023-09-07",themeConfig:{paginationX:"r",paginationY:"t",paginationPagesDisabled:[1]},title:"Projet de fin d'étude"},note:`Hello, \\
aujourd'hui prez pfe, \\
dont sujet porte sur... \\
mon but aujourd'hui, expliquer ces 3 lignes`,index:0,start:0,end:28,noteHTML:`<p>Hello, <br>
aujourd'hui prez pfe, <br>
dont sujet porte sur... <br>
mon but aujourd'hui, expliquer ces 3 lignes</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:0,no:1},__clicksElements:[],__preloaded:!1}},{path:"2",name:"page-2",component:rP,meta:{slide:{raw:`
## Sommaire
<div class="h-100 flex items-center text-2xl">
- Présentation de Safran
- Présentation du dataset
- Modèles génératifs
- Génération par diffusion
- Résultats
- Vérifications
- Conclusion
</div>
<!--
Petit sommaire pour cadrer prez
- Présentation brève de Safran et contexte Stage
- Présentation de mes données
- Présentation de modèles pour traiter le problème
- Résultats de ces modèles
- Vérification de ces modèles
- Conclu
-->
`,title:"Sommaire",level:2,content:`## Sommaire
<div class="h-100 flex items-center text-2xl">
- Présentation de Safran
- Présentation du dataset
- Modèles génératifs
- Génération par diffusion
- Résultats
- Vérifications
- Conclusion
</div>`,frontmatter:{},note:`Petit sommaire pour cadrer prez
- Présentation brève de Safran et contexte Stage
- Présentation de mes données
- Présentation de modèles pour traiter le problème
- Résultats de ces modèles
- Vérification de ces modèles
- Conclu`,index:1,start:29,end:55,noteHTML:`<p>Petit sommaire pour cadrer prez</p>
<ul>
<li>Présentation brève de Safran et contexte Stage</li>
<li>Présentation de mes données</li>
<li>Présentation de modèles pour traiter le problème</li>
<li>Résultats de ces modèles</li>
<li>Vérification de ces modèles</li>
<li>Conclu</li>
</ul>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:1,no:2},__clicksElements:[],__preloaded:!1}},{path:"3",name:"page-3",component:fP,meta:{slide:{raw:`
## Présentation (rapide) de Safran
<div class="flex items-center h-full">
<figure>
<img src="/assets/SAF2012_0009786-1.jpg" class="h-81">
<figcaption class="text-center">CFM56-7B</figcaption>
</figure>
<figure>
<img src="/assets/SAF2013_0105143-1.jpg" class="h-81">
<figcaption class="text-center">M88</figcaption>
</figure>
</div>
<a href="https://medialibrary.safran-group.com/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Safran Media Library</a>
<!--
Rapidement, Safran grand groupe industriel technologique français. \\
principalement aéronautique, mais pas que, \\
plein d'autre filiales, mais la thématique c'est les trucs qui volent. \\
safran génère des revenus majoritairement grâce vente de moteur propulsion avion civiles
- à gauche: cfm56 moteur civile le plus vendu au monde, depuis 1978
- à droite: m88, moteur militaire, équipe les rafales (Dassault)
- aussi des moteur helico...
-->
`,title:"Présentation (rapide) de Safran",level:2,content:`## Présentation (rapide) de Safran
<div class="flex items-center h-full">
<figure>
<img src="/assets/SAF2012_0009786-1.jpg" class="h-81">
<figcaption class="text-center">CFM56-7B</figcaption>
</figure>
<figure>
<img src="/assets/SAF2013_0105143-1.jpg" class="h-81">
<figcaption class="text-center">M88</figcaption>
</figure>
</div>
<a href="https://medialibrary.safran-group.com/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Safran Media Library</a>`,frontmatter:{},note:`Rapidement, Safran grand groupe industriel technologique français. \\
principalement aéronautique, mais pas que, \\
plein d'autre filiales, mais la thématique c'est les trucs qui volent. \\
safran génère des revenus majoritairement grâce vente de moteur propulsion avion civiles
- à gauche: cfm56 moteur civile le plus vendu au monde, depuis 1978
- à droite: m88, moteur militaire, équipe les rafales (Dassault)
- aussi des moteur helico...`,index:2,start:56,end:84,noteHTML:`<p>Rapidement, Safran grand groupe industriel technologique français. <br>
principalement aéronautique, mais pas que, <br>
plein d'autre filiales, mais la thématique c'est les trucs qui volent. <br>
safran génère des revenus majoritairement grâce vente de moteur propulsion avion civiles</p>
<ul>
<li>à gauche: cfm56 moteur civile le plus vendu au monde, depuis 1978</li>
<li>à droite: m88, moteur militaire, équipe les rafales (Dassault)</li>
<li>aussi des moteur helico...</li>
</ul>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:2,no:3},__clicksElements:[],__preloaded:!1}},{path:"4",name:"page-4",component:gP,meta:{slide:{raw:`
## Détails d'un moteur d'avion
<div class="flex items-center h-full">
<img src="https://avr-global.com/wp-content/uploads/2019/06/03-b-moteur-turbine-gaz-2-2.png" class="ml-20 h-full">
</div>
<a href="https://avr-global.com/aerospace/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">AV&R Global</a>
<!--
Lors de mon stage, \\
équipe de Safran Tech, \\
département recherche de Safran, \\
explore nouveaux procédés, nouvelles générations moteurs
Dans mon cas, \\
travaille amélioration processus génération, \\
aubes des turbines des compresseurs
-->
`,title:"Détails d'un moteur d'avion",level:2,content:`## Détails d'un moteur d'avion
<div class="flex items-center h-full">
<img src="https://avr-global.com/wp-content/uploads/2019/06/03-b-moteur-turbine-gaz-2-2.png" class="ml-20 h-full">
</div>
<a href="https://avr-global.com/aerospace/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">AV&R Global</a>`,frontmatter:{},note:`Lors de mon stage, \\
équipe de Safran Tech, \\
département recherche de Safran, \\
explore nouveaux procédés, nouvelles générations moteurs
Dans mon cas, \\
travaille amélioration processus génération, \\
aubes des turbines des compresseurs`,index:3,start:85,end:105,noteHTML:`<p>Lors de mon stage, <br>
équipe de Safran Tech, <br>
département recherche de Safran, <br>
explore nouveaux procédés, nouvelles générations moteurs</p>
<p>Dans mon cas, <br>
travaille amélioration processus génération, <br>
aubes des turbines des compresseurs</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:3,no:4},__clicksElements:[],__preloaded:!1}},{path:"5",name:"page-5",component:xP,meta:{slide:{raw:`
## Dataset Rotor37_1200
<style scoped>
p {
margin-bottom: 0 !important;
}
</style>
<div class="flex items-center w-full h-110">
<div class="w-65">
1200 échantillons
- 1000 train (87%)
- 200 validation (13%)
Maillages
- 29773 nœuds
- 59328 triangles
- 89100 arêtes
Champs physiques
- Température
- Pression
- Énergie
- Densité
</div>
<div class="w-65">
40 paramètres de déformations
Input CFD
- Vitesse de rotation
- Vitesse du vent
Output CFD
- Input Massflow
- Output Massflow
- Compression Rate
- Isentropic efficiency
- Polytropic efficiency
</div>
<div class="flex items-center flex-col bg-black h-full w-60 ml-auto">
<img src="/assets/rotor37_surface.gif" class="m-auto h-full">
<img src="/assets/rotor37_points.gif" class="m-auto h-full">
</div>
</div>
<!--
Rotor37_1200, le dataset sur lequel j'ai principalement travaillé.
Donc travaille sur graphe/maillage, \\
mais connectivité "locales" (voisins proches dans l'espace) \\
donc utiliser seulement le nuage de points
Ça nous arrange, \\
car connectivité des maillages trop complexe (quadratique), \\
et techniques reconstruire surface from points
On aurait aussi pu travailler direct CAO (primitives), \\
mais bcp plus complexe car reprez pas unique via CAO, \\
et zero littérature.
-->
`,title:"Dataset Rotor37_1200",level:2,content:`## Dataset Rotor37_1200
<style scoped>
p {
margin-bottom: 0 !important;
}
</style>
<div class="flex items-center w-full h-110">
<div class="w-65">
1200 échantillons
- 1000 train (87%)
- 200 validation (13%)
Maillages
- 29773 nœuds
- 59328 triangles
- 89100 arêtes
Champs physiques
- Température
- Pression
- Énergie
- Densité
</div>
<div class="w-65">
40 paramètres de déformations
Input CFD
- Vitesse de rotation
- Vitesse du vent
Output CFD
- Input Massflow
- Output Massflow
- Compression Rate
- Isentropic efficiency
- Polytropic efficiency
</div>
<div class="flex items-center flex-col bg-black h-full w-60 ml-auto">
<img src="/assets/rotor37_surface.gif" class="m-auto h-full">
<img src="/assets/rotor37_points.gif" class="m-auto h-full">
</div>
</div>`,frontmatter:{},note:`Rotor37_1200, le dataset sur lequel j'ai principalement travaillé.
Donc travaille sur graphe/maillage, \\
mais connectivité "locales" (voisins proches dans l'espace) \\
donc utiliser seulement le nuage de points
Ça nous arrange, \\
car connectivité des maillages trop complexe (quadratique), \\
et techniques reconstruire surface from points
On aurait aussi pu travailler direct CAO (primitives), \\
mais bcp plus complexe car reprez pas unique via CAO, \\
et zero littérature.`,index:4,start:106,end:176,noteHTML:`<p>Rotor37_1200, le dataset sur lequel j'ai principalement travaillé.</p>
<p>Donc travaille sur graphe/maillage, <br>
mais connectivité &quot;locales&quot; (voisins proches dans l'espace) <br>
donc utiliser seulement le nuage de points</p>
<p>Ça nous arrange, <br>
car connectivité des maillages trop complexe (quadratique), <br>
et techniques reconstruire surface from points</p>
<p>On aurait aussi pu travailler direct CAO (primitives), <br>
mais bcp plus complexe car reprez pas unique via CAO, <br>
et zero littérature.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:4,no:5},__clicksElements:[],__preloaded:!1}},{path:"6",name:"page-6",component:PP,meta:{slide:{raw:`
## Problème direct
<img src="https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/online_adaptative_sampling_DOE.png" class="m-auto h-100 mt-10"/>
<!--
On veut c'est générer trucs ressemblent rotor37. \\
pour ça on peut appliquer le problème direct, \\
si on veut trouver aube qui respecte un certaine critère de perf, \\
"l'exploration d'un espace paramètre"
On prend CAO, \\
on échantillone, passer sous simu, \\
relèver les perfs, on optimise pour resampler, \\
repeat ad vitam eternam.
À la fin, on a normalement au moins une aube qui nous convient.
Inconvénient, \\
c'est long, à cause de la simu, \\
nous on voudrait avoir le processus inverse \\
(perf -> aube) pas (aube -> perf)
-->
`,title:"Problème direct",level:2,content:`## Problème direct
<img src="https://git.fainsin.bzh/ENSEEIHT/projet-fin-etude-rapport/media/branch/master/assets/online_adaptative_sampling_DOE.png" class="m-auto h-100 mt-10"/>`,frontmatter:{},note:`On veut c'est générer trucs ressemblent rotor37. \\
pour ça on peut appliquer le problème direct, \\
si on veut trouver aube qui respecte un certaine critère de perf, \\
"l'exploration d'un espace paramètre"
On prend CAO, \\
on échantillone, passer sous simu, \\
relèver les perfs, on optimise pour resampler, \\
repeat ad vitam eternam.
À la fin, on a normalement au moins une aube qui nous convient.
Inconvénient, \\
c'est long, à cause de la simu, \\
nous on voudrait avoir le processus inverse \\
(perf -> aube) pas (aube -> perf)`,index:5,start:177,end:201,noteHTML:`<p>On veut c'est générer trucs ressemblent rotor37. <br>
pour ça on peut appliquer le problème direct, <br>
si on veut trouver aube qui respecte un certaine critère de perf, <br>
&quot;l'exploration d'un espace paramètre&quot;</p>
<p>On prend CAO, <br>
on échantillone, passer sous simu, <br>
relèver les perfs, on optimise pour resampler, <br>
repeat ad vitam eternam.</p>
<p>À la fin, on a normalement au moins une aube qui nous convient.</p>
<p>Inconvénient, <br>
c'est long, à cause de la simu, <br>
nous on voudrait avoir le processus inverse <br>
(perf -&gt; aube) pas (aube -&gt; perf)</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:5,no:6},__clicksElements:[],__preloaded:!1}},{path:"7",name:"page-7",component:MP,meta:{slide:{raw:`
## Problème inverse, Modèles génératifs
<img src="/assets/generative-overview.png" class="m-auto h-110"/>
<a href="https://lilianweng.github.io/posts/2021-07-11-diffusion-models/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Lilian Weng, 2021</a>
<!--
Approximer le problème inverse, \\
solution, utiliser des réseaux de neurones, modèles génératifs.
Y'a globalement 4 grosses familles de modèles génératifs (gan, vae, nf, dm).
L'objectif de ces modèles se ressemblent un peu tous, \\
les trois premiers, on veut apprendre à génerer distrib x' qui ressemble très fortement à x.
Formelement pendant training on veut apprendre l'identité, \\
mais particularité dans leur archi, par exemple \\
VAE on passe par un goulot étranglement, espace latent, \\
GAN on a une architecture adversarial, etc. \\
NF on utilise des transfo continue reversible bijectives \\
y'a plusieurs avantages et inconvenients à chaque méthode.
Ce qui nous interesse le plus ici c'est diffusion, récent et potentiel. \\
le principe, trouver processus réversible discret stochastique \\
entre distrib données et une autre distrib qu'on connait parfaitement math
-->
`,title:"Problème inverse, Modèles génératifs",level:2,content:`## Problème inverse, Modèles génératifs
<img src="/assets/generative-overview.png" class="m-auto h-110"/>
<a href="https://lilianweng.github.io/posts/2021-07-11-diffusion-models/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Lilian Weng, 2021</a>`,frontmatter:{},note:`Approximer le problème inverse, \\
solution, utiliser des réseaux de neurones, modèles génératifs.
Y'a globalement 4 grosses familles de modèles génératifs (gan, vae, nf, dm).
L'objectif de ces modèles se ressemblent un peu tous, \\
les trois premiers, on veut apprendre à génerer distrib x' qui ressemble très fortement à x.
Formelement pendant training on veut apprendre l'identité, \\
mais particularité dans leur archi, par exemple \\
VAE on passe par un goulot étranglement, espace latent, \\
GAN on a une architecture adversarial, etc. \\
NF on utilise des transfo continue reversible bijectives \\
y'a plusieurs avantages et inconvenients à chaque méthode.
Ce qui nous interesse le plus ici c'est diffusion, récent et potentiel. \\
le principe, trouver processus réversible discret stochastique \\
entre distrib données et une autre distrib qu'on connait parfaitement math`,index:6,start:202,end:230,noteHTML:`<p>Approximer le problème inverse, <br>
solution, utiliser des réseaux de neurones, modèles génératifs.</p>
<p>Y'a globalement 4 grosses familles de modèles génératifs (gan, vae, nf, dm).</p>
<p>L'objectif de ces modèles se ressemblent un peu tous, <br>
les trois premiers, on veut apprendre à génerer distrib x' qui ressemble très fortement à x.</p>
<p>Formelement pendant training on veut apprendre l'identité, <br>
mais particularité dans leur archi, par exemple <br>
VAE on passe par un goulot étranglement, espace latent, <br>
GAN on a une architecture adversarial, etc. <br>
NF on utilise des transfo continue reversible bijectives <br>
y'a plusieurs avantages et inconvenients à chaque méthode.</p>
<p>Ce qui nous interesse le plus ici c'est diffusion, récent et potentiel. <br>
le principe, trouver processus réversible discret stochastique <br>
entre distrib données et une autre distrib qu'on connait parfaitement math</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:6,no:7},__clicksElements:[],__preloaded:!1}},{path:"8",name:"page-8",component:FP,meta:{slide:{raw:`
## Denoising Diffusion Probabilistic Model (DDPM)
<div class="flex flex-col items-center h-100">
<img src="/assets/ddpm_algo.png" class="m-auto w-9/10">
<img src="/assets/ddpm_example.png" class="m-auto w-full">
</div>
<p class="absolute bottom-0 font-extralight !my-0 mr-2 right-0 text-xs">
<a href="https://arxiv.org/abs/2006.11239">arxiv:2006.11239</a>,
<a href="https://cvpr2022-tutorial-diffusion-models.github.io/">CVPR 2022 Diffusion Tutorial</a>
</p>
<!--
Plusieurs méthodes pour faire dla diffusion, \\
la + simple d'entre elles c'est DDPM. \\
Le principe, apprendre mapping entre données et gaussienne isotropique.
Plus exactement, apprendre mapping inverse car, \\
Pour passer données à gaussienne on ajoute juste du bruit, \\
Pour process inverse, approximer réseau débruiteur (denoising). \\
Pour se faire (algo 1), \\
on prend une de nos données (x0), \\
on la bruite (xt), \\
on la donne notre réseau, on récupère la prédiction (eps_theta), \\
on opti le réseau à prédire le bruit que l'on a ajouté (eps).
Convergence atteinte, \\
on est capable de débruiter des données, \\
(plusieurs étape, itérativement)
Intéressant lorsqu'on part d'un bruit blanc (xT), \\
et que l'on demande quand même au réseau de débruiter. \\
Le réseau hallucine informations là où y'en a pas, \\
et génère finalement nouvelle donnée même distrib de celles qu'il a apprises. (algo 2)
-->
`,title:"Denoising Diffusion Probabilistic Model (DDPM)",level:2,content:`## Denoising Diffusion Probabilistic Model (DDPM)
<div class="flex flex-col items-center h-100">
<img src="/assets/ddpm_algo.png" class="m-auto w-9/10">
<img src="/assets/ddpm_example.png" class="m-auto w-full">
</div>
<p class="absolute bottom-0 font-extralight !my-0 mr-2 right-0 text-xs">
<a href="https://arxiv.org/abs/2006.11239">arxiv:2006.11239</a>,
<a href="https://cvpr2022-tutorial-diffusion-models.github.io/">CVPR 2022 Diffusion Tutorial</a>
</p>`,frontmatter:{},note:`Plusieurs méthodes pour faire dla diffusion, \\
la + simple d'entre elles c'est DDPM. \\
Le principe, apprendre mapping entre données et gaussienne isotropique.
Plus exactement, apprendre mapping inverse car, \\
Pour passer données à gaussienne on ajoute juste du bruit, \\
Pour process inverse, approximer réseau débruiteur (denoising). \\
Pour se faire (algo 1), \\
on prend une de nos données (x0), \\
on la bruite (xt), \\
on la donne notre réseau, on récupère la prédiction (eps_theta), \\
on opti le réseau à prédire le bruit que l'on a ajouté (eps).
Convergence atteinte, \\
on est capable de débruiter des données, \\
(plusieurs étape, itérativement)
Intéressant lorsqu'on part d'un bruit blanc (xT), \\
et que l'on demande quand même au réseau de débruiter. \\
Le réseau hallucine informations là où y'en a pas, \\
et génère finalement nouvelle donnée même distrib de celles qu'il a apprises. (algo 2)`,index:7,start:231,end:268,noteHTML:`<p>Plusieurs méthodes pour faire dla diffusion, <br>
la + simple d'entre elles c'est DDPM. <br>
Le principe, apprendre mapping entre données et gaussienne isotropique.</p>
<p>Plus exactement, apprendre mapping inverse car, <br>
Pour passer données à gaussienne on ajoute juste du bruit, <br>
Pour process inverse, approximer réseau débruiteur (denoising). <br>
Pour se faire (algo 1), <br>
on prend une de nos données (x0), <br>
on la bruite (xt), <br>
on la donne notre réseau, on récupère la prédiction (eps_theta), <br>
on opti le réseau à prédire le bruit que l'on a ajouté (eps).</p>
<p>Convergence atteinte, <br>
on est capable de débruiter des données, <br>
(plusieurs étape, itérativement)</p>
<p>Intéressant lorsqu'on part d'un bruit blanc (xT), <br>
et que l'on demande quand même au réseau de débruiter. <br>
Le réseau hallucine informations là où y'en a pas, <br>
et génère finalement nouvelle donnée même distrib de celles qu'il a apprises. (algo 2)</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:7,no:8},__clicksElements:[],__preloaded:!1}},{path:"9",name:"page-9",component:KP,meta:{slide:{raw:`
## Diffusion forward process
<div class="flex items-center h-100">
<figure>
<div class="flex items-center w-full bg-black">
<img src="/assets/aube_rotation.gif" class="m-auto w-full">
<img src="/assets/aube_forward_front.gif" class="m-auto w-full">
<img src="/assets/aube_forward_side.gif" class="m-auto w-full">
</div>
<figcaption class="text-center">Corruption progressive d'un échantillon, via un bruit gaussien (cf. algorithm 1)</figcaption>
</figure>
</div>
<!--
On peut l'appliquer à nos aubes,
example du forward process sur une aube 3D, \\
(subsample 2048 points et normalisé donc un peu applati), \\
à la fin on obtient truc qui ressemble à une gaussienne. \\
(mapping discret, ici 100 pas de temps).
Ce genre de données input réseau capable traiter des pointcloud, \\
comme par exemple un réseau basés sur des KPConvs, \\
ou autre archi style PointNet, \\
ou PVCNN qui travaille sur reprez voxel des points, \\
(cf rapport).
-->
`,title:"Diffusion forward process",level:2,content:`## Diffusion forward process
<div class="flex items-center h-100">
<figure>
<div class="flex items-center w-full bg-black">
<img src="/assets/aube_rotation.gif" class="m-auto w-full">
<img src="/assets/aube_forward_front.gif" class="m-auto w-full">
<img src="/assets/aube_forward_side.gif" class="m-auto w-full">
</div>
<figcaption class="text-center">Corruption progressive d'un échantillon, via un bruit gaussien (cf. algorithm 1)</figcaption>
</figure>
</div>`,frontmatter:{},note:`On peut l'appliquer à nos aubes,
example du forward process sur une aube 3D, \\
(subsample 2048 points et normalisé donc un peu applati), \\
à la fin on obtient truc qui ressemble à une gaussienne. \\
(mapping discret, ici 100 pas de temps).
Ce genre de données input réseau capable traiter des pointcloud, \\
comme par exemple un réseau basés sur des KPConvs, \\
ou autre archi style PointNet, \\
ou PVCNN qui travaille sur reprez voxel des points, \\
(cf rapport).`,index:8,start:269,end:297,noteHTML:`<p>On peut l'appliquer à nos aubes,
example du forward process sur une aube 3D, <br>
(subsample 2048 points et normalisé donc un peu applati), <br>
à la fin on obtient truc qui ressemble à une gaussienne. <br>
(mapping discret, ici 100 pas de temps).</p>
<p>Ce genre de données input réseau capable traiter des pointcloud, <br>
comme par exemple un réseau basés sur des KPConvs, <br>
ou autre archi style PointNet, <br>
ou PVCNN qui travaille sur reprez voxel des points, <br>
(cf rapport).</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:8,no:9},__clicksElements:[],__preloaded:!1}},{path:"10",name:"page-10",component:QP,meta:{slide:{raw:`
## Diffusion reverse process
<div class="flex items-center h-100">
<figure>
<div class="flex items-center w-full bg-black">
<img src="/assets/sample_rotation.gif" class="m-auto w-full">
<img src="/assets/sample_reverse_front.gif" class="m-auto w-full">
<img src="/assets/sample_reverse_side.gif" class="m-auto w-full">
</div>
<figcaption class="text-center">Débruitage itératif d'un nuage gaussien (cf. algorithm 2)</figcaption>
</figure>
</div>
<!--
Si on effectue le reverse process, \\
nuage de point gaussien ressemble progressivement à une aube.
Le résultat (kp-fcnn) est pas mal, \\
mais reste une bonne quantité de bruit, \\
(bonne chance reconstruction surface), \\
surement améliorable hyperparmètres, \\
mais meilleurs méthodes depuis 2020.
-->
`,title:"Diffusion reverse process",level:2,content:`## Diffusion reverse process
<div class="flex items-center h-100">
<figure>
<div class="flex items-center w-full bg-black">
<img src="/assets/sample_rotation.gif" class="m-auto w-full">
<img src="/assets/sample_reverse_front.gif" class="m-auto w-full">
<img src="/assets/sample_reverse_side.gif" class="m-auto w-full">
</div>
<figcaption class="text-center">Débruitage itératif d'un nuage gaussien (cf. algorithm 2)</figcaption>
</figure>
</div>`,frontmatter:{},note:`Si on effectue le reverse process, \\
nuage de point gaussien ressemble progressivement à une aube.
Le résultat (kp-fcnn) est pas mal, \\
mais reste une bonne quantité de bruit, \\
(bonne chance reconstruction surface), \\
surement améliorable hyperparmètres, \\
mais meilleurs méthodes depuis 2020.`,index:9,start:298,end:323,noteHTML:`<p>Si on effectue le reverse process, <br>
nuage de point gaussien ressemble progressivement à une aube.</p>
<p>Le résultat (kp-fcnn) est pas mal, <br>
mais reste une bonne quantité de bruit, <br>
(bonne chance reconstruction surface), <br>
surement améliorable hyperparmètres, <br>
mais meilleurs méthodes depuis 2020.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:9,no:10},__clicksElements:[],__preloaded:!1}},{path:"11",name:"page-11",component:iC,meta:{slide:{raw:`
## Latent Diffusion Model (LDM)
<div class="flex items-center w-full h-full flex-col justify-evenly">
<div class="flex items-center w-full h-72 justify-evenly">
<figure>
<img src="https://ar5iv.labs.arxiv.org/html/2112.10752/assets/img/generativevscompressive4.jpg" class="m-auto h-70">
</figure>
<div>
$\\displaystyle x_0 \\approx \\hat{x}_0 = \\frac{ x_t - \\sqrt{1 - \\overline\\alpha_t} \\epsilon_\\theta(x_t) }{ \\sqrt{\\overline\\alpha_t} }$
$\\displaystyle \\text{RMSE} = \\sqrt{ \\frac{ \\| x_0 - \\hat{x}_0 \\|^2_2 }{ D } }$
$$\\begin{align*}
\\text{Rate} &= \\frac{1}{2 \\sigma^2_q(t)} \\frac{ \\overline\\alpha_{t-1} ( 1 - \\alpha_t )^2 }{ (1 - \\overline\\alpha_t)^2 } \\| x_0 - \\hat{x}_0 \\|^2_2 \\\\
&= \\text{D}_{\\text{KL}} \\left[ q(x_{t-1} | x_t, x_0) \\| p_\\theta(x_{t-1} | x_t) \\right]
\\end{align*}$$
</div>
</div>
<figure>
<img src="/assets/ldm-simplified.png" class="w-160">
<figcaption class="text-center">Nouvelle pipeline, ajout d'une transformation en amont</figcaption>
</figure>
</div>
<a href="https://arxiv.org/abs/2112.10752" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">arxiv:2112.10752</a>
<!--
auteur du papier observent que si prend x0, \\
et que pour tout t allant de 0 a T, \\
calcul RMSE (distortion) + Rate (KLD reverse process et approx), \\
et que l'on trace RMSE fonction de Rate, \\
on obtient ceci.
Interprétaion, deux zones dans processus diffusion, \\
un domaine nécéssite bcp de bits et encode peu de distortion, \\
l'autre inverse, peu bits, bcp de distortion, \\
donc un peu du gachi de réseau neurone le perceptuel, \\
on aimerait travailler uniquement sur la partie semantique. \\
On peut le faire si trouve espace alternatif aux données, \\
Espace latent sont une possibilité, \\
utilisation, par ex, d'autoencoder, qui s'occuper du perceptuel, \\
la diffusion préoccupe que du semantic. \\
Ça revient à modifier la pipeline de diffusion comme suit: \\
avantage, latent space petit, donc modèl, petit, simple, rapide...
-->
`,title:"Latent Diffusion Model (LDM)",level:2,content:`## Latent Diffusion Model (LDM)
<div class="flex items-center w-full h-full flex-col justify-evenly">
<div class="flex items-center w-full h-72 justify-evenly">
<figure>
<img src="https://ar5iv.labs.arxiv.org/html/2112.10752/assets/img/generativevscompressive4.jpg" class="m-auto h-70">
</figure>
<div>
$\\displaystyle x_0 \\approx \\hat{x}_0 = \\frac{ x_t - \\sqrt{1 - \\overline\\alpha_t} \\epsilon_\\theta(x_t) }{ \\sqrt{\\overline\\alpha_t} }$
$\\displaystyle \\text{RMSE} = \\sqrt{ \\frac{ \\| x_0 - \\hat{x}_0 \\|^2_2 }{ D } }$
$$\\begin{align*}
\\text{Rate} &= \\frac{1}{2 \\sigma^2_q(t)} \\frac{ \\overline\\alpha_{t-1} ( 1 - \\alpha_t )^2 }{ (1 - \\overline\\alpha_t)^2 } \\| x_0 - \\hat{x}_0 \\|^2_2 \\\\
&= \\text{D}_{\\text{KL}} \\left[ q(x_{t-1} | x_t, x_0) \\| p_\\theta(x_{t-1} | x_t) \\right]
\\end{align*}$$
</div>
</div>
<figure>
<img src="/assets/ldm-simplified.png" class="w-160">
<figcaption class="text-center">Nouvelle pipeline, ajout d'une transformation en amont</figcaption>
</figure>
</div>
<a href="https://arxiv.org/abs/2112.10752" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">arxiv:2112.10752</a>`,frontmatter:{},note:`auteur du papier observent que si prend x0, \\
et que pour tout t allant de 0 a T, \\
calcul RMSE (distortion) + Rate (KLD reverse process et approx), \\
et que l'on trace RMSE fonction de Rate, \\
on obtient ceci.
Interprétaion, deux zones dans processus diffusion, \\
un domaine nécéssite bcp de bits et encode peu de distortion, \\
l'autre inverse, peu bits, bcp de distortion, \\
donc un peu du gachi de réseau neurone le perceptuel, \\
on aimerait travailler uniquement sur la partie semantique. \\
On peut le faire si trouve espace alternatif aux données, \\
Espace latent sont une possibilité, \\
utilisation, par ex, d'autoencoder, qui s'occuper du perceptuel, \\
la diffusion préoccupe que du semantic. \\
Ça revient à modifier la pipeline de diffusion comme suit: \\
avantage, latent space petit, donc modèl, petit, simple, rapide...`,index:10,start:324,end:380,noteHTML:`<p>auteur du papier observent que si prend x0, <br>
et que pour tout t allant de 0 a T, <br>
calcul RMSE (distortion) + Rate (KLD reverse process et approx), <br>
et que l'on trace RMSE fonction de Rate, <br>
on obtient ceci.</p>
<p>Interprétaion, deux zones dans processus diffusion, <br>
un domaine nécéssite bcp de bits et encode peu de distortion, <br>
l'autre inverse, peu bits, bcp de distortion, <br>
donc un peu du gachi de réseau neurone le perceptuel, <br>
on aimerait travailler uniquement sur la partie semantique. \\</p>
<p>On peut le faire si trouve espace alternatif aux données, <br>
Espace latent sont une possibilité, <br>
utilisation, par ex, d'autoencoder, qui s'occuper du perceptuel, <br>
la diffusion préoccupe que du semantic. \\</p>
<p>Ça revient à modifier la pipeline de diffusion comme suit: <br>
avantage, latent space petit, donc modèl, petit, simple, rapide...</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:10,no:11},__clicksElements:[],__preloaded:!1}},{path:"12",name:"page-12",component:gC,meta:{slide:{raw:`
## Générations par diffusion latente (non conditionnée)
<div class="grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black">
<img src="/assets/gen_points_1.gif" class="w-50">
<img src="/assets/gen_points_2.gif" class="w-50">
<img src="/assets/gen_points_3.gif" class="w-50">
<img src="/assets/gen_points_4.gif" class="w-50">
<img src="/assets/gen_points_5.gif" class="w-50">
<img src="/assets/gen_points_6.gif" class="w-50">
<img src="/assets/gen_points_7.gif" class="w-50">
<img src="/assets/gen_surface_1.gif" class="w-50">
</div>
<!--
Si on applique nos diffusion latente via une PCA, \\
on obtient ceci.
Nuages de point de très bonne qualité, \\
on a plus le bruit qu'on avait avec KP-FCNN, \\
bonus PCA, même ordre des points, on peut copier connectivité aube nominale, \\
pas besoin méthode reconstruction dans ce cas.
-->
`,title:"Générations par diffusion latente (non conditionnée)",level:2,content:`## Générations par diffusion latente (non conditionnée)
<div class="grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black">
<img src="/assets/gen_points_1.gif" class="w-50">
<img src="/assets/gen_points_2.gif" class="w-50">
<img src="/assets/gen_points_3.gif" class="w-50">
<img src="/assets/gen_points_4.gif" class="w-50">
<img src="/assets/gen_points_5.gif" class="w-50">
<img src="/assets/gen_points_6.gif" class="w-50">
<img src="/assets/gen_points_7.gif" class="w-50">
<img src="/assets/gen_surface_1.gif" class="w-50">
</div>`,frontmatter:{},note:`Si on applique nos diffusion latente via une PCA, \\
on obtient ceci.
Nuages de point de très bonne qualité, \\
on a plus le bruit qu'on avait avec KP-FCNN, \\
bonus PCA, même ordre des points, on peut copier connectivité aube nominale, \\
pas besoin méthode reconstruction dans ce cas.`,index:11,start:381,end:405,noteHTML:`<p>Si on applique nos diffusion latente via une PCA, <br>
on obtient ceci.</p>
<p>Nuages de point de très bonne qualité, <br>
on a plus le bruit qu'on avait avec KP-FCNN, <br>
bonus PCA, même ordre des points, on peut copier connectivité aube nominale, <br>
pas besoin méthode reconstruction dans ce cas.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:11,no:12},__clicksElements:[],__preloaded:!1}},{path:"13",name:"page-13",component:xC,meta:{slide:{raw:`
## Classifier-free Guidance (CFG)
<img src="https://perceptron.blog/assets/images/diffusion_models/diffusion_gradients_free.gif" class="m-auto h-55">
<img src="https://perceptron.blog/assets/images/diffusion_models/diffusion_free_guided_results.gif" class="m-auto h-55">
<a href="https://perceptron.blog/defusing-diffusion/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Paweł Pierzchlewicz</a>
<!--
Jusqu'à présent, avec tout ce que j'ai dit, \\
capable de générer des données ressemble données d'entrée. \\
(non conditionné)
Cependant on veut générer données ressemblent données d'entrée specifiques. \\
On pourrait très bien entrainer un modèle par classe, \\
mais c'est long et en plus nous on a pas de classes discète.
Il existe plusieurs méthode pour faire cela, \\
l'un d'entre elle etant cfg.
Principe entrainer notre réseau diffusion conjointement, \\
prédiction non conditionnée et conditionnée.
On complexifie un peu plus l'apprentissage, \\
mais sampling pouvoir choisir quel densité de proba on veut gen.
-->
`,title:"Classifier-free Guidance (CFG)",level:2,content:`## Classifier-free Guidance (CFG)
<img src="https://perceptron.blog/assets/images/diffusion_models/diffusion_gradients_free.gif" class="m-auto h-55">
<img src="https://perceptron.blog/assets/images/diffusion_models/diffusion_free_guided_results.gif" class="m-auto h-55">
<a href="https://perceptron.blog/defusing-diffusion/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Paweł Pierzchlewicz</a>`,frontmatter:{},note:`Jusqu'à présent, avec tout ce que j'ai dit, \\
capable de générer des données ressemble données d'entrée. \\
(non conditionné)
Cependant on veut générer données ressemblent données d'entrée specifiques. \\
On pourrait très bien entrainer un modèle par classe, \\
mais c'est long et en plus nous on a pas de classes discète.
Il existe plusieurs méthode pour faire cela, \\
l'un d'entre elle etant cfg.
Principe entrainer notre réseau diffusion conjointement, \\
prédiction non conditionnée et conditionnée.
On complexifie un peu plus l'apprentissage, \\
mais sampling pouvoir choisir quel densité de proba on veut gen.`,index:12,start:406,end:433,noteHTML:`<p>Jusqu'à présent, avec tout ce que j'ai dit, <br>
capable de générer des données ressemble données d'entrée. <br>
(non conditionné)</p>
<p>Cependant on veut générer données ressemblent données d'entrée specifiques. <br>
On pourrait très bien entrainer un modèle par classe, <br>
mais c'est long et en plus nous on a pas de classes discète.</p>
<p>Il existe plusieurs méthode pour faire cela, <br>
l'un d'entre elle etant cfg.</p>
<p>Principe entrainer notre réseau diffusion conjointement, <br>
prédiction non conditionnée et conditionnée.</p>
<p>On complexifie un peu plus l'apprentissage, <br>
mais sampling pouvoir choisir quel densité de proba on veut gen.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:12,no:13},__clicksElements:[],__preloaded:!1}},{path:"14",name:"page-14",component:IC,meta:{slide:{raw:`
## Générations par diffusion latente (conditionnée)
<div class="grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black">
<img src="/assets/gen_surface_1.gif" class="w-50">
<img src="/assets/gen_surface_2.gif" class="w-50">
<img src="/assets/gen_surface_3.gif" class="w-50">
<img src="/assets/gen_surface_4.gif" class="w-50">
<img src="/assets/gen_surface_5.gif" class="w-50">
<img src="/assets/gen_surface_6.gif" class="w-50">
<img src="/assets/gen_surface_7.gif" class="w-50">
<img src="/assets/gen_surface_8.gif" class="w-50">
</div>
<!--
Si on fait génération conditionné, ça marche encore.
Problème, \\
incapable visuellement différence entre aubes conditionné, \\
là par exemple toutes conditonnés même critère physqiue, \\
et ça se voit pas trop.
Une solution ça serait simu cfd, mais trop long, \\
donc on va utiliser des modèles de regression, plus légers et rapides.
-->
`,title:"Générations par diffusion latente (conditionnée)",level:2,content:`## Générations par diffusion latente (conditionnée)
<div class="grid grid-cols-4 col-auto self-center justify-items-center w-full h-100 bg-black">
<img src="/assets/gen_surface_1.gif" class="w-50">
<img src="/assets/gen_surface_2.gif" class="w-50">
<img src="/assets/gen_surface_3.gif" class="w-50">
<img src="/assets/gen_surface_4.gif" class="w-50">
<img src="/assets/gen_surface_5.gif" class="w-50">
<img src="/assets/gen_surface_6.gif" class="w-50">
<img src="/assets/gen_surface_7.gif" class="w-50">
<img src="/assets/gen_surface_8.gif" class="w-50">
</div>`,frontmatter:{},note:`Si on fait génération conditionné, ça marche encore.
Problème, \\
incapable visuellement différence entre aubes conditionné, \\
là par exemple toutes conditonnés même critère physqiue, \\
et ça se voit pas trop.
Une solution ça serait simu cfd, mais trop long, \\
donc on va utiliser des modèles de regression, plus légers et rapides.`,index:13,start:434,end:460,noteHTML:`<p>Si on fait génération conditionné, ça marche encore.</p>
<p>Problème, <br>
incapable visuellement différence entre aubes conditionné, <br>
là par exemple toutes conditonnés même critère physqiue, <br>
et ça se voit pas trop.</p>
<p>Une solution ça serait simu cfd, mais trop long, <br>
donc on va utiliser des modèles de regression, plus légers et rapides.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:13,no:14},__clicksElements:[],__preloaded:!1}},{path:"15",name:"page-15",component:DC,meta:{slide:{raw:`
## Gaussian Process (GP)
<div class="flex items-center h-100" style="overflow: hidden;">
<div style="overflow: hidden;">
<iframe scrolling="no" style="height: 50rem; margin-top: -18rem; width: 75rem; margin-left: -10rem;" src="https://distill.pub/2019/visual-exploration-gaussian-processes/">
</iframe>
</div>
</div>
<a href="https://distill.pub/2019/visual-exploration-gaussian-processes/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Distill</a>
<!--
On pourrait entrainer un réseau de neurones pour faire regression entre nuage de points et critère de perf. Mais y'a plus simples.
Les GP c'est des méthodes à noyau, probabilistiques.
* supervisé, au même sens que SVM, K-NN, ...
* non paramétrique (techniquement hyper-paramétrique, à cause noyau).
* fournir des intervals de confiance
-->
`,title:"Gaussian Process (GP)",level:2,content:`## Gaussian Process (GP)
<div class="flex items-center h-100" style="overflow: hidden;">
<div style="overflow: hidden;">
<iframe scrolling="no" style="height: 50rem; margin-top: -18rem; width: 75rem; margin-left: -10rem;" src="https://distill.pub/2019/visual-exploration-gaussian-processes/">
</iframe>
</div>
</div>
<a href="https://distill.pub/2019/visual-exploration-gaussian-processes/" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Distill</a>`,frontmatter:{},note:`On pourrait entrainer un réseau de neurones pour faire regression entre nuage de points et critère de perf. Mais y'a plus simples.
Les GP c'est des méthodes à noyau, probabilistiques.
* supervisé, au même sens que SVM, K-NN, ...
* non paramétrique (techniquement hyper-paramétrique, à cause noyau).
* fournir des intervals de confiance`,index:14,start:461,end:482,noteHTML:`<p>On pourrait entrainer un réseau de neurones pour faire regression entre nuage de points et critère de perf. Mais y'a plus simples.</p>
<p>Les GP c'est des méthodes à noyau, probabilistiques.</p>
<ul>
<li>supervisé, au même sens que SVM, K-NN, ...</li>
<li>non paramétrique (techniquement hyper-paramétrique, à cause noyau).</li>
<li>fournir des intervals de confiance</li>
</ul>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:14,no:15},__clicksElements:[],__preloaded:!1}},{path:"16",name:"page-16",component:zC,meta:{slide:{raw:`
## "Entrainement" d'un GP sur Rotor37_1200
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_train_30_pca.png" class="m-auto w-full">
</div>
<!--
Donc on peut utiliser des GPs pour relation modes pca et perfs.
On s'assure juste que leurs prédictions sont correctes par rapport à des données de test, ici coeff détermination ~= 1 donc correct.
-->
`,title:`"Entrainement" d'un GP sur Rotor37_1200`,level:2,content:`## "Entrainement" d'un GP sur Rotor37_1200
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_train_30_pca.png" class="m-auto w-full">
</div>`,frontmatter:{},note:`Donc on peut utiliser des GPs pour relation modes pca et perfs.
On s'assure juste que leurs prédictions sont correctes par rapport à des données de test, ici coeff détermination ~= 1 donc correct.`,index:15,start:483,end:496,noteHTML:`<p>Donc on peut utiliser des GPs pour relation modes pca et perfs.</p>
<p>On s'assure juste que leurs prédictions sont correctes par rapport à des données de test, ici coeff détermination ~= 1 donc correct.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:15,no:16},__clicksElements:[],__preloaded:!1}},{path:"17",name:"page-17",component:GC,meta:{slide:{raw:`
## Analyse de générations non conditionnées
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_unconditional.png" class="m-auto w-full">
</div>
`,title:"Analyse de générations non conditionnées",level:2,content:`## Analyse de générations non conditionnées
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_unconditional.png" class="m-auto w-full">
</div>`,frontmatter:{},index:16,start:497,end:504,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:16,no:17},__clicksElements:[],__preloaded:!1}},{path:"18",name:"page-18",component:QC,meta:{slide:{raw:`
## Analyse de générations progressivement conditionnées
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_guidance.gif" class="m-auto w-full">
</div>
<!--
je fais varier gamma entre 0 et 1.
conditionné sur out_massflow = -1
-->
`,title:"Analyse de générations progressivement conditionnées",level:2,content:`## Analyse de générations progressivement conditionnées
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_guidance.gif" class="m-auto w-full">
</div>`,frontmatter:{},note:`je fais varier gamma entre 0 et 1.
conditionné sur out_massflow = -1`,index:17,start:505,end:518,noteHTML:`<p>je fais varier gamma entre 0 et 1.</p>
<p>conditionné sur out_massflow = -1</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:17,no:18},__clicksElements:[],__preloaded:!1}},{path:"19",name:"page-19",component:rO,meta:{slide:{raw:`
## Analyse de générations conditionnées (massflow)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_massflow.gif" class="m-auto w-full">
</div>
<!--
on fait varier entre -3 et 3.
gamma = 2.5.
ça suit bien le conditionnement, \\
sur les bords ça déconne un peu, pas très grave, \\
mais ça doit venir du GP qui ne généralise pas la regression, \\
car génération correctes visuellement, \\
il faudrait verif avec une CFD là.
correlation avec in_massflow et compression_rate, \\
normal car correlé physiquement.
-->
`,title:"Analyse de générations conditionnées (massflow)",level:2,content:`## Analyse de générations conditionnées (massflow)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_massflow.gif" class="m-auto w-full">
</div>`,frontmatter:{},note:`on fait varier entre -3 et 3.
gamma = 2.5.
ça suit bien le conditionnement, \\
sur les bords ça déconne un peu, pas très grave, \\
mais ça doit venir du GP qui ne généralise pas la regression, \\
car génération correctes visuellement, \\
il faudrait verif avec une CFD là.
correlation avec in_massflow et compression_rate, \\
normal car correlé physiquement.`,index:18,start:519,end:541,noteHTML:`<p>on fait varier entre -3 et 3.</p>
<p>gamma = 2.5.</p>
<p>ça suit bien le conditionnement, <br>
sur les bords ça déconne un peu, pas très grave, <br>
mais ça doit venir du GP qui ne généralise pas la regression, <br>
car génération correctes visuellement, <br>
il faudrait verif avec une CFD là.</p>
<p>correlation avec in_massflow et compression_rate, <br>
normal car correlé physiquement.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:18,no:19},__clicksElements:[],__preloaded:!1}},{path:"20",name:"page-20",component:cO,meta:{slide:{raw:`
## Analyse de générations conditionnées (efficiency)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_efficiency.gif" class="m-auto w-full">
</div>
<!--
pareil, mais pour l'efficiency
-->
`,title:"Analyse de générations conditionnées (efficiency)",level:2,content:`## Analyse de générations conditionnées (efficiency)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_efficiency.gif" class="m-auto w-full">
</div>`,frontmatter:{},note:"pareil, mais pour l'efficiency",index:19,start:542,end:553,noteHTML:`<p>pareil, mais pour l'efficiency</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:19,no:20},__clicksElements:[],__preloaded:!1}},{path:"21",name:"page-21",component:mO,meta:{slide:{raw:`
## Analyse de générations conditionnées (double)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_double.gif" class="m-auto w-full">
</div>
<!--
pareil, mais là on conditionne \\
efficiency = 1 \\
massflow = [-3, 3]
-->
`,title:"Analyse de générations conditionnées (double)",level:2,content:`## Analyse de générations conditionnées (double)
<div class="flex flex-col items-center h-100">
<img src="/assets/gp_double.gif" class="m-auto w-full">
</div>`,frontmatter:{},note:`pareil, mais là on conditionne \\
efficiency = 1 \\
massflow = [-3, 3]`,index:20,start:554,end:567,noteHTML:`<p>pareil, mais là on conditionne <br>
efficiency = 1 <br>
massflow = [-3, 3]</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:20,no:21},__clicksElements:[],__preloaded:!1}},{path:"22",name:"page-22",component:_O,meta:{slide:{raw:`
## Conclusion
<div class="h-100 flex flex-col text-2xl justify-center">
### Travail réalisé
- Génération conditionnée d'aubes par diffusion
- Release d'un code réutilisable en interne
- Rédaction d'une déclaration d'invention
</div>
`,title:"Conclusion",level:2,content:`## Conclusion
<div class="h-100 flex flex-col text-2xl justify-center">
### Travail réalisé
- Génération conditionnée d'aubes par diffusion
- Release d'un code réutilisable en interne
- Rédaction d'une déclaration d'invention
</div>`,frontmatter:{},index:21,start:568,end:581,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:21,no:22},__clicksElements:[],__preloaded:!1}},{path:"23",name:"page-23",component:xO,meta:{slide:{raw:`
## Conclusion
<div class="h-100 flex flex-col text-2xl justify-center">
### Perspectives
- Vérifier le conditionnement par simulation CFD
- Remplacer la PCA par une méthode paramétrique
- Travailler directement sur les CAOs
- Tester des méthodes par RL
</div>
`,title:"Conclusion",level:2,content:`## Conclusion
<div class="h-100 flex flex-col text-2xl justify-center">
### Perspectives
- Vérifier le conditionnement par simulation CFD
- Remplacer la PCA par une méthode paramétrique
- Travailler directement sur les CAOs
- Tester des méthodes par RL
</div>`,frontmatter:{},index:22,start:582,end:596,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:22,no:23},__clicksElements:[],__preloaded:!1}},{path:"24",name:"page-24",component:$O,meta:{slide:{raw:`
<div class="h-full w-full flex justify-center items-center">
# Annexes
</div>
`,title:"Annexes",level:1,content:`<div class="h-full w-full flex justify-center items-center">
# Annexes
</div>`,frontmatter:{},index:23,start:597,end:604,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:23,no:24},__clicksElements:[],__preloaded:!1}},{path:"25",name:"page-25",component:AO,meta:{slide:{raw:`
## GraphVAE
<div class="flex items-center w-full bg-black">
<img src="/assets/graphvae_surface.gif" class="m-auto w-full">
<img src="/assets/graphvae_points.gif" class="m-auto w-full">
</div>
`,title:"GraphVAE",level:2,content:`## GraphVAE
<div class="flex items-center w-full bg-black">
<img src="/assets/graphvae_surface.gif" class="m-auto w-full">
<img src="/assets/graphvae_points.gif" class="m-auto w-full">
</div>`,frontmatter:{},index:24,start:605,end:613,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:24,no:25},__clicksElements:[],__preloaded:!1}},{path:"26",name:"page-26",component:LO,meta:{slide:{raw:`
## PVD
<div class="flex items-center w-full bg-black">
<img src="/assets/pvd_points.gif" class="m-auto h-100">
</div>
<!--
bon résultats, mais y'a des points au milieu de l'aube, donc c'est chiant pour reconstruction surface. En plus on peut moins facilement appliquer ce qu'on a fait avec les GPs ici.
-->
`,title:"PVD",level:2,content:`## PVD
<div class="flex items-center w-full bg-black">
<img src="/assets/pvd_points.gif" class="m-auto h-100">
</div>`,frontmatter:{},note:"bon résultats, mais y'a des points au milieu de l'aube, donc c'est chiant pour reconstruction surface. En plus on peut moins facilement appliquer ce qu'on a fait avec les GPs ici.",index:25,start:614,end:625,noteHTML:`<p>bon résultats, mais y'a des points au milieu de l'aube, donc c'est chiant pour reconstruction surface. En plus on peut moins facilement appliquer ce qu'on a fait avec les GPs ici.</p>
`,filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:25,no:26},__clicksElements:[],__preloaded:!1}},{path:"27",name:"page-27",component:FO,meta:{slide:{raw:`
<iframe scrolling="yes" src="https://distill.pub/2017/feature-visualization/" class="h-full w-full">
</iframe>
`,content:`<iframe scrolling="yes" src="https://distill.pub/2017/feature-visualization/" class="h-full w-full">
</iframe>`,frontmatter:{},index:26,start:626,end:630,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:26,no:27},__clicksElements:[],__preloaded:!1}},{path:"28",name:"page-28",component:zO,meta:{slide:{raw:`
<style scoped>
p {
height: 100%;
}
</style>
<embed
src="/projet-fin-etude/rapport.pdf"
type="application/pdf"
width="100%"
height="100%"
/>
<a href="/projet-fin-etude/rapport.pdf" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Link to PDF</a>
`,content:`<style scoped>
p {
height: 100%;
}
</style>
<embed
src="/projet-fin-etude/rapport.pdf"
type="application/pdf"
width="100%"
height="100%"
/>
<a href="/projet-fin-etude/rapport.pdf" class="absolute bottom-0 font-extralight mb-1 mr-2 right-0 text-xs">Link to PDF</a>`,frontmatter:{},index:27,start:631,end:647,noteHTML:"",filepath:"/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/slides.md",id:27,no:28},__clicksElements:[],__preloaded:!1}}],UO=[],Ke=BO,ir=[{name:"play",path:"/",component:cS,children:[...Ke,...UO]},{name:"print",path:"/print",component:j$},{path:"",redirect:{path:"/1"}},{path:"/:pathMatch(.*)",redirect:{path:"/1"}}];{let e=function(t){if(!rr.remote||rr.remote===t.query.password)return!0;if(rr.remote&&t.query.password===void 0){const n=prompt("Enter password");if(rr.remote===n)return!0}return t.params.no?{path:`/${t.params.no}`}:{path:""}};ir.push({path:"/presenter/print",component:()=>On(()=>import("./PresenterPrint-d4a99c25.js"),["assets/PresenterPrint-d4a99c25.js","assets/NoteDisplay-b086c452.js"])}),ir.push({name:"notes",path:"/notes",component:()=>On(()=>import("./NotesView-042339bf.js"),["assets/NotesView-042339bf.js","assets/NoteDisplay-b086c452.js"]),beforeEnter:e}),ir.push({name:"presenter",path:"/presenter/:no",component:()=>On(()=>import("./Presenter-6eca4fd0.js"),["assets/Presenter-6eca4fd0.js","assets/NoteDisplay-b086c452.js","assets/DrawingControls-b71ecd01.js","assets/Presenter-aa6741a8.css"]),beforeEnter:e}),ir.push({path:"/presenter",redirect:{path:"/presenter/1"}})}const gt=u1({history:cb("/projet-fin-etude/"),routes:ir});function KO(e,t,{mode:n="replace"}={}){return T({get(){const s=gt.currentRoute.value.query[e];return s==null?t??null:Array.isArray(s)?s.filter(Boolean):s},set(s){et(()=>{gt[C(n)]({query:{...gt.currentRoute.value.query,[e]:s}})})}})}const Qp=z(0);et(()=>{gt.afterEach(async()=>{await et(),Qp.value+=1})});const em=z(0),It=T(()=>gt.currentRoute.value),Is=T(()=>It.value.query.print!==void 0),WO=T(()=>It.value.query.print==="clicks"),on=T(()=>It.value.query.embedded!==void 0),mt=T(()=>It.value.path.startsWith("/presenter")),GO=T(()=>It.value.path.startsWith("/notes")),fr=T(()=>Is.value&&!WO.value),Ma=T(()=>It.value.query.password),YO=T(()=>!mt.value&&(!Ce.remote||Ma.value===Ce.remote)),qu=KO("clicks","0"),ZO=T(()=>Ke.length),JO=T(()=>It.value.path),ze=T(()=>Number.parseInt(JO.value.split(/\//g).slice(-1)[0])||1);T(()=>lo(ze.value));const lt=T(()=>Ke.find(e=>e.path===`${ze.value}`));T(()=>{var e,t,n;return(n=(t=(e=lt.value)==null?void 0:e.meta)==null?void 0:t.slide)==null?void 0:n.id});T(()=>{var e,t;return((t=(e=lt.value)==null?void 0:e.meta)==null?void 0:t.layout)||(ze.value===1?"cover":"default")});const No=T(()=>Ke.find(e=>e.path===`${Math.min(Ke.length,ze.value+1)}`)),XO=T(()=>Ke.find(e=>e.path===`${Math.max(1,ze.value-1)}`)),QO=T(()=>{var e,t;return Qp.value,((t=(e=lt.value)==null?void 0:e.meta)==null?void 0:t.__clicksElements)||[]}),At=T({get(){if(fr.value)return 99999;let e=+(qu.value||0);return Number.isNaN(e)&&(e=0),e},set(e){qu.value=e.toString()}}),qi=T(()=>{var e,t;return+(((t=(e=lt.value)==null?void 0:e.meta)==null?void 0:t.clicks)??QO.value.length)}),ek=T(()=>ze.value<Ke.length||At.value<qi.value),tk=T(()=>ze.value>1||At.value>0),nk=T(()=>Ke.filter(e=>{var t,n;return(n=(t=e.meta)==null?void 0:t.slide)==null?void 0:n.title}).reduce((e,t)=>(Cl(e,t),e),[])),sk=T(()=>Ol(nk.value,lt.value));T(()=>kl(sk.value));const rk=T(()=>ck(em.value,lt.value,XO.value));pe(lt,(e,t)=>{em.value=Number(e==null?void 0:e.path)-Number(t==null?void 0:t.path)});function An(){qi.value<=At.value?kr():At.value+=1}async function Mn(){At.value<=0?await Tr():At.value-=1}function lo(e){return mt.value?`/presenter/${e}`:`/${e}`}function kr(){const e=Math.min(Ke.length,ze.value+1);return Ns(e)}async function Tr(e=!0){const t=Math.max(1,ze.value-1);await Ns(t),e&&qi.value&&gt.replace({query:{...It.value.query,clicks:qi.value}})}function Ns(e,t){return gt.push({path:lo(e),query:{...It.value.query,clicks:t}})}function ik(e){const t=z(0),{direction:n,distanceX:s,distanceY:r}=My(e,{onSwipeStart(i){i.pointerType==="touch"&&(Pr.value||(t.value=da()))},onSwipeEnd(i){if(i.pointerType!=="touch"||!t.value||Pr.value)return;const a=Math.abs(s.value),l=Math.abs(r.value);a/window.innerWidth>.3||a>100?n.value==="left"?An():Mn():(l/window.innerHeight>.4||l>200)&&(n.value==="down"?Tr():kr())}})}async function Ia(){const{saveAs:e}=await On(()=>import("./FileSaver.min-23a5d44b.js").then(t=>t.F),[]);e(typeof Ce.download=="string"?Ce.download:Ce.exportFilename?`${Ce.exportFilename}.pdf`:"/projet-fin-etude/slidev-exported.pdf",`${Ce.title}.pdf`)}async function ok(e){var t,n;if(e==null){const s=(n=(t=lt.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 Cl(e,t,n=1){var r,i,a,l,c;const s=(i=(r=t.meta)==null?void 0:r.slide)==null?void 0:i.level;s&&s>n&&e.length>0?Cl(e[e.length-1].children,t,n+1):e.push({children:[],level:n,path:t.path,hideInToc:!!((a=t.meta)!=null&&a.hideInToc),title:(c=(l=t.meta)==null?void 0:l.slide)==null?void 0:c.title})}function Ol(e,t,n=!1,s){return e.map(r=>{const i={...r,active:r.path===(t==null?void 0:t.path),hasActiveParent:n};return i.children.length>0&&(i.children=Ol(i.children,t,i.active||i.hasActiveParent,i)),s&&(i.active||i.activeParent)&&(s.activeParent=!0),i})}function kl(e,t=1){return e.filter(n=>!n.hideInToc).map(n=>({...n,children:kl(n.children,t+1)}))}const ak={"slide-left":"slide-left | slide-right","slide-right":"slide-right | slide-left","slide-up":"slide-up | slide-down","slide-down":"slide-down | slide-up"};function lk(e,t=!1){if(!e||(typeof e=="string"&&(e={name:e}),!e.name))return;let n=e.name.includes("|")?e.name:ak[e.name]||e.name;if(n.includes("|")){const[s,r]=n.split("|").map(i=>i.trim());n=t?r:s}if(n)return{...e,name:n}}function ck(e,t,n){var r,i;let s=e>0?(r=n==null?void 0:n.meta)==null?void 0:r.transition:(i=t==null?void 0:t.meta)==null?void 0:i.transition;return s||(s=Ce.transition),lk(s,e<0)}function uk(){const e=Ce.titleTemplate.replace("%s",Ce.title||"Slidev");Bd({title:e,htmlAttrs:Ce.htmlAttrs}),u_(`${e} - shared`),m_(`${e} - drawings`);const t=`${location.origin}_${i_()}`;function n(){GO.value||!mt.value&&!r_.includes(location.host.split(":")[0])||(mt.value?(Ks("page",+ze.value),Ks("clicks",At.value)):(Ks("viewerPage",+ze.value),Ks("viewerClicks",At.value)),Ks("lastUpdate",{id:t,type:mt.value?"presenter":"viewer",time:new Date().getTime()}))}gt.afterEach(n),pe(At,n),f_(s=>{var i;gt.currentRoute.value.path.match(/^\/(\d+|presenter)\/?/)&&((i=s.lastUpdate)==null?void 0:i.type)==="presenter"&&(+s.page!=+ze.value||+At.value!=+s.clicks)&&gt.replace({path:lo(s.page),query:{...gt.currentRoute.value.query,clicks:s.clicks||0}})})}const fk=Pe({__name:"App",setup(e){return Z(ee),uk(),(t,n)=>{const s=Oi("RouterView"),r=Oi("StarportCarrier");return E(),N($e,null,[ne(s),ne(r)],64)}}}),dk=te(fk,[["__file","/home/laurent/Documents/Cours/ENSEEIHT/PFE/etude-biblio/slides/node_modules/@slidev/client/App.vue"]]);function Ro(e){return e!==null&&typeof e=="object"}function Na(e,t,n=".",s){if(!Ro(t))return Na(e,{},n,s);const r=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const a=e[i];a!=null&&(s&&s(r,i,a,n)||(Array.isArray(a)&&Array.isArray(r[i])?r[i]=[...a,...r[i]]:Ro(a)&&Ro(r[i])?r[i]=Na(a,r[i],(n?`${n}.`:"")+i.toString(),s):r[i]=a))}return r}function pk(e){return(...t)=>t.reduce((n,s)=>Na(n,s,"",e),{})}const mk=pk(),tm=1/60*1e3,hk=typeof performance<"u"?()=>performance.now():()=>Date.now(),nm=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(hk()),tm);function gk(e){let t=[],n=[],s=0,r=!1,i=!1;const a=new WeakSet,l={schedule:(c,u=!1,f=!1)=>{const d=f&&r,p=d?t:n;return u&&a.add(c),p.indexOf(c)===-1&&(p.push(c),d&&r&&(s=t.length)),c},cancel:c=>{const u=n.indexOf(c);u!==-1&&n.splice(u,1),a.delete(c)},process:c=>{if(r){i=!0;return}if(r=!0,[t,n]=[n,t],n.length=0,s=t.length,s)for(let u=0;u<s;u++){const f=t[u];f(c),a.has(f)&&(l.schedule(f),e())}r=!1,i&&(i=!1,l.process(c))}};return l}const vk=40;let Ra=!0,Ar=!1,La=!1;const Ts={delta:0,timestamp:0},Fr=["read","update","preRender","render","postRender"],co=Fr.reduce((e,t)=>(e[t]=gk(()=>Ar=!0),e),{}),ja=Fr.reduce((e,t)=>{const n=co[t];return e[t]=(s,r=!1,i=!1)=>(Ar||bk(),n.schedule(s,r,i)),e},{}),_k=Fr.reduce((e,t)=>(e[t]=co[t].cancel,e),{});Fr.reduce((e,t)=>(e[t]=()=>co[t].process(Ts),e),{});const yk=e=>co[e].process(Ts),sm=e=>{Ar=!1,Ts.delta=Ra?tm:Math.max(Math.min(e-Ts.timestamp,vk),1),Ts.timestamp=e,La=!0,Fr.forEach(yk),La=!1,Ar&&(Ra=!1,nm(sm))},bk=()=>{Ar=!0,Ra=!0,La||nm(sm)},rm=()=>Ts;function im(e,t){var n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,s=Object.getOwnPropertySymbols(e);r<s.length;r++)t.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(e,s[r])&&(n[s[r]]=e[s[r]]);return n}var Tl=function(){},Mr=function(){};Tl=function(e,t){!e&&typeof console<"u"&&console.warn(t)},Mr=function(e,t){if(!e)throw new Error(t)};const Da=(e,t,n)=>Math.min(Math.max(n,e),t),Lo=.001,wk=.01,Vu=10,xk=.05,Ek=1;function Sk({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,i;Tl(e<=Vu*1e3,"Spring duration must be 10 seconds or less");let a=1-t;a=Da(xk,Ek,a),e=Da(wk,Vu,e/1e3),a<1?(r=u=>{const f=u*a,d=f*e,p=f-n,m=Fa(u,a),g=Math.exp(-d);return Lo-p/m*g},i=u=>{const d=u*a*e,p=d*n+n,m=Math.pow(a,2)*Math.pow(u,2)*e,g=Math.exp(-d),b=Fa(Math.pow(u,2),a);return(-r(u)+Lo>0?-1:1)*((p-m)*g)/b}):(r=u=>{const f=Math.exp(-u*e),d=(u-n)*e+1;return-Lo+f*d},i=u=>{const f=Math.exp(-u*e),d=(n-u)*(e*e);return f*d});const l=5/e,c=Pk(r,i,l);if(e=e*1e3,isNaN(c))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(c,2)*s;return{stiffness:u,damping:a*2*Math.sqrt(s*u),duration:e}}}const $k=12;function Pk(e,t,n){let s=n;for(let r=1;r<$k;r++)s=s-e(s)/t(s);return s}function Fa(e,t){return e*Math.sqrt(1-t*t)}const Ck=["duration","bounce"],Ok=["stiffness","damping","mass"];function zu(e,t){return t.some(n=>e[n]!==void 0)}function kk(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!zu(e,Ok)&&zu(e,Ck)){const n=Sk(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Al(e){var{from:t=0,to:n=1,restSpeed:s=2,restDelta:r}=e,i=im(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:c,mass:u,velocity:f,duration:d,isResolvedFromDuration:p}=kk(i),m=Bu,g=Bu;function b(){const w=f?-(f/1e3):0,y=n-t,x=c/(2*Math.sqrt(l*u)),_=Math.sqrt(l/u)/1e3;if(r===void 0&&(r=Math.min(Math.abs(n-t)/100,.4)),x<1){const P=Fa(_,x);m=$=>{const k=Math.exp(-x*_*$);return n-k*((w+x*_*y)/P*Math.sin(P*$)+y*Math.cos(P*$))},g=$=>{const k=Math.exp(-x*_*$);return x*_*k*(Math.sin(P*$)*(w+x*_*y)/P+y*Math.cos(P*$))-k*(Math.cos(P*$)*(w+x*_*y)-P*y*Math.sin(P*$))}}else if(x===1)m=P=>n-Math.exp(-_*P)*(y+(w+_*y)*P);else{const P=_*Math.sqrt(x*x-1);m=$=>{const k=Math.exp(-x*_*$),j=Math.min(P*$,300);return n-k*((w+x*_*y)*Math.sinh(j)+P*y*Math.cosh(j))/P}}}return b(),{next:w=>{const y=m(w);if(p)a.done=w>=d;else{const x=g(w)*1e3,_=Math.abs(x)<=s,P=Math.abs(n-y)<=r;a.done=_&&P}return a.value=a.done?n:y,a},flipTarget:()=>{f=-f,[t,n]=[n,t],b()}}}Al.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Bu=e=>0,om=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Ml=(e,t,n)=>-n*e+n*t+e,am=(e,t)=>n=>Math.max(Math.min(n,t),e),dr=e=>e%1?Number(e.toFixed(5)):e,Ir=/(-)?([\d]*\.?[\d])+/g,Ha=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Tk=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Hr(e){return typeof e=="string"}const qr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},pr=Object.assign(Object.assign({},qr),{transform:am(0,1)}),si=Object.assign(Object.assign({},qr),{default:1}),Il=e=>({test:t=>Hr(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bn=Il("deg"),mr=Il("%"),he=Il("px"),Uu=Object.assign(Object.assign({},mr),{parse:e=>mr.parse(e)/100,transform:e=>mr.transform(e*100)}),Nl=(e,t)=>n=>!!(Hr(n)&&Tk.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),lm=(e,t,n)=>s=>{if(!Hr(s))return s;const[r,i,a,l]=s.match(Ir);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},ts={test:Nl("hsl","hue"),parse:lm("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+mr.transform(dr(t))+", "+mr.transform(dr(n))+", "+dr(pr.transform(s))+")"},Ak=am(0,255),jo=Object.assign(Object.assign({},qr),{transform:e=>Math.round(Ak(e))}),En={test:Nl("rgb","red"),parse:lm("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+jo.transform(e)+", "+jo.transform(t)+", "+jo.transform(n)+", "+dr(pr.transform(s))+")"};function Mk(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 qa={test:Nl("#"),parse:Mk,transform:En.transform},pt={test:e=>En.test(e)||qa.test(e)||ts.test(e),parse:e=>En.test(e)?En.parse(e):ts.test(e)?ts.parse(e):qa.parse(e),transform:e=>Hr(e)?e:e.hasOwnProperty("red")?En.transform(e):ts.transform(e)},cm="${c}",um="${n}";function Ik(e){var t,n,s,r;return isNaN(e)&&Hr(e)&&((n=(t=e.match(Ir))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((r=(s=e.match(Ha))===null||s===void 0?void 0:s.length)!==null&&r!==void 0?r:0)>0}function fm(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const s=e.match(Ha);s&&(n=s.length,e=e.replace(Ha,cm),t.push(...s.map(pt.parse)));const r=e.match(Ir);return r&&(e=e.replace(Ir,um),t.push(...r.map(qr.parse))),{values:t,numColors:n,tokenised:e}}function dm(e){return fm(e).values}function pm(e){const{values:t,numColors:n,tokenised:s}=fm(e),r=t.length;return i=>{let a=s;for(let l=0;l<r;l++)a=a.replace(l<n?cm:um,l<n?pt.transform(i[l]):dr(i[l]));return a}}const Nk=e=>typeof e=="number"?0:e;function Rk(e){const t=dm(e);return pm(e)(t.map(Nk))}const Vr={test:Ik,parse:dm,createTransformer:pm,getAnimatableNone:Rk},Lk=new Set(["brightness","contrast","saturate","opacity"]);function jk(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Ir)||[];if(!s)return e;const r=n.replace(s,"");let i=Lk.has(t)?1:0;return s!==n&&(i*=100),t+"("+i+r+")"}const Dk=/([a-z-]*)\(.*?\)/g,Va=Object.assign(Object.assign({},Vr),{getAnimatableNone:e=>{const t=e.match(Dk);return t?t.map(jk).join(" "):e}});function Do(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 Ku({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let r=0,i=0,a=0;if(!t)r=i=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;r=Do(c,l,e+1/3),i=Do(c,l,e),a=Do(c,l,e-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:s}}const Fk=(e,t,n)=>{const s=e*e,r=t*t;return Math.sqrt(Math.max(0,n*(r-s)+s))},Hk=[qa,En,ts],Wu=e=>Hk.find(t=>t.test(e)),Gu=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,mm=(e,t)=>{let n=Wu(e),s=Wu(t);Mr(!!n,Gu(e)),Mr(!!s,Gu(t));let r=n.parse(e),i=s.parse(t);n===ts&&(r=Ku(r),n=En),s===ts&&(i=Ku(i),s=En);const a=Object.assign({},r);return l=>{for(const c in a)c!=="alpha"&&(a[c]=Fk(r[c],i[c],l));return a.alpha=Ml(r.alpha,i.alpha,l),n.transform(a)}},qk=e=>typeof e=="number",Vk=(e,t)=>n=>t(e(n)),hm=(...e)=>e.reduce(Vk);function gm(e,t){return qk(e)?n=>Ml(e,t,n):pt.test(e)?mm(e,t):_m(e,t)}const vm=(e,t)=>{const n=[...e],s=n.length,r=e.map((i,a)=>gm(i,t[a]));return i=>{for(let a=0;a<s;a++)n[a]=r[a](i);return n}},zk=(e,t)=>{const n=Object.assign(Object.assign({},e),t),s={};for(const r in n)e[r]!==void 0&&t[r]!==void 0&&(s[r]=gm(e[r],t[r]));return r=>{for(const i in s)n[i]=s[i](r);return n}};function Yu(e){const t=Vr.parse(e),n=t.length;let s=0,r=0,i=0;for(let a=0;a<n;a++)s||typeof t[a]=="number"?s++:t[a].hue!==void 0?i++:r++;return{parsed:t,numNumbers:s,numRGB:r,numHSL:i}}const _m=(e,t)=>{const n=Vr.createTransformer(t),s=Yu(e),r=Yu(t);return s.numHSL===r.numHSL&&s.numRGB===r.numRGB&&s.numNumbers>=r.numNumbers?hm(vm(s.parsed,r.parsed),n):(Tl(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),a=>`${a>0?t:e}`)},Bk=(e,t)=>n=>Ml(e,t,n);function Uk(e){if(typeof e=="number")return Bk;if(typeof e=="string")return pt.test(e)?mm:_m;if(Array.isArray(e))return vm;if(typeof e=="object")return zk}function Kk(e,t,n){const s=[],r=n||Uk(e[0]),i=e.length-1;for(let a=0;a<i;a++){let l=r(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]:t;l=hm(c,l)}s.push(l)}return s}function Wk([e,t],[n]){return s=>n(om(e,t,s))}function Gk(e,t){const n=e.length,s=n-1;return r=>{let i=0,a=!1;if(r<=e[0]?a=!0:r>=e[s]&&(i=s-1,a=!0),!a){let c=1;for(;c<n&&!(e[c]>r||c===s);c++);i=c-1}const l=om(e[i],e[i+1],r);return t[i](l)}}function ym(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const i=e.length;Mr(i===t.length,"Both input and output ranges must be the same length"),Mr(!s||!Array.isArray(s)||s.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=Kk(t,s,r),l=i===2?Wk(e,a):Gk(e,a);return n?c=>l(Da(e[0],e[i-1],c)):l}const uo=e=>t=>1-e(1-t),Rl=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yk=e=>t=>Math.pow(t,e),bm=e=>t=>t*t*((e+1)*t-e),Zk=e=>{const t=bm(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},wm=1.525,Jk=4/11,Xk=8/11,Qk=9/10,xm=e=>e,Ll=Yk(2),e3=uo(Ll),Em=Rl(Ll),Sm=e=>1-Math.sin(Math.acos(e)),$m=uo(Sm),t3=Rl($m),jl=bm(wm),n3=uo(jl),s3=Rl(jl),r3=Zk(wm),i3=4356/361,o3=35442/1805,a3=16061/1805,Vi=e=>{if(e===1||e===0)return e;const t=e*e;return e<Jk?7.5625*t:e<Xk?9.075*t-9.9*e+3.4:e<Qk?i3*t-o3*e+a3:10.8*e*e-20.52*e+10.72},l3=uo(Vi),c3=e=>e<.5?.5*(1-Vi(1-e*2)):.5*Vi(e*2-1)+.5;function u3(e,t){return e.map(()=>t||Em).splice(0,e.length-1)}function f3(e){const t=e.length;return e.map((n,s)=>s!==0?s/(t-1):0)}function d3(e,t){return e.map(n=>n*t)}function gi({from:e=0,to:t=1,ease:n,offset:s,duration:r=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=d3(s&&s.length===a.length?s:f3(a),r);function c(){return ym(l,a,{ease:Array.isArray(n)?n:u3(a,n)})}let u=c();return{next:f=>(i.value=u(f),i.done=f>=r,i),flipTarget:()=>{a.reverse(),u=c()}}}function p3({velocity:e=0,from:t=0,power:n=.8,timeConstant:s=350,restDelta:r=.5,modifyTarget:i}){const a={done:!1,value:t};let l=n*e;const c=t+l,u=i===void 0?c:i(c);return u!==c&&(l=u-t),{next:f=>{const d=-l*Math.exp(-f/s);return a.done=!(d>r||d<-r),a.value=a.done?u:u+d,a},flipTarget:()=>{}}}const Zu={keyframes:gi,spring:Al,decay:p3};function m3(e){if(Array.isArray(e.to))return gi;if(Zu[e.type])return Zu[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?gi:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Al:gi}function Pm(e,t,n=0){return e-t-n}function h3(e,t,n=0,s=!0){return s?Pm(t+-e,t,n):t-(e-t)+n}function g3(e,t,n,s){return s?e>=t+n:e<=-n}const v3=e=>{const t=({delta:n})=>e(n);return{start:()=>ja.update(t,!0),stop:()=>_k.update(t)}};function Cm(e){var t,n,{from:s,autoplay:r=!0,driver:i=v3,elapsed:a=0,repeat:l=0,repeatType:c="loop",repeatDelay:u=0,onPlay:f,onStop:d,onComplete:p,onRepeat:m,onUpdate:g}=e,b=im(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:w}=b,y,x=0,_=b.duration,P,$=!1,k=!0,j;const A=m3(b);!((n=(t=A).needsInterpolation)===null||n===void 0)&&n.call(t,s,w)&&(j=ym([0,100],[s,w],{clamp:!1}),s=0,w=100);const F=A(Object.assign(Object.assign({},b),{from:s,to:w}));function Y(){x++,c==="reverse"?(k=x%2===0,a=h3(a,_,u,k)):(a=Pm(a,_,u),c==="mirror"&&F.flipTarget()),$=!1,m&&m()}function oe(){y.stop(),p&&p()}function V(me){if(k||(me=-me),a+=me,!$){const ge=F.next(Math.max(0,a));P=ge.value,j&&(P=j(P)),$=k?ge.done:a<=0}g==null||g(P),$&&(x===0&&(_??(_=a)),x<l?g3(a,_,u,k)&&Y():oe())}function fe(){f==null||f(),y=i(V),y.start()}return r&&fe(),{stop:()=>{d==null||d(),y.stop()}}}function Om(e,t){return t?e*(1e3/t):0}function _3({from:e=0,velocity:t=0,min:n,max:s,power:r=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:c=1,modifyTarget:u,driver:f,onUpdate:d,onComplete:p,onStop:m}){let g;function b(_){return n!==void 0&&_<n||s!==void 0&&_>s}function w(_){return n===void 0?s:s===void 0||Math.abs(n-_)<Math.abs(s-_)?n:s}function y(_){g==null||g.stop(),g=Cm(Object.assign(Object.assign({},_),{driver:f,onUpdate:P=>{var $;d==null||d(P),($=_.onUpdate)===null||$===void 0||$.call(_,P)},onComplete:p,onStop:m}))}function x(_){y(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:c},_))}if(b(e))x({from:e,velocity:t,to:w(e)});else{let _=r*t+e;typeof u<"u"&&(_=u(_));const P=w(_),$=P===n?-1:1;let k,j;const A=F=>{k=j,j=F,t=Om(F-k,rm().delta),($===1&&F>P||$===-1&&F<P)&&x({from:F,to:P,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:i,power:r,restDelta:c,modifyTarget:u,onUpdate:b(_)?A:void 0})}return{stop:()=>g==null?void 0:g.stop()}}const km=(e,t)=>1-3*t+3*e,Tm=(e,t)=>3*t-6*e,Am=e=>3*e,zi=(e,t,n)=>((km(t,n)*e+Tm(t,n))*e+Am(t))*e,Mm=(e,t,n)=>3*km(t,n)*e*e+2*Tm(t,n)*e+Am(t),y3=1e-7,b3=10;function w3(e,t,n,s,r){let i,a,l=0;do a=t+(n-t)/2,i=zi(a,s,r)-e,i>0?n=a:t=a;while(Math.abs(i)>y3&&++l<b3);return a}const x3=8,E3=.001;function S3(e,t,n,s){for(let r=0;r<x3;++r){const i=Mm(t,n,s);if(i===0)return t;const a=zi(t,n,s)-e;t-=a/i}return t}const vi=11,ri=1/(vi-1);function $3(e,t,n,s){if(e===t&&n===s)return xm;const r=new Float32Array(vi);for(let a=0;a<vi;++a)r[a]=zi(a*ri,e,n);function i(a){let l=0,c=1;const u=vi-1;for(;c!==u&&r[c]<=a;++c)l+=ri;--c;const f=(a-r[c])/(r[c+1]-r[c]),d=l+f*ri,p=Mm(d,e,n);return p>=E3?S3(a,d,e,n):p===0?d:w3(a,l,l+ri,e,n)}return a=>a===0||a===1?a:zi(i(a),t,s)}const Fo={};class P3{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()}}function Ju(e){return!isNaN(parseFloat(e))}class C3{constructor(t){this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new P3,this.canTrackVelocity=!1,this.updateAndNotify=n=>{this.prev=this.current,this.current=n;const{delta:s,timestamp:r}=rm();this.lastUpdated!==r&&(this.timeDelta=s,this.lastUpdated=r),ja.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)},this.scheduleVelocityCheck=()=>ja.postRender(this.velocityCheck),this.velocityCheck=({timestamp:n})=>{this.canTrackVelocity||(this.canTrackVelocity=Ju(this.current)),n!==this.lastUpdated&&(this.prev=this.current)},this.prev=this.current=t,this.canTrackVelocity=Ju(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?Om(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 O3(e){return new C3(e)}const{isArray:k3}=Array;function T3(){const e=z({}),t=s=>{const r=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};s?k3(s)?s.forEach(r):r(s):Object.keys(e.value).forEach(r)},n=(s,r,i)=>{if(e.value[s])return e.value[s];const a=O3(r);return a.onChange(l=>i[s]=l),e.value[s]=a,a};return j_(t),{motionValues:e,get:n,stop:t}}function A3(e){return Array.isArray(e)}function Un(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Ho(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function M3(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function qo(){return{type:"keyframes",ease:"linear",duration:300}}function I3(e){return{type:"keyframes",duration:800,values:e}}const Xu={default:M3,x:Un,y:Un,z:Un,rotate:Un,rotateX:Un,rotateY:Un,rotateZ:Un,scaleX:Ho,scaleY:Ho,scale:Ho,backgroundColor:qo,color:qo,opacity:qo};function Im(e,t){let n;return A3(t)?n=I3:n=Xu[e]||Xu.default,{to:t,...n(t)}}const Qu={...qr,transform:Math.round},Nm={color:pt,backgroundColor:pt,outlineColor:pt,fill:pt,stroke:pt,borderColor:pt,borderTopColor:pt,borderRightColor:pt,borderBottomColor:pt,borderLeftColor:pt,borderWidth:he,borderTopWidth:he,borderRightWidth:he,borderBottomWidth:he,borderLeftWidth:he,borderRadius:he,radius:he,borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomRightRadius:he,borderBottomLeftRadius:he,width:he,maxWidth:he,height:he,maxHeight:he,size:he,top:he,right:he,bottom:he,left:he,padding:he,paddingTop:he,paddingRight:he,paddingBottom:he,paddingLeft:he,margin:he,marginTop:he,marginRight:he,marginBottom:he,marginLeft:he,rotate:Bn,rotateX:Bn,rotateY:Bn,rotateZ:Bn,scale:si,scaleX:si,scaleY:si,scaleZ:si,skew:Bn,skewX:Bn,skewY:Bn,distance:he,translateX:he,translateY:he,translateZ:he,x:he,y:he,z:he,perspective:he,transformPerspective:he,opacity:pr,originX:Uu,originY:Uu,originZ:he,zIndex:Qu,filter:Va,WebkitFilter:Va,fillOpacity:pr,strokeOpacity:pr,numOctaves:Qu},Dl=e=>Nm[e];function Rm(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function N3(e,t){let n=Dl(e);return n!==Va&&(n=Vr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const R3={linear:xm,easeIn:Ll,easeInOut:Em,easeOut:e3,circIn:Sm,circInOut:t3,circOut:$m,backIn:jl,backInOut:s3,backOut:n3,anticipate:r3,bounceIn:l3,bounceInOut:c3,bounceOut:Vi};function ef(e){if(Array.isArray(e)){const[t,n,s,r]=e;return $3(t,n,s,r)}else if(typeof e=="string")return R3[e];return e}function L3(e){return Array.isArray(e)&&typeof e[0]!="number"}function tf(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Vr.test(t)&&!t.startsWith("url("))}function j3(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function D3({ease:e,times:t,delay:n,...s}){const r={...s};return t&&(r.offset=t),e&&(r.ease=L3(e)?e.map(ef):ef(e)),n&&(r.elapsed=-n),r}function F3(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),j3(t),H3(e)||(e={...e,...Im(n,t.to)}),{...t,...D3(e)}}function H3({delay:e,repeat:t,repeatType:n,repeatDelay:s,from:r,...i}){return!!Object.keys(i).length}function q3(e,t){return e[t]||e.default||e}function V3(e,t,n,s,r){const i=q3(s,e);let a=i.from===null||i.from===void 0?t.get():i.from;const l=tf(e,n);a==="none"&&l&&typeof n=="string"&&(a=N3(e,n));const c=tf(e,a);function u(d){const p={from:a,to:n,velocity:s.velocity?s.velocity:t.getVelocity(),onUpdate:m=>t.set(m)};return i.type==="inertia"||i.type==="decay"?_3({...p,...i}):Cm({...F3(i,p,e),onUpdate:m=>{p.onUpdate(m),i.onUpdate&&i.onUpdate(m)},onComplete:()=>{s.onComplete&&s.onComplete(),r&&r(),d&&d()}})}function f(d){return t.set(n),s.onComplete&&s.onComplete(),r&&r(),d&&d(),{stop:()=>{}}}return!c||!l||i.type===!1?f:u}function z3(){const{motionValues:e,stop:t,get:n}=T3();return{motionValues:e,stop:t,push:(r,i,a,l={},c)=>{const u=a[r],f=n(r,u,a);if(l&&l.immediate){f.set(i);return}const d=V3(r,f,i,l,c);f.start(d)}}}function B3(e,t={},{motionValues:n,push:s,stop:r}=z3()){const i=C(t),a=z(!1);pe(n,d=>{a.value=Object.values(d).filter(p=>p.isAnimating()).length>0},{immediate:!0,deep:!0});const l=d=>{if(!i||!i[d])throw new Error(`The variant ${d} does not exist.`);return i[d]},c=d=>(typeof d=="string"&&(d=l(d)),Promise.all(Object.entries(d).map(([p,m])=>{if(p!=="transition")return new Promise(g=>s(p,m,e,d.transition||Im(p,d[p]),g))}).filter(Boolean)));return{isAnimating:a,apply:c,set:d=>{const p=fa(d)?d:l(d);Object.entries(p).forEach(([m,g])=>{m!=="transition"&&s(m,g,e,{immediate:!0})})},leave:async d=>{let p;if(i&&(i.leave&&(p=i.leave),!i.leave&&i.initial&&(p=i.initial)),!p){d();return}await c(p),d()},stop:r}}const Fl=typeof window<"u",U3=()=>Fl&&window.onpointerdown===null,K3=()=>Fl&&window.ontouchstart===null,W3=()=>Fl&&window.onmousedown===null;function G3({target:e,state:t,variants:n,apply:s}){const r=C(n),i=z(!1),a=z(!1),l=z(!1),c=T(()=>{let f=[];return r&&(r.hovered&&(f=[...f,...Object.keys(r.hovered)]),r.tapped&&(f=[...f,...Object.keys(r.tapped)]),r.focused&&(f=[...f,...Object.keys(r.focused)])),f}),u=T(()=>{const f={};Object.assign(f,t.value),i.value&&r.hovered&&Object.assign(f,r.hovered),a.value&&r.tapped&&Object.assign(f,r.tapped),l.value&&r.focused&&Object.assign(f,r.focused);for(const d in f)c.value.includes(d)||delete f[d];return f});r.hovered&&(we(e,"mouseenter",()=>i.value=!0),we(e,"mouseleave",()=>{i.value=!1,a.value=!1}),we(e,"mouseout",()=>{i.value=!1,a.value=!1})),r.tapped&&(W3()&&(we(e,"mousedown",()=>a.value=!0),we(e,"mouseup",()=>a.value=!1)),U3()&&(we(e,"pointerdown",()=>a.value=!0),we(e,"pointerup",()=>a.value=!1)),K3()&&(we(e,"touchstart",()=>a.value=!0),we(e,"touchend",()=>a.value=!1))),r.focused&&(we(e,"focus",()=>l.value=!0),we(e,"blur",()=>l.value=!1)),pe(u,s)}function Y3({set:e,target:t,variants:n,variant:s}){const r=C(n);pe(()=>t,()=>{r&&(r.initial&&e("initial"),r.enter&&(s.value="enter"))},{immediate:!0,flush:"pre"})}function Z3({state:e,apply:t}){pe(e,n=>{n&&t(n)},{immediate:!0})}function J3({target:e,variants:t,variant:n}){const s=C(t);s&&(s.visible||s.visibleOnce)&&Cy(e,([{isIntersecting:r}])=>{s.visible?r?n.value="visible":n.value="initial":s.visibleOnce&&(r&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function X3(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&Y3(e),t.syncVariants&&Z3(e),t.visibilityHooks&&J3(e),t.eventListeners&&G3(e)}function Lm(e={}){const t=Ve({...e}),n=z({});return pe(t,()=>{const s={};for(const[r,i]of Object.entries(t)){const a=Dl(r),l=Rm(i,a);s[r]=l}n.value=s},{immediate:!0,deep:!0}),{state:t,style:n}}function Hl(e,t){pe(()=>tt(e),n=>{n&&t(n)},{immediate:!0})}const Q3={x:"translateX",y:"translateY",z:"translateZ"};function jm(e={},t=!0){const n=Ve({...e}),s=z("");return pe(n,r=>{let i="",a=!1;if(t&&(r.x||r.y||r.z)){const l=[r.x||0,r.y||0,r.z||0].map(he.transform).join(",");i+=`translate3d(${l}) `,a=!0}for(const[l,c]of Object.entries(r)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const u=Dl(l),f=Rm(c,u);i+=`${Q3[l]||l}(${f}) `}t&&!a&&(i+="translateZ(0px) "),s.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:s}}const eT=["","X","Y","Z"],tT=["perspective","translate","scale","rotate","skew"],Dm=["transformPerspective","x","y","z"];tT.forEach(e=>{eT.forEach(t=>{const n=e+t;Dm.push(n)})});const nT=new Set(Dm);function ql(e){return nT.has(e)}const sT=new Set(["originX","originY","originZ"]);function Fm(e){return sT.has(e)}function rT(e){const t={},n={};return Object.entries(e).forEach(([s,r])=>{ql(s)||Fm(s)?t[s]=r:n[s]=r}),{transform:t,style:n}}function Hm(e){const{transform:t,style:n}=rT(e),{transform:s}=jm(t),{style:r}=Lm(n);return s.value&&(r.value.transform=s.value),r.value}function iT(e,t){let n,s;const{state:r,style:i}=Lm();return Hl(e,a=>{s=a;for(const l of Object.keys(Nm))a.style[l]===null||a.style[l]===""||ql(l)||Fm(l)||(r[l]=a.style[l]);n&&Object.entries(n).forEach(([l,c])=>a.style[l]=c),t&&t(r)}),pe(i,a=>{if(!s){n=a;return}for(const l in a)s.style[l]=a[l]},{immediate:!0}),{style:r}}function oT(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[i,a]=r.split("("),c=a.split(",").map(f=>n(f.endsWith(")")?f.replace(")",""):f.trim())),u=c.length===1?c[0]:c;return{...s,[i]:u}},{})}function aT(e,t){Object.entries(oT(t)).forEach(([n,s])=>{const r=["x","y","z"];if(n==="translate3d"){if(s===0){r.forEach(i=>e[i]=0);return}s.forEach((i,a)=>e[r[a]]=i);return}if(s=parseFloat(s),n==="translateX"){e.x=s;return}if(n==="translateY"){e.y=s;return}if(n==="translateZ"){e.z=s;return}e[n]=s})}function lT(e,t){let n,s;const{state:r,transform:i}=jm();return Hl(e,a=>{s=a,a.style.transform&&aT(r,a.style.transform),n&&(a.style.transform=n),t&&t(r)}),pe(i,a=>{if(!s){n=a;return}s.style.transform=a},{immediate:!0}),{transform:r}}function cT(e,t){const n=Ve({}),s=a=>Object.entries(a).forEach(([l,c])=>n[l]=c),{style:r}=iT(e,s),{transform:i}=lT(e,s);return pe(n,a=>{Object.entries(a).forEach(([l,c])=>{const u=ql(l)?i:r;u[l]&&u[l]===c||(u[l]=c)})},{immediate:!0,deep:!0}),Hl(e,()=>t&&s(t)),{motionProperties:n,style:r,transform:i}}function uT(e={}){const t=C(e),n=z();return{state:T(()=>{if(n.value)return t[n.value]}),variant:n}}function qm(e,t={},n){const{motionProperties:s}=cT(e),{variant:r,state:i}=uT(t),a=B3(s,t),l={target:e,variant:r,variants:t,state:i,motionProperties:s,...a};return X3(l,n),l}const fT=["initial","enter","leave","visible","visible-once","hovered","tapped","focused","delay"];function dT(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};n&&(n.variants&&fa(n.variants)&&(t.value={...t.value,...n.variants}),fT.forEach(s=>{if(s==="delay"){if(n&&n[s]&&typeof n[s]=="number"){const r=n[s];t&&t.value&&(t.value.enter&&(t.value.enter.transition||(t.value.enter.transition={}),t.value.enter.transition={delay:r,...t.value.enter.transition}),t.value.visible&&(t.value.visible.transition||(t.value.visible.transition={}),t.value.visible.transition={delay:r,...t.value.visible.transition}),t.value.visibleOnce&&(t.value.visibleOnce.transition||(t.value.visibleOnce.transition={}),t.value.visibleOnce.transition={delay:r,...t.value.visibleOnce.transition}))}return}s==="visible-once"&&(s="visibleOnce"),n&&n[s]&&fa(n[s])&&(t.value[s]=n[s])}))}function Vo(e){return{created:(n,s,r)=>{const i=s.value&&typeof s.value=="string"?s.value:r.key;i&&Fo[i]&&Fo[i].stop();const a=z(e||{});typeof s.value=="object"&&(a.value=s.value),dT(r,a);const l=qm(n,a);n.motionInstance=l,i&&(Fo[i]=l)},getSSRProps(n,s){let{initial:r}=n.value||s&&(s==null?void 0:s.props)||{};r=C(r);const i=mk((e==null?void 0:e.initial)||{},r||{});return!i||Object.keys(i).length===0?void 0:{style:Hm(i)}}}}const pT={initial:{opacity:0},enter:{opacity:1}},mT={initial:{opacity:0},visible:{opacity:1}},hT={initial:{opacity:0},visibleOnce:{opacity:1}},gT={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},vT={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},_T={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},yT={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},bT={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},wT={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},xT={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},ET={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},ST={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},$T={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},PT={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},CT={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},OT={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},kT={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},TT={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},AT={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},MT={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},IT={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},NT={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},RT={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},LT={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},jT={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},DT={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},FT={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},HT={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},qT={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},VT={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},za={__proto__:null,fade:pT,fadeVisible:mT,fadeVisibleOnce:hT,pop:gT,popVisible:vT,popVisibleOnce:_T,rollBottom:OT,rollLeft:yT,rollRight:xT,rollTop:$T,rollVisibleBottom:kT,rollVisibleLeft:bT,rollVisibleOnceBottom:TT,rollVisibleOnceLeft:wT,rollVisibleOnceRight:ST,rollVisibleOnceTop:CT,rollVisibleRight:ET,rollVisibleTop:PT,slideBottom:HT,slideLeft:AT,slideRight:NT,slideTop:jT,slideVisibleBottom:qT,slideVisibleLeft:MT,slideVisibleOnceBottom:VT,slideVisibleOnceLeft:IT,slideVisibleOnceRight:LT,slideVisibleOnceTop:FT,slideVisibleRight:RT,slideVisibleTop:DT},zT=Pe({props:{is:{type:[String,Object],required:!1},preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1}},setup(e){var l;const t=Fg(),n=Ve({});if(!e.is&&!t.default)return()=>vt("div",{});const s=T(()=>{let c;return e.preset&&(c=za[e.preset]),c}),r=T(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused})),i=T(()=>{const c={...r.value,...s.value||{},...e.variants||{}};return e.delay&&(c.enter.transition={...c.enter.transition},c.enter.transition.delay=parseInt(e.delay)),c}),a=T(()=>{if(!e.is)return;let c=e.is;return typeof a.value=="string"&&!wf(c)&&(c=Oi(c)),c});if(((l=process==null?void 0:process.env)==null?void 0:l.NODE_ENV)==="development"||process!=null&&process.dev){const c=u=>{var f;(f=u.variants)!=null&&f.initial&&u.set("initial"),setTimeout(()=>{var d,p,m;(d=u.variants)!=null&&d.enter&&u.apply("enter"),(p=u.variants)!=null&&p.visible&&u.apply("visible"),(m=u.variants)!=null&&m.visibleOnce&&u.apply("visibleOnce")},10)};no(()=>Object.entries(n).forEach(([u,f])=>c(f)))}return{slots:t,component:a,motionConfig:i,instances:n}},render({slots:e,motionConfig:t,instances:n,component:s}){var l;const r=Hm(t.initial||{}),i=(c,u)=>(c.props||(c.props={}),c.props.style=r,c.props.onVnodeMounted=({el:f})=>{const d=qm(f,t);n[u]=d},c);if(s){const c=vt(s,void 0,e);return i(c,0),c}return(((l=e.default)==null?void 0:l.call(e))||[]).map((c,u)=>i(c,u))}});function BT(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",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 UT={install(e,t){if(e.directive("motion",Vo()),e.component("Motion",zT),!t||t&&!t.excludePresets)for(const n in za){const s=za[n];e.directive(`motion-${BT(n)}`,Vo(s))}if(t&&t.directives)for(const n in t.directives){const s=t.directives[n];s.initial,e.directive(`motion-${n}`,Vo(s))}}};var nf;const hr=typeof window<"u",KT=Object.prototype.toString,WT=e=>KT.call(e)==="[object Object]";hr&&((nf=window==null?void 0:window.navigator)!=null&&nf.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function GT(e){return Ya()?($f(e),!0):!1}function YT(e){var t;const n=C(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ZT=hr?window:void 0,sf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},rf="__vueuse_ssr_handlers__";sf[rf]=sf[rf]||{};function JT(e,t={}){const{immediate:n=!0,window:s=ZT}=t,r=z(!1);let i=null;function a(){!r.value||!s||(e(),i=s.requestAnimationFrame(a))}function l(){!r.value&&s&&(r.value=!0,a())}function c(){r.value=!1,i!=null&&s&&(s.cancelAnimationFrame(i),i=null)}return n&&l(),GT(c),{isActive:r,pause:c,resume:l}}var of;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(of||(of={}));const fo="vue-starport-injection",Vm="vue-starport-options",XT={duration:800,easing:"cubic-bezier(0.45, 0, 0.55, 1)",keepAlive:!1},zm={port:{type:String,required:!0},duration:{type:Number,required:!1},easing:{type:String,required:!1},keepAlive:{type:Boolean,required:!1,default:void 0},mountedProps:{type:Object,required:!1},initialProps:{type:Object,required:!1}};var QT=Object.defineProperty,Bi=Object.getOwnPropertySymbols,Bm=Object.prototype.hasOwnProperty,Um=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?QT(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,eA=(e,t)=>{for(var n in t||(t={}))Bm.call(t,n)&&af(e,n,t[n]);if(Bi)for(var n of Bi(t))Um.call(t,n)&&af(e,n,t[n]);return e},lf=(e,t)=>{var n={};for(var s in e)Bm.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Bi)for(var s of Bi(e))t.indexOf(s)<0&&Um.call(e,s)&&(n[s]=e[s]);return n};const tA=Pe({name:"StarportProxy",props:eA({props:{type:Object,default:()=>({})},component:{type:Object,required:!0}},zm),setup(e,t){const n=Z(fo),s=T(()=>n.getInstance(e.port,e.component)),r=z(),i=s.value.generateId(),a=z(!1);return s.value.isVisible||(s.value.land(),a.value=!0),ps(async()=>{if(s.value.el){console.error(`[Vue Starport] Multiple proxies of "${s.value.componentName}" with port "${e.port}" detected. The later one will be ignored.`);return}if(s.value.el=r.value,await et(),a.value=!0,s.value.rect.update(),s.value.rect.width===0||s.value.rect.height===0){const l=s.value.rect.width===0?"width":"height";console.warn(`[Vue Starport] The proxy of component "${s.value.componentName}" (port "${e.port}") has no ${l} on initial render, have you set the size for it?`),console.warn("element:",s.value.el),console.warn("rect:",s.value.rect)}}),jr(async()=>{s.value.rect.update(),s.value.liftOff(),s.value.el=void 0,a.value=!1,!s.value.options.keepAlive&&(await et(),await et(),!s.value.el&&n.dispose(s.value.port))}),pe(()=>e,async()=>{s.value.props&&await et();const l=e,{props:c}=l,u=lf(l,["props"]);s.value.props=c||{},s.value.setLocalOptions(u)},{deep:!0,immediate:!0}),()=>{const l=e,{initialProps:c,mountedProps:u}=l,f=lf(l,["initialProps","mountedProps"]),d=wr(f,(a.value?u:c)||{});return vt("div",wr(d,{id:i,ref:r,"data-starport-proxy":s.value.componentId,"data-starport-landed":s.value.isLanded?"true":void 0,"data-starport-floating":s.value.isLanded?void 0:"true"}),t.slots.default?vt(t.slots.default):void 0)}}});var nA=Object.defineProperty,sA=Object.defineProperties,rA=Object.getOwnPropertyDescriptors,cf=Object.getOwnPropertySymbols,iA=Object.prototype.hasOwnProperty,oA=Object.prototype.propertyIsEnumerable,uf=(e,t,n)=>t in e?nA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aA=(e,t)=>{for(var n in t||(t={}))iA.call(t,n)&&uf(e,n,t[n]);if(cf)for(var n of cf(t))oA.call(t,n)&&uf(e,n,t[n]);return e},lA=(e,t)=>sA(e,rA(t));const cA=Pe({name:"Starport",inheritAttrs:!0,props:zm,setup(e,t){const n=z(!1);return ps(()=>{if(n.value=!0,!Z(fo))throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.")}),()=>{var a,l;const s=(l=(a=t.slots).default)==null?void 0:l.call(a);if(!s)throw new Error("[Vue Starport] Slot is required to use <Starport>");if(s.length!==1)throw new Error(`[Vue Starport] <Starport> requires exactly one slot, but got ${s.length}`);const r=s[0];let i=r.type;return(!WT(i)||Ln(i))&&(i={render(){return s}}),vt(tA,lA(aA({},e),{key:e.port,component:Zi(i),props:r.props}))}}});function uA(e){const t=Ve({height:0,width:0,left:0,top:0,update:s,listen:i,pause:a,margin:"0px",padding:"0px"}),n=hr?document.documentElement||document.body:void 0;function s(){if(!hr)return;const l=YT(e);if(!l)return;const{height:c,width:u,left:f,top:d}=l.getBoundingClientRect(),p=window.getComputedStyle(l),m=p.margin,g=p.padding;Object.assign(t,{height:c,width:u,left:f,top:n.scrollTop+d,margin:m,padding:g})}const r=JT(s,{immediate:!1});function i(){hr&&(s(),r.resume())}function a(){r.pause()}return t}let fA=(e,t=21)=>(n=t)=>{let s="",r=n;for(;r--;)s+=e[Math.random()*e.length|0];return s};const ff=fA("abcdefghijklmnopqrstuvwxyz",5);function df(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().replace(/[^\w\d_-]/g,"")}function dA(e){var t;return e.name||((t=e.__file)==null?void 0:t.split(/[\/\\.]/).slice(-2)[0])||""}var pA=Object.defineProperty,pf=Object.getOwnPropertySymbols,mA=Object.prototype.hasOwnProperty,hA=Object.prototype.propertyIsEnumerable,mf=(e,t,n)=>t in e?pA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zo=(e,t)=>{for(var n in t||(t={}))mA.call(t,n)&&mf(e,n,t[n]);if(pf)for(var n of pf(t))hA.call(t,n)&&mf(e,n,t[n]);return e};function gA(e,t,n={}){const s=dA(t),r=df(s)||ff(),i=z(),a=z(null),l=z(!1),c=z(!1),u=ch(!0),f=z({}),d=T(()=>zo(zo(zo({},XT),n),f.value)),p=z(0);let m;u.run(()=>{m=uA(i),pe(i,async y=>{y&&(c.value=!0),await et(),i.value||(c.value=!1)})});const g=df(e);function b(){return`starport-${r}-${g}-${ff()}`}const w=b();return Ve({el:i,id:w,port:e,props:a,rect:m,scope:u,isLanded:l,isVisible:c,options:d,liftOffTime:p,component:t,componentName:s,componentId:r,generateId:b,setLocalOptions(y={}){f.value=JSON.parse(JSON.stringify(y))},elRef(){return i},liftOff(){l.value&&(l.value=!1,p.value=Date.now(),m.listen())},land(){l.value||(l.value=!0,m.pause())}})}function vA(e){const t=Ve(new Map);function n(r,i){let a=t.get(r);return a||(a=gA(r,i,e),t.set(r,a)),a.component=i,a}function s(r){var i;(i=t.get(r))==null||i.scope.stop(),t.delete(r)}return{portMap:t,dispose:s,getInstance:n}}var _A=Object.defineProperty,yA=Object.defineProperties,bA=Object.getOwnPropertyDescriptors,hf=Object.getOwnPropertySymbols,wA=Object.prototype.hasOwnProperty,xA=Object.prototype.propertyIsEnumerable,gf=(e,t,n)=>t in e?_A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,EA=(e,t)=>{for(var n in t||(t={}))wA.call(t,n)&&gf(e,n,t[n]);if(hf)for(var n of hf(t))xA.call(t,n)&&gf(e,n,t[n]);return e},SA=(e,t)=>yA(e,bA(t));const $A=Pe({name:"StarportCraft",props:{port:{type:String,required:!0},component:{type:Object,required:!0}},setup(e){const t=Z(fo);if(!t)throw new Error("[Vue Starport] Failed to find the carrier, all Starport components must be wrapped in a <StarportCarrier> component.");const n=T(()=>t.getInstance(e.port,e.component)),s=T(()=>{var a;return((a=n.value.el)==null?void 0:a.id)||n.value.id}),r=T(()=>{const a=Date.now()-n.value.liftOffTime,l=Math.max(0,n.value.options.duration-a),c=n.value.rect,u={position:"absolute",left:0,top:0,width:`${c.width}px`,height:`${c.height}px`,margin:c.margin,padding:c.padding,transform:`translate3d(${c.left}px,${c.top}px,0px)`};return!n.value.isVisible||!n.value.el?SA(EA({},u),{zIndex:-1,display:"none"}):(n.value.isLanded?u.display="none":Object.assign(u,{transitionProperty:"all",transitionDuration:`${l}ms`,transitionTimingFunction:n.value.options.easing}),u)}),i={onTransitionend(a){n.value.isLanded||console.warn(`[Vue Starport] Transition duration of component "${n.value.componentName}" is too short (${a.elapsedTime}s) that may cause animation glitches. Try to increase the duration of that component, or decrease the duration the Starport (current: ${n.value.options.duration/1e3}s).`)}};return()=>{const a=!!(n.value.isLanded&&n.value.el);return vt("div",{style:r.value,"data-starport-craft":n.value.componentId,"data-starport-landed":n.value.isLanded?"true":void 0,"data-starport-floating":n.value.isLanded?void 0:"true",onTransitionend:n.value.land},vt(pv,{to:a?`#${s.value}`:"body",disabled:!a},vt(n.value.component,wr(i,n.value.props))))}}}),PA=Pe({name:"StarportCarrier",setup(e,{slots:t}){const n=vA(Z(Vm,{}));return Nt().appContext.app.provide(fo,n),()=>{var r;return[(r=t.default)==null?void 0:r.call(t),Array.from(n.portMap.entries()).map(([i,{component:a}])=>vt($A,{key:i,port:i,component:a}))]}}});function CA(e={}){return{install(t){t.provide(Vm,e),t.component("Starport",cA),t.component("StarportCarrier",PA)}}}function OA(e){function t(){document.documentElement.style.setProperty("--vh",`${window.innerHeight*.01}px`)}t(),window.addEventListener("resize",t),e.app.use(UT),e.app.use(CA({keepAlive:!0}))}function _t(e,t,n){var s;return((s=e.instance)==null?void 0:s.$).provides[t]??n}function kA(){return{install(e){e.directive("click",{name:"v-click",mounted(t,n){var f,d,p,m,g,b;if(fr.value||(f=_t(n,di))!=null&&f.value)return;const s=_t(n,Ss),r=_t(n,fi),i=_t(n,ua),a=n.modifiers.hide!==!1&&n.modifiers.hide!=null,l=n.modifiers.fade!==!1&&n.modifiers.fade!=null,c=((d=s==null?void 0:s.value)==null?void 0:d.length)||0,u=l?s_:Eo;if(s&&!((p=s==null?void 0:s.value)!=null&&p.includes(t))&&s.value.push(t),n.value==null&&(n.value=(m=s==null?void 0:s.value)==null?void 0:m.length),typeof n.value=="string"&&(n.value.startsWith("+")||n.value.startsWith("-"))&&(n.value=(((g=s==null?void 0:s.value)==null?void 0:g.length)||0)+Number(n.value)),!(i!=null&&i.value.has(n.value)))i==null||i.value.set(n.value,[t]);else if(!((b=i==null?void 0:i.value.get(n.value))!=null&&b.includes(t))){const w=(i==null?void 0:i.value.get(n.value))||[];i==null||i.value.set(n.value,[t].concat(w))}t==null||t.classList.toggle(ys,!0),r&&pe(r,()=>{const w=(r==null?void 0:r.value)??0,y=n.value!=null?w>=n.value:w>c;t.classList.contains(So)||t.classList.toggle(u,!y),a!==!1&&a!==void 0&&t.classList.toggle(u,y),t.classList.toggle(Us,!1);const x=i==null?void 0:i.value.get(w);x==null||x.forEach((_,P)=>{_.classList.toggle(Jr,!1),P===x.length-1?_.classList.toggle(Us,!0):_.classList.toggle(Jr,!0)}),t.classList.contains(Us)||t.classList.toggle(Jr,y)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(ys,!1);const s=_t(n,Ss);s!=null&&s.value&&jc(s.value,t)}}),e.directive("after",{name:"v-after",mounted(t,n){var l,c,u;if(fr.value||(l=_t(n,di))!=null&&l.value)return;const s=_t(n,Ss),r=_t(n,fi),i=_t(n,ua),a=s==null?void 0:s.value.length;n.value==null&&(n.value=s==null?void 0:s.value.length),typeof n.value=="string"&&(n.value.startsWith("+")||n.value.startsWith("-"))&&(n.value=(((c=s==null?void 0:s.value)==null?void 0:c.length)||0)+Number(n.value)),i!=null&&i.value.has(n.value)?(u=i==null?void 0:i.value.get(n.value))==null||u.push(t):i==null||i.value.set(n.value,[t]),t==null||t.classList.toggle(ys,!0),r&&pe(r,()=>{const f=(r.value??0)>=(n.value??a??0);t.classList.contains(So)||t.classList.toggle(Eo,!f),t.classList.toggle(Us,!1),t.classList.contains(Us)||t.classList.toggle(Jr,f)},{immediate:!0})},unmounted(t){t==null||t.classList.toggle(ys,!0)}}),e.directive("click-hide",{name:"v-click-hide",mounted(t,n){var a,l,c;if(fr.value||(a=_t(n,di))!=null&&a.value)return;const s=_t(n,Ss),r=_t(n,fi),i=((l=s==null?void 0:s.value)==null?void 0:l.length)||0;s&&!((c=s==null?void 0:s.value)!=null&&c.includes(t))&&s.value.push(t),t==null||t.classList.toggle(ys,!0),r&&pe(r,()=>{const u=(r==null?void 0:r.value)??0,f=n.value!=null?u>=n.value:u>i;t.classList.toggle(Eo,f),t.classList.toggle(So,f)},{immediate:!0})},unmounted(t,n){t==null||t.classList.toggle(ys,!1);const s=_t(n,Ss);s!=null&&s.value&&jc(s.value,t)}})}}}function TA(e,t){const n=Gp(e),s=Yp(t,n.currentRoute,n.currentPage);return{nav:{...n,...s},configs:Ce,themeConfigs:T(()=>Ce.themeConfig)}}function AA(){return{install(e){const t=TA(It,At);e.provide(ee,Ve(t))}}}const Fs=f0(dk);Fs.use(gt);Fs.use(e_());Fs.use(kA());Fs.use(AA());OA({app:Fs,router:gt});Fs.mount("#app");export{oS as $,gE as A,z as B,RA as C,lt as D,qe as E,$e as F,ow as G,ik as H,At as I,qi as J,ek as K,No as L,ps as M,Ve as N,IA as O,LA as P,pe as Q,_e as R,kp as S,Se as T,at as U,yw as V,ed as W,td as X,Pr as Y,To as Z,te as _,ee as a,xl as a0,El as a1,WE as a2,ze as a3,Zx as a4,MA as a5,Rn as a6,Xs as a7,ni as a8,es as a9,Yt as aa,Ea as ab,W1 as ac,G1 as ad,Y1 as ae,J1 as af,od as ag,Ld as ah,jA as ai,ft as aj,A2 as ak,Ud as al,X1 as am,jr as an,Bd as b,Ce as c,Pe as d,Wh as e,N as f,o as g,C as h,Z as i,Ke as j,ZO as k,ms as l,ne as m,nt as n,E as o,de as p,gl as q,Ls as r,qt as s,St as t,NA as u,T as v,$o as w,X as x,wp as y,wE as z};